ChangeLog 782 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136
  1. 2008-11-26 Dan Williams <dcbw@redhat.com>
  2. * Release NetworkManager 0.7
  3. 2008-11-26 Dan Williams <dcbw@redhat.com>
  4. * libnm-glib/nm-settings.c
  5. libnm-glib/nm-settings.h
  6. - (nm_exported_connection_delete): rename 'delete' to 'do_delete' to
  7. avoid using C++ reserved keywords in headers
  8. * libnm-glib/nm-dbus-connection.c
  9. system-settings/plugins/ifcfg-rh/nm-ifcfg-connection.c
  10. system-settings/plugins/ifcfg-suse/nm-suse-connection.c
  11. system-settings/plugins/ifupdown/nm-ifupdown-connection.c
  12. system-settings/plugins/keyfile/nm-keyfile-connection.c
  13. system-settings/src/nm-sysconfig-connection.c
  14. - Change 'delete' to 'do_delete'
  15. 2008-11-25 Dan Williams <dcbw@redhat.com>
  16. * system-settings/plugins/ifcfg-rh
  17. - Rename 'ifcfg-fedora' to 'ifcfg-rh'; it's not just used on Fedora
  18. * system-settings/src/main.c
  19. - (load_plugins): transparently handle ifcfg-fedora as ifcfg-rh
  20. 2008-11-25 Dan Williams <dcbw@redhat.com>
  21. Patch from Tambet Ingo <tambet@gmail.com>
  22. Fix mishandling of netlink error floods (rh #459205, novell #443429, lp #284507)
  23. * src/nm-netlink-monitor.c
  24. - Remove bits for using a non-default GMainContext, which weren't used
  25. - (nm_netlink_monitor_error_handler): don't leak the GError, and report
  26. the actual error code
  27. * src/NetworkManager.c
  28. - (nm_error_monitoring_device_link_state): disconnect error handler when
  29. an error flood occurs to avoid pegging the CPU
  30. 2008-11-23 Dan Williams <dcbw@redhat.com>
  31. * callouts/nm-dispatcher-action.c
  32. - (construct_envp, nm_dispatcher_action): pass connection UUID to
  33. scripts in the environment
  34. 2008-11-21 Dan Williams <dcbw@redhat.com>
  35. Patch from Tambet Ingo <tambet@gmail.com>
  36. * configure.in
  37. libnm-util/libnm-util.ver
  38. libnm-util/nm-setting-8021x.c
  39. libnm-util/nm-setting-8021x.h
  40. - Add configure-time option for the system CA path
  41. - Add 'system-ca-certs' option to 802.1x setting, which directs
  42. NetworkManager to use system CA certificates instead of any
  43. connection-defined CA certificates
  44. * src/supplicant-manager/nm-supplicant-config.c
  45. src/supplicant-manager/nm-supplicant-settings-verify.c
  46. - Use system CA certificates if the connection says to do so
  47. 2008-11-21 Dan Williams <dcbw@redhat.com>
  48. * src/nm-dbus-manager.c
  49. src/nm-dbus-manager.h
  50. - (nm_dbus_manager_get_name_owner): return error
  51. * src/nm-manager.c
  52. - (impl_manager_activate_connection): perform additional validation on
  53. ActivateConnection calls of user connections
  54. - (is_user_request_authorized): ensure that the requestor is the same
  55. UID as the UID that owns the user settings service; users shouldn't
  56. be able to control another user's connections
  57. 2008-11-21 Dan Williams <dcbw@redhat.com>
  58. * gfilemonitor/inotify-sub.c
  59. - (dup_dirname): actually remove trailing '/' (bgo #561807)
  60. 2008-11-21 Tambet Ingo <tambet@gmail.com>
  61. * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
  62. plugin compile again.
  63. 2008-11-20 Dan Williams <dcbw@redhat.com>
  64. Patch from Tambet Ingo <tambet@gmail.com>
  65. * libnm-util/nm-setting.c
  66. libnm-util/nm-setting.h
  67. - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
  68. all the GParamSpec flags of the property
  69. * system-settings/plugins/keyfile/nm-keyfile-connection.c
  70. system-settings/plugins/keyfile/reader.c
  71. system-settings/plugins/keyfile/writer.c
  72. - Update for NMSettingValueIterFn change
  73. 2008-11-20 Dan Williams <dcbw@redhat.com>
  74. * libnm-util/nm-utils.c
  75. libnm-util/nm-utils.h
  76. - More documentation updates
  77. 2008-11-20 Dan Williams <dcbw@redhat.com>
  78. * libnm-util/libnm-util.ver
  79. libnm-util/nm-utils.c
  80. libnm-util/nm-utils.h
  81. libnm-util/nm-utils-private.h
  82. libnm-util/nm-connection.c
  83. - (nm_utils_register_value_transformations): make private, called
  84. from NMConnection registration anyway
  85. 2008-11-20 Dan Williams <dcbw@redhat.com>
  86. * libnm-util/Makefile.am
  87. libnm-util/nm-utils-private.h
  88. - New header for internal utils private functions
  89. * libnm-util/libnm-util.ver
  90. libnm-util/nm-utils.c
  91. libnm-util/nm-utils.h
  92. - Document some functions
  93. - (nm_utils_string_in_list, nm_utils_string_list_contains,
  94. nm_utils_string_slist_validate): un-export, only used within
  95. libnm-util or of limited use in general, and very easy to
  96. re-implement by apps if needed
  97. * libnm-util/nm-setting-8021x.c
  98. libnm-util/nm-setting-wired.c
  99. libnm-util/nm-setting-wireless-security.c
  100. libnm-util/nm-setting-wireless.c
  101. - Update for private nm_utils_string_* functions
  102. 2008-11-20 Dan Williams <dcbw@redhat.com>
  103. * libnm-util/libnm-util.ver
  104. libnm-util/nm-setting.c
  105. libnm-util/nm-setting.h
  106. - Add NMSetting errors
  107. - (nm_setting_update_secrets): return errors
  108. * libnm-util/nm-connection.c
  109. libnm-util/nm-connection.h
  110. - (nm_connection_update_secrets): return errors
  111. * libnm-util/nm-setting-vpn.c
  112. src/nm-activation-request.c
  113. src/vpn-manager/nm-vpn-connection.c
  114. - Handle update secrets errors
  115. 2008-11-20 Dan Williams <dcbw@redhat.com>
  116. * libnm-util/nm-setting.c
  117. libnm-util/nm-setting.h
  118. libnm-util/libnm-util.ver
  119. - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
  120. consistent with nm_connection_new_from_hash()
  121. * src/nm-activation-request.c
  122. libnm-util/nm-connection.c
  123. - Handle rename
  124. 2008-11-19 Dan Williams <dcbw@redhat.com>
  125. * configure.in
  126. Makefile.am
  127. docs/libnm-util/Makefile.am
  128. docs/libnm-util/libnm-util.types
  129. - Start to document libnm-util
  130. 2008-11-19 Dan Williams <dcbw@redhat.com>
  131. * libnm-util/nm-connection.h
  132. libnm-util/nm-connection.c
  133. - Document public functions
  134. 2008-11-19 Dan Williams <dcbw@redhat.com>
  135. * libnm-util/nm-setting.h
  136. libnm-util/nm-setting.c
  137. src/nm-device.c
  138. src/nm-manager.c
  139. system-settings/plugins/ifcfg-fedora/plugin.c
  140. - Prefix compare flag defines with NM_SETTING_
  141. 2008-11-19 Dan Williams <dcbw@redhat.com>
  142. * libnm-util/nm-connection.c
  143. libnm-util/nm-connection.h
  144. - (nm_connection_replace_settings): take a GError
  145. * libnm-glib/nm-settings.c
  146. libnm-glib/nm-dbus-connection.c
  147. src/nm-manager.c
  148. system-settings/plugins/ifcfg-suse/nm-suse-connection.c
  149. system-settings/plugins/keyfile/nm-keyfile-connection.c
  150. system-settings/plugins/keyfile/plugin.c
  151. - Handle, or don't handle, errors from nm_connection_replace_settings()
  152. 2008-11-19 Dan Williams <dcbw@redhat.com>
  153. * libnm-util/libnm-util.ver
  154. libnm-util/nm-connection.c
  155. - (nm_setting_register, nm_setting_unregister): unexport; they are
  156. private and don't have a use outside libnm-util
  157. 2008-11-17 Dan Williams <dcbw@redhat.com>
  158. * src/nm-hso-gsm-device.c
  159. - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
  160. devices
  161. 2008-11-17 Dan Williams <dcbw@redhat.com>
  162. * system-settings/plugins/ifcfg-fedora/reader.c
  163. - (read_mac_address): clean up
  164. - (make_wireless_setting): pass NULL array to read_mac_address() like it
  165. expects
  166. * system-settings/plugins/ifcfg-fedora/plugin.c
  167. - (read_one_connection): don't segfault on NULL errors
  168. 2008-11-14 Dan Williams <dcbw@redhat.com>
  169. * Tag 0.7.0-rc2
  170. 2008-11-14 Dan Williams <dcbw@redhat.com>
  171. Handle gateways on different subnets
  172. * src/NetworkManagerSystem.c
  173. - (add_ip4_route_to_gateway): gateway route should be link scope and
  174. a host route
  175. - (replace_default_ip4_route): use a destination address too; gateway
  176. address should be /0; don't leak the gateway route object
  177. 2008-11-14 Dan Williams <dcbw@redhat.com>
  178. * libnm-glib/libnm_glib.ver
  179. libnm-glib/nm-dbus-settings-system.c
  180. libnm-glib/nm-dbus-settings-system.h
  181. - Add libnm-glib bits for CanModify
  182. 2008-11-14 Dan Williams <dcbw@redhat.com>
  183. * introspection/nm-settings-system.xml
  184. system-settings/src/dbus-settings.c
  185. system-settings/src/dbus-settings.h
  186. - Add a "CanModify" property to indicate if any plugins support
  187. connection modification
  188. 2008-11-14 Dan Williams <dcbw@redhat.com>
  189. Relicense libnm-glib to LGPLv2+ with agreement from contributors
  190. 2008-11-14 Dan Williams <dcbw@redhat.com>
  191. * vpn-manager/nm-vpn-connection.c
  192. - (plugin_state_changed): clear VPN secrets on error to ensure they
  193. are always requested from the settings service (rh #429287)
  194. 2008-11-13 Dan Williams <dcbw@redhat.com>
  195. * libnm-util/crypto.c
  196. - (crypto_get_private_key_data): fix bad initial arg type checking
  197. from pkcs#12 patch
  198. 2008-11-13 Dan Williams <dcbw@redhat.com>
  199. Add support for PKCS#12 private keys (bgo #558982)
  200. * libnm-util/crypto.c
  201. libnm-util/crypto.h
  202. - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
  203. take a GByteArray instead of a filename
  204. - (file_to_g_byte_array): handle private key files too
  205. - (decrypt_key): take a GByteArray rather than data + len
  206. - (crypto_get_private_key_data): refactor crypto_get_private_key() into
  207. one function that takes a filename, and one that takes raw data;
  208. detect pkcs#12 files as well
  209. - (crypto_load_and_verify_certificate): detect file type
  210. - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
  211. functions
  212. * libnm-util/crypto_gnutls.c
  213. - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
  214. whereby tail padding was incorrectly handled, leading to erroneous
  215. successes when trying to decrypt the data
  216. - (crypto_verify_cert): rework somewhat
  217. - (crypto_verify_pkcs12): validate pkcs#12 keys
  218. * libnm-util/crypto_nss.c
  219. - (crypto_init): enable various pkcs#12 ciphers
  220. - (crypto_decrypt): take a GByteArray rather than data + len
  221. - (crypto_verify_cert): clean up
  222. - (crypto_verify_pkcs12): validate pkcs#12 keys
  223. * libnm-util/test-crypto.c
  224. - Handle pkcs#12 keys
  225. * libnm-util/nm-setting-8021x.c
  226. libnm-util/nm-setting-8021x.h
  227. libnm-util/libnm-util.ver
  228. - Add two new properties, 'private-key-password' and
  229. 'phase2-private-key-password', to be used in conjunction with
  230. pkcs#12 keys
  231. - (nm_setting_802_1x_set_ca_cert_from_file,
  232. nm_setting_802_1x_set_client_cert_from_file,
  233. nm_setting_802_1x_set_phase2_ca_cert_from_file,
  234. nm_setting_802_1x_set_phase2_client_from_file): return certificate
  235. type
  236. - (nm_setting_802_1x_get_private_key_password,
  237. nm_setting_802_1x_get_phase2_private_key_password): return private
  238. key passwords
  239. - (nm_setting_802_1x_set_private_key_from_file,
  240. nm_setting_802_1x_set_phase2_private_key_from_file): set the private
  241. key from a file, and update the private key password at the same time
  242. - (nm_setting_802_1x_get_private_key_type,
  243. nm_setting_802_1x_get_phase2_private_key_type): return the private
  244. key type
  245. * src/supplicant-manager/nm-supplicant-settings-verify.c
  246. - Whitelist private key passwords
  247. * src/supplicant-manager/nm-supplicant-config.c
  248. - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
  249. add the private key password to the supplicant config, but do not
  250. add the client certificate (as required by wpa_supplicant)
  251. 2008-11-12 Tambet Ingo <tambet@gmail.com>
  252. * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
  253. (add_secrets): Don't add empty secrets to the secrets hash table.
  254. 2008-11-07 Dan Williams <dcbw@redhat.com>
  255. * libnm-util/nm-setting-wireless.c
  256. - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
  257. that cased this function to return garbage, breaking hidden AP
  258. detection
  259. 2008-11-07 Dan Williams <dcbw@redhat.com>
  260. Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
  261. * src/NetworkManagerSystem.c
  262. src/NetworkManagerSystem.h
  263. - (nm_system_device_set_ip4_route): return the route that was added
  264. - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
  265. public, clean up, and return the route that was added
  266. - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
  267. since nm_system_add_ip4_vpn_gateway_route() is now available; add
  268. flags to allow only certain attributes of the NMIP4Config to be
  269. applied
  270. * src/nm-device.c
  271. - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
  272. - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
  273. what's really changed between the old and new configs; don't export
  274. the new IP4 config on failure; always send the DNS info to the
  275. named manager
  276. * src/vpn-manager/nm-vpn-connection.c
  277. - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
  278. parent device's IP4Config and re-add the VPN gateway route when it
  279. changes
  280. - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
  281. nm_system_apply_ip4_config() no longer does) and cache it for later
  282. - (connection_state_changed): move cleanup code to its own function
  283. - (vpn_cleanup): delete any previously added VPN gateway route; and
  284. re-apply the parent device's addresses and routes using
  285. nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
  286. 2008-11-07 Dan Williams <dcbw@redhat.com>
  287. * src/nm-ip4-config.c
  288. src/nm-ip4-config.h
  289. - (nm_ip4_config_diff): new function; return the difference between two
  290. IP4 configs
  291. - (nm_ip4_config_compare): change into nm_ip4_config_diff
  292. 2008-11-05 Dan Williams <dcbw@redhat.com>
  293. * nm-ip4-config.c
  294. nm-ip4-config.h
  295. - (nm_ip4_config_compare): compare two IP4 configs
  296. 2008-11-05 Dan Williams <dcbw@redhat.com>
  297. * src/NetworkManagerPolicy.c
  298. - (update_etc_hosts): only add newline if not the last line of the file
  299. (Jonathan Miner)
  300. 2008-11-05 Dan Williams <dcbw@redhat.com>
  301. * src/dhcp-manager/nm-dhcp-dhclient.c
  302. - (get_leasefile_for_iface): move lease files back to where dhclient
  303. puts them
  304. 2008-11-05 Michael Biebl <mbiebl@gmail.com>
  305. * initscripts/Debian/NetworkManager
  306. - Update to what Debian is actually using
  307. 2008-11-05 Tambet Ingo <tambet@gmail.com>
  308. * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
  309. 2008-11-03 Dan Williams <dcbw@redhat.com>
  310. * system-settings/src/main.c
  311. - (add_default_dhcp_connection): make the fallback connection read-only
  312. * libnm-glib/nm-settings.c
  313. libnm-glib/nm-settings.h
  314. - Add detailed errors
  315. - (impl_exported_connection_update, impl_exported_connection_delete):
  316. return an error if the connection is read-only
  317. * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
  318. system-settings/plugins/keyfile/nm-keyfile-connection.c
  319. system-settings/src/main.c
  320. - Use more detailed errors
  321. * system-settings/src/nm-system-config-error.c
  322. system-settings/src/nm-system-config-error.h
  323. system-settings/src/dbus-settings.c
  324. - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
  325. NM_SETTINGS_ERROR_INVALID_CONNECTION
  326. 2008-11-02 Dan Williams <dcbw@redhat.com>
  327. * Add license headers to everything in src/
  328. 2008-11-02 Dan Williams <dcbw@redhat.com>
  329. * Tag 0.7.0-rc1
  330. 2008-11-02 Dan Williams <dcbw@redhat.com>
  331. * src/NetworkManagerAP.c
  332. - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
  333. setting as unencrypted; fixes a bug where NM wouldn't ask for new
  334. secrets when connecting to an encrypted network failed
  335. 2008-10-30 Dan Williams <dcbw@redhat.com>
  336. * libnm-util/libnm-util.ver
  337. libnm-util/nm-setting-ip6-config.c
  338. libnm-util/nm-setting-ip6-config.h
  339. libnm-util/Makefile.am
  340. - Make properties private and add accessor functions
  341. - Hide IPv6 stuff from public API, it's incomplete and completely unused
  342. * libnm-util/nm-connection.c
  343. libnm-util/nm-utils.c
  344. libnm-util/nm-utils.h
  345. - Ignore IPv6 stuff for now
  346. 2008-10-30 Dan Williams <dcbw@redhat.com>
  347. * libnm-util/libnm-util.ver
  348. libnm-util/nm-setting-8021x.c
  349. libnm-util/nm-setting-8021x.h
  350. - Make properties private and add accessor functions
  351. * src/supplicant-manager/nm-supplicant-config.c
  352. system-settings/plugins/ifcfg-suse/parser.c
  353. - Use 802.1x setting accessors
  354. 2008-10-30 Dan Williams <dcbw@redhat.com>
  355. * libnm-util/libnm-util.ver
  356. libnm-util/nm-setting-wireless-security.c
  357. libnm-util/nm-setting-wireless-security.h
  358. - Make properties private and add accessor functions
  359. * libnm-util/nm-setting-wireless.c
  360. src/NetworkManagerAP.c
  361. src/nm-device-wifi.c
  362. src/supplicant-manager/nm-supplicant-config.c
  363. system-settings/plugins/ifcfg-fedora/reader.c
  364. system-settings/plugins/ifcfg-suse/parser.c
  365. - Use wireless security accessors
  366. 2008-10-30 Dan Williams <dcbw@redhat.com>
  367. * src/nm-device-ethernet.c
  368. src/nm-device-wifi.c
  369. src/nm-device.c
  370. src/ppp-manager/nm-ppp-manager.c
  371. - Harmonize return checking of ioctl
  372. * system-settings/plugins/ifcfg-fedora/reader.c
  373. - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
  374. 2008-10-30 Dan Williams <dcbw@redhat.com>
  375. * src/ppp-manager/nm-ppp-manager.c
  376. - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
  377. ppp_generic module to create it (bgo #533064)
  378. 2008-10-30 Dan Williams <dcbw@redhat.com>
  379. Patch from Alexander Sack <asac@canonical.com>
  380. Fix "ppp connections don't honour ip4 connection settings"
  381. * src/nm-device-ethernet.c
  382. - (real_act_stage4_get_ip4_config): merge ip4config settings
  383. with results from ppp manager
  384. * src/nm-serial-device.c
  385. - (real_act_stage4_get_ip4_config): merge ip4config settings
  386. with results from ppp manager
  387. 2008-10-29 Dan Williams <dcbw@redhat.com>
  388. * libnm-util/libnm-util.ver
  389. libnm-util/nm-setting-ip4-config.c
  390. libnm-util/nm-setting-ip4-config.h
  391. - Make properties private and add accessor functions
  392. * callouts/nm-dispatcher-action.c
  393. libnm-glib/libnm-glib-test.c
  394. libnm-util/nm-utils.c
  395. src/NetworkManagerPolicy.c
  396. src/NetworkManagerSystem.c
  397. src/NetworkManagerUtils.c
  398. src/dhcp-manager/nm-dhcp-dhclient.c
  399. src/dhcp-manager/nm-dhcp-manager.c
  400. src/dnsmasq-manager/nm-dnsmasq-manager.c
  401. src/nm-device-wifi.c
  402. src/nm-device.c
  403. src/nm-hso-gsm-device.c
  404. src/nm-ip4-config.c
  405. src/nm-ip4-config.h
  406. src/ppp-manager/nm-ppp-manager.c
  407. src/vpn-manager/nm-vpn-connection.c
  408. system-settings/plugins/ifcfg-fedora/reader.c
  409. system-settings/plugins/ifcfg-suse/parser.c
  410. system-settings/plugins/ifcfg-suse/plugin.c
  411. system-settings/plugins/ifupdown/parser.c
  412. test/nm-tool.c
  413. vpn-daemons/vpnc/properties/nm-vpnc.c
  414. - Use IP4 accessor functions
  415. 2008-10-29 Tambet Ingo <tambet@gmail.com>
  416. Half of it by Dan Williams <dcbw@redhat.com>
  417. * libnm-util/libnm-util.ver
  418. libnm-util/nm-setting-vpn.c
  419. libnm-util/nm-setting-vpn.h
  420. - Make properties private and add accessor functions.
  421. * src/vpn-manager/nm-vpn-connection.c
  422. src/vpn-manager/nm-vpn-manager.c
  423. system-settings/plugins/keyfile/reader.c
  424. vpn-daemons/openvpn/properties/auth-helpers.c
  425. vpn-daemons/openvpn/properties/import-export.c
  426. vpn-daemons/openvpn/properties/nm-openvpn.c
  427. vpn-daemons/openvpn/src/nm-openvpn-service.c
  428. vpn-daemons/pptp/auth-dialog/main.c
  429. vpn-daemons/pptp/properties/advanced-dialog.c
  430. vpn-daemons/pptp/properties/nm-pptp.c
  431. vpn-daemons/pptp/src/nm-pptp-service.c
  432. vpn-daemons/vpnc/properties/nm-vpnc.c
  433. vpn-daemons/vpnc/src/nm-vpnc-service.c
  434. - Use VPN setting accessors.
  435. 2008-10-28 Dan Williams <dcbw@redhat.com>
  436. Patch from Tambet Ingo <tambet@gmail.com>
  437. * libnm-util/libnm-util.ver
  438. libnm-util/nm-setting-wireless.c
  439. libnm-util/nm-setting-wireless.h
  440. - Make properties private and add accessor functions
  441. * src/NetworkManagerAP.c
  442. src/nm-device-wifi.c
  443. src/nm-manager.c
  444. src/supplicant-manager/nm-supplicant-config.c
  445. system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  446. system-settings/plugins/ifcfg-fedora/reader.c
  447. system-settings/plugins/ifcfg-suse/parser.c
  448. system-settings/plugins/ifupdown/parser.c
  449. - Use wireless setting accessors
  450. 2008-10-27 Dan Williams <dcbw@redhat.com>
  451. Patch from Tambet Ingo <tambet@gmail.com>
  452. * libnm-util/libnm-util.ver
  453. libnm-util/nm-setting-ppp.c
  454. libnm-util/nm-setting-ppp.h
  455. - Make properties private and add accessor functions
  456. * src/ppp-manager/nm-ppp-manager.c
  457. - Use ppp setting accessors
  458. 2008-10-27 Dan Williams <dcbw@redhat.com>
  459. Patch from Tambet Ingo <tambet@gmail.com>
  460. * libnm-util/nm-setting.h
  461. libnm-util/nm-setting.c
  462. - Make properties private and add accessor functions
  463. * libnm-util/nm-connection.c
  464. libnm-util/nm-setting-8021x.c
  465. libnm-util/nm-setting-cdma.c
  466. libnm-util/nm-setting-connection.c
  467. libnm-util/nm-setting-gsm.c
  468. libnm-util/nm-setting-ip4-config.c
  469. libnm-util/nm-setting-ip6-config.c
  470. libnm-util/nm-setting-ppp.c
  471. libnm-util/nm-setting-pppoe.c
  472. libnm-util/nm-setting-serial.c
  473. libnm-util/nm-setting-template.c
  474. libnm-util/nm-setting-vpn.c
  475. libnm-util/nm-setting-wired.c
  476. libnm-util/nm-setting-wireless-security.c
  477. libnm-util/nm-setting-wireless.c
  478. system-settings/plugins/keyfile/reader.c
  479. system-settings/plugins/keyfile/writer.c
  480. - Use setting accessors
  481. 2008-10-27 Dan Williams <dcbw@redhat.com>
  482. * libnm-util/libnm-util.ver
  483. libnm-util/nm-setting-connection.c
  484. libnm-util/nm-setting-connection.h
  485. - Add a 'read-only' property that indicates the connection cannot be
  486. modified
  487. * system-settings/plugins/ifcfg-fedora/reader.c
  488. system-settings/plugins/ifcfg-suse/parser.c
  489. system-settings/plugins/ifupdown/parser.c
  490. - These plugins are read-only at the moment
  491. * system-settings/plugins/keyfile/reader.c
  492. system-settings/plugins/keyfile/writer.c
  493. - Read-only shouldn't get saved out to files or read in from them
  494. 2008-10-27 Tambet Ingo <tambet@gmail.com>
  495. * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
  496. correct speed reporting for fast devices (kernel >= 2.6.27).
  497. 2008-10-26 Dan Williams <dcbw@redhat.com>
  498. Attempt to compensate for modems that don't enable full AT parsing before
  499. the PIN has been entered.
  500. * src/nm-gsm-device.c
  501. - (init_modem): accept different init strings
  502. - (init_done): try different init strings on failure
  503. - (check_pin_done): on PIN success, do full modem init
  504. 2008-10-26 Dan Williams <dcbw@redhat.com>
  505. Patch from Tambet Ingo <tambet@gmail.com>
  506. * libnm-util/libnm-util.ver
  507. libnm-util/nm-setting-connection.c
  508. libnm-util/nm-setting-connection.h
  509. - Make properties private and add accessor functions
  510. * src/NetworkManagerPolicy.c
  511. src/nm-cdma-device.c
  512. src/nm-device-ethernet.c
  513. src/nm-device-interface.c
  514. src/nm-device-wifi.c
  515. src/nm-gsm-device.c
  516. src/nm-manager.c
  517. src/ppp-manager/nm-ppp-manager.c
  518. src/vpn-manager/nm-vpn-connection.c
  519. system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  520. system-settings/plugins/ifcfg-fedora/plugin.c
  521. system-settings/plugins/ifcfg-fedora/reader.c
  522. system-settings/plugins/ifcfg-suse/parser.c
  523. system-settings/plugins/ifupdown/parser.c
  524. system-settings/plugins/keyfile/nm-keyfile-connection.c
  525. system-settings/plugins/keyfile/plugin.c
  526. system-settings/plugins/keyfile/writer.c
  527. system-settings/src/main.c
  528. - Use those accessors
  529. 2008-10-26 Dan Williams <dcbw@redhat.com>
  530. Patch from Tambet Ingo <tambet@gmail.com>
  531. * libnm-util/libnm-util.ver
  532. libnm-util/nm-setting-gsm.c
  533. libnm-util/nm-setting-gsm.h
  534. - Make properties private and add accessor functions
  535. * src/nm-gsm-device.c
  536. src/nm-hso-gsm-device.c
  537. src/ppp-manager/nm-ppp-manager.c
  538. - Use those accessors
  539. 2008-10-26 Dan Williams <dcbw@redhat.com>
  540. Patch from Tambet Ingo <tambet@gmail.com>
  541. * libnm-util/libnm-util.ver
  542. libnm-util/nm-setting-cdma.c
  543. libnm-util/nm-setting-cdma.h
  544. - Make properties private and add accessor functions
  545. * src/nm-cdma-device.c
  546. src/ppp-manager/nm-ppp-manager.c
  547. - Use those accessors
  548. 2008-10-26 Dan Williams <dcbw@redhat.com>
  549. Patch from Tambet Ingo <tambet@gmail.com>
  550. * libnm-util/libnm-util.ver
  551. libnm-util/nm-setting-pppoe.c
  552. libnm-util/nm-setting-pppoe.h
  553. - Make properties private and add accessor functions
  554. * src/nm-device-ethernet.c
  555. src/ppp-manager/nm-ppp-manager.c
  556. - Use those accessors
  557. 2008-10-26 Dan Williams <dcbw@redhat.com>
  558. Patch from Tambet Ingo <tambet@gmail.com>
  559. * libnm-util/libnm-util.ver
  560. libnm-util/nm-setting-wired.c
  561. libnm-util/nm-setting-wired.h
  562. - Make properties private and add accessor functions
  563. * src/nm-device-ethernet.c
  564. system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  565. system-settings/plugins/ifcfg-suse/parser.c
  566. system-settings/src/main.c
  567. - Use those accessors
  568. 2008-10-26 Dan Williams <dcbw@redhat.com>
  569. Patch from Tambet Ingo <tambet@gmail.com>
  570. * libnm-util/libnm-util.ver
  571. libnm-util/nm-setting-serial.c
  572. libnm-util/nm-setting-serial.h
  573. src/nm-serial-device.c
  574. - Make properties private and use accessors instead
  575. 2008-10-26 Dan Williams <dcbw@redhat.com>
  576. * src/supplicant-manager/nm-supplicant-interface.c
  577. src/supplicant-manager/nm-supplicant-interface.h
  578. src/supplicant-manager/nm-supplicant-manager.c
  579. src/supplicant-manager/nm-supplicant-manager.h
  580. - Add state-to-string conversion functions
  581. * src/nm-device-wifi.c
  582. src/nm-device-ethernet.c
  583. - Normalize state info logging and use strings instead of numbers
  584. 2008-10-26 Dan Williams <dcbw@redhat.com>
  585. * src/NetworkManagerPolicy.c
  586. - (update_routing_and_dns): ignore host routes when determining whether
  587. a VPN connection should own the default route (bgo #552594)
  588. 2008-10-24 Dan Williams <dcbw@redhat.com>
  589. * src/nm-gsm-device.c
  590. - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
  591. 2008-10-23 Dan Williams <dcbw@redhat.com>
  592. * src/ppp-manager/nm-ppp-manager.c
  593. - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
  594. add really important stuff to the command line to ensure that NM
  595. overrides /etc/ppp/options (bgo #556781)
  596. 2008-10-22 Dan Williams <dcbw@redhat.com>
  597. * src/NetworkManagerSystem.c
  598. src/nm-device.c
  599. - Use the device's IP interface where appropriate (Per Hallsmark)
  600. 2008-10-22 Dan Williams <dcbw@redhat.com>
  601. * src/nm-gsm-device.c
  602. - (schedule_automatic_registration_again): use a short timeout here
  603. instead of an idle handler to avoid using too much CPU polling for
  604. something we should be waiting a bit for anyway
  605. 2008-10-22 Dan Williams <dcbw@redhat.com>
  606. * include/NetworkManager.h
  607. introspection/nm-device.xml
  608. - Add device state change reason for carrier changes
  609. * src/nm-device-ethernet.c
  610. - (set_carrier): use the carrier change reason when changing device
  611. state in response to carrier changes
  612. 2008-10-21 Dan Williams <dcbw@redhat.com>
  613. * src/NetworkManagerPolicy.c
  614. - (update_etc_hosts): don't leak errors, and ensure that
  615. g_file_set_contents() gets a valid error placeholder (rh #461933)
  616. 2008-10-21 Dan Williams <dcbw@redhat.com>
  617. * src/nm-manager.c
  618. - (free_get_settings_info): don't use the DBusGProxy which could be
  619. disposed of by the time the function is called
  620. - (internal_new_connection_cb): save connection scope
  621. - (connection_get_settings_cb): don't replace a connection unless it's
  622. actually different from the existing one; fixes an issue where
  623. killing the settings service wouldn't deactivate an active connection
  624. provided by that settings service, because it was using a connection
  625. that had already been replaced in the system or user hash
  626. 2008-10-21 Dan Williams <dcbw@redhat.com>
  627. * src/NetworkManager.c
  628. - (main): keep the DHCP manager around since it's a singleton; fixes
  629. a use-after-free exposed by r4196 since the DHCP manager singleton
  630. variable isn't cleared when the DHCP manager object is finalized
  631. 2008-10-20 Dan Williams <dcbw@redhat.com>
  632. * libnm-util/nm-setting-wireless-security.c
  633. - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
  634. 2008-10-20 Dan Williams <dcbw@redhat.com>
  635. * src/supplicant-manager/nm-supplicant-config.c
  636. - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
  637. 2008-10-20 Dan Williams <dcbw@redhat.com>
  638. * src/dhcp-manager/nm-dhcp-manager.c
  639. - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
  640. manager object already refs it once
  641. - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
  642. also get cleaned up by nm_dhcp_device_destroy() to prevent
  643. double-frees
  644. 2008-10-20 Dan Williams <dcbw@redhat.com>
  645. * src/nm-manager.c
  646. - (initial_get_connections): use private dbus manager, don't keep
  647. ref-ing the singleton. Fixes mismatched refcounts of the dbus
  648. manager object.
  649. 2008-10-18 Dan Williams <dcbw@redhat.com>
  650. * libnm-glib/nm-settings.c
  651. libnm-glib/nm-settings.h
  652. - Rename the "get_secrets" virtual function "service_get_secrets" to
  653. clarify when it's used; NMExportedConnetion is a base-class for both
  654. the client and service side, which is sort of confusing, and
  655. get_secrets only makes sense on the service side.
  656. * libnm-glib/nm-dbus-connection.c
  657. - (get_secrets): remove, unused, and clients need to do extra work to
  658. get secrets anyway since the call can block on the remote side
  659. * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
  660. system-settings/plugins/keyfile/nm-keyfile-connection.c
  661. - Fix up for get_secrets -> service_get_secrets
  662. 2008-10-16 Dan Williams <dcbw@redhat.com>
  663. * src/nm-device-wifi.c
  664. - (constructor): correctly determine encryption capabilities
  665. 2008-10-15 Dan Williams <dcbw@redhat.com>
  666. * src/nm-device-wifi.c
  667. - (wireless_qual_to_percent): fix quality calculation in a fallback case
  668. (Johannes Berg)
  669. 2008-10-15 Dan Williams <dcbw@redhat.com>
  670. * src/NetworkManagerSystem.c
  671. - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
  672. if the ip4_dest is in a smaller subnet contained within a subnet
  673. the machine is currently on, the destination is in the same subnet
  674. - (nm_system_device_set_ip4_route): move subnet checks to callers
  675. - (add_vpn_gateway_route): check if the VPN gateway is in the same
  676. subnet as the parent device, and if so, don't add the direct
  677. host route via the parent device's gateway (bgo #481620)
  678. - (nm_system_apply_ip4_config): check whether the route to be added
  679. is contained within a subnet the device is already on
  680. 2008-10-11 Dan Williams <dcbw@redhat.com>
  681. * include/NetworkManager.h
  682. introspection/nm-device.xml
  683. include/NetworkManagerVPN.h
  684. - Add a few more state reasons for the device deactivated state
  685. * src/nm-device-interface.c
  686. src/nm-device-interface.h
  687. - (nm_device_interface_deactivate): add a 'reason' argument
  688. * src/nm-device.c
  689. src/nm-device.h
  690. - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
  691. - (nm_device_state_changed): pass the state change reason to
  692. nm_device_take_down()
  693. - (nm_device_set_managed): take a 'reason' argument, and pass it along
  694. to the state change function
  695. * src/nm-manager.c
  696. src/nm-manager.h
  697. - (remove_one_device, handle_unmanaged_devices, sync_devices,
  698. impl_manager_sleep): pass a reason code to nm_device_set_managed()
  699. - (nm_manager_deactivate_connection): add a 'reason' argument and pass
  700. something reasonable along to VPN deactivation
  701. * src/vpn-manager/nm-vpn-manager.c
  702. src/vpn-manager/nm-vpn-manager.h
  703. - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
  704. pass that along to nm_vpn_connection_disconnect()
  705. 2008-10-11 Dan Williams <dcbw@redhat.com>
  706. * src/nm-device-wifi.c
  707. - (can_scan): remove old madwifi hack for not scanning while connected
  708. 2008-10-11 Dan Williams <dcbw@redhat.com>
  709. Add support for VPN subnet gateways (bgo #549196)
  710. * include/NetworkManager.h
  711. - Add key for internal VPN subnet gateway
  712. * src/vpn-manager/nm-vpn-connection.c
  713. - (ip_address_to_string): return a const from a static buffer so we
  714. don't leak a lot of strings
  715. - (print_vpn_config): print internal VPN gateway as well
  716. - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
  717. VPN service too
  718. - (nm_vpn_connection_get_ip4_internal_gateway): new function
  719. * src/NetworkManagerSystem.c
  720. src/NetworkManagerSystem.h
  721. - (nm_system_device_replace_default_ip4_route): split into two, one for
  722. VPN connections and one for normal devices
  723. - (replace_default_ip4_route): break out route stuff into its own function
  724. - (nm_system_replace_default_ip4_route_vpn,
  725. nm_system_replace_default_ip4_route): simplify by having two cases,
  726. one for VPNs and one for normal devices
  727. * src/NetworkManagerPolicy.c
  728. - (update_routing_and_dns): simplify, use split default route replacement
  729. functions
  730. 2008-10-10 Dan Williams <dcbw@redhat.com>
  731. Rework default route handling to consolidate decisions in the policy,
  732. and to take active VPN connections into account when changing the default
  733. route (bgo #545912)
  734. * src/NetworkManager.c
  735. - (main): pass the vpn_manager to the policy so it knows about active
  736. VPN connections; clean up the named manager which wasn't done before
  737. * src/NetworkManagerPolicy.c
  738. src/NetworkManagerPolicy.h
  739. - (nm_policy_new): get a clue about the vpn_manager
  740. - (update_default_route): remove, fold into update_routing_and_dns()
  741. - (update_routing_and_dns): handle active VPN connections too; an
  742. active VPN connection becomes the default route if it does not have
  743. server-specified or user-specified custom routes. Otherwise, the
  744. best active device gets the default route
  745. - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
  746. nm_policy_destroy): track VPN connection activation and deactivation
  747. and update the default route when appropriate
  748. * src/NetworkManagerSystem.c
  749. src/NetworkManagerSystem.h
  750. - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
  751. in the VPN connection itself
  752. - (nm_system_vpn_device_set_from_ip4_config,
  753. nm_system_device_set_from_ip4_config): merge together to make
  754. nm_system_apply_ip4_config()
  755. - (add_vpn_gateway_route): add a route to the VPN's external gateway
  756. via the parent device
  757. - (nm_system_apply_ip4_config): simplify
  758. - (add_ip4_route_to_gateway): new function; add a direct route to the
  759. gateway if needed
  760. - (nm_system_device_replace_default_ip4_route): simplify, break gateway
  761. route stuff out into add_ip4_route_to_gateway() for clarity
  762. * src/nm-device.c
  763. - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
  764. * src/vpn-manager/nm-vpn-connection.c
  765. src/vpn-manager/nm-vpn-connection.h
  766. - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
  767. nm_vpn_connection_get_parent_device): add
  768. - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
  769. device explicit
  770. - (connection_state_changed): update the named manager now that
  771. nm_system_vpn_device_unset_from_ip4_config() is gone; do something
  772. useful on errors
  773. * src/vpn-manager/nm-vpn-manager.c
  774. src/vpn-manager/nm-vpn-manager.h
  775. - Add a 'connection-activated' signal
  776. - (nm_vpn_manager_get_active_connections): new function; mainly for the
  777. policy to find out about active VPN connections
  778. 2008-10-10 Tambet Ingo <tambet@gmail.com>
  779. * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
  780. a daemon to prevent NM logging spew on console on startup and shutdown (due
  781. to dependency loop between NM and syslog).
  782. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  783. Implement managed mode. We bind devices configured in /etc/network/interfaces
  784. to their connections by updating wired/wireless setting with the
  785. mac address of the device.
  786. * system-settings/plugins/ifupdown/plugin.c
  787. - (get_net_address_for_udi): implement function to retrieve MAC
  788. address of udi from hal in GByteArray format
  789. - (bind_device_to_connection): bind mac address of device to
  790. wired/wireless system connection
  791. - (hal_device_added_cb): call bind_device_to_connection for
  792. system connections with a matching interface.name
  793. - (hal_device_added_cb): ensure that all code paths
  794. properly free the "iface" string.
  795. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  796. Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
  797. mode of the ifupdown system config plugin.
  798. * system-settings/plugins/ifupdown/plugin.c
  799. - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
  800. private unmanage_well_known state field accordingly
  801. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  802. Implement unmanaged mode that will prevent all devices in the
  803. well_known_udis set from being touched by NetworkManager
  804. * system-settings/plugins/ifupdown/plugin.c
  805. - (typedef struct SCPluginIfupdownPrivate): add gboolean
  806. unmanage_well_known field used to turn on/off unmanaged
  807. mode
  808. - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
  809. signal when well_known_udis get added/removed
  810. - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
  811. if we are in unmanaged mode
  812. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  813. Add support to track network devices that have a configuration
  814. with a matching interface.name in /etc/network/interfaces
  815. * system-settings/plugins/ifupdown/plugin.c
  816. - (typedef struct SCPluginIfupdownPrivate): add hash table
  817. to track |well_known_udis|
  818. - (get_iface_for_udi): helper function to get interface.name
  819. for a udi
  820. - (hal_device_added_cb, hal_device_removed_cb): callbacks
  821. that add and remove devices to and from the well_known_udis
  822. set depending on whether their |interface.name| matches
  823. any interface definition in /etc/network/interfaces
  824. - (SCPluginIfupdown_init): connect callbacks from above with
  825. hal_mgr and setup well_known_udis hashtable
  826. - (GObject__dispose): destroy well_known_udis hashtable
  827. - (hal_device_added_cb2): implement wrapper callback with GFunc
  828. signature. user_data is supposed to be a triple (hal_mgr,
  829. config and devtype)
  830. - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
  831. startup and call hal_device_added_cb2
  832. 2008-10-10 Alexander Sack <asac@ubuntu.com>
  833. Remove implementation for not used NMSystemConfigInterface callback functions
  834. in ifupdown plugin
  835. * system-settings/plugins/ifupdown/plugin.c
  836. - (SCPluginIfupdown_unmanaged_devices_changed): removed
  837. - (SCPluginIfupdown_connection_added): removed
  838. 2008-10-08 Dan Williams <dcbw@redhat.com>
  839. Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
  840. * src/NetworkManagerUtils.c
  841. - (nm_utils_call_dispatcher): add a 'hostname' action
  842. * src/NetworkManagerPolicy.c
  843. - (set_system_hostname): dispatch hostname changes
  844. * callouts/nm-dispatcher-action.c
  845. - (nm_dispatcher_action): handle 'hostname' actions
  846. 2008-10-08 Dan Williams <dcbw@redhat.com>
  847. * src/NetworkManagerSystem.c
  848. - (find_route): ref the route so it doesn't get destroyed when the cache
  849. is cleared
  850. - (nm_system_device_set_priority): unref the route here after it's done
  851. being used
  852. 2008-10-08 Dan Williams <dcbw@redhat.com>
  853. * src/nm-serial-device.c
  854. - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
  855. 2008-10-08 Tambet Ingo <tambet@gmail.com>
  856. * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
  857. connection with new settings before saving it.
  858. 2008-10-06 Dan Williams <dcbw@redhat.com>
  859. * src/nm-ip4-config.c
  860. src/nm-ip4-config.h
  861. - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
  862. * src/nm-device-interface.c
  863. - (nm_device_interface_init): make 'ip4-config' a boxed property of type
  864. DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
  865. by using '/' for the object path
  866. * src/nm-device.c
  867. - (src/nm-device.c): marshal missing/unexported ip4-config through
  868. dbus as '/' since dbus-glib can't handle NULL objects nor can
  869. dbus handle NULL object paths
  870. 2008-10-03 Alexander Sack <asac@ubuntu.com>
  871. Implement system hostname support for debian/ubuntu
  872. * system-settings/plugins/ifupdown/plugin.c
  873. - (GObject__get_property): extend announced capabilities; add
  874. NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
  875. - (GObject__set_property,write_system_hostname): implement
  876. NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
  877. - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
  878. update_system_hostname, get_hostname):
  879. implement hostname property that watches and
  880. parses /etc/hostname
  881. 2008-10-03 Alexander Sack <asac@ubuntu.com>
  882. * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
  883. system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
  884. system-settings/plugins/ifcfg-fedora/Makefile.am
  885. system-settings/src/nm-inotify-helper.c
  886. system-settings/src/nm-inotify-helper.h
  887. src/Makefile.am
  888. - Move ifcfg-fedora inotify helpers to the system settings service so
  889. they are available to all plugins
  890. 2008-10-03 Alexander Sack <asac@ubuntu.com>
  891. Implement support for wep-tx-keyidx in ifupdown system
  892. config plugin.
  893. * system-settings/plugins/ifupdown/parser.c
  894. - (update_wireless_security_setting_from_if_block): introduce
  895. free_type_mapping func table; rename a few local
  896. variables to improve readability; add wpa security mapping
  897. for wep-tx-keyidx property
  898. - (string_to_gpointerint): new function used for the auto_type_mapping
  899. of new wep-tx-keyidx property
  900. - (slist_free_all): free func used for mapped slist types
  901. 2008-10-03 Alexander Sack <asac@ubuntu.com>
  902. * system-settings/src/main.c:
  903. - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
  904. always used as the hash key; fixes a crash when removing wired
  905. devices
  906. 2008-10-02 Dan Williams <dcbw@redhat.com>
  907. * src/nm-gsm-device.c
  908. - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
  909. pass the required GSM secret along via user_data rather than keeping
  910. it around in the private data where it sometimes didn't get cleared
  911. - (real_get_ppp_name): implement using the GSM username
  912. 2008-10-02 Dan Williams <dcbw@redhat.com>
  913. * src/ppp-manager/nm-ppp-manager.c
  914. src/ppp-manager/nm-ppp-manager.h
  915. - (impl_ppp_manager_need_secrets): tries secrets twice before asking
  916. the settings daemon for completely new ones
  917. - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
  918. local PPP peer name; allow PPP debuging by launching NM with
  919. the environment variable NM_PPP_DEBUG defined
  920. - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
  921. create_pppd_cmd_line()
  922. * src/nm-serial-device.c
  923. src/nm-serial-device.h
  924. - New 'get_ppp_name' function for subclasses to implement to return the
  925. local PPP peer name
  926. - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
  927. and pass that name to the PPP manager
  928. * src/nm-device-ethernet.c
  929. - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
  930. the local peer name
  931. * src/nm-cdma-device.c
  932. - (real_get_ppp_name): implement using the CDMA username
  933. 2008-10-02 Dan Williams <dcbw@redhat.com>
  934. Patch from Alexander Sack <asac ubuntu com>
  935. * system-settings/plugins/ifupdown/parser.c
  936. - Implement more graceful ip4 config parsing for cases where
  937. /etc/network/interfaces omits basic ip4 settings, such as gateway etc
  938. by using default values
  939. 2008-10-02 Dan Williams <dcbw@redhat.com>
  940. * src/NetworkManagerPolicy.c
  941. - (device_state_changed): when marking a connection invalid, clear its
  942. secrets too so that fresh secrets get requested the next time
  943. 2008-10-01 Dan Williams <dcbw@redhat.com>
  944. * system-settings/src/dbus-settings.c
  945. - (nm_sysconfig_settings_init): cache system hostname on startup as
  946. a fallback if no plugin provides a hostname
  947. - (get_property): fall back to cached hostname if no plugin provides
  948. a hostname
  949. 2008-10-01 Dan Williams <dcbw@redhat.com>
  950. Fix setting value comparison issue that caused some settings to look the
  951. same when they were really different (rh #464417)
  952. * libnm-util/nm-param-spec-specialized.c
  953. - (type_is_fixed_size): return fundamental size of the fixed type too
  954. - (nm_gvalues_compare_collection): use the fundamental fixed type size
  955. in the comparison so that the _entire_ fixed type collection gets
  956. compared rather than just the first 'len1' bytes
  957. 2008-09-30 Dan Williams <dcbw@redhat.com>
  958. * src/NetworkManagerPolicy.c
  959. - (lookup_thread_worker): don't store the idle handler ID becuase the
  960. idle handler could have already run and freed the LookupThread
  961. structure
  962. 2008-09-30 Tambet Ingo <tambet@gmail.com>
  963. * src/nm-device.c (nm_device_get_priority): Implement.
  964. (nm_device_set_ip4_config): Send the device priority to system ip4
  965. config setter.
  966. * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
  967. Add priority argument and if it's >= 0, set the priority of the network
  968. route added automatically by netlink (or kernel?).
  969. (nm_system_device_set_priority): Implement.
  970. * src/NetworkManagerPolicy.c (get_best_device): Use
  971. nm_device_get_priority() instead of home-grown version. Revert the
  972. meaning, best priority is the lowest one.
  973. 2008-09-29 Dan Williams <dcbw@redhat.com>
  974. Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
  975. when it returns EAGAIN (rh #362421)
  976. * src/nm-device-wifi.c
  977. - (wireless_get_range): try GIWRANGE a few times until the card responds
  978. - (real_get_generic_capabilities, constructor): use wireless_get_range()
  979. 2008-09-28 Dan Williams <dcbw@redhat.com>
  980. * src/nm-serial-device.c
  981. src/nm-serial-device.h
  982. - (nm_serial_device_close): stop PPP manager here so that PPP gets
  983. cleaned at the right times when subclasses close the serial port too
  984. - (nm_serial_device_send_command): use a default send delay; don't
  985. spin forever on EAGAIN
  986. - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
  987. remove, no longer used
  988. - (find_response): return the matched response if any
  989. - (nm_serial_device_wait_reply_blocking): wait for a reply but block
  990. while doing so
  991. - (wait_for_reply_done): pass the matched response to the callback
  992. - (wait_for_reply_got_data): save the matched response; simplify timeout
  993. handling
  994. - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
  995. const since they never get modified
  996. - (cleanup_device): split out common cleanup stuff to a new function
  997. - (real_deactivate_quickly, finalize): use cleanup_device()
  998. * src/nm-gsm-device.c
  999. - (modem_get_reply): remove, unused
  1000. - (set_apn): give the card a bit more time to respond
  1001. - (manual_registration_again, schedule_manual_registration_again,
  1002. manual_registration_response, manual_registration): handle manual
  1003. registration timeouts better by retrying registration a few times
  1004. because cards are a bit slow after CFUN=1
  1005. - (automatic_registration_get_network, get_network_response): use
  1006. modem_wait_for_reply() because it interacts better with the serial
  1007. buffer and does more intelligent matching; need to wait for 'OK'
  1008. rather than just matching terminators
  1009. - (schedule_automatic_registration_again,
  1010. automatic_registration_response, automatic_registration): retry
  1011. registration a few times on timeout or "searching" because cards
  1012. take a bit to find a network after being powered up with CFUN=1
  1013. - (power_up_response, power_up, init_full_done, enter_pin,
  1014. check_pin_done): power up the card with CFUN=1 before trying to
  1015. register with the network
  1016. - (init_modem_full, init_modem): use more standard 3G init strings
  1017. * src/nm-hso-gsm-device.c
  1018. - (modem_get_reply): remove, unused
  1019. - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
  1020. modem_wait_for_reply() to match actual responses instead of single
  1021. termination characters; it doesn't leave stuff in the serial buffer
  1022. that might confuse later calls
  1023. - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
  1024. to ensure that the call is really disconnected and not leave extra
  1025. stuff in the serial buffer
  1026. * src/nm-cdma-device.c
  1027. - (power_up_response, power_up, init_done): try Sierra-style modem
  1028. power up before attempting to connect
  1029. 2008-09-27 Dan Williams <dcbw@redhat.com>
  1030. * libnm-util/nm-setting-gsm.c
  1031. - (verify): verify GSM network ID
  1032. 2008-09-25 Dan Williams <dcbw@redhat.com>
  1033. * libnm-util/nm-setting-gsm.c
  1034. libnm-util/nm-setting-gsm.h
  1035. - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
  1036. technology terms (bgo #551361)
  1037. 2008-09-25 Dan Williams <dcbw@redhat.com>
  1038. Fix bgo #549401 (inspired by patch from Alexander Sack)
  1039. * src/nm-device-ethernet.c
  1040. - (finish_supplicant_task): clean up scheduled tasks and free memory
  1041. - (remove_supplicant_interface_error_handler): remove the supplicant
  1042. error idle callback too
  1043. - (supplicant_interface_release): rename from supplicant_interface_clean
  1044. to match nm-device-wifi.c; clean up supplicant interface-related
  1045. state tasks when the supplicant interface is disposed of
  1046. - (schedule_state_handler): add scheduled tasks to a list so they can
  1047. be cleaned up later
  1048. - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
  1049. supplicant_iface_connection_state_cb_handler): use
  1050. finish_supplicant_task() to clean up each completed task
  1051. - (supplicant_iface_connection_error_cb_handler,
  1052. supplicant_connection_timeout_cb): clear source id when the task is
  1053. complete
  1054. - (supplicant_iface_connection_error_cb): save scheduled task id for
  1055. later cleanup
  1056. - (nm_device_ethernet_dispose): clean up any pending supplicant state
  1057. tasks
  1058. * src/nm-device-wifi.c
  1059. - (finish_supplicant_task): clean up scheduled tasks and free memory
  1060. - (remove_supplicant_interface_error_handler): remove the supplicant
  1061. error idle callback too
  1062. - (supplicant_interface_release): clean up supplicant interface-related
  1063. state tasks when the supplicant interface is disposed of
  1064. - (schedule_state_handler): add scheduled tasks to a list so they can
  1065. be cleaned up later
  1066. - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
  1067. supplicant_iface_connection_state_cb_handler): use
  1068. finish_supplicant_task() to clean up each completed task
  1069. - (supplicant_iface_connection_error_cb_handler): clear source id when
  1070. the task is complete
  1071. - (supplicant_iface_connection_error_cb): save scheduled task id for
  1072. later cleanup
  1073. - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
  1074. 2008-09-24 Tambet Ingo <tambet@gmail.com>
  1075. * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
  1076. method and get/set hostname property.
  1077. 2008-09-24 Tambet Ingo <tambet@gmail.com>
  1078. * src/supplicant-manager/nm-supplicant-interface.c
  1079. (nm_supplicant_interface_disconnect): Don't increment the reference
  1080. count when disconnecting. The problem is on shutdown, when the replies
  1081. to these commands do not arrive before NM exits, resulting on never
  1082. calling supplicant interface's dispose(), which removes the interface
  1083. from supplicant.
  1084. 2008-09-24 Tambet Ingo <tambet@gmail.com>
  1085. * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
  1086. all the public function arguments.
  1087. 2008-09-22 Tambet Ingo <tambet@gmail.com>
  1088. * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
  1089. "Failure" signal from VPN plugins, store the failure reason, and
  1090. use it when the state is changed to failure.
  1091. * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
  1092. description.
  1093. * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
  1094. reason to the end of the list to not break the API.
  1095. (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
  1096. so it can be shared by plugins and daemon.
  1097. 2008-09-18 Dan Williams <dcbw@redhat.com>
  1098. Patch from Alexander Sack <asac@ubuntu.com>
  1099. * configure.in
  1100. system-settings/plugins/Makefile.am
  1101. system-settings/plugins/ifupdown/Makefile.am
  1102. system-settings/plugins/ifupdown/interface_parser.c
  1103. system-settings/plugins/ifupdown/interface_parser.h
  1104. system-settings/plugins/ifupdown/nm-ifupdown-connection.c
  1105. system-settings/plugins/ifupdown/nm-ifupdown-connection.h
  1106. system-settings/plugins/ifupdown/parser.c
  1107. system-settings/plugins/ifupdown/parser.h
  1108. system-settings/plugins/ifupdown/plugin.c
  1109. system-settings/plugins/ifupdown/plugin.h
  1110. - Implement a Debian/Ubuntu legacy network configuration plugin
  1111. (gnome.org #551941)
  1112. 2008-09-18 Dan Williams <dcbw@redhat.com>
  1113. Implement support for honoring configured and automatic hostnames, and for
  1114. setting the configured hostname.
  1115. * introspection/nm-ip4-config.xml
  1116. src/nm-ip4-config.c
  1117. src/nm-ip4-config.h
  1118. src/dhcp-manager/nm-dhcp-manager.c
  1119. - Remove useless hostname property; it's not really part of the IPv4
  1120. config
  1121. * introspection/nm-settings-system.xml
  1122. libnm-glib/nm-dbus-settings-system.c
  1123. libnm-glib/nm-dbus-settings-system.h
  1124. - Add SetHostname() call to system settings D-Bus interface
  1125. - Add Hostname property to system settings D-Bus interface
  1126. - (nm_dbus_settings_system_save_hostname,
  1127. nm_dbus_settings_system_get_hostname): implement
  1128. * src/nm-device.c
  1129. src/nm-device.h
  1130. - (nm_device_get_dhcp4_config): implement
  1131. * src/nm-manager.c
  1132. src/nm-manager.h
  1133. - Fetch and track system settings service hostname changes, and proxy
  1134. the changes via a GObject property of the manager
  1135. * system-settings/src/nm-system-config-interface.c
  1136. system-settings/src/nm-system-config-interface.h
  1137. - Replace nm_system_config_interface_supports_add() with a capabilities
  1138. bitfield
  1139. * system-settings/src/nm-system-config-error.c
  1140. system-settings/src/nm-system-config-error.h
  1141. - Add additional errors
  1142. * system-settings/src/dbus-settings.c
  1143. system-settings/src/dbus-settings.h
  1144. - (get_property, nm_sysconfig_settings_class_init): add hostname
  1145. property; first plugin returning a hostname wins
  1146. - (impl_settings_add_connection): use plugin capabilities instead of
  1147. nm_system_config_interface_supports_add()
  1148. - (impl_settings_save_hostname): implement hostname saving
  1149. * src/NetworkManagerPolicy.c
  1150. - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
  1151. lookup_thread_die): implement an asynchronous hostname lookup thread
  1152. which given an IPv4 address tries to look up the hostname for that
  1153. address with reverse DNS
  1154. - (get_best_device): split out best device code from
  1155. update_routing_and_dns()
  1156. - (update_etc_hosts): update /etc/hosts with the machine's new hostname
  1157. to preserve the 127.0.0.1 reverse mapping that so many things require
  1158. - (set_system_hostname): set a given hostname
  1159. - (update_system_hostname): implement hostname policy; a configured
  1160. hostname (from the system settings service) is used if available,
  1161. otherwise an automatically determined hostname from DHCP, VPN, etc.
  1162. If there was no automatically determined hostname, reverse DNS of
  1163. the best device's IP address will be used, and as a last resort the
  1164. hostname 'localhost.localdomain' is set.
  1165. - (update_routing_and_dns): use get_best_device(); update the system
  1166. hostname when the network config changes
  1167. - (hostname_changed): update system hostname if the system settings
  1168. service signals a hostname change
  1169. - (nm_policy_new): list for system settings service hostname changes
  1170. - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
  1171. gets told to die
  1172. * system-settings/plugins/keyfile/plugin.c
  1173. system-settings/plugins/ifcfg-suse/plugin.c
  1174. - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
  1175. capabilities properties
  1176. * system-settings/plugins/ifcfg-fedora/shvar.c
  1177. - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
  1178. writes out /etc/sysconfig/network now
  1179. * system-settings/plugins/ifcfg-fedora/plugin.c
  1180. - (plugin_get_hostname): get hostname from /etc/sysconfig/network
  1181. - (plugin_set_hostname): save hostname to /etc/sysconfig/network
  1182. - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
  1183. - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
  1184. - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
  1185. hostname get/set and capabilities get
  1186. 2008-09-18 Dan Williams <dcbw@redhat.com>
  1187. * libnm-util/nm-setting-wireless.c
  1188. - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
  1189. group ciphers if the wireless-security setting explicitly specified
  1190. them, effectively making the default be "all ciphers" (idea from
  1191. Alexander Sack)
  1192. 2008-09-15 Dan Williams <dcbw@redhat.com>
  1193. Patch from Alexander Sack <asac@ubuntu.com>
  1194. * src/named-manager/nm-named-manager.c
  1195. - (dispatch_resolvconf): respect resolvconf exit code
  1196. 2008-09-12 Tambet Ingo <tambet@gmail.com>
  1197. * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
  1198. again. Add some debugging.
  1199. 2008-09-11 Dan Williams <dcbw@redhat.com>
  1200. * system-settings/plugins/keyfile/plugin.c
  1201. - (update_connection_settings): update connection manually, since
  1202. nm_exported_connection_update() does authentication
  1203. - (dir_changed): update_connection_settings() doesn't need to return
  1204. an error
  1205. 2008-09-09 Dan Williams <dcbw@redhat.com>
  1206. * libnm-glib/nm-vpn-plugin-ui-interface.c
  1207. libnm-glib/nm-vpn-plugin-ui-interface.h
  1208. libnm-glib/libnm_glib_vpn.ver
  1209. - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
  1210. should clean up resources related to the connection (like keyring
  1211. secrets)
  1212. - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
  1213. should save user-scope secrets (like to the keyring)
  1214. 2008-09-08 Dan Williams <dcbw@redhat.com>
  1215. Patch from Alexander Sack <asac@ubuntu.com>
  1216. * libnm-util/crypto_gnutls.c
  1217. libnm-util/crypto_nss.c
  1218. - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
  1219. * libnm-util/nm-utils.c
  1220. libnm-util/nm-utils.h
  1221. libnm-util/libnm-util.ver
  1222. - (nm_utils_init): initialize libnm-util
  1223. - (nm_utils_deinit): de-initialize libnm-util and clean up resources
  1224. * libnm-util/nm-setting-8021x.c
  1225. - (nm_setting_802_1x_class_init): init libnm-util when needed
  1226. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1227. Patch from Roy Marples <roy@marples.name> and others
  1228. * configure.in
  1229. src/named-manager/nm-named-manager.c
  1230. - Add support for resolvconf; use --with-resolvconf at configure time
  1231. to enable it
  1232. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1233. * libnm-util/crypto_nss.c
  1234. libnm-util/crypto_gnutls.c
  1235. libnm-util/crypto.h
  1236. - (crypto_init): return error when init fails
  1237. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1238. * libnm-glib/nm-device-wifi.c
  1239. - (access_point_removed_proxy): clean up the active access point too
  1240. just in case the active ap changed signal didn't come through yet
  1241. - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
  1242. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1243. * libnm-glib/nm-client.c
  1244. - (constructor): get initial state after we know whether NM is running
  1245. or not
  1246. 2008-09-05 Dan Williams <dcbw@redhat.com>
  1247. * libnm-glib/nm-ip4-config.c
  1248. libnm-glib/nm-dhcp4-config.c
  1249. - (finalize): clean up the DBusGProxy
  1250. 2008-09-04 Dan Williams <dcbw@redhat.com>
  1251. * src/nm-ip4-config.c
  1252. src/nm-ip4-config.h
  1253. - (nm_ip4_config_new): don't export over D-Bus here
  1254. - (nm_ip4_config_export): new function; export the config over D-Bus
  1255. - (nm_ip4_config_is_exported): new function
  1256. * src/nm-device.c
  1257. - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
  1258. objects by balancing the IP4Config constructor; the device holds
  1259. a reference to the IP4Config already
  1260. - (nm_device_set_ip4_config): export the IP4Config when needed
  1261. 2008-09-04 Dan Williams <dcbw@redhat.com>
  1262. * src/supplicant-manager/nm-supplicant-settings-verify.c
  1263. - Allow WPA-NONE key management for Ad-Hoc WPA connections
  1264. 2008-09-04 Dan Williams <dcbw@redhat.com>
  1265. * libnm-util/nm-setting-vpn.c
  1266. libnm-util/nm-setting-vpn.h
  1267. - Split VPN secrets from VPN data so that settings services can actually
  1268. figure out that they are secrets and store them accordingly
  1269. * system-settings/plugins/keyfile/nm-keyfile-connection.c
  1270. system-settings/plugins/keyfile/reader.c
  1271. system-settings/plugins/keyfile/reader.h
  1272. system-settings/plugins/keyfile/writer.c
  1273. - Store VPN secrets separately from VPN data so that they can be fetched
  1274. on demand
  1275. - Implement the get_secrets() call so that (a) secrets don't leak out
  1276. to unprivileged callers, and (b) secrets can be sent to privileged
  1277. callers when needed
  1278. * vpn-daemons/vpnc/src/nm-vpnc-service.c
  1279. - Handle split VPN secrets
  1280. 2008-08-27 Dan Williams <dcbw@redhat.com>
  1281. * system-settings/plugins/ifcfg-fedora/reader.c
  1282. - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
  1283. 2008-08-27 Dan Williams <dcbw@redhat.com>
  1284. Ensure zombie children get cleaned up. To get notifications when children
  1285. die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
  1286. that requires calling waitpid() yourself if you've removed the child watch
  1287. handler before the process has actually died, which NM needs to do in a few
  1288. places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
  1289. cleans up after the child when required. Should fix problems trying to
  1290. activate mobile broadband connections after a previous failure.
  1291. * src/dhcp-manager/nm-dhcp-dhclient.c
  1292. src/dhcp-manager/nm-dhcp-dhcpcd.c
  1293. - Use G_SPAWN_DO_NOT_REAP_CHILD
  1294. * src/dhcp-manager/nm-dhcp-manager.c
  1295. - (nm_dhcp_device_destroy): ensure child is cleaned up
  1296. - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
  1297. block on child quitting, since the non-blocking functionality was
  1298. never actually used
  1299. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  1300. - (dm_watch_cb): child is already reaped here
  1301. - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
  1302. * src/nm-device.c
  1303. - (aipd_cleanup): block until child is dead
  1304. * src/named-manager/nm-named-manager.c
  1305. - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
  1306. event bothering to watch the child
  1307. * src/ppp-manager/nm-ppp-manager.c
  1308. - (ppp_watch_cb): child is already reaped here
  1309. - (ensure_killed, nm_ppp_manager_stop): block until child is dead
  1310. * src/vpn-manager/nm-vpn-service.c
  1311. - (vpn_service_watch_cb): child is already reaped here
  1312. - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
  1313. status of the child is actually tracked
  1314. - (ensure_killed, finalize): block until child is dead
  1315. 2008-08-26 Dan Williams <dcbw@redhat.com>
  1316. * system-settings/plugins/keyfile/nm-keyfile-connection.c
  1317. - (update): Update filename of the connection if the connection id
  1318. was changed
  1319. * system-settings/plugins/keyfile/plugin.c
  1320. - (dir_changed): first pass at handling connection renames correctly
  1321. * system-settings/plugins/keyfile/writer.c
  1322. system-settings/plugins/keyfile/writer.h
  1323. - (write_connection): replace '/' with '*' when writing out the filename
  1324. from the connection id
  1325. 2008-08-26 Dan Williams <dcbw@redhat.com>
  1326. Add connection UUIDs, since connection names can be changed, and since
  1327. old-style connection IDs could change over the life of the connection. The
  1328. UUID should be assigned at connection creation time, be stable for a given
  1329. connection, and should be unique among all connections for a given settings
  1330. service.
  1331. * configure.in
  1332. libnm-util/Makefile.am
  1333. - Require libuuid
  1334. * introspection/nm-exported-connection.xml
  1335. - Remove "GetID" method
  1336. * libnm-glib/nm-dbus-connection.c
  1337. libnm-glib/nm-settings.c
  1338. libnm-glib/nm-settings.h
  1339. - Remove id-related stuff
  1340. * libnm-util/nm-utils.c
  1341. libnm-util/nm-utils.h
  1342. libnm-util/libnm-util.ver
  1343. - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
  1344. utility functions to generate UUIDs
  1345. * libnm-util/nm-setting-connection.c
  1346. libnm-util/nm-setting-connection.h
  1347. - Add 'uuid' member to the connection setting
  1348. - (verify): require valid 'uuid' for a valid connection
  1349. * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  1350. system-settings/plugins/ifcfg-fedora/reader.c
  1351. system-settings/plugins/ifcfg-suse/nm-suse-connection.c
  1352. system-settings/plugins/ifcfg-suse/parser.c
  1353. system-settings/plugins/keyfile/nm-keyfile-connection.c
  1354. system-settings/src/main.c
  1355. - Remove id-related stuff
  1356. - Give connections UUIDs where needed
  1357. 2008-08-25 Dan Williams <dcbw@redhat.com>
  1358. * libnm-util/crypto_gnutls.c
  1359. libnm-util/crypto_nss.c
  1360. - (crypto_init, crypto_deinit): refcount init/deinit
  1361. - (crypto_md5_hash): allow NULL salt
  1362. 2008-08-22 Michael Biebl <mbiebl@gmail.com>
  1363. * libnm-glib/Makefile.am
  1364. libnm-util/Makefile.am
  1365. libnm-glib/libnm_glib.ver
  1366. libnm-glib/libnm_glib_vpn.ver
  1367. libnm-util/libnm-util.ver
  1368. - Use linker version scripts to control the list of exported
  1369. symbols. List each exported symbol explicitely.
  1370. * libnm-util/Makefile.am
  1371. - Fix compilation of the test-crypto binary. The crypto
  1372. functions are no longer part of the libnm-util API. Add
  1373. crypto_*.c to test_crypto_SOURCES and link against the correct
  1374. crypto libraries.
  1375. 2008-08-19 Dan Williams <dcbw@redhat.com>
  1376. * configure.in
  1377. test/Makefile.am
  1378. - Don't build test/test-common
  1379. - Remove unused stuff
  1380. * test/nm-set-fallback
  1381. test/nmtestdevices.c
  1382. test/test-common/.cvsignore
  1383. test/test-common/Makefile.am
  1384. test/test-common/test-common.c
  1385. test/test-common/test-common.h
  1386. - delete
  1387. 2008-08-18 Dan Williams <dcbw@redhat.com>
  1388. * libnm-util/nm-utils.c
  1389. libnm-util/nm-utils.h
  1390. - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
  1391. export anything that needs to be converted with this function
  1392. * src/dhcp-manager/nm-dhcp-manager.c
  1393. - (garray_to_string): convert a byte array to a UTF-8 string with
  1394. minimal validation; the DHCP client sends it in ASCII anyway
  1395. - (get_option, copy_option): use garray_to_string()
  1396. 2008-08-18 Dan Williams <dcbw@redhat.com>
  1397. * include/NetworkManager.h
  1398. introspection/nm-device.xml
  1399. - Add a "missing firmware" device state reason
  1400. * src/NetworkManagerSystem.c
  1401. src/NetworkManagerSystem.h
  1402. - (nm_system_device_set_up_down): add a no_firmware argument
  1403. - (nm_system_device_set_up_down_with_iface): if the result of setting
  1404. IFF_UP is ENOENT, that almost always means missing firmware
  1405. * src/backends/NetworkManagerGeneric.c
  1406. src/nm-device-ethernet.c
  1407. src/nm-device-private.h
  1408. src/nm-device-wifi.c
  1409. src/nm-device.c
  1410. src/nm-device.h
  1411. src/nm-hso-gsm-device.c
  1412. src/vpn-manager/nm-vpn-connection.c
  1413. - Pass no_firmware along; check it where appropriate
  1414. 2008-08-18 Dan Williams <dcbw@redhat.com>
  1415. Patch from Robert Buchholz <rbu@gentoo.org>
  1416. * autogen.sh
  1417. configure.in
  1418. - Change to automake 1.9 and 'ustar' tar format defined by POSIX
  1419. 1003.1-1988, allowing for file names longer than 99 characters
  1420. 2008-08-17 Dan Williams <dcbw@redhat.com>
  1421. * include/NetworkManager.h
  1422. introspection/nm-device.xml
  1423. src/nm-gsm-device.c
  1424. - Finer-grained GSM registration failure error codes
  1425. 2008-08-17 Dan Williams <dcbw@redhat.com>
  1426. * callouts/Makefile.am
  1427. src/Makefile.am
  1428. - Move dispatcher directory creation to callouts/Makefile.am
  1429. * system-settings/plugins/keyfile/Makefile.am
  1430. - Create keyfile connections directory in DESTDIR (bgo #546833)
  1431. 2008-08-15 Dan Williams <dcbw@redhat.com>
  1432. Do connection sharing in a cleaner manner; all required iptables rules
  1433. are now stored in the activation request and pertain only to the device
  1434. which is being shared to other computers. (rh #458625)
  1435. * src/nm-activation-request.c
  1436. src/nm-activation-request.h
  1437. - (nm_act_request_add_share_rule): new function; add a sharing rule to
  1438. the activation request which will get torn down automatically when
  1439. the activation request dies
  1440. - (nm_act_request_set_shared): push sharing rules to iptables when sharing
  1441. is started, and tear them down when sharing is stopped
  1442. * src/nm-device.c
  1443. - (start_sharing): start up sharing by doing the required iptables magic
  1444. - (share_init): poke the right bits of the kernel and load the right
  1445. modules for NAT
  1446. - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
  1447. connection if it's a 'shared' connection
  1448. * src/NetworkManagerPolicy.c
  1449. - Remove all sharing stuff; done in the device code itself
  1450. 2008-08-15 Dan Williams <dcbw@redhat.com>
  1451. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  1452. - (create_dm_cmd_line): send the right router address
  1453. 2008-08-15 Dan Williams <dcbw@redhat.com>
  1454. * src/ppp-manager/nm-ppp-manager.c
  1455. - (pppd_timed_out): ensure timeouts fail the connection
  1456. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1457. * src/nm-properties-changed-signal.c
  1458. src/nm-properties-changed-signal.h
  1459. - Add a property spec flag for "don't export this property" in
  1460. property changed signals
  1461. * src/nm-hso-gsm-device.c
  1462. src/nm-gsm-device.c
  1463. src/nm-cdma-device.c
  1464. - Don't export monitor interface or netdev interface properties
  1465. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1466. * src/NetworkManagerPolicy.c
  1467. - (update_routing_and_dns): 'hso' devices can be default even if they
  1468. don't have a gateway
  1469. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1470. * src/nm-device.c
  1471. - (nm_device_deactivate_quickly): tear down activation request after
  1472. calling device-specific deactivation
  1473. * src/nm-hso-gsm-device.c
  1474. - (real_deactivate_quickly): terminate connection when deactivating
  1475. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1476. * src/nm-activation-request.h
  1477. - Add HSO secrets caller
  1478. * src/nm-gsm-device.c
  1479. src/nm-gsm-device.h
  1480. - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
  1481. something to the callback function
  1482. - (set_apn, set_apn_done): call class dial function, not a static one
  1483. - (nm_gsm_device_class_init): add a class 'dial' function
  1484. * src/nm-hal-manager.c
  1485. - (get_hso_netdev): find the hso-driven hardware's net device
  1486. - (modem_device_creator): recognize hso-driven hardware and create the
  1487. right type of device object for it
  1488. * src/Makefile.am
  1489. src/nm-hso-gsm-device.c
  1490. src/nm-hso-gsm-device.h
  1491. - Implement support for devices driven by the 'hso' driver as a subclass
  1492. of NMGsmDevice
  1493. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1494. * src/NetworkManagerSystem.c
  1495. - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
  1496. - (nm_system_device_set_up_down_with_iface): cleanups; only return
  1497. success if the operation really was successful
  1498. 2008-08-14 Dan Williams <dcbw@redhat.com>
  1499. * src/nm-netlink-monitor.c
  1500. src/nm-netlink-monitor.h
  1501. src/nm-device-ethernet.c
  1502. - (nm_netlink_monitor_request_status): return an error on failure
  1503. - (constructor): don't segfault on missing error
  1504. 2008-08-13 Dan Williams <dcbw@redhat.com>
  1505. * callouts/nm-dispatcher-action.c
  1506. - Add IP4 config info to script environment
  1507. 2008-08-12 Dan Williams <dcbw@redhat.com>
  1508. * src/nm-device.c
  1509. - (nm_device_set_ip4_config): don't touch hostnames here; distros
  1510. that want to use DHCP hostnames should use dispatcher scripts
  1511. for that
  1512. * src/NetworkManagerSystem.h
  1513. src/backends/NetworkManagerArch.c
  1514. src/backends/NetworkManagerDebian.c
  1515. src/backends/NetworkManagerFrugalware.c
  1516. src/backends/NetworkManagerGeneric.c
  1517. src/backends/NetworkManagerGeneric.h
  1518. src/backends/NetworkManagerGentoo.c
  1519. src/backends/NetworkManagerMandriva.c
  1520. src/backends/NetworkManagerPaldo.c
  1521. src/backends/NetworkManagerRedHat.c
  1522. src/backends/NetworkManagerSlackware.c
  1523. src/backends/NetworkManagerSuSE.c
  1524. - Remove nm_system_set_hostname(), no longer used
  1525. * src/backends/Makefile.am
  1526. src/backends/shvar.c
  1527. src/backends/shvar.h
  1528. - Remove shvar.*; no longer used
  1529. 2008-08-12 Dan Williams <dcbw@redhat.com>
  1530. Revert most of the 'hostname' patch. Too much stuff still breaks when
  1531. hostname is updated at runtime. Distros or users who want hostname updates
  1532. can use dispatcher scripts to update the hostname if they need it.
  1533. 2008-08-12 Dan Williams <dcbw@redhat.com>
  1534. * introspection/nm-settings-system.xml
  1535. system-settings/src/dbus-settings.c
  1536. system-settings/src/dbus-settings.h
  1537. - Add a 'Hostname' property (rw) which represents the configured
  1538. hostname and domain of the system, if any
  1539. * system-settings/src/nm-system-config-error.c
  1540. system-settings/src/nm-system-config-error.h
  1541. system-settings/src/nm-system-config-interface.c
  1542. system-settings/src/nm-system-config-interface.h
  1543. - Add a 'hostname' property to the plugin interface
  1544. - Add a method to send updated hostname to plugins to save in their
  1545. backing configuration store
  1546. * system-settings/plugins/keyfile/nm-keyfile-connection.c
  1547. system-settings/plugins/keyfile/plugin.c
  1548. system-settings/plugins/keyfile/writer.c
  1549. system-settings/plugins/keyfile/writer.h
  1550. system-settings/plugins/ifcfg-suse/plugin.c
  1551. - Add minimal hostname support
  1552. * system-settings/plugins/ifcfg-fedora/plugin.c
  1553. - Add support for updating system hostname in /etc/sysconfig/network
  1554. 2008-08-12 Dan Williams <dcbw@redhat.com>
  1555. * system-settings/plugins/ifcfg-fedora/shvar.c
  1556. system-settings/plugins/ifcfg-fedora/shvar.c
  1557. - Fix double-free caused by svSetValue() followed by svCloseFile()
  1558. 2008-08-12 Tambet Ingo <tambet@gmail.com>
  1559. * Makefile.am: Fix distcheck.
  1560. 2008-08-12 Tambet Ingo <tambet@gmail.com>
  1561. * libnm-glib/*.c. Document some more.
  1562. 2008-08-12 Tambet Ingo <tambet@gmail.com>
  1563. Start documenting libnm-glib public API using gtk-doc.
  1564. * libnm-glib/nm-serial-device.c:
  1565. * libnm-glib/nm-object.c:
  1566. * libnm-glib/nm-gsm-device.c:
  1567. * libnm-glib/nm-device.c:
  1568. * libnm-glib/nm-device-wifi.c:
  1569. * libnm-glib/nm-device-ethernet.c:
  1570. * libnm-glib/nm-client.c:
  1571. * libnm-glib/nm-cdma-device.c: Document the public API.
  1572. * docs/libnm-glib/libnm-glib.types: Implement.
  1573. * docs/libnm-glib/Makefile.am: Implement.
  1574. * autogen.sh:
  1575. * configure.in:
  1576. * Makefile.am: Add gtk-doc support.
  1577. 2008-08-12 Tambet Ingo <tambet@gmail.com>
  1578. * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
  1579. * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
  1580. the composite result of all the IP4 configurations and call a distro
  1581. specific update_resolv_conf().
  1582. (update_resolv_conf): Implement one for directly writing to
  1583. /etc/resolv.conf and one for opensuse to call netconfig.
  1584. 2008-08-11 Dan Williams <dcbw@redhat.com>
  1585. * src/ppp-manager/nm-ppp-manager.c
  1586. - (impl_ppp_manager_need_secrets): pass interface as required
  1587. 2008-08-11 Dan Williams <dcbw@redhat.com>
  1588. Merge the vpn-properties setting with the vpn setting since it was pointless
  1589. to keep both of them around. Convert the vpn 'data' hash table to a hash
  1590. of string:string (instead of string:variant) so that system settings plugins
  1591. can have an easier time dealing with the arbitrary key/value pairs.
  1592. 2008-08-11 Dan Williams <dcbw@redhat.com>
  1593. * libnm-util/nm-utils.c
  1594. - (nm_utils_register_value_transformations): add value transform for
  1595. a hash table of string:string
  1596. 2008-08-10 Dan Williams <dcbw@redhat.com>
  1597. * libnm-glib/nm-vpn-plugin.c
  1598. - (nm_vpn_plugin_connect): stop plugin after connection failure from
  1599. an idle handler so the Connect reply gets delivered before the
  1600. stop StateChanged signal
  1601. 2008-08-10 Dan Williams <dcbw@redhat.com>
  1602. * src/nm-ip4-config.c
  1603. - (get_property): use common ip4 address/route conversion functions
  1604. - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
  1605. copy the new route here, not take ownership
  1606. 2008-08-08 Tambet Ingo <tambet@gmail.com>
  1607. * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
  1608. Update the IP4 setting's method name.
  1609. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1610. * introspection/nm-ip4-config.xml
  1611. libnm-glib/libnm-glib-test.c
  1612. libnm-glib/nm-ip4-config.c
  1613. libnm-glib/nm-ip4-config.h
  1614. src/NetworkManagerSystem.h
  1615. src/backends/NetworkManagerArch.c
  1616. src/backends/NetworkManagerDebian.c
  1617. src/backends/NetworkManagerFrugalware.c
  1618. src/backends/NetworkManagerGeneric.c
  1619. src/backends/NetworkManagerGeneric.h
  1620. src/backends/NetworkManagerGentoo.c
  1621. src/backends/NetworkManagerMandriva.c
  1622. src/backends/NetworkManagerPaldo.c
  1623. src/backends/NetworkManagerRedHat.c
  1624. src/backends/NetworkManagerSlackware.c
  1625. src/backends/NetworkManagerSuSE.c
  1626. src/dhcp-manager/nm-dhcp-manager.c
  1627. src/nm-device.c
  1628. src/nm-ip4-config.c
  1629. src/nm-ip4-config.h
  1630. - Remove NIS logic; should be done from dispatcher scripts instead
  1631. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1632. * src/dhcp-manager/nm-dhcp-manager.c
  1633. - (nm_dhcp_manager_get_ip4_config): fix regression which caused
  1634. mis-handling of DHCP responses that returned more than one router
  1635. (found by Grant Williamson)
  1636. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1637. * callouts/nm-dispatcher-action.c
  1638. - (nm_dispatcher_action): grab device path and create the device; pass
  1639. the device's DHCP4 config to script caller
  1640. - (dispatch_scripts): dump the DHCP4 config to the environment of called
  1641. scripts
  1642. * libnm-glib/nm-dhcp4-config.c
  1643. libnm-glib/nm-dhcp4-config.h
  1644. - (nm_dhcp4_config_get_options): expose
  1645. - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
  1646. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1647. * include/NetworkManager.h
  1648. - Add the DHCP4Config D-Bus interface
  1649. * libnm-glib/Makefile.am
  1650. libnm-glib/nm-dhcp4-config.c
  1651. libnm-glib/nm-dhcp4-config.h
  1652. - Handle DHCP4 config objects exported by NM over D-Bus
  1653. * libnm-glib/nm-device.c
  1654. libnm-glib/nm-device.h
  1655. - Add a 'dhcp4-config' property
  1656. * libnm-glib/libnm-glib-test.c
  1657. - Print out DHCP4 config for devices
  1658. - Fix some crashes when no connections are active
  1659. * src/nm-device-interface.c
  1660. src/nm-device.c
  1661. src/nm-dhcp4-config.c
  1662. src/nm-dhcp4-config.h
  1663. - Treat dhcp4-config object as an object path at the D-Bus interface so
  1664. that when it doesn't exist we can proxy it as "/" which dbus-glib
  1665. doesn't let us do when the property type is G_TYPE_OBJECT
  1666. 2008-08-07 Dan Williams <dcbw@redhat.com>
  1667. * src/NetworkManager.c
  1668. src/NetworkManagerSystem.h
  1669. src/backends/NetworkManagerArch.c
  1670. src/backends/NetworkManagerDebian.c
  1671. src/backends/NetworkManagerFrugalware.c
  1672. src/backends/NetworkManagerGeneric.c
  1673. src/backends/NetworkManagerGeneric.h
  1674. src/backends/NetworkManagerGentoo.c
  1675. src/backends/NetworkManagerMandriva.c
  1676. src/backends/NetworkManagerPaldo.c
  1677. src/backends/NetworkManagerRedHat.c
  1678. src/backends/NetworkManagerSlackware.c
  1679. src/backends/NetworkManagerSuSE.c
  1680. - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
  1681. 2008-08-06 Dan Williams <dcbw@redhat.com>
  1682. * libnm-glib/nm-ip4-config.c
  1683. libnm-glib/nm-ip4-config.h
  1684. - Add 'routes' property
  1685. * libnm-util/nm-setting-vpn.c
  1686. libnm-util/nm-setting-vpn.h
  1687. - Remove 'routes' property
  1688. * libnm-util/nm-setting-ip4-config.c
  1689. libnm-util/nm-setting-ip4-config.h
  1690. - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
  1691. - Add 'ignore-auto-routes' property
  1692. - 'routes' exposed over D-Bus is now an array of array of uint (4) to
  1693. accomodate route metrics
  1694. - 'routes' exposed in C is now a list of NMSettingIP4Route structures
  1695. * libnm-util/nm-utils.c
  1696. libnm-util/nm-utils.h
  1697. - Add helpers for marshalling IP4 routes
  1698. * src/NetworkManagerUtils.c
  1699. - (nm_utils_merge_ip4_config): handle property renames and new route
  1700. structure
  1701. * src/NetworkManagerSystem.c
  1702. - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
  1703. nm_system_vpn_device_set_from_ip4_config): respect route metrics
  1704. * src/dhcp-manager/nm-dhcp-manager.c
  1705. - (nm_dhcp_manager_get_ip4_config): handle new route structure
  1706. * system-settings/plugins/ifcfg-fedora/reader.c
  1707. system-settings/plugins/ifcfg-fedora/writer.c
  1708. - Handle routes separately from addresses now that routes have a different
  1709. format
  1710. * introspection/nm-ip4-config.xml
  1711. src/nm-ip4-config.c
  1712. src/nm-ip4-config.h
  1713. - Rename internal routing functions
  1714. - 'static-routes' renamed to 'routes'
  1715. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1716. Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
  1717. * src/NetworkManager.c
  1718. src/nm-manager.c
  1719. src/nm-manager.h
  1720. - More explicitly make the NMManager a singleton
  1721. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1722. * libnm-util/nm-connection.c
  1723. libnm-util/nm-connection.h
  1724. - (nm_connection_verify): return error on missing 'connection' setting
  1725. (found by Sjoerd Simons)
  1726. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1727. Handle multiple concurrent PPP connections.
  1728. * src/ppp-manager/nm-ppp-manager.c
  1729. src/ppp-manager/nm-ppp-manager.h
  1730. - (constructor): only PPP Manager request bus name once; each
  1731. NMPPPManager object gets a unique object path
  1732. - (nm_ppp_manager_class_init, get_property, set_property,
  1733. nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
  1734. at construct time
  1735. - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
  1736. remove timeout until PPP manager gets an IP4 config
  1737. - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
  1738. the plugin can call back to this specific PPP manager instance
  1739. * src/nm-device-ethernet.c
  1740. src/nm-serial-device.c
  1741. - Pass parent device in nm_ppp_manager_new()
  1742. * src/nm-gsm-device.c
  1743. src/nm-cdma-device.c
  1744. - (device_state_changed): don't close serial device on NEED_AUTH
  1745. state changed, that's not a failure case like the rest are
  1746. * src/ppp-manager/nm-pppd-plugin.c
  1747. - (nm_ip_up): always use index 0 into the ipcp options, because NM always
  1748. binds one interface to any pppd process, thus the correct index
  1749. is always 0; send PHASE_DEAD on error to alert NM immediately of
  1750. problems; try harder to get a peer address in spite of pppd
  1751. - (plugin_init): use 'ipparam' as the object path back to our specific
  1752. PPP manager instance
  1753. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1754. * src/ppp-manager/nm-ppp-manager.c
  1755. - (impl_ppp_manager_need_secrets): rework to handle secrets better;
  1756. since the GSM and CDMA settings now implement need_secrets, we can
  1757. rely on them to do the right thing. Where secrets are not required,
  1758. just pass empty strings back to the pppd plugin.
  1759. - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
  1760. - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
  1761. on successful IP4 config receipt
  1762. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1763. * libnm-util/nm-setting-cdma.c
  1764. libnm-util/nm-setting-gsm.c
  1765. - (verify): validate username & password if they exist
  1766. - (need_secrets): if username given, require a password too
  1767. 2008-08-04 Dan Williams <dcbw@redhat.com>
  1768. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  1769. - (create_dm_cmd_line): really don't listen on lo, despite what the
  1770. manpage says about --listen-address without --interface
  1771. (bgo #546033)
  1772. 2008-08-01 Dan Williams <dcbw@redhat.com>
  1773. * libnm-glib/nm-device.c
  1774. - (proxy_get_string): util function for querying a HAL property
  1775. - (get_ancestor_device): split out from get_product_and_vendor()
  1776. - (get_product_and_vendor): simplify; get more accurate pid & vid info
  1777. from PCI devices by querying subsys properties
  1778. - (nm_device_update_description): simplify
  1779. 2008-08-01 Dan Williams <dcbw@redhat.com>
  1780. * libnm-util/nm-setting-ip4-config.c
  1781. libnm-util/nm-setting-ip4-config.h
  1782. - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
  1783. 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
  1784. settings, and they don't necessarily use DHCP.
  1785. * src/NetworkManagerPolicy.c
  1786. src/nm-device.c
  1787. system-settings/plugins/ifcfg-fedora/reader.c
  1788. system-settings/plugins/ifcfg-suse/parser.c
  1789. - Fixup for method changes
  1790. 2008-07-31 Dan Williams <dcbw@redhat.com>
  1791. * src/nm-activation-request.c
  1792. src/vpn-manager/nm-vpn-connection.c
  1793. - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
  1794. itself should be attached to the activation request or the VPN
  1795. connection, not the NMConnection object, since the call is not
  1796. expected to live as long as the NMConnection itself
  1797. 2008-07-31 Dan Williams <dcbw@redhat.com>
  1798. * src/nm-device-wifi.c
  1799. - (real_act_stage2_config): fix issue where association would continue
  1800. even though secrets were needed; 'goto out' was in wrong scope and
  1801. result of handle_auth_or_fail() should have been dumped directly to
  1802. 'ret' to ensure that the association was postponed until secrets
  1803. are available
  1804. 2008-07-31 Dan Williams <dcbw@redhat.com>
  1805. * system-settings/plugins/ifcfg-fedora/plugin.c
  1806. system-settings/plugins/ifcfg-fedora/reader.c
  1807. - Don't ignore unmanaged devices if their ifcfg file doesn't make a
  1808. valid NM connection
  1809. 2008-07-29 Dan Williams <dcbw@redhat.com>
  1810. * src/nm-gsm-device.c
  1811. - (automatic_registration_response, automatic_registration): recognize
  1812. denied registration and reorder responses
  1813. 2008-07-29 Dan Williams <dcbw@redhat.com>
  1814. * src/nm-serial-device.c
  1815. - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
  1816. time(2) is used for current time, which returns seconds, we shouldn't
  1817. be multiplying by 1000.
  1818. 2008-07-28 Dan Williams <dcbw@redhat.com>
  1819. Patch from Fabrice Bellet <fabrice@bellet.info>
  1820. * src/NetworkManagerSystem.c
  1821. - (route_in_same_subnet): mask addresses and compare them so that the
  1822. function actually does what it says it's going to do (rh #456685)
  1823. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1824. * libnm-util/nm-setting-ip6-config.c
  1825. - (set_property): add missing break that caused routes to be overwritten
  1826. with addresses
  1827. * libnm-util/nm-setting-ip6-config.c
  1828. - (verify): validate routes and return GError everywhere on invalid setting
  1829. - (finalize): don't leak routes
  1830. - (set_property): add missing break that caused routes to be overwritten
  1831. with addresses
  1832. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1833. * libnm-util/*
  1834. - Relicense to LGPLv2+
  1835. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1836. * system-settings/plugins/ifcfg-fedora/reader.c
  1837. - (make_ip4_setting): fix parsing automatic configs
  1838. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1839. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  1840. src/nm-device.c
  1841. src/ppp-manager/nm-ppp-manager.c
  1842. - Ensure child process gets reaped. The child watch function may be
  1843. removed from the mainloop before the child gets killed, so we have
  1844. to make sure the child is reaped when it's told to die intentionally
  1845. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1846. Patch from Roy Marples <roy@marples.name>
  1847. * src/dhcp-manager/nm-dhcp-dhcpcd.c
  1848. - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
  1849. 2008-07-27 Dan Williams <dcbw@redhat.com>
  1850. * src/nm-gsm-device.c
  1851. - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
  1852. Huawei devices turn echo back on after CPIN (rh #456770)
  1853. 2008-07-24 Tambet Ingo <tambet@gmail.com>
  1854. * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
  1855. format argument to g_set_error() call.
  1856. * src/backends/interface_parser.[ch]: Remove.
  1857. * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
  1858. 2008-07-21 Dan Williams <dcbw@redhat.com>
  1859. * src/ppp-manager/nm-ppp-manager.c
  1860. - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
  1861. to prevent pppd from picking up some random local address from an
  1862. interface that doesn't have anything to do with the one we're
  1863. interested in (rh #455348)
  1864. 2008-07-17 Dan Williams <dcbw@redhat.com>
  1865. * libnm-util/nm-utils.c
  1866. - (string_to_utf8): general function for conversion to UTF-8 assisted
  1867. by locale
  1868. - (nm_utils_ssid_to_utf8): use string_to_utf8()
  1869. - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
  1870. 2008-07-17 Dan Williams <dcbw@redhat.com>
  1871. * introspection/Makefile.am
  1872. introspection/nm-device.xml
  1873. introspection/nm-dhcp4-config.xml
  1874. - Add bits for the DHCP4Config property of the device, and the DHCP4Config
  1875. itself
  1876. * src/nm-device-interface.c
  1877. src/nm-device-interface.h
  1878. - Add the DHCP4Config property
  1879. * src/nm-device.c
  1880. - Keep track of DHCP4 options via a new DHCP4Config property and notify
  1881. D-Bus clients when it changes
  1882. * src/nm-dhcp4-config.c
  1883. src/nm-dhcp4-config.h
  1884. - Simple object to store DHCP4 options, export them over D-Bus, and
  1885. notify when they change
  1886. * src/dhcp-manager/nm-dhcp-manager.c
  1887. src/dhcp-manager/nm-dhcp-manager.h
  1888. - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
  1889. filter server-returned DHCP options into an NMDHCP4Config object
  1890. 2008-07-16 Dan Williams <dcbw@redhat.com>
  1891. * introspection/nm-device.xml
  1892. - Add device state reasons
  1893. 2008-07-16 Dan Williams <dcbw@redhat.com>
  1894. Patch from Roy Marples <roy@marples.name>
  1895. * configure.in
  1896. - Add --with-dhcp-client option
  1897. * src/dhcp-manager/Makefile.am
  1898. - pass DHCP_CLIENT_PATH on compile line
  1899. * src/dhcp-manager/nm-dhcp-manager.c
  1900. src/dhcp-manager/nm-dhcp-manager.h
  1901. - Genericize for both dhcpcd and dhclient
  1902. * src/dhcp-manager/nm-dhcp-dhclient.c
  1903. - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
  1904. * src/dhcp-manager/nm-dhcp-dhcpcd.c
  1905. - Implement support for dhcpcd too
  1906. 2008-07-16 Tambet Ingo <tambet@gmail.com>
  1907. * system-settings/src/nm-system-config-interface.c
  1908. (nm_system_config_interface_supports_add): Implement.
  1909. (nm_system_config_interface_add_connection): Return a boolean to notify
  1910. of errors.
  1911. * system-settings/src/nm-polkit-helpers.c:
  1912. * system-settings/src/nm-polkit-helpers.h: Move error declarations to
  1913. a separate file.
  1914. * system-settings/src/dbus-settings.c (impl_settings_add_connection):
  1915. Return an error when none of the plugins support add or if addition
  1916. failed for some reason.
  1917. * system-settings/src/nm-system-config-error.h:
  1918. * system-settings/src/nm-system-config-error.c: New files, mostly moved
  1919. here from nm-polkit-helpers.[ch].
  1920. * system-settings/src/Makefile.am: Build new files.
  1921. * system-settings/plugins/keyfile/reader.c
  1922. (read_array_of_array_of_uint): Make it more general so that it would
  1923. work for routes as well.
  1924. * system-settings/plugins/keyfile/writer.c
  1925. (write_array_of_array_of_uint): Ditto.
  1926. Fix the netmask/prefix writing.
  1927. * system-settings/plugins/keyfile/plugin.c (add_connection): Return
  1928. boolean to notify errors.
  1929. * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
  1930. Return more specific error.
  1931. (delete): Ditto.
  1932. 2008-07-11 Dan Williams <dcbw@redhat.com>
  1933. Modify the NMDevice::state-changed signal to include the previous state
  1934. and reason. Enables the applet to provide more information why device
  1935. activation failed.
  1936. 2008-07-09 Dan Williams <dcbw@redhat.com>
  1937. * callouts/Makefile.am
  1938. callouts/nm-avahi-autoipd-action.c
  1939. callouts/nm-avahi-autoipd.conf
  1940. - avahi-autoipd callout to send options back to NM
  1941. * src/autoip.c
  1942. src/autoip.h
  1943. - remove
  1944. * src/nm-device.c
  1945. src/nm-device-private.h
  1946. src/nm-manager.c
  1947. - Use avahi-autoipd for IPv4LL functionality rather than really crappy
  1948. old custom stuff
  1949. 2008-07-07 Dan Williams <dcbw@redhat.com>
  1950. * system-settings/plugins/ifcfg-fedora/reader.c
  1951. - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
  1952. handle PREFIX too; clean up
  1953. 2008-07-07 Dan Williams <dcbw@redhat.com>
  1954. Convert to using IPv4 prefixes instead of netmasks.
  1955. 2008-07-03 Dan Williams <dcbw@redhat.com>
  1956. * libnm-util/nm-setting-ip4-config.c
  1957. libnm-util/nm-setting-ip4-config.h
  1958. - Add properties for DHCP Client Identifier and DHCP Hostname
  1959. * src/dhcp-manager/nm-dhcp-manager.c
  1960. src/dhcp-manager/nm-dhcp-manager.h
  1961. - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
  1962. setting as an argument to pass on to the dhclient config file
  1963. creation function
  1964. - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
  1965. DHCP is torn down
  1966. - (dhclient_run): punt config file handling to create_dhclient_config()
  1967. - (create_dhclient_config): create an interface-specific dhclient
  1968. config file since there may need to be interface-specific options
  1969. passed to dhclient
  1970. - (merge_dhclient_config): merge normal distro dhclient config file and
  1971. add options from the connection
  1972. - (nm_dhcp_device_new): generate the interface specific dhclient
  1973. config file path once
  1974. - (nm_dhcp_device_destroy): handle partially initialized objects; free
  1975. dhclient config file path
  1976. * src/nm-device.c
  1977. - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
  1978. DHCP manager when starting DHCP
  1979. 2008-07-02 Dan Williams <dcbw@redhat.com>
  1980. * libnm-util/nm-setting-8021x.c
  1981. - (verify): allow forcing the PEAP label to 0
  1982. 2008-07-02 Dan Williams <dcbw@redhat.com>
  1983. * introspection/nm-active-connection.xml
  1984. introspection/nm-vpn-connection.xml
  1985. libnm-glib/nm-active-connection.c
  1986. src/nm-activation-request.c
  1987. src/nm-active-connection.h
  1988. src/vpn-manager/nm-vpn-connection.c
  1989. - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
  1990. and libnm-glib API since sharing didn't get implemented that way
  1991. 2008-07-02 Dan Williams <dcbw@redhat.com>
  1992. * src/nm-device-wifi.c
  1993. - (can_scan): don't scan when a shared connection is activated since
  1994. that makes drivers mad (causing disconnects); also NM doesn't need
  1995. to hedge against disconnects by keeping up-to-date network topology
  1996. because the connection originates from the local machine, and thus
  1997. there should be no disconnects
  1998. 2008-07-01 Dan Williams <dcbw@redhat.com>
  1999. Fix mobile broadband username/password issues. NM was never requesting
  2000. mobile broadband secrets, nor was it passing back the username and password
  2001. if it had them.
  2002. * marshallers/nm-marshal.list
  2003. - Add some new types for activation request objects
  2004. * src/nm-activation-request.c
  2005. src/nm-activation-request.h
  2006. - (get_secrets_cb): pass the caller type in the signal
  2007. - (nm_act_request_request_connection_secrets): take a caller type, so
  2008. that GetSecrets() reply handlers know who asked for the secrets in
  2009. the first place; use secret hints too so the settings service can
  2010. figure out exactly what NM wants (ie, PIN or the PPP password)
  2011. * src/ppp-manager/nm-ppp-manager.c
  2012. src/ppp-manager/nm-ppp-manager.h
  2013. - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
  2014. detect needed secrets when the secret could be blank, like GSM/CDMA
  2015. passwords. So always ask for secrets, and send a hint as to what
  2016. secret we really want.
  2017. - (nm_ppp_manager_update_secrets): make function more generic by making
  2018. the device specific class figure out the username and password, and
  2019. accept an error argument to return back over D-Bus
  2020. * src/nm-device-wifi.c
  2021. - (link_timeout_cb, handle_auth_or_fail): update for changes to
  2022. nm_act_request_request_connection_secrets()
  2023. - (real_connection_secrets_updated): update for 'caller' changes
  2024. * src/nm-device.c
  2025. src/nm-device.h
  2026. - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
  2027. for 'caller' changes
  2028. * src/nm-device-ethernet.c
  2029. - (real_connection_secrets_updated): update for 'caller' changes and
  2030. move logic for getting PPPoE username and password here before
  2031. calling nm_ppp_manager_update_secrets()
  2032. - (link_timeout_cb, handle_auth_or_fail): update for changes to
  2033. nm_act_request_request_connection_secrets()
  2034. * src/nm-cdma-device.c
  2035. - (real_connection_secrets_updated): pass username and password back
  2036. to the PPP manager when required
  2037. * src/nm-gsm-device.c
  2038. - (enter_pin): send the required secret name to the settings service
  2039. - (real_connection_secrets_updated): pass username and password back
  2040. to the PPP manager when required
  2041. 2008-06-30 Dan Williams <dcbw@redhat.com>
  2042. * src/nm-device-wifi.c
  2043. - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
  2044. 2008-06-30 Dan Williams <dcbw@redhat.com>
  2045. Attempt to fix various issues causing rh #448889. Mainly, to qualify for
  2046. the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
  2047. priv->supplicant.iface. When either condition is false, the device should
  2048. transition back to UNAVAILABLE because it cannot be used.
  2049. * src/nm-device-wifi.c
  2050. - (constructor): cleanup; connect to supplicant manager here since the
  2051. supplicant manager is always around
  2052. - (supplicant_interface_acquire): rename from init_supplicant_interface,
  2053. ensure the supplicant manager is in the IDLE state
  2054. - (supplicant_interface_release): rename from cleanup_supplicant_interface,
  2055. cancel any pending scans too
  2056. - (real_bring_up): don't set up the supplicnat interface here, because
  2057. we need the supplicant interface at times when the device may not
  2058. be "up"
  2059. - (real_take_down): just remove the periodic source
  2060. - (schedule_scan): ensure a state that would peg the CPU doesn't happen
  2061. - (remove_supplicant_interface_connection_error_handler): cleanup; don't
  2062. do anything if there's no supplicant interface
  2063. - (cleanup_association_attempt): cleanup
  2064. - (supplicant_iface_state_cb_handler): request an immediate scan when
  2065. the interface enters the READY state; transition to UNAVAILABLE
  2066. state when the interface goes down because the device can't be used
  2067. without a supplicant interface
  2068. - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
  2069. up and transition to UNAVAILABLE; if the supplicant becomes ready,
  2070. acquire the supplicant interface and transition to DISCONNECTED
  2071. if the radio isn't killed
  2072. - (nm_device_wifi_dispose): move most of device_cleanup() here
  2073. - (state_changed_cb): release any existing supplicant interface; if the
  2074. radio is enabled then try to acquire a new supplicant interface;
  2075. if the radio is enabled and a supplicant interface has been acquired,
  2076. we can transition to DISCONNECTED
  2077. - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
  2078. don't enable the radio, because HAL probably lied to us about the
  2079. killswitch being off. If bringing the hardware up worked, then
  2080. try to grab a supplicant interface, and if that was successful,
  2081. transition to DISCONNECTED
  2082. 2008-06-30 Dan Williams <dcbw@redhat.com>
  2083. * src/supplicant-manager/nm-supplicant-interface.c
  2084. - (request_scan_results, nm_supplicant_interface_dispose,
  2085. wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
  2086. the id of the timeout, not a GSource
  2087. 2008-06-30 Tambet Ingo <tambet@gmail.com>
  2088. * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
  2089. bunch of typoes introduced by "Patch from David Cantrell
  2090. <dcantrell@redhat.com> and me".
  2091. 2008-06-30 Tambet Ingo <tambet@gmail.com>
  2092. * src/nm-serial-device.c:
  2093. * src/nm-gsm-device.c:
  2094. * src/nm-cdma-device.c: Move the pending call handling to a common location
  2095. in serial device. Handle setting device state to failed in one place as well.
  2096. 2008-06-29 Dan Williams <dcbw@redhat.com>
  2097. * src/nm-hal-manager.c
  2098. - Rework killswitch handling to query killswitch status immediately
  2099. when the first killswitch is added, so that rfkill state is
  2100. known as early as possible
  2101. - Also treat failure of GetPower() as rfkill when the dbus method
  2102. call times out (but not when the HAL callout returns an error)
  2103. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2104. Patch from David Cantrell <dcantrell@redhat.com> and me
  2105. * include/nm-dbus-glib-types.h
  2106. - Add IP6 address types
  2107. * libnm-util/Makefile.am
  2108. libnm-util/nm-setting-ip6-config.c
  2109. libnm-util/nm-setting-ip6-config.h
  2110. - Add IP6 settings object
  2111. * libnm-util/nm-connection.c
  2112. - (register_default_settings): register ip6 settings object
  2113. * libnm-util/nm-utils.c
  2114. libnm-util/nm-utils.h
  2115. - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
  2116. nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
  2117. ip6 address conversion functions
  2118. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2119. Patch from David Cantrell <dcantrell@redhat.com>
  2120. * Use inet_ntop() and inet_pton() everwhere and check for errors
  2121. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2122. * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
  2123. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2124. Patch from Adel Gadllah <adel.gadllah@gmail.com>
  2125. * src/nm-device-wifi.c
  2126. - (link_timeout_cb): don't ignore disconnects due to scanning
  2127. - (supplicant_iface_connection_state_cb_handler): instead, schedule
  2128. a longer timeout when scanning; avoids case where supplicant can't
  2129. find the AP and just keeps scanning forever but isn't connected
  2130. 2008-06-26 Dan Williams <dcbw@redhat.com>
  2131. Patch from Michael Biebl <biebl@debian.org>
  2132. * Clean up build system stuff
  2133. 2008-06-23 Christian Persch <chpe@gnome.org>
  2134. * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
  2135. * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
  2136. * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
  2137. (impl_get_object):
  2138. * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
  2139. (impl_get_object):
  2140. * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
  2141. * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
  2142. * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
  2143. (impl_get_object):
  2144. * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
  2145. * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
  2146. * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
  2147. * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
  2148. * vpn-daemons/pptp/properties/vpnui_opt.c:
  2149. (vpnui_opt_connect_signals):
  2150. * vpn-daemons/pptp/properties/vpnui_opt.h:
  2151. * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
  2152. * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
  2153. deprecated gtk type macros. Bug #539325.
  2154. 2008-06-20 Dan Williams <dcbw@redhat.com>
  2155. * libnm-glib/nm-vpn-plugin-ui-interface.c
  2156. libnm-glib/nm-vpn-plugin-ui-interface.h
  2157. - 'validity-changed' -> 'changed' to work better with the connection
  2158. editor. Plugin UI widgets should emit 'changed' whenever their
  2159. UI values change in a meaningful way.
  2160. - (nm_vpn_plugin_ui_widget_interface_update_connection): the
  2161. update_connection member now returns validity of the UI widget
  2162. 2008-06-20 Tambet Ingo <tambet@gmail.com>
  2163. * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
  2164. 2008-06-17 Dan Williams <dcbw@redhat.com>
  2165. * libnm-glib/nm-vpn-plugin-ui-interface.c
  2166. libnm-glib/nm-vpn-plugin-ui-interface.h
  2167. - Add "desc" property for longer descriptions of the VPN plugin
  2168. 2008-06-16 Dan Williams <dcbw@redhat.com>
  2169. * configure.in
  2170. libnm-glib/libnm_glib_vpn.pc.in
  2171. - add a .pc file for libnm_glib_vpn
  2172. * libnm-glib/nm-vpn-plugin-ui-interface.c
  2173. libnm-glib/nm-vpn-plugin-ui-interface.h
  2174. - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
  2175. rework it substantially
  2176. 2008-06-12 Dan Williams <dcbw@redhat.com>
  2177. Add a GError argument to nm_connection_verify() and nm_setting_verify(),
  2178. and add error enums to each NMSetting subclass. Each NMSetting subclass now
  2179. returns a descriptive GError when verification fails.
  2180. 2008-06-11 Dan Williams <dcbw@redhat.com>
  2181. Patch from Tambet Ingo <tambet@gmail.com>
  2182. * libnm-util/nm-setting-gsm.c
  2183. - (verify): validate APN
  2184. * src/nm-gsm-device.c
  2185. - (manual_registration_done): start setting APN if needed
  2186. - (set_apn, set_apn_done): set the APN
  2187. - (do_dial): use the APN when dialing
  2188. 2008-06-11 Dan Williams <dcbw@redhat.com>
  2189. * src/NetworkManagerSystem.c
  2190. - (nm_system_device_set_ip4_route,
  2191. nm_system_device_replace_default_ip4_route): check for the right
  2192. return value from rtnl_route_add() to know when to add a gateway
  2193. route (from Tambet)
  2194. 2008-06-11 Dan Williams <dcbw@redhat.com>
  2195. * src/NetworkManagerPolicy.c
  2196. - do_ipt_cmd -> do_cmd
  2197. - (sharing_init): use do_cmd() instead of system()
  2198. 2008-06-10 Dan Williams <dcbw@redhat.com>
  2199. The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
  2200. and use "wifi" everwhere instead.
  2201. 2008-06-10 Dan Williams <dcbw@redhat.com>
  2202. The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
  2203. 2008-06-10 Dan Williams <dcbw@redhat.com>
  2204. Patch from Tambet Ingo <tambet@gmail.com>
  2205. * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
  2206. changes.
  2207. * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
  2208. a signal to emit these changes over dbus.
  2209. * src/Makefile.am: Genereate nm-serial-device-glue.
  2210. * libnm-glib/nm-serial-device.[ch]: Implement.
  2211. * libnm-glib/nm-cdma-device.[ch]
  2212. libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
  2213. * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
  2214. * introspection/nm-device-serial.xml: Implement.
  2215. * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
  2216. * introspection/Makefile.am: Add nm-device-serial.xml.
  2217. * include/NetworkManager.h: Add a DBus interface for serial device.
  2218. 2008-06-10 Dan Williams <dcbw@redhat.com>
  2219. * configure.in
  2220. - Add TARGET_* define to config.h to distinguish distros
  2221. * src/dhcp-manager/nm-dhcp-manager.c
  2222. - (dhclient_run): use distro-specific path for dhclient config file
  2223. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2224. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  2225. src/dnsmasq-manager/nm-dnsmasq-manager.h
  2226. - (create_dm_cmd_line): use the IP4 address of the ip4-config to
  2227. calculate the addresses passed to dnsmasq instead of hard-coding
  2228. them
  2229. * src/nm-device.c
  2230. - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
  2231. IP addresses for shared connections to guard against shared
  2232. connection address collisions
  2233. - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
  2234. error conditions
  2235. - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
  2236. the dnsmasq manager
  2237. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2238. * src/NetworkManagerPolicy.c
  2239. - (update_routing_and_dns): set the default connection _after_ unsetting
  2240. default on all non-default connections so that two connections can
  2241. never be default at the same time
  2242. - (device_state_changed): start and stop connection sharing when
  2243. needed
  2244. - (active_connection_default_changed): restart or stop sharing when
  2245. the default connection changes to keep shared connections always
  2246. NAT-ed through the default connection
  2247. - (check_sharing): handle activation/deactivation of shared connections
  2248. - (sharing_restart): atom-bomb approach to connection sharing until we
  2249. can use libnl; reinit all sharing when the default connection or
  2250. shared connections change
  2251. - (sharing_init, sharing_stop): evil functions that init and deinit
  2252. iptables
  2253. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2254. * src/nm-activation-request.c
  2255. src/nm-activation-request.h
  2256. - (nm_act_request_set_shared, nm_act_request_get_shared,
  2257. nm_act_request_get_device): new functions to facilitate connection
  2258. sharing
  2259. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2260. * src/nm-device.c
  2261. - (clear_act_request): unset the 'default' property of the activation
  2262. request when clearing it to ensure the property changed signal gets
  2263. delivered and handled
  2264. 2008-06-09 Dan Williams <dcbw@redhat.com>
  2265. * libnm-glib/nm-device-802-11-wireless.c
  2266. - (access_point_removed_proxy): actually unref the AP after removing
  2267. it from the device's AP list. Fixes refcounting bug for APs that
  2268. caused them to get mixed up in the applet's menu.
  2269. 2008-06-09 Tambet Ingo <tambet@gmail.com>
  2270. * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
  2271. (nm_dhcp_device_destroy): Destroy the device options hash table.
  2272. 2008-06-06 Dan Williams <dcbw@redhat.com>
  2273. * system-settings/src/nm-polkit-helpers.c
  2274. - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
  2275. unref the context if the initialization fails; also avoid spew when
  2276. the error isn't set
  2277. 2008-06-06 Dan Williams <dcbw@redhat.com>
  2278. Patch from Tambet Ingo <tambet@gmail.com>
  2279. * src/NetworkManagerSystem.c
  2280. src/NetworkManagerSystem.h
  2281. - (nm_system_device_add_ip4_route_via_device_with_iface): remove
  2282. - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
  2283. - (nm_system_device_set_ip4_route): clean up
  2284. - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
  2285. * src/nm-device.c
  2286. - (nm_device_set_ip4_config): remove unused route_to_iface bits
  2287. * src/vpn-manager/nm-vpn-connection.c
  2288. - (ip_address_to_string): new function
  2289. - (print_vpn_config): use ip_address_to_string
  2290. - (merge_vpn_routes): add user-defined routes to the ip4 config
  2291. - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
  2292. * include/NetworkManagerVPN.h
  2293. - Add 'routes' key
  2294. 2008-06-05 Dan Williams <dcbw@redhat.com>
  2295. Patch from Markus Becker <mab@comnets.uni-bremen.de>
  2296. * test/nm-tool.c
  2297. - Show which device is the default device
  2298. 2008-06-05 Tambet Ingo <tambet@gmail.com>
  2299. Fix memory leaks.
  2300. * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
  2301. Free data returned from dbus method call.
  2302. * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
  2303. dbus_g_method_get_sender() returns a duplicated string, free it
  2304. when done.
  2305. (check_polkit_privileges): Looks like policykit sometimes returns
  2306. error and non-null return value, don't leak errors in that case.
  2307. * system-settings/src/main.c (find_plugin): Don't leak existing
  2308. plugin names.
  2309. (load_stuff): Don't leak device list and list items.
  2310. (have_connection_for_device): Don't leak connection list.
  2311. * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
  2312. Free the data received from g_keyfile_get_*.
  2313. * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
  2314. the key when the security object is updated.
  2315. * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
  2316. Free data returned from dbus method call.
  2317. (iface_state_cb): Ditto.
  2318. (add_network_cb): Ditto.
  2319. (nm_supplicant_interface_add_cb): Don't make another copy of already
  2320. duplicated object path.
  2321. (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
  2322. when done.
  2323. * src/supplicant-manager/nm-supplicant-config.c
  2324. (ADD_STRING_LIST_VAL): Fix a memory leak.
  2325. * src/nm-manager.c (free_get_settings_info): Free the allocated
  2326. memory slice.
  2327. (list_connections_cb): Free data returned from dbus method call.
  2328. (system_settings_get_unmanaged_devices_cb): Ditto.
  2329. * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
  2330. * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
  2331. * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
  2332. * src/backends/shvar.c (svCloseFile): Free the duplicated content
  2333. of the GList.
  2334. * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
  2335. arguments after the object is created.
  2336. 2008-06-04 Dan Williams <dcbw@redhat.com>
  2337. * libnm-util/Makefile.am
  2338. - Don't distribute nm-param-spec-specialized.h
  2339. 2008-06-02 Tambet Ingo <tambet@gmail.com>
  2340. * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
  2341. * src/nm-ip4-config.[ch]: Store the static routes as a list of
  2342. NMIP4Address, update the getters and setters.
  2343. * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
  2344. Use the updated NMIP4Config routes api.
  2345. * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
  2346. static routes as well.
  2347. * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
  2348. (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
  2349. routes api.
  2350. 2008-05-30 Dan Williams <dcbw@redhat.com>
  2351. * src/named-manager/nm-named-manager.c
  2352. src/named-manager/nm-named-manager.h
  2353. - Remove stale/obsolete bits for controlling bind over DBus
  2354. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2355. * src/dnsmasq-manager/nm-dnsmasq-manager.c
  2356. src/dnsmasq-manager/nm-dnsmasq-manager.h
  2357. - (nm_dnsmasq_manager_new): move iface argument here
  2358. - (constructor): remove, not needed
  2359. - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
  2360. nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
  2361. * src/nm-device.c
  2362. - (real_act_stage4_get_ip4_config,
  2363. nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
  2364. changes
  2365. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2366. * src/nm-device.c
  2367. - (dnsmasq_state_changed_cb): new function; fail the connection if
  2368. something happens to dnsmasq
  2369. - (nm_device_new_ip4_shared_config): new function; create a new
  2370. ip4-config for shared connections. Shared connections always use a
  2371. fixed static IP address.
  2372. - (real_act_stage4_get_ip4_config): handle shared connections; fix
  2373. autoip connections by actually using the returned ip4-config and
  2374. not leaking it
  2375. - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
  2376. connections
  2377. - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
  2378. if its active
  2379. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2380. * src/nm-device-802-11-wireless.c
  2381. - (real_get_best_auto_connection): auto-activate 'shared' method
  2382. connections too
  2383. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2384. * libnm-util/nm-setting-ip4-config.c
  2385. libnm-util/nm-setting-ip4-config.h
  2386. - Add a 'shared' method to indicate that this connection should be
  2387. brought up with a DHCP and proxy DNS server to facilitate
  2388. connection sharing.
  2389. - (verify): 'shared' method doesn't allow DNS or searches either
  2390. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2391. * configure.in
  2392. src/Makefile.am
  2393. src/dnsmasq-manager/Makefile.am
  2394. src/dnsmasq-manager/nm-dnsmasq-manager.c
  2395. src/dnsmasq-manager/nm-dnsmasq-manager.h
  2396. - Add a dnsmasq daemon manager to facilitate connection sharing
  2397. 2008-05-29 Dan Williams <dcbw@redhat.com>
  2398. * src/nm-device-private.h
  2399. - Remove unused prototypes and clean up
  2400. * src/nm-device.c
  2401. - Remove anything related to system_config_data, which is no longer used
  2402. - (nm_device_new_ip4_autoip_config): make static
  2403. 2008-05-29 Tambet Ingo <tambet@gmail.com>
  2404. * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
  2405. (file_changed): Fix a bug where suse system settings plugin didn't
  2406. update the connections automatically when the files changed.
  2407. 2008-05-28 Dan Williams <dcbw@redhat.com>
  2408. Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
  2409. 2008-05-28 Dan Williams <dcbw@redhat.com>
  2410. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  2411. * src/NetworkManagerSystem.c
  2412. - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
  2413. - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
  2414. was causing -EINVAL errors since the libnl code actually does flush
  2415. the routes on VPN interfaces now
  2416. * src/backends/NetworkManagerArch.c
  2417. src/backends/NetworkManagerDebian.c
  2418. src/backends/NetworkManagerFrugalware.c
  2419. src/backends/NetworkManagerGeneric.c
  2420. src/backends/NetworkManagerGentoo.c
  2421. src/backends/NetworkManagerMandriva.c
  2422. src/backends/NetworkManagerPaldo.c
  2423. src/backends/NetworkManagerRedHat.c
  2424. src/backends/NetworkManagerSlackware.c
  2425. src/backends/NetworkManagerSuSE.c
  2426. - (nm_system_device_flush_ip4_routes,
  2427. nm_system_device_flush_ip4_routes_with_iface): remove
  2428. 2008-05-28 Dan Williams <dcbw@redhat.com>
  2429. * libnm-util/nm-setting-wireless.c
  2430. libnm-util/nm-setting-wireless.h
  2431. - (set_property, get_property, nm_setting_wireless_class_init): add the
  2432. 'adhoc-create' property, which when TRUE indicates that NM should
  2433. create this connection as an adhoc wifi network if it's not found
  2434. as an adhoc network during scanning. Can be used to auto-create
  2435. adhoc networks when used in combination with autoconnect.
  2436. 2008-05-28 Tambet Ingo <tambet@gmail.com>
  2437. Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
  2438. * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
  2439. checked, it doesn't work on some devices.
  2440. 2008-05-28 Tambet Ingo <tambet@gmail.com>
  2441. * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
  2442. pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
  2443. * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
  2444. Use inet_aton() everywhere to improve error detection.
  2445. Don't fall back to 'dhcp_server_identifier' if the gateway is not
  2446. provided.
  2447. 2008-05-26 Tambet Ingo <tambet@gmail.com>
  2448. * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
  2449. Fix a typo.
  2450. 2008-05-26 Tambet Ingo <tambet@gmail.com>
  2451. * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
  2452. reference counting issue.
  2453. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2454. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  2455. * src/backends/NetworkManagerGeneric.c
  2456. - (nm_generic_enable_loopback): use libnl
  2457. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2458. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  2459. * src/NetworkManagerSystem.h
  2460. src/backends/NetworkManagerArch.c
  2461. src/backends/NetworkManagerDebian.c
  2462. src/backends/NetworkManagerFrugalware.c
  2463. src/backends/NetworkManagerGentoo.c
  2464. src/backends/NetworkManagerMandriva.c
  2465. src/backends/NetworkManagerPaldo.c
  2466. src/backends/NetworkManagerRedHat.c
  2467. src/backends/NetworkManagerSlackware.c
  2468. src/backends/NetworkManagerSuSE.c
  2469. - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
  2470. nm_system_flush_arp_cache): remove, unused
  2471. * src/backends/NetworkManagerGeneric.c
  2472. src/backends/NetworkManagerGeneric.h
  2473. - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
  2474. nm_generic_flush_arp_cache): remove, unused
  2475. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2476. * system-settings/plugins/ifcfg-fedora/reader.c
  2477. - (make_ip4_setting): honor PEERDNS setting
  2478. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2479. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  2480. * src/NetworkManagerSystem.c
  2481. - (nm_system_device_flush_ip4_addresses_with_iface): implement with
  2482. libnl
  2483. * src/backends/NetworkManagerArch.c
  2484. src/backends/NetworkManagerDebian.c
  2485. src/backends/NetworkManagerFrugalware.c
  2486. src/backends/NetworkManagerGentoo.c
  2487. src/backends/NetworkManagerMandriva.c
  2488. src/backends/NetworkManagerPaldo.c
  2489. src/backends/NetworkManagerRedHat.c
  2490. src/backends/NetworkManagerSlackware.c
  2491. src/backends/NetworkManagerSuSE.c
  2492. - (nm_system_device_flush_ip4_addresses,
  2493. nm_system_device_flush_ip4_addresses_with_iface): remove
  2494. * src/backends/NetworkManagerGeneric.c
  2495. - (nm_generic_device_flush_ip4_addresses,
  2496. nm_generic_device_flush_ip4_addresses_with_iface): remove
  2497. 2008-05-23 Dan Williams <dcbw@redhat.com>
  2498. * src/supplicant-manager/nm-supplicant-settings-verify.c
  2499. - Switch 'bssid' from bytes to keyword type
  2500. - (validate_type_keyword): allow NULL keyword lists
  2501. * src/supplicant-manager/nm-supplicant-config.c
  2502. - (nm_supplicant_config_add_setting_wireless): convert the bssid from
  2503. a byte array to string form, which is what the supplicant expects
  2504. 2008-05-23 Tambet Ingo <tambet@gmail.com>
  2505. Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
  2506. information received from DHCP.
  2507. * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
  2508. to make it possible to ignore the DNS information (both servers and
  2509. searches) returned by DHCP server.
  2510. * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
  2511. name servers and searches if "ignore_dhcp_dns" is set.
  2512. * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
  2513. (nm_ip4_config_reset_searches): Implement.
  2514. 2008-05-22 Dan Williams <dcbw@redhat.com>
  2515. Remove anything mDNS related. This is better done from a distro-specific
  2516. dispatcher script. Plus, any distro using avahi doesn't need to restart
  2517. avahi, since avahi can handle interface changes just fine using netlink.
  2518. * configure.in
  2519. - Remove --with-mdns-provider
  2520. * src/NetworkManagerPolicy.c
  2521. - (global_state_changed): don't restart the mdns provider
  2522. * src/NetworkManagerSystem.h
  2523. src/backends/NetworkManagerArch.c
  2524. src/backends/NetworkManagerDebian.c
  2525. src/backends/NetworkManagerFrugalware.c
  2526. src/backends/NetworkManagerGentoo.c
  2527. src/backends/NetworkManagerMandriva.c
  2528. src/backends/NetworkManagerPaldo.c
  2529. src/backends/NetworkManagerRedHat.c
  2530. src/backends/NetworkManagerSlackware.c
  2531. src/backends/NetworkManagerSuSE.c
  2532. - (nm_system_restart_mdns_responder): remove
  2533. * src/backends/NetworkManagerGeneric.c
  2534. src/backends/NetworkManagerGeneric.h
  2535. - (nm_generic_restart_mdns_responder): remove
  2536. 2008-05-22 Dan Williams <dcbw@redhat.com>
  2537. * configure.in
  2538. - clean up crypto options; just use --with-crypto=nss or
  2539. --with-crypto=gnutls
  2540. 2008-05-22 Tambet Ingo <tambet@gmail.com>
  2541. * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
  2542. anymore, do it right away.
  2543. 2008-05-22 Tambet Ingo <tambet@gmail.com>
  2544. * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
  2545. serial device open when we're not connecting or connected.
  2546. * src/nm-cdma-device.c (device_state_changed): Ditto.
  2547. 2008-05-22 Tambet Ingo <tambet@gmail.com>
  2548. Don't remove all devices on waking up, sync with HAL.
  2549. * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
  2550. (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
  2551. (hal_manager_hal_reappeared_cb): Just call sync_devices.
  2552. 2008-05-21 Tambet Ingo <tambet@gmail.com>
  2553. * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
  2554. If the default gateway is unreachable, add a route to gateway and try
  2555. again.
  2556. 2008-05-20 Dan Williams <dcbw@redhat.com>
  2557. * system-settings/plugins/ifcfg-fedora/reader.c
  2558. - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
  2559. 2008-05-19 Dan Williams <dcbw@redhat.com>
  2560. * system-settings/plugins/ifcfg-fedora/reader.c
  2561. - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
  2562. if the ifcfg doesn't specify one (rh #446527)
  2563. 2008-05-19 Dan Williams <dcbw@redhat.com>
  2564. Make the system settings service exit when the bus goes away. Since it's
  2565. a bus-activated service, it's lifetime is limited to the bus that activated
  2566. it (rh #444976).
  2567. * system-settings/src/Makefile.am
  2568. system-settings/src/nm-system-config-hal-manager-private.h
  2569. - Remove nm-system-config-hal-manager-private.h
  2570. * system-settings/src/nm-system-config-hal-manager.c
  2571. - (nm_system_config_hal_manager_reinit_dbus,
  2572. nm_system_config_hal_manager_deinit_dbus): remove
  2573. * system-settings/src/main.c
  2574. - (dbus_reconnect): remove
  2575. - (dbus_cleanup): don't tell the HAL manager to deinit dbus
  2576. - (destroy_cb): just quit when the bus goes away
  2577. - (start_dbus_service, dbus_init): simplify
  2578. - (main): destroy the wired devices hash table after destroying
  2579. the HAL manager so we don't have to disconnect signals from the
  2580. HAL manager
  2581. 2008-05-15 Tambet Ingo <tambet@gmail.com>
  2582. Move crypto functions from nm-applet to libnm-util.
  2583. * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
  2584. (nm_setting_802_1x_set_client_cert)
  2585. (nm_setting_802_1x_set_phase2_ca_cert)
  2586. (nm_setting_802_1x_set_phase2_client_cert)
  2587. (nm_setting_802_1x_set_private_key)
  2588. (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
  2589. file (or private key and it's password), read the certificate data.
  2590. * libnm-util/crypto_nss.c:
  2591. * libnm-util/crypto_gnutls.c:
  2592. * libnm-util/crypto.[ch]: Move here from nm-applet.
  2593. * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
  2594. * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
  2595. Imlement WPA-EAP configuration reading from sysconfig.
  2596. 2008-05-16 Dan Williams <dcbw@redhat.com>
  2597. * src/nm-device-802-11-wireless.c
  2598. - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
  2599. wireless
  2600. 2008-05-14 Dan Williams <dcbw@redhat.com>
  2601. Fix Linus' bug in rh #134886
  2602. * src/nm-device-802-3-ethernet.c
  2603. - (constructor): request initial carrier state
  2604. * src/nm-netlink-monitor.c
  2605. - (nm_netlink_monitor_request_status): schedule emission of carrier
  2606. signals after refilling the link cache. Because the refill is a
  2607. synchronous operation, the normal message hander won't get called
  2608. since libnl has already consumed the messages.
  2609. - (deferred_emit_carrier_state): emit carrier states from an idle handler
  2610. 2008-05-14 Dan Williams <dcbw@redhat.com>
  2611. * src/NetworkManagerSystem.c
  2612. - (nm_system_device_is_up_with_iface): clean up
  2613. 2008-05-13 Dan Williams <dcbw@redhat.com>
  2614. Fix refcounting issues over sleep/wake when a VPN connection was active that
  2615. caused NM to try registering an object path for a device upon wake that was
  2616. the same as an already registered object path.
  2617. * src/nm-device.c
  2618. - (nm_device_take_down): properly handle cases where the device is
  2619. no longer active but was just active, and therefore must be
  2620. deactivated. When a device moves to unmanaged mode, this function
  2621. previously would not deactivate the device, because the state was
  2622. already unmanaged by the time this function was called.
  2623. * src/vpn-manager/nm-vpn-connection.c
  2624. - (device_state_changed): properly handle multiple devices states in
  2625. which the device is now deactivated. Code previously didn't handle
  2626. transitions to the UNAVAILABLE (like rfkill or carrier off) and
  2627. UNMANAGED states.
  2628. 2008-05-13 Dan Williams <dcbw@redhat.com>
  2629. * src/nm-device-private.h
  2630. src/nm-device.c
  2631. - (nm_device_hw_bring_up, nm_device_hw_take_down): export
  2632. * src/nm-device-802-11-wireless.c
  2633. - (nm_device_802_11_wireless_set_enabled): take devices up
  2634. and down as appropriate for the rfkill state
  2635. 2008-05-13 Dan Williams <dcbw@redhat.com>
  2636. * marshallers/nm-marshal.list
  2637. - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
  2638. * system-settings/plugins/ifcfg-fedora/Makefile.am
  2639. system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
  2640. system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
  2641. - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
  2642. events. Solely for use watching ifcfg files to pick up changes
  2643. to their hardlinks, since GIO doesn't support this yet (bgo #532815)
  2644. * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  2645. - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
  2646. file contents change
  2647. - (finalize): clean up inotify watches
  2648. - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
  2649. and the connection ifcfg for changes on their hardlinks
  2650. - (files_changed_cb): proxy the changed signal back out to listeners
  2651. * system-settings/plugins/ifcfg-fedora/plugin.c
  2652. - (dir_changed):
  2653. - (connection_ifcfg_changed): re-read the connection when the ifcfg
  2654. changes
  2655. - (read_one_connection): connect to change signals on the new connection
  2656. - (dir_changed, connection_changed_handler,
  2657. handle_connection_remove_or_new): break out connection change
  2658. handling and connection new/remove handling so it can be used from
  2659. both the GFileMonitor callback and the NMIfcfgConnection changed
  2660. signals
  2661. * system-settings/plugins/ifcfg-fedora/reader.c
  2662. system-settings/plugins/ifcfg-fedora/reader.h
  2663. - (connection_from_file): return the keyfile path the connection would use
  2664. 2008-05-13 Tambet Ingo <tambet@gmail.com>
  2665. * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
  2666. single PolKitContext which is shared by all. PolKitContext::unref leaks
  2667. just about everything, including all open file descriptiors and results
  2668. in 99% cpu usage when data arrives to any of the fds that don't belong
  2669. to any context anymore.
  2670. 2008-05-12 Dan Williams <dcbw@redhat.com>
  2671. * gfilemonitor/glocaldirectorymonitor.c
  2672. gfilemonitor/glocaldirectorymonitor.h
  2673. - (g_local_directory_monitor_constructor): actually subscribe to the
  2674. watch
  2675. - (_g_local_directory_monitor_new): ensure that inotify is started up
  2676. * gfilemonitor/glocalfilemonitor.c
  2677. gfilemonitor/glocalfilemonitor.h
  2678. - (g_local_file_monitor_constructor): actually subscribe to the watch
  2679. - (_g_local_file_monitor_new): ensure that inotify is started up
  2680. 2008-05-11 Dan Williams <dcbw@redhat.com>
  2681. * configure.in
  2682. - record PolicyKit version
  2683. * system-settings/src/nm-polkit-helpers.c
  2684. - (check_polkit_privileges): use polkit_context_can_caller_do_action()
  2685. with PolicyKit <= 0.6
  2686. 2008-05-11 Dan Williams <dcbw@redhat.com>
  2687. Update Fedora system-settings plugin to support latest API and use
  2688. GFileMonitor rather than home-rolled inotify code.
  2689. * system-settings/plugins/ifcfg-fedora/Makefile.am
  2690. system-settings/plugins/ifcfg-fedora/common.h
  2691. system-settings/plugins/ifcfg-fedora/plugin.c
  2692. - Update to latest system settings plugin API; use GIO instead of
  2693. custom inotify code; use NMIfcfgConnection objects instead of
  2694. ConnectionData structures tacked onto NMConnection objects
  2695. * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
  2696. system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
  2697. - Implement an NMExportedConnection subclass mapping ifcfg files to
  2698. connections
  2699. * system-settings/plugins/ifcfg-fedora/reader.c
  2700. system-settings/plugins/ifcfg-fedora/reader.h
  2701. - Move ifcfg parsing bits here from parser.c
  2702. * system-settings/plugins/ifcfg-fedora/parser.c
  2703. system-settings/plugins/ifcfg-fedora/parser.h
  2704. - Remove; most code moved to reader.c
  2705. 2008-05-11 Dan Williams <dcbw@redhat.com>
  2706. * configure.in
  2707. Makefile.am
  2708. gfilemonitor/*
  2709. - Add a private copy of the GIO GFileMonitor code, with a custom GFile
  2710. implementation, so that the same change monitoring code can be used
  2711. on systems without glib-2.14 (like Fedora 8)
  2712. * system-settings/plugins/keyfile/Makefile.am
  2713. system-settings/plugins/keyfile/plugin.c
  2714. system-settings/plugins/ifcfg-suse/Makefile.am
  2715. system-settings/plugins/ifcfg-suse/plugin.c
  2716. - Use private gfilemonitor code if GIO is not present
  2717. 2008-05-09 Tambet Ingo <tambet@gmail.com>
  2718. * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
  2719. NMExportedConnection's 'update' and 'delete' and return error with
  2720. descriptive message.
  2721. 2008-05-08 Dan Williams <dcbw@redhat.com>
  2722. Patch from Markus Becker <mab@comnets.uni-bremen.de>
  2723. * src/nm-gsm-device.c
  2724. src/nm-cdma-device.c
  2725. - (real_get_best_auto_connection): implement; allow autoconnection
  2726. to GSM & CDMA devices
  2727. 2008-05-08 Tambet Ingo <tambet@gmail.com>
  2728. Use PolicyKit to authorize the system settings' AddConnection method
  2729. and the system settings connections' Update and Delete methods.
  2730. * libnm-glib/nm-settings.c (impl_exported_connection_update)
  2731. (impl_exported_connection_delete, nm_exported_connection_update)
  2732. (nm_exported_connection_delete): Return boolean and fill GError
  2733. to notify the callers of the reasons why it might have failed.
  2734. * libnm-glib/nm-dbus-settings-system.c
  2735. (nm_dbus_settings_system_add_connection): Return the error from dbus
  2736. call so that the callers can see why it failed.
  2737. * libnm-glib/nm-dbus-connection.c (update, delete): Update the
  2738. signatures.
  2739. * system-settings/src/nm-polkit-helpers.[ch]: Implement.
  2740. * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
  2741. abstract base class that checks PolicyKit permissions.
  2742. * system-settings/src/dbus-settings.c:
  2743. (impl_settings_add_connection): Check the policy before carring out
  2744. the request.
  2745. * system-settings/plugins/keyfile/nm-keyfile-connection.c:
  2746. Inherit from NMSysconfigConnection, check the policies before
  2747. allowing updating or removing.
  2748. * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
  2749. Inherit from NMSysconfigConnection.
  2750. * introspection/nm-exported-connection.xml: Annotate "Update" and
  2751. "Delete" methods with async flag so that the implementations can get
  2752. access to DBusGMethodInvocation.
  2753. * system-settings/src/dbus-settings.c
  2754. (settings_add_connection_check_privileges): Implement.
  2755. (impl_settings_add_connection): Check the privileges before adding a new
  2756. connection. Improve error reporting.
  2757. * introspection/nm-settings-system.xml: Make the 'AddConnection' method
  2758. async so that the implementation can access DBusGMethodInvocation.
  2759. * configure.in: Check for PolicyKit.
  2760. * policy/org.freedesktop.network-manager-settings.system.policy:
  2761. New file.
  2762. * policy/Makefile.am: Install the policy file.
  2763. * configure.in: Add 'policy' subdir.
  2764. 2008-05-08 Tambet Ingo <tambet@gmail.com>
  2765. Rewrite the suse system settings plugin.
  2766. * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
  2767. * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
  2768. * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
  2769. * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
  2770. * system-settings/src/dbus-settings.c: Fix connection reference counting.
  2771. * system-settings/src/main.c (load_plugins): Improve error reporting.
  2772. * system-settings/src/sha1.[ch] Add.
  2773. * system-settings/src/Makefile.am: Add sha1[ch] to build.
  2774. 2008-05-07 Dan Williams <dcbw@redhat.com>
  2775. * system-settings/plugins/keyfile/reader.c
  2776. - (read_one_setting_value): handle IP address items separately
  2777. - (read_array_of_uint): read IPv4 DNS option as a string array
  2778. - (read_array_of_array_of_uint): read IPv4 address tuples as a string
  2779. array
  2780. * system-settings/plugins/keyfile/writer.c
  2781. - (write_setting_value): handle IP address items separately
  2782. - (write_array_of_uint): handle IPv4 DNS option as a string array,
  2783. not an array of uint, so that it's user-editable
  2784. - (write_array_of_array_of_uint): handle IPv4 address tuples as string
  2785. arrays, so they are user-editable
  2786. 2008-05-07 Dan Williams <dcbw@redhat.com>
  2787. * system-settings/plugins/keyfile/Makefile.am
  2788. - Change location of the keyfile plugin settings to
  2789. /etc/NetworkManager/system-connections
  2790. 2008-05-05 Tambet Ingo <tambet@gmail.com>
  2791. * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
  2792. * system-settings/plugins/keyfile/plugin.c: Work with
  2793. NMKeyfileConnections.
  2794. * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
  2795. Plugins are supposed to return NMExportedConnections now and handle the
  2796. updated(), removed(), and GetSecrets().
  2797. Store the internal list of connections in hash table to make it easier
  2798. to find duplicates.
  2799. 2008-05-07 Tambet Ingo <tambet@gmail.com>
  2800. * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
  2801. for multiple IP addresses.
  2802. 2008-05-07 Tambet Ingo <tambet@gmail.com>
  2803. Patch from André Lemos.
  2804. * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
  2805. corruption.
  2806. 2008-05-06 Dan Williams <dcbw@redhat.com>
  2807. * src/dhcp-manager/nm-dhcp-manager.c
  2808. - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
  2809. NMIP4Config to support multiple IP addresses
  2810. * src/NetworkManagerUtils.c
  2811. - (nm_utils_merge_ip4_config): update for multiple IP addresses
  2812. * src/nm-ip4-config.c
  2813. src/nm-ip4-config.h
  2814. - Store a list of IPv4 address/netmask/gateway tuples
  2815. - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
  2816. nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
  2817. nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
  2818. nm_ip4_config_set_address): remove
  2819. - (nm_ip4_config_take_address, nm_ip4_config_add_address,
  2820. nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
  2821. new functions; handle multiple IPv4 addresses
  2822. * src/nm-device.c
  2823. src/ppp-manager/nm-ppp-manager.c
  2824. src/vpn-manager/nm-vpn-connection.c
  2825. src/NetworkManagerPolicy.c
  2826. test/nm-tool.c
  2827. libnm-glib/libnm-glib-test.c
  2828. - update for changes to NMIP4Config for multiple IPv4 addresses
  2829. * src/NetworkManagerSystem.c
  2830. - (nm_system_device_set_ip4_route): don't add the route if any address
  2831. is on the same subnet as the destination
  2832. - (check_one_address): ignore the exact match, just match family and
  2833. interface index
  2834. - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
  2835. an interface
  2836. - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
  2837. - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
  2838. * introspection/nm-ip4-config.xml
  2839. - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
  2840. - Add 'addresses' property which is an array of (uuu) tuples of
  2841. address/netmask/gateway
  2842. * libnm-util/nm-setting-ip4-config.c
  2843. - (set_property): use ip-address <-> GValue converters from nm-utils.c
  2844. * libnm-glib/nm-ip4-config.c
  2845. libnm-glib/nm-ip4-config.h
  2846. - Handle D-Bus interface changes to support multiple IP addresses
  2847. 2008-05-06 Dan Williams <dcbw@redhat.com>
  2848. * libnm-util/nm-utils.c
  2849. libnm-util/nm-utils.h
  2850. - (nm_utils_ip4_addresses_from_gvalue,
  2851. nm_utils_ip4_addresses_to_gvalue): new functions
  2852. 2008-05-06 Tambet Ingo <tambet@gmail.com>
  2853. * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
  2854. the returned connection paths.
  2855. 2008-05-05 Tambet Ingo <tambet@gmail.com>
  2856. * libnm-glib/nm-dbus-settings.c (constructor): Fix the
  2857. "PropertiesChanged" signal signature.
  2858. * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
  2859. defined in nm-dbus-glib-types.h.
  2860. Don't register the connection on dbus, we're a proxy class to
  2861. communicate with an already registered connection over dbus.
  2862. 2008-04-30 Tambet Ingo <tambet@gmail.com>
  2863. Implement new subclasses of NMSettings and NMExportedConnection to make
  2864. it easier for the applet to access and modify system settings.
  2865. * libnm-glib/nm-dbus-connection.[ch]:
  2866. * libnm-glib/nm-dbus-settings.[ch]:
  2867. * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
  2868. * libnm-glib/Makefile.am: Add the new files to build, generate some more
  2869. bindings and glue.
  2870. * include/NetworkManager.h: Define the system settings DBus interface.
  2871. 2008-04-30 Tambet Ingo <tambet@gmail.com>
  2872. Implement additional C API for exported connections to make them identical
  2873. with the DBus API. Change the (list_connections) virtual function to be
  2874. more usable from C - instead of requiring implementers to return a GPtrArray
  2875. of dbus paths, return a list of connections.
  2876. * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
  2877. (nm_settings_list_connections):
  2878. (nm_exported_connection_new):
  2879. (nm_exported_connection_update):
  2880. (nm_exported_connection_delete): Implement.
  2881. (impl_settings_list_connections):
  2882. (impl_exported_connection_update):
  2883. (impl_exported_connection_delete): Use the new public functions to make
  2884. sure the C and dbus interfaces stay in sync.
  2885. * system-settings/src/dbus-settings.c (list_connections): Return a list of
  2886. connections.
  2887. 2008-05-02 Dan Williams <dcbw@redhat.com>
  2888. * system-settings/plugins/ifcfg-fedora/plugin.c
  2889. - (dispose): use right unref call on the DBusGConnection
  2890. 2008-05-02 Dan Williams <dcbw@redhat.com>
  2891. * src/nm-serial-device.c
  2892. - (find_terminator): don't compare the whole line, just the size of the
  2893. terminator, since some modems put stuff after the terminator, like
  2894. "CONNECT 9600"
  2895. 2008-05-01 Dan Williams <dcbw@redhat.com>
  2896. Patch from Michael Biebl <biebl@debian.org>
  2897. * callouts/Makefile.am
  2898. callouts/org.freedesktop.nm_dispatcher.service.in
  2899. system-settings/src/Makefile.am
  2900. system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
  2901. - use the right install location for dbus-activated stuff
  2902. 2008-04-30 Dan Williams <dcbw@redhat.com>
  2903. * src/nm-gsm-device.c
  2904. - (enter_pin): fix setting name passed to applets when asking for a GSM
  2905. PIN or PUK
  2906. 2008-04-30 Dan Williams <dcbw@redhat.com>
  2907. * src/nm-manager.c
  2908. - (nm_manager_error_get_type): remove erroneous NULL enum from table
  2909. 2008-04-30 Dan Williams <dcbw@redhat.com>
  2910. * src/nm-device-802-3-ethernet.c
  2911. src/nm-device-802-11-wireless.c
  2912. - (real_is_up): return true instead of chaining up to unimplemented
  2913. parent method
  2914. 2008-04-30 Dan Williams <dcbw@redhat.com>
  2915. * src/NetworkManagerSystem.c
  2916. src/NetworkManagerSystem.h
  2917. - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
  2918. functions to check device flags for IFF_UP
  2919. * src/nm-serial-device.c
  2920. - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
  2921. implement is_up
  2922. * src/nm-device-802-3-ethernet.c
  2923. src/nm-device-802-11-wireless.c
  2924. - (real_hw_is_up): call nm_system_device_is_up()
  2925. * src/nm-device.c
  2926. - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
  2927. - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
  2928. does not implement
  2929. 2008-04-29 Dan Williams <dcbw@redhat.com>
  2930. Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
  2931. * marshallers/nm-marshal.list
  2932. - Add marshaller
  2933. * src/NetworkManager.c
  2934. - (main): let the NMManager handle the NMHalManager
  2935. * src/nm-hal-manager.c
  2936. src/nm-hal-manager.h
  2937. - convert to a GObject, and emit singals when stuff changes. Let the
  2938. NMManager handle the signals, instead of the NMHalManager calling
  2939. into the NMManager.
  2940. * src/nm-manager.c
  2941. src/nm-manager.h
  2942. - (remove_one_device): consolidate device removals here
  2943. - (dispose): use remove_one_device()
  2944. - (nm_manager_get_device_by_udi): make static
  2945. - (deferred_hal_manager_query_devices): idle handler to query the HAL
  2946. manager for devices at startup or wakeup time
  2947. - (nm_manager_new): create and monitor the HAL manager
  2948. - (hal_manager_udi_added_cb): new function; do what
  2949. nm_manager_add_device() used to do when signalled by the hal manager
  2950. - (hal_manager_udi_removed_cb): new function; do what
  2951. nm_manager_remove_device() used to do when signalled by the hal
  2952. manager
  2953. - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
  2954. hal manager
  2955. - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
  2956. in our device list that aren't known to HAL
  2957. - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
  2958. see comments on nm-hal-manager.c::nm_manager_state_changed() a few
  2959. commits ago
  2960. - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
  2961. nm_manager_activation_pending, nm_manager_wireless_enabled,
  2962. nm_manager_wireless_hardware_enabled,
  2963. nm_manager_set_wireless_hardware_enabled): remove, unused
  2964. 2008-04-28 Dan Williams <dcbw@redhat.com>
  2965. Fix the device up/down ambiguities. Up/down state used to be a
  2966. conglomeration of hardware state (IFF_UP) and any device-specific things
  2967. (supplicant, periodic timers, etc) that the device used to indicate
  2968. readiness. Unfortunately, if the hardware was already IFF_UP for some
  2969. reason, then the device specific stuff wouldn't get run, and the device
  2970. would be stuck.
  2971. * src/nm-device.c
  2972. src/nm-device.h
  2973. - Create hw_is_up, hw_bring_up, and hw_take_down
  2974. - Rename bring_down -> take_down
  2975. - (real_hw_is_up): check interface flags for IFF_UP
  2976. - (nm_device_hw_is_up): let subclasses figure out their own HW state
  2977. - (nm_device_is_up): make static; only used locally
  2978. - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
  2979. if the device is already up; if the device isn't up, bring it up
  2980. - (nm_device_hw_take_down): just take down hardware
  2981. - (nm_device_bring_up): bring up HW first, then device specific stuff
  2982. - (nm_device_take_down): always deactivate device when called; always
  2983. try to take hardware down too
  2984. - (nm_device_state_changed): take device down when entering unmanaged
  2985. state from a higher state
  2986. * src/nm-device-802-11-wireless.c
  2987. - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
  2988. check IFF_UP really
  2989. - (real_take_down, supplicant_iface_state_cb_handler,
  2990. supplicant_iface_connection_state_cb_handler,
  2991. supplicant_mgr_state_cb_handler): fix some messages
  2992. * src/nm-device-802-3-ethernet.c
  2993. - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
  2994. check IFF_UP really
  2995. 2008-04-28 Dan Williams <dcbw@redhat.com>
  2996. * src/nm-manager.c
  2997. src/nm-manager.h
  2998. - (nm_manager_error_get_type): add new error
  2999. - (nm_manager_remove_device): don't bother taking down the device here,
  3000. the state change from unmanaging the device will do it
  3001. - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
  3002. uses it; when going to sleep, just unmanage the device instead of
  3003. taking it down, because stuff will cleaned up correctly when the
  3004. device gets unmanaged
  3005. 2008-04-28 Dan Williams <dcbw@redhat.com>
  3006. * src/nm-hal-manager.c
  3007. - (add_initial_devices): convert to a GSourceFunc prototype
  3008. - (nm_manager_state_changed): when coming out of sleep, punt the
  3009. device re-addition to an idle handler to let D-Bus events go out
  3010. first, fixing a potential dbus-glib assert if the old device was
  3011. not yet disposed (due to references held while emitting the D-Bus
  3012. signals) but the new device was found, because the mainloop didn't
  3013. run between signal emission and add_initial_devices()
  3014. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3015. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3016. * initscript/paldo/NetworkManager.in
  3017. initscript/SUSE/networkmanager.in
  3018. - Remove last bits of dhcdbd
  3019. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3020. * src/nm-device-802-11-wireless.c
  3021. - (link_timeout_cb): don't ask for secrets when disconnected during
  3022. association/authentication phase, drivers are still just too crappy
  3023. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3024. * Makefile.am
  3025. configure.in
  3026. dispatcher-daemon/Makefile.am
  3027. dispatcher-daemon/NetworkManagerDispatcher.c
  3028. initscript/Arch/Makefile.am
  3029. initscript/Arch/networkmanager-dispatcher.in
  3030. initscript/Gentoo/Makefile.am
  3031. initscript/Gentoo/NetworkManagerDispatcher.in
  3032. initscript/Mandriva/Makefile.am
  3033. initscript/Mandriva/networkmanagerdispatcher.in
  3034. initscript/RedHat/Makefile.am
  3035. initscript/RedHat/NetworkManagerDispatcher.in
  3036. initscript/SUSE/Makefile.am
  3037. initscript/SUSE/networkmanager-dispatcher.in
  3038. initscript/Slackware/Makefile.am
  3039. initscript/Slackware/rc.networkmanager-dispatcher.in
  3040. initscript/paldo/Makefile.am
  3041. initscript/paldo/NetworkManagerDispatcher.in
  3042. man/Makefile.am
  3043. man/NetworkManagerDispatcher.8.in
  3044. - Remove the dispatcher daemon
  3045. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3046. * callouts/Makefile.am
  3047. callouts/nm-dispatcher-action.c
  3048. callouts/nm-dispatcher-action.h
  3049. callouts/nm-dispatcher.conf
  3050. callouts/nm-dispatcher.xml
  3051. callouts/org.freedesktop.nm_dispatcher.service
  3052. - Re-implement the dispatcher as a system-bus activated service that
  3053. NM calls on-demand, rather than an always running daemon
  3054. * src/Makefile.am
  3055. - Add callouts dir to includes to pick up dispatcher defines
  3056. * src/nm-device.c
  3057. - (nm_device_state_changed): call dispatcher on device activated/
  3058. deactivated
  3059. * src/vpn-manager/nm-vpn-connection.c
  3060. - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
  3061. go up and down
  3062. * src/NetworkManagerUtils.c
  3063. src/NetworkManagerUtils.h
  3064. - (nm_utils_call_dispatcher): helper to call dispatcher
  3065. 2008-04-27 Dan Williams <dcbw@redhat.com>
  3066. * src/NetworkManagerUtils.c
  3067. src/NetworkManagerUtils.h
  3068. - remove unneeded includes
  3069. - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
  3070. nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
  3071. nm_timeval_cmp, nm_timeval_add): remove, unused
  3072. - clean up formatting
  3073. - (nm_spawn_process): de-uglify
  3074. * src/nm-device-802-11-wireless.c
  3075. - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
  3076. 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
  3077. * initscript/Gentoo/NetworkManager.in:
  3078. Fix for starting the daemon.
  3079. 2008-04-25 Dan Williams <dcbw@redhat.com>
  3080. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3081. * src/NetworkManagerSystem.c
  3082. - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
  3083. 2008-04-25 Dan Williams <dcbw@redhat.com>
  3084. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3085. * src/NetworkManagerSystem.c
  3086. - (nm_system_device_replace_default_ip4_route): new function; a libnl
  3087. implementation of nm_system_device_replace_default_route()
  3088. * src/NetworkManagerPolicy.c
  3089. - (update_default_route): use nm_system_device_replace_default_ip4_route()
  3090. * src/backends/NetworkManagerArch.c
  3091. src/backends/NetworkManagerDebian.c
  3092. src/backends/NetworkManagerFrugalware.c
  3093. src/backends/NetworkManagerGeneric.c
  3094. src/backends/NetworkManagerGeneric.h
  3095. src/backends/NetworkManagerGentoo.c
  3096. src/backends/NetworkManagerMandriva.c
  3097. src/backends/NetworkManagerPaldo.c
  3098. src/backends/NetworkManagerRedHat.c
  3099. src/backends/NetworkManagerSlackware.c
  3100. src/backends/NetworkManagerSuSE.c
  3101. - (nm_system_device_replace_default_route): remove
  3102. 2008-04-25 Dan Williams <dcbw@redhat.com>
  3103. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3104. * src/NetworkManagerSystem.c
  3105. - (validate_ip4_route): remove; use nl_addr_parse() instead
  3106. - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
  3107. replace nm_system_device_add_route_via_device_with_iface() in the
  3108. backends
  3109. * src/backends/NetworkManagerArch.c
  3110. src/backends/NetworkManagerDebian.c
  3111. src/backends/NetworkManagerFrugalware.c
  3112. src/backends/NetworkManagerGeneric.c
  3113. src/backends/NetworkManagerGeneric.h
  3114. src/backends/NetworkManagerGentoo.c
  3115. src/backends/NetworkManagerMandriva.c
  3116. src/backends/NetworkManagerPaldo.c
  3117. src/backends/NetworkManagerRedHat.c
  3118. src/backends/NetworkManagerSlackware.c
  3119. src/backends/NetworkManagerSuSE.c
  3120. - Remove nm_system_device_add_route_via_device_with_iface()
  3121. 2008-04-25 Dan Williams <dcbw@redhat.com>
  3122. * system-settings/plugins/ifcfg-fedora/parser.c
  3123. - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
  3124. 2008-04-24 Dan Williams <dcbw@redhat.com>
  3125. * dispatcher-daemon/NetworkManagerDispatcher.c
  3126. - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
  3127. 2008-04-24 Dan Williams <dcbw@redhat.com>
  3128. * initscript/RedHat/NetworkManager.in
  3129. initscript/RedHat/NetworkManagerDispatcher.in
  3130. - Be active at runlevel 2
  3131. - Adjust priorities earlier
  3132. 2008-04-22 Dan Williams <dcbw@redhat.com>
  3133. * src/NetworkManagerPolicy.c
  3134. - (update_routing_and_dns): when checking for a gateway, look at the
  3135. composite IP4 config, not the connection's ip4-config setting, which
  3136. doesn't include DHCP-returned information
  3137. 2008-04-22 Tambet Ingo <tambet@gmail.com>
  3138. Implement GKeyFile system settings plugin.
  3139. Implement writing system settings (currently supported only by GKeyFile plugin).
  3140. * system-settings/src/main.c:
  3141. * system-settings/src/dbus-settings.c: Move the communication with plugins
  3142. from main.c to dbus-settings.c. Makes it possible to talk to all registered
  3143. plugins for adding/updating/removing connections.
  3144. * system-settings/src/nm-system-config-interface.c
  3145. (nm_system_config_interface_add_connection): Implement
  3146. (nm_system_config_interface_update_connection): Implement.
  3147. (nm_system_config_interface_remove_connection): Implement.
  3148. * system-settings/plugins/keyfile/Makefile.am:
  3149. * system-settings/plugins/keyfile/plugin.[ch]:
  3150. * system-settings/plugins/keyfile/writer.[ch]:
  3151. * system-settings/plugins/keyfile/reader.[ch]: Implement.
  3152. * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
  3153. * configure.in: Generate GKeyFile Makefile.
  3154. * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
  3155. corruption, need to duplicate the returned string.
  3156. (impl_exported_connection_update): Implement.
  3157. (impl_exported_connection_delete): Implement.
  3158. * introspection/nm-settings-system.xml: Add "AddConnection" method.
  3159. * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
  3160. 2008-04-22 Dan Williams <dcbw@redhat.com>
  3161. Patch from Charles R. Anderson (cra@wpi.edu)
  3162. * src/NetworkManagerPolicy.c
  3163. - (update_routing_and_dns): don't select devices without a gateway
  3164. as having the default route (rh #437338)
  3165. 2008-04-21 Dan Williams <dcbw@redhat.com>
  3166. * src/nm-activation-request.c
  3167. src/nm-activation-request.h
  3168. - (dispose): ensure to disconnect from the device's state-changed signal
  3169. when appropriate so the signal doesn't get handled by an already
  3170. disposed NMActRequest
  3171. - (device_state_changed): update is_default here too just to make sure
  3172. default is only True when the child device is activated
  3173. - (nm_act_request_set_default): new function
  3174. * src/NetworkManagerPolicy.c
  3175. - (update_routing_and_dns): set 'default' on the active connection which
  3176. has the default route and DNS
  3177. 2008-04-21 Dan Williams <dcbw@redhat.com>
  3178. * src/NetworkManagerPolicy.c
  3179. - (device_state_changed): update routing and DNS when a device goes
  3180. into unmanaged or unavailable states too (like rfkill or carrier loss)
  3181. 2008-04-21 Dan Williams <dcbw@redhat.com>
  3182. * include/NetworkManager.h
  3183. - Add NMActiveConnectionState enum
  3184. * introspection/nm-active-connection.xml
  3185. introspection/nm-vpn-connection.xml
  3186. - Add 'State' property for overall active connection state
  3187. - Add 'Default' property, when True means this active connection
  3188. has the default route
  3189. - Add PropertyChanged signals so changes actually go out over the bus
  3190. * src/nm-active-connection.h
  3191. - Add defines for State & Default properties
  3192. * src/nm-activation-request.c
  3193. - Add 'state' and 'default' properties, hook up to device 'state-changed'
  3194. signal to determine active connection state
  3195. * src/vpn-manager/nm-vpn-connection.c
  3196. src/vpn-manager/nm-vpn-connection.h
  3197. src/vpn-manager/nm-vpn-manager.c
  3198. src/vpn-manager/nm-vpn-service.c
  3199. - Rename old 'state' to 'vpn-state'
  3200. - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
  3201. - Add 'state' and 'default' properties, hook up to the vpn connection's
  3202. 'vpn-state-changed' signal
  3203. * libnm-glib/nm-active-connection.c
  3204. libnm-glib/nm-active-connection.h
  3205. - Add new 'state' and 'default' properties and accessors
  3206. * libnm-glib/nm-vpn-connection.c
  3207. libnm-glib/nm-vpn-connection.h
  3208. - Rename old 'state' property to 'vpn-state'
  3209. - Add new 'state' and 'default' properties and accessors
  3210. 2008-04-21 Dan Williams <dcbw@redhat.com>
  3211. * src/nm-ip4-config.c
  3212. - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
  3213. not specified (rh #443474)
  3214. 2008-04-20 Dan Williams <dcbw@redhat.com>
  3215. * src/NetworkManagerUtils.c
  3216. src/NetworkManagerUtils.h
  3217. - (nm_utils_merge_ip4_config): new function; merge settings from an
  3218. NMSettingIP4Config to an NMIP4Config object
  3219. * src/nm-device.c
  3220. - (merge_ip4_config): move to NetworkManagerUtils.c
  3221. * src/vpn-manager/nm-vpn-connection.c
  3222. - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
  3223. too
  3224. 2008-04-18 Dan Williams <dcbw@redhat.com>
  3225. * libnm-util/nm-setting-ppp.c
  3226. libnm-util/nm-setting-ppp.h
  3227. - Add 'no-vj-comp' option for TCP header compression
  3228. - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
  3229. uint32
  3230. 2008-04-18 Dan Williams <dcbw@redhat.com>
  3231. * libnm-util/nm-setting-ppp.c
  3232. libnm-util/nm-setting-ppp.h
  3233. src/ppp-manager/nm-ppp-manager.c
  3234. - Add 'refuse-pap' and 'refuse-mschapv2' options
  3235. 2008-04-18 Dan Williams <dcbw@redhat.com>
  3236. * libnm-util/nm-setting-ppp.c
  3237. libnm-util/nm-setting-ppp.h
  3238. src/ppp-manager/nm-ppp-manager.c
  3239. - Remove the 'usepeerdns' option and always request DNS servers from
  3240. the PPP server; the connection chooses to use/override/ignore the
  3241. DNS servers returned from the PPP server
  3242. 2008-04-18 Dan Williams <dcbw@redhat.com>
  3243. * libnm-util/nm-setting-ppp.c
  3244. libnm-util/nm-setting-ppp.h
  3245. src/ppp-manager/nm-ppp-manager.c
  3246. - Remove the 'require-mppc' option, because pppd doesn't support it and
  3247. it seems to have been an erroneous addition to the PPTP plugin in
  3248. the first place (from which the ppp-manager is derived)
  3249. 2008-04-17 Dan Williams <dcbw@redhat.com>
  3250. * libnm-util/nm-setting-pppoe.c
  3251. - (verify): require a PPP setting too
  3252. * src/ppp-manager/nm-ppp-manager.c
  3253. - (nm_ppp_manager_start): fail if no PPP setting is present instead of
  3254. segfaulting
  3255. 2008-04-17 Dan Williams <dcbw@redhat.com>
  3256. * src/nm-device.c
  3257. - (nm_device_state_changed): do deactivation and and promotion to
  3258. unavailable here, so that the device gets cleaned up before the
  3259. manager runs and starts emitting signals; do the
  3260. FAILED->DISCONNECTED transition from an idle handler rather than
  3261. immediately to guard against recursion
  3262. - (nm_device_deactivate_quickly, nm_device_dispose): stop the
  3263. FAILED->DISCONNECTED handler if it's scheduled
  3264. 2008-04-17 Dan Williams <dcbw@redhat.com>
  3265. * src/nm-device-802-11-wireless.c
  3266. - (state_changed_cb): clear AP list when device transitions to
  3267. unavailable or unmanaged
  3268. - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
  3269. since this is already done in device_cleanup()
  3270. - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
  3271. isn't available or managed
  3272. - (device_cleanup): use remove_all_aps()
  3273. - (remove_all_aps): consolidate code removing all APs
  3274. 2008-04-17 Dan Williams <dcbw@redhat.com>
  3275. * src/nm-serial-device.c
  3276. src/nm-serial-device.h
  3277. - (wait_for_reply_got_data): break input into lines, and search each
  3278. line for responses _and_ terminator strings; also make sure that
  3279. the read loop doesn't continue after the timeout is supposed to fire
  3280. - (nm_serial_device_wait_for_reply): take an array of terminators too
  3281. * src/nm-gsm-device.c
  3282. src/nm-cdma-device.c
  3283. - Send terminators to nm_serial_device_wait_for_reply()
  3284. 2008-04-16 Dan Williams <dcbw@redhat.com>
  3285. Patch from 陈鑫 <znscnchen@gmail.com>
  3286. * src/ppp-manager/nm-pppd-plugin.c
  3287. - (get_credentials): return correct value for success; handle case where
  3288. pppd just does some checking but doesn't want a password
  3289. - (plugin_init): make CHAP work too
  3290. 2008-04-16 Dan Williams <dcbw@redhat.com>
  3291. Patch from 陈鑫 <znscnchen@gmail.com>
  3292. * src/ppp-manager/nm-ppp-manager.c
  3293. - (create_pppd_cmd_line): fix argument generation when spawning pppd
  3294. 2008-04-16 Dan Williams <dcbw@redhat.com>
  3295. Patch from 陈鑫 <znscnchen@gmail.com>
  3296. * src/nm-device-802-3-ethernet.c
  3297. - (real_deactivate_quickly): clear the IP interface name on
  3298. deactivation, otherwise the wrong interface might get used later
  3299. for routing and IP management
  3300. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3301. * libnm-glib/nm-device.c
  3302. - (get_product_and_vendor): handle serial devices correctly
  3303. - (nm_device_update_description): pass device to get_product_and_vendor()
  3304. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3305. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3306. * src/NetworkManagerSystem.h
  3307. src/backends/NetworkManagerArch.c
  3308. src/backends/NetworkManagerDebian.c
  3309. src/backends/NetworkManagerFrugalware.c
  3310. src/backends/NetworkManagerGeneric.c
  3311. src/backends/NetworkManagerGeneric.h
  3312. src/backends/NetworkManagerGentoo.c
  3313. src/backends/NetworkManagerMandriva.c
  3314. src/backends/NetworkManagerPaldo.c
  3315. src/backends/NetworkManagerRedHat.c
  3316. src/backends/NetworkManagerSlackware.c
  3317. src/backends/NetworkManagerSuSE.c
  3318. src/nm-device.c
  3319. - (nm_generic_device_add_ip6_link_address,
  3320. nm_system_device_add_ip6_link_address): remove
  3321. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3322. Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
  3323. * src/backends/NetworkManagerArch.c
  3324. src/backends/NetworkManagerDebian.c
  3325. src/backends/NetworkManagerFrugalware.c
  3326. src/backends/NetworkManagerGeneric.c
  3327. src/backends/NetworkManagerGeneric.h
  3328. src/backends/NetworkManagerGentoo.c
  3329. src/backends/NetworkManagerMandriva.c
  3330. src/backends/NetworkManagerPaldo.c
  3331. src/backends/NetworkManagerRedHat.c
  3332. src/backends/NetworkManagerSlackware.c
  3333. src/backends/NetworkManagerSuSE.c
  3334. src/NetworkManagerSystem.h
  3335. - flush_routes -> flush_ip4_routes
  3336. - flush_addresses -> flush_ip4_addresses
  3337. * src/NetworkManagerSystem.c
  3338. src/nm-device.c
  3339. src/vpn-manager/nm-vpn-connection.c
  3340. - flush only IPv4 addresses; don't touch IPv6 routes and addresses
  3341. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3342. Remove exposure of wireless-tools mode types in the API.
  3343. * include/NetworkManager.h
  3344. - Define NM80211Mode enum
  3345. * introspection/generic-types.xml
  3346. - Describe NM_802_11_MODE enum
  3347. - Remove IW_MODE_* enum
  3348. * introspection/nm-access-point.xml
  3349. libnm-glib/nm-access-point.c
  3350. libnm-glib/nm-access-point.h
  3351. - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
  3352. * introspection/nm-device-802-11-wireless.xml
  3353. libnm-glib/nm-device-802-11-wireless.c
  3354. libnm-glib/nm-device-802-11-wireless.h
  3355. - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
  3356. * libnm-util/nm-setting-wireless.c
  3357. src/NetworkManagerAP.c
  3358. src/NetworkManagerAP.h
  3359. src/nm-device-802-11-wireless.c
  3360. src/nm-device-802-11-wireless.h
  3361. test/nm-tool.c
  3362. - Use NM80211Mode not IW_MODE_*
  3363. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3364. Enhance nm-online based on a patch from Bill Nottingham.
  3365. * test/nm-online.c
  3366. - Add a '-q' option
  3367. - Add help messages and option summary
  3368. - Add long-format options
  3369. - Add a '-x' option to exit if NM isn't running or isn't connecting
  3370. 2008-04-15 Tambet Ingo <tambet@gmail.com>
  3371. * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
  3372. * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
  3373. 2008-04-15 Dan Williams <dcbw@redhat.com>
  3374. * nm-setting-ip4-config.c
  3375. - (ip4_addresses_from_gvalue): handle NULL address array
  3376. * nm-setting-8021x.c
  3377. - (verify_tls, verify_ttls): warn on failed verification
  3378. 2008-04-10 Dan Williams <dcbw@redhat.com>
  3379. * src/nm-gsm-device.c
  3380. - (automatic_registration): accept "+CREG: 0,0"
  3381. - (automatic_registration_response): fail on "+CREG: 0,0"
  3382. 2008-04-10 Tambet Ingo <tambet@gmail.com>
  3383. * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
  3384. 2008-04-10 Tambet Ingo <tambet@gmail.com>
  3385. * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
  3386. Make it compile again by commenting out broken code that at first didn't work and
  3387. now didn't compile either.
  3388. 2008-04-08 Dan Williams <dcbw@redhat.com>
  3389. * libnm-glib/nm-object-cache.c
  3390. libnm-glib/nm-settings.c
  3391. src/dhcp-manager/nm-dhcp-manager.c
  3392. system-settings/plugins/ifcfg-fedora/plugin.c
  3393. system-settings/plugins/ifcfg-suse/plugin.c
  3394. system-settings/src/nm-system-config-hal-manager.c
  3395. libnm-util/nm-utils.c
  3396. - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
  3397. not threadsafe anyway
  3398. 2008-04-08 Dan Williams <dcbw@redhat.com>
  3399. * system-settings/src/main.c
  3400. - (load_stuff, device_added_cb, device_removed_cb): device added/removed
  3401. callbacks take a device type too
  3402. 2008-04-08 Dan Williams <dcbw@redhat.com>
  3403. The system settings service will now create a new default DHCP connection
  3404. for wired devices that have no existing applicable connection.
  3405. * system-settings/src/nm-system-config-hal-manager.c
  3406. system-settings/src/nm-system-config-hal-manager.h
  3407. - (nm_system_config_hal_manager_get_type_for_udi): new function
  3408. * system-settings/src/dbus-settings.c
  3409. system-settings/src/dbus-settings.h
  3410. - (nm_sysconfig_settings_get_connections): new function
  3411. - (nm_sysconfig_settings_is_device_managed): new function
  3412. * system-settings/src/main.c
  3413. - (load_stuff): check for wired devices that need a default connection
  3414. - (get_details_for_udi): get interface and MAC address from HAL
  3415. - (add_default_dhcp_connection): add a default connection for a wired
  3416. device if needed
  3417. - (device_added_cb, device_removed_cb): do the right thing with
  3418. wired devices and their default connections on HAL device events
  3419. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3420. * libnm-glib/nm-device.c
  3421. libnm-glib/nm-device.h
  3422. - Proxy the 'managed' property
  3423. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3424. * src/nm-gsm-device.c
  3425. src/nm-cdma-device.c
  3426. - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
  3427. handler to transition to DISCONNECTED
  3428. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3429. Patch from Bill Nottingham
  3430. * dispatcher-daemon/NetworkManagerDispatcher.c
  3431. - ignore backup/packaging crufy (rh #440143)
  3432. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3433. * include/NetworkManager.h
  3434. - Remove the DOWN and CANCELLED device states
  3435. - Add UNMANAGED and UNAVAILABLE device states
  3436. - Document the device states
  3437. * introspection/nm-device.xml
  3438. src/nm-device-interface.c
  3439. src/nm-device-interface.h
  3440. - Add the 'managed' property
  3441. * test/nm-tool.c
  3442. - (detail_device): print out device state
  3443. * src/NetworkManagerSystem.h
  3444. src/backends/NetworkManagerArch.c
  3445. src/backends/NetworkManagerDebian.c
  3446. src/backends/NetworkManagerFrugalware.c
  3447. src/backends/NetworkManagerGentoo.c
  3448. src/backends/NetworkManagerMandriva.c
  3449. src/backends/NetworkManagerPaldo.c
  3450. src/backends/NetworkManagerRedHat.c
  3451. src/backends/NetworkManagerSlackware.c
  3452. src/backends/NetworkManagerSuSE.c
  3453. - (nm_system_device_get_system_config, nm_system_device_get_disabled
  3454. nm_system_device_free_system_config): remove; they were unused and
  3455. their functionality should be re-implemented in each distro's
  3456. system settings service plugin
  3457. * src/nm-gsm-device.c
  3458. src/nm-gsm-device.h
  3459. src/nm-cdma-device.c
  3460. src/nm-cdma-device.h
  3461. - (*_new): take the 'managed' argument
  3462. * src/nm-device.c
  3463. - (nm_device_set_address): remove, fold into nm_device_bring_up()
  3464. - (nm_device_init): start in unmanaged state, not disconnected
  3465. - (constructor): don't start device until the system settings service
  3466. has had a chance to figure out if the device is managed or not
  3467. - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
  3468. don't set device state here, let callers handle that as appropriate
  3469. - (nm_device_dispose): don't touch the device if it's not managed
  3470. - (set_property, get_property, nm_device_class_init): implement the
  3471. 'managed' property
  3472. - (nm_device_state_changed): bring the device up if its now managed,
  3473. and deactivate it if it used to be active
  3474. - (nm_device_get_managed, nm_device_set_managed): do the right thing
  3475. with the managed state
  3476. * src/nm-hal-manager.c
  3477. - (wired_device_creator, wireless_device_creator, modem_device_creator):
  3478. take initial managed state and pass it along to device constructors
  3479. - (create_device_and_add_to_list): get managed state and pass to
  3480. type creators
  3481. * src/nm-device-802-11-wireless.c
  3482. - (real_can_activate): fold in most of
  3483. nm_device_802_11_wireless_can_activate()
  3484. - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
  3485. - (link_timeout_cb): instead of deactivating, change device state and
  3486. let the device state handler to it
  3487. - (real_update_hw_address): clean up
  3488. - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
  3489. handler to transition to DISCONNECTED if the device isn't rfkilled
  3490. * src/nm-device-802-3-ethernet.c
  3491. - (set_carrier): move above callers and get rid of prototype
  3492. - (device_state_changed): when entering UNAVAILABLE state, schedule an
  3493. idle handler to transition to DISCONNECTED if the device has a
  3494. carrier
  3495. - (real_update_hw_address): clean up
  3496. - (link_timeout_cb, ppp_state_changed): change state instead of calling
  3497. deactivation directly as deactivation doesn't change state anymore
  3498. * src/NetworkManagerPolicy.c
  3499. - (schedule_activate_check): yay, remove wireless_enabled hack since
  3500. the NMManager and wireless devices work that out themselves now
  3501. - (device_state_changed): change to a switch and update for new device
  3502. states
  3503. - (device_carrier_changed): remove; device handles this now through
  3504. state changes
  3505. - (device_added): don't care about carrier any more; the initial
  3506. activation check will happen when the device transitions to
  3507. DISCONNECTED
  3508. * src/nm-manager.c
  3509. - (dispose): clear unmanaged devices
  3510. - (handle_unmanaged_devices): update unmanaged device list and toggle
  3511. the managed property on each device when needed
  3512. - (system_settings_properties_changed_cb): handle signals from the
  3513. system settings service
  3514. - (system_settings_get_unmanaged_devices_cb): handle callback from
  3515. getting the unmanaged device list method call
  3516. - (query_unmanaged_devices): ask the system settings service for its
  3517. list of unmanaged devices
  3518. - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
  3519. devices
  3520. - (manager_set_wireless_enabled): push rfkill state down to wireless
  3521. devices directly and let them handle the necessary state transitions
  3522. - (manager_device_state_changed): update for new device states
  3523. - (nm_manager_add_device): set initial rfkill state on wireless devices
  3524. - (nm_manager_remove_device): don't touch the device if it's unmanaged
  3525. - (nm_manager_activate_connection): return error if the device is
  3526. unmanaged
  3527. - (nm_manager_sleep): handle new device states correctly; don't change
  3528. the state of unavailable/unmanaged devices
  3529. * libnm-glib/nm-device-802-11-wireless.c
  3530. - (state_changed_cb): update for new device states
  3531. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3532. * marshallers/nm-marshal.list
  3533. - Add VOID:STRING,UINT marshaller for system settings HAL manager
  3534. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3535. * system-settings/src/main.c
  3536. - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
  3537. plugins to the dbus settings object
  3538. - (load_stuff): start the dbus service after grabbing unmanaged devices
  3539. - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
  3540. - (log_handler, logging_setup, logging_shutdown): log output to syslog
  3541. - (main): switch default logging to syslog with a 'debug' option to
  3542. output to console; start up the HAL manager
  3543. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3544. * introspection/nm-settings-system.xml
  3545. introspection/Makefile.am
  3546. - Define the unmanaged devices interface for the system settings service
  3547. * system-settings/src/nm-system-config-hal-manager.c
  3548. system-settings/src/nm-system-config-hal-manager.h
  3549. system-settings/src/nm-system-config-hal-manager-private.h
  3550. system-settings/src/Makefile.am
  3551. - Add a lightweight HAL manager object for tracking network devices for
  3552. the purpose of determining unmanaged devices and which devices need
  3553. the default DHCP connections
  3554. * system-settings/src/nm-system-config-interface.c
  3555. system-settings/src/nm-system-config-interface.h
  3556. - (nm_system_config_interface_init): add the HAL manager as an argument
  3557. - (nm_system_config_interface_get_unmanaged_devices): implement
  3558. - Define 'unmanaged-devices-changed' signal
  3559. * system-settings/src/dbus-settings.c
  3560. system-settings/src/dbus-settings.h
  3561. - Implement the unmanaged devices interface; some cleanups
  3562. * system-settings/plugins/ifcfg-suse/plugin.c
  3563. - Fixup for plugin interface changes
  3564. * system-settings/plugins/ifcfg-fedora/plugin.c
  3565. - (get_ether_device_udi): new function; find the device that has
  3566. a specified MAC address and return its UDI
  3567. - (get_udi_for_connection): new function; try to find the specific
  3568. device a connection is locked to, if any
  3569. - (device_added_cb, device_removed_cb): update unmanaged device list in
  3570. response to HAL events
  3571. - (get_unmanaged_devices): new function; return unmanaged device list
  3572. - (build_one_connection): set the connection's locked device, if any
  3573. - (write_auto_wired_connection): remove
  3574. - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
  3575. - (handle_connection_changed): alert listeners that the unmanaged device
  3576. list has changed
  3577. - (init): fixup for plugin interface changes, implement unmanaged devices
  3578. * system-settings/plugins/ifcfg-fedora/parser.c
  3579. system-settings/plugins/ifcfg-fedora/parser.h
  3580. - (connection_data_free): clean up connection UDI
  3581. 2008-04-07 Dan Williams <dcbw@redhat.com>
  3582. * system-settings/plugins/ifcfg-fedora/parser.c
  3583. - (make_ip4_setting): fix parsing of DNS servers
  3584. 2008-04-05 Dan Williams <dcbw@redhat.com>
  3585. * Makefile.am
  3586. configure.in
  3587. marshallers/Makefile.am
  3588. marshallers/nm-marshal-main.c
  3589. marshallers/nm-marshal.list
  3590. - Consolidate marshallers
  3591. * libnm-glib/nm-marshal-main.c
  3592. libnm-glib/nm-marshal.list
  3593. src/marshallers/Makefile.am
  3594. src/marshallers/nm-marshal-main.c
  3595. src/marshallers/nm-marshal.list
  3596. - Remove
  3597. * libnm-glib/Makefile.am
  3598. src/Makefile.am
  3599. src/dhcp-manager/Makefile.am
  3600. src/ppp-manager/Makefile.am
  3601. src/supplicant-manager/Makefile.am
  3602. src/vpn-manager/Makefile.am
  3603. - Use consolidated marshallers
  3604. 2008-04-04 Dan Williams <dcbw@redhat.com>
  3605. * src/nm-hal-manager.c
  3606. src/nm-hal-manager.h
  3607. - (hal_init): don't look for hardware here
  3608. - (nm_hal_manager_start): new function; look for hardware here instead,
  3609. which can be done at a later time than hal_init()
  3610. * src/NetworkManager.c
  3611. - (main): start HAL manager after entering the main loop
  3612. 2008-04-03 Dan Williams <dcbw@redhat.com>
  3613. * libnm-glib/nm-settings.c
  3614. libnm-glib/nm-settings.h
  3615. - (nm_exported_connection_get_id): new function
  3616. - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
  3617. 2008-04-02 Dan Williams <dcbw@redhat.com>
  3618. * src/nm-device-interface.c
  3619. src/nm-device-interface.h
  3620. src/nm-device.c
  3621. src/nm-device.h
  3622. - Rename check_connection_conflicts() to check_connection_compatible()
  3623. * src/nm-device-802-11-wireless.c
  3624. - (real_check_connection_conflicts): remove
  3625. - (real_check_connection_compatible): implement; match MAC address
  3626. * src/nm-device-802-3-ethernet.c
  3627. - (real_check_connection_conflicts): remove
  3628. - (real_check_connection_compatible): implement; match MAC address
  3629. - (real_get_best_auto_connection): correctly handle PPPoE cases
  3630. * src/nm-manager.c
  3631. - (check_connection_allowed): remove; unused until PolicyKit integration
  3632. - (internal_activate_device): check whether the connection is compatible
  3633. with the device before trying to activate it
  3634. 2008-04-02 Dan Williams <dcbw@redhat.com>
  3635. * system-settings/plugins/ifcfg-fedora/parser.c
  3636. - (read_mac_address): new function; read in MAC address and stuff it
  3637. into the connection
  3638. - (add_one_wep_key): remove debug spew
  3639. - (make_wireless_security_setting): validate the default TX key; don't
  3640. add the wireless-security setting if the connection doesn't need
  3641. security; don't leak the keys shvarFile on error cases
  3642. - (make_wireless_setting, make_wired_setting): populate device's MAC
  3643. address
  3644. 2008-04-02 Dan Williams <dcbw@redhat.com>
  3645. * libnm-util/nm-setting-connection.c
  3646. libnm-util/nm-setting-connection.h
  3647. - (set_property, get_property, nm_setting_connection_class_init): remove
  3648. the 'lockdown' property; it's functionality will be replaced by
  3649. PolicyKit instead
  3650. 2008-04-01 Dan Williams <dcbw@redhat.com>
  3651. Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
  3652. * configure.in
  3653. initscript/Makefile.am
  3654. initscript/Mandriva/Makefile.am
  3655. initscript/Mandriva/networkmanager.in
  3656. initscript/Mandriva/networkmanagerdispatcher.in
  3657. src/backends/Makefile.am
  3658. src/backends/NetworkManagerMandriva.c
  3659. system-settings/plugins/Makefile.am
  3660. - Add Mandriva support
  3661. 2008-03-31 Dan Williams <dcbw@redhat.com>
  3662. * src/vpn-manager/nm-vpn-service.c
  3663. - (nm_vpn_service_daemon_exec): add an error argument so that spawn
  3664. errors can be passed back to the caller; also no longer scheduled
  3665. as an idle handler, but called directly; and bump up VPN service
  3666. spawn timeout, 2s is really short
  3667. - (nm_vpn_service_activate): don't schedule the VPN service activation,
  3668. but call it directly so that errors are reported on return from
  3669. ActivateConnection() and don't get lost. If scheduled as an idle
  3670. handler, clients don't have the time to query NM for the new VPN
  3671. connection's properties before the VPN connection is torn down again
  3672. if the service couldn't be launched, and therefore launch errors
  3673. get lost.
  3674. 2008-03-31 Dan Williams <dcbw@redhat.com>
  3675. * src/vpn-manager/nm-vpn-connection.c
  3676. - (device_state_changed): send correct state on device failure too
  3677. - (plugin_state_changed): failed state means unexpected disconnection,
  3678. thus if the service goes away while the VPN connection is activated
  3679. that's a failure too
  3680. 2008-03-31 Dan Williams <dcbw@redhat.com>
  3681. * src/vpn-manager/nm-vpn-manager.c
  3682. src/vpn-manager/nm-vpn-manager.h
  3683. - Make VPNManager errors more available; add a service-start-failed error
  3684. 2008-03-31 Dan Williams <dcbw@redhat.com>
  3685. * libnm-glib/nm-client.c
  3686. libnm-glib/nm-client.h
  3687. - (activate_cb): pass the new active connection to callback; fix
  3688. message when no callback is specified
  3689. 2008-03-30 Dan Williams <dcbw@redhat.com>
  3690. * libnm-util/nm-setting-wireless-security.c
  3691. - (need_secrets): only require key0 if the transmit key index is also
  3692. 0
  3693. - (verify): reject non-NULL but zero-length WEP keys; these are invalid
  3694. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3695. * libnm-util/nm-setting-8021x.c
  3696. libnm-util/nm-setting-ip4-config.c
  3697. libnm-util/nm-setting-vpn-properties.c
  3698. libnm-util/nm-setting-vpn.c
  3699. libnm-util/nm-setting-wireless-security.c
  3700. libnm-util/nm-setting-wireless.c
  3701. libnm-util/nm-utils.c
  3702. src/dhcp-manager/nm-dhcp-manager.c
  3703. src/nm-activation-request.c
  3704. src/nm-ip4-config.c
  3705. src/nm-manager.c
  3706. src/nm-properties-changed-signal.c
  3707. src/ppp-manager/nm-pppd-plugin.c
  3708. src/supplicant-manager/nm-supplicant-interface.c
  3709. src/vpn-manager/nm-vpn-connection.c
  3710. - consistently use nm-dbus-glib-types.h
  3711. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3712. * src/vpn-manager/nm-vpn-connection.c
  3713. - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
  3714. not string
  3715. * src/nm-activation-request.c
  3716. - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
  3717. not string
  3718. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3719. * libnm-glib/nm-device-802-11-wireless.c
  3720. - (access_point_added_proxy): create new APs if not found
  3721. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3722. * libnm-glib/nm-client.c
  3723. - (proxy_name_owner_changed): tell wireless devices about rfkill state
  3724. before freeing them
  3725. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3726. * system-settings/plugins/ifcfg-fedora/parser.c
  3727. - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
  3728. [0...3]; also handle KEY correctly in combination with DEFAULTKEY
  3729. 2008-03-29 Dan Williams <dcbw@redhat.com>
  3730. * system-settings/plugins/ifcfg-fedora/parser.c
  3731. - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
  3732. 2008-03-27 Dan Williams <dcbw@redhat.com>
  3733. * nm-object.c
  3734. - (nm_object_queue_notify): don't notify multiple times for the same
  3735. property
  3736. * nm-object-private.h
  3737. - (handle_ptr_array_return): return NULL if the given array is NULL or
  3738. if it has zero elements
  3739. * nm-ip4-config.c
  3740. - (finalize): use g_ptr_array_foreach() when freeing domains
  3741. - (nm_ip4_config_get_domains): use handle_ptr_array_return()
  3742. * nm-active-connection.c
  3743. - (nm_active_connection_get_devices): use handle_ptr_array_return()
  3744. * nm-device-802-11-wireless.c
  3745. nm-device-802-11-wireless.h
  3746. - (nm_device_802_11_wireless_get_access_points): return const; use
  3747. handle_ptr_array_return()
  3748. * nm-types.c
  3749. - (nm_object_array_demarshal): always create an array, even of length
  3750. zero, to distinguish between "NM returned no items" and "haven't
  3751. asked NM yet"
  3752. * nm-client.c
  3753. - (dispose): free active connections too
  3754. - (proxy_name_owner_changed): free active connections too when NM goes
  3755. away
  3756. - (nm_client_get_devices): return const; use handle_ptr_array_return()
  3757. - (nm_client_get_active_connections): use handle_ptr_array_return()
  3758. 2008-03-26 Dan Williams <dcbw@redhat.com>
  3759. Rework VPN connection handling for a more consistent D-Bus API. The
  3760. VPNManager object has been removed, and active VPN connections are now the
  3761. same as any other active connection. The Manager object's ActivateConnection
  3762. and DeactivateConnection methods are used to start and stop a VPN connection,
  3763. and the VPNConnection objects are subclasses of the ActiveConnection objects.
  3764. When activating a VPN connection, pass the path of the active connection
  3765. to which the VPN connection is tied in the 'specific_object' argument.
  3766. Consequently, the libnm-glib API has been reworked to match this arrangement,
  3767. with the VPNManager object removed, and the NMVPNConnection objects now
  3768. being subclasses of NMActiveConnection.
  3769. 2008-03-25 Dan Williams <dcbw@redhat.com>
  3770. Patch from Björn Martensen <bjoern.martensen@gmail.com>
  3771. * initscript/Arch/networkmanager.in
  3772. initscript/Arch/networkmanager-dispatcher.in
  3773. - Updates for Arch Linux (gnome.org #523701)
  3774. 2008-03-25 Dan Williams <dcbw@redhat.com>
  3775. * libnm-glib/nm-ip4-config.c
  3776. libnm-glib/nm-active-connection.c
  3777. libnm-glib/nm-access-point.c
  3778. - Use nm_object_queue_notify() instead of g_object_notify()
  3779. * libnm-glib/nm-device.c
  3780. - (demarshal_ip4_config): distinguish between successful but missing
  3781. ip4-config request, and unsuccessful and missing ip4-config request
  3782. - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
  3783. path
  3784. - Use nm_object_queue_notify() instead of g_object_notify()
  3785. * libnm-glib/nm-device-802-11-wireless.c
  3786. - (demarshal_active_ap): distinguish between successfull but missing
  3787. active-ap request, and unsuccessful and missing active-ap request
  3788. - (dispose, clean_up_aps): consolidate AP list and active AP clearing
  3789. code
  3790. - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
  3791. for the NMClient to notify the device that wireless is disabled,
  3792. and therefore to clear the AP list and active AP
  3793. - Use nm_object_queue_notify() instead of g_object_notify()
  3794. * libnm-glib/nm-client.c
  3795. - (poke_wireless_devices_with_rf_status): new function
  3796. - (update_wireless_status): notify wireless devices of the rfkill status
  3797. so they can clean up if needed
  3798. - Use nm_object_queue_notify() instead of g_object_notify()
  3799. 2008-03-25 Dan Williams <dcbw@redhat.com>
  3800. * libnm-glib/nm-object.c
  3801. libnm-glib/nm-object-private.h
  3802. - (nm_object_queue_notify): add helper to batch & postpone GObject notify
  3803. signals to an idle handler
  3804. - (nm_object_get_property): add a timeout to the D-Bus method call
  3805. 2008-03-25 Dan Williams <dcbw@redhat.com>
  3806. * introspection/nm-device-cdma.xml
  3807. introspection/nm-device-gsm.xml
  3808. introspection/Makefile.am
  3809. introspection/all.xml
  3810. - Add introspection for CDMA and GSM devices for PropertiesChanged signal
  3811. * src/nm-gsm-device.h
  3812. src/nm-gsm-device.c
  3813. src/nm-cdma-device.h
  3814. src/nm-cdma-device.c
  3815. src/Makefile.am
  3816. - Implement PropertiesChanged signals
  3817. * libnm-glib/nm-cdma-device.c
  3818. libnm-glib/nm-cdma-device.c
  3819. - Attach to PropertiesChanged signals
  3820. 2008-03-24 Dan Williams <dcbw@redhat.com>
  3821. * libnm-glib/nm-client.c
  3822. - (client_device_added_proxy): add new devices to the internal device
  3823. list so they appear to clients
  3824. 2008-03-24 Dan Williams <dcbw@redhat.com>
  3825. Massive fixup of libnm-glib to:
  3826. a) have all objects (with the exception of VPN) cache their properties and
  3827. update them asynchronously on PropertiesChanged signals from NM
  3828. b) return internal const data for most attributes/properties instead of
  3829. allocated values that the caller must free
  3830. c) cache wrapped objects such that a given D-Bus path will always map to the
  3831. same GObject returned by libnm-glib
  3832. d) remove a few signals and move them to GObject property notifications
  3833. e) match recent NM D-Bus API changes for activation/deactivation
  3834. f) remove some private functions from libnm-glib headers
  3835. 2008-03-20 Dan Williams <dcbw@redhat.com>
  3836. * src/nm-manager.c
  3837. - (nm_manager_update_state, manager_device_state_changed,
  3838. nm_manager_activate_device, connection_added_default_handler,
  3839. impl_manager_activate_connection, impl_manager_deactivate_connection):
  3840. queue PropertyChanged singals when the active connections change
  3841. 2008-03-20 Dan Williams <dcbw@redhat.com>
  3842. * introspection/nm-manager.xml
  3843. introspection/nm-manager-client.xml
  3844. - (ActivateConnection): return the object path of the active connection
  3845. on success
  3846. - (GetActiveConnections): remove
  3847. - (DeactivateConnection): new function; deactivate a currently active
  3848. connection
  3849. - Add an ActiveConnections property which returns an array of
  3850. active connection object paths
  3851. * introspection/nm-device.xml
  3852. - (Deactivate): remove
  3853. * introspection/all.xml
  3854. - Add ActiveConnection introspection
  3855. * introspection/nm-active-connection.xml
  3856. - Add the ActiveConnection object
  3857. * include/NetworkManager.h
  3858. - Add the Connection.Active D-Bus interface
  3859. * src/nm-device-interface.c
  3860. - (impl_device_deactivate): remove
  3861. * src/nm-activation-request.c
  3862. src/nm-activation-request.c
  3863. src/Makefile.am
  3864. - Implement the Connection.Active D-Bus interface
  3865. * src/nm-manager.c
  3866. - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
  3867. - (nm_manager_activate_device): return the active connection path
  3868. - (connection_added_default_handler, impl_manager_activate_connection):
  3869. return the active connection to the caller
  3870. - (add_one_connection_element, impl_manager_get_active_connections):
  3871. remove
  3872. - (impl_manager_deactivate_connection): new function; deactivate an
  3873. active connection
  3874. * libnm-glib/nm-device.c
  3875. libnm-glib/nm-device.h
  3876. - Remove Deactivate() function
  3877. 2008-03-19 Dan Williams <dcbw@redhat.com>
  3878. * introspection/nm-manager.xml
  3879. introspection/nm-manager-client.xml
  3880. - Rename the ActivateDevice method to ActivateConnection to better
  3881. reflect it's usage; it's arguments get reordered a bit too
  3882. - Convert GetActiveConnections method return from a struct to a dict
  3883. * include/NetworkManager.h
  3884. - Define the dict keys for return value of GetActiveConnections
  3885. * src/nm-manager.c
  3886. - impl_manager_activate_device -> impl_manager_activate_connection
  3887. - (add_one_connection_element): return a populated hash table, not
  3888. a structure
  3889. * libnm-glib/nm-client.c
  3890. libnm-glib/nm-client.h
  3891. - nm_client_activate_device -> nm_client_activate_connection
  3892. - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
  3893. - (nm_client_get_active_connections): return a GSList of GHashTables,
  3894. instead of the custom structures. Each element of the returned list
  3895. must be freed with nm_client_free_active_connections_element()
  3896. 2008-03-18 Dan Williams <dcbw@redhat.com>
  3897. * system-settings/plugins/ifcfg-fedora/parser.c
  3898. system-settings/plugins/ifcfg-fedora/parser.h
  3899. system-settings/plugins/ifcfg-fedora/plugin.c
  3900. - Read settings from /etc/sysconfig/network-scripts/ instead of using
  3901. profiles. DNS servers and searches must now be stored in the ifcfg
  3902. files themselves
  3903. 2008-03-18 Tambet Ingo <tambet@gmail.com>
  3904. * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
  3905. print out username and password, it's supposed to be a secret.
  3906. * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
  3907. request and set the device state accordingly.
  3908. 2008-03-18 Tambet Ingo <tambet@gmail.com>
  3909. * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
  3910. * libnm-util/nm-setting-wireless-security.h: Fix a typo.
  3911. 2008-03-18 Dan Williams <dcbw@redhat.com>
  3912. * src/vpn-manager/nm-vpn-connection.c
  3913. - (get_secrets_cb): handle new GetSecrets return format
  3914. 2008-03-18 Dan Williams <dcbw@redhat.com>
  3915. Adapt system settings service for split 802.1x.
  3916. * system-settings/src/nm-system-config-interface.h
  3917. - clarify return value of get_secrets()
  3918. * system-settings/src/dbus-settings.c
  3919. - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
  3920. - (check_for_secrets): check if there actually secrets returned by a
  3921. plugin
  3922. - (exported_connection_get_secrets): just return the plugin-returned
  3923. hash of settings' secrets if it looks valid
  3924. * system-settings/plugins/ifcfg-fedora/plugin.c
  3925. - (get_secrets): add split secrets with correct format to reply hash
  3926. * system-settings/plugins/ifcfg-fedora/parser.c
  3927. system-settings/plugins/ifcfg-fedora/parser.h
  3928. - (copy_one_cdata_secret, connection_data_copy_secrets,
  3929. connection_data_free, connection_data_add): keep secrets for
  3930. different settings in different hashes
  3931. 2008-03-17 Tambet Ingo <tambet@gmail.com>
  3932. Clean up activating device deactivation.
  3933. * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
  3934. should be done whether the device activation gets cancelled or the device
  3935. is just getting deactivated.
  3936. (nm_device_activation_cancel): Remove.
  3937. (nm_device_deactivate_quickly): Handle the case where device is activating.
  3938. * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
  3939. It does the exact same thing as real_deactivate_quickly().
  3940. 2008-03-17 Dan Williams <dcbw@redhat.com>
  3941. Split the 802.1x bits out of the wireless-security setting so they are
  3942. generalized enough for wired 802.1x to use too.
  3943. * introspection/nm-exported-connection.xml
  3944. - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
  3945. of just a hash of the secrets for one setting
  3946. * libnm-util/nm-setting-wireless-security.c
  3947. libnm-util/nm-setting-wireless-security.h
  3948. - Remove 802.1x-specific stuff
  3949. - Added leap-username and leap-password properties for old-school LEAP
  3950. * src/nm-device.c
  3951. src/nm-device.h
  3952. - (connection_secrets_updated_cb): take a list of updated settings names,
  3953. not just one
  3954. * src/supplicant-manager/nm-supplicant-config.c
  3955. src/supplicant-manager/nm-supplicant-config.h
  3956. - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
  3957. specific stuff; fix for updated LEAP bits; punt 802.1x stuff
  3958. to nm_supplicant_config_add_setting_8021x()
  3959. - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
  3960. the supplicant config
  3961. * src/nm-device-802-11-wireless.c
  3962. - (build_supplicant_config): pass in the 802.1x setting too, if any
  3963. - (real_connection_secrets_updated): take a list of updated settings
  3964. names, not just one
  3965. * src/nm-device-802-3-ethernet.c
  3966. src/nm-cdma-device.c
  3967. src/nm-gsm-device.c
  3968. - (real_connection_secrets_updated_cb): take a list of updated settings
  3969. names, not just one
  3970. * src/nm-activation-request.c
  3971. src/nm-activation-request.h
  3972. - (nm_act_request_class_init): the 'connection-secrets-updated' signal
  3973. now passes a list of updated settings names, not just one
  3974. - (update_one_setting): new function; handle one updated setting
  3975. - (get_secrets_cb): handle multiple settings returned from the
  3976. settings service; have to be careful of ordering here as there are
  3977. some dependencies between settings (ex. wireless-security and 802.1x
  3978. in some cases)
  3979. * src/marshallers/nm-marshal.list
  3980. - new marshaller for connection-secrets-updated signal
  3981. * libnm-util/nm-setting-8021x.c
  3982. - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
  3983. methods
  3984. - (verify): a valid 'eap' property is now required
  3985. * libnm-util/nm-connection.c
  3986. - (register_default_settings): add priorities to settings; there are
  3987. some dependencies between settings, and during the need_secrets
  3988. calls this priority needs to be respected. For example, only the
  3989. wireless-security setting knows whether or not the connection is
  3990. going to use 802.1x or now, so it must be asked for secrets before
  3991. any existing 802.1x setting is
  3992. - (nm_connection_lookup_setting_type): expose
  3993. * libnm-util/nm-setting-wireless.c
  3994. - (verify): should verify even if all_settings is NULL; otherwise won't
  3995. catch the case where there is missing security
  3996. * libnm-util/nm-setting-wireless-security.c
  3997. - Remove everything to do with 802.1x
  3998. - Add old-school LEAP specific properties for username and password
  3999. - (need_secrets): rework LEAP secrets checking
  4000. - (verify): rework for LEAP and 802.1x verification
  4001. 2008-03-17 Dan Williams <dcbw@redhat.com>
  4002. * src/NetworkManagerPolicy.c
  4003. - (auto_activate_device): always remove the current activation check
  4004. from the pending activation list, otherwise when the policy gets
  4005. destroyed on NM exit it will attempt to free the already freed
  4006. activation check
  4007. 2008-03-14 Tambet Ingo <tambet@gmail.com>
  4008. * src/backends/NetworkManagerSlackware.c
  4009. (nm_system_device_setup_static_ip4_config): Remove, it's unused.
  4010. * src/backends/NetworkManagerSuSE.c: Add missing includes.
  4011. 2008-03-14 Dan Williams <dcbw@redhat.com>
  4012. * src/nm-manager.c
  4013. - (nm_device_interface_get_iface): g_object_get() will return an
  4014. allocated value, so this function must not return const
  4015. - (nm_device_interface_activate): free returned iface
  4016. 2008-03-14 Tambet Ingo <tambet@gmail.com>
  4017. * libnm-util/Makefile.am: Add new files to build.
  4018. * libnm-util/nm-connection.c: Register NMSetting8021x.
  4019. * libnm-util/nm-setting-8021x.c
  4020. * libnm-util/nm-setting-8021x.h: Implement.
  4021. 2008-03-14 Tambet Ingo <tambet@gmail.com>
  4022. * libnm-util/Makefile.am: Add new files to build.
  4023. * libnm-util/nm-connection.c: Register NMSetting8021x.
  4024. * libnm-util/nm-setting-8021x.c
  4025. * libnm-util/nm-setting-8021x.h: Implement.
  4026. 2008-03-14 Tambet Ingo <tambet@gmail.com>
  4027. * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
  4028. data.
  4029. 2008-03-14 Dan Williams <dcbw@redhat.com>
  4030. * include/wireless-helper.h
  4031. include/Makefile.am
  4032. - One place for all the junk needed for #including wireless.h
  4033. * test/nm-tool.c
  4034. src/NetworkManagerAP.c
  4035. src/wpa.c
  4036. src/Makefile.am
  4037. libnm-util/nm-utils.c
  4038. libnm-util/nm-setting-wireless.c
  4039. libnm-glib/nm-device-802-11-wireless.c
  4040. libnm-glib/nm-access-point.c
  4041. libnm-glib/libnm-glib-test.c
  4042. - include wireless-helper.h, not iwlib.h
  4043. * configure.in
  4044. - Don't need libiw really, just need to check for wireless.h
  4045. * src/kernel-types.h
  4046. - Remove; used types moved into wpa.c
  4047. * src/nm-device-802-11-wireless.c
  4048. - (nm_device_802_11_wireless_update_signal_strength,
  4049. real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
  4050. nm_device_802_11_wireless_set_mode,
  4051. nm_device_802_11_wireless_get_frequency,
  4052. nm_device_802_11_wireless_get_ssid,
  4053. nm_device_802_11_wireless_set_ssid,
  4054. nm_device_802_11_wireless_get_bitrate,
  4055. nm_device_802_11_wireless_get_bssid,
  4056. nm_device_802_11_wireless_disable_encryption): use ioctl() directly
  4057. instead of iwlib functions
  4058. 2008-03-14 Dan Williams <dcbw@redhat.com>
  4059. * src/ppp-manager/nm-ppp-manager.c
  4060. - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
  4061. should only take the DBusGMethodInvocation argument, not user/pass
  4062. too. With dbus-glib, async functions only take 2 C arguments since
  4063. the real dbus method arguments get passed back with
  4064. dbus_g_method_return()
  4065. 2008-03-13 Tambet Ingo <tambet@gmail.com>
  4066. * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
  4067. Adapt the changes of NMSettingIP4Config.
  4068. 2008-03-13 Dan Williams <dcbw@redhat.com>
  4069. * src/NetworkManagerUtils.c
  4070. src/NetworkManagerUtils.h
  4071. - (nm_ether_ntop): replacement for iw_ether_ntop()
  4072. * src/NetworkManagerAP.c
  4073. src/nm-device-802-11-wireless.c
  4074. src/nm-device-802-3-ethernet.c
  4075. - s/iw_ether_ntop/nm_ether_ntop/g
  4076. 2008-03-13 Dan Williams <dcbw@redhat.com>
  4077. * src/NetworkManagerPolicy.c
  4078. - (update_routing_and_dns): never set the default route through an
  4079. IPv4LL addressed device
  4080. 2008-03-13 Dan Williams <dcbw@redhat.com>
  4081. * NetworkManagerUtils.c
  4082. NetworkManagerUtils.h
  4083. - Remove NMSock stuff
  4084. - Remove the completion stuff
  4085. * nm-device.c
  4086. nm-device.h
  4087. NetworkManager.c
  4088. NetworkManagerSystem.c
  4089. autoip.c
  4090. nm-device-802-11-wireless.c
  4091. nm-device-802-3-ethernet.c
  4092. - Remove NMSock and completion stuff
  4093. - Remove nm_ioctl_info()
  4094. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4095. * src/nm-device.c
  4096. - (merge_ip4_config): avoid duplicates
  4097. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4098. * libnm-util/nm-setting-ip4-config.c
  4099. libnm-util/nm-setting-ip4-config.h
  4100. - Remove 'manual' and 'autoip' properties
  4101. - Add 'method' property
  4102. - (verify): fix verification with 'method'
  4103. - (finalize): free 'method'
  4104. - (set_property, get_property, nm_setting_ip4_config_class_init): fix
  4105. up for 'method'
  4106. * src/nm-device.c
  4107. - (real_act_stage3_ip_config_start): check IP4Config method
  4108. - (nm_device_new_ip4_autoip_config): add a note about not sucking in
  4109. the future
  4110. - (merge_ip4_config): IP settings are valid with DHCP too
  4111. - (real_act_stage4_get_ip4_config): handle all IP4Config methods
  4112. - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
  4113. * src/nm-device-802-11-wireless.c
  4114. - (real_act_stage3_ip_config_start): remove; autoip only on demand
  4115. - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
  4116. only on demand
  4117. * system-settings/plugins/ifcfg-fedora/parser.c
  4118. system-settings/plugins/ifcfg-suse/parser.c
  4119. - (make_ip4_setting): fix up for 'method'
  4120. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4121. * system-settings/plugins/ifcfg-fedora/parser.c
  4122. system-settings/plugins/ifcfg-fedora/parser.h
  4123. - (get_ifcfg_name): ignore more file suffixes
  4124. - (is_wireless_device): fix check for ifcfgs that have no TYPE
  4125. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4126. * configure.in
  4127. - Bring in the bits of gnome-common we actually use (all 15 lines)
  4128. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4129. * system-settings/plugins/ifcfg-fedora/plugin.c
  4130. - (write_auto_wired_connection): new function; write out an auto
  4131. wired connection file since the applet isn't doing it any more
  4132. - (reload_all_connections): write out the auto wired connection file
  4133. if there aren't any wired connections already
  4134. - (init): don't leak a GError
  4135. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4136. * src/nm-device-interface.c
  4137. - (nm_device_interface_activate): print the ID of the connection
  4138. that's about to be activated
  4139. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4140. Harmonize the 802.11 bitrate API
  4141. * introspection/nm-access-point.xml
  4142. - 'Rate' -> 'MaxBitrate'; clarify units
  4143. * introspection/nm-device-802-11-wireless.xml
  4144. - Clarify units of 'Bitrate'
  4145. * src/NetworkManagerAP.c
  4146. src/NetworkManagerAP.h
  4147. - (set_property, get_property, nm_ap_class_init): rename 'rate'
  4148. property to 'max-bitrate'
  4149. - (foreach_property_cb): convert rate to Kb/s
  4150. * src/nm-device-802-11-wireless.c
  4151. - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
  4152. * libnm-glib/nm-access-point.c
  4153. libnm-glib/nm-access-point.h
  4154. - 'rate' -> 'max-bitrate'
  4155. * test/nm-tool.c
  4156. libnm-glib/libnm-glib-test.c
  4157. - Fix up for these changes
  4158. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4159. * src/nm-device.c
  4160. - (nm_device_set_ip4_config): don't send property notifications when
  4161. the ip4 config is set to NULL; it causes a PropertyChanged signal
  4162. which dbus-glib can't parse because the value is NULL, which isn't
  4163. a legal object path. Setting the IP4 config to NULL is only
  4164. valid when deactivating a device anyway, so the device state change
  4165. will alert listeners that the ip4 config is invalid.
  4166. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4167. * src/nm-properties-changed-signal.c
  4168. - (add_to_string): better handling of NULL objects
  4169. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4170. Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
  4171. convert the libnm-glib NMDevice8023Ethernet to cached properties
  4172. * introspection/nm-device-802-3-ethernet.xml
  4173. - New 'Carrier' property
  4174. - New 'PropertiesChanged' signal
  4175. * introspection/nm-device.xml
  4176. - Remove 'Carrier' property
  4177. - Remove 'CarrierChanged' signal
  4178. * src/nm-device-interface.c
  4179. src/nm-device-interface.h
  4180. - (nm_device_interface_init): remove 'carrier' property and
  4181. 'carrier-changed' signal
  4182. * src/nm-device.c
  4183. src/nm-device.h
  4184. - (nm_device_get_carrier, nm_device_set_carrier): remove
  4185. - (nm_device_activate_stage5_ip_config_commit): don't bother updating
  4186. the link here; wired device will handle that
  4187. - (handle_dhcp_lease_change): don't bother updating link here
  4188. - (get_property, nm_device_class_init): remove carrier property
  4189. * src/nm-device-802-11-wireless.c
  4190. - (real_update_link, nm_device_802_11_wireless_class_init): remove
  4191. real_update_link(); wireless devices don't use carrier at all
  4192. - (link_timeout_cb, supplicant_iface_state_cb_handler,
  4193. supplicant_iface_connection_state_cb_handler,
  4194. supplicant_mgr_state_cb_handler): remove anything to do with carrier
  4195. * src/nm-device-802-3-ethernet.c
  4196. src/nm-device-802-3-ethernet.h
  4197. - (nm_device_802_3_ethernet_carrier_on,
  4198. nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
  4199. instead of nm_device_set_carrier()
  4200. - (device_state_changed): update link from sysfs on activation;
  4201. replaces real_update_link()
  4202. - (real_update_link): remove, replaced by device_state_changed()
  4203. - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
  4204. - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
  4205. - (real_get_generic_capabilities, real_can_interrupt_activation): use
  4206. new get_carrier function
  4207. - (get_property): add 'carrier' property
  4208. - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
  4209. hook into property-changed signal helper
  4210. * src/NetworkManagerPolicy.c
  4211. - (device_carrier_changed): will only ever be called with a wired device
  4212. - (device_added): only hook up to carrier-changed for wired devices
  4213. * libnm-glib/nm-device.c
  4214. libnm-glib/nm-device.h
  4215. - (constructor, nm_device_class_init): remove carrier-changed signal
  4216. - (device_carrier_changed_proxy): remove; unused
  4217. - (nm_device_get_carrier): remove; carrier a property of wired devices
  4218. * libnm-glib/nm-device-802-3-ethernet.c
  4219. libnm-glib/nm-device-802-3-ethernet.h
  4220. - Convert to cached properties like AP and Wireless objects
  4221. - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
  4222. instead of a 'char *', return value should not be freed
  4223. - (nm_device_802_3_ethernet_get_carrier): return current carrier status
  4224. - (constructor): hook into properties-changed helper
  4225. - (set_property, get_property): new functions
  4226. - (nm_device_802_3_ethernet_class_init): export GObject properties
  4227. * test/nm-tool.c
  4228. - (detail_device): strdup the wired hardware address too since it's
  4229. cached now
  4230. * libnm-glib/libnm-glib-test.c
  4231. - (dump_wired): strdup the wired hardware address too since it's
  4232. cached now
  4233. 2008-03-12 Dan Williams <dcbw@redhat.com>
  4234. * libnm-util/nm-setting-ip4-config.c
  4235. libnm-util/nm-setting-ip4-config.h
  4236. - (set_property, get_property, nm_setting_ip4_config_class_init): add
  4237. the 'autoip' property from the spec
  4238. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4239. * src/backends/NetworkManagerGeneric.c
  4240. src/backends/NetworkManagerGeneric.h
  4241. - (nm_generic_device_get_use_dhcp): remove
  4242. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4243. * src/nm-device.c
  4244. - (nm_device_deactivate): don't need to munge DNS here; that gets done
  4245. already in nm_device_set_ip4_config()
  4246. - (handle_dhcp_lease_change): fail the device if setting the IP4Config
  4247. due to a DHCP rebind fails
  4248. - (nm_device_set_ip4_config): send property notifications when the
  4249. ip4 config changes
  4250. - (get_property): only report IP4Config property during valid states
  4251. * src/NetworkManagerPolicy.c
  4252. - (update_routing_and_dns): ignore devices that don't have an ip4
  4253. config; add parameter 'force_update' to allow callers to specify
  4254. that changes should be made even if the default device doesn't change
  4255. - (device_ip4_config_changed): update DNS and routing when the device's
  4256. IP4Config changes, like for DHCP updates
  4257. - (device_added): listen for ip4-config property changes
  4258. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4259. Fix address handling as a result of DHCP rebind/renew/reboot.
  4260. * src/NetworkManagerSystem.c
  4261. - (check_one_address): delete an address if it doesn't match a given
  4262. one for the same interface
  4263. - (nm_system_device_set_from_ip4_config): don't flush the default route,
  4264. be smarter about flushing addresses (only flush ones that don't
  4265. match the one we're about to apply)
  4266. * src/backends/NetworkManagerDebian.c
  4267. src/backends/NetworkManagerSuSE.c
  4268. src/backends/NetworkManagerArch.c
  4269. src/backends/NetworkManagerSlackware.c
  4270. src/backends/NetworkManagerRedHat.c
  4271. src/backends/NetworkManagerPaldo.c
  4272. src/backends/NetworkManagerFrugalware.c
  4273. src/backends/NetworkManagerGentoo.c
  4274. - (nm_system_delete_default_route): remove
  4275. * src/backends/NetworkManagerGeneric.c
  4276. src/backends/NetworkManagerGeneric.h
  4277. - (nm_generic_enable_loopback): fix the loopback device label
  4278. - (nm_generic_delete_default_route): remove; no longer used
  4279. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4280. * src/nm-device-interface.h
  4281. - Delimit property name words with '-', otherwise g_object_notify()
  4282. doesn't work the way we expect
  4283. 2008-03-11 Tambet Ingo <tambet@gmail.com>
  4284. * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
  4285. 2008-03-11 Dan Williams <dcbw@redhat.com>
  4286. * src/NetworkManagerPolicy.c
  4287. - (update_routing_and_dns): don't change anything if the default device
  4288. hasn't changed; print something out when switching the default route
  4289. and DNS
  4290. 2008-03-10 Tambet Ingo <tambet@gmail.com>
  4291. Implement PPPoE.
  4292. * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
  4293. setting. Use "nic-$eth".
  4294. * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
  4295. the device is activating here to fix a race condition.
  4296. * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
  4297. * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
  4298. (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
  4299. (nm_ppp_manager_start): Take activation request instead of connection, we might
  4300. need it for asking secrets.
  4301. (nm_ppp_manager_update_secrets): Implement.
  4302. * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
  4303. ppp manager start. It might be needed for asking secrets.
  4304. * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
  4305. (ppp_state_changed): Handle pppd daemon disappearing.
  4306. (pppoe_stage2_config): Send activation request to ppp manager start.
  4307. * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
  4308. * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
  4309. username and password.
  4310. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4311. * src/nm-device.c
  4312. - (handle_dhcp_lease_change): apply an IP4 config to a device in
  4313. response to a DHCP lease change
  4314. - (dhcp_state_changed): handle DHCP lease changes while activated
  4315. - (nm_device_set_ip4_config): remove a previously set named config
  4316. when setting an ip4 config
  4317. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4318. * src/nm-serial-device.c
  4319. - (nm_serial_device_send_command): report errno on error
  4320. - (get_reply_got_data): limit the size of the overall buffer
  4321. - (wait_for_reply_info_destroy): destroy result string
  4322. - (wait_for_reply_got_data): append received data to an overall buffer
  4323. until timeout, filled buffer, or error instead of keeping a per-call
  4324. buffer. Some devices send data slowly enough that this function
  4325. gets called multiple times for the same command stream.
  4326. - (nm_serial_device_wait_for_reply): initialize overall buffer for
  4327. wait_for_reply_got_data() here
  4328. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4329. * src/nm-cdma-device.c
  4330. - (do_dial, init_modem): handle errors from
  4331. nm_serial_device_send_command_string()
  4332. * src/nm-gsm-device.c
  4333. - (do_dial, manual_registration, automatic_registration_get_network,
  4334. automatic_registration, enter_pin, check_pin, init_modem): handle
  4335. errors from nm_serial_device_send_command_string()
  4336. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4337. Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
  4338. * src/named-manager/nm-named-manager.c
  4339. - (compute_searches): prefer searches before domains
  4340. - (compute_domain): new function
  4341. - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
  4342. - (merge_one_ip4_config): if there are no searches in the source config,
  4343. merge domains of the source config into the target config
  4344. - (compute_nameservers): make formatting of resolv.conf a bit nicer
  4345. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4346. * src/nm-serial-device.c
  4347. - (get_reply_got_data): clean up indentation, shrink serial buffer
  4348. - (wait_for_reply_got_data): try to handle slower serial devices where
  4349. the reply is broken up into multiple reads by concatenating replies
  4350. together until either an error is received or the search string is
  4351. found
  4352. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4353. * src/nm-device.c
  4354. - (nm_device_bring_down): deactivate the device if it's activating too,
  4355. not just if it's already activated. This makes sure that everything
  4356. from an association attempt is cleaned up (like DHCP for example)
  4357. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4358. * src/nm-serial-device.c
  4359. - (config_fd): report error from TCSETA
  4360. - (nm_serial_device_open): fail when config_fd() fails
  4361. 2008-03-10 Dan Williams <dcbw@redhat.com>
  4362. * src/nm-ip4-config.c
  4363. - (nm_ip4_config_init): allocate searches list
  4364. - (finalize): free searches list
  4365. 2008-03-09 Dan Williams <dcbw@redhat.com>
  4366. Patch from Bas Zoetekouw <bas@debian.org>
  4367. * src/dhcp-manager/nm-dhcp-manager.c
  4368. - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
  4369. 2008-03-09 Dan Williams <dcbw@redhat.com>
  4370. Patch from Bas Zoetekouw <bas@debian.org>
  4371. * src/nm-ip4-config.c
  4372. src/nm-ip4-config.h
  4373. - (nm_ip4_config_add_search, nm_ip4_config_get_search,
  4374. nm_ip4_config_get_num_searches): add 'searches' as distinct from
  4375. domains. 'searches' is the correct way to store multiple search
  4376. domains, whereas 'domains' is really just supposed to store one
  4377. domain. Some sites abuse the DHCP 'domain-name' option to push
  4378. search domains to the client.
  4379. - (nm_ip4_config_add_domain): group with related functions (my patch)
  4380. 2008-03-09 Dan Williams <dcbw@redhat.com>
  4381. * src/dhcp-manager/nm-dhcp-manager.c
  4382. - (dhclient_run): send interface-specific config files to dhclient
  4383. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4384. * system-settings/plugins/ifcfg-fedora/parser.c
  4385. - (is_wireless_device): new function; test a device for wireless
  4386. extensions
  4387. - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
  4388. test the device for wireless extensions to determine the type
  4389. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4390. Change manager's StateChange signal to StateChanged for consistency.
  4391. * introspection/nm-manager.xml
  4392. - Add 'StateChanged' signal
  4393. - Move 'StateChange' down to the deprecated section
  4394. * src/nm-hal-manager.c
  4395. - (nm_hal_manager_new): connect to 'state-changed' instead
  4396. * src/NetworkManagerPolicy.c
  4397. - (nm_policy_new): connect to 'state-changed' instead
  4398. * src/nm-manager.c
  4399. src/nm-manager.h
  4400. - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
  4401. - (nm_manager_class_init): add 'state-changed' and not the deprecation
  4402. of 'state-change'
  4403. * libnm-glib/nm-client.c
  4404. libnm-glib/nm-client.h
  4405. - (constructor, nm_client_class_init, client_state_changed_proxy):
  4406. track and proxy 'state-changed' instead of 'state-change'
  4407. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4408. First pass of multiple active device support. Expect bugs.
  4409. * src/nm-ip4-config.c
  4410. src/nm-ip4-config.h
  4411. - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
  4412. there are better ways to do this in the named manager
  4413. * src/nm-device.c
  4414. src/nm-device.h
  4415. - (nm_device_can_activate): return whether the device can activate a
  4416. connection right now; taking into account things like carrier state
  4417. and rfkill state
  4418. - (nm_device_get_best_auto_connection): renamed from
  4419. nm_device_get_best_connection
  4420. - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
  4421. device subclasses themselves, so that each device can override the
  4422. MTU from it's NMSetting subclass if needed
  4423. - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
  4424. in NetworkManagerSystem.c, not here
  4425. * src/named-manager/nm-named-manager.c
  4426. src/named-manager/nm-named-manager.h
  4427. - (nm_named_manager_name_owner_changed,
  4428. nm_named_manager_dbus_connection_changed): fix for changes to
  4429. rewrite_resolv_conf()
  4430. - (compute_nameservers): don't need the NMNamedManager at all, remove
  4431. from parameter list
  4432. - (merge_one_ip4_config): new function; merge ip4 configs together
  4433. - (rewrite_resolv_conf): write out resolv.conf from all the stored
  4434. ip4 configs; the VPN config takes precedence, then the best
  4435. device config, then the rest of the configs
  4436. - (get_domain_for_config): take the NMNamedManager as an argument
  4437. to check whether the config is the VPN config
  4438. - (add_ip4_config_to_named): fixups for removal of the 'secondary'
  4439. attribute from ip4 configs
  4440. - (add_all_ip4_configs_to_named): add all the configs in priority order
  4441. - (remove_ip4_config_from_named): fix for changes to
  4442. get_domain_for_config()
  4443. - (nm_named_manager_add_ip4_config): assign the config to the right slot
  4444. based on its type; callers must pass in the type now
  4445. - (get_last_default_domain): remove, unused
  4446. - (nm_named_manager_remove_ip4_config): handle config slots correctly
  4447. * src/nm-device-802-11-wireless.c
  4448. - (real_can_activate): new function
  4449. - (real_get_best_auto_connection): renamed from real_get_best_connection
  4450. - (real_act_stage4_get_ip4_config): handle MTU override
  4451. * src/nm-device-802-3-ethernet.c
  4452. - (real_can_activate): new function
  4453. - (real_get_best_auto_connection): renamed from real_get_best_connection
  4454. - (real_act_stage4_get_ip4_config): new function; handle MTU override
  4455. * src/vpn-manager/nm-vpn-connection.c
  4456. - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
  4457. attribute on the ip4 config
  4458. * src/NetworkManagerPolicy.c
  4459. - (nm_policy_auto_get_best_device): remove
  4460. - (nm_policy_device_change_check): remove
  4461. - (update_default_route): new function; set the default route via
  4462. the specified device
  4463. - (get_device_priority): new function; return the priority number of
  4464. a device type WRT which one should have the default route. Order is
  4465. (highest to lowest) wired, wireless, GSM, CDMA.
  4466. - (update_routing_and_dns): new function; determine which device should
  4467. have the default route, then update the routing table and DNS
  4468. - (maybe_auto_activate_device): new function; if a device is now
  4469. available for activation, find out what connection it would like to
  4470. activate and do it
  4471. - (schedule_activate_check): new function; if a device can be activated
  4472. now, schedule the activation. Each device may have only one
  4473. pending activation at a given time.
  4474. - (device_state_changed): if activation was canceled, try again,
  4475. possibly with another connection; if the device was activated,
  4476. update routing and DNS; if the device was deactivated, try again
  4477. with another connection
  4478. - (device_carrier_changed): if there is no carrier, deactivate the
  4479. device; otherwise schedule an activation check for the device
  4480. - (wireless_networks_changed): schedule an activation check for the
  4481. device
  4482. - (device_added): keep track of the signal handler IDs so they can
  4483. be removed when the device goes away
  4484. - (device_removed): remove any signal handlers that might be attached
  4485. to the device; update routing and DNS
  4486. - (schedule_activate_all): new function
  4487. - (connections_added, connection_added, connection_updated): when
  4488. connections change, schedule all devices for an activation check
  4489. - (connection_removed): when a device is deactivated because its
  4490. connection was removed, schedule another activation check for it
  4491. - (nm_policy_destroy): destroy pending activations and disconnect
  4492. all device signal handlers
  4493. * src/nm-manager.c
  4494. - (nm_manager_activate_device): if the device was already actived,
  4495. deactivate it
  4496. - (deactivate_old_device): remove
  4497. - (connection_added_default_handler, impl_manager_activate_device):
  4498. don't deactivate other devices when activating this one
  4499. * src/backends/NetworkManagerGentoo.c
  4500. src/backends/NetworkManagerFrugalware.c
  4501. src/backends/NetworkManagerPaldo.c
  4502. src/backends/NetworkManagerRedHat.c
  4503. src/backends/NetworkManagerSlackware.c
  4504. src/backends/NetworkManagerArch.c
  4505. src/backends/NetworkManagerSuSE.c
  4506. src/backends/NetworkManagerDebian.c
  4507. - (nm_system_get_mtu): remove; MTU should be provided through the
  4508. distro's system settings service plugin instead
  4509. - (nm_system_device_add_default_route_via_device): remove
  4510. - (nm_system_device_add_default_route_via_device_with_iface): remove
  4511. - (nm_system_device_replace_default_route): new function; call
  4512. generic implementation
  4513. * src/backends/NetworkManagerGeneric.c
  4514. src/backends/NetworkManagerGeneric.h
  4515. - (nm_generic_device_add_default_route_via_device,
  4516. nm_generic_device_add_default_route_via_device_with_iface): remove
  4517. - (nm_generic_device_replace_default_route): replace the default route
  4518. with the given route via some gateway
  4519. * src/NetworkManagerSystem.c
  4520. src/NetworkManagerSystem.h
  4521. - (nm_system_device_set_from_ip4_config): let the policy handle updates
  4522. to routing and DNS; but set the MTU here
  4523. - (nm_system_vpn_device_set_from_ip4_config): set the route with the
  4524. ip_iface of the active device; use the standard MTU setting function
  4525. - (nm_system_set_mtu): remove
  4526. - (nm_system_device_set_mtu): consolidate MTU setting code in one place
  4527. 2008-03-07 Tambet Ingo <tambet@gmail.com>
  4528. Rework the interaction between ppp manager and pppd plugin. Register a well
  4529. known DBUS service in manager and let the plugin call it's methods instead
  4530. of listening plugin's signals.
  4531. * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
  4532. of emitting signals.
  4533. * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
  4534. * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
  4535. * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
  4536. nm_ppp_manager_start().
  4537. * introspection/nm-ppp-manager.xml: New file.
  4538. * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
  4539. the case correctly where driver is trying to send -1 for the speed, which gets
  4540. casted to u16 and thus is always > 0.
  4541. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4542. * src/nm-hal-manager.c
  4543. - (nm_get_device_driver_name): use net.originating_device first, fall
  4544. back to physical device. HAL has deprecated physical_device.
  4545. * libnm-glib/nm-device.c
  4546. - (get_product_and_vendor): use net.originating_device first, fall
  4547. back to physical device. HAL has deprecated physical_device.
  4548. - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
  4549. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4550. * src/nm-netlink.c
  4551. - (nm_netlink_get_default_handle): mistakenly removed too much code in
  4552. last commit; fix that
  4553. - (get_link_cache): print error string
  4554. 2008-03-07 Dan Williams <dcbw@redhat.com>
  4555. * src/nm-netlink.c
  4556. - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
  4557. don't need this hack any more (Benoit Boissinot)
  4558. 2008-03-06 Dan Williams <dcbw@redhat.com>
  4559. * autogen.sh
  4560. - Die gnome-common, die
  4561. 2008-03-04 Dan Williams <dcbw@redhat.com>
  4562. Patch from Michael Biebl <biebl@debian.org>
  4563. * NetworkManager.pc.in
  4564. - doesn't actually depend on dbus-1
  4565. * libnm-util/nm-utils.h
  4566. - remove unused #include <dbus/dbus.h>
  4567. * libnm-glib/libnm_glib.pc.in
  4568. - depends on glib and dbus-glib
  4569. 2008-03-02 Dan Williams <dcbw@redhat.com>
  4570. * src/NetworkManagerPolicy.c
  4571. - s/device_state_changed_idle_id/update_state_id/
  4572. 2008-03-02 Dan Williams <dcbw@redhat.com>
  4573. * src/nm-device.c
  4574. src/nm-device.h
  4575. src/nm-device-802-11-wireless.c
  4576. src/nm-device-802-3-ethernet.c
  4577. src/NetworkManagerPolicy.c
  4578. - s/link_active/carrier
  4579. - nm_device_set_active_link() -> nm_device_set_carrier()
  4580. - nm_device_has_active_link() -> nm_device_get_carrier()
  4581. 2008-03-02 Dan Williams <dcbw@redhat.com>
  4582. * system-settings/plugins/ifcfg-fedora/parser.c
  4583. - (make_wireless_setting): fail connection creation on missing SSID
  4584. 2008-02-29 Dan Williams <dcbw@redhat.com>
  4585. * src/NetworkManagerPolicy.c
  4586. - (nm_policy_device_change_check): ensure that a previously active
  4587. device with a system connection has a link before denying a switch
  4588. to a user connection
  4589. 2008-02-29 Dan Williams <dcbw@redhat.com>
  4590. * src/nm-device-802-11-wireless.c
  4591. - (link_timeout_cb): try again if scanning; deactivate the device when
  4592. activated if the link dies
  4593. - (supplicant_iface_connection_state_cb_handler): bump link timeout to
  4594. 15 seconds
  4595. 2008-02-29 Dan Williams <dcbw@redhat.com>
  4596. * src/nm-device-802-11-wireless.c
  4597. src/nm-device-802-11-wireless.h
  4598. - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
  4599. elsewhere; fold into the sole user in nm-device-802-11-wireless.c
  4600. - (device_cleanup): reset the scan interval lower when the device
  4601. deactivates
  4602. - (can_scan): base decision mostly off device state, not supplicant
  4603. interface state since the supplicant interface state isn't a
  4604. great indicator of whether the device is active or not
  4605. - (request_wireless_scan): clean up; schedule the next scan here
  4606. - (schedule_scan): only back the scan interval off if a new scan
  4607. actually gets scheduled; and make scan intervals tighter when the
  4608. device is disconnected
  4609. - (supplicant_iface_state_cb_handler): fold in the bits of
  4610. nm_device_802_11_wireless_reset_scan_interval() by resetting scan
  4611. interval to minimum
  4612. - (activation_success_handler): reset scan interval to something
  4613. reasonable
  4614. 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
  4615. reviewed by: Steev <steev@steev.net>
  4616. * configure.in:
  4617. * src/backends/NetworkManagerGentoo.c:
  4618. (nm_system_restart_mdns_responder):
  4619. Howl is no longer a supported mDNS provider
  4620. 2008-02-28 Tambet Ingo <tambet@gmail.com>
  4621. Get rid of a bunch of unused distro specific functions.
  4622. 2008-02-28 Tambet Ingo <tambet@gmail.com>
  4623. Implement suse plugin for system settings daemon.
  4624. * system-settings/plugins/ifcfg-suse/*: Implement.
  4625. * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
  4626. suse.
  4627. * configure.in: Check (without failing) for gio.
  4628. Create ifcfg-suse plugin's Makefile.
  4629. 2008-02-20 Dan Williams <dcbw@redhat.com>
  4630. * libnm-util/nm-connection.c
  4631. libnm-util/nm-connection.h
  4632. - (nm_connection_compare): accept compare flags and pass them to the
  4633. setting compare function
  4634. * libnm-util/nm-setting.c
  4635. libnm-util/nm-setting.h
  4636. - (nm_setting_compare): accept compare flags; ignore properties that are
  4637. marked fuzzy
  4638. * libnm-util/nm-setting-connection.c
  4639. libnm-util/nm-setting-wireless.c
  4640. libnm-util/nm-setting-ppp.c
  4641. libnm-util/nm-setting-wired.c
  4642. - Mark some setting properties as ignorable when doing a fuzzy compare
  4643. * src/nm-device.c
  4644. - (device_activation_precheck): use exact compare
  4645. 2008-02-20 Dan Williams <dcbw@redhat.com>
  4646. * src/NetworkManagerPolicy.c
  4647. - (nm_policy_device_change_check): get scope off the connection, not
  4648. using the manager helper
  4649. * src/nm-manager.c
  4650. src/nm-manager.h
  4651. - (get_scope_for_proxy): rename from get_type_for_proxy()
  4652. - (connection_get_settings_cb): set scope and path on connection, not
  4653. using GObject data items
  4654. - (get_connection_for_proxy): don't need to return path, since that
  4655. can be gotten from the connection
  4656. - (get_connection_for_proxy): get path off the connection, not from
  4657. parameters
  4658. - (connection_removed_cb, connection_updated_cb): don't need to get
  4659. path from get_connection_for_proxy(); get scope off the connection
  4660. instead of using GObject data items
  4661. - (connection_added_default_handler, add_one_connection_element): use
  4662. nm_connection_get_path() not nm_manager_get_connection_dbus_path()
  4663. - (nm_manager_get_connection_dbus_path): remove
  4664. - (nm_manager_get_connection_scope): remove
  4665. 2008-02-20 Dan Williams <dcbw@redhat.com>
  4666. * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
  4667. on confusing names
  4668. * Add 'path' and 'scope' properties to NMConnection since both NM and the
  4669. applet were having to hack this in anyway. Remove the 'path' stuff from
  4670. NMExportedConnection
  4671. * Internally rename NMConnectionType -> NMConnectionScope
  4672. * Provide default implementations of the 'get_id' and 'get_settings' methods
  4673. of NMExportedConnection
  4674. 2008-02-15 Dan Williams <dcbw@redhat.com>
  4675. * src/nm-device-802-11-wireless.c
  4676. - (device_cleanup): release the AP list here too so that the AP list
  4677. doesn't survive across suspend/resume and up/down. There is some
  4678. room for optimization, for example blow the list away when the card
  4679. brought back up, but only if the device has only been down for a
  4680. minute or more.
  4681. 2008-02-15 Dan Williams <dcbw@redhat.com>
  4682. * src/nm-hal-manager.c
  4683. - (modem_device_creator): recognize new HAL modem capabilities
  4684. 2008-02-12 Dan Williams <dcbw@redhat.com>
  4685. * system-settings/plugins/ifcfg-fedora/plugin.c
  4686. - (watch_path): handle IN_DELETE_SELF too
  4687. - (handle_connection_changed): notify when removing a connection
  4688. - (stuff_changed): don't warn on unknown inotify watches; handle the
  4689. case of a file moving out of the profile directory
  4690. 2008-02-12 Dan Williams <dcbw@redhat.com>
  4691. * system-settings/plugins/ifcfg-fedora/parser.c
  4692. - (make_ip4_setting): bring IPv4 setting handling more up to spec
  4693. 2008-02-12 Dan Williams <dcbw@redhat.com>
  4694. * libnm-util/nm-utils.c
  4695. - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
  4696. just any empty array
  4697. 2008-02-12 Dan Williams <dcbw@redhat.com>
  4698. * system-settings/src/nm-system-config-interface.c
  4699. system-settings/src/nm-system-config-interface.h
  4700. - (load_connections): get_connections() should now return an allocated
  4701. GSList that the system settings service will free
  4702. * system-settings/plugins/ifcfg-fedora/plugin.c
  4703. system-settings/plugins/ifcfg-fedora/parser.h
  4704. system-settings/plugins/ifcfg-fedora/parser.c
  4705. - Fix up inotify issues; handle keys-* files, handle new files appearing
  4706. in the profile directory, handle resolv.conf file changes
  4707. 2008-02-10 Dan Williams <dcbw@redhat.com>
  4708. * src/nm-device-802-3-ethernet.c
  4709. - (real_bring_up): save the supplicant interface state signal id
  4710. - (real_bring_down): disconnect from the supplicant interface state
  4711. signal
  4712. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4713. * initscript/RedHat/NetworkManager.in
  4714. initscript/RedHat/NetworkManagerDispatcher.in
  4715. - Add new-style LSB init headers
  4716. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4717. * system-settings/src/dbus-settings.c
  4718. system-settings/src/dbus-settings.h
  4719. - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
  4720. table of secrets
  4721. - (connection_settings_get_secrets): consolidate error returns into
  4722. one place; use the new get_secrets() plugin interface function to
  4723. get secrets from the plugin itself rather than using GObject data
  4724. magic
  4725. * system-settings/src/main.c
  4726. - (connection_added_cb, connection_removed_cb, free_plugin_connections,
  4727. load_connections): keep a private list of the plugin-returned
  4728. connections, don't use the plugin's GSList
  4729. * system-settings/plugins/ifcfg-fedora/plugin.c
  4730. - (watch_path): watch the path, not the filename (duh)
  4731. - (reload_all_connections): use the direct hash/equal functions; the
  4732. ones for int aren't appropriate here
  4733. - (get_secrets, system_config_interface_init): implement the
  4734. get_secrets() function
  4735. - (build_one_connection, find_connection_by_path): ifcfg file path is
  4736. now in the connection's ConnectionData instead of being a GObject
  4737. data property
  4738. - (handle_profile_item_changed): ifcfg file path is now in the
  4739. connection's ConnectionData instead of being a GObject data property;
  4740. be sure to copy secrets over from the new connection to the existing
  4741. connection when updating the connection's settings
  4742. - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
  4743. file descriptor
  4744. * system-settings/plugins/ifcfg-fedora/parser.c
  4745. system-settings/plugins/ifcfg-fedora/parser.h
  4746. - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
  4747. connection_data_copy_secrets, connection_data_free,
  4748. connection_data_add): new functions; connection data manipulation
  4749. - (make_wireless_security_setting): stuff secrets into the
  4750. connection data, not as GObject data items; make sure to close
  4751. the keys ifcfg file
  4752. - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
  4753. connection data to the connection
  4754. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4755. * system-settings/src/nm-system-config-interface.c
  4756. system-settings/src/nm-system-config-interface.h
  4757. - Add a get_secrets() interface function to retrieve secrets for a
  4758. specific setting of a specific connection. Document the interface
  4759. a bit more too.
  4760. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4761. * src/nm-device-802-11-wireless.c
  4762. - (handle_auth_or_fail): new function; consolidate device activation
  4763. failure check after a certain number of failures getting secrets
  4764. - (supplicant_connection_timeout_cb, real_act_stage2_config,
  4765. real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
  4766. the connection if secrets were requested more than a few times
  4767. - (real_act_stage3_ip_config_start): don't clear the wireless secrets
  4768. tries here; otherwise they are cleared before the IP configure
  4769. timeout, which happens with open system WEP when key is wrong
  4770. - (activation_success_handler): clear wireless secrets tries here too
  4771. 2008-02-07 Dan Williams <dcbw@redhat.com>
  4772. * src/NetworkManagerPolicy.c
  4773. - (connection_updated): clear invalid tag when connection gets updated
  4774. to allow that connection to be tried again
  4775. - (nm_policy_new): save signal ids so they can be disconnected when
  4776. the policy is destroyed
  4777. - (nm_policy_destroy): stop any in-progress state change idle handler,
  4778. and disconnect all signals from the manager object so that none
  4779. of the policy functions gets called after the policy is destroyed
  4780. 2008-02-06 Dan Williams <dcbw@redhat.com>
  4781. * src/nm-manager.c
  4782. - (finalize): remove devices a bit earlier; clean up system settings
  4783. poke
  4784. - (nm_manager_name_owner_changed): clean up system settings poke when
  4785. the service appears, and try to restart it if it fails
  4786. - (poke_system_settings_daemon_cb): try to get the system settings
  4787. service started through D-Bus service activation
  4788. - (initial_get_connections): start the system settings daemon if it's
  4789. not already running
  4790. 2008-02-05 Dan Williams <dcbw@redhat.com>
  4791. * src/supplicant-manager/nm-supplicant-config.c
  4792. - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
  4793. broadcast networks too
  4794. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4795. * system-settings/plugins/ifcfg-fedora/parser.c
  4796. - (make_wireless_security_setting): fix spelling; unencrypted networks
  4797. need key_mgmt set too
  4798. - (parser_parse_file): validate ifcfg file name and don't try to parse
  4799. .bak files; ensure that an error is set whenever NULL gets returned
  4800. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4801. * system-settings/src/Makefile.am
  4802. - Install D-Bus service activation file for the system settings
  4803. service
  4804. * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
  4805. - D-Bus service activation file for system settings service
  4806. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4807. * system-settings/src/main.c
  4808. - (parse_config_file): parse a config file
  4809. - (main): accept --config option and read plugins from config file
  4810. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4811. * system-settings/plugins/ifcfg-fedora/plugin.c
  4812. - Change reported name to 'ifcfg-fedora'
  4813. - Use IFCFG_PLUGIN_NAME
  4814. * system-settings/plugins/ifcfg-fedora/plugin.c
  4815. - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
  4816. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4817. * system-settings/plugins/ifcfg-fedora/parser.c
  4818. - (get_ifcfg_name): new function; factor out ifcfg name finding code
  4819. - (make_connection_setting): use get_ifcfg_name()
  4820. - (make_wireless_security_setting): handle shadow key files
  4821. - (get_one_wep_key): treat empty string as NULL
  4822. 2008-02-04 Dan Williams <dcbw@redhat.com>
  4823. * src/supplicant-manager/nm-supplicant-manager.c
  4824. - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
  4825. glib automatically reschedule
  4826. - (nm_supplicant_manager_init): immediately try to start the supplicant
  4827. - (nm_supplicant_manager_name_owner_changed): immediately try to restart
  4828. the supplicant
  4829. 2008-02-01 Dan Williams <dcbw@redhat.com>
  4830. * src/NetworkManagerPolicy.c
  4831. - (device_state_changed): schedule a change check when a device gets
  4832. deactivated so something happens if you disconnect GSM/CDMA
  4833. 2008-01-31 Dan Williams <dcbw@redhat.com>
  4834. * src/nm-device-802-11-wireless.h
  4835. src/nm-device-802-11-wireless.c
  4836. - (ap_list_get_ap_by_ssid, is_associated,
  4837. nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
  4838. nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
  4839. - (nm_device_802_11_wireless_get_activation_ap): collapse
  4840. nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
  4841. function
  4842. 2008-01-30 Dan Williams <dcbw@redhat.com>
  4843. * system-settings/plugins/ifcfg
  4844. * system-settings/plugins/ifcfg-fedora
  4845. - Move the ifcfg plugin to ifcfg-fedora
  4846. 2008-01-24 Dan Williams <dcbw@redhat.com>
  4847. * libnm-glib/nm-device-802-11-wireless.c
  4848. - (get_access_point): move the "/" check here; check for invalid path
  4849. too
  4850. - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
  4851. to get_access_point()
  4852. - (access_point_added_proxy, access_point_removed_proxy): don't try
  4853. to send signals for non-existent access points
  4854. 2008-01-24 Dan Williams <dcbw@redhat.com>
  4855. * libnm-glib/nm-device-802-11-wireless.c
  4856. - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
  4857. 2008-01-23 Dan Williams <dcbw@redhat.com>
  4858. * libnm-glib/libnm_glib.c
  4859. - (libnm_glib_init): make thread joinable
  4860. - (libnm_glib_ctx_free): join thread on exit to clean up memory
  4861. 2008-01-23 Dan Williams <dcbw@redhat.com>
  4862. * test/libnm_glib_test.c
  4863. - (signal_handler, setup_signals): trap SIGINT and SIGTERM
  4864. - (main): set up signal handlers; call libnm_glib_shutdown
  4865. 2008-01-21 Dan Williams <dcbw@redhat.com>
  4866. * include/NetworkManager.h
  4867. - Add CDMA mobile broadband card device type
  4868. * src/nm-hal-manager.c
  4869. - (modem_device_creator): handle both CDMA and GSM modems; the device
  4870. must now be tagged with 'cdma' or 'gsm' capability
  4871. * src/nm-cdma-device.c
  4872. src/nm-cdma-device.h
  4873. src/Makefile.am
  4874. - Add the CDMA mobile broadband card device class
  4875. * libnm-util/nm-connection.c
  4876. - (register_default_settings): add NMSettingCdma
  4877. * libnm-util/nm-setting-cdma.c
  4878. libnm-util/nm-setting-cdma.h
  4879. libnm-util/Makefile.am
  4880. - Add the CDMA mobile broadband card setting class
  4881. * libnm-glib/nm-cdma-device.c
  4882. libnm-glib/nm-cdma-device.h
  4883. libnm-glib/Makefile.am
  4884. - Add the CDMA mobile broadband card GLib proxy class
  4885. * libnm-glib/nm-client.c
  4886. - (get_device): handle CDMA devices too
  4887. 2008-01-21 Dan Williams <dcbw@redhat.com>
  4888. * src/ppp-manager/nm-ppp-manager.c
  4889. - (ip4_config_get): set peer address too
  4890. * src/ppp-manager/nm-pppd-plugin.c
  4891. - (nm_ip_up): try harder to get the peer's address
  4892. * src/NetworkManagerSystem.c
  4893. - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
  4894. address, use that too. Otherwise, some PPP connections won't work.
  4895. 2008-01-19 Dan Williams <dcbw@redhat.com>
  4896. * src/NetworkManagerPolicy.c
  4897. - (nm_policy_device_change_check): system connections override user
  4898. connections; don't activate a user connection if there's a currently
  4899. active system connection, and new, better system connections always
  4900. interrupt user connections
  4901. 2008-01-19 Dan Williams <dcbw@redhat.com>
  4902. * src/nm-manager.h
  4903. - (nm_manager_get_connection_type): new function
  4904. 2008-01-19 Dan Williams <dcbw@redhat.com>
  4905. * src/nm-device-802-11-wireless.c
  4906. - (real_get_best_connection): collapse find_best_connection() into this
  4907. function
  4908. 2008-01-19 Dan Williams <dcbw@redhat.com>
  4909. * src/nm-device-802-3-ethernet.c
  4910. - (real_get_best_connection): collapse find_best_connection() into this
  4911. function
  4912. 2008-01-18 Dan Williams <dcbw@redhat.com>
  4913. * src/nm-device-802-3-ethernet.c
  4914. - (find_best_connection): check MAC address too
  4915. - (real_get_best_connection): let autoconnect=True connections activate
  4916. for devices that don't have carrier detection
  4917. * src/nm-device-802-11-wireless.c
  4918. - (find_best_connection): check MAC address too
  4919. 2008-01-18 Dan Williams <dcbw@redhat.com>
  4920. * system-settings/plugins/ifcfg/parser.c
  4921. - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
  4922. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4923. * src/nm-device-802-3-ethernet.c
  4924. - (nm_device_802_3_ethernet_carrier_on,
  4925. nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
  4926. carrier events that might come in for devices that don't support
  4927. carrier detect
  4928. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4929. * src/nm-device-interface.c
  4930. - (nm_device_interface_check_connection_conflicts): need to actually
  4931. get the interface, not cast to the object
  4932. * src/nm-device.c
  4933. - (nm_device_check_connection_conflicts): need to get the device class,
  4934. not cast the device to the device class
  4935. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4936. * src/nm-device-802-11-wireless.c
  4937. - (real_check_connection_conflicts): ignore connections that aren't
  4938. wireless connections
  4939. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4940. * src/NetworkManagerPolicy.c
  4941. - (nm_policy_device_change_check): clear change check idle here
  4942. - (device_change_check_done): remove
  4943. - (schedule_change_check): simplify
  4944. 2008-01-17 Dan Williams <dcbw@redhat.com>
  4945. * src/nm-manager.c
  4946. - (check_connection_allowed): take an NMDeviceInterface instead of
  4947. an NMDevice object as an argument
  4948. - (nm_manager_activate_device): pass an NMDeviceInterface to
  4949. check_connection_allowed()
  4950. 2008-01-13 Dan Williams <dcbw@redhat.com>
  4951. * libnm-glib/nm-device-802-11-wireless.c
  4952. - (nm_device_802_11_wireless_get_access_points): fix memory leak
  4953. 2008-01-12 Dan Williams <dcbw@redhat.com>
  4954. * src/nm-device-802-11-wireless.c
  4955. - (activation_success_handler): if a match was found in the scan list
  4956. and that match is a hidden AP, update that AP's SSID
  4957. 2008-01-11 Dan Williams <dcbw@redhat.com>
  4958. * src/NetworkManagerAP.c
  4959. - (nm_ap_new_fake_from_connection): mark fake APs as fake
  4960. * src/nm-device-802-11-wireless.c
  4961. - (get_active_ap): do two passes over the scan list if the caller
  4962. requests that hidden APs get matched too; during the second pass
  4963. when matching hidden APs, ignore the SSID since hidden APs in the
  4964. scan list don't have an SSID yet
  4965. - (periodic_update): move some checks to
  4966. nm_device_802_11_periodic_update() because not all callers need them
  4967. - (nm_device_802_11_periodic_update): move some checks here from
  4968. perodic_update()
  4969. - (merge_scanned_ap): if the current AP is fake, then don't do strict
  4970. matching on incoming scan results, because the fake AP's flags
  4971. might be slightly different (yet still compatible) with the incoming
  4972. scan result's flags and they might actually be the same AP; update
  4973. the rate on merged APs too
  4974. - (activation_success_handler): update the frequency of the fake AP
  4975. on successful connection; match hidden APs too since if the
  4976. current AP is fake, there might already be a scan result in the
  4977. scan list for the desired AP, just without it's SSID filled in yet
  4978. 2008-01-10 Dan Williams <dcbw@redhat.com>
  4979. * src/NetworkManagerAP.c
  4980. - (foreach_property_cb): catch more hidden SSID formats
  4981. 2008-01-10 Dan Williams <dcbw@redhat.com>
  4982. Fix gnome.org #464215. Requires the kernel patch titled
  4983. "Introduce WEXT scan capabilities" but will handle the patch not being
  4984. present, you'll just continue to have problems with hidden SSIDs when
  4985. using mac80211-based drivers.
  4986. * src/supplicant-manager/nm-supplicant-config.h
  4987. src/supplicant-manager/nm-supplicant-config.c
  4988. - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
  4989. whether the driver supports SSID scans or not. If it does, and if
  4990. the AP is hidden, use ap_scan=1 instead of ap_scan=2
  4991. * src/nm-device-802-11-wireless.c
  4992. - (constructor): check whether or not the driver supports SSID scans
  4993. - (build_supplicant_config): pass driver SSID scan capability when
  4994. building the wireless bits of the supplicant config
  4995. 2008-01-09 Dan Williams <dcbw@redhat.com>
  4996. * src/nm-device.c
  4997. src/nm-device.h
  4998. - (device_activation_precheck, check_connection_complete): remove this
  4999. virtual function; incomplete connections should be invalid by
  5000. definition, complete-ness should be checked in the setting's
  5001. verify function
  5002. * src/nm-serial-device.c
  5003. src/nm-gsm-device.c
  5004. - (real_check_connection_complete): remove
  5005. * libnm-util/nm-setting-serial.c
  5006. - (verify): new function; ensure there is a PPP setting too
  5007. * libnm-util/nm-setting-gsm.c
  5008. - (verify): ensure there is a serial setting too
  5009. 2008-01-06 Dan Williams <dcbw@redhat.com>
  5010. * src/dhcp-manager/nm-dhcp-manager.c
  5011. - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
  5012. (gnome.org #332953)
  5013. 2008-01-04 Dan Williams <dcbw@redhat.com>
  5014. * src/named-manager/nm-named-manager.c
  5015. - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
  5016. nameservers if the secondary config doesn't have any
  5017. (gnome.org #346833)
  5018. 2008-01-02 Tambet Ingo <tambet@gmail.com>
  5019. * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
  5020. with G_PARAM_CONSTRUCT so that they get the default values.
  5021. * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
  5022. the monitoring device and prints out the output for now. Or more precicely, doesn't
  5023. do absolutely anything right now since the montoring device argument is never set.
  5024. * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
  5025. requires it's own knob to turn it on.
  5026. (config_fd): Add NMSettingSerial to the arguments list.
  5027. (nm_serial_device_open): Ditto.
  5028. (get_reply_got_data): Ignore the terminators at the beginning of the output.
  5029. (nm_serial_device_get_io_channel): Implement.
  5030. * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
  5031. a new reference every time (and forgetting to release it sometimes) is a pain and
  5032. it's not like NMManager could work without dbus.
  5033. (nm_manager_add_device): Register the added device on dbus here.
  5034. * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
  5035. device.
  5036. * src/nm-device.c (constructor): Don't export the device here, instead export
  5037. it when it's added to the NMManager's device list.
  5038. 2007-12-31 Dan Williams <dcbw@redhat.com>
  5039. * src/nm-device-interface.c
  5040. src/nm-device-interface.h
  5041. - (nm_device_interface_check_connection_conflicts): new function
  5042. * src/nm-device.c
  5043. src/nm-device.h
  5044. - (nm_device_check_connection_conflicts): new function
  5045. - (device_activation_precheck): don't require subclasses to implement
  5046. check_connection_complete()
  5047. - check_connection() -> check_connection_complete()
  5048. * src/nm-device-802-11-wireless.c
  5049. - (real_check_connection): remove; unused
  5050. - (real_check_connection_conflicts): implement, handle lockdown for
  5051. system connections
  5052. * src/nm-device-802-3-ethernet.c
  5053. - (real_check_connection): remove; unused
  5054. * src/nm-manager.c
  5055. - (check_connection_allowed): new function
  5056. - (nm_manager_activate_device): ensure the connection being requested
  5057. is allowed to be activated
  5058. * src/nm-serial-device.c
  5059. src/nm-gsm-device.c
  5060. - real_check_connection() -> real_check_connection_complete()
  5061. 2007-12-27 Dan Williams <dcbw@redhat.com>
  5062. * src/nm-device-interface.c
  5063. src/nm-device-interface.h
  5064. - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
  5065. normalize and expand errors
  5066. - (nm_device_interface_init): register errors so they can be marshalled
  5067. through dbus-glib
  5068. - (nm_device_interface_activate): ensure that failure of activation
  5069. returns an error
  5070. * src/nm-device.c
  5071. src/nm-device.h
  5072. - (device_activation_precheck): implementations of check_connection()
  5073. now take a GError and must fill it in if the check fails. Return
  5074. more descriptive error if the requested connection is already
  5075. activating
  5076. - (nm_device_activate): actually try to return descriptive errors on
  5077. failures
  5078. * src/nm-device-802-11-wireless.c
  5079. src/nm-device-802-3-ethernet.c
  5080. src/nm-serial-device.c
  5081. src/nm-gsm-device.c
  5082. - (real_check_connection): return more descriptive errors on failure
  5083. * src/NetworkManagerPolicy.c
  5084. - (nm_policy_device_change_check): print activation errors in the logs
  5085. * src/nm-manager.c
  5086. - (nm_manager_error_quark, nm_manager_error_get_type,
  5087. nm_manager_class_init): new errors
  5088. - (nm_manager_activate_device): handle errors
  5089. - (nm_manager_error_new): removed
  5090. - (wait_for_connection_expired, connection_added_default_handler,
  5091. impl_manager_activate_device): better error handling
  5092. 2007-12-27 Dan Williams <dcbw@redhat.com>
  5093. Fixes gnome.org #466954
  5094. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5095. - Allow 'frequency' network property
  5096. * src/supplicant-manager/nm-supplicant-config.c
  5097. src/supplicant-manager/nm-supplicant-config.h
  5098. - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
  5099. for callers to specify the frequency an Ad-Hoc network should operate
  5100. on. Some drivers require this to successfully create an Ad-Hoc
  5101. network.
  5102. * src/nm-device-802-11-wireless.c
  5103. - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
  5104. guint32 value in MHz
  5105. - (constructor, nm_device_802_11_wireless_get_frequency): use
  5106. iw_freq_to_uint32()
  5107. - (find_supported_frequency): new function; find a free supported
  5108. frequency for a user-created Ad-Hoc network
  5109. - (build_supplicant_config): if no frequency was specified for a user-
  5110. created Ad-Hoc network, find a free one to use
  5111. - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
  5112. a specific object as user-created
  5113. 2007-12-27 Dan Williams <dcbw@redhat.com>
  5114. * libnm-util/nm-utils.c
  5115. libnm-util/nm-utils.h
  5116. - (nm_utils_security_valid): add 'adhoc' argument and handle security
  5117. for adhoc networks
  5118. 2007-12-24 Dan Williams <dcbw@redhat.com>
  5119. * libnm-util/nm-setting-wireless.c
  5120. - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
  5121. 185, 187, 188, 192, and 196
  5122. 2007-12-24 Dan Williams <dcbw@redhat.com>
  5123. * src/nm-device-802-11-wireless.c
  5124. - (nm_device_802_11_wireless_get_frequency): handle drivers that return
  5125. a channel # instead of a frequency
  5126. 2007-12-24 Dan Williams <dcbw@redhat.com>
  5127. * src/NetworkManagerAP.c
  5128. src/NetworkManagerAP.h
  5129. - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
  5130. - (freq_to_channel): handle split band tables
  5131. - (channel_to_freq): handle split band tables, take a band argument
  5132. 2007-12-24 Dan Williams <dcbw@redhat.com>
  5133. * libnm-util/nm-setting-connection.h
  5134. libnm-util/nm-setting-connection.c
  5135. - Add 'lockdown' member
  5136. 2007-12-22 Dan Williams <dcbw@redhat.com>
  5137. * libnm-util/nm-setting-wireless.c
  5138. - (nm_setting_wireless_class_init): add missing 'rate' property
  5139. specification
  5140. 2007-12-18 Dan Williams <dcbw@redhat.com>
  5141. Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
  5142. * src/nm-netlink-monitor.c
  5143. src/nm-netlink-monitor.h
  5144. - Remove handrolled netlink, use libnl instead
  5145. * src/nm-device-802-3-ethernet.c
  5146. - (constructor, nm_device_802_3_ethernet_carrier_off,
  5147. nm_device_802_3_ethernet_carrier_on): use new names
  5148. 2007-12-17 Dan Williams <dcbw@redhat.com>
  5149. * configure.in
  5150. - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
  5151. and fixes memory leaks)
  5152. * src/nm-netlink.c
  5153. - (nm_netlink_get_default_handle): handle new versions of libnl that
  5154. automatically handle the netlink PID
  5155. 2007-12-17 Dan Williams <dcbw@redhat.com>
  5156. Patch from Michael Biebl <biebl@debian.org>
  5157. * configure.in
  5158. src/ppp-manager/Makefile.am
  5159. - fix up install dir of pppd plugin
  5160. - clean up configure.in a bit
  5161. 2007-12-12 Dan Williams <dcbw@redhat.com>
  5162. * system-settings/src/nm-system-settings.conf
  5163. - Allow non-root clients (like the applet) to read settings
  5164. 2007-12-10 Tambet Ingo <tambet@gmail.com>
  5165. * Replace all occurences of 'UMTS' with 'GSM'.
  5166. 2007-12-07 Dan Williams <dcbw@redhat.com>
  5167. * src/nm-serial-device.c
  5168. - (real_is_up): serial devices are always "up"
  5169. 2007-12-07 Dan Williams <dcbw@redhat.com>
  5170. * src/nm-netlink.c
  5171. src/NetworkManagerSystem.c
  5172. - (new_nl_handle): ensure that the same netlink pid is never chosen
  5173. twice (gnome.org #491047)
  5174. - Make more robust against allocation-related failures should they occur
  5175. 2007-12-07 Dan Williams <dcbw@redhat.com>
  5176. Noticed by Christian Persch <chpe@gnome.org>
  5177. Always chain up to parent object in dispose and finalize handlers.
  5178. (gnome.org #433112)
  5179. 2007-12-07 Dan Williams <dcbw@redhat.com>
  5180. * src/nm-device-802-11-wireless.c
  5181. - Wrap #include of linux/mii.h to fix redefined structures due to
  5182. incorrect kernel headers (gnome.org #350061)
  5183. 2007-12-06 Tambet Ingo <tambet@gmail.com>
  5184. * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
  5185. before doing anything else.
  5186. (init_modem): Move modem initialization here.
  5187. * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
  5188. (nm_serial_device_flash): Implement.
  5189. * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
  5190. changes signal is "StateChanged" and not "Status".
  5191. (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
  5192. 2007-12-06 Dan Williams <dcbw@redhat.com>
  5193. * src/supplicant-manager/nm-supplicant-config.c
  5194. - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
  5195. to only send some options when they make sense; also send phase2
  5196. option to the supplicant (possible fix for rh #399631)
  5197. 2007-12-06 Tambet Ingo <tambet@gmail.com>
  5198. * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
  5199. arguments: This whole file shouldn't really know anything about NMDevices, it
  5200. should deal only with device interfaces. Devices might have different ifaces for
  5201. different stuff and this place shouldn't know anything about it.
  5202. * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
  5203. (global_state_changed): Implement. In the current NM it's not really important,
  5204. but will be required in the case of multiple active devices. (Or even better,
  5205. if stuff like that gets moved out from NM).
  5206. * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
  5207. nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
  5208. instead.
  5209. * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
  5210. devices like serial devices (ttyS0 and ppp0 for example).
  5211. (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
  5212. set.
  5213. (nm_device_set_ip_iface): Implement.
  5214. (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
  5215. after setting ip4_config from here ...
  5216. (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
  5217. than this function should call nm_system_device_set_from_ip4_config() because no
  5218. other code has enough information on which arguments to use. So instead, other code
  5219. could just set the new ip4 config using this function and everyone is happy.
  5220. * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
  5221. if we happen to get deactivated while something is pending.
  5222. (automatic_registration): Handle the response that indicates pending network
  5223. registration and wait until the pending registration is done.
  5224. (real_deactivate_quickly): If there's a pending operation, cancel it.
  5225. * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
  5226. (real_deactivate_quickly): ... and remove it when it's down.
  5227. (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
  5228. it if needed.
  5229. (nm_serial_device_wait_for_reply): Ditto.
  5230. 2007-12-05 Tambet Ingo <tambet@gmail.com>
  5231. * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
  5232. (get_network_done): Remove newline, nm_info() does it already.
  5233. (real_act_stage1_prepare): Turn the modem echo off.
  5234. * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
  5235. device, set the route to the device interface. This is a hack.
  5236. * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
  5237. return, no need for a new-line.
  5238. (ppp_ip4_config): Store the ip4 config to be set in the next stage.
  5239. Change the device iface here (ugh).
  5240. (real_act_stage4_get_ip4_config): Implement.
  5241. (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
  5242. Restore the device iface.
  5243. * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
  5244. device is not wired or wireless (eg, automatically upped) device.
  5245. * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
  5246. it isn't.
  5247. (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
  5248. * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
  5249. before calling it's is_device_fn().
  5250. 2007-12-05 Dan Williams <dcbw@redhat.com>
  5251. * libnm-util/nm-utils.c
  5252. - (nm_utils_register_value_transformations,
  5253. nm_utils_convert_gvalue_hash_to_string): better debug output of
  5254. GHashTables of GValues too
  5255. 2007-12-04 Dan Williams <dcbw@redhat.com>
  5256. * initscript/RedHat/NetworkManager.in
  5257. - No longer start named; it's D-Bus interface is going away
  5258. 2007-12-04 Dan Williams <dcbw@redhat.com>
  5259. Patch from Michael Biebl <biebl@debian.org>
  5260. * system-settings/plugins/ifcfg/Makefile.am
  5261. system-settings/src/main.c
  5262. system-settings/src/Makefile.am
  5263. - Put system settings plugins in NM plugins dir
  5264. * src/ppp-manager/Makefile.am
  5265. src/ppp-manager/nm-ppp-manager.c
  5266. - Move pppd plugin to NM plugins dir
  5267. 2007-12-04 Dan Williams <dcbw@redhat.com>
  5268. * libnm-util/nm-setting-vpn-properties.h
  5269. - Clarify usage of the 'data' member of the setting
  5270. * libnm-util/nm-setting-vpn-properties.c
  5271. - (nm_setting_vpn_properties_init): initialize the 'data' hash table
  5272. - (set_property): just remove all the settings; don't recreate the has
  5273. - (update_one_secret): don't need to create the hash table here since
  5274. it should always be present
  5275. 2007-12-03 Tambet Ingo <tambet@gmail.com>
  5276. Implement PIN and PUK requesting.
  5277. * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
  5278. (enter_pin): Handle PIN and PUK requests.
  5279. (real_act_stage1_prepare): Clear the secret type.
  5280. (real_connection_secrets_updated): Implement this class method to get
  5281. notified when new secrets arrive.
  5282. (nm_umts_device_class_init): Add private data back to the umts device class
  5283. to store the required secret type.
  5284. 2007-12-01 Dan Williams <dcbw@redhat.com>
  5285. * system-settings/plugins/ifcfg/parser.c
  5286. - (parser_parse_file): don't try to verify NULL connections
  5287. 2007-12-01 Dan Williams <dcbw@redhat.com>
  5288. * system-settings/src/main.c
  5289. - (load_connections, add_connection_to_settings): actually export
  5290. plugin-provided connections over D-Bus so NM can get them
  5291. 2007-12-01 Dan Williams <dcbw@redhat.com>
  5292. * system-settings/plugins/ifcfg/parser.c
  5293. system-settings/plugins/ifcfg/parser.h
  5294. system-settings/plugins/ifcfg/plugin.c
  5295. - Hook up more inotify bits (untested)
  5296. 2007-11-29 Dan Williams <dcbw@redhat.com>
  5297. * system-settings/src/nm-system-config-interface.h
  5298. system-settings/src/nm-system-config-interface.c
  5299. - (nm_system_config_interface_init,
  5300. nm_system_config_interface_get_connections): add
  5301. * system-settings/src/main.c
  5302. - (load_plugins, load_connections, main): use a GSList for plugins
  5303. to ensure priority ordering
  5304. * system-settings/plugins/ifcfg/parser.c
  5305. - (ifcfg_error_quark): move to plugin.c, and rename
  5306. * system-settings/plugins/ifcfg/plugin.h
  5307. system-settings/plugins/ifcfg/plugin.c
  5308. - (ifcfg_plugin_error_quark): move here from parser.c
  5309. - rework connection loading and initialization
  5310. - Add preliminary inotify support for network profile config file
  5311. 2007-11-28 Tambet Ingo <tambet@gmail.com>
  5312. Merge the beginnings of the new GSM card support.
  5313. * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
  5314. ppp watch source before killing pppd - If this happens from g_object_unref()
  5315. then the ppp manager is already destroyed by the time the watch callback runs.
  5316. * src/nm-hal-manager.c: Add a device_type_name string to the device
  5317. creators, so that we can print a nice human readable string when a
  5318. device is added.
  5319. * src/nm-umts-device.c (automatic_registration_get_network): Query
  5320. for the activated network, not much is done with the result thought.
  5321. * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
  5322. (ppp_ip4_config): Change the device state to activated here for now.
  5323. (real_check_connection): Make sure the connection includes ppp setting.
  5324. * libnm-glib/nm-client.c (get_device): Handle umts devices.
  5325. * libnm-glib/Makefile.am: Add the new files to build.
  5326. * libnm-glib/nm-umts-device.c:
  5327. * libnm-glib/nm-umts-device.h: Implement.
  5328. 2007-11-26 Tambet Ingo <tambet@gmail.com>
  5329. * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
  5330. immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
  5331. * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
  5332. the timeout source - this function is only called when the timeout source has
  5333. been removed.
  5334. (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
  5335. to be big enough to contain the terminating zero element as well.
  5336. The timeout argument is meant to be in seconds now.
  5337. (real_deactivate_quickly): Implement.
  5338. * src/NetworkManager.conf: Allow root to own
  5339. "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
  5340. * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
  5341. (not unsigned ints).
  5342. * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
  5343. small issue with parity bounds - capital letters have lower ascii codes
  5344. than lower case letters.
  5345. * libnm-util/nm-connection.c (register_default_settings): Register serial
  5346. and umts settings.
  5347. 2007-11-22 Tambet Ingo <tambet@gmail.com>
  5348. Remove the "index" property from devices as not all device types have this.
  5349. * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
  5350. * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
  5351. (wired_device_creator): Get the device interface from hal to create the device.
  5352. (wireless_device_creator): Ditto.
  5353. * src/nm-device.c (nm_device_init): Remove the index member.
  5354. (constructor): Remove the checks for index property, make interface property
  5355. a require constructor property.
  5356. Use the HAL udi for DBus path for devices.
  5357. (nm_device_get_index): Remove.
  5358. (set_property): Remove index handling.
  5359. (get_property): Ditto.
  5360. (nm_device_get_dbus_path): Remove.
  5361. * src/nm-device-interface.c (nm_device_interface_init): Remove the index
  5362. property.
  5363. * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
  5364. Access the device index through it's interface.
  5365. (nm_device_802_3_ethernet_link_deactivated): Ditto.
  5366. (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
  5367. index argument. Add interface argument.
  5368. * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
  5369. the useless test_dev argument. Remove index argument. Add interface arugment.
  5370. * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
  5371. device index through interface.
  5372. (nm_system_set_mtu): Ditto.
  5373. * introspection/nm-device.xml: Remove the "Index" property.
  5374. 2007-11-21 Tambet Ingo <tambet@gmail.com>
  5375. * src/nm-serial-device.c:
  5376. * src/nm-serial-device.c:
  5377. * src/nm-umts-device.c:
  5378. * src/nm-umts-device.h: Implement.
  5379. * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
  5380. allocated by libhal.
  5381. (modem_device_creator): Implement.
  5382. (register_built_in_creators): Register the modem creator.
  5383. * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
  5384. Remove the unused test_dev argument.
  5385. * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
  5386. * src/Makefile.am: Add new files to build.
  5387. Link in ppp-manager.
  5388. * libnm-util/nm-setting-umts.c:
  5389. * libnm-util/nm-setting-umts.h:
  5390. * libnm-util/nm-setting-serial.c:
  5391. * libnm-util/nm-setting-serial.h: Implement.
  5392. * libnm-util/Makefile.am: Add new files to build.
  5393. 2007-11-28 Dan Williams <dcbw@redhat.com>
  5394. Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
  5395. Support DHCP-provided static routes.
  5396. * src/nm-ip4-config.h
  5397. src/nm-ip4-config.c
  5398. - Add get/set functions for static routes
  5399. * src/dhcp-manager/nm-dhcp-manager.c
  5400. - (nm_dhcp_manager_get_ip4_config): extract static routes from the
  5401. DHCP response
  5402. * src/NetworkManagerSystem.c
  5403. - (nm_system_device_set_from_ip4_config): set any static routes on the
  5404. interface when applying the IP4Config
  5405. 2007-11-28 Dan Williams <dcbw@redhat.com>
  5406. * src/nm-device-802-11-wireless.c
  5407. - (real_act_stage1_prepare): mark APs created for hidden networks
  5408. as non-broadcasting
  5409. 2007-11-27 Dan Williams <dcbw@redhat.com>
  5410. * system-settings/src/nm-system-config-interface.h
  5411. - Note how to store secrets on NMSetting objects
  5412. * system-settings/src/dbus-settings.c
  5413. - (connection_settings_get_secrets): implement
  5414. 2007-11-27 Dan Williams <dcbw@redhat.com>
  5415. * system-settings/plugins/ifcfg/Makefile.am
  5416. system-settings/plugins/ifcfg/parser.c
  5417. system-settings/plugins/ifcfg/parser.h
  5418. system-settings/plugins/ifcfg/plugin.c
  5419. - Parse wireless connections too
  5420. * system-settings/src/dbus-settings.c
  5421. system-settings/src/dbus-settings.h
  5422. system-settings/src/main.c
  5423. - Handle connection update/removal if the plugin supports it
  5424. 2007-11-27 Dan Williams <dcbw@redhat.com>
  5425. * src/nm-dbus-manager.h
  5426. src/nm-hal-manager.c
  5427. - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
  5428. do it for them
  5429. * src/Makefile.am
  5430. src/NetworkManagerDbusUtils.c
  5431. src/NetworkManagerDbusUtils.h
  5432. - Remove these two source files; they are unused
  5433. 2007-11-27 Dan Williams <dcbw@redhat.com>
  5434. * src/vpn-manager/nm-vpn-manager.c
  5435. - (impl_vpn_manager_connect): fix system settings check (found by
  5436. James M. Leddy)
  5437. 2007-11-26 Dan Williams <dcbw@redhat.com>
  5438. * Fix warnings so everything compiles with --enable-more-warnings
  5439. 2007-11-25 Dan Williams <dcbw@redhat.com>
  5440. * system-settings/*
  5441. - Rework structure and code to use GModule-loaded plugins and a plugin
  5442. interface that plugins export to the system settings service
  5443. 2007-11-21 Dan Williams <dcbw@redhat.com>
  5444. * system-settings/*
  5445. - Add Soren's system settings service. Needs work for distros other
  5446. than Fedora; the backends from NM should mostly migrate to here
  5447. and be converted to GObjects
  5448. 2007-11-21 Dan Williams <dcbw@redhat.com>
  5449. * libnm-util/nm-setting-vpn-properties.c
  5450. - (set_property): must deep-copy the given settings hash, otherwise
  5451. double-free errors occur when the setting is disposed of
  5452. 2007-11-21 Dan Williams <dcbw@redhat.com>
  5453. * src/vpn-manager/nm-vpn-act-request.h
  5454. src/vpn-manager/nm-vpn-act-request.c
  5455. - Remove; unused
  5456. 2007-11-20 Dan Williams <dcbw@redhat.com>
  5457. * libnm-util/nm-utils.c
  5458. - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
  5459. nm_utils_convert_ip4_addr_struct_array_to_string,
  5460. nm_utils_register_value_transformations): print out the readable
  5461. values of more types of properties of NMSettings subclasses
  5462. 2007-11-20 Dan Williams <dcbw@redhat.com>
  5463. * libnm-util/nm-setting-ip4-config.c
  5464. - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
  5465. nm_setting_ip4_config_class_init): apparently dbus-glib can't
  5466. marshal GValueArrays inside collections, so switch to types that it
  5467. can actually marshal/demarshal
  5468. 2007-11-16 Dan Williams <dcbw@redhat.com>
  5469. * libnm-util/nm-setting-wireless-security.c
  5470. - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
  5471. minimal verification of EAP methods too
  5472. - (verify): verify phase1 eap methods too
  5473. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5474. * libnm-glib/nm-device.h
  5475. libnm-glib/nm-device.c
  5476. - (nm_device_get_product, nm_device_get_vendor): should be returning
  5477. const char *
  5478. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5479. * libnm-glib/nm-device.c
  5480. - (get_product_and_vendor): don't try to free things that should be
  5481. freed
  5482. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5483. * src/NetworkManagerUtils.c
  5484. - (nm_ethernet_address_is_valid): unbreak previous fix
  5485. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5486. * src/supplicant-manager/nm-supplicant-config.c
  5487. - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
  5488. options
  5489. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5490. * src/NetworkManagerUtils.c
  5491. - (nm_ethernet_address_is_valid): fix style, clarify
  5492. - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
  5493. * src/nm-device-802-11-wireless.c
  5494. - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
  5495. - (nm_device_802_11_wireless_get_ssid,
  5496. nm_device_802_11_wireless_get_bssid,
  5497. nm_device_802_11_wireless_get_bitrate): zero the wreq structure
  5498. before calling the ioctl; fixes valgrind-reported jump depends on
  5499. uninitialized value errors
  5500. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5501. * libnm-util/nm-setting.c
  5502. - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
  5503. unecessary to serialize 'name'
  5504. * src/nm-activation-request.c
  5505. - (get_secrets_cb): fix cases where a full NMSetting is returned from
  5506. the GetSecrets call
  5507. 2007-11-15 Dan Williams <dcbw@redhat.com>
  5508. * libnm-util/nm-setting-connection.h
  5509. libnm-util/nm-setting-connection.c
  5510. - Rename the 'name' property to 'id', because it conflicted with the
  5511. NMSetting superclass' 'name' property.
  5512. * libnm-util/nm-setting.c
  5513. - (nm_setting_to_hash): serialize the 'name' property
  5514. - (one_property_cb): ignore 'name' on deserialization of a connection
  5515. * src/nm-device-802-11-wireless.c
  5516. src/vpn-manager/nm-vpn-connection.c
  5517. src/NetworkManagerPolicy.c
  5518. - Fix up for NMSettingConnection 'name'->'id' changes
  5519. 2007-11-13 Dan Williams <dcbw@redhat.com>
  5520. * libnm-glib/nm-device-802-11-wireless.h
  5521. libnm-glib/nm-device-802-11-wireless.c
  5522. - (nm_device_802_11_wireless_get_hw_address): return should be const
  5523. * test/nm-tool.c
  5524. libnm-glib/libnm-glib-test.c
  5525. - Fixes for above change
  5526. 2007-11-12 Dan Williams <dcbw@redhat.com>
  5527. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5528. - Allow fragment_size option
  5529. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5530. - (nm_supplicant_config_add_setting_wireless_security): use a lower
  5531. EAP fragment size than the default to help some TLS connections
  5532. 2007-11-12 Dan Williams <dcbw@redhat.com>
  5533. Make certs actually work. The private key is now a secret, and should be
  5534. decrypted when requested by NM. The private key and phase2 private key
  5535. passwords are no longer interesting to NM because they should be used by
  5536. the settings service to decrypt the private key itself before passing it
  5537. to NM, and hence have been removed as fields.
  5538. * libnm-util/nm-setting-wireless-security.h
  5539. libnm-util/nm-setting-wireless-security.c
  5540. - Remove private-key-passwd and phase2-private-key-passwd from
  5541. properties
  5542. - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
  5543. need_secrets): use property #defines instead strings to keep things
  5544. consistent
  5545. - (need_secrets_tls): if a client certificate is present but no
  5546. private key, request the private key
  5547. - (set_property, get_property, nm_setting_wireless_security_class_init):
  5548. remove private key password stuff, mark private keys as secret
  5549. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5550. - Remove private_key_passwd and private_key2_passwd from opt_table
  5551. 2007-11-09 Dan Williams <dcbw@redhat.com>
  5552. Fix vpn-properties setting update_secrets call for new NMSetting stuff.
  5553. Since the vpn-properties are managed and known by the VPN daemons themselves,
  5554. libnm-util doesn't know what's secret and what's in the setting's 'data'
  5555. member.
  5556. * libnm-util/nm-setting.h
  5557. libnm-util/nm-setting.c
  5558. - Add the ability for subclasses to override update_one_secret
  5559. * libnm-util/nm-setting-vpn-properties.c
  5560. - Override update_one_secret and just copy the values into the
  5561. internal table
  5562. 2007-11-09 Dan Williams <dcbw@redhat.com>
  5563. * libnm-glib/nm-settings.h
  5564. libnm-glib/nm-settings.c
  5565. - (nm_settings_new_error): remove
  5566. - (nm_settings_error_quark): add; instead of nm_settings_new_error,
  5567. clients should use g_set_error() with NM_SETTINGS_ERROR
  5568. 2007-11-09 Dan Williams <dcbw@redhat.com>
  5569. * src/supplicant-manager/nm-supplicant-config.c
  5570. - (nm_supplicant_config_add_setting_wireless_security): private key
  5571. passwords are never sent to wpa_supplicant, because the supplicant
  5572. should never be reading random files from the disk. Clients like
  5573. the applet are required to decrypt the private keys and send NM
  5574. the decrypted blobs.
  5575. 2007-11-08 Dan Williams <dcbw@redhat.com>
  5576. * libnm-util/nm-setting-wireless-security.h
  5577. libnm-util/nm-setting-wireless-security.c
  5578. - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
  5579. members to 802-11-wireless-security structure. This should be used
  5580. to indicate that the values in private-key and phase2-private-key
  5581. are already decrypted by the user agent, and that no
  5582. private-key-passwd or phase2-private-key-passwd should be expected.
  5583. It is not meant to be a stored configuration value, but meant to
  5584. be set when the conneciton is sent to NM over dbus.
  5585. 2007-11-08 Dan Williams <dcbw@redhat.com>
  5586. * libnm-util/nm-connection.h
  5587. libnm-util/nm-connection.c
  5588. - (nm_connection_need_secrets): add argument to return hints
  5589. * src/nm-device-802-11-wireless.c
  5590. - (link_timeout_cb, supplicant_connection_timeout_cb,
  5591. real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
  5592. nm_connection_need_secrets() change
  5593. 2007-11-07 Tambet Ingo <tambet@gmail.com>
  5594. Rework NMSetting structures: Move each setting to it's own file.
  5595. Convert to GObject. Remove home grown setting types and use GTypes.
  5596. Use GObject property introspection for hash conversion, enumerating
  5597. properties, etc.
  5598. * libnm-util/nm-setting-connection.[ch]
  5599. * libnm-util/nm-setting-ip4-config.[ch]
  5600. * libnm-util/nm-setting-ppp.[ch]
  5601. * libnm-util/nm-setting-vpn.[ch]
  5602. * libnm-util/nm-setting-vpn-properties.[ch]
  5603. * libnm-util/nm-setting-wired.[ch]
  5604. * libnm-util/nm-setting-wireless.[ch]
  5605. * libnm-util/nm-setting-wireless-security.[ch]
  5606. New files, each containing a setting.
  5607. * libnm-util/nm-setting-template.[ch]: A template for creating new
  5608. settings. To use it, just replace 'template' with the new setting
  5609. name, and you're half-way done.
  5610. * libnm-util/nm-setting.c: Convert to GObject and use GObject
  5611. introspection instead of internal types and tables.
  5612. * libnm-util/nm-connection.c: Adapt the new NMSetting work.
  5613. * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
  5614. GValue types defined by dbus-glib for composed types like collections,
  5615. structures and maps.
  5616. * src/*: The API of NMSetting and NMConnection changed a bit: Getting
  5617. a setting from connection takes the setting type now. Also, since
  5618. the settings are in multiple files, include relevant settings.
  5619. 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
  5620. * configure.in:
  5621. * src/backends/NetworkManagerGentoo.c:
  5622. (nm_system_restart_mdns_responder): Implement restarts for other mdns
  5623. providers in Gentoo.
  5624. 2007-10-31 Dan Williams <dcbw@redhat.com>
  5625. * libnm-util/nm-connection.c
  5626. - (gvalue_to_string): handle UINT32 arrays
  5627. 2007-10-31 Dan Williams <dcbw@redhat.com>
  5628. * libnm-glib/nm-device.h
  5629. libnm-glib/nm-device.c
  5630. - (nm_device_get_description): remove
  5631. - (nm_device_get_product, nm_device_get_vendor): add
  5632. - (nm_device_update_description): new function (private); walk HAL
  5633. devices to get product and vendor IDs for a specific device
  5634. 2007-10-31 Dan Williams <dcbw@redhat.com>
  5635. * src/nm-device-802-11-wireless.c
  5636. - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
  5637. 2007-10-29 Dan Williams <dcbw@redhat.com>
  5638. * src/nm-hal-manager.c
  5639. - (device_added, device_new_capability): ignore device additions while
  5640. asleep. Fixes crash caused when NM goes to sleep, a network device
  5641. kernel module is unloaded and reloaded and recognized by NM again.
  5642. 2007-10-26 Dan Williams <dcbw@redhat.com>
  5643. Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
  5644. * src/NetworkManagerAP.c
  5645. src/NetworkManagerAP.h
  5646. libnm-glib/nm-access-point.c
  5647. libnm-glib/nm-access-point.h
  5648. - Make 'rate' property a guint32 to better match with WEXT and
  5649. wpa_supplicant and to allow representation of higher bitrates
  5650. * src/nm-device-802-11-wireless.c
  5651. introspection/nm-device-802-11-wireless.xml
  5652. libnm-glib/nm-device-802-11-wireless.c
  5653. libnm-glib/nm-device-802-11-wireless.h
  5654. - Make 'bitrate' property a guint32 to match AP 'rate' property type
  5655. * src/nm-device-802-3-ethernet.c
  5656. src/nm-device-802-3-ethernet.h
  5657. introspection/nm-device-802-3-ethernet.xml
  5658. libnm-glib/nm-device-802-3-ethernet.c
  5659. libnm-glib/nm-device-802-3-ethernet.h
  5660. - Make 'speed' property a guint32 to match other speed/rate types
  5661. - Make nm_device_802_3_ethernet_get_speed() static
  5662. * test/nm-tool.c
  5663. - Update for the changes above
  5664. 2007-10-26 Dan Williams <dcbw@redhat.com>
  5665. * src/named-manager/nm-named-manager.c
  5666. - (rewrite_resolv_conf): clean up error handling to avoid double-free by
  5667. not calling fclose() twice on some error conditions
  5668. 2007-10-26 Dan Williams <dcbw@redhat.com>
  5669. * src/nm-activation-request.c
  5670. - (dispose): clean up indentation; get the right DBusGProxy object to
  5671. cancel the GetSecrets pending call on. Need to use the Secrets
  5672. proxy, not the regular connection proxy. Otherwise the GetSecrets
  5673. pending call doesn't get canceled, and pressing Cancel in the
  5674. applet's password dialog could cause get_secrets_cb() to be called
  5675. after the activation request has already been destroyed
  5676. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5677. * src/supplicant-manager/nm-supplicant-config.c
  5678. - (nm_supplicant_config_add_blob): pass blob data and length for
  5679. verification
  5680. - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
  5681. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5682. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5683. - (opt_table): max length for certificates should be 65536
  5684. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5685. * src/supplicant-manager/nm-supplicant-interface.c
  5686. - (blob_free): correctly free blob data after use
  5687. - (call_set_blobs): use the right D-Bus interfaace for setBlobs
  5688. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5689. * libnm-util/nm-setting.c
  5690. - (setting_wireless_security_need_secrets): Fix lookup table logic for
  5691. EAP method need secrets
  5692. 2007-10-24 Dan Williams <dcbw@redhat.com>
  5693. * src/backends/NetworkManagerRedHat.c
  5694. - (nm_system_update_dns): be a lot smarter about telling nscd to restart
  5695. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5696. * libnm-util/nm-setting.c
  5697. libnm-util/nm-setting.c
  5698. - (nm_setting_compare): implement
  5699. - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
  5700. compare_one_hash_gvalue): compare the contents of a setting
  5701. * libnm-util/nm-connection.c
  5702. - (nm_connection_compare): implement
  5703. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5704. * src/nm-activation-request.c
  5705. - (get_secrets_cb): handle getting a setting back that is more than
  5706. just secrets (ie, user changed auth or EAP method or something)
  5707. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5708. * libnm-util/nm-setting.c
  5709. libnm-util/nm-setting.h
  5710. - (nm_setting_verify): new function; verify one setting
  5711. - (nm_settings_verify_all): rename from nm_settings_verify()
  5712. - (setting_connection_verify, setting_wireless_verify): allow NULL
  5713. all_settings
  5714. * libnm-util/nm-connection.c
  5715. - (nm_connection_replace_settings, nm_connection_verify,
  5716. nm_connection_new_from_hash): handle nm_settings_verify() rename
  5717. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5718. * src/nm-device-802-11-wireless.c
  5719. - (real_act_stage2_config): use pre-increment on 'tries' to get the
  5720. desired behavior
  5721. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5722. * src/supplicant-manager/nm-supplicant-settings-verify.c
  5723. - eap_allowed, phase2_allowed: harmonize with allowed values from
  5724. nm-settings.c
  5725. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5726. * src/nm-device-802-11-wireless.c
  5727. - (real_act_stage2_config): after the first association failure,
  5728. if the connection still needs secrets ask the user for them
  5729. explicitly. After the fourth association failure due to bad
  5730. secrets, fail the connection entirely. Handles the GetSecrets
  5731. loop that NM gets into when the provided secrets don't match up
  5732. with the connection details.
  5733. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5734. * src/supplicant-manager/nm-supplicant-config.c
  5735. - (nm_supplicant_config_add_setting_wireless_security): only add
  5736. WPA-specific options when WPA is in use
  5737. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5738. * src/supplicant-manager/nm-supplicant-config.c
  5739. - (nm_supplicant_config_add_setting_wireless_security): 'password'
  5740. secret doesn't need to be unhexified
  5741. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5742. * libnm-util/nm-setting.c
  5743. - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
  5744. before trying to do something with it
  5745. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5746. * src/nm-device-802-11-wireless.c
  5747. - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
  5748. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5749. * src/nm-device-802-11-wireless.c
  5750. - (merge_scanned_ap): use libnm-util empty SSID check to catch more
  5751. non-SSID-broadcasting APs
  5752. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5753. * src/NetworkManagerAP.c
  5754. - (match_cipher, security_compatible): remove
  5755. - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
  5756. libnm-util instead
  5757. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5758. * libnm-util/nm-utils.c
  5759. libnm-util/nm-utils.h
  5760. - (nm_utils_ap_security_compatible): common function for checking
  5761. whether a specific AP is compatible with an NMConnection
  5762. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5763. * libnm-util/nm-setting.c
  5764. - (setting_wireless_security_need_secrets, need_secrets_phase2,
  5765. need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
  5766. need_secrets_password, setting_wireless_security_verify): fix
  5767. need_secrets for IEEE 802.1x and WPA-EAP by implementing need
  5768. secrets logic for each supported EAP method
  5769. 2007-10-23 Dan Williams <dcbw@redhat.com>
  5770. * src/supplicant-manager/nm-supplicant-config.c
  5771. - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
  5772. config option name, should be "private_key2_passwd"
  5773. 2007-10-22 Tambet Ingo <tambet@gmail.com>
  5774. Implement support for static IP addresses, additional/overridden DNS and
  5775. DNS domain search lists.
  5776. * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
  5777. (ip4_addresses_to_gvalue): Implement.
  5778. (convert_array_to_byte_array): Implement.
  5779. (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
  5780. NM_S_TYPE_IP4_ADDRESSES.
  5781. (nm_setting_hash): Ditto.
  5782. (default_setting_clear_secrets): Add a default case for the switch: IP address
  5783. shouldn't be secret, ever.
  5784. (setting_ip4_config_verify): Update, requires addresses in case of manual
  5785. configurations.
  5786. (setting_ip4_config_destroy): Free stuff.
  5787. * src/nm-device.c (merge_ip4_config): Implement.
  5788. (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
  5789. 2007-10-22 Dan Williams <dcbw@redhat.com>
  5790. * libnm-util/nm-setting.c
  5791. - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
  5792. pairwise cipher options for Dynamic WEP
  5793. 2007-10-21 Dan Williams <dcbw@redhat.com>
  5794. * src/NetworkManagerAP.c
  5795. src/NetworkManagerAP.h
  5796. - Rename 'articifical' -> 'fake' since that's what they are until
  5797. noticed in scans
  5798. - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
  5799. from the attributes in an NMConnection object
  5800. - (security_compatible): better handle Dynamic WEP and LEAP; handle
  5801. WPA Enterprise
  5802. - (nm_ap_match_in_list): find a matching AP in a scan list
  5803. * src/nm-device-802-11-wireless.c
  5804. - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
  5805. AP when searching the scan list; match on frequency and mode too
  5806. - (nm_device_802_11_wireless_get_frequency): implement
  5807. - (merge_scanned_ap): replace duplicate matching logic with
  5808. nm_ap_match_in_list()
  5809. - (real_act_stage1_prepare): handle a NULL specific object; ie where
  5810. the user is trying to connect to a hidden network that is not yet
  5811. known from the scan list
  5812. - (activation_success_handler): now that the card knows the AP's BSSID,
  5813. there may already be a scanned AP in the scan list that is what
  5814. we really wanted to connect to, but didn't know at the time. Use
  5815. that instead of the 'fake' AP created at activation start and get
  5816. rid of the 'fake' AP
  5817. - (cull_scan_list): don't remove fake APs
  5818. 2007-10-21 Dan Williams <dcbw@redhat.com>
  5819. * src/nm-activation-request.h
  5820. src/nm-activation-request.c
  5821. - (nm_act_request_set_specific_object): new function; allow setting the
  5822. specific object if one isn't set yet
  5823. 2007-10-20 Dan Williams <dcbw@redhat.com>
  5824. * src/supplicant-manager/nm-supplicant-config.h
  5825. src/supplicant-manager/nm-supplicant-config.c
  5826. - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
  5827. table to store blobs
  5828. - (nm_supplicant_config_add_blob): new function; add blob to internal
  5829. blob hash table
  5830. - (nm_supplicant_config_get_blobs): new function; get stored blobs
  5831. - (nm_supplicant_config_add_setting_wireless_security): handle
  5832. options that use certificates (ie, blobs)
  5833. * src/nm-device-802-11-wireless.c
  5834. - (build_supplicant_config): pass a UID (just use the connection path)
  5835. to the supplicant config as now required
  5836. * src/supplicant-manager/nm-supplicant-interface.c
  5837. - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
  5838. there are any blobs to send to wpa_supplicant, send those first
  5839. before sending the network configuration
  5840. 2007-10-19 Dan Williams <dcbw@redhat.com>
  5841. Split the GetSecrets() call off to a separate D-Bus interface so that it
  5842. can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
  5843. should be able to call GetSecrets().
  5844. * include/NetworkManager.h
  5845. - Define the connection secrets D-Bus interface
  5846. * src/vpn-manager/nm-vpn-connection.c
  5847. - (clear_need_auth): get the right proxy object for the connection
  5848. secrets interface
  5849. - (get_connection_secrets): use the connection secrets proxy; send
  5850. empty hints in get secrets request
  5851. * src/nm-activation-request.c
  5852. - (nm_act_request_request_connection_secrets): use the connection
  5853. secrets proxy; send empty hints in get secrets request
  5854. * src/nm-manager.c
  5855. src/nm-manager.h
  5856. - (connection_get_settings_cb): set the connection secrets proxy on
  5857. the connection object too
  5858. - (internal_new_connection_cb): create the connection secrets proxy
  5859. * introspection/nm-settings-connection.xml
  5860. - Define Connection.Secrets interface and move GetSecrets there
  5861. - Add a 'hints' argument to GetSecrets
  5862. * libnm-glib/nm-settings.c
  5863. libnm-glib/nm-settings.h
  5864. - (impl_connection_settings_get_secrets): add 'hints' argument
  5865. 2007-10-19 Dan Williams <dcbw@redhat.com>
  5866. * src/nm-device.c
  5867. - (constructor): add message about what path a device is exported as
  5868. to help in debugging rh #339011
  5869. 2007-10-17 Dan Williams <dcbw@redhat.com>
  5870. * libnm-util/nm-utils.h
  5871. libnm-util/nm-utils.c
  5872. - (nm_utils_security_valid): common function to help find the intersection
  5873. of capabilities of devices and (optionally) access points
  5874. 2007-10-17 Dan Williams <dcbw@redhat.com>
  5875. * src/nm-device-802-11-wireless.c
  5876. - (get_wireless_capabilities): add missing braces so that WPA capabilities
  5877. don't get erroneously cleared
  5878. 2007-10-17 Dan Williams <dcbw@redhat.com>
  5879. * src/nm-manager.h
  5880. src/nm-manager.c
  5881. src/nm-hal-manager.c
  5882. - (device_removed, finalize, nm_manager_remove_device,
  5883. nm_manager_sleep): add a 'deactivate' argument to
  5884. nm_manager_remove_device() to fully deactivate devices when necessary
  5885. (ie, always except when waking up)
  5886. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5887. * libnm-util/nm-setting.c
  5888. - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
  5889. also isn't valid phase2 autheap method
  5890. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5891. * libnm-glib/nm-client.c
  5892. - (update_wireless_status): consolidate updates of wireless status
  5893. - (constructor): use update_wireless_status()
  5894. - (manager_running): set wireless status off when NM goes away; requery
  5895. the wireless status when NM comes back
  5896. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5897. * libnm-glib/nm-client.c
  5898. - (nm_client_activate_device): actually use the fixed-up specific
  5899. object path
  5900. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5901. * src/nm-hal-manager.c
  5902. - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
  5903. killswitch error messages once
  5904. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5905. * src/nm-manager.c
  5906. - (manager_set_wireless_enabled): don't allow wireless to be enabled
  5907. if it's disabled in hardware; don't touch network devices while
  5908. NM is asleep
  5909. 2007-10-16 Dan Williams <dcbw@redhat.com>
  5910. * libnm-util/nm-client.c
  5911. - (nm_client_activate_device): convert NULL specific_object to "/",
  5912. which is used in place of NULL
  5913. * src/nm-manager.c
  5914. - (impl_manager_activate_device): convert "/" specific_object back into
  5915. NULL
  5916. 2007-10-16 Tambet Ingo <tambet@gmail.com>
  5917. Implement a generic NMSetting creator from setting name.
  5918. While at it, get rid of all nm_setting_foo_new_from_hash() functions and
  5919. add a virtual function 'populate_fn'.
  5920. * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
  5921. (register_default_creators): Register setting creators instead of functions
  5922. that create and then populate.
  5923. (parse_one_setting): Use the common setting creator and then setting specific
  5924. poplulation function.
  5925. * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
  5926. they all looked exactly the same.
  5927. Add a 'populate_fn' virtual function to NMSetting.
  5928. Use default virtual functions in case they are not overriden.
  5929. (nm_setting_populate_from_hash): Implement.
  5930. * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
  5931. name, use a defined string.
  5932. (real_act_stage4_get_ip4_config): Ditto.
  5933. 2007-10-16 Tambet Ingo <tambet@gmail.com>
  5934. * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
  5935. HAL is int, not uint.
  5936. 2007-10-15 Tambet Ingo <tambet@gmail.com>
  5937. Implement killswitch polling through HAL.
  5938. * src/nm-manager.c: Add wireless hardware status property. Add
  5939. 'properties-changed' signal for changes in wireless and wireless hardware
  5940. state changes.
  5941. * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
  5942. and update NMManager's wireless hardware state when it has changed.
  5943. (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
  5944. already does that.
  5945. * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
  5946. values of wireless state and wireless hardware state. Listen for the
  5947. 'properties-changed' signals, update the cached values and emit notify.
  5948. * include/NetworkManager.h: Fix a typo in a comment.
  5949. 2007-10-14 Dan Williams <dcbw@redhat.com>
  5950. * libnm-util/nm-setting.c
  5951. - (setting_wireless_security_need_secrets): handle LEAP secrets
  5952. 2007-10-13 Dan Williams <dcbw@redhat.com>
  5953. * libnm-util/nm-setting.h
  5954. libnm-util/nm-setting.c
  5955. src/supplicant-manager/nm-supplicant-config.c
  5956. - Make the 'proto' field of the 802-11-wireless-security field a
  5957. string list
  5958. 2007-10-12 Tambet Ingo <tambet@gmail.com>
  5959. Rework the "properties-changed" signal listening implementation.
  5960. Add a generic implementation to NMObject class that listens for
  5961. the signal and calls property setters of the target NMObject.
  5962. * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
  5963. * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
  5964. code to the end of file so that all the static functions are available
  5965. without extra declarations.
  5966. Remove the "properties-changed" signal handling and use the framework from
  5967. NMObject.
  5968. Implement property setters for properties that change with
  5969. "properties-changed" signal.
  5970. * libnm-glib/nm-access-point.c: Ditto.
  5971. 2007-10-12 Tambet Ingo <tambet@gmail.com>
  5972. Rework the "properties-changed" signal implementation.
  5973. In classes that need to use it, just emit "GObject::notify" and the new
  5974. framework takes care of the rest to make the signal available on dbus.
  5975. The framework queues the notifications and tries to send as many together
  5976. in one signal as possible.
  5977. * src/nm-properties-changed-signal.c:
  5978. * src/nm-properties-changed-signal.h: Implement.
  5979. * src/Makefile.am: Add new files to build.
  5980. * src/NetworkManagerAP.c: Use the general framework for properties-changed
  5981. signal.
  5982. * src/nm-device-802-11-wireless.c: Ditto.
  5983. 2007-10-10 Dan Williams <dcbw@redhat.com>
  5984. * src/nm-manager.c
  5985. - (wait_for_connection_expired): ensure info is valid
  5986. - (connection_added_default_handler): Should only remove pending
  5987. connection info when the manager has the connection that it's
  5988. waiting for. Fixes segfault in wait_for_connection_info().
  5989. 2007-10-10 Dan Williams <dcbw@redhat.com>
  5990. * libnm-util/nm-setting.c
  5991. libnm-util/nm-setting.h
  5992. - Add a default 'user_name' field to the VPN setting, which VPN plugins
  5993. can use if they choose. Should be filled in by the settings service
  5994. on-the-fly with the currently logged in user's username
  5995. 2007-10-10 Dan Williams <dcbw@redhat.com>
  5996. * src/nm-device-802-11-wireless.c
  5997. - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
  5998. as such, because even if the manager fills in the SSID, NM still
  5999. has to indicate to wpa_supplicant that the AP isn't broadcasting
  6000. its SSID
  6001. 2007-10-10 Tambet Ingo <tambet@gmail.com>
  6002. Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
  6003. code that used NM's own version of dbus signal handling and custom dictionary
  6004. marshalling/unmarshalling. With this change, all that obsolete code can disappear
  6005. and we get to maintain over 2000 lines less code.
  6006. * libnm-util/dbus-dict-helpers.c:
  6007. * libnm-util/dbus-dict-helpers.h: Remove.
  6008. * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
  6009. * src/ppp-manager/nm-pppd-plugin.xml: Implement.
  6010. * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
  6011. handlers.
  6012. * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
  6013. * configure.in: Remove test/libnm-util/Makefile creation.
  6014. * test/Makefile.am: Remove libnm-util from SUBDIRS.
  6015. * test/libnm-util/: Remove the whole directory.
  6016. 2007-10-10 Tambet Ingo <tambet@gmail.com>
  6017. * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
  6018. device_state_changed_idle_id variable or it would contain some random value and the
  6019. schedule_change_check calls would not do anything.
  6020. 2007-10-09 Dan Williams <dcbw@redhat.com>
  6021. * src/nm-device-802-11-wireless.c
  6022. - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
  6023. - (merge_scanned_ap): only have the manager fill the SSID if the AP
  6024. isn't broadcasting its SSID; set the non-broadcast flag here; fix
  6025. merging of non-SSID-broadcasting APs
  6026. 2007-10-09 Tambet Ingo <tambet@gmail.com>
  6027. * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
  6028. "guint8 *" since it's usually used with GByteArray->data.
  6029. (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
  6030. 2007-10-09 Tambet Ingo <tambet@gmail.com>
  6031. * src/NetworkManagerUtils.c
  6032. (nm_utils_is_empty_ssid):
  6033. (nm_utils_escape_ssid):
  6034. (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
  6035. lot of places, so they belong to libnm-utils instead.
  6036. Now with 100% less compiler warnings:
  6037. * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
  6038. (nm_dbus_unescape_object_path): Ditto.
  6039. (nm_utils_ssid_to_utf8): Ditto.
  6040. (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
  6041. (nm_utils_escape_ssid): Ditto.
  6042. (nm_utils_same_ssid): Ditto.
  6043. * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
  6044. (add_one_connection_element): Remove an unused variable.
  6045. (impl_manager_get_active_connections): Ditto.
  6046. * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
  6047. variable.
  6048. * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
  6049. from the previous commit.
  6050. * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
  6051. (real_act_stage1_prepare): Ditto.
  6052. (activation_success_handler): Ditto.
  6053. (get_property): Ditto.
  6054. * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
  6055. variable.
  6056. * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
  6057. it's always set.
  6058. * src/supplicant-manager/nm-supplicant-config.c
  6059. (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
  6060. to expected "char *".
  6061. (nm_supplicant_config_add_setting_wireless): Ditto.
  6062. (nm_supplicant_config_remove_option): Remove, not used.
  6063. * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
  6064. not double.
  6065. (test_wireless_enabled): Ifdef out unused function.
  6066. (device_deactivate): Ditto.
  6067. (device_state_changed): Ditto.
  6068. (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
  6069. (nm_utils_escape_ssid): Ditto.
  6070. * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
  6071. (nm_utils_is_empty_ssid): Ditto.
  6072. * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
  6073. unused variable.
  6074. * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
  6075. (setting_vpn_properties_update_secrets): Ditto.
  6076. (int_to_gvalue): Ifdef out for now, not used.
  6077. (byte_to_gvalue): Ditto.
  6078. * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
  6079. Unused, remove.
  6080. 2007-10-08 Tambet Ingo <tambet@gmail.com>
  6081. * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
  6082. about dbus manager, not named manager.
  6083. Make sure hal_manager and dbus_mgr are created before trying to unreference.
  6084. * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
  6085. handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
  6086. However, the same signal is emitted when we destroy it and there's
  6087. nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
  6088. (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
  6089. releasing the DBusGConnection, since proxy needs a conneciton.
  6090. (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
  6091. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6092. * src/NetworkManager.c
  6093. - (main): error on unknown command-line options
  6094. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6095. Reimplement the invalid connection list. Don't try to re-activate a
  6096. connection that just failed or was canceled.
  6097. * src/nm-device.c
  6098. - (connection_secrets_failed_cb): fail device activation, don't just
  6099. deactivate the device. Listeners have to know about the failure.
  6100. * src/NetworkManagerPolicy.c
  6101. - (nm_policy_auto_get_best_device): exclude invalid connections from
  6102. the connection list given to a device's get_best_connection()
  6103. method
  6104. - (device_state_changed): tag failed connections as invalid; clear the
  6105. tag from successful connections
  6106. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6107. Fix problems with interrupted activation. Previously, choosing an AP
  6108. from the menu, then choosing another one before the first connection was
  6109. successful wouldn't deactivate the device before starting the new connection
  6110. on that same device.
  6111. * src/NetworkManagerPolicy.c
  6112. - (deactivate_old_device, device_state_changed, state_changed,
  6113. nm_policy_new): wrong place to deactivate old devices
  6114. * src/nm-manager.c
  6115. - (pending_connection_info_destroy, finalize,
  6116. wait_for_connection_expired): decouple destruction of the pending
  6117. connection info from the manager device
  6118. - (connection_added_default_handler): deactivate any active or
  6119. activating device before starting a new activation
  6120. - (impl_manager_activate_device): deactivate any active or activating
  6121. device before starting a new activation; be sure not to leak
  6122. pending connection info if a new activation request arrives but
  6123. there's already a pending one in-process
  6124. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6125. * src/NetworkManagerAP.h
  6126. src/NetworkManagerAP.c
  6127. - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
  6128. should handle default SSIDs and whether or not to autoconnect
  6129. to them
  6130. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6131. * src/NetworkManagerPolicy.c
  6132. - (nm_policy_device_change_check): print out connection name where
  6133. possible
  6134. 2007-10-08 Dan Williams <dcbw@redhat.com>
  6135. * src/nm-device-802-11-wireless.c
  6136. src/nm-device-802-11-wireless.h
  6137. - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
  6138. 'hidden-ap-found' signal (for internal use only) that allows the
  6139. NMManager to fill in the AP's SSID if a connection has that AP's
  6140. BSSID in its seen-bssids list
  6141. * src/nm-manager.c
  6142. - (manager_hidden_ap_found, nm_manager_add_device): attach to a
  6143. wireless device's hidden-ap-found signal and fill in the APs SSID
  6144. if possible
  6145. 2007-10-07 Dan Williams <dcbw@redhat.com>
  6146. * src/nm-manager.c
  6147. src/nm-manager.h
  6148. - Add a 'connections-added' signal to batch together updates of large
  6149. numbers of connections, like when reading from a settings service
  6150. the first time. Otherwise, the policy would just activate the first
  6151. suitable connection it saw rather than waiting for the full list
  6152. to arrive.
  6153. - (nm_manager_class_init): register new signal
  6154. - (get_type_for_proxy, connection_get_settings_cb,
  6155. get_connection_for_proxy): centralize places where a proxy's setting
  6156. service is determined
  6157. - (free_get_settings_info): if the call being freed is the last call
  6158. in a pending call group, fire off the connections-added signal
  6159. - (internal_new_connection_cb): add call to a pending call group if
  6160. requested
  6161. - (list_connections_cb): always create a call group here, because this
  6162. call results in a batch of new connections
  6163. - (initial_get_connections): start getting system connections first
  6164. - (nm_manager_connections_destroy, emit_removed): actually emit the
  6165. removed signal when destroying connections
  6166. * src/NetworkManagerPolicy.c
  6167. - (nm_policy_new, connections_added): handle connections-added signal
  6168. from the manager
  6169. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6170. * src/nm-device-802-11-wireless.c
  6171. - (constructor): fix leaked socket
  6172. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6173. * src/NetworkManagerPolicy.c
  6174. - (nm_policy_auto_get_best_device): fix connection list reffing. Each
  6175. connection in the list returned by nm_manager_get_connections() is
  6176. reffed, but they weren't getting unreffed before returning
  6177. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6178. * src/nm-manager.c
  6179. - (connections_to_slist): sort connections first on autoconnect, then
  6180. on timestamp
  6181. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6182. * libnm-util/nm-connection.c
  6183. - (gvalue_to_string): handle UINT64
  6184. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6185. * src/NetworkManagerPolicy.c
  6186. - (connection_updated, nm_policy_new): recheck state when a connection
  6187. gets updated
  6188. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6189. * src/nm-manager.c
  6190. src/nm-manager.h
  6191. - (nm_manager_get_connection_dbus_path): make static
  6192. - (nm_manager_update_connections): remove; unused
  6193. - Add a connection-updated signal
  6194. - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
  6195. handle connection object updates
  6196. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6197. * src/NetworkManagerPolicy.c
  6198. - (connection_removed): deactivate removed connections
  6199. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6200. * libnm-util/nm-connection.c
  6201. libnm-util/nm-connection.h
  6202. - (nm_connection_replace_settings): new function
  6203. 2007-10-06 Dan Williams <dcbw@redhat.com>
  6204. * libnm-glib/nm-device-802-11-wireless.c
  6205. - (nm_device_802_11_wireless_get_active_access_point): don't segfault
  6206. on error when getting the active access point over D-Bus from NM
  6207. 2007-10-05 Dan Williams <dcbw@redhat.com>
  6208. * libnm-util/nm-setting.c
  6209. - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
  6210. to the NMSettingWireless table; it's now a string array not an array
  6211. of byte arrays
  6212. 2007-10-05 Dan Williams <dcbw@redhat.com>
  6213. * libnm-glib/nm-device-802-11-wireless.c
  6214. - Cache properties and update cached properties on D-Bus signals from NM
  6215. 2007-10-05 Dan Williams <dcbw@redhat.com>
  6216. * src/nm-device-802-11-wireless.c
  6217. - (set_current_ap): consolidate current_ap handling code into one place
  6218. to ensure that PropertiesChanged signals are emitted in all cases
  6219. - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
  6220. nm_device_802_11_wireless_dispose): use set_current_ap()
  6221. 2007-10-05 Dan Williams <dcbw@redhat.com>
  6222. * libnm-glib/nm-access-point.c
  6223. libnm-glib/nm-access-point.h
  6224. - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
  6225. because the value is cached internally now. Callers should not
  6226. free the internal value.
  6227. - Make signal name defines private
  6228. * test/nm-tool.c
  6229. libnm-glib/libnm-glib-test.c
  6230. - Don't free value returned from nm_access_point_get_hw_address()
  6231. 2007-10-04 Dan Williams <dcbw@redhat.com>
  6232. * introspection/nm-device-802-11-wireless.xml
  6233. src/nm-device-802-11-wireless.h
  6234. src/nm-device-802-11-wireless.c
  6235. - Add a PropertiesChanged signal for wireless device
  6236. - Store currently associated access point
  6237. - (periodic_update): generalize; update rate here too and emit the
  6238. correct PropertiesChanged signal when stuff changes
  6239. - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
  6240. real_activation_cancel_handler): clear current_ap when device is
  6241. deactivated
  6242. - (link_to_specific_ap, get_ap_blacklisted,
  6243. nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
  6244. code
  6245. - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
  6246. outside this file
  6247. - (real_set_hw_address): emit property changed signal if the card's
  6248. MAC address changes
  6249. - (real_act_stage1_prepare): set the initial current_ap to the AP
  6250. the card is supposed to be connecting to
  6251. - (activation_success_handler): send out property updates on successful
  6252. activation
  6253. - (get_property): pull bitrate from cached value; use OBJECT_PATH type
  6254. for ACTIVE_ACCESS_POINT property because sometimes there won't be
  6255. one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
  6256. - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
  6257. is now boxed; add PropertiesChanged signal
  6258. 2007-10-04 Dan Williams <dcbw@redhat.com>
  6259. * libnm-util/nm-connection.c
  6260. libnm-util/nm-connection.h
  6261. - (nm_connection_verify): new function
  6262. 2007-10-04 Dan Williams <dcbw@redhat.com>
  6263. * libnm-util/nm-setting.c
  6264. - (nm_settings_verify): use #defines when possible rather than strings
  6265. - (setting_connection_verify): ensure that 'name' and 'type' are valid
  6266. - (setting_vpn_verify): tighter validity check on 'service_type'
  6267. 2007-10-04 Dan Williams <dcbw@redhat.com>
  6268. * libnm-glib/nm-settings.c
  6269. - (nm_connection_settings_class_init): provide correct type for argument
  6270. to the Updated signal so that dbus-glib knows how to marshal it
  6271. 2007-10-03 Dan Williams <dcbw@redhat.com>
  6272. * src/nm-device-802-3-ethernet.c
  6273. - (real_get_best_connection): don't create automatic connections
  6274. internally; clients should provide a setting that applies to
  6275. the device with 'autoconnect: True'. Problem was that these
  6276. internally auto-created connections don't have a proxy or service
  6277. name becuase they weren't created by a settings daemon, and therefore
  6278. clients have no idea what to do with them.
  6279. 2007-10-03 Dan Williams <dcbw@redhat.com>
  6280. * src/nm-device-802-11-wireless.c
  6281. src/nm-device-802-11-wireless.h
  6282. introspection/nm-device-802-11-wireless.xml
  6283. - GetActiveNetworks -> GetAccessPoints
  6284. - ActiveNetwork -> ActiveAccessPoint
  6285. - NetworkAdded -> AccessPointAdded
  6286. - NetowrkRemoved -> AccessPointRemoved
  6287. * libnm-glib/nm-device-802-11-wireless.c
  6288. libnm-glib/nm-device-802-11-wireless.h
  6289. - network-added signal -> access-point-added
  6290. - network-removed signal -> access-point-removed
  6291. - nm_device_802_11_wireless_get_active_network() ->
  6292. nm_device_802_11_wireless_get_active_access_point()
  6293. - nm_device_802_11_wireless_get_network_by_path() ->
  6294. nm_device_802_11_wireless_get_access_point_by_path()
  6295. - nm_device_802_11_wireless_get_networks() ->
  6296. nm_device_802_11_wireless_get_access_points()
  6297. * libnm-glib/libnm-glib-test.c
  6298. test/nm-tool.c
  6299. src/NetworkManagerPolicy.c
  6300. - Fixups for Network -> AccessPoint
  6301. 2007-10-03 Dan Williams <dcbw@redhat.com>
  6302. Add a GetActiveConnections() method on the Manager object.
  6303. * src/nm-manager.c
  6304. src/nm-manager.h
  6305. introspection/nm-manager.xml
  6306. - (connection_get_settings_cb): keep connection type around too
  6307. - (impl_manager_get_active_connections, add_one_connection_element):
  6308. implement; returns all active connections and what devices they
  6309. apply to
  6310. * libnm-glib/nm-client.c
  6311. libnm-glib/nm-client.h
  6312. introspection/nm-manager-client.xml
  6313. - (nm_client_get_devices): GPtrArray elements are allocated and owned
  6314. by the caller; free here to avoid memory leak
  6315. - (nm_client_get_active_connections): implement; return the list of
  6316. active connections
  6317. - (nm_client_free_active_connection_element): implement; free an element
  6318. of the GSList returned by nm_client_get_active_connections()
  6319. 2007-10-03 Dan Williams <dcbw@redhat.com>
  6320. * src/nm-device-802-11-wireless.c
  6321. - (nm_device_802_11_wireless_update_bssid): remove
  6322. - (get_active_ap): new function; find the AP in the scan list which
  6323. matches the current BSSID and SSID of the wireless device
  6324. - (nm_device_802_11_periodic_update): get current AP using
  6325. get_active_ap() and print AP roam messages
  6326. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6327. * libnm-util/nm-setting.h
  6328. - Add a 'timestamp' option to NMSettingConnection
  6329. - Add a UINT64 type
  6330. * libnm-util/nm-setting.c
  6331. - (uint64_to_gvalue): new function
  6332. - (nm_setting_populate_from_hash, nm_setting_hash,
  6333. default_setting_clear_secrets): handle UINT64 type
  6334. - con_table: add 'timestamp' member
  6335. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6336. * src/nm-manager.c
  6337. - (impl_manager_activate_device): ensure the D-Bus method sends a return
  6338. value when the connection can be activated immediately
  6339. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6340. * libnm-glib/nm-device.c
  6341. - (nm_device_class_init): actually tell glib about the carrier-changed
  6342. signal
  6343. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6344. * configure.in
  6345. src/marshallers/Makefile.am
  6346. src/marshallers/nm-marshal.list
  6347. src/marshallers/nm-marshal-main.c
  6348. - Consolidate glib marshallers into one place
  6349. * src/dhcp-manager/Makefile.am
  6350. src/dhcp-manager/nm-dhcp-manager.c
  6351. src/supplicant-manager/Makefile.am
  6352. src/supplicant-manager/nm-supplicant-manager.c
  6353. src/supplicant-manager/nm-supplicant-interface.c
  6354. src/ppp-manager/Makefile.am
  6355. src/ppp-manager/nm-ppp-manager.c
  6356. src/vpn-manager/Makefile.am
  6357. src/vpn-manager/nm-vpn-connection.c
  6358. src/Makefile.am
  6359. - Use consolidated marshallers
  6360. * src/dhcp-manager/nm-dhcp-marshal.list
  6361. src/dhcp-manager/nm-dhcp-marshal-main.c
  6362. src/supplicant-manager/nm-supplicant-marshal-main.c
  6363. src/supplicant-manager/nm-supplicant-marshal.list
  6364. src/nm-marshal-main.c
  6365. src/nm-marshal.list
  6366. src/ppp-manager/nm-ppp-marshal-main.c
  6367. src/ppp-manager/nm-ppp-marshal.list
  6368. src/vpn-manager/nm-vpn-marshal-main.c
  6369. src/vpn-manager/nm-vpn-marshal.list
  6370. - Remove
  6371. 2007-10-01 Dan Williams <dcbw@redhat.com>
  6372. * include/NetworkManagerVPN.h
  6373. - define VPN connection state change reason codes
  6374. * src/vpn-manager/Makefile.am
  6375. src/vpn-manager/nm-vpn-marshal.list
  6376. src/vpn-manager/nm-vpn-marshal-main.c
  6377. - Add marshallers for StateChanged signal
  6378. * introspection/nm-vpn-connection.xml
  6379. - New Banner property
  6380. - StateChanged signal now includes a 'reason' argument
  6381. * src/vpn-manager/nm-vpn-connection.c
  6382. src/vpn-manager/nm-vpn-connection.h
  6383. - Add a "Banner" property that contains the returned VPN server login
  6384. banner (if any); valid only in the ACTIVATED state
  6385. - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
  6386. a 'reason' argument and emits that reason along with the
  6387. state-changed signal
  6388. - Fix up calls to nm_vpn_connection_set_state() to include a reason
  6389. - (nm_vpn_connection_ip4_config_get): save banner for later
  6390. - (nm_vpn_connection_get_banner, get_property,
  6391. nm_vpn_connection_class_init): implement Banner property
  6392. * src/vpn-manager/nm-vpn-service.c
  6393. - (nm_vpn_service_connections_stop): take a reason argument; copy the
  6394. connection list because elements may get added/removed from it
  6395. while iterating over the list
  6396. - (connection_state_changed): signal now includes the 'reason' argument
  6397. * libnm-glib/nm-vpn-connection.c
  6398. libnm-glib/nm-vpn-connection.h
  6399. - (nm_vpn_connection_get_banner): new function
  6400. - (state_changed_proxy): handle reason argument
  6401. 2007-09-28 Tambet Ingo <tambet@gmail.com>
  6402. * src/nm-manager.c:
  6403. * src/nm-manager.h:
  6404. Implement device activation through NMManager.
  6405. Implement "pending device activation" here - If the connection isn't found,
  6406. we try to wait for up to 5 seconds for the connection to be provided.
  6407. Add NMConnectionType argument to "connection-added" and "connection-removed"
  6408. signals.
  6409. (nm_manager_get): Remove. Finally.
  6410. * src/nm-activation-request.c:
  6411. * src/nm-activation-request.h:
  6412. Remove all the deferred activation code.
  6413. * src/nm-device.c: Remove all the deferred activation code. Once the device
  6414. activation is started, it's started. Update the activation virtual function
  6415. signature.
  6416. * src/nm-device-interface.c:
  6417. * src/nm-device-interface.h:
  6418. Device activation now takes only NMActRequest argument.
  6419. Don't expose device activation directly on dbus, it's supposed to go through
  6420. NMManager now.
  6421. * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
  6422. a bit more compact.
  6423. Use the new device activation methods through NMManager.
  6424. * introspection/nm-manager-client.xml:
  6425. * introspection/nm-manager.xml:
  6426. * libnm-glib/nm-client.c:
  6427. * libnm-glib/nm-client.h:
  6428. Add device activation method.
  6429. * libnm-glib/nm-device.c:
  6430. * libnm-glib/nm-device.h:
  6431. * introspection/nm-device.xml:
  6432. Remove device activation method. It's done through NMManager now.
  6433. * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
  6434. new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
  6435. 2007-09-28 Dan Williams <dcbw@redhat.com>
  6436. * libnm-glib/nm-vpn-connection.c
  6437. - (nm_vpn_connection_get_state): try to update state if the current
  6438. state is UNKNOWN
  6439. 2007-09-27 Dan Williams <dcbw@redhat.com>
  6440. Patch from Bill Nottingham
  6441. * src/supplicant-manager/nm-supplicant-config.c
  6442. - (ADD_STRING_VAL): use correct length for binary blobs when sending
  6443. data to the supplicant
  6444. 2007-09-27 Dan Williams <dcbw@redhat.com>
  6445. * src/NetworkManagerSystem.c
  6446. - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
  6447. and all address manipulation here should be happening on the
  6448. _VPN_ device, not the active device
  6449. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6450. * src/nm-manager.c
  6451. src/nm-manager.h
  6452. src/nm-activation-request.c
  6453. src/nm-activation-request.h
  6454. - Move the GetSecrets stuff out of the NMManager instance because it
  6455. doesn't really need to be there and complicates things
  6456. * src/nm-device.c
  6457. - (connection_secrets_failed_cb, device_activation_go): connect to the
  6458. connection-secrets-failed signal and deactivate the device if
  6459. the GetSecrets call fails
  6460. * src/nm-device-802-11-wireless.c
  6461. - (link_timeout_cb, supplicant_connection_timeout_cb,
  6462. real_act_stage2_config, real_act_stage4_ip_config_timeout): request
  6463. secrets and give correct hints about whether new secrets should be
  6464. asked for by the client or not
  6465. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6466. * src/vpn-manager/nm-vpn-connection.c
  6467. - (nm_vpn_connection_set_state, clear_need_auth, finalize,
  6468. connection_secrets_updated_cb, get_secrets_cb): don't need to attach
  6469. to the secrets-updated signal of the NMConnection since updating
  6470. the secrets is done within the scope of the NMVPNConnection object
  6471. already
  6472. - (get_connection_secrets): fix an uninialized variable usage error
  6473. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6474. * libnm-util/nm-setting.c
  6475. - (setting_vpn_properties_update_secrets): implement so VPN secrets
  6476. actually get updated when the user enters them
  6477. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6478. * libnm-glib/nm-vpn-plugin.c
  6479. - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
  6480. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6481. * include/NetworkManagerVPN.h
  6482. - Add a NEED_AUTH state
  6483. * src/vpn-manager/nm-vpn-connection.c
  6484. - Implement the NEED_AUTH state. First ask the VPN service plugin if
  6485. the connection needs secrets, and if so, then ask the settings
  6486. service to fill in the secrets. Then start the connection.
  6487. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6488. * src/vpn-manager/nm-vpn-manager.c
  6489. - (new_vpn_error, impl_vpn_manager_connect): set errors
  6490. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6491. * introspection/nm-vpn-plugin.xml
  6492. libnm-glib/nm-vpn-plugin.c
  6493. libnm-glib/nm-vpn-plugin.h
  6494. - (impl_vpn_plugin_need_secrets): implement a call that should return
  6495. the name of the NMSetting in an NMConnection that may require
  6496. secrets specific to that VPN plugin
  6497. 2007-09-26 Dan Williams <dcbw@redhat.com>
  6498. * src/nm-manager.c
  6499. src/nm-manager.h
  6500. - (nm_manager_get_connection_secrets): make static, unused outside
  6501. the file
  6502. - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
  6503. 2007-09-26 Tambet Ingo <tambet@gmail.com>
  6504. * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
  6505. method.
  6506. (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
  6507. unreference the connection.
  6508. * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
  6509. passing properties hash and routes string list, pass NMConnection (in hashed form).
  6510. * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
  6511. as GSList, no need to copy stuff around anymore.
  6512. (nm_vpn_connection_activate): Update the plugin activation method.
  6513. * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
  6514. routes argument to GSList.
  6515. 2007-09-26 Tambet Ingo <tambet@gmail.com>
  6516. * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
  6517. state and try to get the secrets.
  6518. * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
  6519. connections from NMManager and let the device to choose the best from the list.
  6520. Since the connection list is sorted by system ones first and user ones later,
  6521. the devices still prefer system connections like they did before.
  6522. (deactivate_old_device): Implement. When a device starts activation, we have a
  6523. policy (for now at least) to deactivate any other device that might be either
  6524. active or still activating.
  6525. * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
  6526. It's set on construction, there will be no other way to access it.
  6527. * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
  6528. device events and drive the device, not the other way around.
  6529. * src/nm-device-802-3-ethernet.c: Ditto.
  6530. * src/nm-device.c (nm_device_get_best_connection): The connections list is now
  6531. sent along, pass it on to virtual functions.
  6532. * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
  6533. for now, but should really be public instead of nm_device_get_iface() since iface
  6534. is a property of the DeviceInterface, not Device.
  6535. (impl_device_activate): Don't touch NMManager!
  6536. 2007-09-26 Jürg Billeter <j@bitron.ch>
  6537. * initscript/paldo/NetworkManager.in:
  6538. * initscript/paldo/NetworkManagerDispatcher.in:
  6539. * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
  6540. (nm_system_flush_loopback_routes): update paldo backend
  6541. 2007-09-26 Tambet Ingo <tambet@gmail.com>
  6542. * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
  6543. The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
  6544. which means none of the devices get brought down properly, which in turn leaves
  6545. DHCP client running.
  6546. * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
  6547. (supplicant_connection_timeout_cb): Ditto.
  6548. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6549. * src/nm-device.c
  6550. - (device_activation_go): small hack to work around race when
  6551. activating deferred connections; should solve this in a better way
  6552. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6553. * introspection/nm-device.xml
  6554. libnm-glib/nm-device.c
  6555. libnm-glib/nm-device.h
  6556. - Add 'Carrier' property to exported NMDevice objects
  6557. * src/nm-device-interface.h
  6558. src/nm-device-interface.c
  6559. src/nm-device.c
  6560. - Add a 'carrier' property to internal NMDevice objects
  6561. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6562. * src/nm-device-802-11-wireless.c
  6563. - (ap_auth_enforced): also return the encryption status of the AP so
  6564. that callers can differentiate easily between unencrypted APs
  6565. and encrypted ones, in addition to whether the AP has an
  6566. authenticator
  6567. - (link_timeout_cb, supplicant_connection_timeout_cb,
  6568. real_act_stage4_ip_config_timeout): handle unencrypted APs better,
  6569. previously would request secrets from unencrypted APs at times
  6570. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6571. * src/nm-manager.c
  6572. - (nm_manager_update_state): new function; updates state and emits
  6573. appropriate signals ensuring a state-change signal for the same state
  6574. never gets emitted twice in a row.
  6575. - (manager_device_state_changed): handle more device state to get a
  6576. better picture of the overall NM state
  6577. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6578. * libnm-glib/nm-settings.c
  6579. libnm-glib/nm-settings.h
  6580. - (new_error -> nm_settings_new_error): make public so that subclasses
  6581. can use the same error domain. Also pass a valid error code to
  6582. g_error_new_literal() so that libdbus doesn't assert when converting
  6583. the GError into a DBusError
  6584. - (impl_settings_list_connections, impl_connection_settings_get_id,
  6585. impl_connection_settings_get_settings,
  6586. impl_connection_settings_get_secrets): use new error creator
  6587. function
  6588. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6589. * src/NetworkManager.c
  6590. - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
  6591. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6592. * src/supplicant-manager/nm-supplicant-manager.c
  6593. - (poke_supplicant_cb, nm_supplicant_manager_init,
  6594. nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
  6595. nm_supplicant_manager_startup): when the supplicant isn't running,
  6596. try to start it periodically via system bus activation. Fixes
  6597. a problem where if wpa_supplicant goes away, NM gets stuck waiting
  6598. for the supplicant to come back
  6599. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6600. Ensure that old activation requests are forgotten about; previously
  6601. hitting Cancel in the password dialog would deactivate whatever device
  6602. that password was requested for, even if that wasn't the currently
  6603. activating connection.
  6604. * src/nm-manager.c
  6605. src/nm-manager.h
  6606. - (nm_manager_get_connection_secrets): track the pending call
  6607. object so it can be canceled later if needed
  6608. - (nm_manager_cancel_get_connection_secrets): cancel a pending
  6609. GetSecrets call for a particular connection
  6610. * src/nm-activation-request.c
  6611. - (dispose): cancel any outstanding GetSecrets calls on the
  6612. connection
  6613. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6614. * src/NetworkManagerPolicy.c
  6615. - (nm_policy_device_change_check): handle devices that have a
  6616. deferred activation. These devices are not really active _yet_,
  6617. but need to be treated as such here. Don't interrupt them
  6618. automatically.
  6619. * src/nm-device-interface.c
  6620. - (impl_device_activate): handle devices that have a deferred activation
  6621. like activating or active devices. When multiple active devices
  6622. get committed, the device shouldn't be deactivated until the
  6623. connection details are available to avoid DoS and such. Currently,
  6624. any active, activating, or deferred activation device is deactivated
  6625. here before starting the new activation request.
  6626. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6627. Properly re-query secrets from the settings daemon when stuff fails.
  6628. * src/nm-device-802-11-wireless.c
  6629. - (ap_auth_enforced): handle static WEP correctly here by differentiating
  6630. between Shared Key and Open System auth modes
  6631. - (link_timeout_cb, supplicant_connection_timeout_cb,
  6632. real_act_stage4_ip_config_timeout): clear existing secrets and
  6633. request new ones when something fails due to a suspected wrong key
  6634. - (real_act_stage2_config): fix for new request_new argument to
  6635. nm_manager_get_connection_secrets()
  6636. * src/nm-manager.c
  6637. src/nm-manager.h
  6638. - (nm_manager_get_connection_secrets): return error status; pass
  6639. new request_new argument on to the settings daemon
  6640. * introspection/nm-settings-connection.xml
  6641. - New 'request_new' argument to the GetSecrets call that hints to the
  6642. settings daemon to ask the user for completely new secrets
  6643. * libnm-glib/nm-settings.c
  6644. libnm-glib/nm-settings.h
  6645. - (impl_connection_settings_get_secrets): handle new 'request_new'
  6646. argument
  6647. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6648. * libnm-util/nm-connection.c
  6649. libnm-util/nm-connection.h
  6650. - (nm_connection_clear_secrets): new function; clear secrets out of
  6651. each NMSetting in an NMConnection
  6652. * libnm-util/nm-setting.h
  6653. libnm-util/nm-setting.c
  6654. - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
  6655. secrets out of an NMSetting
  6656. - (nm_setting_connection_new, nm_setting_ip4_config_new,
  6657. nm_setting_wired_new, nm_setting_wireless_new,
  6658. nm_setting_wireless_security_new, nm_setting_ppp_new,
  6659. nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
  6660. to default handler default_setting_clear_secrets()
  6661. 2007-09-25 Dan Williams <dcbw@redhat.com>
  6662. * src/nm-activation-request.c
  6663. src/nm-activation-request.h
  6664. - (nm_act_request_is_deferred): new function
  6665. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6666. * src/nm-device-802-11-wireless.c
  6667. - (activation_success_handler): update signal strength immediately
  6668. after activation
  6669. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6670. * libnm-util/nm-setting.c
  6671. - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
  6672. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6673. * src/NetworkManagerPolicy.c
  6674. - (nm_policy_auto_get_best_device): don't interrupt activation of a
  6675. device by deactivating it because it doesn't have a "best connection".
  6676. Since autoconnect=False connections aren't automatically chosen,
  6677. NM would interrupt activation of such a connection because it
  6678. would never be "best" due to autoconnect=False.
  6679. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6680. * src/nm-manager.c
  6681. - (nm_manager_get_connection_secrets): Add a long timeout so the user
  6682. actually has some time to enter a key before the GetSecrets call
  6683. times out
  6684. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6685. * introspection/nm-manager.xml
  6686. src/nm-manager.c
  6687. - (impl_manager_legacy_state): fix 'state' method call return value
  6688. 2007-09-24 Matthias Clasen <mclasen@redhat.com>
  6689. * test/Makefile.am: Install nm-tool
  6690. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6691. Patch from Ross Burton <ross@burtonini.com>
  6692. * test/nm-tool.c
  6693. callouts/nm-dhcp-client-action.c
  6694. src/nm-netlink.c
  6695. src/vpn-manager/nm-vpn-connection.c
  6696. libnm-glib/libnm-glib-test.c
  6697. - warning fixes
  6698. 2007-09-24 Dan Williams <dcbw@redhat.com>
  6699. * libnm-util/nm-utils.h
  6700. libnm-util/nm-utils.c
  6701. - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
  6702. remove, unused
  6703. 2007-09-23 Dan Williams <dcbw@redhat.com>
  6704. * vpn-daemons/vpnc/properties/nm-vpnc.c
  6705. - Update for new VPN properties API bits; instead of passing around
  6706. a lot of random things, everything goes into the NMConnection
  6707. object.
  6708. 2007-09-23 Dan Williams <dcbw@redhat.com>
  6709. * libnm-util/nm-setting.c
  6710. - Correctly dispose of settings objects if creating them from a hash
  6711. table fails
  6712. 2007-09-23 Dan Williams <dcbw@redhat.com>
  6713. * libnm-util/nm-setting.c
  6714. - (property_value_destroy, nm_setting_vpn_properties_new): initialize
  6715. the hash table in a standard manner. Clients of libnm-util should
  6716. only call g_hash_table_remove_all(), never destroy the hash table
  6717. and recreate it.
  6718. 2007-09-22 Dan Williams <dcbw@redhat.com>
  6719. * src/nm-device-802-11-wireless.c
  6720. - (real_bring_up): update signal strength every 6 seconds, not 2. No
  6721. real reason to do it so often, and reduces wakeups for clients.
  6722. 2007-09-21 Dan Williams <dcbw@redhat.com>
  6723. * src/nm-device-802-11-wireless.c
  6724. - (build_supplicant_config): wpa_supplicant requires the option
  6725. key_mgmt=NONE for unencrypted networks
  6726. - (real_act_stage2_config): clarify log message on activation
  6727. 2007-09-21 Dan Williams <dcbw@redhat.com>
  6728. * test/nm-supplicant-test.c
  6729. test/Makefile.am
  6730. - Remove supplicant test binary; no longer applicable
  6731. 2007-09-21 Dan Williams <dcbw@redhat.com>
  6732. * src/supplicant-manager/nm-supplicant-manager.c
  6733. - (nm_supplicant_manager_init): poke the supplicant at startup to
  6734. activate it on the system bus
  6735. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6736. * initscript/RedHat/NetworkManager.in
  6737. - dhcdbd is no longer used, so don't try to start it from the initscripts
  6738. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6739. * src/nm-device.c
  6740. - (nm_device_is_activating): work around a race between auto-activation
  6741. and the user activating the same device that is being auto-activated
  6742. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6743. * src/nm-device-interface.c
  6744. - (impl_device_activate): until multiple active device support lands,
  6745. ensure only one device can be active at a time
  6746. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6747. * src/supplicant-manager/nm-supplicant-config.c
  6748. src/supplicant-manager/nm-supplicant-config.h
  6749. - (nm_supplicant_config_add_option): hide secrets from system logs
  6750. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6751. * src/NetworkManagerPolicy.c
  6752. - (nm_policy_device_change_check): re-enable the wireless device change
  6753. checking code; insted of checking for SSIDs, check for the same
  6754. connection instead
  6755. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6756. * src/nm-device-802-11-wireless.c
  6757. - (supplicant_iface_connection_state_cb_handler): don't use the card's
  6758. composite link state when determining when to start the disconnection
  6759. timer; that link state is already based on the supplicant interface's
  6760. status which is exactly what's already being examined, plus the link
  6761. state is a conglomeration of various things that we don't want here
  6762. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6763. * libnm-glib/nm-access-point.c
  6764. - (handle_property_changed): strength is a UCHAR
  6765. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6766. * src/supplicant-manager/nm-supplicant-config.c
  6767. - (nm_supplicant_config_add_setting_wireless_security): uppercase
  6768. string list keywords too since that's what wpa_supplicant wants
  6769. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6770. * libnm-util/nm-setting.c
  6771. - (convert_strv_to_slist): dupe the values in the list because since
  6772. the list is a boxed value, it'll get destroyed when it's container
  6773. (like a hash table or whatever) gets destroyed
  6774. 2007-09-20 Tambet Ingo <tambet@gmail.com>
  6775. * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
  6776. GSList.
  6777. * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
  6778. * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
  6779. just use (g_object_set_data_full).
  6780. * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
  6781. that NMSettingVPN->routes is a GSList, convert it to char **.
  6782. (nm_vpn_connection_ip4_config_get): Free routes when done.
  6783. (nm_vpn_connection_activate): Ditto.
  6784. * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
  6785. (real_act_stage2_config): Use defined setting names.
  6786. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6787. * src/nm-device-802-11-wireless.c
  6788. src/nm-manager.c
  6789. src/nm-manager.h
  6790. - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
  6791. so that the device can be deactivated if secrets are wrong
  6792. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6793. * introspection/nm-settings-connection.xml
  6794. libnm-glib/nm-settings.c
  6795. libnm-glib/nm-settings.h
  6796. - Make GetSecrets asynchronous on the server side
  6797. 2007-09-20 Dan Williams <dcbw@redhat.com>
  6798. * src/nm-manager.h
  6799. src/nm-device.c
  6800. - (nm_device_activate): actually check if a given connection
  6801. exists before assuming it doesn't
  6802. 2007-09-20 Tambet Ingo <tambet@gmail.com>
  6803. * libnm-util/nm-connection.c (register_default_creators): Use defined
  6804. setting names. Register NMSettingVPN and NMSettingVPNProperties.
  6805. * libnm-util/nm-setting.c: Define property name strings, use them.
  6806. Implement NMSettingVPN and NMSettingVPNProperties settings.
  6807. Implement NM_S_TYPE_GVALUE_HASH.
  6808. (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
  6809. (setting_connection_verify): Rename 'devtype' property to 'type'.
  6810. * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
  6811. properties.
  6812. * src/vpn-manager/nm-vpn-service.c: Ditto.
  6813. * src/vpn-manager/nm-vpn-connection.c: Ditto.
  6814. * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
  6815. (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
  6816. * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
  6817. names. NMSettingConnection->devtype got renamed to 'type'.
  6818. * src/nm-device-802-3-ethernet.c (find_best_connection):
  6819. (real_get_best_connection): Ditto.
  6820. * src/NetworkManager.c (main): Update the vpn manager creation arguments.
  6821. * libnm-glib/nm-vpn-manager.[ch]: Update.
  6822. 2007-09-19 Dan Williams <dcbw@redhat.com>
  6823. * src/NetworkManagerAP.c
  6824. src/NetworkManagerAP.h
  6825. introspection/nm-access-point.xml
  6826. - Change strength-changed signal into a properties-changed signal
  6827. for all properties, not just strength. Export that signal over dbus
  6828. so listeners don't have to poll NM for changes.
  6829. - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
  6830. get exported over D-Bus, so break up the logic and let other bits
  6831. decided when to export the AP
  6832. - (nm_ap_new_from_ap): remove, unused
  6833. * src/nm-device-802-11-wireless.c
  6834. - (merge_scanned_ap): only export APs that are actually on the device
  6835. list, not every AP created internally
  6836. * libnm-glib/nm-access-point.c
  6837. libnm-glib/nm-access-point.h
  6838. - Cache properties internally and only hit DBus when needed. Get
  6839. property updates from NM signals
  6840. 2007-09-16 Dan Williams <dcbw@redhat.com>
  6841. * libnm-util/nm-connection.c
  6842. libnm-util/nm-connection.h
  6843. - (nm_connection_for_each_setting_value): new function; iterate over
  6844. each setting's value and call a user-provided function with details
  6845. about that value
  6846. * libnm-util/nm-setting.c
  6847. libnm-util/nm-setting.h
  6848. - (nm_setting_enumerate_values): new function; enumerate the values
  6849. of a specific NMSetting subclass for a user-provided function with
  6850. details about that value
  6851. - Change wep_tx_keyidx to a uint32
  6852. - Create settings value tables for each setting defining their type,
  6853. key name, offset into the NMSetting subclass' structure, and whether
  6854. they are required and/or a secret
  6855. - (nm_setting_populate_from_hash): generic function to populate an
  6856. NMSetting from a GHash table, make all settings use it
  6857. - (nm_setting_hash): generic function to derive a GHashTable from
  6858. an NMSetting object, make all settings use it
  6859. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6860. Remove unused stuff in libnm-util
  6861. * configure.in
  6862. libnm-util/Makefile.am
  6863. libnm-util/cipher-private.h
  6864. libnm-util/cipher-wep-ascii.c
  6865. libnm-util/cipher-wep-ascii.h
  6866. libnm-util/cipher-wep-hex.c
  6867. libnm-util/cipher-wep-hex.h
  6868. libnm-util/cipher-wep-passphrase.c
  6869. libnm-util/cipher-wep-passphrase.h
  6870. libnm-util/cipher-wpa-psk-hex.c
  6871. libnm-util/cipher-wpa-psk-hex.h
  6872. libnm-util/cipher-wpa-psk-passphrase.c
  6873. libnm-util/cipher-wpa-psk-passphrase.h
  6874. libnm-util/cipher.c
  6875. libnm-util/cipher.h
  6876. libnm-util/dbus-helpers.c
  6877. libnm-util/dbus-helpers.h
  6878. libnm-util/gnome-keyring-md5.c
  6879. libnm-util/gnome-keyring-md5.h
  6880. libnm-util/sha1.c
  6881. libnm-util/sha1.h
  6882. src/nm-device-802-11-wireless.c
  6883. test/libnm-util/Makefile.am
  6884. test/libnm-util/test-ciphers.c
  6885. test/libnm-util/test-dbus-helpers.c
  6886. test/libnm-util/test-inputs.h
  6887. - Removed
  6888. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6889. * libnm-util/dbus-method-dispatcher.c
  6890. libnm-util/dbus-method-dispatcher.h
  6891. - Remove, unused
  6892. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6893. Implement deferred activation support in the device class.
  6894. * src/nm-device-interface.c
  6895. src/nm-device-interface.h
  6896. - (nm_device_interface_activate): take more arguments to support
  6897. deferred activation; callers must pass one of (connection) OR
  6898. (service_name, connection_path)
  6899. - (impl_device_activate): connection validation is punted to the device
  6900. to be able to handle deferred activation. Yes, this means errors
  6901. don't get returned from the Activate() dbus call, and yes, that
  6902. should be fixed somehow later.
  6903. * src/nm-device.c
  6904. src/nm-device.h
  6905. - (clear_act_request): clear additional deferred activation stuff too
  6906. - (deferred_activation_timeout_cb): new function; clean up when
  6907. deferred activation times out.
  6908. - (deferred_activation_start_cb): new function; when the connection
  6909. finally becomes available, start device activation
  6910. - (nm_device_activate): attach to the right signals of the activation
  6911. request if we need to defer activation until the connection is valid
  6912. * src/NetworkManagerPolicy.c
  6913. - (nm_policy_device_change_check): update for additional arguments
  6914. required for nm_device_interface_activate(). Pass NULL for these
  6915. though because this function already knows exactly which
  6916. NMConnection to use
  6917. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6918. Implement deferred activation handling in the NMActRequest class. When a
  6919. client wants to activate a device but must create the NMConnection details
  6920. on the fly, there likely hasn't been enough time yet for NM to receive the
  6921. new connection signal and grab all the connection details. So the
  6922. activation is deferred (and bounded by a timer) for a while, and if the
  6923. connection appears within the window, it is activated.
  6924. * src/nm-activation-request.c
  6925. src/nm-activation-request.h
  6926. - (nm_act_request_class_init): two new signals to support deferred
  6927. activation, to allow the listener to handle both timeout and success
  6928. - (nm_act_request_new_deferred): new function, starts the deferred
  6929. activation timeout handler and listens to the NMManager for
  6930. new-connection signals to notice when the connection comes in
  6931. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6932. * src/nm-manager.h
  6933. src/nm-manager.c
  6934. - (nm_manager_get_connection_service_name,
  6935. nm_manager_get_connection_dbus_path): get details about a connection
  6936. known internally by the NMManager
  6937. - (nm_manager_class_init): fix connection add/remove signal marshalers
  6938. because NMConnection is now a GObject subclass
  6939. - Use constant for the gobject data tag used on NMConnection objects for
  6940. storing the associated DBusGProxy
  6941. 2007-09-14 Dan Williams <dcbw@redhat.com>
  6942. * utils/Makefile.am
  6943. utils/nm-utils.c
  6944. utils/nm-utils.h
  6945. src/supplicant-manager/Makefile.am
  6946. src/dhcp-manager/Makefile.am
  6947. src/backends/Makefile.am
  6948. src/named-manager/Makefile.am
  6949. src/ppp-manager/Makefile.am
  6950. src/vpn-manager/Makefile.am
  6951. test/libnm-util/Makefile.am
  6952. test/test-common/Makefile.am
  6953. - Remove utils/; it was unused
  6954. 2007-09-13 Dan Williams <dcbw@redhat.com>
  6955. * libnm-glib/nm-vpn-manager.h
  6956. libnm-glib/nm-vpn-manager.c
  6957. - (nm_vpn_manager_connect): take routes as a GSList, not a char **
  6958. 2007-09-13 Dan Williams <dcbw@redhat.com>
  6959. * src/nm-device-802-3-ethernet.c
  6960. - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
  6961. netlink monitor carrier signals on dispose, not bring down. The
  6962. carrier signals should be handled over the entire lifetime of the
  6963. device anyway, not created/destroyed on up or down.
  6964. 2007-09-13 Dan Williams <dcbw@redhat.com>
  6965. * libnm-glib/nm-device.c
  6966. libnm-glib/nm-device.h
  6967. - (nm_device_activate): take a connection object path rather than an
  6968. NMConnection because NMConnection isn't exported over D-Bus and
  6969. therefore it dbus-glib can't automatically get an object path from it
  6970. 2007-09-13 Dan Williams <dcbw@redhat.com>
  6971. * libnm-util/nm-setting.c
  6972. - (nm_setting_wired_new): set autonegotiate to TRUE by default
  6973. 2007-09-13 Tambet Ingo <tambet@gmail.com>
  6974. * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
  6975. 2007-09-12 Tambet Ingo <tambet@gmail.com>
  6976. * src/vpn-manager/nm-vpn-connection.[ch]:
  6977. * src/vpn-manager/nm-vpn-manager.[ch]:
  6978. * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
  6979. dbus-glib, GObjects, signals etc.
  6980. * libnm-glib/nm-vpn-manager.[ch]:
  6981. * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
  6982. so much, rewrite these too.
  6983. * libnm-glib/Makefile.am: Add new files to build, build new binding files for
  6984. the new introspection files.
  6985. * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
  6986. * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
  6987. the header with the same name from libnm-utils.
  6988. * libnm-glib/nm-vpn-plugin.[ch]: Implement.
  6989. * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
  6990. * introspection/nm-vpn-plugin.xml: Implement.
  6991. * introspection/nm-vpn-connection.xml: Implement.
  6992. * introspection/nm-vpn-manager.xml: Implement.
  6993. * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
  6994. the named manager argument, it can just as easily get it as the caller.
  6995. (nm_system_vpn_device_unset_from_ip4_config): Ditto.
  6996. * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
  6997. * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
  6998. * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
  6999. libnm-utils.
  7000. * libnm-util/nm-connection.c: Ditto.
  7001. * src/NetworkManagerMain.h: Remove, it's finally empty.
  7002. * configure.in: Remove utils/ from build.
  7003. * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
  7004. of hard-coded strings.
  7005. * utils/: Move it over to libnm-util.
  7006. * test/Makefile.am: Link against libnm-util now that util/ is gone.
  7007. * dispatcher-daemon/Makefile.am: Ditto.
  7008. * src/Makefile.am: Ditto.
  7009. 2007-09-12 Dan Williams <dcbw@redhat.com>
  7010. Wireless connections can be made with config data from the applet now.
  7011. Yay.
  7012. * src/supplicant-manager/nm-supplicant-config.h
  7013. src/supplicant-manager/nm-supplicant-config.c
  7014. - (nm_supplicant_config_new): kill unused init parameter 'iface'
  7015. - (nm_supplicant_config_add_setting_wireless,
  7016. nm_supplicant_config_add_setting_wireless_security): new functions;
  7017. add key/value pairs from the settings objects to the supplicant
  7018. config
  7019. * src/nm-device-802-11-wireless.c
  7020. - (cull_scan_list): fix check to not prune currently associated AP
  7021. - (build_supplicant_config, real_act_stage2_config): call the functions
  7022. of the NMSupplicantConfig that parse settings objects rather than
  7023. doing it manually here
  7024. 2007-09-12 Dan Williams <dcbw@redhat.com>
  7025. * src/supplicant-manager/nm-supplicant-interface.c
  7026. src/supplicant-manager/nm-supplicant-marshal.list
  7027. - (nm_supplicant_interface_class_init): fix stupid mistake, the
  7028. "connection-error" signal arguments should be STRING not CHAR
  7029. 2007-09-12 Dan Williams <dcbw@redhat.com>
  7030. * src/NetworkManagerUtils.c
  7031. src/NetworkManagerUtils.h
  7032. - (nm_utils_hexstr2bin): new function
  7033. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7034. * src/nm-manager.c
  7035. - (connection_get_settings_cb): emit connection-added signal
  7036. - (connection_removed_cb): uncomment bits for system settings service,
  7037. send connection-removed when appropriate
  7038. - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
  7039. the stack by trying to g_object_set_data() on something that's
  7040. not a GObject; handle case where settings service returns
  7041. empty settings hash table
  7042. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7043. * src/NetworkManagerPolicy.c
  7044. - (connection_added, connection_removed): trigger device change checks
  7045. on connection changes
  7046. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7047. * src/nm-activation-request.c
  7048. - (connection_secrets_updated_cb): fix c&p error in signal emission
  7049. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7050. * src/nm-device-802-11-wireless.c
  7051. - (real_connection_secrets_updated): fix erroneous check
  7052. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7053. * introspection/nm-device.xml
  7054. libnm-glib/nm-device.c
  7055. libnm-glib/nm-device.c
  7056. - Fix Activate call argument borkage; Activate takes 3 arguments
  7057. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7058. * libnm-glib/nm-access-point.c
  7059. libnm-glib/nm-access-point.c
  7060. - (nm_access_point_get_frequency): now returns guint32 to match
  7061. property change on 2007-09-10
  7062. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7063. * src/nm-device-802-11-wireless.c
  7064. - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
  7065. somewhere defines 'index' and I missed this one when I fixed the
  7066. shadow declaration errors earlier
  7067. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7068. * libnm-util/nm-connection.c
  7069. - (nm_connection_update_secrets, need_secrets_check): move
  7070. 802-11-wireless-security need_secrets checks to the setting object
  7071. itself, where it belongs
  7072. * libnm-util/nm-setting.c
  7073. libnm-util/nm-setting.h
  7074. - (nm_setting_need_secrets): new function
  7075. - (setting_wireless_security_verify,
  7076. nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
  7077. - (setting_wireless_security_need_secrets): mostly copy code over
  7078. from nm-connection.c
  7079. 2007-09-11 Dan Williams <dcbw@redhat.com>
  7080. * libnm-util/nm-setting.c
  7081. libnm-util/nm-setting.h
  7082. - (nm_setting_update_secrets): new function; add a virtual function that
  7083. subclasses can implement to update their secrets
  7084. - (setting_wireless_security_update_secrets): implement that function
  7085. for the 802-11-wireless-security subclass
  7086. * libnm-util/nm-connection.c
  7087. libnm-util/nm-connection.h
  7088. - (nm_connection_update_secrets): update secrets for a Setting and
  7089. emit a signal on success
  7090. * src/nm-manager.c
  7091. src/nm-manager.h
  7092. src/nm-marshal.list
  7093. - (connection_get_settings_cb): enable system settings bits
  7094. - (nm_manager_get_connection_secrets, get_secrets_cb): add function
  7095. to request secrets from the settings dbus service and to
  7096. push those secrets to the NMConnection itself
  7097. * src/nm-activation-request.c
  7098. src/nm-activation-request.h
  7099. - Attach to the 'secrets-updated' signal of the NMConnection that's
  7100. currently being activated, and proxy that signal to other listeners.
  7101. Goes through the activation request because the activation request
  7102. is the thing that manages the lifetime of the NMConnection that's
  7103. being activated.
  7104. * src/nm-device-802-11-wireless.c
  7105. - (real_connection_secrets_updated): implement the connection secrets
  7106. updated notification and restart activation when secrets are
  7107. received
  7108. - (real_act_stage2_config): request secrets from the settings dbus
  7109. service if secrets are needed
  7110. * src/nm-device.c
  7111. src/nm-device.h
  7112. - (clear_act_request, nm_device_activation_cancel,
  7113. nm_device_deactivate_quickly, nm_device_dispose): consolidate places
  7114. where the activation request is cleared
  7115. - (nm_device_activate, connection_secrets_updated_cb): attach to the
  7116. updated secrets signal of activation request and add a function
  7117. that subclasses can override to handle it easily
  7118. 2007-09-11 Tambet Ingo <tambet@gmail.com>
  7119. * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
  7120. removal of NetworkManagerAPList.
  7121. 2007-09-10 Dan Williams <dcbw@redhat.com>
  7122. * src/NetworkManagerAP.c
  7123. src/NetworkManagerAP.h
  7124. introspection/nm-access-point.xml
  7125. - Change 'freq' property to a guint32 instead of a double since we
  7126. weren't using the floating point bits anyway
  7127. 2007-09-10 Dan Williams <dcbw@redhat.com>
  7128. * NetworkManagerAP.c
  7129. NetworkManagerAP.h
  7130. NetworkManagerPolicy.c
  7131. NetworkManagerSystem.c
  7132. NetworkManagerUtils.c
  7133. NetworkManagerUtils.h
  7134. nm-device-802-11-wireless.c
  7135. nm-device-802-3-ethernet.c
  7136. nm-hal-manager.c
  7137. nm-manager.c
  7138. vpn-manager/nm-dbus-vpn.c
  7139. - Warning fixes; casts and removal of unused variables
  7140. 2007-09-10 Dan Williams <dcbw@redhat.com>
  7141. * include/NetworkManager.h
  7142. - Kill NMNetworkType; AP types don't matter any more
  7143. * src/NetworkManagerAPList.c
  7144. src/NetworkManagerAPList.h
  7145. src/Makefile.am
  7146. - Kill; NMAccessPointList has outlived it's usefulness
  7147. * src/NetworkManagerAP.c
  7148. src/NetworkManagerAP.h
  7149. - (match_cipher, security_compatible, nm_ap_check_compatible): new
  7150. functions; check if an NMConnection object is compatible with the
  7151. settings of this AP
  7152. - (freq_to_channel, channel_to_freq): utility functions for
  7153. channel <-> frequency conversion
  7154. * src/nm-device.c
  7155. src/nm-device.h
  7156. - (nm_device_get_best_connection): pass the specific object around
  7157. (which might be the object path of a specific AP to connect to).
  7158. The get_best_connection() call should populate this on return
  7159. if needed (wireless does).
  7160. * src/nm-device-802-3-ethernet.c
  7161. - (real_get_best_connection): handle specific_object argument
  7162. * src/NetworkManager.c
  7163. src/NetworkManagerMain.h
  7164. - Remove unused includes
  7165. * src/nm-device-802-11-wireless.c
  7166. src/nm-device-802-11-wireless.h
  7167. - Convert the ap_list into a GSList from an NMAccessPointList
  7168. - No need for caching the 'activation_ap' since this is now determined
  7169. from the specific_object of the activation request, which is
  7170. populated from the get_best_connection() call or from a user request
  7171. - (nm_device_802_11_wireless_update_bssid): fix warning
  7172. - (get_wireless_capabilities): fix error message format arguments
  7173. - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
  7174. - (find_best_connection, real_get_best_connection): implement
  7175. - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
  7176. move here from NetworkManagerAPList
  7177. - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
  7178. - (real_act_stage1_prepare): just ensure an AP exists, connection is
  7179. already verified earlier
  7180. - (real_act_stage2_config): use nm_connection_need_secrets()
  7181. * src/NetworkManagerPolicy.c
  7182. - (nm_policy_auto_get_best_device): handle specific objects
  7183. - (create_connection): remove; automatic connection creation functionality
  7184. is handled by the Connection objects
  7185. - (nm_policy_device_change_check): handle specific_object
  7186. * libnm-util/nm-connection.c
  7187. - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
  7188. 2007-09-10 Dan Williams <dcbw@redhat.com>
  7189. * src/nm-manager.c
  7190. - (query_connections): fix uninitialized variable problem that caused
  7191. segfault
  7192. - (nm_manager_add_device): take devices down on startup so that we can
  7193. be assured that nm_device_is_up() won't short-circuit the init
  7194. process. Hack until the is_up check gets split into two pieces
  7195. that aren't behaviorally confusing.
  7196. 2007-09-09 Dan Williams <dcbw@redhat.com>
  7197. * introspection/nm-device.xml
  7198. - The 'Activate' method now takes 3 arguments, a service name for the
  7199. settings service (user or system), the object path of the connection
  7200. to activate, and the specific object to activate, if any
  7201. * src/nm-device-interface.c
  7202. - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
  7203. Add error bits
  7204. - (impl_device_activate): adapt to new Activate arguments; validate
  7205. the service name and get the Connection object from the NMManager
  7206. before starting to activate the device with the specified connection
  7207. * src/nm-device-802-3-ethernet.c
  7208. - (real_get_best_connection): find the best connection, or create a
  7209. default one if no existing connections can be used
  7210. * src/NetworkManagerPolicy.c
  7211. - (nm_policy_auto_get_best_device): Get the device's best connection
  7212. and only pick the device if it has one
  7213. - (nm_policy_device_change_check): disable wireless bits for now until
  7214. wireless get_best_connection() can be implemented (replacing "best_ap");
  7215. don't create a default connection here as the device subclass will do
  7216. that if needed
  7217. * src/nm-manager.h
  7218. src/nm-manager.c
  7219. - (nm_manager_get): make NMManager a singleton and expose the getter
  7220. internally
  7221. - Rework internal NMManager connection handling to use the same
  7222. routines for both the system and user settings services. Most calls
  7223. take a new NMConnectionType argument specifying either system or user
  7224. connections
  7225. - (nm_manager_get_connection_by_object_path): new function; get a
  7226. connection keyed on its object path
  7227. * src/NetworkManager.c
  7228. - (main): use nm_manager_get()
  7229. 2007-09-09 Dan Williams <dcbw@redhat.com>
  7230. * src/nm-device.h
  7231. src/nm-device.c
  7232. - (nm_device_get_best_connection): new function; get best connection
  7233. for the device at that time
  7234. 2007-09-09 Dan Williams <dcbw@redhat.com>
  7235. * src/nm-device-interface.h
  7236. - Add NMDeviceInterfaceError with an UnknownConnection error
  7237. 2007-09-09 Dan Williams <dcbw@redhat.com>
  7238. Stupid mistake on my part; object path and interface for settings service
  7239. and connection objects can be the same, only the service name must be
  7240. different for the system and user settings services.
  7241. * include/NetworkManager.h
  7242. src/nm-manager.c
  7243. introspection/nm-settings-connection.xml
  7244. introspection/nm-settings.xml
  7245. libnm-glib/nm-settings.c
  7246. - (nm_connection_settings_init, query_user_connections,
  7247. new_connection_cb): Unify NetworkManagerSettings and Connection
  7248. interface name and object path
  7249. 2007-09-06 Dan Williams <dcbw@redhat.com>
  7250. * libnm-glib/nm-object.c
  7251. - (nm_object_get_string_property, nm_object_get_object_path_property,
  7252. nm_object_get_int_property, nm_object_get_uint_property,
  7253. nm_object_get_boolean_property, nm_object_get_byte_property,
  7254. nm_object_get_double_property, nm_object_get_byte_array_property):
  7255. clear GValues after copying their contents, fixes memory leaks
  7256. after every property access because dbus-glib copies the values
  7257. from the DBusMessage into the GValue already.
  7258. 2007-09-06 Dan Williams <dcbw@redhat.com>
  7259. * introspection/nm-access-point.xml
  7260. - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
  7261. them to be. There's some magic property name parsing going on in
  7262. dbus-glib that breaks up property names based on studly-caps and
  7263. puts - between words.
  7264. * libnm-glib/nm-access-point.c
  7265. - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
  7266. Fix property names
  7267. 2007-09-06 Dan Williams <dcbw@redhat.com>
  7268. * src/nm-manager.c
  7269. - (nm_manager_user_connections_destroy): clear the user connections hash
  7270. table, don't destroy it
  7271. - (finalize): only destroy the hash table on NMManager finalization
  7272. 2007-09-02 Dan Williams <dcbw@redhat.com>
  7273. * include/NetworkManager.h
  7274. libnm-glib/nm-settings.c
  7275. - defines for the user settings daemon D-Bus bits
  7276. * src/NetworkManager.c
  7277. - Remove stuff that referred to the old NetworkManagerInfo service
  7278. * src/vpn-manager/nm-dbus-vpn.h
  7279. - Move old NMI defines to the only place they are used still
  7280. * libnm-util/nm-connection.c
  7281. libnm-util/nm-connection.h
  7282. src/nm-activation-request.c
  7283. - Make NMConnection a GObject subclass so we can do spiffy stuff with it
  7284. * src/nm-manager.c
  7285. src/nm-manager.h
  7286. - Get connections and their settings from the user settings daemon
  7287. at the appropriate times
  7288. 2007-09-02 Dan Williams <dcbw@redhat.com>
  7289. * libnm-util/nm-setting.c
  7290. - (nm_settings_verify): correct setting name is 'connection', not 'info'
  7291. - (setting_wireless_hash): set the right value on the item
  7292. 2007-09-02 Dan Williams <dcbw@redhat.com>
  7293. * test/Makefile.am
  7294. test/nminfotest.c
  7295. - Remove, no longer useful
  7296. 2007-08-30 Dan Williams <dcbw@redhat.com>
  7297. * src/Makefile.am
  7298. src/NetworkManagerDbus.c
  7299. src/NetworkManagerDbus.h
  7300. src/vpn-manager/nm-dbus-vpn.c
  7301. - Remove, no longer necessary. Move last bits to the only place its
  7302. used, in nm-dbus-vpn.c
  7303. * src/NetworkManagerAPList.c
  7304. src/nm-device.c
  7305. src/NetworkManager.c
  7306. src/nm-device-802-11-wireless.c
  7307. src/vpn-manager/nm-vpn-manager.c
  7308. src/vpn-manager/nm-vpn-service.c
  7309. src/NetworkManagerPolicy.c
  7310. src/nm-manager.c
  7311. - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
  7312. that was message_is_error()
  7313. 2007-08-30 Dan Williams <dcbw@redhat.com>
  7314. * libnm-util/sha1.c
  7315. - Include config.h to get defines for endiannes (gnome.org #420216)
  7316. 2007-08-30 Dan Williams <dcbw@redhat.com>
  7317. Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
  7318. * src/ppp-manager/Makefile.am
  7319. - use -fPIC (gnome.org #471825)
  7320. 2007-08-29 Dan Williams <dcbw@redhat.com>
  7321. * include/NetworkManager.h
  7322. - Keep NMConnection object path in sync
  7323. * libnm-glib/nm-settings.c
  7324. libnm-glib/nm-settings.h
  7325. - Break D-Bus object registration out of the init function, because
  7326. every object that's exported over D-Bus needs to use the _same_
  7327. DBusConnection. Otherwise, each object would get a different object
  7328. path tree and wouldn't be callable.
  7329. 2007-08-29 Dan Williams <dcbw@redhat.com>
  7330. * libnm-util/nm-setting.h
  7331. libnm-util/nm-setting.c
  7332. libnm-util/nm-connection.c
  7333. src/NetworkManagerPolicy.c
  7334. - 'info' settings object should be 'connection' says the spec
  7335. at NetworkManagerConfigurationSpecification
  7336. 2007-08-29 Dan Williams <dcbw@redhat.com>
  7337. * libnm-glib/nm-settings.c
  7338. libnm-glib/nm-settings.h
  7339. - make the dbus path a property of the object, and autogenerate it.
  7340. It can't be composed of the 'id' field becuase that's not available
  7341. yet during the GObject creation in nm_connection_settings_init()
  7342. 2007-08-29 Dan Williams <dcbw@redhat.com>
  7343. * introspection/nm-settings-connection.xml
  7344. introspection/nm-settings.xml
  7345. - Service name -> NetworkManagerUserSettings because two services
  7346. can't share part of the same path. I'm not really sure how we'll use
  7347. the same code with the system-settings daemon...
  7348. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7349. * src/nm-device-interface.c
  7350. src/nm-device-interface.h
  7351. - Kill one more bit of NMData
  7352. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7353. * src/NetworkManagerSystem.h
  7354. src/nm-device.c
  7355. src/nm-device.h
  7356. src/nm-hal-manager.c
  7357. src/NetworkManager.c
  7358. src/nm-device-802-11-wireless.c
  7359. src/nm-hal-manager.h
  7360. src/nm-device-802-3-ethernet.c
  7361. src/vpn-manager/nm-vpn-service.h
  7362. src/vpn-manager/nm-vpn-manager.c
  7363. src/vpn-manager/nm-vpn-manager.h
  7364. src/vpn-manager/nm-vpn-service.c
  7365. src/nm-device-802-11-wireless.h
  7366. src/NetworkManagerMain.h
  7367. src/nm-device-802-3-ethernet.h
  7368. src/backends/NetworkManagerGentoo.c
  7369. src/backends/NetworkManagerPaldo.c
  7370. src/backends/NetworkManagerFrugalware.c
  7371. src/backends/NetworkManagerRedHat.c
  7372. src/backends/NetworkManagerSlackware.c
  7373. src/backends/NetworkManagerGeneric.c
  7374. src/backends/NetworkManagerArch.c
  7375. src/backends/NetworkManagerSuSE.c
  7376. src/backends/NetworkManagerGeneric.h
  7377. src/backends/NetworkManagerDebian.c
  7378. - Kill NMData
  7379. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7380. * src/NetworkManagerMain.h
  7381. src/nm-device-802-11-wireless.c
  7382. src/NetworkManager.c
  7383. - Remove invalid AP list from NMData; need to rework this somewhat, but
  7384. for now we should set the 'invalid' property on individual APs, and when
  7385. we need to invalidate a whole ESS, set the 'invalid' on every member of
  7386. that ESS
  7387. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7388. * src/NetworkManagerAP.c
  7389. src/NetworkManagerAP.h
  7390. - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
  7391. 'autoconnect' property instead
  7392. * src/NetworkManager.c
  7393. src/NetworkManagerMain.h
  7394. src/NetworkManagerPolicy.c
  7395. src/NetworkManagerPolicy.h
  7396. - Remove the 'allowed_ap_list', which should be replaced by
  7397. NMConnection/NMSettings instead, since _those_ are the allowed
  7398. things that NM can connect to
  7399. * src/nm-device-802-11-wireless.c
  7400. - Remove both allowed_ap_list usage and 'fallback' checking
  7401. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7402. * src/nm-device.c
  7403. src/named-manager/nm-named-manager.c
  7404. src/named-manager/nm-named-manager.h
  7405. src/NetworkManager.c
  7406. src/vpn-manager/nm-vpn-manager.c
  7407. src/NetworkManagerMain.h
  7408. src/NetworkManagerSystem.c
  7409. - Remove the named-manager object from NMData structure in preparation
  7410. for NMData's timely death. Make the NMNamedManager the singleton that
  7411. it really is
  7412. 2007-08-28 Dan Williams <dcbw@redhat.com>
  7413. Remove NMAPSecurity objects, they are replaced with flags on the APs for
  7414. each AP's capabilities, and by NMConnection/NMSettings objects for user
  7415. defined connections.
  7416. * include/NetworkManager.h
  7417. - Redefine 802.11 security properties. There are now device capabilities
  7418. and AP flags and AP security flags. It was way to unclear before.
  7419. * src/Makefile.am
  7420. src/nm-ap-security-leap.h
  7421. src/nm-ap-security-leap.c
  7422. src/nm-ap-security-wpa-eap.c
  7423. src/nm-ap-security-wpa-eap.h
  7424. src/nm-ap-security-private.h
  7425. src/nm-ap-security-wpa-psk.c
  7426. src/nm-ap-security-wpa-psk.h
  7427. src/nm-ap-security-wep.c
  7428. src/nm-ap-security-wep.h
  7429. src/nm-ap-security.c
  7430. src/nm-ap-security.h
  7431. - Removed, to be replaced with NMConnection/NMSettings objects
  7432. * src/nm-dbus-nmi.c
  7433. src/nm-dbus-nmi.h
  7434. - Removed, to be replaced by code that talks to the new info daemon
  7435. interface and gets NMConnection/NMSettings objects
  7436. * src/backends/NetworkManagerSuSE.c
  7437. - Remove usage of NMAPSecurity; should be replaced by a system-level
  7438. info-daemon that does the same thing but talks the new info-daemon
  7439. D-Bus interface
  7440. * src/NetworkManagerAP.h
  7441. src/NetworkManagerAP.c
  7442. src/NetworkManagerAPList.c
  7443. libnm-glib/libnm-glib-test.c
  7444. - Remove usage of NMAPSecurity objects and adjust to new flags for
  7445. WPA/RSN
  7446. * libnm-glib/nm-access-point.c
  7447. libnm-glib/nm-access-point.h
  7448. introspection/nm-access-point.xml
  7449. test/nm-tool.c
  7450. - Adjust to new flags for AP security
  7451. * utils/nm-utils.c
  7452. utils/nm-utils.h
  7453. src/vpn-manager/nm-dbus-vpn.c
  7454. - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
  7455. stuff which is the only place it's used
  7456. * src/nm-device-interface.c
  7457. src/nm-device-interface.h
  7458. introspection/nm-device.xml
  7459. src/nm-activation-request.c
  7460. src/nm-activation-request.h
  7461. src/nm-device.c
  7462. - Add a new 'specific_object' argument that hints to NM what actual
  7463. AP or other device-specific thing the connection should apply to.
  7464. NMConnection objects can apply to more than one actual device/AP.
  7465. * libnm-util/nm-connection.c
  7466. * libnm-util/nm-connection.h
  7467. - Add 'have_secrets" call stubs
  7468. * libnm-util/cipher.h
  7469. - Move NM_AUTH_TYPE_* defines here for now
  7470. * src/nm-device-802-11-wireless.c
  7471. - Remove usage of NMAPSecurity, to be replaced with NMConnection/
  7472. NMSettings objects
  7473. * src/NetworkManagerDbus.c
  7474. * src/NetworkManagerPolicy.c
  7475. - Remove usage of update_allowed_networks, should be pushing data in
  7476. a different manner
  7477. 2007-08-27 Tambet Ingo <tambet@gmail.com>
  7478. * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
  7479. dbus-glib frees it when the call is done.
  7480. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7481. * introspection/nm-device.xml
  7482. - Add 'Index' property on NMDevice objects (forgot to do this earlier)
  7483. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7484. * src/nm-device-802-3-ethernet.c
  7485. - (constructor): move connection of interface-connected/disconnected
  7486. signals here from real_bring_up(). Should be listening to netlink
  7487. for carrier events no matter what the initial state of the device
  7488. is.
  7489. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7490. * src/nm-netlink-monitor.c
  7491. - (nm_netlink_monitor_class_init): fix marshalling types for
  7492. interface-connected/interface-disconnected
  7493. - (nm_netlink_monitor_event_handler): clean up carrier on/off
  7494. check
  7495. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7496. Convert to using interface indexes as the primary method of identifying
  7497. devices inside NetworkManager. Indexes are (?) stable, but devices can
  7498. be renamed at any time. Device object paths now refer to the device
  7499. index rather than the name, and you can map those two manually if you like
  7500. by looking in the /sys/class/net/<name>/ifindex file. Also moves most
  7501. netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
  7502. to use interface indexes rather than names.
  7503. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7504. * src/nm-netlink-monitor.h
  7505. - Remove one last bit of wireless-event signal
  7506. 2007-08-26 Dan Williams <dcbw@redhat.com>
  7507. * src/nm-netlink-monitor.c
  7508. - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
  7509. don't need the 'wireless-event' signal anymore since that's all
  7510. handled by wpa_supplicant
  7511. 2007-08-25 Dan Williams <dcbw@redhat.com>
  7512. It's 2007. Remove support for drivers that don't support wireless scanning.
  7513. * test/nm-tool.c
  7514. include/NetworkManager.h
  7515. src/NetworkManagerUtils.c
  7516. src/NetworkManagerPolicy.c
  7517. src/nm-device-802-11-wireless.c
  7518. - Remove special handling for non-scanning devices and mark them
  7519. as unsupported/unhandled
  7520. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7521. * src/nm-device-802-11-wireless.c
  7522. src/nm-device-802-3-ethernet.c
  7523. - (real_is_up): move device-specific tests before generic IFF_UP test,
  7524. because when the card is pulled or the module removed, the device
  7525. is already !IFF_UP and then device-specific cleanup (removing
  7526. the supplicant interface, periodic checks, etc) never gets done
  7527. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7528. * src/nm-manager.c
  7529. - (nm_manager_remove_device): bring device down before disconnecting
  7530. signal handlers, so that the 'state' signal will get broadcast when
  7531. the device enters the DOWN state
  7532. - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
  7533. of states that cause the NMManager to recheck its state
  7534. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7535. * src/supplicant-manager/nm-supplicant-interface.c
  7536. - (interface_disconnect_done): don't try to dispose of the net proxy
  7537. when it may already have been disposed of
  7538. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7539. * src/nm-device-802-11-wireless.c
  7540. - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
  7541. the SSID isn't available; this can happen when the card is pulled
  7542. or the module unloaded, during the post-removal deactivation
  7543. paths, when the ioctl returns ENODEV
  7544. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7545. * src/nm-device-802-11-wireless.c
  7546. - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
  7547. frequency, and mode match. Applets are now responsible for grouping
  7548. access points
  7549. 2007-08-20 Dan Williams <dcbw@redhat.com>
  7550. * src/NetworkManagerAP.c
  7551. * src/NetworkManagerAP.h
  7552. - (nm_ap_print_self): new function
  7553. * src/NetworkManagerAPList.c
  7554. - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
  7555. to do it all here
  7556. 2007-08-17 Dan Williams <dcbw@redhat.com>
  7557. * src/nm-device-802-3-ethernet.c
  7558. - (real_bring_down): don't try to dispose of stuff that might not
  7559. exist
  7560. 2007-08-17 Dan Williams <dcbw@redhat.com>
  7561. * src/NetworkManagerAP.c
  7562. - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
  7563. applet. This ensures that the case between the seen-bssids and
  7564. the bssids reported by the driver match.
  7565. 2007-08-17 Dan Williams <dcbw@redhat.com>
  7566. * src/nm-device-802-11-wireless.c
  7567. - (device_cleanup): disconnect the interface in wpa_supplicant before
  7568. we dispose of the interface proxy in NM
  7569. 2007-08-16 Dan Williams <dcbw@redhat.com>
  7570. * libnm-glib/nm-client.c
  7571. - (nm_client_init): create VPN connections hash table with key free
  7572. function
  7573. - (proxy_vpn_connection_added): VPN connections hash table key should
  7574. be a duplicated value, not the same memory address as the VPN
  7575. connection name. This is because the VPN connection name could
  7576. potentially be freed and set to something else during the lifetime
  7577. of the NMVPNConnection object.
  7578. 2007-08-16 Tambet Ingo <tambet@gmail.com>
  7579. * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
  7580. (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
  7581. with the file descriptors. Send a child setup function to change the pppd
  7582. progress group.
  7583. 2007-08-15 Dan Williams <dcbw@redhat.com>
  7584. * src/supplicant-manager/nm-supplicant-interface.c
  7585. - (try_remove_iface): new function, ask wpa_supplicant to remove
  7586. an interface
  7587. - (nm_supplicant_interface_dispose): call try_remove_iface() when
  7588. disposing of the NMSupplicantInterface. Otherwise weird stuff
  7589. happens on hotplug if wpa_supplicant doesn't tear down and readd
  7590. the interface internally
  7591. 2007-08-15 Dan Williams <dcbw@redhat.com>
  7592. * src/nm-device-802-11-wireless.c
  7593. - (real_bring_down): move most of this function into device_cleanup()
  7594. so that it can be called from elsewhere
  7595. - (nm_device_802_11_wireless_dispose): clean up device periodic timers
  7596. and stuff on dispose. These would normally get cleaned up when
  7597. the device is marked down and deactivated, but when the device is
  7598. hot-unplugged, it's already down and real_down() never gets run
  7599. 2007-08-15 Dan Williams <dcbw@redhat.com>
  7600. * src/nm-dbus-nmi.c
  7601. - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
  7602. caused a reference leak on device for which NM requested a key
  7603. 2007-08-15 Dan Williams <dcbw@redhat.com>
  7604. * libnm-glib/nm-client.c
  7605. - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
  7606. 2007-08-15 Tambet Ingo <tambet@gmail.com>
  7607. * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
  7608. nothing is using it at the moment, but it'll be all useful and stuff later on.
  7609. * libnm-util/nm-setting.h: Define NMSettingPPP.
  7610. * libnm-util/nm-setting.c: Implement NMSettingPPP.
  7611. * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
  7612. * src/Makefile.am: Add ppp-manager to SUBDIRS.
  7613. * configure.in: Require ppp headers. Build Makefile for ppp-manager.
  7614. * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
  7615. 2007-08-14 Tambet Ingo <tambet@gmail.com>
  7616. * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
  7617. * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
  7618. an issue with dbus-glib bindings generator. The issue is, the generated C caller
  7619. functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
  7620. name and different arguments and it won't compile anymore. To fix this, we now have
  7621. two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
  7622. that is new API + compatibility API and used by the daemon. The other,
  7623. nm-manager-client.xml is only the new API without compatibility bits and is used
  7624. by libnm-glib to make it compile.
  7625. * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
  7626. * src/nm-manager.c (impl_manager_legacy_sleep)
  7627. (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
  7628. interface functions for 0.6 branch.
  7629. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7630. * src/NetworkManagerAP.c
  7631. - (nm_ap_new_from_properties): fix mistaken check of return value
  7632. from memcmp (should expect 0)
  7633. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7634. (force-commit to fix wrong comment and partial commit of r2685; this
  7635. commit actually applies to r2685)
  7636. * src/NetworkManagerUtils.c
  7637. - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
  7638. ignores trailing nulls in the SSID to work around mismatches in
  7639. expectations between WEXT and what the info-daemon passes back. The
  7640. info-daemon would pass back the correct length, but due to the
  7641. ESSID length issues with WEXT 22 and greater and wpa_supplicant,
  7642. the device would always have an SSID + 1 depending on what versions
  7643. of wpa_supplicant, the kernel, and NM you have. This was most often
  7644. visible by just quitting the applet and relaunching, which caused
  7645. NM to reassociated to the same network over again when reloading
  7646. the save networks.
  7647. * src/NetworkManagerPolicy.c
  7648. src/NetworkManagerUtils.h
  7649. src/nm-device-802-11-wireless.c
  7650. - Update for new parameter to nm_utils_same_ssid()
  7651. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7652. * src/NetworkManagerAP.c
  7653. - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
  7654. I encountered a BSS that wasn't just hiding it's ESSID, it was
  7655. setting the BSSID to all 0s. That confused the heck out of NM,
  7656. plus it's useless and probably out-of-spec.
  7657. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7658. * callouts/Makefile.am
  7659. src/dhcp-manager/nm-dhcp-manager.c
  7660. src/dhcp-manager/nm-dhcp-manager.h
  7661. src/dhcp-manager/Makefile.am
  7662. - Change install location of nm-dhcp-client.action to ${prefix}/libexec
  7663. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7664. * src/dhcp-manager/nm-dhcp-manager.c
  7665. - (dhclient_run): don't pass -x to dhclient until we figure out if
  7666. it's really needed, get rid of unused xtra_args parameter
  7667. 2007-08-14 Dan Williams <dcbw@redhat.com>
  7668. * include/NetworkManagerVPN.h
  7669. src/vpn-manager/nm-dbus-vpn.c
  7670. src/vpn-manager/nm-dbus-vpn.h
  7671. src/vpn-manager/nm-vpn-act-request.c
  7672. src/vpn-manager/nm-vpn-act-request.h
  7673. src/vpn-manager/nm-vpn-service.c
  7674. src/vpn-manager/nm-vpn-service.h
  7675. libnm-glib/nm-vpn-connection.c
  7676. libnm-glib/nm-vpn-connection.h
  7677. libnm-glib/nm-client.h
  7678. - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
  7679. NMVPNServiceState to clarify what they apply to
  7680. - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
  7681. NMVPNActStage -> NMVPNConnectionState for the same reason
  7682. * libnm-glib/nm-client.c
  7683. - Constant + type renames from above
  7684. - Properly handle NameOwnerChanged/manager_running signals
  7685. for NM service; only emit when state really changes
  7686. - Use hash tables correctly so that the key (which was previously owned
  7687. by the D-Bus message) now has the same lifetime as the value, since
  7688. the key is now taken from the the NMVPNConnection itself. This
  7689. really fixes the double-VPN names in the applet
  7690. 2007-08-13 Dan Williams <dcbw@redhat.com>
  7691. Patch from Michael Biebl <biebl@debian.org>
  7692. * po/POTFILES.in
  7693. po/POTFILES.skip
  7694. - Update for vpn-properties move
  7695. 2007-08-13 Dan Williams <dcbw@redhat.com>
  7696. * libnm-glib/nm-client.c
  7697. - Convert internal VPN connection tracking from a list to a hash table
  7698. to easily avoid duplicates
  7699. - (nm_client_get_vpn_connections): now returns an allocated GSList that
  7700. must be freed by the caller, like nm_client_get_devices()
  7701. - (nm_client_remove_vpn_connection): don't let the removal signal
  7702. leak through for NMVPNConnection objects that aren't actually
  7703. tracked.
  7704. - (manager_running): throw away VPN connection list when NM goes away,
  7705. like with the device list
  7706. 2007-08-13 Dan Williams <dcbw@redhat.com>
  7707. * src/dhcp-manager/nm-dhcp-manager.c
  7708. - Stop any dhclient instance that might be already running for a
  7709. particular interface before starting an NM spawned dhclient. Fixes
  7710. dhclient processes left over if NM crashes, stuff like that.
  7711. 2007-08-13 Dan Williams <dcbw@redhat.com>
  7712. * src/NetworkManagerAP.c
  7713. - (finalize): don't try to g_array_free (NULL, ...), which happened
  7714. when the AP wasn't broadcasting it's SSID
  7715. 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
  7716. * include/NetworkManager.h: added DBus path for connection settings.
  7717. * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
  7718. nm_connection_settings_signal_updated,
  7719. nm_connection_settings_signal_removed): new functions to wrap the
  7720. objects' signals.
  7721. (nm_connection_settings_init): register GObject with DBus.
  7722. (nm_connection_settings_get_dbus_object_path): new function.
  7723. * libnm-glib/Makefile.am: added libnmutil to link flags.
  7724. 2007-08-13 Tambet Ingo <tambet@gmail.com>
  7725. * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
  7726. * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
  7727. libnm_glib directory got merged with libnm-glib/.
  7728. * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
  7729. * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
  7730. Rename the library from libnm-glib to libnm_glib to maintain the library API
  7731. compatibility with 0.6 branch.
  7732. * Makefile.am: Remove gnome/ SUBDIR.
  7733. * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
  7734. * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
  7735. * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
  7736. * configure.in: Remove GNOME checks, NetworkManager does not need any of these
  7737. anymore.
  7738. Remove checks for wpa_supplicant binary, it's used over dbus.
  7739. Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
  7740. * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
  7741. Link the binaries with libnm_glib.la.
  7742. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7743. * src/NetworkManagerPolicy.c
  7744. - (nm_policy_device_change_check): fix policy to deactivate old device
  7745. before activating new one, at least until the multiple active
  7746. device support lands
  7747. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7748. * src/NetworkManagerPolicy.c
  7749. - (nm_policy_new): hook up to connection-added / connection-removed
  7750. signals instead of connections-changed
  7751. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7752. Kill dhcdbd until it's dead, dead, dead. Based on a patch from
  7753. Robert Frank <rfrank@redhat.com>
  7754. * src/dhcp-manager/nm-dhcp-manager.c
  7755. src/dhcp-manager/nm-dhcp-manager.c
  7756. src/nm-device.c
  7757. - Spawn and communicate with dhclient directly, through means of a
  7758. custom dhclient callout script. Process callout D-Bus signals
  7759. with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
  7760. sent via gobject signals rather than being driven by the dhcp manager
  7761. directly.
  7762. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7763. * callouts/nm-dhcp-client-action.c
  7764. - (build_message): ignore non-DHCP-related environment variables
  7765. 2007-08-12 Dan Williams <dcbw@redhat.com>
  7766. * Makefile.am
  7767. configure.in
  7768. callouts/Makefile.am
  7769. callouts/nm-dhcp-client-action.c
  7770. callouts/nm-dhcp-client.conf
  7771. - Add dhclient-executed callout that takes the place of dhclient-script
  7772. and dhcdbd, pushing DHCP options out to the system bus as a signal that
  7773. NM then listens for
  7774. 2007-08-09 Tambet Ingo <tambet@gmail.com>
  7775. [Based on patch by Helmut Schaa <hschaa@suse.de>]
  7776. * libnm-glib/nm-client.h:
  7777. * libnm-glib/nm-object.h:
  7778. * libnm-glib/nm-vpn-connection.h:
  7779. * libnm-glib/nm-settings.h:
  7780. * libnm-glib/nm-device.h:
  7781. * libnm-glib/nm-ip4-config.h:
  7782. * libnm-glib/nm-access-point.h:
  7783. * libnm-glib/nm-device-802-3-ethernet.h:
  7784. * libnm-util/nm-setting.h:
  7785. * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
  7786. * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
  7787. * libnm-glib/nm-access-point.c: Strength has type char.
  7788. * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
  7789. to fix build. GnomeDruid is deprecated in recent libgnomeui.
  7790. * introspection/nm-access-point.xml: Strength property is char, not int.
  7791. * src/NetworkManagerAP.c (set_property): Set strength from char.
  7792. (get_property): Handle hidden APs (with empty SSID).
  7793. Get strength value from char.
  7794. (nm_ap_class_init): Strength property has char type.
  7795. 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
  7796. * introspection/Makefile.am:
  7797. * introspection/nm-settings.xml:
  7798. * introspection/nm-settings-connection.xml: added Settings interfaces.
  7799. * libnm-glib/nm-settings.[ch]:
  7800. * libnm-glib/Makefile.am: added abstract class for Settings interfaces
  7801. containing the DBus implementation.
  7802. 2007-07-26 Dan Williams <dcbw@redhat.com>
  7803. Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
  7804. * src/NetworkManagerSystem.c
  7805. - (nm_system_device_set_ip4_route): don't add the route if it's on the
  7806. same subnet (#437396)
  7807. 2007-07-26 Dan Williams <dcbw@redhat.com>
  7808. Patch from Kelemen Gábor <kelemeng@gnome.hu>
  7809. * gnome/vpn-properties/nm-vpn-properties.c
  7810. - Fix translatable strings (#445865)
  7811. 2007-07-26 Dan Williams <dcbw@redhat.com>
  7812. Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
  7813. * configure.in
  7814. - Remove useless junk (#412530)
  7815. 2007-07-10 Christopher Aillon <caillon@redhat.com>
  7816. Patch from Robert Buchholz <rbu@gentoo.org>:
  7817. * configure.in:
  7818. * Makefile.am:
  7819. * introspection/Makefile.am:
  7820. Make make distcheck work again.
  7821. 2007-06-27 Dan Williams <dcbw@redhat.com>
  7822. * Make SSIDs GByteArrays everywhere
  7823. * Rename "essid" -> "ssid" everywhere that's appropriate
  7824. * Refcount activation_ap member of the 802.11 wireless device class
  7825. 2007-06-27 Tambet Ingo <tambet@ximian.com>
  7826. * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
  7827. 2007-06-22 Tambet Ingo <tambet@ximian.com>
  7828. * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
  7829. that we got a new AP when we just update existing AP properties.
  7830. 2007-06-21 Tambet Ingo <tambet@ximian.com>
  7831. * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
  7832. * nm-utils.[ch]: Remove.
  7833. * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
  7834. objects for easy property access and dbus connection handling.
  7835. * libnm-glib/nm-client.c: Derive from NMObject.
  7836. * libnm-glib/nm-device.c: Ditto.
  7837. * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
  7838. * libnm-glib/nm-device-802-11-wireless.c: Ditto.
  7839. * libnm-glib/nm-ip4-config.c: Ditto.
  7840. * libnm-glib/nm-access-point.c: Ditto.
  7841. * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
  7842. comparision. Currently used by the device activation code to determine if the new
  7843. activation is the same as the old one.
  7844. * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
  7845. wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
  7846. able to ask password for the AP.
  7847. * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
  7848. up if the device is already connected, tear down it's connection (if it isn't the
  7849. same as new one) and start the activation.
  7850. * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
  7851. * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
  7852. the issue where all APs are always listed as encrypted.
  7853. * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
  7854. their own registered paths.
  7855. * test/nm-tool.c (detail_device): Don't try to get active network from wireless
  7856. device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
  7857. 2007-06-13 Tambet Ingo <tambet@ximian.com>
  7858. * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
  7859. (0 & 0 == 0, doh)
  7860. * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
  7861. because the handling code will cause the next state change and signal listeners
  7862. get the signals in wrong order.
  7863. * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
  7864. correctly in case of pending activation.
  7865. * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
  7866. Convert the essid byte array to string correctly, including the terminating NULL.
  7867. * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
  7868. mode with correct types.
  7869. * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
  7870. constructed info to dbus call instead of the activation request.
  7871. 2007-06-11 Christopher Aillon <caillon@redhat.com>
  7872. Patch from Christian Persch <chpe@gnome.org>
  7873. * libnm-glib/Makefile.am:
  7874. * dispatcher-daemon/Makefile.am:
  7875. Use the correct variables, the correct paths, and correct ordering. (446315)
  7876. 2007-06-11 Tambet Ingo <tambet@ximian.com>
  7877. * src/nm-device.c: Make the activation stage virtual functions take NMDevice
  7878. argument. The activation request is easy to retrieve.
  7879. * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
  7880. just to be a convenient location for devices to store random stuff.
  7881. 2007-06-11 Christopher Aillon <caillon@redhat.com>
  7882. Patch from Alex Smith <alex@alex-smith.me.uk>
  7883. * src/backends/NetworkManagerFrugalware.c:
  7884. Update the FrugalWare backend to fix a few segfaults. (#392642)
  7885. 2007-06-08 Tambet Ingo <tambet@ximian.com>
  7886. * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
  7887. * libnm-util/nm-connection.c (register_default_creators): Register wireless security
  7888. setting.
  7889. (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
  7890. 2007-06-06 Tambet Ingo <tambet@ximian.com>
  7891. * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
  7892. automagically.
  7893. Implement NMSettingIP4Config.
  7894. Finish NMSettingWired by adding all known members.
  7895. (setting_wired_verify): Implement.
  7896. Finish NMSettingWireless by adding all known members.
  7897. (setting_wireless_verify): Implement.
  7898. * libnm-util/nm-connection.c: Register "ipv4" setting.
  7899. (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
  7900. dump function, we can introspect the GHashTable which is used for sending connections
  7901. over dbus.
  7902. * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
  7903. Take GByteArray for essid, it's really not a string.
  7904. * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
  7905. Start DHCP request if setting is not passed or if it states that DHCP should be used.
  7906. (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
  7907. means overriding the values we got from DHCP.
  7908. (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
  7909. (nm_device_deactivate_quickly): Ditto.
  7910. * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
  7911. for debugging.
  7912. 2007-05-07 Tambet Ingo <tambet@ximian.com>
  7913. * libnm-glib/Makefile.am: Link with libnm-util to gain access to
  7914. NMConnection.
  7915. * libnm-glib/nm-device-802-11-wireless.c:
  7916. (nm_device_802_3_ethernet_activate): Remove.
  7917. * libnm-glib/nm-device-802-3-ethernet.c
  7918. (nm_device_802_3_ethernet_activate): Remove.
  7919. * libnm-glib/nm-device.c (nm_device_activate): Implement.
  7920. * src/nm-device-802-3-ethernet.c: Implement the new activation using
  7921. NMConnection.
  7922. * src/nm-device-802-11-wireless.c: Store an activation AP once the
  7923. activation has started.
  7924. Implement the new activation using NMConnection.
  7925. * src/nm-activation-request.c: Store a generic connection object instead
  7926. of a wireless-specific AP.
  7927. * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
  7928. on device type, create a device specific connection object suitable for
  7929. device activation.
  7930. * src/nm-device.c (nm_device_activate): Re-implement. Call the device
  7931. specific check to validate the connection and on success start the
  7932. activation.
  7933. * src/nm-device-interface.h: Add a activate virtual function to the
  7934. interface definition.
  7935. * src/nm-device-interface.c (nm_device_interface_activate): Implement.
  7936. (impl_device_activate): Implement.
  7937. * introspection/nm-device.xml: Add a generic device activation interface
  7938. that accepts an abstract NMConnection structure that has device-specific
  7939. information in it.
  7940. * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
  7941. activation interface.
  7942. * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
  7943. activation interface.
  7944. * libnm-util/nm-connection.c:
  7945. * libnm-util/nm-connection.h:
  7946. * libnm-util/nm-setting.c:
  7947. * libnm-util/nm-setting.h: Add.
  7948. * libnm-util/Makefile.am: Build the added files.
  7949. * src/nm-dbus-manager.c
  7950. (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
  7951. DbusConnection argument from 'name-owner-changed' signal. The manager
  7952. is already passed as a first argument to the signal and the connection
  7953. is easy enough to get from it.
  7954. * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
  7955. Update the signature of the function.
  7956. * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
  7957. Ditto.
  7958. * src/NetworkManager.c: Ditto.
  7959. * src/named-manager/nm-named-manager.c
  7960. (nm_named_manager_name_owner_changed): Ditto.
  7961. * src/supplicant-manager/nm-supplicant-manager.c
  7962. (nm_supplicant_manager_name_owner_changed): Ditto.
  7963. * src/nm-hal-manager.c (name_owner_changed): Ditto.
  7964. * src/dhcp-manager/nm-dhcp-manager.c
  7965. (nm_dhcp_manager_name_owner_changed): Ditto.
  7966. * src/nm-hal-manager.c: Add a list of device detectors and creators
  7967. to make it easier to add new devices. Each device type has it's own
  7968. entry in the table so adding new device types is only a matter of
  7969. implementing a couple of functions, one for device detection and the
  7970. other for device creation.
  7971. 2007-04-25 Dan Williams <dcbw@redhat.com>
  7972. * initscript/RedHat/NetworkManager.in: remove trailing backslash
  7973. (gnome.org #432401)
  7974. 2007-03-30 Dan Williams <dcbw@redhat.com>
  7975. * src/NetworkManagerSystem.c
  7976. - (nm_system_device_set_ip4_route): clean up and fix argument
  7977. to nm_dev_sock_open()
  7978. 2007-03-28 Tambet Ingo <tambet@ximian.com>
  7979. * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
  7980. data to correct types instead of always using string.
  7981. * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
  7982. _not_ have NM_802_11_CAP_PROTO_NONE.
  7983. (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
  7984. is not set.
  7985. 2007-03-27 Tambet Ingo <tambet@ximian.com>
  7986. * libnm-glib/Makefile.am: Fix the build issue.
  7987. 2007-03-26 Tambet Ingo <tambet@ximian.com>
  7988. * libnm-glib/nm-vpn-connection.h:
  7989. * libnm-glib/nm-vpn-connection.c: Implement.
  7990. * libnm-glib/nm-client.c: Add VPN support.
  7991. * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
  7992. handler for VPN.
  7993. * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
  7994. on DBUS again.
  7995. 2007-03-26 Dan Williams <dcbw@redhat.com>
  7996. * src/NetworkManagerAPList.c
  7997. * src/nm-device-802-11-wireless.c
  7998. * src/NetworkManagerAP.c:
  7999. - Store last seen as glong instead of GTimeVal.
  8000. - Fix the upper bound of capabilities, it's a bitfield.
  8001. 2007-03-16 Tambet Ingo <tambet@ximian.com>
  8002. * libnm-glib/nm-device.c (nm_device_get_description): Implement.
  8003. * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
  8004. "manager-running" signal that notifies the appearance/disappearance of NM.
  8005. (nm_client_sleep): Implement.
  8006. * libnm-glib/nm-device.c:
  8007. * libnm-glib/nm-device-802-11-wireless.c:
  8008. * libnm-glib/nm-device-802-3-ethernet.c:
  8009. Don't inherit from DBusGProxy, add a proxy to private
  8010. data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
  8011. for anything but their own dbus interface. DBusGProxy objects support only one
  8012. interfaces and to work around this, NMDevice has spearate proxy for each dbus
  8013. interface. The nice side effect of this change is that we do not create a new
  8014. DBusGProxy object for each property access.
  8015. 2007-03-15 Tambet Ingo <tambet@ximian.com>
  8016. * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
  8017. with zeroes before passing them to functions - the functions never do that and
  8018. reading the values back may produce wrong values.
  8019. (real_bring_up): Store the signal handler id ...
  8020. (real_bring_down): ... So that it can be removed here.
  8021. Disconnect the supplicant interface here as well.
  8022. (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
  8023. from the access point instead of old $device/Networks/$essid.
  8024. * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
  8025. device state is connected (instead of just having link/carrier).
  8026. * src/nm-activation-request.c: Don't store NMData in activation request, it's
  8027. already easily accessible through the device.
  8028. * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
  8029. store it within the object.
  8030. (nm_ap_get_dbus_path): Export it to public as well.
  8031. * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
  8032. of the singleton.
  8033. 2007-03-12 Dan Williams <dcbw@redhat.com>
  8034. Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
  8035. for non-carrier-detect capable devices, and useless for carrier-detect
  8036. devices since we get notifications from netlink about carrier status anyway.
  8037. * src/nm-device-802-3-ethernet.c
  8038. - remove 'link_source_id' member from private data
  8039. - (probe_link): remove and collapse into real_update_link()
  8040. - (nm_device_802_3_periodic_update): remove
  8041. - (real_is_up): check for sup_iface rather than link_source_id
  8042. - (real_bring_up): return gboolean for success/fail; require that
  8043. sup_iface be valid for device bringup to succeed
  8044. - (real_bring_down): zero out link signal ids
  8045. * src/nm-device.c
  8046. - (nm_device_activate_stage2_device_config): fail activation if device
  8047. bringup fails
  8048. - (real_act_stage4_get_ip4_config): fail activation if device bringup
  8049. fails
  8050. - (nm_device_bring_up): return success/fail
  8051. * src/nm-device.h
  8052. - bring_up now returns success/fail
  8053. * src/nm-device-802-11-wireless.c
  8054. - (real_bring_up): return success from bringup
  8055. 2007-03-07 Dan Williams <dcbw@redhat.com>
  8056. Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
  8057. * src/nm-ap-security-wpa-psk.c
  8058. - (real_write_supplicant_config): work with PSKs that may contain
  8059. zeros in the binary format rather than treating it as a string
  8060. 2007-03-02 Tambet Ingo <tambet@ximian.com>
  8061. * libnm-glib/nm-device-802-11-wireless.c
  8062. (nm_device_802_11_wireless_get_capabilities): Implement.
  8063. * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
  8064. * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
  8065. * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
  8066. reply only if it's not NULL. Not sure why this started happening right now.
  8067. * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
  8068. code paths for when devices get removed on shutdown or when a device is just
  8069. removed.
  8070. (finalize): Don't use a g_slist_foreach() when removing devices, the list data
  8071. gets freed so any signal from a device (disconnected for instance) would invoke
  8072. NMState update which would crash.
  8073. (nm_manager_remove_device): Bring the device down when it gets removed.
  8074. * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
  8075. the unused dev_type.
  8076. * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
  8077. reference to the added device, NMManager will own it (if it wants).
  8078. * test/nm-tool.c: Rewrite using libnm-glib.
  8079. * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
  8080. We get signalled when it changes.
  8081. * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
  8082. when it changes.
  8083. * libnm-glib/nm-device.c: Cache the device state property.
  8084. * libnm-glib/nm-access-point.c: Cache the strength property.
  8085. * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
  8086. The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
  8087. and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
  8088. until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
  8089. the device is down, activating, or activated (in case of A/B/G cards).
  8090. Remove some old dead ifdef'ed out code that used to configure wireless devices,
  8091. it's all done through supplicant now.
  8092. * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
  8093. counting issues with pending calls which caused leaks and crashes when
  8094. interface was removed (now that the interface actually gets removed).
  8095. * src/nm-call-store.c: Make a copy of data before running a foreach
  8096. with user callback on it - The most common usage pattern is to cancel
  8097. (and thus remove) all pending calls with foreach which would modify
  8098. the hash table we're iterating over.
  8099. * src/nm-manager.c: When a device is added, make sure it is "up". When
  8100. it's removed or disabled due to disabling wireless or networking, bring
  8101. it down.
  8102. * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
  8103. * src/nm-device-802-11-wireless.c:
  8104. * src/nm-device-802-3-ethernet.c:
  8105. * src/nm-device.c:
  8106. - Remove "init" virtual function, all gobjects have a place for that
  8107. already (constructor).
  8108. - Replace "start" virtual function with "bring_up", devices can be
  8109. brought up and down more than just on startup now.
  8110. - Add "is_up" virtual function.
  8111. - Implement one way to bring a device down instead of previous 4 different
  8112. ways, each of witch did something different.
  8113. * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
  8114. all it needs is the device interface.
  8115. Get rid of NMData.dev_list (3 members to go).
  8116. Get rif of NMData in a lot of places.
  8117. * gnome/libnm_glib/libnm_glib.c: Make it compile again.
  8118. 2007-02-23 Dan Williams <dcbw@redhat.com>
  8119. Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
  8120. * src/NetworkManagerAP.c
  8121. - (add_capabilities_from_cipher): fix addition of WEP capabilities by
  8122. OR-ing rather than AND-ing
  8123. 2007-02-20 Tambet Ingo <tambet@ximian.com>
  8124. * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
  8125. "network-removed" signals.
  8126. * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
  8127. * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
  8128. when receiving the signal from dbus.
  8129. * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
  8130. property.
  8131. * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
  8132. deactivation of the previously activated device working again.
  8133. * src/nm-activation-request.c: Remove NMActStage property and it's getter
  8134. and setter.
  8135. * src/nm-device.c (nm_device_is_activated): Remove.
  8136. state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
  8137. * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
  8138. NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
  8139. NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
  8140. NM_DBUS_SIGNAL_STATE_CHANGE signal.
  8141. Remove NMNetworkStatus and NMActStage enums.
  8142. 2007-02-19 Tambet Ingo <tambet@ximian.com>
  8143. * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
  8144. Handle device state changes and disconnect VPN if it's device deactivates.
  8145. * src/nm-dbus-nm.c:
  8146. * src/nm-dbus-nm.h:
  8147. * src/nm-dbus-device.c:
  8148. * src/nm-dbus-device.c:
  8149. * src/nm-dbus-net.c:
  8150. * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
  8151. * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
  8152. * src/nm-device.c (nm_device_get_by_udi):
  8153. (nm_device_get_by_iface): Remove. This doesn't belong here and is already
  8154. implemented in the correct location (NMManager).
  8155. Rip out all the test_device stuff.
  8156. * src/NetworkManagerPolicy.c: Remove the leftover activation success and
  8157. failure handlers, it's all done by NMDevice already.
  8158. * src/NetworkManager.c: Move the signal handling here from nm-logging.c
  8159. Remove the iochannel hack to route the unix signals to the main thread since
  8160. we're not threaded anymore.
  8161. * src/NetworkManagerAP.c: Implement HWAddress property.
  8162. * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
  8163. automatically with dbus-glib.
  8164. * src/nm-netlink-monitor.c:
  8165. * src/nm-netlink-monitor.h:
  8166. - Move it low in the class hierarchy, don't reference any NM types.
  8167. - Remove private data from the header.
  8168. - Use type safe checks in public API methods.
  8169. - Make it a singleton so we don't have to pass the single reference around.
  8170. 2007-02-16 Tambet Ingo <tambet@ximian.com>
  8171. * introspection/nm-ip4-config.xml: Implement.
  8172. * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
  8173. * libnm-glib/nm-ip4-config.c:
  8174. * libnm-glib/nm-ip4-config.c: Implement.
  8175. * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
  8176. securities. APs reference security.
  8177. * src/nm-device-802-11-wireless.c: Implement missing properties that need to
  8178. be exported over DBUS.
  8179. * src/nm-device-802-3-ethernet.c: Ditto.
  8180. * src/NetworkManagerAP.c:
  8181. * src/NetworkManagerAP.h:
  8182. - Convert to GObject, export over DBUS.
  8183. * src/nm-ip4-config.h:
  8184. * src/nm-ip4-config.h:
  8185. - Convert to GObject, export over DBUS.
  8186. 2007-02-12 Dan Williams <dcbw@redhat.com>
  8187. Patch from Helmut Schaa <hschaa@suse.de>
  8188. * vpn-daemons/pptp/configure.in
  8189. vpn-daemons/pptp/Makefile.am
  8190. vpn-daemons/openvpn/configure.in
  8191. vpn-daemons/openvpn/Makefile.am
  8192. vpn-daemons/vpnc/configure.in
  8193. vpn-daemons/vpnc/Makefile.am
  8194. - Add --without-gnome switch which disables building gnome bits
  8195. 2007-02-12 Tambet Ingo <tambet@ximian.com>
  8196. * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
  8197. * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
  8198. * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
  8199. 'HwAddress'.
  8200. * introspection/nm-device.xml: Remove 'UseDhcp' property.
  8201. * introspection/nm-access-point.xml: Remove 'Broadcast' property.
  8202. Totally break NetworkManager. Please use 0.6 branch until futher notice.
  8203. * src/:
  8204. - Remove old low-level dbus interface implementations and replace them
  8205. with dbus-glib one.
  8206. * configure.in:
  8207. - Require dbus-glib >= 0.72.
  8208. - Plug in new sources to build.
  8209. * libnm-glib/:
  8210. - Implement GObject wrappers on top of DBUS glib auto-generated bindings
  8211. to make it more convenient to use from GObject based programs.
  8212. * introspection/:
  8213. - Implement DBUS XML introspection files, used by both NM and libnm-glib.
  8214. 2007-02-09 Tambet Ingo <tambet@ximian.com>
  8215. * src/nm-device-802-11-wireless.c:
  8216. - Add "network-added" and "network-removed" signals.
  8217. - Use gobject boilerplate macros to define the GObject.
  8218. - Implement wireless device activation.
  8219. - Remove activation_failure_handler and activation_success_handler
  8220. and instead listen on state-changed signals and run the same code
  8221. from there.
  8222. * src/nm-device.c:
  8223. - Implment NMDeviceInterface::deactivate.
  8224. - Remove activation_failure_handler and activation_success_handler
  8225. virtual methods. Each device which is interested in these events
  8226. can just listen on it's state changed signals.
  8227. * src/NetworkManagerPolicy.c:
  8228. - Move a bit more NMData usage to NMManager.
  8229. - Remove activation scheduling bits.
  8230. - Add listeners for wireless device's "network-added" and
  8231. "network-removed" signals.
  8232. - Listen device changed signals and deactivate currently activated
  8233. device when another device start activating (for now).
  8234. - Remove (nm_policy_schedule_device_change_check): There's never a need
  8235. for calling this, the policy code knows exactly when this should happen,
  8236. by listening on events from NMManager and NMDevices.
  8237. * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
  8238. Implement.
  8239. * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
  8240. method on the specific device instead of going to through policy code
  8241. and determining the device type by passed in AP's existance.
  8242. * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
  8243. abstract NMDevice deactivation.
  8244. 2007-02-08 Tambet Ingo <tambet@ximian.com>
  8245. * src/NetworkManager.c:
  8246. - Set up all the shiny new managers.
  8247. * src/NetworkManagerPolicy.c:
  8248. - Add the beginnings of new NMPolicy code. Instead of requireing all
  8249. classes to call into policy code, make the policy code kind of like
  8250. a supervisor that monitors what's going on and drives the whole NM.
  8251. * src/nm-hal-manager.c:
  8252. * src/nm-hal-manager.h:
  8253. - Collect all libhal code scattered around NM to this one class.
  8254. - Listen libhal and NMManager events and add/remove devices to
  8255. NMManager.
  8256. * src/nm-manager.c:
  8257. * src/nm-manager.h:
  8258. - Implment a replacement for NMData. NMData is now officially
  8259. deprecated.
  8260. 2007-02-05 Tambet Ingo <tambet@ximian.com>
  8261. * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
  8262. * src/supplicant-manager/nm-supplicant-interface.h
  8263. * src/supplicant-manager/nm-supplicant-interface.c
  8264. (nm_supplicant_interface_class_init): Change the "scan-result" signal's
  8265. argument to boolean from enum.
  8266. Make NMDevice abstract class, remove almost all references to it's
  8267. subclasses (the last place gets removed with new policy manager). Add
  8268. NMDeviceInterface (which NMDevice implements) so that when we have
  8269. NMDevice exported over DBUS, there's a common NMDevice interface which
  8270. all instances have, plus there's a device specific interface for each
  8271. specific type.
  8272. Remove functions (nm_device_is_802_3_ethernet) and
  8273. (nm_device_is_802_11_wireless). There are already standard GObject macros
  8274. for type safe checks.
  8275. Use the updated supplican manager API.
  8276. * src/nm-device-interface.h:
  8277. * src/nm-device-interface.c:
  8278. * src/nm-call-store.h:
  8279. * src/nm-call-store.c: Implement.
  8280. * src/supplicant-manager/nm-supplicant-interface.c:
  8281. * src/supplicant-manager/nm-supplicant-interface.h:
  8282. * src/supplicant-manager/nm-supplicant-manager.c:
  8283. * src/supplicant-manager/nm-supplicant-manager.h:
  8284. - Remove all private data type references from public header files.
  8285. - Remove all references to other NM classes, this class is just a
  8286. proxy between wpa_supplicant and NM so it doesn't have to know
  8287. any internals.
  8288. - Convert to dbus-glib bindings.
  8289. - Type safe checks for public methods' arguments.
  8290. - Store pending DBUS call ids to NMCallStore.
  8291. * src/supplicant-manager/nm-supplicant-config.c:
  8292. - Store config values in a GHashTable instead of GSList.
  8293. * src/NetworkManagerMain.h: Remove all references to DHCP manager.
  8294. * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
  8295. singleton now.
  8296. * src/nm-device.c: Use the new DHCP manager API.
  8297. * src/nm-activation-request.c:
  8298. * src/nm-activation-request.h:
  8299. - Remove all dhcp related properties and methods.
  8300. * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
  8301. * src/dhcp-manager/nm-dhcp-marshal.list: Add.
  8302. * src/dhcp-manager/nm-dhcp-manager.c:
  8303. * src/dhcp-manager/nm-dhcp-manager.h:
  8304. - Convert it to GObject since we need to signal state changes.
  8305. - Remove all references to other NM classes, this class is one
  8306. of the lowest classes in our hierarchy.
  8307. - One less class to use NMActRequest.
  8308. - Make it singleton, one less user of NMData.
  8309. - Remove a couple of sleep() calls.
  8310. - Convert a bunch of low-level dbus API calls to dbus-glib calls.
  8311. One less class to use the NM's custom tailored signal handlig.
  8312. * Makefile.am: Generate marshallers, add them to build.
  8313. 2007-02-02 Dan Williams <dcbw@redhat.com>
  8314. * configure.in
  8315. gnome/Makefile.am
  8316. nm-applet.desktop
  8317. Makefile.am
  8318. - Remove last bits referencing gnome applet
  8319. 2007-02-02 Dan Williams <dcbw@redhat.com>
  8320. * src/vpn-manager/nm-vpn-service.c
  8321. - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
  8322. and NBNS server addresses
  8323. 2007-02-02 Tambet Ingo <tambet@ximian.com>
  8324. * src/nm-dbus-manager.c:
  8325. * src/nm-dbus-manager.h:
  8326. - Convert all internal DBUS code to use dbus-glib bindings.
  8327. - Remove GObject properties, we don't need them here.
  8328. - Don't explicitly set things to NULL after freeing, glib is
  8329. happy to do it if asked nicely (G_DEBUG=gc-friendly).
  8330. - Make public API argument checks type safe.
  8331. - Remove unnecessary (and wrong) cast to GObject for the first
  8332. argument to g_signal_* calls - The first argument is a gpointer.
  8333. - Export DBusGConnection to other cool classes that (are going to)
  8334. use dbus-glib.
  8335. 2007-01-26 Dan Williams <dcbw@redhat.com>
  8336. * libnm-util/dbus-dict-helpers.c
  8337. libnm-util/dbus-dict-helpers.h
  8338. - Coordinate style with wpa_supplicant version to minimize diff
  8339. - Add uint32 array support
  8340. - (nmu_dbus_dict_append_uint32_array): new function
  8341. - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
  8342. nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
  8343. version; allow adding string array elements individually
  8344. * test/libnm-util/test-dbus-dict-helpers.c
  8345. - Test uint32 arrays
  8346. 2007-01-27 Jürg Billeter <j@bitron.ch>
  8347. * src/backends/NetworkManagerPaldo.c
  8348. - (nm_system_update_dns): clear nscd hosts cache
  8349. 2007-01-04 Dan Williams <dcbw@redhat.com>
  8350. Threading removal related cleanups:
  8351. - Use the glib default main context. Remove the device main context
  8352. member from NMDevice, and the main_context member from NMData. Change
  8353. all the idle and timeout scheduler functions to use plain
  8354. g_idle_add() and g_timeout_add().
  8355. - As a side-effect of the first change, nm_dbus_manager_get() no longer
  8356. takes an argument; fix that up too.
  8357. - Remove all locking, which is useless since we no longer use threads. For
  8358. example, nm_get_device_by_iface_locked() has been removed. The global
  8359. device list lock, the AP List lock, and all static locks in
  8360. NetworkManagerPolicy.c have been removed. The locking utility functions
  8361. in NetworkManagerUtils.c have also been removed.
  8362. - Other cleanups in spacing and code style
  8363. 2007-01-01 Dan Williams <dcbw@redhat.com>
  8364. Found by Bill Moss:
  8365. * src/supplicant-manager/nm-supplicant-interface.c
  8366. - (nm_supplicant_interface_disconnect): fix cleanup logic when
  8367. the supplicant interface wasn't already disconnected. Always
  8368. call removeNetwork and disconnect unless the supplicant interface
  8369. is in the DISCONNECTED or INACTIVE state.
  8370. 2006-12-28 Dan Williams <dcbw@redhat.com>
  8371. Use a single thread for everything. With the move to wpa_supplicant
  8372. and communication over D-Bus, there's no reason for multiple threads.
  8373. Almost all of the blocking code has been removed, with one exception in
  8374. the DHCP manager and a few in the VPN manager. This commit removes the
  8375. per-device worker thread and fixes activation cancellation in the absence
  8376. of threads. Further removal of thread-related code would be removing
  8377. any locking code (like the device list lock) and simplification of logic
  8378. around areas of code or data structures that are currently locked.
  8379. * autoip.c
  8380. dhcp-manager/nm-dhcp-manager.c
  8381. nm-device-802-11-wireless.c
  8382. nm-device-802-3-ethernet.c
  8383. nm-device.c
  8384. nm-device.h
  8385. - Remove usage of multiple threads
  8386. 2006-12-19 Dan Williams <dcbw@redhat.com>
  8387. Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
  8388. plus a few other patches from wpa_supplicant bugzilla.
  8389. * src/Makefile.am
  8390. src/NetworkManagerPolicy.c
  8391. src/NetworkManagerUtils.c
  8392. src/NetworkManagerUtils.h
  8393. src/nm-ap-security-leap.c
  8394. src/nm-ap-security-wep.c
  8395. src/nm-ap-security-wpa-eap.c
  8396. src/nm-ap-security-wpa-psk.c
  8397. src/nm-ap-security.c
  8398. src/nm-ap-security.h
  8399. src/nm-device-802-11-wireless.c
  8400. src/nm-device-802-11-wireless.h
  8401. src/supplicant-manager/nm-supplicant-config.c
  8402. src/supplicant-manager/nm-supplicant-config.h
  8403. src/supplicant-manager/nm-supplicant-interface.c
  8404. src/supplicant-manager/nm-supplicant-interface.h
  8405. src/supplicant-manager/nm-supplicant-marshal.list
  8406. src/supplicant-manager/nm-supplicant-settings-verify.c
  8407. src/supplicant-manager/nm-supplicant-settings-verify.h
  8408. - Move all connection management and association handling to
  8409. wpa_supplicant over dbus, rather than spawning a private copy
  8410. 2006-12-19 Dan Williams <dcbw@redhat.com>
  8411. * src/NetworkManagerPolicy.c
  8412. - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
  8413. better locking of the device change check handler ID. Incorrect
  8414. locking was causing lost device change requests
  8415. 2006-12-18 Dan Williams <dcbw@redhat.com>
  8416. * libnm-util/dbus-dict-helpers.c
  8417. - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
  8418. _nmu_dbus_dict_entry_get_byte_array): replace usage of
  8419. dbus_message_iter_get_array_len() (Gnome.org #382898)
  8420. 2006-12-18 Dan Williams <dcbw@redhat.com>
  8421. * gnome/libnm_glib/libnm_glib.c
  8422. - Change dbus_connection_close() -> dbus_connection_unref()
  8423. 2006-12-11 Dan Williams <dcbw@redhat.com>
  8424. * src/supplicant-manager/nm-supplicant-interface.c
  8425. - (iface_state_cb, wpas_iface_get_state): new functions; query initial
  8426. wpa_supplicant interface state
  8427. - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
  8428. state before transitioning to READY state
  8429. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8430. * src/nm-device-802-11-wireless.c
  8431. - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
  8432. odd length of ESSID returned from ieee80211 stack-based drivers
  8433. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8434. * src/nm-device-802-11-wireless.c
  8435. - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
  8436. IE handling blocks that cause mis-parsing of the IE
  8437. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8438. * src/nm-device-802-11-wireless.c
  8439. - (init_supplicant_interface): new function; pull supplicant interface
  8440. setup code out into standalone function since it must be called from
  8441. two different places
  8442. - (real_init): sup_mgr is now in private object data; get and track
  8443. the supplicant manager object over the NMDevice subclass' lifetime
  8444. and register a signal handler for its state signals; only try to
  8445. initialize the supplicant interface if the supplicant manager is in
  8446. the IDLE state (and therefore is ready for requests)
  8447. - (request_wireless_scan): reschedule the scan request if (a) there is
  8448. no supplicant interface yet (meaning wpa_supplicant isn't running
  8449. or isn't ready yet), or (b) if the supplicant interface isn't ready
  8450. for requests yet
  8451. - (supplicant_iface_connection_state_cb): new function; stub for
  8452. handling supplicant interface connection state signals
  8453. - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
  8454. comes and goes
  8455. - (nm_device_802_11_wireless_dispose): clean up spacing; release the
  8456. supplicant manager object that's being tracked starting with this
  8457. commit
  8458. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8459. * src/supplicant-manager/nm-supplicant-interface.c
  8460. - (nm_supplicant_interface_set_property): track signal handler ID
  8461. - (nm_supplicant_interface_dispose): remove signal handler on dispose
  8462. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8463. * src/supplicant-manager/nm-supplicant-interface.[ch]
  8464. - (nm_supplicant_interface_get_state): new function
  8465. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8466. * src/supplicant-manager/nm-supplicant-interface.c
  8467. - (bssid_properties_cb): don't treat DBus errors as valid
  8468. scanned AP messages
  8469. 2006-12-04 Dan Williams <dcbw@redhat.com>
  8470. * src/supplicant-manager/nm-supplicant-interface.[ch]
  8471. - (nm_supplicant_interface_get_connection_state): new function
  8472. - define new supplicant connection states
  8473. - send a signal when the supplicant connection state changes
  8474. 2006-12-03 Dan Williams <dcbw@redhat.com>
  8475. * src/supplicant-manager/Makefile.am
  8476. src/supplicant-manager/nm-supplicant-connection.h
  8477. src/supplicant-manager/nm-supplicant-connection.c
  8478. src/supplicant-manager/nm-supplicant-config.h
  8479. src/supplicant-manager/nm-supplicant-config.c
  8480. src/supplicant-manager/nm-supplicant-types.h
  8481. src/supplicant-manager/nm-supplicant-interface.h
  8482. src/supplicant-manager/nm-supplicant-interface.c
  8483. - Rename NMSupplicantConnection -> NMSupplicantConfig
  8484. 2006-12-03 Dan Williams <dcbw@redhat.com>
  8485. Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
  8486. * po/POTFILES.in
  8487. po/POTFILES.skip
  8488. - Move VPN-related translatables to .skip
  8489. * vpn-daemons/pptp/po/POTFILES.in
  8490. - Update with new translatables
  8491. 2006-12-02 Dan Williams <dcbw@redhat.com>
  8492. Patch from Christian Persch <chpe@gnome.org>
  8493. * gnome/applet/Makefile.am
  8494. gnome/applet/applet-dbus-devices.c
  8495. gnome/applet/applet-notifications.c
  8496. gnome/applet/applet.c
  8497. gnome/applet/applet.h
  8498. gnome/applet/main.c
  8499. - Be a GtkStatusIcon on GTK+ >= 2.10
  8500. 2006-12-02 Dan Williams <dcbw@redhat.com>
  8501. * gnome/applet/applet.c
  8502. - (nma_update_info): fix two unecessary allocations
  8503. 2006-12-02 Dan Williams <dcbw@redhat.com>
  8504. Patch from Michael Biebl <biebl@teco.edu>
  8505. * configure.in
  8506. man/NetworkManager.1.in
  8507. man/NetworkManagerDispatcher.1.in
  8508. man/NetworkManager.8.in
  8509. man/NetworkManagerDispatcher.8.in
  8510. - Add .SH NAME stanzas
  8511. - Move NM & NM Dispatcher manpages to section 8 (admin)
  8512. 2006-12-02 Dan Williams <dcbw@redhat.com>
  8513. Patch from Christian Persch <chpe@gnome.org>
  8514. * configure.in
  8515. - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
  8516. 2006-11-29 Tambet Ingo <tambet@ximian.com>
  8517. Patch by Timo Hoenig <thoenig@suse.de>:
  8518. * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
  8519. DBUS-1.0.
  8520. * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
  8521. we can't use the one from the main source directory.
  8522. 2006-11-27 Dan Williams <dcbw@redhat.com>
  8523. Patch from Christian Persch <chpe@gnome.org>
  8524. * gnome/applet/applet-dbus-devices.c
  8525. - (hal_info_product_cb): fix memleak; free duped string.
  8526. Gnome.org #379908
  8527. 2006-11-27 Dan Williams <dcbw@redhat.com>
  8528. Patch from Christian Persch <chpe@gnome.org>
  8529. * gnome/applet/menu-items.c
  8530. - (network_menu_item_update): use gtk_progress_bar_set_fraction()
  8531. as gtk_progress_set_percentage is deprecated. Should
  8532. work as far back as GTK+ 2.4. Gnome.org #379780
  8533. 2006-11-26 Dan Williams <dcbw@redhat.com>
  8534. Scan using wpa_supplicant over DBus.
  8535. * src/nm-device-802-11-wireless.c
  8536. - remove wireless extensions netlink event handler bits
  8537. (wireless_event_helper, nm_device_802_11_wireless_event)
  8538. - remove wireless extensions scan event handler bits
  8539. (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
  8540. hex2byte, hex2num, request_and_convert_scan_results,
  8541. free_process_scan_cb_data, scan_results_timeout,
  8542. schedule_scan_results_timeout, cancel_scan_results_timeout)
  8543. - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
  8544. and request scans from the supplicant interface rather than directly
  8545. - Move functionality of convert_scan_results() to cull_scan_list() and
  8546. supplicant_iface_scanned_ap_cb()
  8547. - (supplicant_iface_scan_result_cb): new function; schedule a new scan
  8548. at the scan interval when the current scan has finished
  8549. - (supplicant_iface_state_cb): start scanning when the supplicant
  8550. interface enters the READY state, and stop scanning when it
  8551. enters the DOWN state
  8552. - (cull_scan_list): weed out old access points from the scan list
  8553. - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
  8554. point into an NMAccessPoint and merge it into the device's scan list
  8555. * src/supplicant-manager/nm-supplicant-interface.c
  8556. src/supplicant-manager/nm-supplicant-interface.h
  8557. - Add a new signal "scan-result" which is issued when the supplicant
  8558. notifies NM that a scan has completed
  8559. - Add a new signal "scanned-ap" that notifies listeners of a new access
  8560. point found in the scan. Called once for each access point that
  8561. the supplicant interface object receives from the supplicant as a
  8562. result of the "scanResults" method call
  8563. - (wpas_iface_query_scan_results): don't wait 4s before querying
  8564. for the initial scan results
  8565. - (scan_request_cb): new function; send listeners the result
  8566. (success, error) of a wireless scan request
  8567. - (nm_supplicant_interface_request_scan): new function; ask the
  8568. supplicant to perform an immediate wireless scan
  8569. 2006-11-25 Dan Williams <dcbw@redhat.com>
  8570. * src/supplicant-manager/Makefile.am
  8571. - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
  8572. add HAL cflags/includes and named-manager includes directory
  8573. * src/supplicant-manager/nm-supplicant-interface.h
  8574. - New state STARTING to handle transition from INIT to READY where
  8575. the addInterface pending call is still outstanding
  8576. * src/supplicant-manager/nm-supplicant-interface.c
  8577. - track pending calls differently since we may have more than one
  8578. going on at any given time
  8579. - request scan results from wpa_supplicant; but don't do it more often
  8580. than every 4 seconds. Drivers that do background scanning
  8581. (like the 'ipw' drivers) send a continuous stream of scan completion
  8582. notifications, so we don't want to hammer the supplicant or dbus
  8583. with requests for all scan results every time we get a completion
  8584. notification.
  8585. 2006-11-25 Dan Williams <dcbw@redhat.com>
  8586. * src/supplicant-manager/nm-supplicant-types.h
  8587. - new file; move all supplicant manager object typedefs here for
  8588. #include sanity
  8589. * src/supplicant-manager/nm-supplicant-interface.c
  8590. src/supplicant-manager/nm-supplicant-interface.h
  8591. - new file; an object that interfaces an NMDevice object to the
  8592. supplicant and handles signals from the supplicant. This object
  8593. does all necessary DBus communication with wpa_supplicant.
  8594. * src/supplicant-manager/nm-supplicant-manager.c
  8595. src/supplicant-manager/nm-supplicant-manager.h
  8596. - Actually do something. Track the state of the wpa_supplicant service
  8597. and deal with its comings & goings. Handle life events of
  8598. supplicant interfaces too.
  8599. - Move NMSupplicantManager typedef to nm-supplicant-types.h
  8600. * src/supplicant-manager/nm-supplicant-connection.h
  8601. - Move NMSupplicantConnection typedef to nm-supplicant-types.h
  8602. * src/supplicant-manager/Makefile.am
  8603. - Add new files to build, and add libnm-util to includes
  8604. * src/nm-marshal.list
  8605. - New marshaler type: VOID:UINT,UINT
  8606. * src/nm-device-802-3-ethernet.c
  8607. - (real_init): grab a supplicant interface
  8608. - (nm_device_802_3_ethernet_dispose): release the supplicant interface
  8609. - (supplicant_iface_state_cb): new function, stub for handling
  8610. supplicant interface state changes
  8611. * src/nm-device-802-11-wireless.c
  8612. - (real_init): grab a supplicant interface
  8613. - (nm_device_802_11_wireless_dispose): release the supplicant interface
  8614. - (supplicant_iface_state_cb): new function, stub for handling
  8615. supplicant interface state changes
  8616. * src/NetworkManager.c
  8617. - (main): create and keep the supplicant manager around for the lifetime
  8618. of NetworkManager
  8619. * src/Makefile.am
  8620. - Link to the supplicant manager sub-library and use the supplicant
  8621. manager includes
  8622. 2006-11-25 Dan Williams <dcbw@redhat.com>
  8623. Rework DBus manager signal handling to be more flexible. Previously,
  8624. only one signal handler could be registered for a particular interface.
  8625. The DBus manager now reference counts DBus bus matches and allows multiple
  8626. clients to register signal handlers for the same interface and sender.
  8627. * src/NetworkManager.c
  8628. - (main): track NMI signal handler ID and remove it when we quit
  8629. * src/NetworkManagerMain.h
  8630. - Keep track of NMI signal handler ID
  8631. * src/nm-dbus-manager.c
  8632. src/nm-dbus-manager.h
  8633. - rework signal handling; each signal handler references one signal
  8634. match, but a signal match may be referenced by one or more
  8635. signal handlers. Matches are refcounted and are destroyed when the
  8636. last signal handler that references the match is removed. This is
  8637. necessary because two signal handlers may end up requiring the same
  8638. dbus bus match, so the match must live until the last signal handler
  8639. is destroyed (for example, with the wpa_supplicant network interface
  8640. dbus interface).
  8641. * src/dhcp-manager/nm-dhcp-manager.c
  8642. - (nm_dhcp_manager_new): track DHCP signal handler id
  8643. - (nm_dhcp_manager_dispose): remove DHCP signal handler
  8644. * src/vpn-manager/nm-vpn-service.c
  8645. - (nm_vpn_service_add_watch): track VPN service signal handler id
  8646. - (nm_vpn_service_remove_watch): remove VPN service signal handler
  8647. 2006-11-25 Dan Williams <dcbw@redhat.com>
  8648. Suggested by Helmut Schaa <hschaa@suse.de>
  8649. * src/vpn-daemons/nm-vpn-service.c
  8650. - (supplicant_child_setup): new function
  8651. - (supplicant_exec): make child process use a new process group id
  8652. * src/nm-device-802-11-wireless.c
  8653. - (nm_vpn_service_child_setup): new function
  8654. - (nm_vpn_service_stage1_daemon_exec): make child process use a new
  8655. process group id
  8656. 2006-11-19 Dan Williams <dcbw@redhat.com>
  8657. Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
  8658. * gnome/vpn-properties/nm-vpn-properties.c
  8659. - clean up after renamed VPN connection
  8660. 2006-11-19 Dan Williams <dcbw@redhat.com>
  8661. Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
  8662. * gnome/applet/applet-dbus-vpn.c
  8663. - (nma_dbus_vpn_properties_cb): sort VPN connections
  8664. * gnome/vpn-properties/nm-vpn-properties.c
  8665. - (init_app): sort VPN connections
  8666. 2006-11-09 Dan Williams <dcbw@redhat.com>
  8667. * src/NetworkManagerAPList.c
  8668. - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
  8669. code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
  8670. from the nm_ap_list_get_ap_by_address() call was incorrect and
  8671. broke hidden SSID matching. Found by Bill Moss.
  8672. 2006-10-25 Dan Williams <dcbw@redhat.com>
  8673. * src/nm-dbus-nm.c
  8674. - (nm_dbus_nm_set_active_device): return an empty success message on
  8675. success, rather than falling through to the error case.
  8676. 2006-10-25 Dan Williams <dcbw@redhat.com>
  8677. * src/NetworkManagerUtils.c
  8678. - (nm_utils_supplicant_request_with_check): suppress messages for the
  8679. "SCAN" command
  8680. 2006-10-24 Dan Williams <dcbw@redhat.com>
  8681. Reduce the number of times the Gnome applet wakes up, especially when
  8682. it's doing absolutely nothing and is hidden. Initial patch by
  8683. Chris Aillon.
  8684. * gnome/applet/applet-dbus.c
  8685. - (nma_dbus_filter): when NM isn't around, or when it goes away,
  8686. kill the redraw timeout. When NM starts up, start the redraw
  8687. timeout. Also, if we get kicked off the bus for some reason,
  8688. start the reconnection timeout if one's not already running.
  8689. - (nma_dbus_init): better handling of error conditions, don't leak
  8690. a half-initialized dbus connection
  8691. - (nma_dbus_connection_watcher): consolidate places we reinitialize
  8692. the applet's data, just call nm_dbus_init_helper()
  8693. - (nma_start_dbus_connection_watch): new function, starts a periodic
  8694. timeout that calls nma_dbus_connection_watcher()
  8695. - (nma_dbus_init_helper): if we get a successful connection, kill the
  8696. reconnection timeout, and don't start the reconnection timeout
  8697. unconditionally anymore
  8698. * gnome/applet/applet-dbus.h
  8699. - Expose nma_start_dbus_connection_watch()
  8700. * gnome/applet/applet.c
  8701. - (nma_update_state): no longer static, called from applet-dbus.c for
  8702. immediate UI updates on certain events
  8703. - (nma_set_running): new function; take over setting applet->running,
  8704. when not running (ie, NM is not active), don't activate the redraw
  8705. timeout because we're not showing the applet anyway. When we are
  8706. running (ie, NM is active), and only when we're running, start the
  8707. redraw timeout.
  8708. - (nma_destroy): kill the redraw timeout by setting 'not running', and
  8709. kill any reconnection timeout
  8710. - (nma_get_instance): move one-off dbus initialization code here since
  8711. nm_dbus_init_helper() gets called more than once, possibly by the
  8712. reconnection timeout function too. And, when we start up, if we
  8713. can't get a connection to the bus, start the reconnection timeout.
  8714. But don't start the redraw timeout yet, only do that when we get
  8715. NM's state and find out if it's running or not.
  8716. * gnome/applet/applet.h
  8717. - Add the reconnection GSource ID
  8718. - Add prototypes for nma_set_running() and the no-longer-static
  8719. nma_update_state()
  8720. 2006-10-24 Dan Williams <dcbw@redhat.com>
  8721. * src/vpn-daemons/nm-dbus-vpnc.c
  8722. - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
  8723. pending call tracker
  8724. - (nm_dbus_vpn_connections_update_cb): unregister pending call in
  8725. pending call tracker; register one-vpn-connection update pending
  8726. call in pending call tracker
  8727. - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
  8728. update pending call in pending call tracker
  8729. - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
  8730. update pending call in pending call tracker; don't block waiting
  8731. for call to return
  8732. 2006-10-19 Robert Love <rml@novell.com>
  8733. * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
  8734. refresh the cache.
  8735. 2006-10-14 Dan Williams <dcbw@redhat.com>
  8736. * src/dhcp-manager/nm-dhcp-manager.c
  8737. - (get_ip4_string, get_ip4_uint32s): have the caller pass
  8738. the dbus connection and the device object path rather than
  8739. constructing it inside both functions. Saves a bit of memory
  8740. and clarifies a failure path.
  8741. - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
  8742. and allocate device path here rather than each of the two
  8743. functions above.
  8744. 2006-10-13 Dan Williams <dcbw@redhat.com>
  8745. * src/NetworkManager.c
  8746. - (nm_name_owner_changed_handler): handle NMI coming and going,
  8747. this somehow droppout in the refactor
  8748. 2006-10-13 Dan Williams <dcbw@redhat.com>
  8749. * Huge DBus refactor:
  8750. - Create a "DBus Manager" object which manages the connection and
  8751. sends signals on NameOwnerChanged and connection/disconnection events,
  8752. handles reconnection to the bus if NM gets kicked off, and abstracts
  8753. signal handling
  8754. - Remove DBusConnection members from places where they are no
  8755. longer needed due to the refactor, like the dbus-connection
  8756. property of the named manager, and from NMData
  8757. - Reformats a bunch of the code to gnome style
  8758. (8-space tabs, braces on same line as statement, 80-col width).
  8759. Consider it open season to reformat any bits to gnome style.
  8760. style that aren't already.
  8761. 2006-10-13 Dan Williams <dcbw@redhat.com>
  8762. * src/supplicant-manager/Makefile.am
  8763. - Add new files
  8764. * src/supplicant-manager/nm-supplicant-manager.[ch]:
  8765. - Make it a minimal GObject
  8766. * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
  8767. - Verify settings destined for wpa_supplicant
  8768. * src/supplicant-manager/nm-supplicant-connection.[ch]:
  8769. - Minimal GObject to track wpa_supplicant controlled device
  8770. connections
  8771. 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
  8772. * gnome/applet/applet.c: (nma_update_info),
  8773. (nma_act_stage_to_pixbuf), (nma_update_state):
  8774. Mark missing strings for translation. Fixes bug #343306.
  8775. 2006-10-01 Dan Williams <dcbw@redhat.com>
  8776. * src/vpn-manager/nm-vpn-manager.c
  8777. - (nm_vpn_manager_load_services): split and clean up
  8778. for readability and correctness. Restrict VPN service
  8779. files to ending in ".name", as was meant from the
  8780. beginning (but not coded in). Better error reporting.
  8781. 2006-10-01 Dan Williams <dcbw@redhat.com>
  8782. * utils/nm-utils.h
  8783. - Clean up formatting of debug/info/warning log messages
  8784. 2006-09-27 Robert Love <rml@novell.com>
  8785. Patch by Tambet Ingo <tambet@ximian.com>:
  8786. * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
  8787. actually work.
  8788. 2006-09-07 Dan Williams <dcbw@redhat.com>
  8789. * test/Makefile.am
  8790. test/libnm-util/Makefile.am
  8791. test/nm-supplicant-test.c
  8792. - Add test program emulating the way NM drives wpa_supplicant
  8793. to help debug supplicant issues
  8794. 2006-08-24 Dan Williams <dcbw@redhat.com>
  8795. * configure.in
  8796. src/Makefile.am
  8797. src/supplicant-manager/Makefile.am
  8798. src/supplicant-manager/nm-supplicant-manager.c
  8799. src/supplicant-manager/nm-supplicant-manager.h
  8800. - Add skeleton bits of the wpa_supplicant manager
  8801. 2006-08-24 Dan Williams <dcbw@redhat.com>
  8802. Patch from Ed Catmur:
  8803. * src/NetworkManagerUtils.c
  8804. - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
  8805. if netmask is 0 (Gnome #352634)
  8806. 2006-08-17 Robert Love <rml@novell.com>
  8807. * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
  8808. package is now DBUS-enabled and listens for the NM signals.
  8809. 2006-08-14 Dan Williams <dcbw@redhat.com>
  8810. * Patch from Christian Persch <chpe gnome org>
  8811. * configure.in
  8812. po/LINGUAS
  8813. vpn-daemons/openvpn/po/LINGUAS
  8814. vpn-daemons/openvpn/configure.in
  8815. vpn-daemons/pptp/po/LINGUAS
  8816. vpn-daemons/pptp/configure.in
  8817. vpn-daemons/vpnc/po/LINGUAS
  8818. vpn-daemons/vpnc/configure.in
  8819. - Convert to LINGUAS method so translators don't have to modify
  8820. configure.in, just stuff in po/. Gnome #343132, requires intltool
  8821. 0.35 or higher
  8822. 2006-08-14 Dan Williams <dcbw@redhat.com>
  8823. Patch from Alex Smith <alex.extreme2@gmail.com>
  8824. * configure.in
  8825. src/backends/Makefile.am
  8826. src/backends/NetworkManagerFrugalware.c
  8827. - Add support for Frugalware
  8828. 2006-08-13 Dan Williams <dcbw@redhat.com>
  8829. Patch from Valentine Sinitsyn <e_val@inbox.ru>
  8830. * src/nm-device-802-11-wireless.c
  8831. - (supplicant_exec): spawn wpa_supplicant without debug spew
  8832. Gnome #346875
  8833. 2006-08-13 Dan Williams <dcbw@redhat.com>
  8834. Patch from Valentine Sinitsyn <e_val@inbox.ru>
  8835. * src/nm-ap-security.c
  8836. src/nm-ap-security.h
  8837. - Add authentication_required bits for subclasses to specify whether
  8838. or not real authentication is required for connections, i.e. whether
  8839. the AP rejects us when an encryption key is wrong or not.
  8840. * src/nm-ap-security-wep.c
  8841. src/nm-ap-security-wpa-eap.c
  8842. src/nm-ap-security-wpa-psk.c
  8843. src/nm-ap-security-leap.c
  8844. - Implement authentication_required appropriately for each method
  8845. * src/nm-device-802-11-wireless.c
  8846. - Be smarter about when to request a key; for example, using a wrong key
  8847. in WEP shared key mode previously just timed out and did not request
  8848. a new key
  8849. 2006-08-13 Dan Williams <dcbw@redhat.com>
  8850. * gnome/libnm_glib/libnm_glib.c
  8851. - dbus_connection_disconnect() -> dbus_connection_close() for
  8852. dbus >= 0.90
  8853. 2006-08-07 Dan Williams <dcbw@redhat.com>
  8854. Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
  8855. * src/NetworkManagerSystem.c
  8856. - Respect specified MTU. Gnome #344967
  8857. 2006-08-07 Dan Williams <dcbw@redhat.com>
  8858. * src/vpn-manager/nm-vpn-service.c
  8859. - Simplify print_vpn_config() arguments
  8860. Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
  8861. * src/vpn-manager/Makefile.am
  8862. src/vpn-manager/nm-vpn-service.c
  8863. - Add new API for passing VPN config options as a dict. Gnome #344967
  8864. 2006-08-06 Dan Williams <dcbw@redhat.com>
  8865. * gnome/applet/applet-dbus-devices.c
  8866. gnome/applet/applet-dbus-vpn.c
  8867. gnome/applet/applet-dbus.c
  8868. gnome/applet/applet-dbus.h
  8869. src/nm-dbus-nmi.c
  8870. utils/nm-utils.c
  8871. utils/nm-utils.h
  8872. - Make pending call tracking code generic,
  8873. so we can use it in NM as well as the applet
  8874. 2006-08-06 Dan Williams <dcbw@redhat.com>
  8875. * src/nm-activation-request.c
  8876. - Refcount pending call objects
  8877. 2006-08-06 Dan Williams <dcbw@redhat.com>
  8878. Patch from Christan Chiesa <christanc@gmail.com>
  8879. * configure.in
  8880. - Tell sha1.c to use bigendian mode on PPC
  8881. 2006-08-04 Robert Love <rml@novell.com>
  8882. Glib Memory Slices!
  8883. * configure.in: Require glib 2.10 or later.
  8884. * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
  8885. src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
  8886. src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
  8887. src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
  8888. g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
  8889. Memory Slices are the greatest thing since bread slices.
  8890. * src/NetworkManagerAP.c: Also, fix memory leak.
  8891. 2006-08-01 Robert Love <rml@novell.com>
  8892. * gnome/applet/main.c: Shutdown all VPN connections on logout.
  8893. 2006-07-31 Robert Love <rml@novell.com>
  8894. * src/backends/interface_parser.c: Declarations must begin the block.
  8895. 2006-07-24 Dan Williams <dcbw@redhat.com>
  8896. Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
  8897. * src/backends/Makefile.am
  8898. src/backends/NetworkManagerArch.c
  8899. src/backends/NetworkManagerDebian.c
  8900. src/backends/NetworkManagerGeneric.c
  8901. src/backends/NetworkManagerGeneric.h
  8902. src/backends/NetworkManagerGentoo.c
  8903. src/backends/NetworkManagerPaldo.c
  8904. src/backends/NetworkManagerRedHat.c
  8905. src/backends/NetworkManagerSlackware.c
  8906. src/backends/NetworkManagerSuSE.c
  8907. - Genericize common backend functions
  8908. 2006-07-18 Robert Love <rml@novell.com>
  8909. * configure.in: Add "--with-notify" option to allow disabling of
  8910. libnotify support.
  8911. 2006-07-13 Dan Williams <dcbw@redhat.com>
  8912. Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
  8913. * gnome/applet/applet.glade
  8914. gnome/applet/Makefile.am
  8915. gnome/applet/nm-gconf-wso.c
  8916. gnome/applet/nm-gconf-wso-leap.c
  8917. gnome/applet/nm-gconf-wso-leap.h
  8918. gnome/applet/wireless-security-manager.c
  8919. gnome/applet/wso-leap.c
  8920. gnome/applet/wso-leap.h
  8921. include/NetworkManager.h
  8922. libnm-util/dbus-helpers.c
  8923. libnm-util/dbus-helpers.h
  8924. src/Makefile.am
  8925. src/NetworkManagerAP.c
  8926. src/nm-ap-security.c
  8927. src/nm-ap-security-leap.c
  8928. src/nm-ap-security-leap.h
  8929. - Add LEAP authentication support
  8930. 2006-07-13 Dan Williams <dcbw@redhat.com>
  8931. Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
  8932. * configure.in
  8933. src/backends/NetworkManagerArch.c
  8934. src/backends/NetworkManagerDebian.c
  8935. src/backends/NetworkManagerGentoo.c
  8936. src/backends/NetworkManagerPaldo.c
  8937. src/backends/NetworkManagerRedHat.c
  8938. src/backends/NetworkManagerSlackware.c
  8939. src/backends/NetworkManagerSuSE.c
  8940. - Convert hardcoding of 'ip' path to configure-time
  8941. detected one
  8942. 2006-07-12 Leonid Kanter <leon@asplinux.ru>
  8943. * configure.in: added ru to ALL_LINGUAS
  8944. 2006-07-10 Dan Williams <dcbw@redhat.com>
  8945. Patch from Valentine Sinitsyn <e_val@inbox.ru>
  8946. * src/nm-device.c
  8947. - (real_act_stage3_ip_config_start): don't infinite loop when
  8948. dhcdbd isn't running (Gnome #346845)
  8949. 2006-07-09 Dan Williams <dcbw@redhat.com>
  8950. * gnome/applet/applet.c
  8951. - (nma_destroy): don't pass NULL to notify_notification_close
  8952. (RH #197917)
  8953. 2006-07-09 Dan Williams <dcbw@redhat.com>
  8954. * gnome/applet/applet.c
  8955. - (nma_about_cb): remove empty documenters tab (Gnome #341324)
  8956. 2006-07-04 Tor Krill <tor@krill.nu>
  8957. Patch from Valentine Sinitsyn <e_val@inbox.ru>
  8958. * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
  8959. (nm_system_restart_mdns_responder), (ArchReadConfig),
  8960. (nm_system_device_get_system_config):
  8961. - Explicitly check for DHCP configuration
  8962. - Check if daemons are running before starting them
  8963. 2006-06-25 Dan Williams <dcbw@redhat.com>
  8964. * libnm-util/dbus-dict-helpers.[ch]
  8965. test/libnm-util/test-dbus-dict-helpers.c
  8966. - Add string array support
  8967. 2006-06-24 Dan Williams <dcbw@redhat.com>
  8968. * src/dhcp-manager/nm-dhcp-manager.c
  8969. - (nm_dhcp_manager_process_signal): clean up spacing
  8970. 2006-06-21 Dan Williams <dcbw@redhat.com>
  8971. * src/nm-dbus-device.c
  8972. - (nm_dbus_device_get_driver): don't try to stuff a NULL
  8973. through dbus
  8974. 2006-06-21 Raivis Dejus <orvils@gmail.com>
  8975. * configure.in: Added 'lv' to ALL_LINGUAS
  8976. 2006-06-19 Dan Williams <dcbw@redhat.com>
  8977. * src/NetworkManagerAP.c
  8978. - Clarify usage of user_created
  8979. * src/nm-ap-security-wep.c
  8980. src/nm-ap-security-wpa-eap.c
  8981. src/nm-ap-security-wpa-psk.c
  8982. src/nm-ap-security.c
  8983. src/nm-ap-security.h
  8984. - s/user_created/adhoc, because we really do mean adhoc
  8985. Patch from Bernard Blackham <bernard@blackham.com.au>
  8986. * src/nm-device-802-11-wireless.c
  8987. - (supplicant_send_network_config): instead of user_created,
  8988. use adhoc, and do AP_SCAN 2 for adhoc networks
  8989. 2006-06-18 Robert Love <rml@novell.com>
  8990. * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
  8991. we have a value to set. Gconf generates a warning if `val' is NULL.
  8992. * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
  8993. unless we actually received a valid private key file passphrase or
  8994. password. Otherwise, we don't know to later ask the applet to pull
  8995. the key from the keyring.
  8996. 2006-06-17 Dan Williams <dcbw@redhat.com>
  8997. * libnm-util/dbus-dict-helpers.[ch]
  8998. test/libnm-util/test-dbus-dict-helpers.c
  8999. - Fixes for zero-length byte arrays
  9000. - Replace return values of 0 with FALSE for clarity
  9001. - Test zero-length byte arrays
  9002. 2006-06-17 Dan Williams <dcbw@redhat.com>
  9003. * libnm-util/dbus-dict-helpers.[ch]
  9004. test/libnm-util/test-dbus-dict-helpers.c
  9005. - Add helpers for byte arrays
  9006. - Rework bits of the testcase
  9007. 2006-06-16 Dan Williams <dcbw@redhat.com>
  9008. * libnm-util/Makefile.am
  9009. * libnm-util/dbus-dict-helpers.[ch]
  9010. - Add some helpers to take the pain out of using dict types in
  9011. dbus.
  9012. * test/libnm-util/Makefile.am
  9013. * test/libnm-util/test-dbus-dict-helpers.c
  9014. - Test cases for the dict helper functions
  9015. 2006-06-15 Robert Love <rml@novell.com>
  9016. * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
  9017. is a non-empty key to set. Elsewhere, pass an empty string via DBUS
  9018. if there is no key to pass.
  9019. * libnm-util/dbus-helpers.c: Given the above, we can trust always
  9020. receiving a non-NULL key.
  9021. 2006-06-14 Robert Love <rml@novell.com>
  9022. * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
  9023. copy the strings.
  9024. 2006-06-14 Dan Williams <dcbw@redhat.com>
  9025. Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
  9026. * src/nm-device-802-11-wireless.c
  9027. - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
  9028. or ones where the driver is unknown
  9029. - (supplicant_exec): don't wait for supplicant startup here
  9030. - (supplicant_interface_init): finer grained polling for supplicant
  9031. startup
  9032. 2006-06-13 Robert Love <rml@novell.com>
  9033. * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
  9034. if it is currently set to TRUE. Otherwise, we will reset the value
  9035. when we connect normally.
  9036. * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
  9037. the old BSSID is valid, too. The recently added ESSID check may not be
  9038. sufficient (we can remove it?). What we really want to catch is the
  9039. case of going from all-zeros to the BSSID of some other network, which
  9040. happens on failure.
  9041. 2006-06-09 Dan Williams <dcbw@redhat.com>
  9042. * src/NetworkManagerSystem.[ch]
  9043. - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
  9044. it was unused and pointless
  9045. - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
  9046. fix for set_up_down_with_iface change
  9047. * src/vpn-manager/nm-vpn-connection.c
  9048. - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
  9049. * src/backends/NetworkManagerPaldo.c
  9050. src/backends/NetworkManagerRedHat.c
  9051. src/backends/NetworkManagerSuSE.c
  9052. src/backends/NetworkManagerArch.c
  9053. src/backends/NetworkManagerDebian.c
  9054. src/backends/NetworkManagerGentoo.c
  9055. - (nm_system_enable_loopback): use set_up_down_with_iface where
  9056. appropriate
  9057. - (nm_system_flush_loopback_routes): use flush_routes_with_iface
  9058. where appropriate
  9059. 2006-06-09 Dan Williams <dcbw@redhat.com>
  9060. Patch from Peter Jones:
  9061. * src/nm-device-802-11-wireless.c
  9062. - (nm_device_802_11_wireless_update_bssid): make sure that the
  9063. SSID hasn't changed from what we expect before automatically
  9064. updating the saved BSSID from a new AP
  9065. 2006-06-08 Robert Love <rml@novell.com>
  9066. Add 'fallback' support. NetworkManager will attempt to brute-force
  9067. connect to networks marked as fallback if there are no better wireless
  9068. connections available. This is useful as a method of last resort, to
  9069. work around driver problems, and for use with hidden networks.
  9070. * gnome/applet/applet-dbus-devices.c,
  9071. gnome/applet/applet-dbus-devices.h: Add fallback parameter.
  9072. * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
  9073. pass it on via DBUS.
  9074. * gnome/applet/applet.c: No fallback by default.
  9075. * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
  9076. Update other-network-dialog to add UI checkbox toggling fallback.
  9077. * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
  9078. propery from AP object. Add "fallback" property to AP object.
  9079. * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
  9080. * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
  9081. * src/nm-device-802-11-wireless.c: Break out blacklist logic into
  9082. separate function. Add get_best_fallback_ap() for returning an AP
  9083. on which to attempt fallback.
  9084. * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
  9085. * test/nm-set-fallback: New file. Sets a given network as fallback.
  9086. 2006-06-07 Robert Love <rml@novell.com>
  9087. * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
  9088. checked that the return type was GCONF_VALUE_STRING, not the correct
  9089. GCONF_VALUE_BOOL, and thus it never worked.
  9090. * src/NetworkManagerAPList.c: Before concluding that two networks are
  9091. identical based on their BSSID, make sure that the BSSID in question
  9092. is actually valid. Specifically, an empty or all zero BSSID does not
  9093. cut it.
  9094. * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
  9095. src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
  9096. similar invariant clean up.
  9097. 2006-06-02 Robert Love <rml@novell.com>
  9098. * gnome/applet/applet.c: Update copyright years. Add Novell.
  9099. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9100. * gnome/applet/applet.glade
  9101. gnome/vpn-properties/nm-vpn-properties.glade
  9102. - Set window icons on dialogs (Gnome.org #333420)
  9103. 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
  9104. * gnome/vpn-properties/nm-vpn-properties.glade:
  9105. * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
  9106. * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
  9107. * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
  9108. - Make the VPN properties pages prettier and more HIG
  9109. compliant. Gnome Bug #336913.
  9110. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9111. Patch from Christian Persch <chpe@gnome.org>
  9112. * gnome/vpn-properties/nm-vpn-properties.c
  9113. * gnome/vpn-properties/nm-vpn-properties.glade
  9114. - HIG-ification love (Gnome.org #336846)
  9115. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9116. Patch from Christian Persch <chpe@gnome.org>
  9117. * configure.in
  9118. gnome/vpn-properties/nm-vpn-properties.c
  9119. - (main): Fix option parsing. Gnome.org #336847
  9120. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9121. * gnome/vpn-properties/nm-vpn-properties.c
  9122. - (find_vpn_ui_by_service_name): protect against NULL service names
  9123. - (update_edit_del_sensitivity): protect against NULL service names
  9124. Gnome.org #341306
  9125. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9126. Patch from Chris Fuller <crf@grandecom.net>:
  9127. * src/nm-device-802-11-wireless.c
  9128. - (nm_device_802_11_wireless_dispose): add a is_initialized member and
  9129. don't dispose of wireless-specific stuff unless it is actually
  9130. initialized. Gnome.org #341263
  9131. 2006-05-28 Dan Williams <dcbw@redhat.com>
  9132. * src/NetworkManagerPolicy.c
  9133. - (nm_policy_device_change_check): don't switch devices if the "best"
  9134. AP is essentially the same as the current activation request, but
  9135. the current activation request isn't done activating yet. Fixes
  9136. multiple requests for keyring password on startup for Gnome applet.
  9137. Gnome.org #341297
  9138. 2006-05-26 Nicolas Trangez <eikke@eikke.com>
  9139. * src/NetworkManager.c: use GOptions instead of getopt
  9140. * configure.in: bump glib required version to >= 2.6 for GOption
  9141. support
  9142. 2006-05-25 Robert Love <rml@novell.com>
  9143. * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
  9144. nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
  9145. instead of dumping ifdef's throughout the code.
  9146. * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
  9147. src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
  9148. use nm_ioctl_info() in lieu.
  9149. 2006-05-25 Robert Love <rml@novell.com>
  9150. Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
  9151. * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
  9152. not using gcrypt. Otherwise, we get a linker error.
  9153. 2006-05-25 Robert Love <rml@novell.com>
  9154. Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
  9155. * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
  9156. configure flag to disable building of the GNOME-based applet.
  9157. 2006-05-25 Robert Love <rml@novell.com>
  9158. * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
  9159. parameter from link, because it shadows a global variable with some
  9160. older versions of glibc. Yes, glibc is now fixed and, yes, glibc
  9161. should never have exported to the entire system a common four letter
  9162. word. But we here at NetworkManager are team players. Fixes
  9163. GNOME bug #336532.
  9164. 2006-05-25 Arangel Angov <ufo@linux.net.mk>
  9165. * configure.in: Added mk.po, Macedonian translation.
  9166. 2006-05-24 Robert Love <rml@novell.com>
  9167. * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
  9168. gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
  9169. src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
  9170. 2006-05-24 Robert Love <rml@novell.com>
  9171. * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
  9172. libnm-util/Makefile.am, src/Makefile.am,
  9173. vpn-daemons/openvpn/auth-dialog/Makefile.am,
  9174. vpn-daemons/openvpn/properties/Makefile.am,
  9175. vpn-daemons/pptp/auth-dialog/Makefile.am,
  9176. vpn-daemons/pptp/properties/Makefile.am,
  9177. vpn-daemons/vpnc/auth-dialog/Makefile.am,
  9178. vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
  9179. user passed for --datadir, if anything, when setting the GNOME locale
  9180. directory. It should be a function of the specified datadir and not
  9181. the prefix.
  9182. 2006-05-24 Robert Love <rml@novell.com>
  9183. * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
  9184. src/NetworkManager.c: Take care to call bindtextdomain with the
  9185. location of msgid files.
  9186. * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
  9187. files.
  9188. 2006-05-22 Robert Love <rml@novell.com>
  9189. * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
  9190. stage4_timeout on failure unless the wireless network is Ad-Hoc.
  9191. 99% of the time there is a real problem with wireless, and a
  9192. seemingly successful connection via Zeroconf just confuses the user.
  9193. And that 1% of the time the network is probably Ad-Hoc, anyhow.
  9194. 2006-05-22 Robert Love <rml@novell.com>
  9195. * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
  9196. autofs on interface up if NIS is configured. On interface down, do
  9197. nothing.
  9198. 2006-05-22 Robert Love <rml@novell.com>
  9199. * gnome/applet/applet.c: Zero out the icon pointers before we set them,
  9200. to avoid calling g_object_unref() on stale pointers on error in
  9201. nma_icons_free(). This happens because we short-circuit loaded the
  9202. icons on the first failure but then free all icons. Normally we have
  9203. no issue because the icons were zero'ed out malloc, but we have stale
  9204. pointer data after nma_icon_theme_changed().
  9205. * gnome/applet/main.c: Return error code if nma_new() failed.
  9206. 2060-05-21 Dan Williams <dcbw@redhat.com>
  9207. * initscript/NetworkManager.in
  9208. - Ensure both dhcdbd and named are started before NM
  9209. 2006-05-21 Dan Williams <dcbw@redhat.com>
  9210. * configure.in
  9211. - Bump version to 0.7 to signify we are in 0.7 development
  9212. 2006-05-21 Dan Williams <dcbw@redhat.com>
  9213. Patch from Adam Schreiber <sadam@clemson.edu>
  9214. * gnome/vpn-properties/nm-vpn-properties.c
  9215. - (main): correct Gnome program name (gnome.org #342498)
  9216. 2006-05-21 Dan Williams <dcbw@redhat.com>
  9217. Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
  9218. * src/NetworkManagerDbus.[ch]
  9219. - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
  9220. clarify that function's argument should be an escaped dbus object
  9221. path, and look for path segment end before returning a match
  9222. * src/nm-dbus-nm.c:
  9223. - Fix up users of nm_dbus_get_device_from_escaped_object_path()
  9224. 2006-05-17 Robert Love <rml@novell.com>
  9225. Functionality to differentiate Ad-Hoc networks from infrastructure
  9226. networks in the applet, by displaying a special icon:
  9227. * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
  9228. * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
  9229. * gnome/applet/menu-items.c: Set a special icon in the scan list for
  9230. ad-hoc networks. TODO: Add a third icon representing "encrypted and
  9231. Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
  9232. networks, encrypted or not.
  9233. * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
  9234. accessor functions to get and set the mode of a given network,
  9235. wireless_network_get_mode() and wireless_network_set_mode().
  9236. 2006-05-17 Robert Love <rml@novell.com>
  9237. Functionality to automatically add BSSIDs to the allowed-MAC list as
  9238. one roams from access point to access point on a given network:
  9239. * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
  9240. helper function to compare two ether_addr structures and return TRUE
  9241. if they contain the same MAC address.
  9242. * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
  9243. prototype.
  9244. * src/nm-device-802-11-wireless.c: New function to update the BSSID
  9245. stored with the current AP. If the BSSID has indeed changed, we
  9246. send it out to the applet, allowing the allowed-MAC list to grow
  9247. automatically in response to roaming.
  9248. 2006-05-16 Robert Love <rml@novell.com>
  9249. * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
  9250. unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
  9251. 2006-05-13 Dan Williams <dcbw@redhat.com>
  9252. * src/nm-device-802-3-ethernet.c
  9253. - (real_get_generic_capabilities): Don't ignore devices that can't do
  9254. carrier detect (Debian bug #366373)
  9255. 2006-05-11 Dan Williams <dcbw@redhat.com>
  9256. Patch from Michael Biebl <biebl@teco.edu>
  9257. * src/backends/NetworkManagerDebian.c
  9258. - Debian backend fixups
  9259. 2006-05-10 Robert Love <rml@novell.com>
  9260. * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
  9261. 2006-05-09 Robert Love <rml@novell.com>
  9262. * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
  9263. private certificate passphrase, if any, in the GNOME Keyring.
  9264. * libnm-utils/dbus-helpers.c: Update.
  9265. 2006-05-05 Dan Williams <dcbw@redhat.com>
  9266. * src/nm-device-802-11-wireless.c
  9267. - (nm_device_802_11_wireless_set_wep_enc_key): convert to
  9268. nm_device_802_11_wireless_disable_encryption() since that's all
  9269. we use it for anymore; we don't ever set WEP keys ourselves.
  9270. - (real_deactivate_quickly): reset SSID and encryption keys
  9271. - (real_deactivate): move SSID and encryption key reset to
  9272. real_deactivate_quickly(), which gets run before us anyway
  9273. 2006-05-05 Robert Love <rml@novell.com>
  9274. * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
  9275. root has a wacky default of its own (or, more common, a user has a
  9276. bad umask and uses su/sudo to restart NetworkManager). Anything
  9277. other than 0022 does not do what we want with, for example,
  9278. resolv.conf. This problem is amplified by our judicious use of
  9279. fopen(), which uses mode 0666 -- implying that the only way to get
  9280. the permissions we want is with a umask of 0022.
  9281. 2006-05-05 Dan Williams <dcbw@redhat.com>
  9282. * gnome/libnm_glib/libnm_glib.c
  9283. - Don't suck CPU when dbus isn't around by scheduling idle handlers
  9284. to reconnect; instead wait a bit more with each reconnect attempt
  9285. up to a max of one minute.
  9286. 2006-05-04 Ryan Lortie <desrt@desrt.ca>
  9287. * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
  9288. the WirelessNetwork structure using the proper function instead of
  9289. just casting it directly to (const char *) (gnome.org #336991)
  9290. 2006-05-03 Robert Love <rml@novell.com>
  9291. * src/backends/NetworkManagerSuSE.c: Respect the variable
  9292. dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
  9293. config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
  9294. to dynamically update /etc/resolv.conf.
  9295. 2006-05-02 Peter Jones <pjones@redhat.com>
  9296. * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
  9297. 2006-05-02 Robert Love <rml@novell.com>
  9298. Patch by Timo Hoenig;
  9299. * tests/nm-online.c: Print pretty status indicator as timeout winds
  9300. down. Also fix possible race between DBUS startup and failure
  9301. return.
  9302. 2006-05-01 Robert Love <rml@novell.com>
  9303. * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
  9304. empty, too.
  9305. 2006-04-27 Jeremy Katz <katzj@redhat.com>
  9306. * src/nm-device.c (discover_device_type): Actually use the hal
  9307. device type instead of ioctl poking
  9308. 2006-04-26 Robert Love <rml@novell.com>
  9309. * tests/nm-online.c: New file. Simple utility that returns exit status
  9310. noting whether the connection is offline or online. If offline on
  9311. start, it waits 30 seconds (or a command-line given value) for an
  9312. online signal. If it times out, it again returns offline. This is
  9313. useful for scripts that want to wait for network connections.
  9314. 2006-04-25 Robert Love <rml@novell.com>
  9315. * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
  9316. key mode (the authentication algorithm), e.g. open or shared, when we
  9317. moved to using wpa_supplicant. wpa_supplicant defaults to open, so
  9318. only shared was broken. If the user specified a shared key, set it
  9319. explicitly, otherwise let wpa_supplicant go with the default.
  9320. 2006-04-24 Dan Williams <dcbw@redhat.com>
  9321. * src/nm-device-802-11-wireless.c
  9322. - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
  9323. 2006-04-24 Dan Williams <dcbw@redhat.com>
  9324. Commit the async scanning patch
  9325. * src/nm-device-802-11-wireless.c
  9326. - get rid of scan_mutex
  9327. - (wireless_event_helper): act on wireless scan events
  9328. - (real_start): schedule a pending scan
  9329. - (link_to_specific_ap): fake the link to the AP during a scan
  9330. - (nm_device_802_11_wireless_update_signal_strength): ignore signal
  9331. strength during scans
  9332. - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
  9333. nm_device_set_bitrate): unused with new scanning code, disable
  9334. - (nm_device_wireless_schedule_scan): removed
  9335. - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
  9336. - (request_and_convert_scan_results): new function; retrieve scan
  9337. results from the driver and schedule the processing function
  9338. - (scan_results_timeout): timeout triggered when card doesn't send
  9339. a scan results wireless event during a certain interval
  9340. - (schedule_scan_results_timeout): new function; schedule the scan
  9341. results timeout
  9342. - (cancel_scan_results_timeout): new function; cancel the scan
  9343. results timeout
  9344. - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
  9345. to do the scanning. Otherwise, just request a scan but don't
  9346. grab results here; instead schedule a timeout for scan results and
  9347. let netlink notify us of scan completion events
  9348. - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
  9349. - (cancel_pending_scan): new function; cancel a pending wireless scan
  9350. - (supplicant_status_cb): ignore disconnect events while scanning
  9351. - (supplicant_exec): wait a bit longer for the supplicant to start up
  9352. - (nm_device_802_11_wireless_dispose): cancel pending scans and results
  9353. timeouts
  9354. - (get_scan_results): removed; folded into request_and_convert_scan_results()
  9355. 2006-04-24 Dan Williams <dcbw@redhat.com>
  9356. * gnome/applet/applet-dbus.c
  9357. - Disable the pending call debug stuff, seems under control now
  9358. 2006-04-20 Robert Love <rml@novell.com>
  9359. Fix bug where hidden ESSID's would not show up in the applet, even
  9360. if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
  9361. because nm_policy_device_list_update_from_allowed_list() would merge
  9362. the data, putting a name to the hidden networks, but never notify NMI
  9363. of the changes. Simple fix is to invoke the function
  9364. nm_dbus_signal_wireless_network_change() if we make a mapping.
  9365. * src/NetworkManagerAPList.c: Call the function
  9366. nm_dbus_signal_wireless_network_change() if we made a successful
  9367. BSSID to ESSID mapping, notifying the applet of the "new" network.
  9368. * src/NetworkManagerAPList.h: Update the prototypes for both
  9369. nm_ap_list_copy_essids_by_address() and
  9370. nm_ap_list_copy_one_essid_by_address().
  9371. 2006-04-20 Robert Love <rml@novell.com>
  9372. * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
  9373. not set. Just return zero.
  9374. 2006-04-20 Robert Love <rml@novell.com>
  9375. * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
  9376. only one copy of nm-vpn-properties is running at a time via the 'ol
  9377. X selection trick. This prevents the user from opening two "VPN
  9378. Connections" windows from within the applet, which leads to mass
  9379. hysteria.
  9380. * clipboard.c: New file, implementing simple X selection logic.
  9381. * clipboard.h: New file.
  9382. * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
  9383. 2006-04-18 Nicolas Trangez <eikke@eikke.com>
  9384. * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
  9385. * configure.in
  9386. initscript/Gentoo/Makefile.am
  9387. initscript/Gentoo/NetworkManagerDispatcher.in
  9388. - New script
  9389. * initscript/Gentoo/NetworkManager.in: small dependency fixup from
  9390. Gentopia
  9391. 2006-04-16 Dan Williams <dcbw@redhat.com>
  9392. Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
  9393. * configure.in
  9394. initscript/Slackware/Makefile.am
  9395. initscript/Slackware/rc.networkmanager-dispatcher.in
  9396. initscript/Slackware/rc.networkmanager.in
  9397. - Update slackware initscripts
  9398. 2006-04-10 Robert Love <rml@novell.com>
  9399. * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
  9400. the "delete_event" signal on the druid's parent window and handle it
  9401. our way, lest using the WM to close the druid results in a series of
  9402. bloody and ultimately lethal errors.
  9403. 2006-04-10 Robert Love <rml@novell.com>
  9404. * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
  9405. 'Back' too or else the 'Forward' option is initially disabled despite
  9406. valid input.
  9407. 2006-04-06 Robert Love <rml@novell.com>
  9408. Fix bad but simple bug where an active modem connection did not update
  9409. NM's connection state, breaking any app that did online/offline:
  9410. * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
  9411. represented whether a dial up connection is active, or not.
  9412. * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
  9413. to modem activation and deactivation.
  9414. * src/NetworkManagerDbus.c: When asked our state, do not return
  9415. disconnected if the modem is active.
  9416. 2006-04-04 Robert Love <rml@novell.com>
  9417. * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
  9418. applet. It just confuses the crap out of people and does not make a
  9419. lot of sense, as the daemon still runs.
  9420. 2006-04-02 Tor Krill <tor@krill.nu>
  9421. * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
  9422. in start of service.
  9423. * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
  9424. get Archlinux backend up to date.
  9425. 2006-03-29 Robert Love <rml@novell.com>
  9426. Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
  9427. to add support for per-route MSS and improve support for per-interface
  9428. MTU:
  9429. * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
  9430. optionally take an MSS parameter and set it for the given route.
  9431. Remove nm_system_device_set_ip4_route_with_iface. Pass in the
  9432. NMIP4Config's stored MSS, if any.
  9433. * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
  9434. the interface's MTU and the route's MSS, respectively. Add functions
  9435. nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
  9436. and nm_ip4_config_set_mss for retrieving and setting the MTU and the
  9437. MSS.
  9438. * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
  9439. nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
  9440. nm_ip4_config_set_mss.
  9441. * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
  9442. VPN daemon.
  9443. * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
  9444. Change the retval of nm_system_get_mtu to guint32.
  9445. * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
  9446. NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
  9447. servers can specify MTU's, we should set it here if the MTU was not
  9448. provided.
  9449. 2006-03-27 Jürg Billeter <j@bitron.ch>
  9450. * configure.in:
  9451. * initscript/Makefile.am:
  9452. * initscript/paldo/Makefile.am:
  9453. * initscript/paldo/NetworkManager.in:
  9454. * initscript/paldo/NetworkManagerDispatcher.in:
  9455. * src/backends/Makefile.am:
  9456. * src/backends/NetworkManagerPaldo.c:
  9457. - Add paldo support
  9458. 2006-03-27 Dan Williams <dcbw@redhat.com>
  9459. Patch from Christian Persch <chpe@gnome.org>
  9460. * gnome/applet/applet.glade
  9461. - HIG fixes; mostly for spacing and borders (gnome.org #336220)
  9462. 2006-03-27 Dan Williams <dcbw@redhat.com>
  9463. Patch from Diffe <diffie@blazebox.homeip.net>
  9464. * src/backends/NetworkManagerSlackware.c
  9465. - Don't restart howl, since it's been replaced by Avahi
  9466. in most distributions
  9467. 2006-03-27 Dan Williams <dcbw@redhat.com>
  9468. Patch from Tor Krill <bugzilla@krill.nu>
  9469. * configure.in
  9470. initscript/Makefile.am
  9471. src/backends/Makefile.am
  9472. src/backends/NetworkManagerArch.c
  9473. initscript/Arch/Makefile.am
  9474. initscript/Arch/networkmanager-dispatcher.in
  9475. initscript/Arch/networkmanager.in
  9476. - Add Arch Linux support, fixes gnome.org #335147
  9477. 2006-03-27 Dan Williams <dcbw@redhat.com>
  9478. Patch from Diffe <diffie@blazebox.homeip.net>
  9479. * initscript/Slackware/rc.networkmanager
  9480. - update, fixed gnome.org #333368
  9481. 2006-03-27 Robert Love <rml@novell.com>
  9482. * gnome/applet/other-network-dialog.c: Do not allow the user to try to
  9483. create WPA-EAP Ad-Hoc networks because such an action makes no sense.
  9484. 2006-03-27 Robert Love <rml@novell.com>
  9485. Patch by Jürg Billeter <j@bitron.ch>:
  9486. * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
  9487. systems.
  9488. * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
  9489. as we prefer glibc over kernel headers, if possible.
  9490. 2006-03-27 Robert Love <rml@novell.com>
  9491. Patch by Jon Escombe <list@dresco.co.uk>:
  9492. * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
  9493. * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
  9494. fail, don't bail out. We don't expect all of the various WPA-EAP
  9495. values to be present.
  9496. * src/nm-ap-security.c: We need to match all capabilities for each
  9497. encryption type, not any one of them.
  9498. 2006-03-27 Robert Love <rml@novell.com>
  9499. * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
  9500. restart, not reload, ypbind. Unfortunately there is no superior
  9501. solution.
  9502. 2006-03-24 Christopher Aillon <caillon@redhat.com>
  9503. * gnome/applet/applet-notifications.c:
  9504. When displaying a notification, make sure to get rid of the
  9505. previous notification so as to not have competing bubbles,
  9506. and stop leaking the old one.
  9507. * gnome/applet/applet.c:
  9508. * gnome/applet/applet.h:
  9509. Add a new 'notification' member to the applet, and zero it out
  9510. and free it appropriately.
  9511. 2006-03-23 Robert Love <rml@novell.com>
  9512. Patch by j <j@bootlab.org>:
  9513. * gnome/applet/applet.glade: Don't set the invisible_char property,
  9514. which simply overrides the GTK default. By and by, this behavior
  9515. ought to be fixed in Glade.
  9516. 2006-03-22 Robert Love <rml@novell.com>
  9517. * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
  9518. 2006-03-22 Robert Love <rml@novell.com>
  9519. Bug fix by Timo Hoenig <thoenig@suse.de>:
  9520. * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
  9521. disconnect. Otherwise, we have the daemon surviving DBUS restarts
  9522. and the applet going AWOL.
  9523. 2006-03-22 Robert Love <rml@novell.com>
  9524. * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
  9525. preprocessor define and use it instead of open-coded the DHCP
  9526. timeout, which is currently 25 seconds, everywhere.
  9527. 2006-03-22 Robert Love <rml@novell.com>
  9528. Implement "Dynamic WEP", which is basically WPA authentication and WEP
  9529. key exchange via WPA, ostensibly providing good security without
  9530. requiring hardware that supports full WPA. Also, add UI elements to
  9531. allow the user to select the pairwise & group cipher for WPA Enterprise
  9532. networks, too:
  9533. * gnome/applet/applet.glade: Update glade file.
  9534. * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
  9535. key type, too, to and from gconf.
  9536. * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
  9537. wso_wpa_create_key_type_model(), noting whether we are handling PSK
  9538. or EAP configuration, and in the latter case add in "Dynamic WEP" if
  9539. the capabilities match.
  9540. * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
  9541. prototype.
  9542. * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
  9543. serialize from UI to DBUS.
  9544. * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
  9545. one element.
  9546. * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
  9547. nmu_security_serialize_wpa_eap_with_cipher(), and
  9548. nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
  9549. serialize/deserialize the key type via DBUS as the new third DBUS
  9550. parameter.
  9551. * libnm-util/dbus-helpers.h: Update prototypes.
  9552. * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
  9553. too. If the key type is WEP104, do Dynamic WEP, which means
  9554. "IEEE8021X" for "key_mgmt". Also add support for user-specified
  9555. pairwise and group ciphers (fixes a FIXME).
  9556. 2006-03-21 Robert Love <rml@novell.com>
  9557. * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
  9558. nm_system_get_mtu(), which returns a user-provided or system-mandated
  9559. MTU value for a given device, if any, or zero if no such value
  9560. exists. Add nm_system_set_mtu() to set the MTU for a given device
  9561. if we have a provided value.
  9562. * src/nm-device.c: Set the MTU of devices.
  9563. * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
  9564. * src/backends/NetworkManagerDebian.c,
  9565. src/backends/NetworkManagerGentoo.c,
  9566. src/backends/NetworkManagerRedHat.c,
  9567. src/backends/NetworkManagerSlackware.c: Implement stub functions.
  9568. 2006-03-21 Robert Love <rml@novell.com>
  9569. * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
  9570. configuration file.
  9571. 2006-03-17 Robert Love <rml@novell.com>
  9572. * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
  9573. signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
  9574. it, in case it is not running in the first place. We just want its
  9575. configuration reloaded. Also, do not "rcypbind stop" on device down.
  9576. 2006-03-15 Robert Love <rml@novell.com>
  9577. * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
  9578. gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
  9579. label "WEP 40/128-bit" is inconsistent because the physical key size
  9580. is 40 or 104-bits, to which a 24-bit initialisation vector is
  9581. appended, forming a 64 or 128-bit traffic key. Thus, the label ought
  9582. to read "40/104" or "64/128". I do not care much which, but most
  9583. users think of "silver" and "gold" encryption as 64 and 128-bits, so
  9584. let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
  9585. WEP passphrase support only handles 128-bit keys, and any future
  9586. 64-bit passphrase support will require a new option (no way to auto-
  9587. detect the target key size), explicitly label our passphrase support
  9588. "WEP 128-bit Passphrase".
  9589. 2006-03-15 Robert Love <rml@novell.com>
  9590. * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
  9591. the system init scripts (or some other mechanism) starting it (or a
  9592. compatible DBUS service) before NetworkManager runs. This means that
  9593. distributions might need to update their init scripts. This fixes
  9594. possible races and is quite a bit cleaner.
  9595. * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
  9596. starting the NetworkManager daemon.
  9597. 2006-03-14 Robert Love <rml@novell.com>
  9598. * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
  9599. before adding anything.
  9600. 2006-03-13 Robert Love <rml@novell.com>
  9601. * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
  9602. widgets, too, if they exist, in case the user hit the back button.
  9603. Fixes a bug where the details page contains the widgets of multiple
  9604. VPN modules (Novell bug #157048).
  9605. 2006-03-13 Robert Love <rml@novell.com>
  9606. Patch by Timo Hoenig <thoenig@suse.de>:
  9607. * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
  9608. daemon survive DBUS restarts, too.
  9609. 2006-03-10 Robert Love <rml@novell.com>
  9610. * gnome/applet/applet.glade: Add toggles to show/obfuscate the
  9611. passphrase or key.
  9612. * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
  9613. gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
  9614. gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
  9615. in response to "toggled" signal on new toggle.
  9616. 2006-03-10 Robert Love <rml@novell.com>
  9617. * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
  9618. serialization if strings are NULL, lest DBUS get angry.
  9619. 2006-03-10 Robert Love <rml@novell.com>
  9620. * src/nm-ap-security-wpa-eap.c: Don't log the password.
  9621. 2006-03-09 Robert Love <rml@novell.com>
  9622. * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
  9623. configurations.
  9624. 2006-03-09 Dan Williams <dcbw@redhat.com>
  9625. Track pending call requests in the applet, and report how many are
  9626. outstanding, and how long each completed one takes.
  9627. * gnome/applet/applet-dbus-devices.c
  9628. gnome/applet/applet-dbus-vpn.c
  9629. - Track pending calls
  9630. * gnome/applet/applet-dbus.[ch]
  9631. - Remove some unused enums
  9632. - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
  9633. new functions to track dbus pending calls and spit out some
  9634. statistics about them
  9635. 2006-03-09 Robert Love <rml@novell.com>
  9636. * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
  9637. nm_ap_set_timestamp() take the second and micro-second parameters as
  9638. direct arguments, which avoids both a dynamic memory allocation and a
  9639. structure-to-structure copy! Add a new interface, the aptly named
  9640. nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
  9641. existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
  9642. the return from nm_ap_get_timestamp(). New users should use the new
  9643. nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
  9644. the extreme benefit to performance.
  9645. * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
  9646. src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
  9647. 2006-03-08 Robert Love <rml@novell.com>
  9648. * gnome/applet/applet.glade: Hide the password entry text with
  9649. asterisks.
  9650. 2006-03-08 Robert Love <rml@novell.com>
  9651. * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
  9652. NetworkManagerRedHat.c, NetworkManagerGentoo.c,
  9653. NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
  9654. a second argument, NMData.
  9655. * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
  9656. * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
  9657. config files as trusted.
  9658. 2006-03-06 Robert Love <rml@novell.com>
  9659. * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
  9660. * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
  9661. to exit the applet. As a sweet side-effect, idea courtesy of Chris
  9662. Rivera, detect if the applet was auto-started. If so, ask the user
  9663. if he or she would like to stop automatically running the applet on
  9664. login. If so, disable autostart.
  9665. 2006-03-06 Robert Love <rml@novell.com>
  9666. * NetworkManager.pc.in: Provide an -I to the NetworkManager include
  9667. directory in CFLAGS so developers can actually use NetworkManager.h.
  9668. 2006-03-06 Robert Love <rml@novell.com>
  9669. * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
  9670. open-coded integer constants. Add state_to_string() to map a given
  9671. state to a textual description, and provide that when notifying of
  9672. state change.
  9673. * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
  9674. states, copied and cleaned up from dhcdbd.d. Ideally, we would use
  9675. this header directly, but it is currently not installed on most
  9676. systems.
  9677. 2006-03-05 Dan Williams <dcbw@redhat.com>
  9678. Process netlink messages in device subclasses rather than in
  9679. NetworkManager.c. Also add support for recognizing Wireless Events.
  9680. * configure.in
  9681. - Find GLIB_GENMARSHAL
  9682. * src/Makefile.am
  9683. - Since we're marshalling custom types for wireless event signals,
  9684. we get to create our own marshallers using GLIB_GENMARSHAL
  9685. * src/NetworkManager.c
  9686. - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
  9687. - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
  9688. cut down somewhat. We no longer process signals here.
  9689. - (nm_data_new): create the netlink monitor here, and remove a
  9690. useless call to nm_policy_schedule_device_change_check()
  9691. - (nm_data_free): get rid of the netlink monitor here
  9692. - (nm_device_link_activated, nm_device_link_deactivated): removed
  9693. - (main): don't create the netlink monitor here, let nm_data_new
  9694. do that. Call nm_policy_schedule_device_change_check() right
  9695. before we jump to the mainloop to figure out which device
  9696. to use first
  9697. * src/NetworkManagerSystem.[ch]
  9698. - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
  9699. convert back and forth from interface names to interface
  9700. indexes
  9701. * src/nm-device-802-11-wireless.c
  9702. - (real_init): connect to wireless-event signals from the netlink
  9703. monitor object
  9704. - (nm_device_802_11_wireless_event): new function, schedule handler
  9705. for wireless event signals from the netlink monitor object. We
  9706. want the handler to run in the device's context
  9707. - (wireless_event_helper): handle wireless-event signals from netlink
  9708. - (nm_device_802_11_wireless_dispose): disconnect wireless-event
  9709. signal handler
  9710. * src/nm-device-802-11-wireless.h
  9711. - remove unused prototype for nm_device_802_11_wireless_new
  9712. * src/nm-device-802-3-ethernet.c
  9713. - (real_init): new function; set up signal handlers for link events
  9714. - (nm_device_802_3_ethernet_link_activated): new function, schedule
  9715. handler for netlink link activated events on device's main loop
  9716. - (link_activated_helper): when we get a link activated event, set
  9717. the device's link to be active
  9718. - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
  9719. handler for netlink link deactivated events on device's main loop
  9720. - (link_deactivated_helper): when we get a link deactivated event, set
  9721. the device's link to be inactive
  9722. - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
  9723. dispose
  9724. * src/nm-device-802-3-ethernet.h
  9725. - remove unused prototype for nm_device_802_3_ethernet_new
  9726. * src/nm-device.[ch]
  9727. - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
  9728. but locks the device list
  9729. - (nm_device_set_active_link): a little bit of cleanup and de-indenting
  9730. * src/nm-netlink-monitor.[ch]
  9731. - (nm_netlink_monitor_class_install_signals): New signal
  9732. "wireless-event"
  9733. - (nm_netlink_monitor_new): keep reference to NMData so we can get
  9734. at the device list
  9735. - (nm_netlink_monitor_event_handler): expand for wireless events too
  9736. * src/nm-marshal-main.c
  9737. - Include generated nm-marshal.c and nm-marshal.h
  9738. * src/nm-marshal.list
  9739. - List of custom marshal functions
  9740. 2006-03-05 Dan Williams <dcbw@redhat.com>
  9741. * gnome/applet/applet-notifications.h
  9742. - Protect prototype of nma_send_event_notification() because it
  9743. includes libnotify-specific types
  9744. - Include libnotify/libnotify.h too, since we technically need it
  9745. * gnome/applet/applet.c
  9746. - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
  9747. - (nma_show_vpn_login_banner_dialog): add some error checking
  9748. 2006-03-04 Dan Williams <dcbw@redhat.com>
  9749. Clean up activation cancellation. Should be a lot faster now. Observed
  9750. an issue with wireless devices between stage 2 and 3 of activation, where
  9751. activation would be cancelled, but the device thread wouldn't notice until
  9752. the supplicant association timed out. Reorganize activation such that
  9753. a cancellation handler gets immediately scheduled in the device's thread,
  9754. and devices have a chance to perform any custom cleanup too.
  9755. * src/nm-device.[ch]
  9756. - (activation_cancel_handler): new device-type-specific function
  9757. for cleaning up device-type-specific stuff on cancellation
  9758. - (cancel_activation): removed
  9759. - (nm_device_activation_cancel): subsume functionality of
  9760. real_cancel_activation, but instead of doing anything, punt
  9761. operation to a handler that's run in device-thread context
  9762. - (nm_device_schedule_activation_handle_cancel): fix spelling of
  9763. a warning message
  9764. - (activation_handle_cancel_helper): cancellation handler run in
  9765. device-thread context, calls device-type-specific cancelation,
  9766. then tears down the activation request
  9767. - (real_activation_cancel_handler): generic cancellation handler,
  9768. deals with cancelling any in-process DHCP request
  9769. - (nm_device_activate_stage1_device_prepare,
  9770. nm_device_activate_stage2_device_config,
  9771. nm_device_activate_stage3_ip_config_start,
  9772. nm_device_activate_stage4_ip_config_get,
  9773. nm_device_activate_stage4_ip_config_timeout,
  9774. nm_device_activate_stage5_ip_commit): don't call
  9775. nm_device_schedule_activation_handle_cancel() any more, since
  9776. cancellation will have been already scheduled for us by
  9777. nm_device_activation_cancel(). Just exit the function and
  9778. assume that the cancel handler will be called next.
  9779. * src/nm-device-802-3-ethernet.c
  9780. - (real_act_stage2_config): remove; didn't do anything anyway
  9781. * src/nm-device-802-11-wireless.c
  9782. - (supplicant_status_cb): ensure we don't do anything if the activation
  9783. got cancelled
  9784. - (real_activation_cancel_handler): implement; cancel user key request
  9785. on activation cancellation
  9786. 2006-03-04 Dan Williams <dcbw@redhat.com>
  9787. * src/nm-device-802-11-wireless.c
  9788. - (supplicant_send_network_config): assume that drivers that don't
  9789. support WPA pretty much suck, and can't handle NM scanning
  9790. along with wpa_supplicant.
  9791. 2006-03-03 Robert Love <rml@novell.com>
  9792. * configure.in: Bump version to 0.6.0.
  9793. * NEWS: Update.
  9794. 2006-03-03 Robert Love <rml@novell.com>
  9795. * configure.in: Require DBUS 0.60 or later.
  9796. 2006-03-03 Dan Williams <dcbw@redhat.com>
  9797. Fix a crash if an "Other wireless network" was chosen, failed, then
  9798. chosen again from the applet's menu. If the other network wasn't
  9799. noticed in a scan, it wouldn't have any capabilities, but would still
  9800. be listed because the user forced the network. To fix this, we set
  9801. sensible capabilities on the forced network, which will get overwritten
  9802. with the correct ones if the network shows up later in a scan.
  9803. * src/nm-ap-security.h
  9804. - Add a new "get_default_capabilities_func" member to the
  9805. NMAPSecurity class
  9806. * src/nm-ap-security.c
  9807. - (nm_ap_security_get_default_capabilities): new function
  9808. * src/nm-ap-security.c
  9809. src/nm-ap-security-wep.c
  9810. src/nm-ap-security-wpa-psk.c
  9811. src/nm-ap-security-wpa-eap.c
  9812. - Implement get_default_capabilities_func() for all, which
  9813. uses the information contained in a specific NMAPSecurity
  9814. object to determine default AP capabilites necessary
  9815. to support that object
  9816. As a secondary measure, we now prune artificial access points that fail
  9817. to be activated right away. The thing failed, and we have no scan data for
  9818. it, so it's pretty much useless since security information is only saved
  9819. in the applets when a connection is successful.
  9820. * src/NetworkManagerAPList.c
  9821. - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
  9822. not artificial. If we see it, it's no longer a figment of the
  9823. user's imagination :)
  9824. * src/NetworkManagerPolicy.c
  9825. - (nm_policy_activation_failed): send along the failed AP if we
  9826. have it
  9827. * src/nm-device-802-11-wireless.c
  9828. - (real_activation_failure_handler): remove artificial APs from
  9829. the device list, because activation failed
  9830. 2006-03-02 Robert Love <rml@novell.com>
  9831. Add support for retrieving both the per-device speed and the
  9832. per-network maximum supported rate. Then change the getProperties
  9833. DBUS API for both networks and devices to report this informaiton.
  9834. Finally, display the information via both nm-applet and nm-tool:
  9835. * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
  9836. and set it.
  9837. * gnome/applet/applet.c: Display the device's speed in the 'Connection
  9838. Information' dialog.
  9839. * gnome/applet/applet.glade: Update the UI to show per-device speed.
  9840. * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
  9841. network_device_get_speed() and network_device_set_speed() for
  9842. retrieving and setting, respectively, a network device's current
  9843. speed.
  9844. * src/nm-dbus-device.c: Send the device's speed on getProperties.
  9845. * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
  9846. in the function nm_device_802_11_wireless_get_bitrate() -- it does
  9847. not matter (yet) what the units are, because we only feed it its own
  9848. output. Implement SIOCGIRATE and set the per-network maximum
  9849. supported rate during scanning.
  9850. * src/nm-device-802-11-wireless.h: Export the function
  9851. nm_device_802_11_wireless_get_bitrate().
  9852. * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
  9853. function nm_device_802_3_ethernet_get_speed() for returning an
  9854. 802.3's current speed, in Mb/s.
  9855. * test/nm-tool.c: Display the per-device current speed, if available,
  9856. and the per-network maximum rate.
  9857. 2006-03-02 Dan Williams <dcbw@redhat.com>
  9858. * src/nm-device-802-11-wireless.c
  9859. - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
  9860. card when it gets initialized. Since devices don't get added to
  9861. the scan list until they are initialized, this function wasn't
  9862. setting the intitial scan interval correctly, and was leaving
  9863. it at 0. This caused cards to get many scan requests in a short
  9864. amount of time when they were initialized
  9865. 2006-03-02 Robert Love <rml@novell.com>
  9866. * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
  9867. active device. But do not do what we used to do and override the
  9868. state, which caused the dreaded icon race of '05.
  9869. 2006-03-02 Robert Love <rml@novell.com>
  9870. Commit Dan's update of my previous commit:
  9871. * src/nm-device-802-11-wireless.c: Always set the mode, because the
  9872. set_mode() function itself does the check. But do only set the
  9873. frequency if in Ad-Hoc mode.
  9874. 2006-03-02 Robert Love <rml@novell.com>
  9875. Patch by Brian Magnuson <magnuson@rcn.com>:
  9876. * src/nm-device-802-11-wireless.c: During scanning, only set the
  9877. wireless mode to infrastructure if it is not currently in
  9878. infrastructure mode. For some driver, setting the mode is a costly
  9879. operation, apparently.
  9880. 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
  9881. * Makefile.am: use the correct dir for autostart mechanism.
  9882. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9883. Patch from Brian Magnuson <magnuson@rcn.com>
  9884. * gnome/applet/applet.c
  9885. - (nma_show_vpn_failure_dialog): fix errors left over from
  9886. libnotify support changes
  9887. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9888. * src/vpn-manager/nm-vpn-act-request.[ch]
  9889. - (nm_vpn_act_request_is_activated): don't use a switch/case for
  9890. just one value
  9891. - (nm_vpn_act_request_is_failed): new function; return whether or
  9892. not the vpn activation request has failed
  9893. * src/vpn-manager/nm-vpn-manager.c
  9894. - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
  9895. daemon to kill the connection when the activation request fails.
  9896. Fixes issue where NM would get confused if the VPN activation
  9897. request timed out, and would not allow further VPN connections
  9898. on that service.
  9899. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9900. * gnome/applet/applet.c
  9901. - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
  9902. overlapping connection requests, disable all VPN menu items
  9903. but the active VPN connection
  9904. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9905. * src/vpn-manager/nm-vpn-connection.c
  9906. - (nm_vpn_connection_set_parent_device): fix C&P error which
  9907. called g_object_unref() on the connection's parent device
  9908. when it should have been ref-ed instead. Fixes crash with
  9909. repeated vpn connect requests
  9910. 2006-02-28 Christopher Aillon <caillon@redhat.com>
  9911. * gnome/applet/applet.glade:
  9912. Mark a few strings non-translatable, since they shouldn't be.
  9913. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9914. * src/vpn-manager/nm-vpn-service.c
  9915. - (nm_vpn_service_start_connection): if the vpn service daemon is
  9916. already running, don't blindly ask it to connect, but wait until
  9917. it's in the STOPPED state first. Fixes an assertion when user
  9918. starts a second vpn connection without stopping the first.
  9919. - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
  9920. dbus service exists before continuing with the connection
  9921. process, and reduce latency while waiting for it to become
  9922. available
  9923. - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
  9924. waiting for the vpn service daemon to become available
  9925. - General log message cleanups; show progress via "Stage x of 4"
  9926. rather than not telling anyone how many stages there are
  9927. 2006-02-28 Robert Love <rml@novell.com>
  9928. * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
  9929. * src/backends/NetworkManagerSuSE.c: Implement the interface
  9930. nm_system_should_modify_resolv_conf() for SUSE.
  9931. * src/backends/NetworkManagerDebian.c,
  9932. src/backends/NetworkManagerGentoo.c,
  9933. src/backends/NetworkManagerRedHat.c,
  9934. src/backends/NetworkManagerSlackware.c: Add stub.
  9935. * src/named-manager/Makefile.am: Grab includes from src.
  9936. * src/named-manager/nm-named-manager.c: Allow backends to disable the
  9937. automatic updating of resolv.conf. This is useful for testing,
  9938. broken static configurations, and administrator lock-down.
  9939. 2006-02-28 Dan Williams <dcbw@redhat.com>
  9940. * src/nm-device-802-11-wireless.c
  9941. - Move all the wpa_supplicant-related management stuff into its
  9942. own struct, just for oranization's sake
  9943. - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
  9944. to a GIOChannel/GSource
  9945. - (supplicant_log_stdout): new function; grab output from the
  9946. wpa_supplicant stdout pipe and write it to our logs.
  9947. 2006-02-27 Christopher Aillon <caillon@redhat.com>
  9948. * src/nm-device-802-11-wireless.c:
  9949. Err, fix thinko in my previous commit.
  9950. 2006-02-28 Robert Love <rml@novell.com>
  9951. * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
  9952. 2006-02-28 Robert Love <rml@novell.com>
  9953. * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
  9954. src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
  9955. gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
  9956. deserializers are responsible for freeing the returned DBUS strings.
  9957. 2006-02-27 Christopher Aillon <caillon@redhat.com>
  9958. * src/nm-device-802-11-wireless.c:
  9959. The scan list is being pruned prematurely. We should prune after
  9960. the device has gone MIA for three scans, not one. Split out the
  9961. interval to realtime seconds function to better serve this.
  9962. 2006-02-27 Robert Love <rml@novell.com>
  9963. * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
  9964. Open the pid file O_TRUNC, so if it already exists we truncate it to
  9965. zero length. Also, be more verbose about warnings generated during
  9966. writing out the pid file. Finally, always write out the pid file if
  9967. in daemon mode. Use "--pid-file" to override the default.
  9968. 2006-02-27 Robert Love <rml@novell.com>
  9969. Patch by R. Vinay <rvinay@novell.com>:
  9970. * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
  9971. 'last_attempt_success' when removing a VPN connection, too. (Fixes
  9972. Novell bug #153628).
  9973. 2006-02-27 Robert Love <rml@novell.com>
  9974. * gnome/applet/applet.glade: Set "activates_default" on passphrase
  9975. entry so user can hit <ENTER> after entering passphrase (Novell bug
  9976. #153738).
  9977. 2006-02-27 Dan Williams <dcbw@redhat.com>
  9978. * gnome/applet/*
  9979. - Mass search/replace of:
  9980. nmwa -> nma
  9981. NMWirelessApplet -> NMApplet
  9982. NM_*_WIRELESS_APPLET -> NM_*_APPLET
  9983. (it ain't just for wireless anymore, ma!)
  9984. - Fix duplicate function name printing when using nm_warning
  9985. - wireless-applet.glade -> applet.glade
  9986. 2006-02-27 Dan Williams <dcbw@redhat.com>
  9987. * dispatcher-daemon/NetworkManagerDispatcher.c
  9988. - Accept --pid-file with a path to a pidfile, write it out on
  9989. startup, and delete it on shutdown
  9990. * src/NetworkManager.c
  9991. - Accept --pid-file with a path to a pidfile, write it out on
  9992. startup, and delete it on shutdown
  9993. - Move nm_print_usage() lower
  9994. * initscripts/RedHat/NetworkManager.in
  9995. - Use new --pid-file option
  9996. - Fix service stopping to wait a bit for NM to quit
  9997. * initscripts/RedHat/NetworkManagerDispatcher.in
  9998. - Use new --pid-file option
  9999. 2006-02-26 Dan Williams <dcbw@redhat.com>
  10000. * src/Makefile.am
  10001. - make and install nm-crash-logger
  10002. * src/nm-logging.[ch]
  10003. - New files; consolidate logging and crash handling
  10004. * src/nm-crash-logger.c
  10005. src/gdb-cmd
  10006. - Standalong crashlogger for NM, grab a backtrace
  10007. using GDB
  10008. * src/NetworkManager.[ch]
  10009. - Remove signal handling and put it into nm-logging.c
  10010. 2006-02-26 Dan Williams <dcbw@redhat.com>
  10011. * configure.in
  10012. gnome/applet/Makefile.am
  10013. - Conditionalize all the notify stuff
  10014. Merge most of Chris Aillon's notification patch:
  10015. * gnome/applet/applet-notifications.[ch]
  10016. - New files; show a notification
  10017. * gnome/applet/applet-dbus-devices.[ch]
  10018. - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
  10019. nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
  10020. new functions, do the right thing when a device change occurs
  10021. * gnome/applet/applet-dbus.c
  10022. - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
  10023. signals, so we can handle them specially
  10024. * gnome/applet/applet.[ch]
  10025. - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
  10026. - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
  10027. - (nmwa_notify_state): remove
  10028. - (nmwa_update_state); remove call to nmwa_notify_state, since the
  10029. notification work is now done when the appropriate dbus signals
  10030. are received.
  10031. - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
  10032. defer execution of the notification/dialog stuff. That was an
  10033. artifact of the previous multi-threaded nature of the applet
  10034. and is now pointless.
  10035. - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
  10036. no longer needed. Function folded into applet-notifications.c
  10037. * src/NetworkManagerPolicy.c
  10038. - (nm_policy_activation_finish): send the AP along with the device
  10039. status change signal, if the connection is wireless. Should
  10040. fix the race where applet would show a connection to "unknown"
  10041. 2006-02-25 Robert Love <rml@novell.com>
  10042. Add WPA Enterprise support:
  10043. * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
  10044. nm-gconf-wso-wpa-eap.h.
  10045. * gnome/applet/nm-gconf-wso-wpa-eap.c,
  10046. gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
  10047. serialization and deserialization.
  10048. * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
  10049. gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
  10050. gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
  10051. * gnome/applet/wireless-applet.glade: Add UI for configurating security
  10052. settings related to WPA Enterprise.
  10053. * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
  10054. instantiate WPA Enterprise wireless-security-option.
  10055. * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
  10056. Implement WPA Enterprise wireless-security-option object.
  10057. * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
  10058. defines. Cleanup.
  10059. * libnm-util/cipher-wpa-psk-hex.c,
  10060. libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
  10061. * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
  10062. nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
  10063. nmu_security_serialize_wpa_eap_with_cipher() to serialize input
  10064. including the cipher to DBUS method, and
  10065. nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
  10066. to output.
  10067. * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
  10068. nm-ap-security-wpa-eap.h
  10069. * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
  10070. NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
  10071. * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
  10072. files. Implement NMAPSecurityWPA_EAP object.
  10073. * src/nm-ap-security-wpa-psk.c: Cleanup.
  10074. * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
  10075. an NMAPSecurityWPA_EAP object via the method
  10076. nm_ap_security_wpa_eap_new_deserialize().
  10077. * src/nm-dbus-nm.c: Cleanup.
  10078. * test/nm-tool.c: Display "Enterprise" for wireless networks providing
  10079. WPA Enterprise support.
  10080. 2006-02-24 Robert Love <rml@novell.com>
  10081. Patch from Timo Hoenig <thoenig@suse.de>:
  10082. * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
  10083. 2006-02-24 Robert Love <rml@novell.com>
  10084. Patch from Dan Winship <danw@novell.com>:
  10085. * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
  10086. area to transparent.
  10087. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10088. * gnome/applet/applet.[ch]
  10089. gnome/applet/applet-dbus.c
  10090. - Implement notification support for VPN messages too
  10091. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10092. * gnome/applet/applet-dbus-info.c
  10093. - Clean up warning messages to not double-print the function
  10094. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10095. * gnome/applet/applet-compat.c
  10096. - (convert_one_entry): accept entries without a key_type and
  10097. convert them to unencrypted networks
  10098. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10099. * gnome/libnm_glib/libnm_glib.c
  10100. - Use __func__ everywhere we can
  10101. - Code cleanups
  10102. - Use dbus pending calls rather than blocking
  10103. - Reduce busywaits for our thread to start and stop
  10104. (gnome.org #330562)
  10105. - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
  10106. stomp on others using the default shared dbus connection.
  10107. Fixes #rh177546# and gnome.org #326572
  10108. 2006-02-21 Dan Williams <dcbw@redhat.com>
  10109. Patch from Rodney Dawes <dobey@novell.com>
  10110. * configure.in
  10111. gnome/applet/Makefile.am
  10112. gnome/applet/applet.c
  10113. - Add libnotify support if '--enable-notify=yes' is passed
  10114. at configure time
  10115. 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
  10116. * configure.in (ALL_LINGUAS): ko added. (Korean)
  10117. 2006-02-15 Robert Love <rml@novell.com>
  10118. * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
  10119. define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
  10120. and WPA_SUPPLICANT_CONTROL_SOCKET.
  10121. 2006-02-15 Robert Love <rml@novell.com>
  10122. * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
  10123. information about what connection stage we are at, provide the total
  10124. number of stages, e.g. "Stage 2 of 5", so users know how far along
  10125. they are if they experience problems.
  10126. 2006-02-15 Robert Love <rml@novell.com>
  10127. * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
  10128. define to $sysconfdir.
  10129. * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
  10130. editing dialog, vpn_edit_widget, which fixes a bug where editing one
  10131. type of VPN and then editing another results in a mangled dialog
  10132. box containing the widgets from both VPNs (fixes Novell #150854).
  10133. Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
  10134. 2006-02-14 Robert Love <rml@novell.com>
  10135. * src/NetworkManager.c: Call closelog() on daemon shutdown to close
  10136. syslog's file descriptor.
  10137. 2006-02-14 Robert Love <rml@novell.com>
  10138. Fix bug around since the change to "deal with APs changing settings on
  10139. us," checked in on the fifth of February in the year of the dog,
  10140. wherein connecting to non-broadcast encrypted networks always fails
  10141. because nm_ap_get_encrypted() always returns FALSE, even when the user
  10142. provided a key, because the newly-created fake AP does not have any
  10143. capabilities set, which is a sypmtom of security settings not matching
  10144. capabilities (Novell bug #150784):
  10145. * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
  10146. nm_ap_add_capabilities_from_security(), which sets the given AP's
  10147. capabilities off the given security settings. Also improve our
  10148. handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
  10149. NM_AUTH_CIPHER_AUTO.
  10150. * src/nm-device-802-11-wireless.c: Call the function
  10151. nm_ap_add_capabilities_from_security() to ensure that capabilities
  10152. match newly updated security settings.
  10153. 2006-02-14 Robert Love <rml@novell.com>
  10154. * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
  10155. error as a string, not an integer, if possible; do not print the
  10156. function name twice; always give the interface, if possible; misc.
  10157. cleanup.
  10158. 2006-02-12 Dan Williams <dcbw@redhat.com>
  10159. Patch from Tom Parker <palfrey@tevp.net>
  10160. * src/NetworkManagerSystem.h
  10161. - Remove prototype for nm_system_device_setup_static_ip4_config(),
  10162. no longer used
  10163. * src/backends/NetworkManagerDebian.c
  10164. - Remove some dead code (nm_system_device_setup_static_ip4_config) and
  10165. unused variables
  10166. 2006-02-12 Dan Williams <dcbw@redhat.com>
  10167. * vpn-daemons/openvpn/intltool-extract.in
  10168. vpn-daemons/openvpn/intltool-merge.in
  10169. vpn-daemons/openvpn/intltool-update.in
  10170. vpn-daemons/pptp/intltool-extract.in
  10171. vpn-daemons/pptp/intltool-merge.in
  10172. vpn-daemons/pptp/intltool-update.in
  10173. - Remove from CVS, they should get created by intltoolize,
  10174. shouldn't they?
  10175. 2006-02-12 Dan Williams <dcbw@redhat.com>
  10176. * vpn-daemons/pptp/src/pppd/patchlevel.h
  10177. * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
  10178. - Rename VERSION -> PPPD_VERSION to avoid conflict with the
  10179. Makefile-defined VERSION
  10180. 2006-02-09 Dan Williams <dcbw@redhat.com>
  10181. Patch from: Vinay A R <rvinay@novell.com>
  10182. * src/vpn-manager/nm-vpn-act-request.[ch]
  10183. - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
  10184. IPSec VPNs require them for std gateway.
  10185. - (nm_vpn_act_request_new): takes arguments for 'user_routes'
  10186. and 'user_routes_count'
  10187. - (nm_vpn_act_request_get_user_routes): new function; gets user
  10188. defined routes from NMVPNActRequest object, returns the string
  10189. array of routes.
  10190. * src/vpn-manager/nm-vpn-manager.[ch]
  10191. - (nm_vpn_manager_activate_vpn_connection): take additional arguments
  10192. for 'user_routes' and 'user_routes_count'
  10193. * src/vpn-manager/nm-dbus-vpn.c
  10194. - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
  10195. nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
  10196. * src/vpn-manager/nm-vpn-service.c
  10197. - (nm_vpn_service_stage3_connect): pass user routes over dbus to
  10198. the vpn daemon
  10199. Modifications by Dan:
  10200. * src/vpn-manager/nm-vpn-service.c
  10201. - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
  10202. arrays into dbus
  10203. * vpn-daemons/vpnc/src/nm-vpnc-service.c
  10204. * vpn-daemons/pptp/src/nm-pptp-service.c
  10205. * vpn-daemons/openvpn/src/nm-openvpn-service.c
  10206. - Grab user routes from dbus message
  10207. - Free all string arrays we got from dbus
  10208. 2006-02-07 Robert Love <rml@novell.com>
  10209. Patch by Stefan Seyfried <seife@suse.de>:
  10210. * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
  10211. 2006-02-06 Robert Love <rml@novell.com>
  10212. * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
  10213. 2006-02-06 Robert Love <rml@novell.com>
  10214. * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
  10215. test ">=" is never false. If no newline is found, we loop forever.
  10216. We can just check for ">" because the following if() will see the
  10217. zero-th argument if the while() gets that far.
  10218. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10219. Refine handling of non-broadcast networks.
  10220. * src/NetworkManagerAPList.c
  10221. - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
  10222. property from scanned AP to the AP from the device list
  10223. * src/nm-device-802-11-wireless.c
  10224. - (supplicant_send_network_config): use ap_scan=1 for all networks
  10225. except non-SSID-broadcasting and Ad-Hoc networks. Use
  10226. ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
  10227. networks since those don't have APs.
  10228. - (add_new_ap_to_device_list): if there's no valid SSID, mark the
  10229. AP as non-SSID-broadcasting
  10230. - (process_scan_results): don't handle non-SSID-broadcasting here
  10231. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10232. * src/nm-device-802-11-wireless.c
  10233. - (get_supplicant_timeout): new function; return
  10234. NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
  10235. 14 channels. These are likely a/b/g cards, like Atheros, and
  10236. slow as hell to scan.
  10237. - (supplicant_timeout_cb, supplicant_monitor_start): use
  10238. get_supplicant_timeout()
  10239. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10240. * src/dhcp-manager/nm-dhcp-manager.c
  10241. - Loose a commit race with Robert; make sure size check
  10242. uses size of DHCP_SERVICE_LEN, not hardcoded 15
  10243. 2006-02-05 Robert Love <rml@novell.com>
  10244. Patch by Christoph Brill <chrisbrill@gmx.net>:
  10245. * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
  10246. with DHCP_SERVICE_NAME.
  10247. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10248. Remove anything having to do with device_setup_func from the
  10249. AP security objects, since it's no longer used.
  10250. * src/nm-ap-security.h
  10251. - Kill device_setup_func and nm_ap_security_device_setup()
  10252. * src/nm-ap-security-wep.c
  10253. src/nm-ap-security-wpa-psk.c
  10254. - (real_device_setup): remove
  10255. * src/nm-ap-security.c
  10256. - (real_device_setup): remove
  10257. - (nm_ap_security_device_setup): remove
  10258. * src/nm-device-802-11-wireless.[ch]
  10259. - (nm_device_802_11_wireless_set_wep_enc_key): make static
  10260. - (set_wireless_config, wireless_configure_adhoc): remove; unused
  10261. and done by wpa_supplicant now anyway
  10262. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10263. * src/nm-device-802-11-wireless.c
  10264. - (ap_need_key, real_act_stage2_config): deal with APs changing
  10265. settings on us. Previously NM would loop asking for the
  10266. key but getting the same one back. Now, if the NMI-supplied
  10267. cipher doesn't overlap with the scanned AP capabilities,
  10268. we request a completely new key from the user.
  10269. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10270. * src/NetworkManagerUtils.c
  10271. - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
  10272. Handle newline killing better
  10273. 2006-02-05 Dan Williams <dcbw@redhat.com>
  10274. * gnome/applet/nm-gconf-wso.c
  10275. - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
  10276. of unencrypted access point security info.
  10277. 2006-02-03 Robert Love <rml@novell.com>
  10278. * src/NetworkManagerUtils.c: Even for debugging, we should not log the
  10279. user's encryption key, so we print the err_msg_cmd not the command,
  10280. if available. So long as SUPPLICANT_DEBUG is default, this makes
  10281. sense.
  10282. 2006-02-03 Christopher Aillon <caillon@redhat.com>
  10283. * initscript/RedHat/NetworkManagerDispatcher.in:
  10284. * initscript/RedHat/NetworkManager.in: modify the pidfile location
  10285. Patch from Dan Walsh <dwalsh@redhat.com>
  10286. 2006-02-03 Robert Love <rml@novell.com>
  10287. * dispatcher-daemon/NetworkManagerDispatcher.c,
  10288. dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
  10289. but use the sysconfdir.
  10290. 2006-02-03 Robert Love <rml@novell.com>
  10291. * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
  10292. Make nm_device_802_11_wireless_get_essid() return 'const char *' not
  10293. 'char *'.
  10294. * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
  10295. nm_ip4_config_get_hostname() and
  10296. nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
  10297. * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
  10298. leak g_strdup() result.
  10299. 2006-02-03 Robert Love <rml@novell.com>
  10300. * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
  10301. broadcast == TRUE. Also, copy broadcast and artificial properties
  10302. from source network to destination in nm_ap_copy().
  10303. * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
  10304. since we now default new networks to non-hidden.
  10305. 2006-02-03 Dan Williams <dcbw@redhat.com>
  10306. * gnome/applet/main.c
  10307. - (main): change the NEVER->ALWAYS so we start at the
  10308. beginning of the session, if being session-managed
  10309. 2006-02-03 Dan Williams <dcbw@redhat.com>
  10310. * gnome/applet/main.c
  10311. - (main): in a variation on Robert's patch, change
  10312. RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
  10313. he wants.
  10314. 2006-02-02 Robert Love <rml@novell.com>
  10315. * src/Makefile.am: If we aren't going to create the run directory at,
  10316. uh, run-time, create it during install. Then users just doing
  10317. 'make install' are cool, too. While we are here, create the
  10318. dispatcher.d directory, too.
  10319. * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
  10320. the exact run directory.
  10321. * Makefile.am: Install nm-applet.desktop.
  10322. 2006-02-02 Robert Love <rml@novell.com>
  10323. * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
  10324. structure, which denotes whether or not the AP is hidden. This is a
  10325. superset of 'artificial' -- we need 'broadcast' because a hidden AP
  10326. can show up in the scan list. Add nm_ap_get_broadcast() and
  10327. nm_ap_set_broadcast() accessor interfaces.
  10328. * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
  10329. nm_ap_set_broadcast().
  10330. * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
  10331. "getProperties" method, which denotes whether or not the given
  10332. network is hidden.
  10333. * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
  10334. an artificial network. Set broadcast to TRUE when scanning returns
  10335. an ESSID and FALSE when not.
  10336. * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
  10337. from "getProperties" method on a network. Possible TODO is to
  10338. somehow display this.
  10339. * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
  10340. 2006-02-02 Dan Williams <dcbw@redhat.com>
  10341. * src/nm-device-802-11-wireless.c
  10342. - (supplicant_interface_init): don't try to create
  10343. /var/run/NetworkManager, since that should be done by
  10344. the distro package. Causes problems for stuff like SELinux
  10345. 2006-02-02 Robert Love <rml@novell.com>
  10346. Patch by Sureshkumar T <tsureshkumar@novell.com>:
  10347. * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
  10348. Check for and handle empty string for iface.
  10349. 2006-02-01 Robert Love <rml@novell.com>
  10350. * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
  10351. manpage.
  10352. 2006-01-31 Dan Williams <dcbw@redhat.com>
  10353. * nm-applet.desktop
  10354. - Add --sm-disable to Exec arguments, presuming that when
  10355. using autostart, we don't want session management
  10356. 2006-01-31 Robert Love <rml@novell.com>
  10357. * src/NetworkManagerAP.c: Add two new manufacturer default network
  10358. names: linksys-a and linksys-g. These are found (at least) on the
  10359. Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
  10360. own ESSID.
  10361. 2006-01-31 Robert Love <rml@novell.com>
  10362. * src/NetworkManagerAP.c: Optimize the function
  10363. nm_ap_has_manufacturer_default_essid(). I did not like its resulting
  10364. machine code. This is the first in a series of code tweaks aiming to
  10365. generate better machine code and make NetworkManager all the better.
  10366. Just kidding. Who has time to go through the assembly generated for
  10367. every function? I certainly don't. I have a wife, a kid, a job,
  10368. a mortgage, a mistress. But this function was so bad, I was called
  10369. to arms. Like the book.
  10370. 2006-01-31 Robert Love <rml@novell.com>
  10371. * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
  10372. AP is not broadcasting, to scan with probe request frames. Required
  10373. for non-broadcast networks.
  10374. 2006-01-31 Robert Love <rml@novell.com>
  10375. * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
  10376. preprocessor define (still 20s). Fix message text in nm_info()
  10377. s/too too/took too/.
  10378. 2006-01-30 Dan Williams <dcbw@redhat.com>
  10379. * src/nm-device-802-11-wireless.c
  10380. - (supplicant_monitor_start): increase connect/auth timeout to
  10381. 20 seconds from 10 seconds
  10382. 2006-01-30 Dan Williams <dcbw@redhat.com>
  10383. * src/Makefile.am
  10384. - Define LOCALSTATEDIR
  10385. * src/nm-device-802-11-wireless.c
  10386. - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
  10387. socket where we want it to
  10388. * src/wpa_ctrl.[ch]
  10389. - (wpa_ctrl_open): accept location to put local control socket
  10390. 2006-01-30 Robert Love <rml@novell.com>
  10391. * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
  10392. get_ip4_string() for "domain_name".
  10393. 2006-01-30 Robert Love <rml@novell.com>
  10394. * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
  10395. gnome/applet/wireless-security-option.c, include/NetworkManager.h,
  10396. libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
  10397. libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
  10398. support for "Automatic" pairwise and group cipher configuration by
  10399. letting wpa_supplicant handle the details. Add UI elements, new
  10400. cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
  10401. charm. Note this does more than add a nice feature, it fixes a bug.
  10402. Apparently, some people have AP's where the pairwise cipher does not
  10403. match the group cipher. Insane, but true.
  10404. 2006-01-30 Dan Williams <dcbw@redhat.com>
  10405. * gnome/applet/applet-dbus-devices.c
  10406. - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
  10407. functions, grab device driver name from NetworkManager
  10408. - (nmwa_dbus_device_properties_cb): call functions to get driver
  10409. * gnome/applet/applet.c
  10410. - (nmwa_update_info): show driver name in Connection Information
  10411. dialog
  10412. * gnome/applet/nm-device.[ch]
  10413. - (network_device_get_driver, network_device_set_driver): add
  10414. accessors for driver name
  10415. * gnome/applet/wireless-applet.glade
  10416. - Add line for driver name to Connection Information dialog
  10417. * src/nm-dbus-device.c
  10418. - (nm_dbus_device_get_driver): new function to return driver name
  10419. - (nm_dbus_device_methods): hook up driver name function to dbus
  10420. * test/nm-tool.c
  10421. - (get_driver_name): new function
  10422. - (detail_device): grab and show driver name
  10423. 2006-01-30 Robert Love <rml@novell.com>
  10424. * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
  10425. does not parse the markup if it is not part of the format.
  10426. 2006-01-30 Robert Love <rml@novell.com>
  10427. * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
  10428. FALSE, we have no security options for this dialog, so we throw up
  10429. an error dialog instead of a broken passphrase dialog. Fixes
  10430. Novell #138404.
  10431. * gnome/applet/wireless-security-manager.c,
  10432. gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
  10433. does not add any security options, not even NONE, print a warning
  10434. and return FALSE. This let's functions constructing a dialog bail
  10435. out if the device's capabilities and the network's requirements have
  10436. zero overlap.
  10437. 2006-01-27 Robert Love <rml@novell.com>
  10438. * configure.in: Require wpa_supplicant. Detect location of binary and
  10439. use it. Override with "--with-wpa_supplicant=foo".
  10440. * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
  10441. path to wpa_supplicant but use the auto-detected or user-provided
  10442. value from configure.
  10443. 2006-01-27 Robert Love <rml@novell.com>
  10444. * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
  10445. but the DHCP server did not return a hostname, try to look up our
  10446. name via DNS and set the system hostname to that.
  10447. 2006-01-27 Dan Williams <dcbw@redhat.com>
  10448. * src/backends/NetworkManagerRedHat.c
  10449. - Add NM_CONTROLLED system network script support for RH/Fedora
  10450. 2006-01-27 Dan Williams <dcbw@redhat.com>
  10451. * src/backends/NetworkManagerGentoo.c
  10452. - (nm_system_device_get_disabled): add missing function.
  10453. Gnome BZ #328780
  10454. 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
  10455. * configure.in: Added vi in ALL_LINGUAS line.
  10456. 2006-01-26 Robert Love <rml@novell.com>
  10457. * src/Makefile.am, src/kernel-types.h: Now that two different source
  10458. files are feeling the crack-addled leakage of kernel types such as
  10459. u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
  10460. types in user-space -- define a header and include it as needed.
  10461. * src/nm-device-802-3-ethernet.c: Include kernel-types.h
  10462. * src/nm-device-802-3-ethernet.h: Remove defines.
  10463. * src/wpa.c: Remove defines and include kernel-types.h.
  10464. 2006-01-26 Robert Love <rml@novell.com>
  10465. * TODO: Update. WPA support is in the bag and HAL restarts (should)
  10466. work.
  10467. 2006-01-26 Robert Love <rml@novell.com>
  10468. * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
  10469. * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
  10470. gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
  10471. gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
  10472. gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
  10473. gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
  10474. gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
  10475. gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
  10476. gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
  10477. gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
  10478. gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
  10479. gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
  10480. libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
  10481. src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
  10482. src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
  10483. src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
  10484. Kill unused variables, labels, and static functions. Don't pass
  10485. string literals as the format string for printf-like functions.
  10486. 2006-01-25 Dan Williams <dcbw@redhat.com>
  10487. * gnome/applet/wireless-applet.glade
  10488. - Remove WPA2 Checkbox
  10489. * gnome/applet/wireless-security-manager.c
  10490. - (wsm_set_capabilities): split up sections for wpa and wpa2.
  10491. This means the Wireless Security menu now has two WPA options,
  10492. one for "WPA Personal" and one for "WPA2 Personal"
  10493. * gnome/applet/wso-wpa-psk.[ch]
  10494. - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
  10495. 'wpa2' argument to determine WPA version to use
  10496. - (append_dbus_params_func): pass stored WPA version to cipher
  10497. rather than using the (removed) checkbox
  10498. 2006-01-24 Robert Love <rml@novell.com>
  10499. * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
  10500. before we g_strdup(), not the ultimate string.
  10501. 2006-01-23 Dan Williams <dcbw@redhat.com>
  10502. * src/NetworkManagerAP.[ch]
  10503. - (nm_ap_new_from_ap): copy original essid too
  10504. - (nm_ap_unref): free original essid
  10505. - (nm_ap_get_orig_essid): new function
  10506. - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
  10507. but keep original essid around too
  10508. * src/nm-device-802-11-wireless.c
  10509. - (supplicant_send_network_config): send wpa_supplicant the
  10510. _original_ essid, and not as a string, but in hex. Should
  10511. allow us to connect to more APs that use wierd character
  10512. encodings for their essids
  10513. * utils/nm-utils.[ch]
  10514. - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
  10515. to UTF-8. If it's not already valid UTF-8, we check LANG and
  10516. use the current locale as a hint for what encoding the essid
  10517. might be in. Obviously not 100% accurate, but the idea here is
  10518. that if a user's locale is ex. ja_JP, they are more likely than
  10519. not to be in Japan, where access points will likely be in some
  10520. Japanese encoding.
  10521. 2006-01-23 Dan Williams <dcbw@redhat.com>
  10522. * libnm-util/cipher-private.h
  10523. libnm-util/cipher.c
  10524. libnm-util/cipher.h
  10525. - (cipher_bin2hexstr, cipher_hexstr2bin): make public
  10526. 2006-01-23 Robert Love <rml@novell.com>
  10527. Patch by Timo Hoenig <thoenig@suse.de>:
  10528. * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
  10529. nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
  10530. by DHCP and pass it to the backends, allowing distribution-specific
  10531. behavior with respect to the DHCP-supplied hostname (if nothing else,
  10532. some distributions might not want to set the hostname).
  10533. * backends/NetworkManagerSuSE.c: Set the hostname if the variable
  10534. DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
  10535. Also update our NIS behavior.
  10536. * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
  10537. backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
  10538. Add stub functions.
  10539. 2006-01-23 Robert Love <rml@novell.com>
  10540. * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
  10541. gnome-session does autostart. TODO: We need to install this to
  10542. $prefix/share/autostart/.
  10543. 2006-01-22 Dan Williams <dcbw@redhat.com>
  10544. * src/NetworkManagerAP.[ch]
  10545. src/nm-dbus-nmi.c
  10546. src/nm-device-802-11-wireless.c
  10547. - Make nm_ap_get_essid return "const char *"
  10548. 2006-01-22 Dan Williams <dcbw@redhat.com>
  10549. * src/NetworkManagerAP.[ch]
  10550. - (nm_ap_get_matched, nm_ap_set_matched): remove
  10551. * src/NetworkManagerAPList.[ch]
  10552. - (nm_ap_list_diff): removed
  10553. - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
  10554. deal with access points changing essids on us
  10555. * src/nm-device-802-11-wireless.c
  10556. - (add_new_ap_to_device_list): move AP dbus signal logic to
  10557. src/NetworkManagerAPList.c
  10558. - (real_can_interrupt_activation): new function; allow interruption
  10559. of device activation if we are waiting for a network key
  10560. * src/NetworkManagerPolicy.c
  10561. - (nm_policy_device_change_check): allow interruption of currently
  10562. activating devices if the device allows it. Previous behavior
  10563. would refuse to activate a just-plugged wired device if a
  10564. wireless device was waiting for a key.
  10565. * src/nm-device.[ch]
  10566. - (nm_device_can_interrupt_activation): new function; ask devices
  10567. whether their activation can be interrupted
  10568. 2006-01-20 Robert Love <rml@novell.com>
  10569. * Makefile.am, configure.in: Add new man subdirectory.
  10570. * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
  10571. man/Makefile.am: Add man pages for NetworkManager and its
  10572. crime-solving bumbling buddy, NetworkManagerDispatcher.
  10573. * man/.cvsignore: Add.
  10574. * initscript/Debian/NetworkManager,
  10575. initscript/Gentoo/NetworkManager.in,
  10576. initscript/RedHat/NetworkManager.in,
  10577. initscript/RedHat/NetworkManagerDispatcher.in,
  10578. initscript/SUSE/networkmanager-dispatcher.in,
  10579. initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
  10580. 2006-01-20 Robert Love <rml@novell.com>
  10581. * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
  10582. instead of queuing. This prevents the running of multiple NM
  10583. daemons concurrently, which does not work whatsoever and results in
  10584. neither daemon working correctly. Also, we don't handle queuing and
  10585. name-owner-changes, anyhow.
  10586. 2006-01-20 Robert Love <rml@novell.com>
  10587. * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
  10588. * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
  10589. to sbin, not bin.
  10590. 2006-01-19 Robert Love <rml@novell.com>
  10591. * configure.in: Require hal 0.5.0 or later.
  10592. 2006-01-18 Robert Love <rml@novell.com>
  10593. * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
  10594. Allow backends to flag a device (in whatever distro-dependent way
  10595. they so desire) as disabled. NM will ignore any such device.
  10596. * src/backends/NetworkManagerDebian.c,
  10597. src/backends/NetworkManagerRedHat.c,
  10598. src/backends/NetworkManagerSlackware.c: Add stub function
  10599. nm_system_device_get_disabled() that always returns FALSE (enabled).
  10600. * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
  10601. SUSE-specific configuration structure. Fill it in from the
  10602. NM_CONTROLLED variable in the system networking scripts. If this var
  10603. exists and is "no", we ignore the device.
  10604. 2006-01-17 Robert Love <rml@novell.com>
  10605. * configure.in: Remove 'no' language. Replaced by 'nb', which is
  10606. identical for NM. For a full discussion, see the thread at
  10607. http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
  10608. 2006-01-17 Dan Williams <dcbw@redhat.com>
  10609. * src/nm-device.c
  10610. - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
  10611. function. Fixes crash when wired DHCP fails.
  10612. 2006-01-16 Robert Love <rml@novell.com>
  10613. * src/Makefile.am: Don't install NMLoadModules
  10614. * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
  10615. from src/ to test/ as no one uses it anymore. Note that I would be
  10616. fine with removing it altogether.
  10617. 2006-01-16 Robert Love <rml@novell.com>
  10618. * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
  10619. gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
  10620. gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
  10621. gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
  10622. src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
  10623. src/nm-netlink-monitor.c: Don't miss any initializers on structure
  10624. declarations, ever.
  10625. * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
  10626. NM_STATE_DISCONNECTED is zero).
  10627. 2006-01-16 Robert Love <rml@novell.com>
  10628. * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
  10629. uninitialized parameter and buffer overflow. Novell #143496.
  10630. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10631. Apply the PtP Address bits of a patch from Tim Niemueller
  10632. * src/nm-ip4-config.[ch]
  10633. - Add ip4_ptp_address member to object
  10634. - (nm_ip4_config_copy): copy ptp address too
  10635. - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
  10636. new functions
  10637. - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
  10638. rather than local tunnel ip address
  10639. * src/vpn-manager/nm-vpn-service.c
  10640. - (print_vpn_config): update for PtP address
  10641. - (nm_vpn_service_stage4_ip_config_get): switch parsing to
  10642. DBusMessageIters in preparation for getting routes from the VPN
  10643. service daemons too
  10644. * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
  10645. - (send_config_info): update for PtP address, clean up code
  10646. - (main): update for PtP address, clean up code, fix typo
  10647. * vpn-daemons/openvpn/src/nm-openvpn-service.c
  10648. - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
  10649. * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
  10650. - (pptp_ip_up): update for PtP address
  10651. * vpn-daemons/pptp/src/nm-pptp-service.c
  10652. - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
  10653. * vpn-daemons/vpnc/src/nm-vpnc-service.c
  10654. - (print_vpn_config): update for PtP address
  10655. - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
  10656. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10657. * gnome/applet/applet.c
  10658. - (nmwa_add_networks_helper): don't indicate an active network
  10659. if NM is disconnected or asleep
  10660. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10661. * src/NetworkManagerPolicy.c
  10662. - (nm_policy_device_change_check): switch devices if we lose the link
  10663. on an ethernet device.
  10664. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10665. * gnome/applet/wso-wpa-psk-hex.[ch]
  10666. - Renamed -> wso-wpa-psk.[ch]
  10667. * gnome/applet/wso-wpa-psk.[ch]
  10668. - New files
  10669. * gnome/applet/wso-wpa-psk-passphrase.[ch]
  10670. - Removed, rolled into wso-wpa-psk.[ch]
  10671. * gnome/applet/Makefile.am
  10672. - Updated for above changes
  10673. * gnome/applet/wireless-applet.glade
  10674. - Consolidate WPA-PSK options into one notebook
  10675. widget, and make dialogs invisible by default
  10676. to fix screen oddities
  10677. * gnome/applet/wireless-security-manager.c
  10678. - (wsm_set_capabilities): create the new wpa-psk widget rather
  10679. than both the old hex & passphrase ones
  10680. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10681. * gnome/applet/other-network-dialog.c
  10682. - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
  10683. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10684. * gnome/applet/applet.c
  10685. - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
  10686. nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
  10687. prevention to realize window before trying to get server
  10688. time
  10689. * gnome/applet/other-network-dialog.c
  10690. - (nmwa_other_network_dialog_run): fix up focus-stealing
  10691. prevention to realize window before trying to get server
  10692. time
  10693. * gnome/applet/passphrase-dialog.c
  10694. - (nmi_passphrase_dialog_new): fix up focus-stealing
  10695. prevention to realize window before trying to get server
  10696. time
  10697. 2006-01-16 Robert Love <rml@novell.com>
  10698. Patch from Timo Hoenig <thoenig@suse.de:
  10699. * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
  10700. libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
  10701. libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
  10702. libnm-util/dbus-helpers.h: add checks whether headers are used
  10703. within a C++ build.
  10704. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10705. * gnome/applet/wireless-security-option.c
  10706. - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
  10707. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10708. * libnm-util/cipher-wpa-psk-passphrase.c
  10709. - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
  10710. be 8 - 63 characters inclusive
  10711. 2006-01-16 Dan Williams <dcbw@redhat.com>
  10712. * src/nm-dbus-nm.c
  10713. - (nm_dbus_nm_sleep): bring device down after quick deactivation
  10714. 2006-01-13 Robert Love <rml@novell.com>
  10715. Patch by T Sureshkumar <tsureshkuman@novell.com>:
  10716. * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
  10717. modules that do not use an interface.
  10718. 2006-01-13 Dan Williams <dcbw@redhat.com>
  10719. * src/nm-device.c
  10720. src/nm-device.h
  10721. - Allow subclasses to implement deactivate_quickly()
  10722. - (nm_device_deactivate_quickly): call subclass
  10723. deactivate_quickly() methods
  10724. - (nm_device_set_active_link): small cleanups, and don't
  10725. deactivate the device right away because we risk a deadlock
  10726. when called from device thread, waiting for the device
  10727. thread to cancel activation
  10728. * src/nm-device-802-11-wireless.c
  10729. - (real_deactivate_quickly): new function
  10730. - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
  10731. - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
  10732. so that we kill the supplicant when we sleep too
  10733. - (supplicant_interface_init): work around naive naming attempts of
  10734. wpa_ctrl when naming sockets
  10735. 2006-01-13 Dan Williams <dcbw@redhat.com>
  10736. * src/nm-device-802-11-wireless.c
  10737. - (supplicant_cleanup): delete old device control sockets too
  10738. - (supplicant_get_device_socket_path): new function to consolidate
  10739. locations that need a path to a device's control socket
  10740. 2006-01-12 Robert Love <rml@novell.com>
  10741. * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
  10742. description so that the description is unique for each
  10743. pair (device,provider). Fixes Novell #142773.
  10744. 2006-01-12 Dan Williams <dcbw@redhat.com>
  10745. * src/nm-device-802-11-wireless.c
  10746. - (supplicant_exec): ensure GError is correctly initialized
  10747. Reported by Diego González (gnome.org #326708)
  10748. 2006-01-11 Robert Love <rml@novell.com>
  10749. * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
  10750. define if_mii(), open code the same results, and do so without any
  10751. type punning.
  10752. 2006-01-11 Robert Love <rml@novell.com>
  10753. * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
  10754. that wso_foo_new() returned non-NULL. Instead, only append the new
  10755. wso to wsm->options if the wso is non-NULL. The crux is that we
  10756. assume that the relevant key types are implied by WEP and WPA as
  10757. appropriate. To be sure, they should be, but we should not expect
  10758. drivers to not be oozing piles of wolf fecal matter.
  10759. 2006-01-11 Robert Love <rml@novell.com>
  10760. * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
  10761. * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
  10762. src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
  10763. src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
  10764. src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
  10765. src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
  10766. test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
  10767. * src/nm-device-802-11-wireless.c: Fix floating point comparison by
  10768. comparing values within DBL_EPSILON. Also fix shadowed variable
  10769. usage.
  10770. 2006-01-11 Dan Williams <dcbw@redhat.com>
  10771. Add options for WPA2 and WPA1+CCMP (AES).
  10772. * gnome/applet/wireless-applet.glade
  10773. - Add UI bits for WPA+CCMP
  10774. * gnome/applet/other-network-dialog.c
  10775. - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
  10776. and don't allow creation of WPA2 Ad-Hoc networks since
  10777. wpa_supplicant doesn't support them
  10778. * gnome/applet/wireless-security-manager.c
  10779. - (wsm_set_capabilities): Add WPA2 options, and pass capability
  10780. on to the specific wireless security option being created
  10781. * gnome/applet/wireless-security-option.[ch]
  10782. - (wso_wpa_create_key_type_model): new utility function to create
  10783. the model required for WPA Key Type combo box
  10784. * gnome/applet/wso-private.h
  10785. gnome/applet/wireless-security-option.h
  10786. - Move private function prototypes into wso-private.h
  10787. * gnome/applet/wso-wpa-psk-hex.[ch]
  10788. gnome/applet/wso-wpa-psk-passphrase.[ch]
  10789. - (append_dbus_params_func): get WPA version from checkbox and pass
  10790. it to the dbus serialization helper
  10791. - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
  10792. key type combo changes
  10793. - (wso_wpa_psk_hex_new): set up the key type combo with the correct
  10794. model and options
  10795. * libnm-util/cipher-wpa-psk-hex.c
  10796. libnm-util/cipher-wpa-psk-passphrase.c
  10797. - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
  10798. new function; allow the cipher to be changed after object creation
  10799. * src/nm-ap-security-wpa-psk.c
  10800. - (set_description): Do WPA2 descriptions too
  10801. * src/nm-ap-security.c
  10802. - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
  10803. 2006-01-11 Robert Love <rml@novell.com>
  10804. * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
  10805. is defined in <linux/mii.h> to return the mii_ioctl_data structure
  10806. from the ifreq structure in lieu of an open coded solution. Removes
  10807. a life-threatening type-punning.
  10808. * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
  10809. types, ever, whatsoever, baby.
  10810. 2006-01-11 Robert Love <rml@novell.com>
  10811. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
  10812. gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
  10813. assignments to applet->nm_state into a new nmwa_set_state() function
  10814. for both cleanliness and to help debugging.
  10815. 2006-01-10 Robert Love <rml@novell.com>
  10816. * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
  10817. assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
  10818. seconds, exclusive. That is, we want to sleep x seconds such that
  10819. 1 < x < 2.
  10820. 2006-01-10 Robert Love <rml@novell.com>
  10821. * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
  10822. the attr fields according to the example in the email available at
  10823. mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
  10824. Conversely, we do have to free 'name', so we do so, fixing a leak.
  10825. 2006-01-10 Robert Love <rml@novell.com>
  10826. * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
  10827. sure that we close the socket!
  10828. 2006-01-10 Robert Love <rml@novell.com>
  10829. * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
  10830. src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
  10831. src/nm-device.c: Fix a FIXME! Reimplement the function
  10832. nm_device_update_hw_address() in device subclass variants,
  10833. nm_device_802_3_ethernet_set_address() and
  10834. nm_device_802_11_wireless_set_address(), hook them up, and use them.
  10835. This fixes the existing bug where MAC addresses are all zeros.
  10836. 2006-01-10 Robert Love <rml@novell.com>
  10837. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
  10838. gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
  10839. option to give users ability to globally disconnect and put NM to
  10840. sleep. This is useful as a 'lockdown mode' for flying, security, and
  10841. clean disconnect.
  10842. 2006-01-09 Robert Love <rml@novell.com>
  10843. * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
  10844. <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
  10845. User-space does not supply these types, so we have to define them
  10846. ourselves. The relevant kernel maintainer refused to accept a patch
  10847. switching these headers to the proper C99 types.
  10848. 2006-01-09 Dan Williams <dcbw@redhat.com>
  10849. Apply Robert's 'tray icon redo' patch with fixes
  10850. * gnome/applet/applet.c
  10851. gnome/applet/applet.h
  10852. - Instead of using a menu bar + menu item, simulate menu
  10853. behavior using a popup menu. Highlight the area around
  10854. the icon more like a menu too, by playing with the
  10855. applet's size requisition
  10856. 2006-01-09 Timo Hoenig <thoenig@suse.de>
  10857. * libnm-util/dbus-helpers.c
  10858. libnm-util/dbus-helpers.h
  10859. - (nmu_create_dbus_error_message): rename parameter 'namespace'
  10860. to 'exception_namespace' (:namespace is a keyword in
  10861. C++)
  10862. 2006-01-09 Dan Williams <dcbw@redhat.com>
  10863. * src/NetworkManagerPolicy.c
  10864. - (nm_policy_device_change_check): don't autoswitch away from
  10865. Ad-Hoc networks, since there's really no concept of
  10866. "link"
  10867. * src/nm-dbus-nm.c
  10868. - (nm_dbus_nm_create_wireless_network): mark created networks
  10869. as Ad-Hoc networks
  10870. * src/nm-device-802-11-wireless.c
  10871. - (real_activation_success_handler): add user-created Ad-Hoc
  10872. networks to the device's scan list
  10873. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10874. We now require a patch for wpa_supplicant to support Ad-Hoc
  10875. networks:
  10876. http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
  10877. * src/nm-device-802-11-wireless.c
  10878. - (supplicant_send_network_config): turn off wpa_supplicant's
  10879. scanning. Fixes Ad-Hoc networks.
  10880. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10881. * src/nm-ap-security.c
  10882. src/nm-ap-security.h
  10883. - Add a user_created argument to the write_supplicant_config
  10884. functions
  10885. * src/nm-ap-security-wep.c
  10886. src/nm-ap-security-wpa-psk.c
  10887. src/nm-device-802-11-wireless.c
  10888. - Make Ad-Hoc mode somewhat work, at least write the
  10889. correct options to wpa_supplicant
  10890. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10891. * src/nm-device-802-11-wireless.c
  10892. - Remove unused code from the old device activation path
  10893. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10894. * libnm-util/dbus-helpers.c
  10895. - (nmu_security_serialize_wpa_psk): pass a blank key through
  10896. dbus when key == NULL
  10897. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10898. * gnome/applet/nm-gconf-wso-wpa-psk.c
  10899. - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
  10900. correct arguments to nmu_security_deserialize_wpa_psk()
  10901. * src/nm-ap-security-wpa-psk.c
  10902. - (nm_ap_security_wpa_psk_new_deserialize): feed correct
  10903. arguments to nmu_security_deserialize_wpa_psk()
  10904. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10905. * gnome/applet/wso-wpa-psk-hex.c
  10906. gnome/applet/wso-wpa-psk-passphrase.c
  10907. - Hook up the append_dbus_params_func() function
  10908. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10909. * src/nm-device-802-11-wireless.c
  10910. - (get_wireless_capabilities): correctly detect driver WPA
  10911. capabilities
  10912. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10913. * gnome/applet/Makefile.am
  10914. gnome/applet/wso-wpa-psk-hex.c
  10915. gnome/applet/wso-wpa-psk-hex.h
  10916. - New files, implement WPA-PSK Hex key input
  10917. * gnome/applet/wireless-applet.glade
  10918. - Change existing wpa-psk stuff to wpa-psk-hex
  10919. - Add new widgets for wpa-psk-passphrase
  10920. * gnome/applet/wireless-security-manager.c
  10921. - (wsm_set_capabilities): enable WPA options
  10922. * gnome/applet/wso-wpa-psk-passphrase.c
  10923. - (wso_wpa_psk_passphrase_new): use correct glade widgets
  10924. for WPA-PSK passphrase
  10925. 2006-01-08 Dan Williams <dcbw@redhat.com>
  10926. * include/NetworkManager.h
  10927. - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
  10928. applet/info-daemons
  10929. * gnome/applet/passphrase-dialog.c
  10930. - Use the constant. Fixes a bug where the arguments to
  10931. dbus_message_new_error() were incorrect
  10932. * src/nm-dbus-nmi.c
  10933. - Use the constant
  10934. 2006-01-07 Dan Williams <dcbw@redhat.com>
  10935. * src/nm-device-802-11-wireless.c
  10936. - Add a link timeout so we allow the supplicant time to
  10937. reassociate if it can, before we deactivate the card
  10938. - Fix up link status and link updating so things work better
  10939. 2006-01-07 Dan Williams <dcbw@redhat.com>
  10940. * src/nm-device-802-11-wireless.c
  10941. - Switch over to using wpa_supplicant
  10942. - Add a timeout of 10s for association of the supplicant
  10943. - Start the monitor callback of the supplicant
  10944. 2006-01-07 Dan Williams <dcbw@redhat.com>
  10945. * src/NetworkManagerUtils.c
  10946. - (nm_utils_supplicant_request,
  10947. nm_utils_supplicant_request_with_check):
  10948. pass correct buffer length to wpa_ctrl_request()
  10949. 2006-01-07 Dan Williams <dcbw@redhat.com>
  10950. * src/nm-device-private.h
  10951. src/nm-device.c
  10952. - (nm_device_activate_schedule_stage3_ip_config_start): make
  10953. this function available to subclasses
  10954. 2006-01-06 Robert Love <rml@novell.com>
  10955. * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
  10956. user plugging in a network cable signals their preference for to
  10957. switch, unless the user explicitly selected a wireless network and
  10958. therefore signaled their preference for said wireless network over
  10959. wired. In other words, do exactly what makes sense.
  10960. 2006-01-06 Robert Love <rml@novell.com>
  10961. * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
  10962. src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
  10963. src/NetworkManagerWireless.h: Remove, no longer used and they keep
  10964. showing up in my greps.
  10965. 2006-01-06 Robert Love <rml@novell.com>
  10966. * gnome/applet/applet-dbus-devices.c,
  10967. gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
  10968. libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
  10969. src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
  10970. New Network' both failed in the non-encrypted case because we were
  10971. not appending the security options to the DBUS message. And
  10972. 'Connect to Other' was also failing in the encrypted case because
  10973. we were not incrementing to the next DBUS parameter. All fixed.
  10974. Thanks to dcdw for some debugging help.
  10975. 2006-01-06 Robert Love <rml@novell.com>
  10976. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
  10977. gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
  10978. hangup code and add per-device hangup. Tie last commit into the
  10979. GNOME applet. TODO: Save, understand, and respond to the state of
  10980. each dialup device.
  10981. 2006-01-06 Robert Love <rml@novell.com>
  10982. Patch by Timo Hoenig <thoenig@suse.de>:
  10983. * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
  10984. hangup specific dialup devices.
  10985. * src/backends/NetworkManagerDebian.c,
  10986. src/backends/NetworkManagerGentoo.c,
  10987. src/backends/NetworkManagerRedHat.c,
  10988. src/backends/NetworkManagerSlackware.c: Add stub backend.
  10989. * src/backends/NetworkManagerRedHat.c,
  10990. src/backends/NetworkManagerSuSE.c: Add specific backend interface to
  10991. hangup specific dialup devices.
  10992. 2006-01-04 Robert Love <rml@novell.com>
  10993. * gnome/applet/applet-dbus-devices.c,
  10994. gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
  10995. src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
  10996. connections.
  10997. 2006-01-04 Dan Williams <dcbw@redhat.com>
  10998. First dump of wpa_supplicant-related code. It's not hooked up to
  10999. anything yet though. Thanks to Kay Sievers for
  11000. wpa_supplicant_wrapper.c, which formed the basis for this work,
  11001. and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
  11002. * src/Makefile.am
  11003. src/wpa_ctrl.[ch]
  11004. - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
  11005. * src/NetworkManagerUtils.[ch]
  11006. - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
  11007. Add convenience functions for talking to wpa_supplicant
  11008. * src/nm-ap-security.[ch]
  11009. src/nm-ap-security-wep.c
  11010. src/nm-ap-security-wpa-psk.[ch]
  11011. - Update and implement real_write_supplicant_config functions
  11012. in all security types
  11013. - (nm_ap_security_wpa_psk_new_from_ap): implement in
  11014. nm-ap-security-wpa-psk.c
  11015. * src/nm-device-802-11-wireless.c
  11016. - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
  11017. wpa_supplicant_start, wpa_supplicant_interface_init,
  11018. wpa_supplicant_send_network_config): add functions to talk to
  11019. wpa_supplicant and write network config to it
  11020. 2006-01-04 Robert Love <rml@novell.com>
  11021. * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
  11022. values so that distribution-backends can differentiate between the
  11023. various types (modem, ISDN, et cetera) of dialup device that they
  11024. support.
  11025. * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
  11026. needed.
  11027. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11028. * src/NetworkManagerPolicy.c
  11029. src/nm-device.[ch]
  11030. src/nm-device-802-11-wireless.c
  11031. - Move wireless-specific activation failure and success code
  11032. into wireless device class
  11033. 2006-01-03 Robert Love <rml@novell.com>
  11034. Patch by Preggna S:
  11035. * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
  11036. IPsec does not require that a VPN client be bound to an interface,
  11037. due to the use of the in-kernel IPSec bits. So make the tunnel
  11038. device optional.
  11039. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11040. * src/NetworkManagerAP.c
  11041. - (nm_ap_add_capabilities_from_ie): presume no WEP unless
  11042. the WPA IE specifies that WEP is supported
  11043. * src/nm-device-802-11-wireless.c
  11044. - (process_scan_results): don't mark an AP as supporting WEP
  11045. if there's already other encryption capability info
  11046. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11047. * src/dhcp-manager/nm-dhcp-manager.c
  11048. - Recognize activation cancellation when waiting for DHCP
  11049. configuration from dhcdbd
  11050. - Ignore non-dhcdbd messages
  11051. * src/nm-device.c
  11052. - (real_act_stage3_ip_config_start): return to correct behavior
  11053. of letting the dhcp-manager notify us of failure or
  11054. success rather than incorrectly doing that ourselves
  11055. - (nm_device_activate_stage4_ip_config_get): deal with
  11056. activation cancellation a bit earlier
  11057. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11058. * src/nm-device-802-11-wireless.c
  11059. src/nm-device.[ch]
  11060. - Add hooks to subclasses for stage3_ip_config_start and
  11061. stage4_ip_config_timeout
  11062. * src/nm-device-802-3-ethernet.c
  11063. - (real_get_generic_capabilities): make devices NM-supported
  11064. by default
  11065. 2006-01-03 Robert Love <rml@novell.com>
  11066. * src/backends/NetworkManagerSuSE.c: update to newer API (no more
  11067. nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
  11068. latter cannot differentiate between error and the address -1; misc.
  11069. clean up.
  11070. 2006-01-03 Dan Williams <dcbw@redhat.com>
  11071. * src/NetworkManager.c
  11072. - Move link-checking/probing into the device subclasses
  11073. themselves
  11074. * src/nm-device.[ch]
  11075. src/nm-device-802-11-wireless.c
  11076. src/nm-device-802-3-ethernet.c
  11077. - Do periodic link checking in device subclasses rather
  11078. than being triggered from NetworkManager.c
  11079. - discover_wireless_capabilities -> get_wireless_capabilities
  11080. - discover_generic_capabilities -> get_generic_capabilities
  11081. - Device subclass activation routines now return a value of type
  11082. NMActStageReturn to indicate what step to perform next
  11083. - Devices now override stage4_get_ip4_config if they choose
  11084. 2006-01-01 Dan Williams <dcbw@redhat.com>
  11085. * src/nm-device-802-11-wireless.c
  11086. - (real_init): don't chain up to parent init because we don't
  11087. need to do that anymore
  11088. * src/nm-device.c
  11089. - (discover_device_type): fix arguments to ioctl() to correctly
  11090. pass interface name
  11091. - (nm_device_new): consolidate generic device initialization into
  11092. nm_device_new()
  11093. - (real_init): remove, consolidated to nm_device_new()
  11094. - (nm_device_deactivate, real_deactivate): consolidate
  11095. 2006-01-01 Dan Williams <dcbw@redhat.com>
  11096. * src/nm-activation-request.c
  11097. - Change dhcp_state member of the NMActRequest structure
  11098. from guint8 to guint32
  11099. * src/dhcp-manager/nm-dhcp-manager.[ch]
  11100. - (nm_dhcp_manager_get_state_for_device): return guint32 rather
  11101. than guint8 to match the dbus argument. Turns out we were
  11102. overwriting memory since we were passing in only a guint8
  11103. 2005-12-31 Dan Williams <dcbw@redhat.com>
  11104. * refactor NMDevice into a GObject-based framework with separate
  11105. objects for wired and wireless. The following files are no
  11106. longer used but should stick around for a bit so we don't
  11107. loose code through the cracks:
  11108. NetworkManagerDevice.c
  11109. NetworkManagerDevice.h
  11110. NetworkManagerWireless.c
  11111. NetworkManagerWireless.h
  11112. The intent here is to allow each device type to manage its own
  11113. connection & activation life-cycle, ie to allow wireless devices
  11114. to interface with wpa_supplicant, etc. There's a fair bit of
  11115. encapsulation breakage right now that should gradually get pulled
  11116. back into each device, along with things like periodic property
  11117. updates and link probing.
  11118. 2005-12-29 Dan Williams <dcbw@redhat.com>
  11119. * include/NetworkManager.h
  11120. - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
  11121. between networks that don't have any encryption at all
  11122. 2005-12-29 Dan Williams <dcbw@redhat.com>
  11123. * test/test-common.c
  11124. test/test-common.h
  11125. test/Makefile.am
  11126. - Move to a test-common subdirectory
  11127. * test/libnm-util/test-ciphers.c
  11128. - Move test data to test-inputs.h
  11129. - Test WPA ciphers too
  11130. * test/libnm-util/test-dbus-helpers.c
  11131. - Test serialization/deserialization of ciphers
  11132. 2005-12-29 Dan Williams <dcbw@redhat.com>
  11133. * gnome/applet/applet-dbus-devices.c
  11134. - Replace 'enc' parameter with 'capabilities' for wireless networks
  11135. in dbus calls to NM
  11136. - Set capabilities on WirelessNetwork objects
  11137. - Receive and save type-specific device capabilities too
  11138. * gnome/applet/applet-dbus-info.c
  11139. gnome/applet/applet-dbus.c
  11140. - Passphrase dialog no longer a singleton; new instance gets created
  11141. on each request. Updates to deal with that.
  11142. * gnome/applet/applet.c
  11143. - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
  11144. than single 'encrypted' flag
  11145. - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
  11146. menu items
  11147. - Passphrase dialog updates per above
  11148. * gnome/applet/menu-items.c
  11149. - (network_menu_item_update): use AP capabilities to determine
  11150. encryption
  11151. * gnome/applet/nm-device.[ch]
  11152. - Add accessors for type-specific device capabilities
  11153. * gnome/applet/other-network-dialog.c
  11154. - Rework to respect device capabilities. i.e., if the device doesn't
  11155. support WPA, remove that option from the security dropdown
  11156. * gnome/applet/passphrase-dialog.c
  11157. - Massive rework so that a new instance is created each time
  11158. it's used, to support wireless network capabilities
  11159. * gnome/applet/wireless-network.[ch]
  11160. - Add accessors and members for wireless network capabilities
  11161. * gnome/applet/wireless-security-manager.[ch]
  11162. - (wsm_set_capabilities): called after creation to set which
  11163. security options get shown to the user
  11164. 2005-12-29 Dan Williams <dcbw@redhat.com>
  11165. * libnm-util/cipher-wpa-psk-passphrase.c
  11166. - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
  11167. like other ciphers
  11168. 2005-12-23 Dan Williams <dcbw@redhat.com>
  11169. * gnome/applet/applet-dbus-info.c
  11170. - (nmi_dbus_get_key_for_network): if there's no entry in
  11171. GConf for a network, assume we want a new key
  11172. - (nmi_save_network_info): serialize wireless security info
  11173. into GConf so its saved
  11174. * src/nm-dbus-nm.c
  11175. - Fix warning as we may not be passed security info when
  11176. connecting to a wireless network
  11177. 2005-12-23 Dan Williams <dcbw@redhat.com>
  11178. * gnome/applet/applet-compat.c
  11179. - Fix bugs in GConf entry conversion
  11180. * gnome/applet/applet-dbus-info.c
  11181. - (nmi_dbus_get_network_properties): handle case of the BSSID
  11182. list being zero-length
  11183. * libnm-util/cipher-*
  11184. libnm-util/dbus-helpers.c
  11185. - All ciphers must now return hashed keys as UTF-8 valid
  11186. hexadecimal strings, ie "8f3dae4023". They are pushed
  11187. through dbus as strings too.
  11188. - Consolidate various functions that do bin->hex and hex->bin
  11189. conversion into cipher.c
  11190. * src/nm-ap-security-wep.c
  11191. src/nm-ap-security-wpa-psk.c
  11192. - Handle NULL keys since we may not know keys right away
  11193. * src/nm-dbus-nmi.c
  11194. - (nm_dbus_get_network_data_cb): actually advance to the start
  11195. of the wireless security info before we try to deserialize it
  11196. * libnm-util/test-ciphers.c
  11197. - Update cipher tests for the change to UTF-8 hexadecimal strings
  11198. 2005-12-22 Dan Williams <dcbw@redhat.com>
  11199. * gnome/applet/applet-compat.[ch]
  11200. - Convert old-format GConf and keyring entries
  11201. when the applet starts up.
  11202. * gnome/applet/applet.c
  11203. - (nmwa_get_instance): Call the conversion function
  11204. on startup before dbus is initialized
  11205. 2005-12-22 Dan Williams <dcbw@redhat.com>
  11206. * gnome/applet/applet-dbus-info.c
  11207. - Remove nmi_dbus_create_error_message() in favor of
  11208. nmu_create_dbus_error_message()
  11209. - (nmi_dbus_get_network_properties): Error message cleanups
  11210. - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
  11211. gconf key rather than 'addresses', since they really are BSSIDs
  11212. - (nmi_dbus_get_network_properties): Dispose of the security
  11213. object when we're done with it
  11214. 2005-12-21 Dan Williams <dcbw@redhat.com>
  11215. * Consolidate the info-daemon's "updateNetworkInfo" and
  11216. "addNetworkAddress" calls into just "updateNetworkInfo"
  11217. 2005-12-21 Dan Williams <dcbw@redhat.com>
  11218. * Make connection after key retrieval work again
  11219. 2005-12-21 Dan Williams <dcbw@redhat.com>
  11220. * gnome/applet/nm-gconf-wso*
  11221. - Make the serialize functions return gboolean
  11222. rather than int
  11223. * gnome/applet/nm-gconf-wso.c
  11224. - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
  11225. parent class handling so we don't segfault
  11226. * src/NetworkManagerAP.[ch]
  11227. - (nm_ap_get_capabilities): new function, return capabilities
  11228. now that something can use them
  11229. - (nm_ap_set_encrypted): assume that an access point supports
  11230. both WEP104 and WEP40 if its set encrypted. FIXME: can
  11231. we even tell whether it just supports WEP40?
  11232. * src/NetworkManagerDevice.c
  11233. - (ap_need_key): resurrect and update for the New World Order
  11234. - (nm_device_wireless_get_activation_ap): if we're not given
  11235. security info to use, create some based on access point
  11236. capabilities
  11237. * src/nm-ap-security-wep.c
  11238. - (nm_ap_security_wep_new_from_ap): create a new object
  11239. based on a certain access point's capabilities
  11240. * src/nm-ap-security.c
  11241. - (nm_ap_security_new_from_ap): delegate creation of a new
  11242. object based on access point capabilities to a subclass
  11243. - (nm_ap_security_copy_properties): don't segfault if we
  11244. don't have a key yet
  11245. * src/nm-dbus-nm.c
  11246. - (nm_dbus_nm_set_active_device): provide more informative
  11247. output when errors occur. Also construct security info
  11248. for a given access point if we weren't given any
  11249. 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
  11250. * configure.in: Added Lithuanian to ALL_LINGUAS.
  11251. 2005-12-21 Dan Williams <dcbw@redhat.com>
  11252. * test/libnm-util
  11253. - Add some testcases for WEP ciphers
  11254. 2005-12-17 Dan Williams <dcbw@redhat.com>
  11255. * Fix bugs
  11256. 2005-12-17 Dan Williams <dcbw@redhat.com>
  11257. * include/NetworkManager.h
  11258. - Finally kill NMEncKeyType
  11259. * gnome/applet/applet-dbus-info.c
  11260. - (nmi_save_network_info): convert to NMGConfWSO
  11261. * gnome/applet/nm-gconf-wso-*.c
  11262. - Implement gconf serialization functions
  11263. * src/NetworkManagerPolicy.c
  11264. - (nm_policy_activation_finish): fix up meaning of
  11265. automatic/user_requested
  11266. 2005-12-17 Dan Williams <dcbw@redhat.com>
  11267. * gnome/applet/*
  11268. - More applet cleanups
  11269. - Use the dbus-method-dispatcher
  11270. * libnm-util/dbus-method-dispatcher.[ch]
  11271. - Generalize the implementation from NM in
  11272. NetworkManagerUtils.c
  11273. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11274. * gnome/applet/*
  11275. - Fix up the passphrase dialog to use all the
  11276. WirelessSecurityOption stuff (untested)
  11277. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11278. * Move nm_gconf_get_*_helper() functions to separate files,
  11279. gconf-helpers.c & gconf-helpers.h
  11280. * New NMGConfWSO objects for managing the gconf side of things.
  11281. Eventually these should be merged with the
  11282. WirelessSecurityOption objects and a common base (that can
  11283. serialize/deserialize from dbus & gconf) should be
  11284. refactored out, but for now they are separate.
  11285. 2005-12-16 Robert Love <rml@novell.com>
  11286. * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
  11287. binaries unless they exist (nm_spawn_process() emits a warning if
  11288. asked to spawn a non-existant process).
  11289. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11290. * gnome/applet/applet-dbus-info.c
  11291. - Clean up lots of gconf-related code
  11292. 2005-12-16 Robert Love <rml@novell.com>
  11293. * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
  11294. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11295. * nm_device_set_enc_key -> nm_device_set_wep_enc_key
  11296. * Fix up NM -> NMI get-user-key dbus calls in NM (applet
  11297. bits still to be done)
  11298. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11299. * Finally move info-daemon related stuff out of
  11300. NetworkManagerDbus.c to nm-dbus-nmi.c
  11301. 2005-12-16 Dan Williams <dcbw@redhat.com>
  11302. * Kill auth_method for access points, since that's now done
  11303. by NMAPSecurity objects
  11304. * Add a copy-constructor of sorts to NMAPSecurity
  11305. (how do you do this properly in glib???)
  11306. 2005-12-15 Dan Williams <dcbw@redhat.com>
  11307. * Exorcise encryption key hashing on APs
  11308. * Use libnm-util's serialization/deserialization in both the
  11309. applet and NM
  11310. * Random other stuff
  11311. 2005-12-15 Robert Love <rml@novell.com>
  11312. * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
  11313. is being added to the icon naming spec, so let's use that (Tango CVS
  11314. has the icon). Because it is new, however, we fall back to the
  11315. current "gnome-lockscreen" if the new icon is not around, thus
  11316. behavior is the same.
  11317. * gnome/applet/applet.c: Remove setup_stock(). We do not need the
  11318. factory junk.
  11319. 2005-12-15 Robert Love <rml@novell.com>
  11320. * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
  11321. well, help to give. Couple other misc. bits.
  11322. 2005-12-15 Dan Williams <dcbw@redhat.com>
  11323. * libnm-util/dbus-helpers.[ch]
  11324. - Make this the one-stop-shop for serializing/deserializing
  11325. AP & connection security settings over dbus. Both NM
  11326. and applets should use this to ensure consistent dbus
  11327. API going forwared.
  11328. 2005-12-15 Robert Love <rml@novell.com>
  11329. Patch by Timo Hoenig <thoenig@suse.de>:
  11330. * src/NetworkManagerDbus.c
  11331. - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
  11332. if HAL jumps off the system bus. Otherwise libdbus
  11333. (dbus_connection_dispatch) will try to run the filter
  11334. function of our libhal context which is already freed.
  11335. 2005-12-15 Alexander Shopov <ash@contact.bg>
  11336. * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
  11337. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11338. * include/NetworkManager.h
  11339. src/NetworkManagerWireless.c
  11340. - Rearrange 802.11 wireless-specific capabilities again
  11341. * src/Makefile.am
  11342. - Forgot to add wpa.c/wpa.h to the makefiles
  11343. * src/NetworkManagerAP.[ch]
  11344. - Implement access point capabilities and parse the
  11345. WPA/RSN IEs into the capability bitfield
  11346. - Switch the "encrypted" attribute to utilize the bitfield
  11347. and capabilities rather than being independent
  11348. * src/NetworkManagerDevice.c
  11349. - (nm_device_wireless_get_activation_ap): break it horribly
  11350. until we can push NMAPSecurity objects into access point
  11351. objects and through the activation chain
  11352. - Stuff WPA & RSN IEs into AP capabilities
  11353. * src/nm-dbus-nm.c
  11354. - Take a shot at actually making setActiveDevice work
  11355. * src/wpa.[ch]
  11356. - Make the API a bit saner
  11357. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11358. * include/NetworkManager.h
  11359. - Add 802.11-specific capability for 802.1x key
  11360. management
  11361. * src/wpa.[ch]
  11362. - Pull in WPA IE and RSN IE parsing code from
  11363. wpa_supplicant so we can determine access point
  11364. capabilities
  11365. - Move WPA-related constants here from NetworkManagerAP.h
  11366. and NetworkManagerDevice.c
  11367. * src/NetworkManagerDevice.c
  11368. src/NetworkManagerAP.[ch]
  11369. - Use WPA-related constants from wpa.h
  11370. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11371. * include/NetworkManager.h
  11372. - Update and split 802.11 wireless-specific capabilities from
  11373. generic device capabilities
  11374. * src/NetworkManagerDevice.c
  11375. src/NetworkManagerDevicePrivate.h
  11376. - (nm_device_wireless_discover_capabilities): Move 802.11
  11377. wireless-specific capability checks to
  11378. NetworkManagerWireless.c
  11379. - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
  11380. - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
  11381. * src/NetworkManagerWireless.[ch]
  11382. - (nm_802_11_wireless_discover_capabilities): Check extended
  11383. 802.11 wireless-specific capabilities of the driver
  11384. 2005-12-14 Robert Love <rml@novell.com>
  11385. Patch from Stefan Scheler <sscheler@suse.de>:
  11386. * src/NetworkManagerDevice.c: call backend code to activate and
  11387. deactivate NIS.
  11388. * src/NetworkManagerSystem.h: add new NIS interfaces.
  11389. * src/backends/NetworkManagerDebian.c,
  11390. src/backends/NetworkManagerGentoo.c,
  11391. src/backends/NetworkManagerRedHat.c,
  11392. src/backends/NetworkManagerSlackware.c: add stub functions for NIS
  11393. support.
  11394. * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
  11395. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11396. * src/nm-ap-security*.[ch]
  11397. - Add AP security abstractions to NetworkManager
  11398. * src/nm-dbus-device.c
  11399. - Begin to parse new format dbus messages from the applet
  11400. and construct an AP security object from the message
  11401. * libnm-util/dbus-helpers.c
  11402. - Use message iters so we can append the key as a fixed
  11403. array of bytes, which actually works rather than
  11404. using dbus_message_append_args() as we were before
  11405. 2005-12-14 Dan Williams <dcbw@redhat.com>
  11406. * src/NetworkManagerDbus.c
  11407. gnome/applet/applet-dbus.c
  11408. - Fix up dbus service replacement options. The applet
  11409. should allow replacement, NM itself should not.
  11410. 2005-12-13 Robert Love <rml@novell.com>
  11411. * src/named-manager/nm-named-manager.c: Revert earlier commit.
  11412. Instead, fail silently if config is NULL by not asserting and not
  11413. returning FALSE. Also, make sure we always fclose() the file.
  11414. 2005-12-13 Robert Love <rml@novell.com>
  11415. Patch by Stefan Scheler <sscheler@suse.de>:
  11416. * src/nm-ip4-config.h, src/nm-ip4-config.c,
  11417. src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
  11418. via DHCP. Still need the backends to commit the NIS domain name and
  11419. and servers to yp.conf as needed.
  11420. 2005-12-13 Robert Love <rml@novell.com>
  11421. * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
  11422. nm_vpn_manager_remove_connection() unless vpn is non-NULL.
  11423. 2005-12-13 Robert Love <rml@novell.com>
  11424. * src/named-manager/nm-named-manager.c: Don't unref the config until
  11425. after we call rewrite_resolv_conf(), because get_last_default_domain()
  11426. needs to access the config. Fixes "rewrite_resolv_conf: assertion
  11427. `config != NULL' failed" assertion failures and "Could not commit DNS
  11428. changes" warnings.
  11429. 2005-12-12 Dan Williams <dcbw@redhat.com>
  11430. * libnm-util/dbus-helpers.[ch]
  11431. libnm-util/Makefile.am
  11432. - new helper calls to consolidate locations where
  11433. NM's setDevice method is called
  11434. * gnome/applet/applet-dbus-devices.c
  11435. gnome/applet/wireless-security-option.c
  11436. gnome/applet/wso-*
  11437. - Implement dbus message param append function for
  11438. all wireless security options
  11439. 2005-12-12 Robert Love <rml@novell.com>
  11440. * libnm-util/cipher-wep-passphrase.c,
  11441. libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
  11442. src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
  11443. src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
  11444. all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
  11445. When handling keys, we don't care what the sign is. The compiler
  11446. guarantees us that we get our 8-bits, which is all we care about.
  11447. * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
  11448. 2005-12-12 Dan Williams <dcbw@redhat.com>
  11449. * gnome/applet/applet-dbus-devices.[ch]
  11450. gnome/applet/applet.c
  11451. gnome/applet/other-network-dialog.c
  11452. gnome/applet/wireless-security-manager.[ch]
  11453. gnome/applet/wireless-security-option.[ch]
  11454. gnome/applet/wso-*
  11455. - Push the wireless security options further into the applet
  11456. 2005-12-12 Robert Love <rml@novell.com>
  11457. * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
  11458. return any name servers. That is perfectly valid. (Novell #134369).
  11459. 2005-12-11 Dan Williams <dcbw@redhat.com>
  11460. * gnome/applet/wso-*
  11461. gnome/applet/wireless-security-option.*
  11462. gnome/applet/Makefile.am
  11463. - split each security option out so we can eventually
  11464. have each one build up their own dbus message
  11465. arguments to send to NM
  11466. 2005-12-11 Dan Williams <dcbw@redhat.com>
  11467. * Make validation of the key work correctly
  11468. 2005-12-11 Dan Williams <dcbw@redhat.com>
  11469. * Hook more bits of the Other Network Dialog up to the
  11470. wireless security manager stuff, and restructure
  11471. bits of the dialog so there's less code.
  11472. 2005-12-10 Dan Williams <dcbw@redhat.com>
  11473. * gnome/applet/Makefile.am
  11474. - Add libnm-util to includes
  11475. - Add libnm-util to link list
  11476. - Add wireless-security-common.* to compile list
  11477. * gnome/applet/other-network-dialog.c
  11478. - Convert to using the WirelessSecurityManager code and
  11479. widgets
  11480. * gnome/applet/passphrase-dialog.c
  11481. - Comment out references to stuff in the glade file that
  11482. cause runtime errors until it can be fixed up
  11483. to use the WirelessSecurityManager code
  11484. * gnome/applet/wireless-applet.glade
  11485. - Rename some widgets
  11486. - Add widgets for the WirelessSecurityManager code
  11487. - Remove passphrase-related stuff since that's now
  11488. handled by the WirelessSecurityManager code
  11489. 2005-12-10 Dan Williams <dcbw@redhat.com>
  11490. * gnome/applet/applet-dbus-devices.c
  11491. - Print out error message details for dbus pending call callbacks
  11492. - Move nmwa_dbus_update_devices() up
  11493. * gnome/applet/applet-dbus-vpn.c
  11494. - Print out error message details for dbus pending call callbacks
  11495. 2005-12-10 Dan Williams <dcbw@redhat.com>
  11496. * libnm-util/*
  11497. - More fixups
  11498. - Remove cipher-manager.* because we don't need it
  11499. - Forgot to add gnome-keyring-md5 files to compile list
  11500. 2005-12-09 Dan Williams <dcbw@redhat.com>
  11501. * libnm-util/*
  11502. configure.in
  11503. Makefile.am
  11504. - Add a utility library for clients of NetworkManager. It's
  11505. only targetted at applets for the moment, and contains
  11506. a generalized 802.11 cipher framework for different
  11507. types of keys (WEP & WPA Hex, ASCII, Passphrase)
  11508. 2005-12-09 Robert Love <rml@novell.com>
  11509. * src/NetworkManagerDevice.c: handle error better in
  11510. nm_device_set_mode().
  11511. 2005-12-08 Robert Love <rml@novell.com>
  11512. * include/NetworkManager.h: add WPA capabilities constants
  11513. * src/NetworkManagerDevice.c: detect if wireless devices support WPA
  11514. or WPA2 and add the capabilities bits as appropriate.
  11515. 2005-12-08 Robert Love <rml@novell.com>
  11516. * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
  11517. NetworkManagerDispatcher.
  11518. * configure.in, initscript/SUSE/.cvsignore,
  11519. initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
  11520. initscript.
  11521. 2005-12-08 Robert Love <rml@novell.com>
  11522. * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
  11523. 2005-12-08 Robert Love <rml@novell.com>
  11524. * src/NetworkManagerDevice.c: We want to fall back on and default to
  11525. IW_MODE_AUTO, not -1, which is more in line with our previous
  11526. behavior. Otherwise, we try to set the wireless mode to -1 in
  11527. nm_device_set_mode().
  11528. 2005-12-07 Robert Love <rml@novell.com>
  11529. * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
  11530. src/NetworkManagerAP.c, src/NetworkManagerAP.h,
  11531. src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
  11532. src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
  11533. src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
  11534. wireless-tools constants directly. UNKNOWN is now -1 and NONE is
  11535. zero.
  11536. 2005-12-07 Robert Love <rml@novell.com>
  11537. * src/backends/NetworkManagerSuSE.c: In static configurations, if the
  11538. supplied IP is invalid, fall back to DHCP.
  11539. 2005-12-07 Dan Williams <dcbw@redhat.com>
  11540. * Convert NETWORK_MODE_* constants to IW_MODE_*
  11541. * Make all the get_mode/set_mode functions take and return 'int'
  11542. * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
  11543. 2005-12-07 Robert Love <rml@novell.com>
  11544. * src/NetworkManagerDevice.c: strncpy() buffer check.
  11545. * src/NetworkManagerUtils.c: be anal about syslog() formatting.
  11546. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11547. * gnome/applet/applet-dbus.c
  11548. - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
  11549. * gnome/applet/applet-dbus-vpn.c
  11550. - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
  11551. - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
  11552. to TRUE here if stage was ACTIVATED
  11553. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11554. * Change nm_device_is_* functions to better names:
  11555. nm_device_is_wireless() -> nm_device_is_802_11_wireless()
  11556. nm_device_is_wired() -> nm_device_is_802_3_ethernet()
  11557. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11558. * Change naming of NMDeviceType to something more sensible:
  11559. NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
  11560. NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
  11561. NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
  11562. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11563. * Move NetworkManager.h -> include/NetworkManager.h
  11564. * Split out VPN stuff into include/NetworkManagerVPN.h
  11565. * Fix up makefiles to include new location
  11566. * Fix up sources to include NetworkManagerVPN.h
  11567. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11568. Various changes in the applet to move VPN connection "state" -> "stage",
  11569. which it actually is. I'd like to change the signal as well when we
  11570. break compat in the near future.
  11571. 2005-12-06 Dan Williams <dcbw@redhat.com>
  11572. Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
  11573. * initscript/Slackware/rc.networkmanager
  11574. - Cosmetic fix
  11575. * src/backends/NetworkManagerSlackware.c
  11576. - Kill dhcpcd when starting so that dhclient can bind to DHCP on
  11577. interfaces
  11578. 2005-12-05 Robert Love <rml@novell.com>
  11579. * src/NetworkManager.c: don't call nm_data_free() when there is nothing
  11580. to free, particularly here as it just barfs.
  11581. 2005-12-05 Dan Williams <dcbw@redhat.com>
  11582. * gnome/applet/applet-dbus.c
  11583. - Work with dbus 0.6 too
  11584. 2005-12-03 Dan Williams <dcbw@redhat.com>
  11585. * src/NetworkManagerUtils.[ch]
  11586. src/nm-ip4-config.c
  11587. - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
  11588. - consolidate code into nm_utils_ip4_addr_to_nl_addr()
  11589. 2005-12-01 Robert Love <rml@novell.com>
  11590. * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
  11591. need a NULL for the '...' parameter, too, to fill the so-called
  11592. sentinel.
  11593. 2005-12-01 Robert Love <rml@novell.com>
  11594. * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
  11595. interface is already gone, so don't call rtnl_link_change() to down
  11596. it (which will segfault, anyhow).
  11597. 2005-11-22 Robert Love <rml@novell.com>
  11598. * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
  11599. gateway is not set, just print a little note. Configurations without
  11600. gateways are valid.
  11601. 2005-11-22 Robert Love <rml@novell.com>
  11602. * README: update
  11603. 2005-11-20 Ilkka Tuohela <hile@iki.fi>
  11604. * configure.in: Added Finnish translation to ALL_LINGUAS
  11605. 2005-11-14 Robert Love <rml@novell.com>
  11606. * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
  11607. Niemueller <tim@niemueller.de>.
  11608. 2005-11-08 Dan Williams <dcbw@redhat.com>
  11609. Patch from Bill Moss <bmoss@clemson.edu>
  11610. * src/NetworkManagerDevice.c
  11611. - (nm_device_activate_stage5_ip_config_commit): fix ordering
  11612. of nm_policy_schedule_activation_finish() to prevent a
  11613. race condition that causes the link to be dropped
  11614. 2005-11-08 Dan Williams <dcbw@redhat.com>
  11615. Patch from Bill Moss <bmoss@clemson.edu>
  11616. * src/NetworkManagerAPList.c
  11617. src/NetworkManagerDevice.c
  11618. src/NetworkManagerDbus.c
  11619. - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
  11620. we get more readable ether/mac addresses
  11621. 2005-11-02 Christopher Aillon <caillon@redhat.com>
  11622. * gnome/applet/main.c: Don't set the restart command. This fixes
  11623. the issue where the restart command was getting copies of all its
  11624. arguments for each time the applet was restarted.
  11625. 2005-11-02 Robert Love <rml@novell.com>
  11626. * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
  11627. if the widget state differs from our saved state. This ensures we
  11628. do not enter an endless loop of death and destruction. Also, this
  11629. guarantees us that we enforce the widget state.
  11630. 2005-11-02 Robert Love <rml@novell.com>
  11631. * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
  11632. * gnome/applet/applet-dbus-devices.c: invoke the new function
  11633. nmwa_enable_wireless_set_active() to ensure that the state of the
  11634. 'Enable Wireless' checkbox matches the daemon's state. This is a
  11635. concern because the daemon remembers the state.
  11636. 2005-11-02 Robert Love <rml@novell.com>
  11637. * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
  11638. Enabled", as checkboxes should be actions/commands not positive
  11639. statements, otherwise they are confusing in the unselected case. See
  11640. examples in GNOME HIG, Chapter 6.
  11641. 2005-11-02 Robert Love <rml@novell.com>
  11642. * gnome/applet/applet.c: When wireless is disabled, act it. Do not
  11643. show a list of wireless networks or the wireless devices or the
  11644. "Create Wireless ..." menus. Aside from this cosmetics, this fixes
  11645. a bad bug: If wireless is disabled and the user picks a wireless
  11646. network, NM will switch to the network, only to immediately switch
  11647. back, as wireless is disabled. This also reassures people that NM
  11648. is not scanning (it is not -- I verified). Fixes Novell bug #130041.
  11649. 2005-11-02 Christopher Aillon <caillon@redhat.com>
  11650. * gnome/applet/applet.c:
  11651. * gnome/applet/applet.h:
  11652. Partial backout of Dan's timeout animation patch.
  11653. Timeout IDs cannot legally be 0, so revert the code in place to handle
  11654. a timeout ID of 0 to denote the timeout isn't running.
  11655. 2005-11-02 Christopher Aillon <caillon@redhat.com>
  11656. * src/NetworkManagerPolicy.c:
  11657. (nm_policy_device_change_check) Clarify wireless switch nm_info text
  11658. 2005-10-28 Robert Love <rml@novell.com>
  11659. * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
  11660. "Import Saved Configuration..." to make it clear that importing is
  11661. not the next step, but an option. As an aside, a nice TODO would be
  11662. to move Importing out of the vpn-specific dialog and into the main
  11663. property editor, as Importing goes with Adding, but that will require
  11664. some rearchitecting of the VPN stuff I suspect.
  11665. 2005-10-27 Dan Williams <dcbw@redhat.com>
  11666. Start using libnl. You need 1.0-pre3 or higher. Eventually
  11667. we should replace most of the distro-specific backend code
  11668. with libnl stuff.
  11669. Get it here: http://people.suug.ch/~tgr/libnl/
  11670. * configure.in
  11671. src/Makefile.am
  11672. - Add checks for libnl pkgconfig file
  11673. - Use LIBNL_LIBS & LIBNL_CFLAGS
  11674. * src/NetworkManagerSystem.c
  11675. src/nm-ip4-config.[ch]
  11676. - Use libnl rather than ioctl() for most things
  11677. - Remove unused functions
  11678. 2005-10-27 Robert Love <rml@novell.com>
  11679. * src/backends/NetworkManagerSuSE.c: fix warning message text
  11680. 2005-10-27 Christopher Aillon <caillon@redhat.com>
  11681. * gnome/applet/applet.c: Use the copyright symbol instead of (C)
  11682. 2005-10-27 Christopher Aillon <caillon@redhat.com>
  11683. * gnome/applet/applet.c: The applet's about dialog can advertise our
  11684. project page <http://www.gnome.org/projects/NetworkManager/>
  11685. 2005-10-26 Christopher Aillon <caillon@redhat.com>
  11686. * gnome/applet.c: Also use translator credits if we don't have
  11687. the new GtkAboutDialog (older versions of GTK+)
  11688. 2005-10-26 Robert Love <rml@novell.com>
  11689. * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
  11690. failure; correct usage text for "--no-daemon"
  11691. 2005-10-25 Dan Williams <dcbw@redhat.com>
  11692. * src/NetworkManagerDevice.c
  11693. - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
  11694. no scan results
  11695. - (free_process_scan_cb_data): unref the device when freeing results
  11696. - (nm_device_wireless_process_scan_results): free scan results a bit later
  11697. so we don't unref the device underneath ourselves
  11698. 2005-10-25 Dan Williams <dcbw@redhat.com>
  11699. * Back out 2005-10-24 commit from Tor Krill. Patch
  11700. causes nameservers never to be removed from named.
  11701. 2005-10-24 Dan Williams <dcbw@redhat.com>
  11702. Clean up wireless scanning and wireless link probing.
  11703. * src/NetworkManagerDevice.c
  11704. - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
  11705. just see if there's an activation request on the device, and check the
  11706. current link against the activation request access point's ESSID.
  11707. - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
  11708. - (nm_device_wireless_process_scan_results): actually free our scan data, and
  11709. don't call process_scan_results() on zero-length data
  11710. - (nm_device_set_wireless_scan_interval): increase the init scan interval to
  11711. 15 seconds (from 10)
  11712. 2005-10-24 Dan Williams <dcbw@redhat.com>
  11713. Cleanup some applet stuff:
  11714. - Animation timeouts. If NM died while the applet was animating,
  11715. the applet would not hide itself. This is now fixed.
  11716. - Remove some dead code
  11717. - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
  11718. to nmi_passphrase_dialog_cancel() since we no longer use threads.
  11719. - Track animation timeout using a gboolean rather than the timeout's
  11720. ID, since timeout IDs can legally be 0.
  11721. 2005-10-24 Dan Williams <dcbw@redhat.com>
  11722. * src/backends/interface_parser.c
  11723. - Add void to function declarations that need it
  11724. to match patch from Engin AYDOGAN
  11725. * src/backends/interface_parser.h
  11726. - Remove unused prototype for ifparser_interfaces()
  11727. Patch from Engin AYDOGAN <engin@bzzzt.biz>
  11728. * src/backends/interface_parser.h:
  11729. - Compile fixes for gcc 4.0.2 (add void)
  11730. 2005-10-24 Dan Williams <dcbw@redhat.com>
  11731. Patch from Tor Krill <tor@krill.nu>
  11732. * src/named-manager/nm-named-manager.c
  11733. - Write more than just the first nameserver to /etc/resolv.conf
  11734. - Write out valid /etc/resolv.conf on exit
  11735. 2005-10-21 Christopher Aillon <caillon@redhat.com>
  11736. * gnome/applet/applet-dbus-vpn.c:
  11737. Get rid of spurious newlines in debug console output
  11738. 2005-10-21 Christopher Aillon <caillon@redhat.com>
  11739. * src/backends/NetworkManagerGentoo.c:
  11740. Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
  11741. 2005-10-20 Robert Love <rml@novell.com>
  11742. * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
  11743. direct comparison of floating point values, which is never correct.
  11744. Also some misc. cleanup.
  11745. 2005-10-19 Robert Love <rml@novell.com>
  11746. * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
  11747. 2005-10-19 Robert Love <rml@novell.com>
  11748. * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
  11749. sensitivity of the buttons. Specificaly, do the right thing if
  11750. there are no entries.
  11751. 2005-10-19 Christopher Aillon <caillon@redhat.com>
  11752. * configure.in: Update check for adequate wireless-tools
  11753. with an AC_TRY_COMPILE for the new symbols we use.
  11754. 2005-10-19 Dan Williams <dcbw@redhat.com>
  11755. * src/NetworkManagerDevice.c
  11756. - (process_scan_results): don't drop the last (or only)
  11757. access point we see
  11758. 2005-10-19 Christopher Aillon <caillon@redhat.com>
  11759. * src/backends/NetworkManagerSlackware.c:
  11760. Patch from Nico <lordllucifer@gmail.com>
  11761. - Update the Slackware backend.
  11762. 2005-10-18 Christopher Aillon <caillon@redhat.com>
  11763. * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
  11764. if we've got GLib 2.8.0
  11765. 2005-10-18 Robert Love <rml@novell.com>
  11766. * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
  11767. function nm_schedule_state_change_signal_broadcast() when we
  11768. deactivate a device, too.
  11769. 2005-10-18 Robert Love <rml@novell.com>
  11770. * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
  11771. be used uninitialized.
  11772. 2005-10-18 Christopher Aillon <caillon@redhat.com>
  11773. * test/libnm_glib_test.c: Test unregistering, too.
  11774. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11775. * configure.in: Bump to 0.5.0
  11776. 2005-10-17 Dan Williams <dcbw@redhat.com>
  11777. * NetworkManager.h
  11778. - Remove WPA-related constants so they aren't part of the
  11779. upcoming release.
  11780. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11781. * gnome/applet/applet.c:
  11782. * gnome/applet/applet.h:
  11783. Desensitize the 'Connection Information' menu item when there is
  11784. no active connection.
  11785. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11786. * gnome/libnm_glib/libnm_glib.c:
  11787. Make libnm_glib_unregister_callback () actually unregister the callback
  11788. 2005-10-17 Robert Love <rml@novell.com>
  11789. * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
  11790. two seconds -- tries is updated every 1/10 of a second, not every
  11791. second..
  11792. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11793. * gnome/applet/applet-dbus-info.c:
  11794. Let D-BUS know that we haven't handled a message when we haven't.
  11795. 2005-10-17 Robert Love <rml@novell.com>
  11796. * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
  11797. in order to remain 64-bit clean.
  11798. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11799. * gnome/applet/applet-dbus-info.c:
  11800. Find network encryption keys asynchronously
  11801. 2005-10-17 Robert Love <rml@novell.com>
  11802. * src/backends/NetworkManagerDebian.c,
  11803. src/backends/NetworkManagerRedHat,
  11804. src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
  11805. comment delimiter.
  11806. 2005-10-17 Robert Love <rml@novell.com>
  11807. * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
  11808. "/etc"
  11809. 2005-10-17 Christopher Aillon <caillon@redhat.com>
  11810. * src/NetworkManagerDevice.c: (process_scan_results)
  11811. Fix logic that checks to see whether we have an ESSID.
  11812. 2005-10-15 Dan Williams <dcbw@redhat.com>
  11813. Move scanning code into NetworkManager rather than use iwlib's
  11814. iw_scan() function, so that we can figure out AP capabilities.
  11815. * NetworkManager.h
  11816. - Add AP capability bits
  11817. * src/NetworkManagerAP.[ch]
  11818. - Add capability field to NMAccessPoint structure
  11819. - Add WPA & RSN Information Element fields and accessor
  11820. functions to NMAccessPoint
  11821. * src/NetworkManagerDevice.c
  11822. - Remove usage of iw_scan
  11823. - Add scanning code to NetworkManager rather than use
  11824. iw_scan() from iwlib
  11825. * src/NetworkManagerUtils.[ch]
  11826. - (nm_dispose_scan_results): remove, unused
  11827. 2005-10-14 Christopher Aillon <caillon@redhat.com>
  11828. * gnome/libnm_glib/libnm_glib.c:
  11829. * gnome/libnm_glib/libnm_glib.h:
  11830. Use guint instead of gint for callback IDs.
  11831. 2005-10-12 Christopher Aillon <caillon@redhat.com>
  11832. * gnome/applet/applet.c:
  11833. Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
  11834. every 1000ms. It will unconditionally call nmwa_update_state which
  11835. kills the existing animation timeout and registers a new one with a
  11836. callback to draw a new frame every 100ms. There are 11 connecting
  11837. icon frames, so the last 2 frames kept getting dropped. Only reset
  11838. the animation timeout if we aren't animating.
  11839. 2005-10-11 Dan Williams <dcbw@redhat.com>
  11840. * gnome/applet/applet-dbus-devices.c
  11841. - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
  11842. We want to grab the product & vendor from net.physical_dev
  11843. rather than info.parent.
  11844. 2005-10-11 Dan Williams <dcbw@redhat.com>
  11845. * src/NetworkManagerDevice.c
  11846. - Use the driver's WE version for scanning rather than
  11847. the WE version NM was compiled with. Fixes random
  11848. crashes in iw_scan () in iwlib.
  11849. 2005-10-10 Dan Williams <dcbw@redhat.com>
  11850. * Remove nm_system_load_device_modules() from backend files
  11851. and from NetworkManager.c
  11852. 2005-10-10 Dan Williams <dcbw@redhat.com>
  11853. * src/NetworkManagerPolicy.c
  11854. - Fix some bugs introduced by the capabilities patch
  11855. 2005-10-10 Dan Williams <dcbw@redhat.com>
  11856. * gnome/applet/applet-dbus-info.c
  11857. - (nmi_dbus_get_network_key): hide the menu when putting up
  11858. the keyring dialog. (not sure if the code is right...)
  11859. 2005-10-09 Dan Williams <dcbw@redhat.com>
  11860. Patch from Bill Moss <bmoss@clemson.edu>
  11861. * src/NetworkManagerDevice.c
  11862. - (nm_device_set_user_key_for_network): don't try to set auth
  11863. mode on the AP from the allowed list if it's NULL
  11864. 2005-10-09 Dan Williams <dcbw@redhat.com>
  11865. * Replace the "driver support level" stuff with capabilities. The
  11866. capability field is a bitfield that is more flexible than the
  11867. old driver support level thing. It's mostly so we can easily
  11868. figure out what supports WPA and what doesn't, but should be
  11869. quite useful later.
  11870. 2005-10-09 Dan Williams <dcbw@redhat.com>
  11871. * test/nmtest.c
  11872. - Removed
  11873. * test/nm-tool.c
  11874. test/Makefile.am
  11875. - Added new "nm-tool" tool that gives quite a bit more
  11876. information
  11877. 2005-10-07 Robert Love <rml@novell.com>
  11878. * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
  11879. gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
  11880. src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
  11881. test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
  11882. appropriate
  11883. 2005-10-07 Robert Love <rml@novell.com>
  11884. * configure.in: Change our compile flags for the betterment of mankind.
  11885. Add "-Wstrict-prototypes" because we comply anyhow and missing a
  11886. prototype is very bad on 64-bit platforms as types default to int but
  11887. sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
  11888. "-Wmissing-declarations" to warn if we define an exported function
  11889. but fail to put it in a header.
  11890. 2005-10-07 Robert Love <rml@novell.com>
  11891. * src/NetworkManagerWireless.c: remove stale, unused function, who goes
  11892. by the name nm_update_device_wireless_timeouts() and once tried,
  11893. without success, to steal my pet turtle.
  11894. 2005-10-07 Robert Love <rml@novell.com>
  11895. * Cleanup prototypes: put some functions in header files and mark
  11896. others as 'static' -- feel free to invert
  11897. * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
  11898. nm_vpn_manager_vpn_connection_list_copy()
  11899. * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
  11900. nm_vpn_service_get_dbus_connection()
  11901. * src/vpn-manager/nm-vpn-manager.h: add prototypes for
  11902. nm_vpn_manager_vpn_connection_list_copy()
  11903. * src/vpn-manager/nm-vpn-service.c: make
  11904. nm_vpn_service_act_request_failed() and
  11905. nm_vpn_service_stage2_daemon_wait() static
  11906. * src/vpn-manager/nm-vpn-service.h: add prototype for
  11907. nm_vpn_service_get_dbus_connection()
  11908. 2005-10-06 Christopher Aillon <caillon@redhat.com>
  11909. * gnome/applet/applet.c:
  11910. * gnome/applet/applet.h:
  11911. * gnome/applet/icons/Makefile.am:
  11912. Convey information about the current connection stage in the
  11913. icons themselves instead of creating a separate progress bar.
  11914. 2005-10-04 Robert Love <rml@novell.com>
  11915. * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
  11916. convert an ether_addr structure's MAC into a string, because the
  11917. latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
  11918. versus 07:3B:04, while the former will not.
  11919. 2005-10-04 Robert Love <rml@novell.com>
  11920. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
  11921. gnome/applet/nm-device.c, gnome/applet/nm-device.h,
  11922. gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
  11923. default route in the 'Connection Information' dialog, send primary
  11924. and secondary name servers in in "getProperties" DBUS method, add
  11925. network_device_{get,set}_{primary,secondary}_dns(), The primary and
  11926. secondary domain name servers are crucial pieces of information
  11927. that a user might need in debugging a network problem.
  11928. 2005-10-04 Robert Love <rml@novell.com>
  11929. * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
  11930. gnome/applet/nm-device.c, gnome/applet/nm-device.h,
  11931. gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
  11932. default route in the 'Connection Information' dialog, send default
  11933. route in "getProperties" DBUS method, add network_device_set_route(),
  11934. and network_device_get_route(). The Gateway is a crucial piece of
  11935. connection-related information that a user might need in debugging a
  11936. network problem.
  11937. 2005-10-03 Robert Love <rml@novell.com>
  11938. * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
  11939. NULL.
  11940. 2005-10-02 Dan Williams <dcbw@redhat.com>
  11941. * Shorten time taken to sleep by fastpathing bits of device deactivation
  11942. necessary for sleep.
  11943. * Fix issue where deactivating a device might deactivate the active
  11944. VPN connection, even if the VPN was not using the device.
  11945. 2005-10-02 Dan Williams <dcbw@redhat.com>
  11946. * gnome/applet/applet.c
  11947. - Adjust signal strength -> icon mapping values slightly
  11948. (so that 51% signal doesn't show a 75% icon) by adding
  11949. 5% to the values. ex: > 5% now shows 25% icon, > 30%
  11950. shows 50% icon, etc.
  11951. 2005-09-29 Robert Love <rml@novell.com>
  11952. * src/NetworkManager.c: removed unused variable.
  11953. 2005-09-28 Dan Williams <dcbw@redhat.com>
  11954. Support for named + DBus, using Red Hat DBus patches for named. You
  11955. can find those patches here, with "dbus" in the patch's filename:
  11956. http://cvs.fedora.redhat.com/viewcvs/devel/bind/
  11957. Don't forget the named dbus service file either.
  11958. Instead of writing a config file and spawing a named process, NM will
  11959. use an already-running dbus-enabled named if it finds one. NM will
  11960. update named's forwarder configuration on the fly using dbus.
  11961. If there is no dbus-enabled named running, NM will automatically fall
  11962. back to writing the most-recent DNS server information to /etc/resolv.conf
  11963. and calling nm_system_update_dns() to kick the system's resolver.
  11964. Accordingly, all named-related configure-time options have been removed.
  11965. 2005-09-26 Robert Love <rml@novell.com>
  11966. * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
  11967. ISDN support!
  11968. * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
  11969. bug in error path if "ASKPASSWORD" is "no".
  11970. 2005-09-26 Robert Love <rml@novell.com>
  11971. * src/named-manager/nm-named-manager.c: only '#' is officially a valid
  11972. comment in /etc/resolv.conf -- ';' is not.
  11973. 2005-09-19 Dan Williams <dcbw@redhat.com>
  11974. * src/backends/NetworkManagerRedHat.c:
  11975. * src/backends/NetworkManagerDebian.c:
  11976. * src/backends/NetworkManagerSlackware.c:
  11977. * src/backends/NetworkManagerGentoo.c:
  11978. * src/backends/NetworkManagerSUSE.c:
  11979. Fix invocations of "/sbin/ip address" to use short form instead
  11980. 2005-09-19 Christopher Aillon <caillon@redhat.com>
  11981. * src/nm-dbus-device.c: Don't assert when getting
  11982. addresses of a not yet connected interface.
  11983. * gnome/applet/applet.c: Free icons if loading fails.
  11984. Use translator-credits so translators can make themselves known.
  11985. 2005-09-15 Christopher Aillon <caillon@redhat.com>
  11986. * src/NetworkManagerAP.c:
  11987. * src/NetworkManagerAP.h:
  11988. * src/NetworkManagerDevice.c:
  11989. Set a blacklist for certain common manufacturer default ESSIDs:
  11990. APs with these ESSIDs are extremely likely to be completely
  11991. different networks: connecting to one should not make NM
  11992. auto-connect to every other AP with the same default ESSID.
  11993. 2005-09-12 Christopher Aillon <caillon@redhat.com>
  11994. * gnome/applet/wireless-applet.glade:
  11995. The passphrase entry should also activate the default
  11996. * src/gnome-keyring-md5.c: Updated code from gnome-keyring
  11997. * gnome/applet/applet-dbus-devices.c:
  11998. * gnome/applet/applet.c:
  11999. * gnome/applet/nm-device.c:
  12000. * gnome/applet/nm-device.h:
  12001. * src/NetworkManagerUtils.c:
  12002. * src/NetworkManagerUtils.h:
  12003. * src/nm-dbus-device.c:
  12004. I've got a fever, and the only cure for it is less ioctl.
  12005. Make NM push IP data rather than make the applet open a socket
  12006. to the device.
  12007. 2005-09-10 Christopher Aillon <caillon@redhat.com>
  12008. * gnome/applet/applet.c:
  12009. * gnome/applet/applet-dbus-devices.c:
  12010. * gnome/applet/applet-dbus-info.c:
  12011. * gnome/applet/passphrase-dialog.c:
  12012. * gnome/libnm_glib/libnm_glib.c:
  12013. * gnome/vpn-properties/nm-vpn-properties.c:
  12014. * src/autoip.c:
  12015. * src/backends/NetworkManagerRedHat.c:
  12016. * src/named-manager/nm-named-manager.c:
  12017. * src/NetworkManagerAPList.c:
  12018. * src/NetworkManager.c:
  12019. * src/NetworkManagerDbus.c:
  12020. * src/NetworkManagerDevice.c:
  12021. * src/NetworkManagerPolicy.c:
  12022. * src/NetworkManagerSystem.c:
  12023. * src/nm-dbus-device.c:
  12024. * src/nm-dbus-nm.c:
  12025. * src/vpn-manager/nm-vpn-manager.c:
  12026. * src/vpn-manager/nm-vpn-service.c:
  12027. * test/libnm_glib_test.c:
  12028. * test/nminfotest.c:
  12029. * test/nmtestdevices.c:
  12030. Fix a bunch of 'unused variable' compiler warnings
  12031. * NetworkManager.h:
  12032. * gnome/applet/applet-dbus-info.c:
  12033. * gnome/applet/applet-dbus-info.h:
  12034. * gnome/applet/applet.c:
  12035. * gnome/applet/applet.h:
  12036. * src/NetworkManager.c:
  12037. * src/NetworkManagerDbus.c:
  12038. * src/NetworkManagerDbus.h:
  12039. * src/NetworkManagerDevice.c:
  12040. * src/NetworkManagerDevice.h:
  12041. * src/NetworkManagerMain.h:
  12042. * src/NetworkManagerWireless.c:
  12043. * src/NetworkManagerWireless.h:
  12044. * src/nm-dbus-nm.c:
  12045. Make NetworkManager be smart about how frequently to scan
  12046. based on its current state. Remove the UI for choosing when
  12047. to scan. Scanning still may disabled completely by the user
  12048. via the "Wireless Enabled" menu item.
  12049. 2005-09-09 Christopher Aillon <caillon@redhat.com>
  12050. * gnome/applet/applet.c:
  12051. Also overlay the vpn connecting icons onto the wired icon,
  12052. when appropriate.
  12053. * gnome/vpn-properties/nm-vpn-properties.glade:
  12054. Clean up a few strings to use better grammar and proper casing.
  12055. 2005-09-08 Christopher Aillon <caillon@redhat.com>
  12056. * gnome/applet/vpn-connection.c:
  12057. * gnome/applet/vpn-connection.h:
  12058. Add nmwa_vpn_connection_is_activating ()
  12059. * gnome/applet/applet.c:
  12060. * gnome/applet/applet.h:
  12061. * gnome/applet/icons/nm-vpn-connecting*.png:
  12062. Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
  12063. the user know something's happening between clicking the VPN item and it
  12064. actually being connected.
  12065. 2005-09-07 Christopher Aillon <caillon@redhat.com>
  12066. * gnome/applet/applet-dbus-info.c: need to free attributes in the
  12067. failure case as well.
  12068. 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
  12069. * gnome/panel/eggtrayicon.[ch]:
  12070. * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
  12071. 2005-09-07 Dan Williams <dcbw@redhat.com>
  12072. Patch from Bill Moss <bmoss@clemson.edu>
  12073. * src/applet-dbus.c
  12074. - (nmwa_dbus_filter): strip whitespace from beginning
  12075. and end of VPN login banner
  12076. 2005-09-07 Dan Williams <dcbw@redhat.com>
  12077. * The great VPN Manager rewrite of 2005
  12078. 2005-09-07 Christopher Aillon <caillon@redhat.com>
  12079. * gnome/applet/menu-items.c:
  12080. * gnome/applet/nm-device.c:
  12081. * gnome/applet/wireless-network.c:
  12082. * gnome/libnm_glib/libnm_glib.c:
  12083. * src/NetworkManagerDbusUtils.c:
  12084. * vpn-daemons/vpnc/src/nm-vpnc-service.c:
  12085. g_malloc0 doesn't return NULL
  12086. 2005-09-06 Dan Williams <dcbw@redhat.com>
  12087. Patch from Tomislav Vujec <tvujec@redhat.com>
  12088. * src/NetworkManagerDevice.c
  12089. - (nm_get_device_by_udi): don't return a device when we
  12090. actually didn't find what we were looking for
  12091. 2005-09-06 Christopher Aillon <caillon@redhat.com>
  12092. * gnome/applet/applet-dbus-devices.c:
  12093. * gnome/applet/applet-dbus-devices.h:
  12094. * gnome/applet/applet-dbus.c:
  12095. * src/NetworkManagerDbus.c:
  12096. * src/NetworkManagerDbus.h:
  12097. * src/NetworkManagerDevice.c:
  12098. * src/nm-dbus-device.c:
  12099. Make NM push updates about active device strength when it changes,
  12100. rather than having the applet poll every 2s.
  12101. 2005-09-05 Christopher Aillon <caillon@redhat.com>
  12102. * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
  12103. network_device_set_strength
  12104. 2005-09-04 Dan Williams <dcbw@redhat.com>
  12105. Patch from Bill Nottingham <notting@redhat.com>
  12106. * src/NetworkManagerDevice.c
  12107. - (nm_device_activation_cancel): reset the quit_activation flag
  12108. 2005-09-04 Dan Williams <dcbw@redhat.com>
  12109. * src/nm-activation-request.c
  12110. - (nm_act_request_unref): actually free the structure,
  12111. which we didn't seem to be doing before
  12112. 2005-09-04 Dan Williams <dcbw@redhat.com>
  12113. Patch from John Palmieri <johnp@redhat.com>
  12114. * gnome/applet/applet-dbus-devices.c
  12115. - Fix up unreffing of DBusMessage objects
  12116. 2005-09-04 Dan Williams <dcbw@redhat.com>
  12117. Patch from John Palmieri <johnp@redhat.com>
  12118. * gnome/applet/nm-device.c
  12119. - (nm_device_unref): clear network_device's memory _before_ freeing it
  12120. 2005-09-02 Christopher Aillon <caillon@redhat.com>
  12121. * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
  12122. 2005-09-02 Bill Nottingham <notting@redhat.com>
  12123. * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
  12124. 2005-09-01 Dan Williams <dcbw@redhat.com>
  12125. * src/NetworkManager.c
  12126. - (nm_remove_device_from_list): rename to nm_remove_device
  12127. - (nm_hal_device_removed): call nm_remove_device()
  12128. * src/NetworkManagerDevice.c
  12129. - Change the NMWirelessScanCB member 'reschedule' which
  12130. wasn't used to 'force' to indicate that we need to
  12131. force a scan when adding a device
  12132. * src/nm-dbus-nm.c
  12133. - (nm_dbus_nm_sleep): Deactivate all devices and remove them
  12134. from the device list
  12135. - (nm_dbus_nm_wake): Re-add all devices to the device list
  12136. 2005-09-01 Robert Love <rml@novell.com>
  12137. * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
  12138. and the check "!iface" in the error case is probably never true.
  12139. 2005-09-01 Dan Williams <dcbw@redhat.com>
  12140. Patch from Bill Nottingham <notting@redhat.com>
  12141. * src/backends/NetworkManagerRedHat.c
  12142. - Add initial dialup support to Red Hat/Fedora backend
  12143. 2005-09-01 Dan Williams <dcbw@redhat.com>
  12144. * gnome/applet/applet-dbus-devices.c
  12145. - Sort both wireless networks and devices again, which got
  12146. broken when removing threading
  12147. 2005-09-01 Christopher Aillon <caillon@redhat.com>
  12148. * gnome/applet/applet.c:
  12149. Only show the "Stop/Start All Wireless Devices" menuitem
  12150. if we actually have wireless devices.
  12151. * gnome/applet/applet-dbus-info.c:
  12152. * gnome/applet/applet.c:
  12153. * gnome/applet/other-network-dialog.c:
  12154. * gnome/applet/vpn-password-dialog.c:
  12155. Drop the gtk_dialog_run () calls in favor of connecting to
  12156. "response" signals, needed now that the applet is not threaded.
  12157. 2005-08-31 Dan Williams <dcbw@redhat.com>
  12158. Patch from Bill Moss <bmoss@clemson.edu>
  12159. * src/NetworkManagerDevice.c
  12160. - (nm_device_wireless_scan): fix scan timeout values
  12161. 2005-08-30 Dan Williams <dcbw@redhat.com>
  12162. * gnome/applet/wireless-applet.glade
  12163. - HIG-ify the Other Wireless Networks dialog a bit more
  12164. - Fix some potential segfaults in the info dialog
  12165. 2005-08-30 Dan Williams <dcbw@redhat.com>
  12166. * gnome/applet/applet-dbus-devices.c
  12167. - Remove nmwa_dbus_get_hal_device_string_property(); unused
  12168. 2005-08-30 Dan Williams <dcbw@redhat.com>
  12169. * gnome/applet/applet-dbus.[ch]
  12170. - Remove all the nmwa_dbus_call_method_xxxx functions since
  12171. they weren't being used anyway
  12172. 2005-08-30 Bastien Nocera <hadess@hadess.net>
  12173. * test/nmtestdevices.c: (print_usage), (main):
  12174. Check the number of arguments, and fix a typo
  12175. 2005-08-29 Dan Williams <dcbw@redhat.com>
  12176. Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
  12177. * gnome/applet/applet.c
  12178. - Define GTK_STOCK_INFO for GTK 2.6 and lower
  12179. 2005-08-29 Dan Williams <dcbw@redhat.com>
  12180. * gnome/applet/*
  12181. - Don't use threads any more. Anything that blocks
  12182. (like gtk_dialog_run()) will have to get fixed up which
  12183. should happen quickly. We really only had threads to make
  12184. the animation smooth, and when everything got converted over
  12185. to DBus Pending Calls, the need for threads kind of went away
  12186. 2005-08-29 Christopher Aillon <caillon@redhat.com>
  12187. * gnome/applet/applet.c: Draw VPN connections as radio items
  12188. since we don't yet support multiple VPNs.
  12189. * gnome/applet/other-network-dialog.c: Use stock icon for Connect
  12190. * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
  12191. 2005-08-29 Dan Williams <dcbw@redhat.com>
  12192. Patch from j@bootlab.org
  12193. - Make --without-named work
  12194. - Make --with-dhcdbd work correctly
  12195. 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
  12196. * configure.in: Added "ca" to ALL_LINGUAS.
  12197. 2005-08-26 Christopher Aillon <caillon@redhat.com>
  12198. * Fix up VPN state handling between the applet and NetworkManager,
  12199. so that the applet doesn't show a VPN as connected when one
  12200. really is not
  12201. - The applet no longer has a pointer to the active VPN's
  12202. name, but tracks each VPNs state individually
  12203. - NM no longer has a "getActiveVPNConnection" method
  12204. - NM no longer broadcasts the "VPNConnectionChange" signal
  12205. - NM now broadcasts a "VPNConnectionStateChange" signal
  12206. whenever the state of a VPN changes
  12207. 2005-08-26 Dan Williams <dcbw@redhat.com>
  12208. * gnome/applet/applet-dbus-devices.c
  12209. gnome/applet/applet-dbus-vpn.c
  12210. - Remove calls to dbus_pending_call_ref() because we already
  12211. "own" the pending call
  12212. - Remove calls to dbus_pending_call_get_completed() because
  12213. when we are in the callback, the pending call is completed
  12214. by definition
  12215. 2005-08-22 Dan Williams <dcbw@redhat.com>
  12216. Patch by Bill Moss <bmoss@clemson.edu>
  12217. * src/dhcp-manager/nm-dhcp-manager.c
  12218. - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
  12219. some time to send out a RELEASE if they like
  12220. 2005-08-22 Dan Williams <dcbw@redhat.com>
  12221. Noticed by Bill Moss <bmoss@clemson.edu>
  12222. * src/NetworkManagerDbus.c
  12223. - (nm_dbus_get_user_key_for_network_cb): deactivate the device
  12224. instead of just cancelling its activation
  12225. * src/NetworkManagerDevice.c
  12226. - (nm_device_deactivate): some small cleanups
  12227. - (nm_device_set_user_key_for_network): deactivate the device
  12228. instead of just cancelling its activation
  12229. 2005-08-22 Dan Williams <dcbw@redhat.com>
  12230. Noticed by Bill Moss <bmoss@clemson.edu>
  12231. * src/NetworkManagerDevice.c
  12232. - (nm_device_wireless_scan): fix scan timeout, we were
  12233. waiting way too long for scans to complete
  12234. 2005-08-22 Dan Williams <dcbw@redhat.com>
  12235. Patch from j@bootlab.org:
  12236. * src/backends/NetworkManagerDebian.c
  12237. - Make the Debian backend work for static IP again
  12238. 2005-08-20 Christopher Aillon <caillon@redhat.com>
  12239. * gnome/applet/other-network-dialog.c:
  12240. The "Create New Network" and "Connect to Other Network"
  12241. dialogs share alot of code, but shouldn't share a window
  12242. title. Give them different ones.
  12243. * gnome/applet/wireless-applet.glade:
  12244. * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
  12245. Some more minor UI tweaks.
  12246. 2005-08-19 Christopher Aillon <caillon@redhat.com>
  12247. * gnome/applet/other-network-dialog.c:
  12248. * gnome/applet/wireless-applet.glade:
  12249. Also need mnemonic widgets, and underline enabled.
  12250. 2005-08-19 Dan Williams <dcbw@redhat.com>
  12251. * vpn-daemons/vpnc/nm-vpnc-service.c
  12252. - (vpnc_watch_cb): remove no-longer-relevant comment
  12253. - (write_config_option): new function, helper to write
  12254. config options to vpnc's stdin
  12255. - (nm_vpnc_config_write): use the new helper, make the
  12256. code shorter
  12257. 2005-08-19 Christopher Aillon <caillon@redhat.com>
  12258. * gnome/applet/passphrase-dialog.c:
  12259. * gnome/applet/wireless-applet.glade:
  12260. Make the passphrase dialog response based, and treat
  12261. responses other than OK (such as Esc, [X]) as a cancel.
  12262. 2005-08-18 Christopher Aillon <caillon@redhat.com>
  12263. * initscript/Gentoo/NetworkManager:
  12264. * initscript/RedHat/NetworkManager:
  12265. * initscript/RedHat/NetworkManagerDispatcher:
  12266. * initscript/SUSE/networkmanager:
  12267. CVS remove these in place of .in replacements
  12268. * configure.in:
  12269. * initscript/Gentoo/NetworkManager.in:
  12270. * initscript/RedHat/NetworkManager.in:
  12271. * initscript/RedHat/NetworkManagerDispatcher.in:
  12272. * initscript/SUSE/networkmanager.in:
  12273. These scripts now are generated so they work still when
  12274. NM is built using a bindir other than /usr/bin
  12275. 2005-08-18 Dan Williams <dcbw@redhat.com>
  12276. * gnome/applet/main.c
  12277. - Revert previous change for --no-session since
  12278. --sm-disable does the same thing
  12279. 2005-08-18 Dan Williams <dcbw@redhat.com>
  12280. * gnome/applet/applet-dbus-info.c
  12281. - (nmi_dbus_create_error_message): new function
  12282. - (nmi_dbus_get_key_for_network): correctly use dbus error creation
  12283. functions. Also don't check for both device _and_ network before
  12284. asking for a user's key, because we may not have gotten all our
  12285. networks back from NM quite yet (due to the dbus pending calls
  12286. coming in later). Fixes a hang in NM/nm-applet.
  12287. * src/NetworkManagerDbus.c
  12288. - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
  12289. slightly more sane manner, even though we are still broken for
  12290. certain other error conditions.
  12291. - (nm_dbus_get_user_key_for_network): need to pass the network's essid
  12292. to the info-daemon too
  12293. * src/NetworkManagerDevice.c
  12294. - Fix some debug messages to be info messages instead
  12295. 2005-08-18 Dan Williams <dcbw@redhat.com>
  12296. * gnome/applet/main.c
  12297. - Add new "--no-session" parameter that disables applet
  12298. session management, ie for testing
  12299. 2005-08-18 Christopher Aillon <caillon@redhat.com>
  12300. * gnome/applet/other-network-dialog.c:
  12301. * gnome/applet/wireless-applet.glade: More mnemonics
  12302. 2005-08-17 Robert Love <rml@novell.com>
  12303. * initscript/SUSE/networkmanager: update
  12304. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12305. * Tag NM_0_4_1_RELEASE
  12306. 2005-08-17 Christopher Aillon <caillon@redhat.com>
  12307. * gnome/applet/applet.c: More translatable string cleanup
  12308. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12309. * gnome/applet/applet-dbus-info.c
  12310. - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
  12311. from the dbus message, which tells us to unconditionally
  12312. ask the user for a new key. Otherwise, we pull the key from
  12313. the keyring and return it. If we fail to get the key from the
  12314. keyring, we ask the user for a new key.
  12315. - (nmi_dbus_get_network_key): new function to grab the key for
  12316. an essid from the keyring.
  12317. - (nmi_dbus_get_network_properties): don't access the keyring here.
  12318. Also, don't return any key in the dbus message.
  12319. * src/NetworkManagerDbus.[ch]
  12320. - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
  12321. indicate that we unconditionally want a new key. This function
  12322. is now also used to get keys from the info-daemon which are
  12323. pre-stored, not just for asking the user for a new key. The
  12324. "new_key" parameter indicates whether or not we wish to ask the
  12325. user for a new key.
  12326. - (nm_dbus_get_network_data_cb): we no longer get a key from the
  12327. info-daemon in the return message, so use NULL instead. The
  12328. key will be filled in at connect time by calling
  12329. nm_dbus_get_user_key_for_network()
  12330. * src/NetworkManagerDevice.c
  12331. - (nm_device_wireless_configure): update for "new_key" param to
  12332. nm_dbus_get_user_key_for_network(). We initially set new_key
  12333. to FALSE to see if we have a stored key in the info-daemon, but
  12334. if the connection is unsuccessful at this stage we request a
  12335. new one
  12336. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12337. * gnome/applet/icons/nm-no-connection.png
  12338. gnome/applet/icons/nm-device-wired.png
  12339. - Use Diana's new RJ45 connector icons
  12340. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12341. * src/NetworkManagerPolicy.c
  12342. - (nm_policy_device_change_check): clarify switching rules if
  12343. both new and old devices are valid; mainly, don't switch
  12344. away from user-requested wireless connection back to a wired
  12345. one
  12346. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12347. * gnome/applet/Makefile.am
  12348. - Relocate the applet to /usr/bin since it is no longer
  12349. executed by anything, but directly by the user
  12350. 2005-08-17 Dan Williams <dcbw@redhat.com>
  12351. Patch from Bill Moss <bmoss@clemson.edu>
  12352. * gnome/applet/applet-dbus-info.[ch]
  12353. - (nmi_save_network_info): save timestamp for network if it
  12354. was a change requested by the user
  12355. - (nmi_dbus_update_network_info): get user_requested from dbus
  12356. message and pass to nmi_save_network_info()
  12357. * gnome/applet/applet.c
  12358. - (nmwa_update_network_timestamp): remove
  12359. - (nmwa_menu_item_activate): don't set timestamp on networks
  12360. here, only after a successful connect in nmi_save_network_info()
  12361. * src/NetworkManagerDbus.[ch]
  12362. - (nm_dbus_update_network_info): pass user_requested into the
  12363. dbus message
  12364. * src/NetworkManagerPolicy.c
  12365. - (nm_policy_activation_finish): pass user_requested to
  12366. nm_dbus_update_network_info()
  12367. 2005-08-16 Robert Love <rml@novell.com>
  12368. * gnome/applet/applet.c: Better "Dial Up" menu item.
  12369. 2005-08-16 Robert Love <rml@novell.com>
  12370. * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
  12371. "Connection Information" menu item.
  12372. 2005-08-16 Dan Williams <dcbw@redhat.com>
  12373. Patch from j@bootlab.org
  12374. * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
  12375. * configure.in: allow specifying the path to dhcdbd
  12376. 2005-08-16 Robert Love <rml@novell.com>
  12377. Patch from j@bootlab.org
  12378. * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
  12379. src/backends/interface_parser.h: Debian dialup support.
  12380. 2005-08-16 Christopher Aillon <caillon@redhat.com>
  12381. * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
  12382. * gnome/applet/applet.c: Add some mnemonics for VPNC
  12383. * vpn-daemons/.cvsignore: fix this up a little bit
  12384. 2005-08-16 Robert Love <rml@novell.com>
  12385. * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
  12386. support.
  12387. 2005-08-16 Christopher Aillon <caillon@redhat.com>
  12388. * gnome/applet/applet.c: Split markup out of translatable strings
  12389. and clean up logic a little bit. (fixes #309012)
  12390. 2005-08-15 Christopher Aillon <caillon@redhat.com>
  12391. * gnome/vpn-properties/nm-vpn-properties.c:
  12392. * gnome/vpn-properties/nm-vpn-ui-interface.h:
  12393. * vpn-daemons/vpnc/properties/nm-vpnc.c:
  12394. Makeshift fix to remove newlines from translatable strings.
  12395. Note that we now return an allocated string, so callers of
  12396. get_confirmation_details () must now call g_free () on the
  12397. result. (fixes #309033).
  12398. 2005-08-12 Robert Love <rml@novell.com>
  12399. * gnome/applet/applet-dbus.c: remove newlines from translatable
  12400. strings--not needed here anyway. (fix b.g.o #309011)
  12401. * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
  12402. 2005-08-11 Robert Love <rml@novell.com>
  12403. * gnome/applet/applet.c: mark string as translatable.
  12404. 2005-08-11 Robert Love <rml@novell.com>
  12405. * initscript/SUSE/networkmanager: update.
  12406. 2005-08-11 Dan Williams <dcbw@redhat.com>
  12407. * src/nm-dhcp-manager.c
  12408. - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
  12409. an gateway returned from DHCP, try to use the address of the DHCP
  12410. server as the gateway instead. Found by Ralf Ertzinger.
  12411. 2005-08-10 Robert Love <rml@novell.com>
  12412. * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
  12413. wait for it on exit; call exit() in nmwa_destroy() to jump ship.
  12414. 2005-08-10 Dan Williams <dcbw@redhat.com>
  12415. Patch from Bill Moss <bmoss@clemson.edu>
  12416. * Consolidate writes of access point information updates to the info daemon
  12417. so that we only do it when the connection to the access point was
  12418. successful. Also consolidates updates to GConf in the Gnome applet.
  12419. * src/nm-netlink-monitor.c
  12420. - Silence compile warning when calling g_object_new()
  12421. 2005-08-08 Dan Williams <dcbw@redhat.com>
  12422. Patch from Steev <steev@steev.net>:
  12423. * src/backends/NetworkManagerGentoo.c
  12424. - Stub new dialup backend functions
  12425. 2005-08-08 Dan Williams <dcbw@redhat.com>
  12426. Patch from Colin Slater:
  12427. * src/backends/NetworkManagerGentoo.c
  12428. - (nm_system_update_dns): Fix exit status check for restarting
  12429. nscd
  12430. 2005-08-05 Robert Love <rml@novell.com>
  12431. * NetworkManager.h,
  12432. gnome/applet/applet-dbus-devices.c,
  12433. gnome/applet/applet-dbus-devices.h,
  12434. gnome/applet/applet-dbus.c,
  12435. gnome/applet/applet.c,
  12436. gnome/applet/applet.h,
  12437. src/NetworkManager.c,
  12438. src/NetworkManagerMain.h,
  12439. src/NetworkManagerSystem.h,
  12440. src/backends/NetworkManagerRedHat.c,
  12441. src/backends/NetworkManagerSuSE.c,
  12442. src/nm-dbus-nm.c: basic dialup support using distro infrastructure
  12443. 2005-08-05 Robert Love <rml@novell.com>
  12444. * gnome/applet/other-network-dialog.c: default the adhoc network to the
  12445. machine's hostname to make adhoc creation idiot-proof.
  12446. 2005-08-04 Robert Love <rml@novell.com>
  12447. * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
  12448. freed.
  12449. 2005-08-04 Dan Williams <dcbw@redhat.com>
  12450. * gnome/applet/applet-dbus-info.c
  12451. gnome/applet/applet-dbus-info.h
  12452. - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
  12453. to store key, key type, and auth method rather than just auth method
  12454. - (nmi_dbus_update_network_info): new function
  12455. - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
  12456. * gnome/applet/passphrase-dialog.c
  12457. - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
  12458. of saving the info ourselves
  12459. * gnome/libnm_glib/libnm_glib.c
  12460. - Remove the stupid version check for dbus
  12461. * src/NetworkManagerAP.c
  12462. src/NetworkManagerAP.h
  12463. - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
  12464. * src/NetworkManagerDbus.c
  12465. src/NetworkManagerDbus.h
  12466. - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
  12467. more than just the auth method
  12468. * src/NetworkManagerDevice.c
  12469. - Update network info at the appropriate times
  12470. 2005-07-29 Ray Strode <rstrode@redhat.com>
  12471. * src/NetworkManager.c (nm_info_handler): don't use input as format
  12472. string (Spotted by Ian Jackson).
  12473. 2005-07-27 Dan Williams <dcbw@redhat.com>
  12474. * src/nm-dbus-nm.c
  12475. src/nm-dbus-net.c
  12476. - Random cleanups of spacing
  12477. * gnome/applet/applet.h
  12478. gnome/applet/other-network-dialog.c
  12479. gnome/applet/passphrase-dialog.c
  12480. - Conslidate usage of NMWAEncryptionKeyTypes enum
  12481. Patch from Bill Moss:
  12482. - Make Other Wireless Networks work again with encryption keys
  12483. 2005-07-26 Dan Williams <dcbw@redhat.com>
  12484. Patch from Steev <steev@steev.net>:
  12485. * src/backends/NetworkManagerGentoo.c
  12486. src/backends/Makefile.am
  12487. - Fix up Gentoo backend
  12488. 2005-07-26 Robert Love <rml@novell.com>
  12489. * src/backends/NetworkManagerSuSE.c: misc. cleanup
  12490. 2005-07-25 Robert Love <rml@novell.com>
  12491. * gnome/applet/applet.c: make the "Wired" menu item a radio button,
  12492. in the same group as the wireless networks, since they are all
  12493. mutually exclusive.
  12494. 2005-07-24 Ray Strode <rstrode@redhat.com>
  12495. * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
  12496. remove unneeded NULL arg from g_object_new(). Any
  12497. warnings caused by not having the extra NULL are just a
  12498. result of a bug in glib 2.7.0 - 2.7.2.
  12499. 2005-07-22 Robert Love <rml@novell.com>
  12500. * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
  12501. 2005-07-22 Robert Love <rml@novell.com>
  12502. * src/nm-netlink-monitor.c: g_object_new() needs at least three
  12503. parameters (gcc 4.0.2 warning fix).
  12504. 2005-07-18 Robert Love <rml@novell.com>
  12505. Suggested by Aaron Bockover (abockover@novell.com)
  12506. * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
  12507. s/Ascii/ASCII
  12508. * gnome/applet/passphrase-dialog.c: ditto
  12509. * gnome/applet/wireless-applet.glade: ditto
  12510. 2005-07-13 Dan Williams <dcbw@redhat.com>
  12511. Patch from Ray Strode <halfline@gmail.com>
  12512. * vpn-daemons/vpnc/nm-vpnc-service.c
  12513. - Don't let vpnc daemonize, fixes some races with PID file reading
  12514. 2005-07-13 Dan Williams <dcbw@redhat.com>
  12515. Patch from Ray Strode <halfline@gmail.com>
  12516. * Random cleanups for strict CFLAGS
  12517. 2005-07-07 Dan Williams <dcbw@redhat.com>
  12518. Patch from Derek Atkins <warlord@MIT.EDU>
  12519. * src/nm-dbus-net.c:
  12520. - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
  12521. 2005-07-07 Dan Williams <dcbw@redhat.com>
  12522. Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
  12523. * src/backends/NetworkManagerGentoo.c
  12524. - Gentoo backend Static IP nameserver fixes
  12525. - General Gentoo backend goodness
  12526. 2005-07-07 Dan Williams <dcbw@redhat.com>
  12527. Patch from Bastien Nocera:
  12528. * gnome/applet/applet.c
  12529. - Fix up error reporting when icons or glade files are missing
  12530. 2005-07-07 Robert Love <rml@novell.com>
  12531. * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
  12532. are not any VPN connections above it.
  12533. 2005-07-07 Robert Love <rml@novell.com>
  12534. * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
  12535. 2005-07-05 Robert Love <rml@novell.com>
  12536. * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
  12537. zero.
  12538. 2005-07-05 Robert Love <rml@novell.com>
  12539. * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
  12540. on wired or unencrypted wireless.
  12541. 2005-07-01 Robert Love <rml@novell.com>
  12542. * src/NetworkManagerSystem.c: Print the error via strerror().
  12543. 2005-06-30 Robert Love <rml@novell.com>
  12544. * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
  12545. then exit if the glade file is not found. currently the application
  12546. just hangs.
  12547. 2005-06-30 Robert Love <rml@novell.com>
  12548. * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
  12549. explicitly up all interfaces on wake from sleep.
  12550. 2005-06-30 Robert Love <rml@novell.com>
  12551. * gnome/applet/applet.c: Add right-click menu item "Connection Info"
  12552. with information about the currently active connection.
  12553. * gnome/applet/applet.h: (ditto)
  12554. * gnome/applet/wireless-applet.glade: (ditto), new file
  12555. 2005-06-30 Robert Love <rml@novell.com>
  12556. * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
  12557. * src/nm-dbus-nm.c: print when we sleep and wake up.
  12558. * gnome/applet/menu-items.c: whitespace, misc. cleanup.
  12559. * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
  12560. in /sbin unless D-BUS is, folks).
  12561. * README: update to reflect nm-applet replacing NetworkManagerInfo.
  12562. 2005-06-27 Robert Love <rml@novell.com>
  12563. * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
  12564. case.
  12565. 2005-06-27 Robert Love <rml@novell.com>
  12566. * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
  12567. items radios.
  12568. 2005-06-26 Robert Love <rml@novell.com>
  12569. * src/NetworkManagerDevice.c: be specific about which device in
  12570. nm_info() message.
  12571. 2005-06-23 Adam Weinberger <adamw@gnome.org>
  12572. * src/nm-netlink-monitor.c: correct spelling error.
  12573. 2005-06-23 Robert Love <rml@novell.com>
  12574. * gnome/applet/applet-dbus-info.c: gnome keyring support!
  12575. * gnome/applet/passphrase-dialog.c: more of that keyring!
  12576. 2005-06-23 Robert Love <rml@novell.com>
  12577. * configure.in: remove extraneous GNOMEKEYRING directives.
  12578. * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
  12579. * gnome/applet/applet.c: nmwa_icons_init: make style local.
  12580. * gnome/applet/passphrase-dialog.c: whitespace.
  12581. 2005-06-23 Robert Love <rml@novell.com>
  12582. * src/NetworkManagerDevice.c: division in assignment was flipped.
  12583. 2005-06-23 David Zeuthen <david@fubar.dk>
  12584. * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
  12585. signal to the child to indicate that we got what we wanted when we
  12586. see two new-lines right after each other.
  12587. (nmwa_vpn_request_password): Pass a structure with several members
  12588. instead of just the passwords
  12589. 2005-06-23 Dan Williams <dcbw@redhat.com>
  12590. * src/NetworkManager.c
  12591. src/NetworkManagerMain.h
  12592. - (nm_get_hal_ctx): new function, move Hal initialization code here
  12593. - (nm_hal_init): new function, init libhal context then add devices
  12594. - (nm_hal_deinit): new function, clean up libhal context
  12595. - (nm_data_free): Move Hal cleanup here
  12596. - (main): check whether Hal is running, and if so, get a list of
  12597. network devices from it
  12598. * src/NetworkManagerDbus.c
  12599. - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
  12600. and when it appears, get a list of network devices from it. If
  12601. Hal goes away, clean up the libhal context
  12602. 2005-06-22 Robert Love <rml@novell.com>
  12603. * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
  12604. permissions of scripts before executing.
  12605. 2005-06-21 Robert Love <rml@novell.com>
  12606. * initscript/SUSE/networkmanager: update.
  12607. * src/backends/NetworkManagerSuSE.c: cleanup.
  12608. 2005-06-21 Robert Love <rml@novell.com>
  12609. * gnome/applet/applet.c: use menu mnemonics.
  12610. * gnome/applet/menu-items.c: (ditto)
  12611. 2005-06-21 Robert Love <rml@novell.com>
  12612. * applet/applet-dbus-devices.c: mark non-static functions static.
  12613. * applet/applet-dbus-vpn.c: (ditto)
  12614. * applet/applet.c: (ditto)
  12615. * applet/nm-device.h: (ditto)
  12616. * applet/other-network-dialog.c: (ditto)
  12617. * applet/passphrase-dialog.c: (ditto)
  12618. * NetworkManager.c: (ditto)
  12619. * NetworkManagerDbus.c: (ditto)
  12620. * NetworkManagerDevice.c: (ditto)
  12621. * NetworkManagerPolicy.c: (ditto)
  12622. * NetworkManagerUtils.c: (ditto)
  12623. * NetworkManagerWireless.c: (ditto)
  12624. * NetworkManagerWireless.h: (ditto)
  12625. * nm-netlink-monitor.c: (ditto)
  12626. * applet/applet-dbus-info.c: (ditto), add FIXME's.
  12627. * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
  12628. * autoip.c: include autoip.h.
  12629. * autoip.h: new file. define get_autoip().
  12630. * nm-netlink-monitor.h: define nm_netlink_close_connection().
  12631. * NetworkManagerDbus.h: remove duplicate definitions.
  12632. 2005-06-20 Robert Love <rml@novell.com>
  12633. * Makefile.am: Add missing intltool-foo.in generated files to
  12634. EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
  12635. with the start of stuff to cleanup on 'distclea'.
  12636. * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
  12637. stuff right and 'distcheck' works.
  12638. * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
  12639. we keep it, we need to add all of examples/* to EXTRA_DIST and do
  12640. Makefile.am for each. And systray/Makefile needs to be redone.
  12641. 2005-06-19 Dan Williams <dcbw@redhat.com>
  12642. * src/NetworkManagerDevice.c
  12643. - (nm_device_wireless_process_scan_results): scan every 20s when
  12644. disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
  12645. 2005-06-19 Dan Williams <dcbw@redhat.com>
  12646. * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
  12647. 2005-06-18 Ray Strode <rstrode@redhat.com>
  12648. * src/nm-netlink-monitor.c
  12649. (nm_netlink_monitor_event_handler): check for the presence
  12650. of either error condition not both.
  12651. (nm_netlink_monitor_error_handler): emit error signal if
  12652. error occurs.
  12653. (nm_netlink_monitor_event_handler),
  12654. (nm_netlink_monitor_error_handler),
  12655. (nm_netlink_monitor_disconnect_handler): if an
  12656. assertion fails disconnect the event handler to prevent
  12657. infinite loops.
  12658. * src/nm-netlink-monitor.h: add new error condition
  12659. NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
  12660. 2005-06-18 Ray Strode <rstrode@redhat.com>
  12661. * src/nm-netlink-monitor.c
  12662. (nm_netlink_monitor_event_handler): remove bogus < 0
  12663. check on unsigned value and return early if the kernel
  12664. didn't send any bytes.
  12665. 2005-06-17 Robert Love <rml@novell.com>
  12666. * initscript/SUSE/networkmanager: Change the Provides and default
  12667. run levels
  12668. 2005-06-16 Dan Williams <dcbw@redhat.com>
  12669. Patch from Robert Love:
  12670. * gnome/applet/applet.c
  12671. - Beautify some applet menu item names
  12672. 2005-06-17 David Zeuthen <davidz@redhat.com>
  12673. * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
  12674. API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
  12675. Also add new methods can_export, import_file and export.
  12676. * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
  12677. to the main UI
  12678. * gnome/vpn-properties/nm-vpn-properties.c:
  12679. Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
  12680. nm-vpn-ui-interface.h.
  12681. (update_edit_del_sensitivity): Also update "Export" sensitivity
  12682. (add_vpn_connection): Also add new SVC_NAME column
  12683. (import_settings): New function
  12684. (retrieve_data_from_selected_connection): New function
  12685. (edit_cb): Use retrieve_data_from_selected_connection to simplify
  12686. this function
  12687. (export_cb): New function
  12688. (init_app): Also setup the "export" widget
  12689. (main): Support the --import-service and --import-file commandline
  12690. arguments
  12691. * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
  12692. D-BUS 0.34
  12693. 2005-06-16 Dan Williams <dcbw@redhat.com>
  12694. Patch from Robert Love:
  12695. * gnome/applet/menu-items.c
  12696. - (network_menu_item_new): pass -1 as wireless network
  12697. menu items height size request rather than ascent / 2
  12698. 2005-06-16 Dan Williams <dcbw@redhat.com>
  12699. * Clean up wording in Wireless Scan Methods menu items and constants
  12700. 2005-06-16 Robert Love <rml@novell.com>
  12701. * po/POTFILES.in
  12702. - remove gtkcell* files
  12703. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12704. Patch from Robert Love: make the applet stetic
  12705. * gnome/applet/Makefile.am
  12706. - Don't compile the gtkcellview and gtkcellrendererprogress files
  12707. * gnome/applet/gtkcellview.h
  12708. gnome/applet/gtkcellview.c
  12709. gnome/applet/gtkcellrendererprogress.h
  12710. gnome/applet/gtkcellrendererprogress.c
  12711. - Removed
  12712. * gnome/applet/menu-items.c
  12713. - Progress bars are 5:1 size ratio
  12714. - Use GTK progress bars rather than internal ones
  12715. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12716. Patch from Robert Love:
  12717. * initscript/SUSE/networkmanager
  12718. - Fix typo
  12719. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12720. * src/backends/NetworkManagerSuSE.c
  12721. src/backends/NetworkManagerRedHat.c
  12722. src/backends/NetworkManagerDebian.c
  12723. - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
  12724. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12725. * src/backends/NetworkManagerDebian.c
  12726. - Add nm_system_device_get_use_dhcp() to debian backend
  12727. Patch from Kay Sievers:
  12728. * src/backends/NetworkManagerSuSE.c
  12729. - Update debian backend for static IP nameservers
  12730. * src/NetworkManagerDevice.c
  12731. - Actually set the device to use static IP or DHCP rather
  12732. than always DHCP
  12733. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12734. Patch from Thom May:
  12735. * src/backends/NetworkManagerDebian.c
  12736. - Update debian backend for static IP nameservers
  12737. 2005-06-15 Dan Williams <dcbw@redhat.com>
  12738. Patches from Robert Love:
  12739. * gnome/applet/wireless-applet.glade
  12740. - Tighten up wording
  12741. * src/NetworkManagerDevice.c
  12742. - Remove misplaced ';'
  12743. * configure.in
  12744. initscript/Makefile.am
  12745. initscript/SUSE/Makefile.am
  12746. initscript/SUSE/networkmanager
  12747. - Add SUSE initscript
  12748. 2005-06-12 David Zeuthen <davidz@redhat.com>
  12749. * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
  12750. * gnome/vpn-properties/nm-vpn-properties.glade: New file
  12751. * gnome/vpn-properties/nm-vpn-properties.c: New file
  12752. * gnome/vpn-properties/Makefile.am: New file
  12753. * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
  12754. array of passwords
  12755. * src/vpn-manager/nm-vpn-manager.c
  12756. (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
  12757. instead of just a single one
  12758. * src/vpn-manager/nm-dbus-vpn.c:
  12759. (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
  12760. here
  12761. (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
  12762. * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
  12763. Change the interface here to give a list of passwords. Also, don't
  12764. require username, but do require service
  12765. * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
  12766. the binary for the auth-dialog and use that instead of putting up a
  12767. dialog asking for a single password
  12768. * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
  12769. however do remember the service
  12770. * gnome/applet/main.c (main): Setup i18n
  12771. * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
  12772. connection to '%s'" to the tooltip if we are connected using VPN
  12773. (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
  12774. key to determine whether we the auth-dialog needs to
  12775. reprompt. Also cope with the fact that the auth-dialog now returns
  12776. an array of passwords.
  12777. (nmwa_menu_configure_vpn_item_activate): New handler for
  12778. "Configure VPN..." menu item
  12779. (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
  12780. (is_vpn_available): New function to determine if we got any
  12781. NM-compatible VPN software installed
  12782. (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
  12783. items only if we have NM-compatible VPN software installed
  12784. (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
  12785. logic for detecting when VPN connections are removed
  12786. * gnome/applet/applet-dbus.h: Removed the prototypes for
  12787. nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
  12788. since these are defined elsewhere
  12789. * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
  12790. function used to keep track of whether the last attempt succeded
  12791. (nmwa_dbus_filter): Update last_attempt according to whether the
  12792. VPN connection could be established or not
  12793. * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
  12794. Change prototype to take an array of passwords, not just a single
  12795. password
  12796. * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
  12797. update service, not user
  12798. (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
  12799. dbus_active_vpn_name is not NULL before using it
  12800. (nmwa_dbus_vpn_activate_connection): Send the passwords as a
  12801. string array instead of assuming a single password
  12802. * gnome/applet/applet-dbus-info.c:
  12803. (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
  12804. user name; don't read from gconf
  12805. * gnome/applet/Makefile.am: Also export SYSCONFDIR and
  12806. VPN_NAME_FILES_DIR
  12807. * gnome/Makefile.am (SUBDIRS): Add vpn-properties
  12808. * configure.in: Add checks for gmodule-2.0.
  12809. Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
  12810. in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
  12811. projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
  12812. for details
  12813. * vpn-daemons/Makefile.am: Removed
  12814. * vpn-daemons/README: New file to describe extensions points for VPN
  12815. software
  12816. 2005-06-10 Dan Williams <dcbw@redhat.com>
  12817. * src/backends/NetworkManagerRedHat.c
  12818. - (get_current_profile_name): new function, grab current network profile name from
  12819. /etc/sysconfig/network
  12820. - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
  12821. update an IP4 Config structure's settings from it
  12822. - (nm_system_device_get_system_config): if we're using static IP on this device,
  12823. get DNS info from current network profile
  12824. 2005-06-09 Dan Williams <dcbw@redhat.com>
  12825. Patch from Robert Love:
  12826. * src/NetworkManagerDevice.c
  12827. src/NetworkManagerUtils.c
  12828. - 64-bit build fixes
  12829. 2005-06-09 Dan Williams <dcbw@redhat.com>
  12830. Patch from Kay Sievers and Robert Love:
  12831. * configure.in
  12832. src/backends/Makefile.am
  12833. src/backends/NetworkManagerSuSE.c
  12834. - Add SuSE support
  12835. 2005-06-09 Dan Williams <dcbw@redhat.com>
  12836. * NetworkManager.h
  12837. - Add NMWirelessScanMethod enum for scan methods
  12838. * gnome/applet/applet-dbus-devices.c
  12839. - (nmwa_dbus_update_scanning_enabled_cb): remove
  12840. - (nmwa_dbus_update_scanning_enabled): remove
  12841. - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
  12842. since it got removed
  12843. - (nmwa_dbus_enable_scanning): remove
  12844. * gnome/applet/applet-dbus-info.c
  12845. - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
  12846. update the wireless scanning method from NMI
  12847. - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
  12848. method value to NetworkManager
  12849. - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
  12850. * gnome/applet/applet-dbus-info.h
  12851. - Add prototype for nmi_dbus_signal_update_scan_method
  12852. * gnome/applet/applet.c
  12853. - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
  12854. Wireless Scanning menu based on current wireless scan method
  12855. - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
  12856. signal for Wireless Scanning menu items, tell NetworkManager the new method
  12857. and update our menu items to make sure the right one is checked
  12858. - (nmwa_set_scanning_enabled_cb): remove
  12859. - (nmwa_context_menu_update): remove references to pause_scanning_item
  12860. - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
  12861. Scanning menu item
  12862. - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
  12863. from GConf
  12864. - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
  12865. so we get notified of preference values too
  12866. - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
  12867. * gnome/applet/applet.h
  12868. - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
  12869. - Add wireless scan method member to applet data
  12870. - Remove pause_scanning_item, add Wireless Scanning submenu
  12871. * src/NetworkManager.c
  12872. - (nm_data_new): default to NM_SCAN_METHOD_ON
  12873. - (main): grab scanning method from NMI if we can
  12874. * src/NetworkManagerDbus.c
  12875. - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
  12876. nm_dbus_update_wireless_scan_method()
  12877. - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
  12878. from NMI
  12879. - (nm_dbus_nmi_is_running): redundant function, removed
  12880. - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
  12881. when NMI comes back
  12882. * src/NetworkManagerDevice.c
  12883. - (nm_device_is_activated): return TRUE if the device is activated
  12884. - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
  12885. and we are activated
  12886. * src/nm-dbus-nm.c
  12887. - (nm_dbus_nm_set_scanning_enabled): removed
  12888. - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
  12889. - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
  12890. 2005-06-09 Dan Williams <dcbw@redhat.com>
  12891. * NetworkManager.h
  12892. src/vpn-manager/nm-vpn-service.c
  12893. - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
  12894. 2005-05-27 Dan Williams <dcbw@redhat.com>
  12895. * vpn-daemons/vpnc/nm-vpnc-service.c
  12896. - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
  12897. Should fix the bug where the VPN connection terminates the first time.
  12898. 2005-05-20 Dan Williams <dcbw@redhat.com>
  12899. * NetworkManager.h
  12900. - Differentiate VPN config signals between bad VPN config options
  12901. and bad IP config
  12902. * gnome/applet/applet-dbus-info.h
  12903. - Add prototypes for wireless network and vpn connection update functions
  12904. * gnome/applet/applet-dbus.c
  12905. - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
  12906. * gnome/applet/applet.c
  12907. - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
  12908. error signals
  12909. - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
  12910. propogation to NetworkManager
  12911. - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
  12912. notify propogation to NetworkManager
  12913. * src/NetworkManagerDbus.c
  12914. - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
  12915. are updating so a network can be removed from it if necessary
  12916. * src/vpn-manager/nm-vpn-manager.c
  12917. - (nm_vpn_manager_process_signal): trap new vpn config error signals
  12918. * vpn-daemons/vpnc/nm-vpnc-service.c
  12919. - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
  12920. - (nm_vpnc_dbus_signal_launch_failed): remove
  12921. - (nm_vpnc_dbus_signal_connect_failed): remove
  12922. - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
  12923. - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
  12924. - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
  12925. for new generalized error signal function, remove config file stuff
  12926. - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
  12927. we can write configuration options to it
  12928. - (nm_vpnc_config_file_generate): removed
  12929. - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
  12930. - (nm_vpnc_config_options_validate): validate the config options we receive
  12931. from NetworkManager to block potential exploits
  12932. - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
  12933. starting vpnc
  12934. - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
  12935. to NetworkManager
  12936. 2005-05-16 Dan Williams <dcbw@redhat.com>
  12937. * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
  12938. - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
  12939. is not "connect"
  12940. 2005-05-16 Dan Williams <dcbw@redhat.com>
  12941. Patch from Tomislav Vujec <tvujec@redhat.com>
  12942. * gnome/applet/applet-dbus-info.c
  12943. - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
  12944. GConf and pass them to NetworkManager. New key is 'routes' under
  12945. the VPN connection, and should be a string list
  12946. * src/NetworkManagerSystem.c
  12947. - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
  12948. set them on the device when we set the rest of the VPN config. Ensure
  12949. they are in the correct format since they are passed directly to the
  12950. command line.
  12951. * src/backends/NetworkManagerRedHat.c
  12952. src/backends/NetworkManagerDebian.c
  12953. - (nm_system_device_add_route_via_device_with_iface): new function
  12954. * src/vpn-manager/nm-dbus-vpn.c
  12955. - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
  12956. * src/vpn-manager/nm-vpn-manager.c
  12957. - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
  12958. them into the IP4 config functions
  12959. 2005-05-15 Dan Williams <dcbw@redhat.com>
  12960. From Filip Miletic:
  12961. * po/sr.po
  12962. po/sr@Latn.po
  12963. configure.in
  12964. - Serbian translation added
  12965. 2005-05-15 Dan Williams <dcbw@redhat.com>
  12966. * dispatcher-daemon/NetworkManagerDispatcher.c
  12967. - (main): sync arguments with NetworkManager and the applet, now use
  12968. "--no-daemon" rather than "daemon=no"
  12969. - (nmd_print_usage): Fix script path in usage message
  12970. 2005-05-15 Dan Williams <dcbw@redhat.com>
  12971. * src/NetworkManagerDevice.[ch]
  12972. src/NetworkManagerPolicy.c
  12973. src/NetworkManager.c
  12974. src/nm-dbus-nm.c
  12975. - Remove the "just_added" parameter from nm_device_deactivate(). We no
  12976. longer send the DeviceNoLongerActive signal unconditionally, but only
  12977. when the device is actually active.
  12978. * dispatcher-daemon/NetworkManagerDispatcher.c
  12979. - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
  12980. and simplify the logic
  12981. - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
  12982. we free it later on
  12983. * initscript/RedHat/Makefile.am
  12984. initscript/RedHat/NetworkManagerDispatcher
  12985. - Add initscript for NetworkManagerDispatcher
  12986. Patch from Bill Moss:
  12987. * dispatcher-daemon/NetworkManagerDispatcher.c
  12988. - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
  12989. * src/NetworkManagerDbus.c
  12990. - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
  12991. and DeviceNowActive gets signaled, then the device has a new IP address
  12992. anyway. There's no need for a separate signal.
  12993. * src/NetworkManagerDevice.c
  12994. - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
  12995. * src/NetworkManagerPolicy.c
  12996. - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
  12997. activates successfully. This kind of went missing when I reworked the
  12998. activation code.
  12999. 2005-05-15 Dan Williams <dcbw@redhat.com>
  13000. * configure.in
  13001. - Check for dhcdbd and error if its not found
  13002. * src/dhcp-manager/Makefile.am
  13003. src/dhcp-manager/nm-dhcp-manager.c
  13004. - Use path to dhcdbd that configure found
  13005. 2005-05-14 Dan Williams <dcbw@redhat.com>
  13006. * gnome/applet/nm-device.c
  13007. - (network_device_sort_wireless_networks, sort_networks_function): New functions to
  13008. sort wireless networks alphabetically
  13009. * gnome/applet/applet-dbus-devices.c
  13010. - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
  13011. before copying them over to the GUI
  13012. 2005-05-14 Dan Williams <dcbw@redhat.com>
  13013. * src/NetworkManager.c
  13014. - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
  13015. fixes a deadlock on shutdown with a VPN connection active. This function locks
  13016. the device list, as does nm_get_active_device() which is called from
  13017. nm_vpn_manager_deactivate_vpn_connection().
  13018. 2005-05-14 Dan Williams <dcbw@redhat.com>
  13019. * NetworkManager.h
  13020. - Add signals for VPN Launch and Connect failures
  13021. * gnome/applet/applet-dbus.c
  13022. - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
  13023. * gnome/applet/applet.c
  13024. - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
  13025. function to handle all VPN failure messages
  13026. - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
  13027. function to hanlde all VPN failure messages
  13028. - (show_warning_dialog): work around focus-stealing prevention
  13029. * gnome/applet/other-network-dialog.c
  13030. gnome/applet/passphrase-dialog.c
  13031. - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
  13032. problem where it never enabled for ASCII Key and Hex Key types
  13033. * gnome/applet/wireless-applet.glade
  13034. - Add window title to Other Wireless Network Dialog
  13035. * src/vpn-manager/nm-dbus-vpn.c
  13036. - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
  13037. function to handle all VPN failure messages
  13038. * src/vpn-manager/nm-vpn-manager.c
  13039. - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
  13040. * vpn-daemons/vpnc/nm-vpnc-service.c
  13041. - (nm_vpnc_dbus_signal_launch_failed): new function
  13042. - (nm_vpnc_dbus_signal_connect_failed): new function
  13043. - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
  13044. - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
  13045. - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
  13046. - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
  13047. 2005-05-11 Dan Williams <dcbw@redhat.com>
  13048. * vpn-daemons/vpnc/nm-vpnc-service.c
  13049. - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
  13050. - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
  13051. file exists before trying to write it out.
  13052. 2005-05-10 Dan Williams <dcbw@redhat.com>
  13053. * gnome/applet/applet-dbus-device.c
  13054. - (nmwa_dbus_set_device): remove check for valid key and key type, which
  13055. prevented just entering ESSID and leaving key and key type up to
  13056. NetworkManager (which should have them already cached)
  13057. 2005-05-08 Dan Williams <dcbw@redhat.com>
  13058. * src/NetworkManagerPolicy.c
  13059. - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
  13060. - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
  13061. fix a situation where NM is told to terminate and the device stops activation,
  13062. but the main thread isn't aware of that because it would never have run
  13063. nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
  13064. had already quit.
  13065. * src/NetworkManagerDevice.c
  13066. - (nm_device_probe_wired_link_state): cosmetic fixes
  13067. - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
  13068. we've failed to activate or been canceled.
  13069. - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
  13070. 2005-05-08 Dan Williams <dcbw@redhat.com>
  13071. * src/NetworkManagerWireless.c
  13072. - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
  13073. value of WEXT quality structures, and add a debug message when we cannot
  13074. determine any quality % at all
  13075. 2005-05-08 Dan Williams <dcbw@redhat.com>
  13076. * src/dhcp-manager/nm-dhcp-manager.c
  13077. - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
  13078. it goes down.
  13079. 2005-05-06 Dan Williams <dcbw@redhat.com>
  13080. * gnome/applet/applet-dbus-device.c
  13081. gnome/applet/applet-dbus-info.c
  13082. gnome/applet/applet-dbus.c
  13083. gnome/applet/applet.c
  13084. gnome/applet/applet.h
  13085. - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
  13086. * gnome/applet/applet-dbus.c
  13087. - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
  13088. so we notice when wired device's carriers come back on. Should
  13089. fix issue with wired devices being grayed out even if the cable
  13090. is in, for devices that support carrier detection.
  13091. * gnome/applet/applet.c
  13092. - (nmwa_driver_notify): bash focus-stealing prevention in the face
  13093. - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
  13094. tooltip message
  13095. - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
  13096. Fix situation where applet wouldn't respond to menu selections
  13097. * src/NetworkManager.c
  13098. src/NetworkManagerDevice.c
  13099. src/NetworkManagerDbus.c
  13100. src/NetworkManagerDbus.h
  13101. - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
  13102. * src/NetworkManagerDbus.c
  13103. - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
  13104. Remove, no longer used or relevant
  13105. - (nm_dbus_signal_device_status_change): Better signal enum->string matching
  13106. - (nm_dbus_schedule_device_status_change_signal): add
  13107. * src/NetworkManagerDevice.c
  13108. - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
  13109. - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
  13110. ie don't deactivate them unless explicitly told to by the user. Also send
  13111. CARRIER_OFF / CARRIER_ON signals when link changes
  13112. - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
  13113. Don't print error message when device is no longer around
  13114. - (nm_device_deactivate): kill any current DHCP process attached to this device,
  13115. not just during activation
  13116. * src/NetworkManagerPolicy.c
  13117. - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
  13118. auto-device-selection.
  13119. - (nm_policy_device_change_check): Don't interrupt semi-supported devices
  13120. * src/NetworkManagerSystem.c
  13121. - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
  13122. is no longer present (Bill Moss)
  13123. * src/backends/shvar.c
  13124. - (svOpenFile): Open read-only to make SELinux happy
  13125. * src/backends/NetworkManagerRedHat.c
  13126. - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
  13127. the path to the ifcfg-* files
  13128. 2005-05-05 Dan Williams <dcbw@redhat.com>
  13129. * Expose activation stages to NetworkManager clients, like the applet
  13130. * Add Diana's progress icons to the applet, cued off NM activation stage
  13131. * Use more descriptive tooltips, cued off NM activation stage
  13132. 2005-05-05 Ray Strode <rstrode@redhat.com>
  13133. * src/nm-netlink-monitor.c:
  13134. - Use clear_event_source instead of g_nullify_pointer() again.
  13135. 2005-05-05 Dan Williams <dcbw@redhat.com>
  13136. * gnome/applet/main.c
  13137. - Fix session management so the applet is actually managed now
  13138. * gnome/applet/passphrase-dialog.c
  13139. - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
  13140. 2005-05-05 Dan Williams <dcbw@redhat.com>
  13141. Patch from Bill Moss:
  13142. * gnome/libnm_glib/libnm_glib.c
  13143. - Fix for dbus-0.33
  13144. 2005-05-05 Dan Williams <dcbw@redhat.com>
  13145. Suggestion from Bill Moss:
  13146. * src/NetworkManagerSystem.c
  13147. - (nm_system_device_set_up_down_with_iface): ignore ENODEV
  13148. * src/NetworkManager.c
  13149. - (nm_data_free): move destruction of the various managers after
  13150. release of device list, because deactivating and freeing a device
  13151. requires at least the named manager
  13152. - (nm_poll_and_update_wireless_link_state):
  13153. (nm_device_link_activated):
  13154. (nm_device_link_deactivated):
  13155. don't grab the device list lock when actually updating device
  13156. link status or strength, since nm_device_set_link_active()
  13157. needs to call nm_get_active_device(), which also locks the device list.
  13158. * src/NetworkManagerDevice.c
  13159. - (nm_device_set_link_active): if a device's link switches from off->on,
  13160. and it's wired, and the active device is wireless (or there is no
  13161. active device), activate the new device whose link just came on
  13162. - (link_to_specific_ap): try to smooth over intermittency in wireless links
  13163. my only calling the link to the current ap "failed" when more than 2
  13164. consecutive link checks have failed
  13165. 2005-05-04 Dan Williams <dcbw@redhat.com>
  13166. * src/NetworkManagerDevice.c
  13167. - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
  13168. but let link_to_specific_ap() do the locking where it needs
  13169. Patch from Bill Moss:
  13170. * src/NetworkManagerSystem.c
  13171. - Set MTU of VPN devices to 1412
  13172. 2005-05-04 Dan Williams <dcbw@redhat.com>
  13173. * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
  13174. * Fix some holes in device activation and retaining the currently connected
  13175. access point
  13176. 2005-05-03 Dan Williams <dcbw@redhat.com>
  13177. * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
  13178. This means that NetworkManager shouldn't have DHCP issues anymore. It also
  13179. means you need dhcdbd, which you can get here (get the latest one):
  13180. http://people.redhat.com/jvdias/dhcdbd/
  13181. Technically NetworkManager can use any DHCP daemon that uses the same DBUS
  13182. interface as dhcdbd.
  13183. * Rewrite device activation to facilitate the new DHCP infrastructure and
  13184. future improvements. Its now "activation request" based, ie there is a single
  13185. activation request composed of the device, access point, and other info which
  13186. follows the entire activation process. There are 5 stages of the activation
  13187. process which correspond to:
  13188. 1) Device preparation
  13189. 2) Device configuration (bring it up, set ESSID/Key/etc)
  13190. 3) IP Config Start (fire off DHCP if we're using it)
  13191. 4) IP Config Get (grab config from DHCP or static config files)
  13192. 5) IP Config Commit (set device's IP address, DNS, etc)
  13193. Note that there is no longer a "scanning" step, since the access point must
  13194. be known _before_ activation starts. If the access point drops out or does
  13195. not exist for some reason, the entire activation process fails and must be
  13196. restarted for a different access point or device.
  13197. Patch from Bill Moss:
  13198. * gnome/applet/applet.c
  13199. - Fix type of vpn_failure dialog -> vpn_banner dialog
  13200. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13201. * gnome/applet/applet-dbus-vpn.c
  13202. gnome/applet/applet.c
  13203. gnome/applet/applet.h
  13204. - Fix up active VPN handling so that we reliably know when a VPN
  13205. connection has been deactivated
  13206. * src/vpn-manager/nm-vpn-manager.c
  13207. - Remove duplicate VPNConnectionChange signal
  13208. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13209. Patch from Peter Jones:
  13210. * Remove usage of varargs to fix crashes on PPC (RH #154336)
  13211. Patch from Bill Moss:
  13212. * src/NetworkManagerSystem.c
  13213. - Fix checking of return value from ioctl()
  13214. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13215. * Fix choosing of wireless networks and "Other wireless network..." from the applet
  13216. * Warn and exit if icons cannot be found
  13217. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13218. Patch from Tom Parker:
  13219. * Update debian backend
  13220. 2005-04-27 Dan Williams <dcbw@redhat.com>
  13221. * Merge the applet and the info-daemon, and move the converged
  13222. applet under gnome/applet
  13223. * Move libnm_glib to gnome/libnm_glib
  13224. * Convert most dbus calls between the applet, info-daemon, and NM
  13225. into async calls
  13226. * Fix a few things valgrind noticed
  13227. * Make NM broadcast state more reliably
  13228. 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
  13229. * configure.in: Added ne in ALL_LINGUAS
  13230. 2005-04-15 Dan Williams <dcbw@redhat.com>
  13231. * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
  13232. code for dbus 0.2x versions
  13233. 2005-04-15 Dan Williams <dcbw@redhat.com>
  13234. Patches from Tom Parker:
  13235. - Fix memleaks
  13236. - Join with worker thread rather than polling for its exit
  13237. Patch from Bill Moss:
  13238. - Cull duplicate ESSIDs from the scan list, taking highest strength AP
  13239. 2005-04-15 Dan Williams <dcbw@redhat.com>
  13240. - Fixes to pass 'make distcheck'
  13241. 2005-04-15 Dan Williams <dcbw@redhat.com>
  13242. Initial VPN Support
  13243. - supports 'vpnc'
  13244. - reworks device IP configuration, backend files have changed and will need
  13245. to be updated for all distributions. I will try to do what I can for
  13246. them, but I cannot test them.
  13247. - Move named directory to src/named-manager
  13248. - Make backends directory self-contained
  13249. 2005-04-06 Dan Williams <dcbw@redhat.com>
  13250. Add debug code for socket/file descriptor leaks. We register every socket
  13251. that we open (except for stuff in dhcpcd/) for tracking, and print out the
  13252. list of sockets that we forgot to close on shutdown. This also consolidates
  13253. about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
  13254. 2005-04-06 Dan Williams <dcbw@redhat.com>
  13255. * dhcpcd/dhcpcd.c
  13256. - (dhcp_interface_free): fix a file descriptor leak that may have
  13257. caused network drivers to not unload due to refcounts > 0
  13258. 2005-04-04 Dan Williams <dcbw@redhat.com>
  13259. * panel-applet/NMWirelessAppletDbus.c
  13260. - (nmwa_dbus_call_nm_method): remove some commented code
  13261. * src/NetworkManagerAPList.[ch]
  13262. - (nm_ap_list_remove_ap_by_essid): new function
  13263. * src/NetworkManagerDevice.c
  13264. - (nm_device_wireless_force_use): remove access points from the ignore list
  13265. when the user forces them
  13266. * src/nm-dbus-device.c
  13267. - (nm_dbus_device_get_active_network): fix up escaping of object paths
  13268. 2005-04-04 Dan Williams <dcbw@redhat.com>
  13269. Patch from Tom Parker: include "nm-utils.h" for backend files that need it
  13270. 2005-04-04 Dan Williams <dcbw@redhat.com>
  13271. * src/NetworkManagerDevice.c:
  13272. - (nm_completion_scan_has_results): restore pre-completion-patch behavior
  13273. of only erroring after the second consecutive scan times out. Also
  13274. don't exit when the card requires more time than we can give it, just
  13275. log the event and continue.
  13276. 2005-04-01 Steve Murphy <murf@e-tools.com>
  13277. * configure.in: Added "rw" to ALL_LINGUAS.
  13278. 2005-04-01 Dan Williams <dcbw@redhat.com>
  13279. Perform scans during device activation, if needed. Both activation
  13280. and scans run in the same GMainContext. Therefore, if an access point
  13281. is not found by the time the device starts activation, it will not
  13282. be available until after activation. We now try to scan during
  13283. activation (in nm_wa_test) every 15s so that all available access
  13284. points are more likely to be found and available for the activation
  13285. procedure.
  13286. Also change nm_wireless_link_state_handle() to only update the "best"
  13287. AP if we are not forcing a device and if we are not about to change
  13288. state. This attempts to work around a race when forcing a device,
  13289. where the forced AP would get cleared out too soon by the link state
  13290. checking timeout in the main thread, and the activation attempt with
  13291. that AP would fail.
  13292. 2005-04-01 Dan Williams <dcbw@redhat.com>
  13293. * po/POTFILES.in
  13294. - Update with new translatables
  13295. 2005-03-31 Dan Williams <dcbw@redhat.com>
  13296. * panel-applet/NMWirelessAppletDbus.c
  13297. - Fix device names now that hal has changed device parenting for
  13298. network devices.
  13299. 2005-03-31 Dan Williams <dcbw@redhat.com>
  13300. Tighten up handling of wireless devices that don't support wireless
  13301. scanning (ie, Orinoco). Due to restructuring of code, these devices
  13302. hadn't been doing pseudo-scanning for a while either and would just
  13303. spin waiting for an access point. They are now manual devices where
  13304. the user must choose the access point from the menu every time. All
  13305. "allowed" access points are listed in the applet's menu regardless
  13306. of whether or not they can be seen by the card, since it can't scan
  13307. anyway.
  13308. * src/NetworkManager.c
  13309. - (nm_wireless_link_state_handle): new function, but only update
  13310. the "best" ap for non-scanning devices when its not activating,
  13311. and when no device is being forced on the card
  13312. - (nm_link_state_monitor): split wireless link state handling out
  13313. into separate function
  13314. * src/NetworkManagerDevice.c
  13315. - (nm_device_copy_allowed_to_dev_list): new function
  13316. - (nm_device_new): populate non-scanning cards' AP lists with
  13317. access points from the "allowed" list
  13318. - (nm_device_new): don't start a scanning timeout for devices that
  13319. can't scan
  13320. - (nm_device_activation_schedule_finish): new parameter, should be
  13321. the AP that failed to be connected to, pass it on to the
  13322. activation finish function in NetworkManagerPolicy.c
  13323. - (nm_device_activate_wireless): don't ever try to get a new AP
  13324. for non-scanning devices, just fail. The user must choose
  13325. a new access point manually.
  13326. - (nm_device_activate): grab the AP that failed connection and
  13327. pass it on
  13328. - (nm_device_update_best_ap): Clear the best AP if we don't have
  13329. a link to it, user must manually choose a new one
  13330. - (nm_device_do_pseudo_scan): remove function
  13331. - (nm_device_wireless_process_scan_results): remove bits for non-
  13332. scanning cards since they never get here
  13333. - (nm_device_wireless_scan): remove bits for non-scanning devices,
  13334. and fake the scan list for test devices a bit earlier
  13335. * src/NetworkManagerPolicy.c
  13336. - (nm_policy_activation_finish): use the failed_ap that we get
  13337. passed rather than getting the best_ap from the card, which
  13338. may have changed since we were scheduled
  13339. - (nm_policy_allowed_ap_list_update): for non-scanning devices,
  13340. update their scan list directly from the allowed list when
  13341. we get updates to the allowed list from NetworkManagerInfo
  13342. * src/NetworkManagerPolicy.h
  13343. - New member for failed access point in NMActivationResult
  13344. -------------------------------------
  13345. Driver Notification patch: notifies the user when their driver
  13346. sucks. Gives them the option to ignore further insertions
  13347. of the card that has the sucky driver.
  13348. * NetworkManager.h
  13349. - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
  13350. enum and replace it with NO_CARRIER_DETECT and
  13351. NO_WIRELESS_SCAN
  13352. * panel-applet/NMWirelessApplet.[ch]
  13353. - Merge essid.glade -> wireless-applet.glade
  13354. - Implement the "Your driver sucks" notification dialog
  13355. * panel-applet/NMWirelessAppletDbus.c
  13356. - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
  13357. - Grab hardware address for each device from NM too
  13358. - Check whether the driver for each device sucks or not whenever
  13359. a new device is noticed
  13360. * panel-applet/NMWirelessAppletOtherNetworkDialog.c
  13361. - Deal with stuff being in wireless-applet.glade now rather than essid.glade
  13362. * src/NetworkManager.c
  13363. - Fix a double-unref on device removal
  13364. * src/NetworkManagerUtils.c
  13365. - Set appropriate driver support level on a device that doesn't
  13366. support scanning or carrier detection
  13367. * src/nm-dbus-device.c
  13368. - New "getHWAddress" dbus method on devices
  13369. - getSupportsCarrierDetect -> getDriverSupportLevel
  13370. 2005-03-31 Dan Williams <dcbw@redhat.com>
  13371. * src/NetworkManagerDevice.c
  13372. - (nm_device_wireless_scan): Fix leak of scan results in some
  13373. instances
  13374. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13375. * src/NetworkManager.c
  13376. - (nm_poll_and_update_wireless_link_state): make code less indented
  13377. Patch from Bill Moss:
  13378. * src/NetworkManager.c
  13379. - (nm_device_update_link_state): Update signal strength on wireless
  13380. devices every time we update link state too.
  13381. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13382. * src/NetworkManagerDevice.c
  13383. - (nm_device_set_essid): Work around Orinoco cards which need
  13384. extra time after setting the ESSID
  13385. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13386. * src/NetworkManagerDevice.c
  13387. - Merge one more bit of Peter Jones' completion patch
  13388. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13389. * src/NetworkManagerDevice.c
  13390. - (nm_device_force_use): Fix possible segfault
  13391. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13392. * src/NetworkManagerDevice.c
  13393. - Use iw_get_ext() where we should rather than iw_set_ext()
  13394. 2005-03-29 Dan Williams <dcbw@redhat.com>
  13395. * src/NetworkManagerDevice.c
  13396. - (nm_device_set_up_down): remove check for unsupported devices
  13397. that caused NM to not bring devices up when they were
  13398. added to the device list.
  13399. 2005-03-28 Dan Williams <dcbw@redhat.com>
  13400. * src/NetworkManagerDevice.c
  13401. - (mdio_read): Fix two bugs that caused all devices to fail
  13402. the MII carrier detection support checks
  13403. 2005-03-26 Dan Williams <dcbw@redhat.com>
  13404. * src/NetworkManagerDevice.c
  13405. - (nm_device_wireless_scan): Remove duplicated scanning code
  13406. 2005-03-25 Dan Williams <dcbw@redhat.com>
  13407. * panel-applet/NMWirelessApplet.c
  13408. - (nmwa_about_cb): Add some more contributors
  13409. - (nmwa_update_state): show the applet when there's no connection
  13410. - Enable the "Stop/Resume all wireless devices" option in the
  13411. context menu
  13412. - New "no connection" icon
  13413. * src/NetworkManager.c
  13414. - (nm_poll_and_update_wireless_link_state): don't do anything if
  13415. wireless is disabled or we're asleep
  13416. * src/NetworkManagerDHCP.c
  13417. - Remove trailing "\n" on debug messages
  13418. * src/NetworkManagerDbus.c
  13419. - (nm_dbus_network_status_from_data): new state "asleep"
  13420. * src/NetworkManagerDevice.c
  13421. - Merge most of Peter Jones' "completion" patch that greatly reduces
  13422. latency and wait times for most operations
  13423. - (nm_device_wireless_scan): Don't scan when asleep
  13424. * src/NetworkManagerPolicy.c
  13425. - (nm_policy_get_best_device): return no device when asleep
  13426. - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
  13427. for all wireless devices on update, not just active device
  13428. * src/NetworkManagerUtils.c
  13429. - Merge Peter Jones' "completion" patch
  13430. * src/nm-dbus-nm.c
  13431. - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
  13432. we're told to disable them
  13433. - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
  13434. * utils/nm-utils.h
  13435. - New variants of the warn/info/error/debug print functions that can take
  13436. variables rather than static strings
  13437. 2005-03-24 Dan Williams <dcbw@redhat.com>
  13438. * src/NetworkManagerUtils.c
  13439. - (nm_get_device_driver_name): driver names are now on the parents of
  13440. "Network Interface" objects, so look for them there
  13441. 2005-03-24 Dan Williams <dcbw@redhat.com>
  13442. * test/nmtest.c
  13443. - Escape some forgotten object paths before we shove them through dbus
  13444. 2005-03-24 Dan Williams <dcbw@redhat.com>
  13445. * dhcpcd/dhcpcd.[ch]
  13446. src/NetworkManagerDHCP.c
  13447. - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
  13448. (ie, dhcp_option_record_len -> dhcp_option_element_len)
  13449. * src/NetworkManagerDbus.c
  13450. - spacing cleanups
  13451. * src/nm-dbus-dhcp.c
  13452. - Make the API suck less. There is now only 1 type of each function,
  13453. ie only "getInteger" and no longer also "getIntegerv". All types
  13454. are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
  13455. that will never have more than 1 element. This should simplify
  13456. things greatly.
  13457. * test/nm-dhcp-opt-test.c
  13458. - Make the tool not segfault
  13459. - adapt to new DHCP Options API
  13460. 2005-03-22 Dan Williams <dcbw@redhat.com>
  13461. * src/NetworkManager.c
  13462. - (nm_wired_link_deactivated): actually ignore netlink events from
  13463. wireless devices.
  13464. 2005-03-22 Dan Williams <dcbw@redhat.com>
  13465. * src/NetworkManager.c
  13466. - (nm_wired_link_activated): actually ignore netlink events from
  13467. wireless devices.
  13468. 2005-03-17 Dan Williams <dcbw@redhat.com>
  13469. Patch from Tom Parker:
  13470. * src/nm-netlink-monitor.c
  13471. - Include unistd.h
  13472. * info-daemon/NetworkManagerInfoDbus.c
  13473. - (nmi_dbus_update_network_auth_method): free GConf values
  13474. Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
  13475. * src/NetworkManagerDevice.c
  13476. - (nm_device_set_wireless_config): wait for successful
  13477. association longer for some cards (Atheros a/b/g)
  13478. 2005-03-15 Ray Strode <rstrode@redhat.com>
  13479. * src/NetworkManager.c:
  13480. (sigterm_pipe_handler):
  13481. remove bogus FIXME
  13482. 2005-03-15 Ray Strode <rstrode@redhat.com>
  13483. * src/NetworkManagerDbus.c:
  13484. Fix some sign weirdness that gcc4 doesn't like,
  13485. and add a header file so PPC can hopefully find
  13486. SIGTRAP
  13487. 2005-03-14 Ray Strode <rstrode@redhat.com>
  13488. Fourth (probably working) cut at porting to
  13489. dbus 0.30 api and new hal. This cut adds
  13490. some new logging macros to make debugging
  13491. easier.
  13492. * dispatcher-daemon/NetworkManagerDispatcher.c:
  13493. * info-daemon/NetworkmanagerInfo.c:
  13494. * info-daemon/NetworkManagerInfoPassphraseDialog.c:
  13495. * info-daemon/NetworkManagerInfoVPN.c:
  13496. * src/NetworkManager.c:
  13497. * src/NetworkManagerAP.c:
  13498. * src/NetworkManagerAPList.c:
  13499. * src/NetworkManagerDHCP.c:
  13500. * src/NetworkManagerDbus.c:
  13501. * src/NetworkManagerDevice.c:
  13502. * src/NetworkManagerPolicy.c:
  13503. * src/NetworkManagerSystem.c:
  13504. * src/NetworkManagerUtils.c:
  13505. * src/NetworkManagerWireless.c:
  13506. * src/autoip.c:
  13507. * src/nm-dbus-nm.c:
  13508. * src/backends/NetworkManagerDebian.c:
  13509. * src/backends/NetworkManagerGentoo.c:
  13510. * src/backends/NetworkManagerRedHat.c:
  13511. * src/backends/NetworkManagerSlackware.c:
  13512. use new logging macros.
  13513. * dispatcher-daemon/NetworkManagerDispatcher.c:
  13514. (nmd_dbus_filter): s/dbus_free/g_free/
  13515. * info-daemon/Makefile.am: link in utils library.
  13516. * info-daemon/NetworkmanagerInfo.c: use new logging
  13517. macros.
  13518. (nmi_dbus_get_network): don't assume enumerations
  13519. are 32-bit.
  13520. (nmi_dbus_nmi_message_handler): don't free what
  13521. doesn't belong to us.
  13522. * libnm_glib/libnm_glib.c:
  13523. (libnm_glib_get_nm_status):
  13524. (libnm_glib_init): don't free what doesn't
  13525. belong to us.
  13526. (libnm_glib_dbus): strdup result, so it doesn't get
  13527. lost when message is unref'd.
  13528. * panel-applet/NMWirelessAppletDbus.c:
  13529. (nmwa_dbus_update_devices): s/dbus_free/g_free/
  13530. * src/NetworkManager.c:
  13531. (nm_monitor_wired_link_state): request initial status
  13532. dump of all cards when we start up, instead of relying
  13533. on /sys/.../carrier.
  13534. (nm_info_handler), (nm_set_up_log_handlers):
  13535. log handlers to specify what syslog priorites
  13536. the logging macros default to.
  13537. * src/NetworkManagerAPList.c:
  13538. (nm_ap_list_populate_from_nmi):
  13539. s/dbus_free_string_array/g_strfreev/
  13540. * src/NetworkManagerDbus.c:
  13541. (nm_dbus_get_network_object):
  13542. validate d-bus message argument types.
  13543. Advance message iterator after reading argument,
  13544. prepend instead of append to GSList.
  13545. * src/NetworkManagerDevice.c:
  13546. (nm_device_probe_wired_link_status):
  13547. remove redundant /sys in /sys path. remove wrong
  13548. contents == NULL means has carrier assumption.
  13549. * src/nm-netlink-monitor.c
  13550. (nm_netlink_monitor_request_status): implement
  13551. function to ask kernel to dump interface link
  13552. status over netlink socket.
  13553. * test/*.c: s/dbus_free/g_free/
  13554. * utils/nm-utils.h:
  13555. (nm_print_backtrace): new macro to print backtrace.
  13556. (nm_get_timestamp): new macro to get sub-second precise
  13557. unix timestamp.
  13558. (nm_info), (nm_debug), (nm_warning), (nm_error):
  13559. new logging functions. nm_info just prints,
  13560. nm_debug includes timestamp and function,
  13561. nm_warning includes function, nm_error includes
  13562. backtrace and sigtrap.
  13563. 2005-03-11 Ray Strode <rstrode@redhat.com>
  13564. Third (unfinished, partially working) cut at porting to
  13565. dbus 0.30 api and new hal.
  13566. * info-daemon/NetworkManagerInfoDbus.c:
  13567. don't free null arrays.
  13568. * panel-applet/NMWirelessAppletDbus.c:
  13569. * src/nm-dbus-device.c:
  13570. * src/nm-dbus-net.c:
  13571. * src/NetworkManagerDbus.c: more
  13572. STRING -> OBJECT_PATH fun
  13573. * src/NetworkManagerDevice.c:
  13574. * src/NetworkManagerDevice.h:
  13575. (rename nm_device_get_link_active): rename to
  13576. nm_device_has_active_link
  13577. (nm_device_wireless_link_active): rename to
  13578. nm_device_probe_wireless_link_state
  13579. (nm_device_wired_link_active): rename to
  13580. nm_device_probe_wired_link_state. Rewrite to
  13581. use carrier file since hal doesn't maintain
  13582. link state anymore.
  13583. (nm_device_update_link_active): rename to
  13584. nm_device_update_link_state
  13585. * src/NetworkManagerPolicy.c
  13586. (nm_policy_activation_finish): check for NULL
  13587. MAC address.
  13588. * src/Makefile.am:
  13589. * src/NetworkManagerMain.h:
  13590. * src/NetworkManager.c:
  13591. * src/nm-netlink-monitor.c:
  13592. * src/nm-netlink-monitor.h: New class to support
  13593. monitoring wired ethernet link status, since HAL
  13594. doesn't export that information anymore.
  13595. 2005-03-09 Ray Strode <rstrode@redhat.com>
  13596. Second (unfinished, unworking) cut at porting to
  13597. dbus 0.30 api.
  13598. * dispatcher-daemon/NetworkManagerDispatcher.c:
  13599. * info-daemon/NetworkManagerInfoDbus.c:
  13600. * panel-applet/NMWirelessAppletDbus.c:
  13601. * src/NetworkManagerDbusUtils.c:
  13602. * src/NetworkManagerDbusUtils.h:
  13603. * src/nm-dbus-device.c:
  13604. * src/nm-dbus-nm.c:
  13605. * test/nmtest.c: support dbus "object path" type
  13606. * configure.in:
  13607. * Makefile.am:
  13608. * info-daemon/Makefile.am:
  13609. * libnm_glib/Makefile.am:
  13610. * panel-applet/Makefile.am:
  13611. * dispatcher-daemon/Makefile.am
  13612. * src/Makefile.am:
  13613. * test/Makefile.am:
  13614. * utils/Makefile.am:
  13615. * utils/nm-utils.c:
  13616. * utils/nm-utils.h: new utils static lib
  13617. 2005-03-07 Ray Strode <rstrode@redhat.com>
  13618. * info-daemon/NetworkManagerInfoDbus.c:
  13619. * libnm_glib/libnm_glib.c:
  13620. * panel-applet/NMWirelessAppletDbus.c:
  13621. * src/NetworkManager.c:
  13622. * src/NetworkManagerDbus.c:
  13623. * src/NetworkManagerDevice.c:
  13624. * src/NetworkManagerUtils.c:
  13625. * src/nm-dbus-device.c:
  13626. * src/nm-dbus-dhcp.c:
  13627. * src/nm-dbus-net.c:
  13628. * src/nm-dbus-nm.c:
  13629. * test/nminfotest.c:
  13630. First (unfinished, unworking) cut at porting to dbus 0.30 api.
  13631. 2005-03-04 Dan Williams <dcbw@redhat.com>
  13632. * configure.in
  13633. - Mark HEAD as 0.4
  13634. 2005-03-04 Dan Williams <dcbw@redhat.com>
  13635. Patch from Peter Jones:
  13636. - Make stuff work with gcc 4.0
  13637. 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
  13638. * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
  13639. 2005-02-27 Jim Huang <jserv@kaffe.org>
  13640. * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
  13641. 2005-02-27 Dan Williams <dcbw@redhat.com>
  13642. Patch from Bill Moss:
  13643. * panel-applet/NMWirelessAppletDbus.c
  13644. - Make sure strength for current access point is up-to-date when we
  13645. update the gui data model
  13646. 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
  13647. * configure.in: Added "it" (Italian) to ALL_LINGUAS.
  13648. 2005-02-27 Dan Williams <dcbw@redhat.com>
  13649. * src/backends/NetworkManagerRedHat.c
  13650. - (nm_system_init): Kill any dhclient processes lying around as well
  13651. as stopping 'nifd' if its already been started. NetworkManager
  13652. subsumes the functions of nifd (kicking mDNSResponder, autoip)
  13653. 2005-02-27 Dan Williams <dcbw@redhat.com>
  13654. * panel-applet/NMWirelessApplet.c
  13655. - (nmwa_destroy): Really mean to destroy GUI data model first, then
  13656. dbus data model, not the GUI data model twice.
  13657. 2005-02-27 Dan Williams <dcbw@redhat.com>
  13658. * panel-applet/NMWirelessApplet.[ch]
  13659. panel-applet/NMWirelessAppletDbus.[ch]
  13660. - Move to incremental network updates. Instead of blowing away our list
  13661. of devices every time we get a signal from NetworkManager, we now
  13662. incrementally add/remove networks when NetworkManager notifies us that
  13663. a new network has appeared or disappered. Strength updates now happen
  13664. on-the-fly for each access point as well. There are now two copies of
  13665. data from NetworkManager: one for the dbus side, and one for the gui side.
  13666. When the dbus side data is modified, it is copied over to the gui side
  13667. so we don't have to hold the data_mutex for long periods of time (and
  13668. therefore block animation of the applet's icon).
  13669. - Clean up some memleaks too
  13670. * panel-applet/NMWirelessAppletOtherNetworkDialog.c
  13671. - Minor code beautification
  13672. * src/NetworkManagerAPList.c
  13673. - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
  13674. completely new and whether or not an existing one's strength was updated.
  13675. Try to fix multiple access points and signal strength by using the highest
  13676. signal strength in each scan for any given ESSID.
  13677. * src/NetworkManagerDbus.[ch]
  13678. - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
  13679. wireless networks; now we have only WirelessNetworkUpdate which includes
  13680. a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
  13681. - Kill usage of DbusMessageIter
  13682. * src/NetworkManagerDevice.c
  13683. - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
  13684. in the same scan result list. Copy ESSIDs-by-address earlier on, for each
  13685. AP rather than all-at-once. Also don't ever remove the AP a card is
  13686. currently associated with from the network list.
  13687. - Update for new signals during scan, send out Appeared, Disappeared, or
  13688. StrengthChanged when necessary.
  13689. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13690. * README
  13691. - Line break the README
  13692. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13693. * panel-applet/NMWirelessAppletOtherNetworkDialog.c
  13694. - Remove usage of gtk_window_set_default_size()
  13695. * panel-applet/essid.glade
  13696. - Stick default size here
  13697. - Add in random crap that current glade wants to add in now
  13698. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13699. * src/backends/NetworkManagerRedHat.c
  13700. - For non-caching-nameserver/non-named case, ensure that nscd is running
  13701. and that we actually tell nscd to reload the hosts cache when it changes
  13702. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13703. * info-daemon/NetworkManagerInfoDbus.c
  13704. - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
  13705. * test/nminfotest.c
  13706. - Whack usage of DbusMessageIter
  13707. - Clean up DbusError and DbusMessage handling and freeing
  13708. - Remove unused unregister handler
  13709. * test/nmtest.c
  13710. - Whack usage of DbusMessageIter
  13711. * test/nmtestdevices.c
  13712. - Whack usage of DbusMessageIter
  13713. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13714. * NetworkManager.h
  13715. - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
  13716. signal
  13717. 2005-02-25 Dan Williams <dcbw@redhat.com>
  13718. * named/nm-named-manager.c
  13719. - Ensure that pid and watch variables for child named process get cleared out
  13720. when the child goes away.
  13721. 2005-02-22 Dan Williams <dcbw@redhat.com>
  13722. * src/NetworkManagerPolicy.c
  13723. - (nm_policy_activation_finish): Deactivate a device if its activation fails,
  13724. and NULL out data->active_device so that we have to choose another one.
  13725. This may make NetworkManager keep attempting to connect to a wired network
  13726. if it fails, but if it keeps failing the wired network has more problems than
  13727. just NetworkManager.
  13728. * src/backends/NetworkManagerRedHat.c
  13729. - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
  13730. is already running
  13731. * named/nm-named-manager.c
  13732. - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
  13733. named so that the distro can flush whatever name service caching
  13734. daemon it uses
  13735. 2005-02-21 Dan Williams <dcbw@redhat.com>
  13736. * src/NetworkManagerDHCP.[ch]
  13737. - (nm_device_dhcp_remove_timeouts): new function
  13738. * src/NetworkManagerDevice.c
  13739. - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
  13740. remove the DHCP timeouts.
  13741. 2005-02-21 Dan Williams <dcbw@redhat.com>
  13742. * panel-applet/NMWirelessApplet.[ch]
  13743. panel-applet/menu-info.[ch]
  13744. - Give the panel applet some major love: menu items are no longer
  13745. subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
  13746. This allows the applet to actually reflect theme changes correctly,
  13747. since themeing of subclassed items in GTK _sucks_.
  13748. 2005-02-18 Dan Williams <dcbw@redhat.com>
  13749. * libnm_glib/libnm_glib.[ch]
  13750. test/libnm_glib_test.c
  13751. - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
  13752. and its data, and doesn't have to free the callback data anymore
  13753. 2005-02-18 Dan Williams <dcbw@redhat.com>
  13754. * panel-applet/NMWirelessApplet.c
  13755. - Revert 2005-02-18 William Jon McCann fix for standard
  13756. copyright string until it passes 'make distcheck'.
  13757. With standard copyright string, xgettext complains
  13758. about "Non-ASCII string at ...".
  13759. 2005-02-18 Dan Williams <dcbw@redhat.com>
  13760. * panel-applet/essid.glade
  13761. panel-applet/NMWirelessAppletOtherNetworksDialog.c
  13762. - Correct spelling of "adaptor"->"adapter"
  13763. 2005-02-18 William Jon McCann <mccann@jhu.edu>
  13764. * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
  13765. (nmwa_about_cb): Use standard copyright string. Update comment
  13766. text to reflect that it is a notification area applet. Remove
  13767. leading newline in authors list.
  13768. (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
  13769. instead of on parent menu item activation. Fixes #167550.
  13770. 2005-02-18 William Jon McCann <mccann@jhu.edu>
  13771. * panel-applet/essid.glade: Capitalize items as per HIG.
  13772. Fixes #167632
  13773. 2005-02-16 William Jon McCann <mccann@jhu.edu>
  13774. * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
  13775. files for GTK 2.4 or lower, since now public in GTK 2.6.
  13776. * panel-applet/essid.glade: Don't specify window size.
  13777. 2005-02-17 Dan Williams <dcbw@redhat.com>
  13778. Caught by Bill Moss:
  13779. * dhcpcd/client.c
  13780. - Time remaining for DHCP transaction calculation was incorrectly
  13781. inside a #ifdef DEBUG
  13782. 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
  13783. * configure.in: Added fr (French) to ALL_LINGUAS.
  13784. 2005-02-14 Dan Williams <dcbw@redhat.com>
  13785. * src/NetworkManagerDHCP.c
  13786. - (set_domain_searches): Fix free of invalid pointer
  13787. 2005-02-14 Dan Williams <dcbw@redhat.com>
  13788. Patch from Peter Jones:
  13789. * dhcpcd/client.c
  13790. - Ensure we return RET_DHCP_CEASED everywhere we should
  13791. * dhcpcd/udpipgen.c
  13792. - Use faster TOS for IP packets
  13793. - Don't set ip_id since we're UDP
  13794. Patch from Tomislav Vujec:
  13795. * src/nm-dbus-dhcp.c
  13796. test/nm-dhcp-opt-test.c
  13797. - Clean up warnings to enable cvs tree compilation.
  13798. 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
  13799. * configure.in
  13800. po/hr.po
  13801. - Add the Croatian locale.
  13802. 2005-02-14 Colin Walters <walters@verbum.org>
  13803. * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
  13804. list of domains to search.
  13805. * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
  13806. 2005-02-13 Dan Williams <dcbw@redhat.com>
  13807. * dhcpcd/client.c
  13808. - Debug output cleanups of DHCP option printing and parsing.
  13809. 2005-02-13 Dan Williams <dcbw@redhat.com>
  13810. Patch from Dan Reed: DHCP options D-BUS API
  13811. Exposes the DHCP options that a device receives to clients over D-BUS.
  13812. * configure.in
  13813. - A few cleanups
  13814. * dhcpcd/client.h
  13815. - Correct names, option length, and types for DHCP options
  13816. * dhcpcd/dhcpcd.[ch]
  13817. - Clarify function names that access DHCP options & data
  13818. * src/NetworkManagerDHCP.c
  13819. - Use new DHCP data access functions
  13820. * src/NetworkManagerDbus.c
  13821. - Message handler for DHCP functions
  13822. * src/nm-dbus-dhcp.[ch] (new)
  13823. - DHCP dbus methods
  13824. * test/nm-dhcp-opt-test.c
  13825. - Test DHCP D-BUS API and return all present DHCP options
  13826. 2005-02-12 Dan Williams <dcbw@redhat.com>
  13827. * test/Makefile.am
  13828. test/nmclienttest.c
  13829. test/nmtest.c
  13830. - Move nmclienttest.c -> nmtest.c
  13831. 2005-02-12 Dan Williams <dcbw@redhat.com>
  13832. * dhcpcd/buildmsg.c
  13833. - Pad DHCP packets until they are at least 300 bytes in size.
  13834. 2005-02-11 Dan Williams <dcbw@redhat.com>
  13835. * dhcpcd/client.c
  13836. - (dhcp_init): only print out client ID and class ID if they are specified
  13837. * src/NetworkManagerDbus.[ch]
  13838. src/nm-dbus-nm.[ch]
  13839. src/nm-dbus-device.[ch]
  13840. src/nm-dbus-net.[ch]
  13841. - Move NM, Device, and Net functions to separate files and use the
  13842. dbus method list stuff in NetworkManagerDbusUtils.c to do
  13843. method dispatching
  13844. * src/NetworkManagerDbusUtils.c
  13845. - Add new validate_method called before each dispatch (if present)
  13846. that can validate the method call
  13847. * src/NetworkManagerWireless.c
  13848. - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
  13849. levels never to be evaluated
  13850. Patch from j@bootlab.org
  13851. * src/NetworkManagerDevice.c
  13852. - Add typedef for "u64"
  13853. * src/backends/NetworkManagerDebian.c
  13854. - Copy in Dave Woodhouse's fixes for IPv6
  13855. 2005-02-11 Dan Williams <dcbw@redhat.com>
  13856. Patch from Dave Woodhouse for IPv6:
  13857. * src/NetworkManagerUtils.c
  13858. - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
  13859. and multicast addresses
  13860. * src/NetworkManagerDevice.c
  13861. - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
  13862. after bringing up a card.
  13863. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13864. Patch from Dave Woodhouse:
  13865. * src/NetworkManagerSystem.h
  13866. src/backends/NetworkManagerDebian.c
  13867. src/backends/NetworkManagerGentoo.c
  13868. src/backends/NetworkManagerSlackware.c
  13869. - New nm_system_device_add_ip6_link_address() function to add link-local
  13870. address on an interface. Stubbed in Debian, Gentoo, and Slackware.
  13871. * src/backends/NetworkManagerRedHat.c
  13872. - (nm_system_device_add_ip6_link_address): implement
  13873. - (nm_system_device_flush_addresses): revert to previous behavior of
  13874. flushing all addresses
  13875. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13876. Patch from Tom Parker:
  13877. * src/NetworkManagerDevice.c
  13878. - Remove the "#include <pci/types.h>" since both the ethtool.h and
  13879. mii.h headers are broken, and instead use our own typedefs
  13880. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13881. * dhcpcd/buildmsg.c
  13882. - (fill_host_and_class_id): only fill in client and class IDs if
  13883. they are set by callers.
  13884. * dhcpcd/client.c
  13885. - (class_id_setup): don't autogenerate a class ID, only use one
  13886. we're given, if any.
  13887. - (client_id_setup): don't autogenerate a client ID, only use one
  13888. we're given, if any.
  13889. * dhcpcd/dhcpcd.c
  13890. - (dhcp_interface_init): ensure that client options are correctly
  13891. NULL terminated
  13892. * src/NetworkManagerDHCP.c
  13893. - (nm_device_dhcp_request): pass hostname to dhcp library
  13894. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13895. * dhcpcd/client.c
  13896. - #rh147661# Don't send kernel version in DHCP requests
  13897. * src/NetworkManagerSystem.h
  13898. src/backends/NetworkManagerDebian.c
  13899. src/backends/NetworkManagerGentoo.c
  13900. src/backends/NetworkManagerRedHat.c
  13901. src/backends/NetworkManagerSlackware.c
  13902. - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
  13903. functions, they are no longer used anyway
  13904. * src/backends/NetworkManagerRedHat.c
  13905. - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
  13906. addresses in an attempt to keep IPv6 local-scope addresses around
  13907. 2005-02-10 Dan Williams <dcbw@redhat.com>
  13908. * src/NetworkManager.c
  13909. - (nm_create_device_and_add_to_list): change the add message slightly
  13910. * src/NetworkManagerUtils.c
  13911. - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
  13912. Return driver name to calling function
  13913. - (nm_get_driver_support_level): print out the driver a device is using
  13914. during the support check
  13915. Patch from Dave Woodhouse:
  13916. * dhcpcd/udpipgen.c
  13917. - (in_cksum): copy last byte of odd-sized packets into a
  13918. 'u_short' rather than a 'u_char', should fix wrong checksums
  13919. on big-endian platforms
  13920. 2005-02-09 Dan Williams <dcbw@redhat.com>
  13921. * Clean up usage of GSList objects and looping through their members
  13922. * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
  13923. now.
  13924. * Fix problem where even if scanning was turned off, card would still
  13925. cycle through frequencies.
  13926. 2005-02-08 Dan Williams <dcbw@redhat.com>
  13927. * panel-applet/NMWirelessApplet.c
  13928. - Fix for gtk 2.4
  13929. 2005-02-08 Dan Williams <dcbw@redhat.com>
  13930. Patch from Bill Moss
  13931. * panel-applet/NMWirelessApplet.c
  13932. - Restore correct ESSID in tooltips
  13933. 2005-02-07 Dan Williams <dcbw@redhat.com>
  13934. * panel-applet/NMWirelessApplet.[ch]
  13935. - Add a context menu that contains:
  13936. Pause/Resume Wireless Scanning
  13937. Stop/Start All Wireless Devices
  13938. About...
  13939. - Grab active device strength off active device,
  13940. not its network
  13941. * panel-applet/NMWirelessAppletDbus.[ch]
  13942. - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
  13943. "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
  13944. - Update active device strength every 2 seconds, not every 1 second
  13945. * panel-applet/menu-info.c
  13946. - Only disable wired devices in the menu when they support carrier detection,
  13947. and don't currently have a link. Non-carrier-detect devices will always
  13948. remain choosable
  13949. * src/Makefile.am
  13950. src/NetworkManagerDbusUtils.[ch]
  13951. - Add new new dbus utils sources
  13952. * src/NetworkManager.c
  13953. - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
  13954. with the boolean parameter
  13955. - Set scanning_enabled & wireless_enabled to TRUE
  13956. * src/NetworkManagerDbus.c
  13957. - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
  13958. - Implement scanning & wireless enable/disable calls
  13959. - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
  13960. * src/NetworkManagerDevice.c
  13961. - New link detection stuff again...
  13962. o Create device's mainloop earlier (but don't run it earlier)
  13963. o Hook up new carrier-detect support stuff
  13964. o Add in the ethtool & mii support detection code
  13965. - Don't scan if scanning is disabled
  13966. * src/NetworkManagerPolicy.c
  13967. - Never automatically choose a device that doesn't support carrier detection
  13968. - Don't automatically choose a wireless device if wireless is disabled
  13969. 2005-02-07 Dan Williams <dcbw@redhat.com>
  13970. * libnm_glib/libnm_glib.c
  13971. - Small cleanup in element list iteration
  13972. 2005-02-07 Dan Williams <dcbw@redhat.com>
  13973. * src/NetworkManagerWireless.c
  13974. - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
  13975. to be in line with the WEXT quality specification
  13976. 2005-02-02 Dan Williams <dcbw@redhat.com>
  13977. Patch from Nathan Fredrickson <nathan@silverorange.com>
  13978. * Fix up compile for deprecation of libgnomeui
  13979. - Switch to <glib/gi18n.h> from <libintl.h>
  13980. - Remove <libgnomeui/libgnomeui.h> includes
  13981. - Use gtk_window_set_default_icon_from_file() rather than
  13982. gnome_window_set_default_icon_from_file()
  13983. * named/nm-named-manager.c
  13984. - (generate_named_conf): Fix return-nothing in non-void
  13985. function
  13986. 2005-02-02 Dan Williams <dcbw@redhat.com>
  13987. * Clean up unused variables and the like
  13988. 2005-02-02 Dan Williams <dcbw@redhat.com>
  13989. * src/NetworkManagerAPList.c
  13990. - (nm_ap_list_merge_scanned_ap): merge strength too
  13991. * src/NetworkManagerUtils.c
  13992. - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
  13993. of locking issues by printing out prettier information than g_mutex_lock
  13994. - Print out names of mutexes registered with nm_register_mutex_desc()
  13995. - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
  13996. us to seemingly block here for too long
  13997. * src/NetworkManager.c
  13998. src/NetworkManagerAPList.c
  13999. src/NetworkManagerDevice.c
  14000. - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
  14001. so we get better debug information printed
  14002. * src/NetworkManagerDbus.c
  14003. - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
  14004. since it sometimes has locking side effects
  14005. - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
  14006. from 10s
  14007. - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
  14008. we don't need a switch. This gets called often enough that we can't block
  14009. until the scan mutex is acquired, because we'll block on device activation
  14010. and a few other things, which hangs main thread for too long.
  14011. * src/NetworkManagerPolicy.c
  14012. - (nm_policy_auto_get_best_device): reduce the possiblity that
  14013. nm_device_need_ap_switch() will be called
  14014. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14015. * panel-applet/NMWirelessApplet.c
  14016. - Display name of wireless network we are connecting to or connected to
  14017. in the tooltip of the applet
  14018. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14019. * src/NetworkManagerDHCP.c
  14020. - Hopefully fix double-default-route problem by cleaning up the default
  14021. route added by DHCP code right before the DHCP transaction begins
  14022. 2005-02-02 Dan Williams <dcbw@redhat.com>
  14023. * named/nm-named-manager.c
  14024. - Write out valid resolv.conf when we exit
  14025. 2005-02-01 Dan Williams <dcbw@redhat.com>
  14026. Patch from Colin Walters:
  14027. * named/nm-named-manager.c
  14028. - Make multi-domain search options work
  14029. 2005-01-31 Dan Williams <dcbw@redhat.com>
  14030. * info-daemon/NetworkManagerInfoDbus.c
  14031. - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
  14032. * src/NetworkManagerDevice.c
  14033. - (nm_device_new): Don't store the entire range struct, use only what we need
  14034. (which is currently avg_quality, max_quality, and frequencies). Also
  14035. zero device structure when we've free'd it to maybe expose errors down
  14036. the line.
  14037. - (nm_device_update_signal_strength): grab the scan mutex before getting
  14038. quality data from the card since quality will be useless during a scan.
  14039. Call updated wireless qual-to-percent function with values stored in
  14040. nm_device_new() earlier.
  14041. - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
  14042. nm_device_get_bad_crypt_packets())
  14043. - (nm_device_activate_wireless_adhoc): use new frequency values we go in
  14044. nm_device_new()
  14045. - (get_initial_auth_method): always use the Auth method that's in the allowed
  14046. list if available. Problem was this: when the WEP key is wrong, NM will
  14047. try OS then SK modes, and then get stuck in SK mode after that. This
  14048. should reset it.
  14049. - (nm_device_wireless_process_scan_results): work with new qual-to-percent
  14050. function
  14051. * src/NetworkManagerWireless.c
  14052. - (nm_wireless_qual_to_percent): try to make this function actually work and
  14053. mimic iwlib behavior. Use card's idea of quality divided by max_qual
  14054. if that's all present, otherwise fall back to signal-to-noise ratios.
  14055. 2005-01-29 Dan Williams <dcbw@redhat.com>
  14056. * initscript/RedHat/NetworkManager
  14057. - Don't spit out sysctl stuff to console
  14058. * libnm_glib/libnm_glib.c
  14059. - (libnm_glib_init): call dbus_g_thread_init()
  14060. * panel-applet/NMWirelessAppletDbus.c
  14061. - (nmwa_dbus_worker): call dbus_g_thread_init()
  14062. * src/NetworkManager.c
  14063. - (main): call dbus_g_thread_init()
  14064. * src/NetworkManagerAPList.c
  14065. - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
  14066. so we can actually see what's there in a normal syslog
  14067. * src/NetworkManagerDevice.c
  14068. - (nm_device_activate_wireless): print out the "waiting for access point"
  14069. message only once, then say what access point we actually got after
  14070. the wait.
  14071. - (nm_device_need_ap_switch): If a scan is in progress when we're in this
  14072. function, wait until the scan is done. Scans may change the ESSID of
  14073. the card, making this function think we need to switch access points
  14074. - (nm_device_wireless_process_scan_results): for artificial access points
  14075. don't check against the card's ESSID, but the best_ap's ESSID. This
  14076. prevents collisions with the scanning code, which may change the card's
  14077. ESSID and cause the access point to get dropped from the device's AP
  14078. list. Also increase the keep-around time to 2m from 60s since the max
  14079. scan interval could be 60s in some cases.
  14080. * src/NetworkManagerPolicy.c
  14081. - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
  14082. - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
  14083. the new properties and ESSIDs to the device's AP list. Fixes some races
  14084. between NM and NMI.
  14085. 2005-01-27 Dan Williams <dcbw@redhat.com>
  14086. * info-daemon/NetworkManagerInfoDbus.c
  14087. - (nmi_dbus_add_network_address): if the network doesn't yet exist in
  14088. GConf, make a minimal entry for it (essid & timestamp)
  14089. * src/NetworkManagerAPList.c
  14090. - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
  14091. NetworkManagerInfo isn't running
  14092. * src/NetworkManagerDbus.[ch]
  14093. - (nm_dbus_nmi_is_running): new function
  14094. * src/NetworkManagerDevice.c
  14095. - (nm_device_wireless_force_use): Don't set the created AP's MAC
  14096. address to garbage.
  14097. * src/NetworkManagerPolicy.c
  14098. - (nm_policy_activation_finish): On successful activation, make sure
  14099. the "best" AP has a MAC address, and don't tell NMI to add the
  14100. current AP's MAC address to GConf if the AP is an Ad-hoc AP.
  14101. - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
  14102. access point after refreshing our allowed list if it doesn't already
  14103. have a "best" access point.
  14104. 2005-01-25 Dan Williams <dcbw@redhat.com>
  14105. * panel-applet/NMWirelessAppletDbus.c
  14106. - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
  14107. so we check for NM_DBUS_SERVICE rather than not for it
  14108. * libnm_glib/libnm_glib.c
  14109. - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
  14110. ServiceOwnerChanged signal
  14111. 2005-01-25 Dan Williams <dcbw@redhat.com>
  14112. * configure.in
  14113. - Check DBUS version in configure, and set the C macros
  14114. DBUS_VERSION_[MAJOR,MINOR,MICRO]
  14115. * info-daemon/NetworkManagerInfoDbus.c
  14116. - Remove #if 0-d section of code that quit NMI if NM went away.
  14117. * panel-applet/NMWirelessAppletDbus.c
  14118. - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
  14119. * src/NetworkManager.c
  14120. src/NetworkManagerMain.h
  14121. src/NetworkManagerDbus.c
  14122. - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
  14123. - Make updating of our Allowed Wireless Network lists from NMI
  14124. an idle function in the main thread now, with a high priority.
  14125. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14126. * panel-applet/gtkcellview.[ch]
  14127. panel-applet/menu-info.c
  14128. - Fix GTK version checks to be <= rather than <
  14129. * test/Makefile.am
  14130. - Include the libtool archive of libnm_glib rather than
  14131. trying to pull in the .so
  14132. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14133. * src/NetworkManagerDevice.c
  14134. src/NetworkManagerDevicePrivate.h
  14135. - Block nm_device_new() until our device's worker thread has had a
  14136. chance to start up. Fixes a race between main thread and worker
  14137. thread starting that caused activation requests to get lost.
  14138. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14139. * initscript/RedHat/NetworkManager
  14140. - Remove the ### BEGIN INIT INFO section, which caused chkconfig
  14141. to add the NM startup script at priority 50, which was
  14142. way too early
  14143. 2005-01-24 Colin Walters <walters@redhat.com>
  14144. * named/named.conf: Use any port for query source instead of
  14145. restricting to port 53.
  14146. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14147. * initscript/RedHat/NetworkManager
  14148. - Remove the ### BEGIN INIT INFO section, which caused chkconfig
  14149. to add the NM startup script at priority 50, which was
  14150. way too early
  14151. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14152. Patch from Tom Parker <palfrey@tevp.net>
  14153. * Fix up compile warnings & errors in the wireless applet
  14154. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14155. * panel-applet/NMWirelessApplet.c
  14156. - Convert 24x24 icons back to 22x22 and use the 22x22 ones
  14157. 2005-01-24 Dan Williams <dcbw@redhat.com>
  14158. * panel-applet/gtkcellview.[ch]
  14159. - Only compile these files for GTK 2.4 or lower, since
  14160. GtkCellView is now public in GTK 2.6. Fixes crasher
  14161. when choosing "Other Wireless Networks" from the panel
  14162. applet menu
  14163. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14164. * src/NetworkManager.c
  14165. - Daemonize earlier so that glib doesn't get confused (?)
  14166. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14167. * panel-applet/NMWirelessApplet.[ch]
  14168. panel-applet/NMWirelessAppletDbus.c
  14169. panel-applet/menu-info.c
  14170. src/NetworkManagerDevice.c
  14171. - Disable wired devices in the menu when they have no link.
  14172. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14173. * Cache last-known-good wireless authentication method in
  14174. NetworkManagerInfo, and use that method first during
  14175. wireless device activation. Should speed up devices that
  14176. need Shared Key authentication method since Open System is
  14177. now the default.
  14178. * Remove the hack to not do full activation on wired connections
  14179. that are active when we launch, it causes too many problems
  14180. with name resolution and was a hack in the first place.
  14181. * Re-work wireless device activation again somewhat to have a
  14182. clearer chain of events and to use last-known-good
  14183. authentication method of the access point. Also provide
  14184. better status throughout activation to ensure the applet
  14185. can tell the user exactly what's going on.
  14186. * Remove the "find wireless network" code and now simply attempt
  14187. to activate with that access point. This reduces the delay
  14188. between selecting "Other wireless Network" and actually
  14189. connecting to that network.
  14190. * Correctly stop the device's worker thread when its removed.
  14191. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14192. * dhcpcd/client.c
  14193. - Clean up some of the debug messages
  14194. 2005-01-21 Dan Williams <dcbw@redhat.com>
  14195. * Add new icons, more frames of animation
  14196. * Remove some hacks to get the panel applet to display correct
  14197. status, an NM update will soon follow that will fix the
  14198. real issue.
  14199. 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
  14200. * panel-applet/NMWirelessApplet.c: #include <config.h> must be
  14201. the first include for working i18n. Also, don't include it in .h files
  14202. * panel-applet/NMWirelessApplet.h: Same
  14203. * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
  14204. * panel-applet/menu-info.c: Same
  14205. 2005-01-18 Dan Williams <dcbw@redhat.com>
  14206. * dhcpcd/client.c
  14207. - Remove some debug messages
  14208. - Wrap others in #ifdef DEBUG/#endif
  14209. * src/NetworkManager.c
  14210. - Remove some debug messages
  14211. - Clarify some debug messages
  14212. - Remove code related to old single-thread wireless scanning
  14213. * src/NetworkManagerAP.[ch]
  14214. - New AP property "last_seen" to track how recently an AP was
  14215. found in a scan
  14216. - Start using 'const' more in function arguments
  14217. * src/NetworkManagerAPList.[ch]
  14218. - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
  14219. of an AP found in an AP list from a source AP, or if not found
  14220. in the list add the source AP
  14221. - (nm_ap_list_combine): remove, no longer needed
  14222. * src/NetworkManagerDevice.c
  14223. - Each device now has a "worker" thread from start to end of its life.
  14224. Scanning for wireless devices now happens in that thread,
  14225. not in a single "wireless scanning thread" for all devices as
  14226. previously. Activation consists of adding an idle handler to the
  14227. thread's main loop/context, which gets run at the next available
  14228. opportunity.
  14229. - Wireless scanning is also simplified, there is now only one list of
  14230. access points per wireless device, and APs older than 60s are
  14231. removed from the list. Previously, we kept results for the last
  14232. 3 scans and merged whole lists, which was complicated.
  14233. - Cleaned up activation debug messages.
  14234. - Wireless activation and access-point search routines now use Open System
  14235. authentication before trying Shared Key.
  14236. - Removed some code in nm_device_update_best_ap() that could cause cards
  14237. to loose their link to the access point.
  14238. - Scanning now uses a backoff algorithm, where the inverval becomes
  14239. progressively longer between scans when the list of scanned access
  14240. points doesn't change. A change will revert to the shortest scan
  14241. interval (20s).
  14242. * src/NetworkManagerWireless.[ch]
  14243. - Remove code related to old single-thread wireless scanning
  14244. 2005-01-18 Colin Walters <walters@redhat.com>
  14245. * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
  14246. of older nameservers.
  14247. 2005-01-18 Colin Walters <walters@redhat.com>
  14248. * named/nm-named-manager.c (generate_named_conf): Many fixes
  14249. to config file generation.
  14250. (safer_kill): Remove, was too much trouble for little gain.
  14251. (nm_named_manager_start): Run named as NM_NAMED_USER.
  14252. * configure.in: Add option --with-named-user.
  14253. 2005-01-14 Colin Walters <walters@redhat.com>
  14254. Patch from ed@catmur.co.uk (Ed Catmur)
  14255. * named/nm-named-manager.c: Add "context" property.
  14256. Use it to add child watch source in specific GMainContext.
  14257. * src/NetworkManager.c (nm_data_new): Initialize
  14258. named with correct main context. Start named only
  14259. after forking.
  14260. 2005-01-14 Colin Walters <walters@redhat.com>
  14261. * named/nm-named-manager.c (generate_named_conf): Write config
  14262. and pid files into NM_NAMED_DATA_DIR; this allows things to
  14263. work better with FC3 named SELinux policy. Also fix up silly
  14264. format error.
  14265. * configure.in: Add --with-named-dir option.
  14266. 2005-01-14 Colin Walters <walters@redhat.com>
  14267. * configure.in: Make named support require passing --with-named.
  14268. * named/nm-named-manager.c: Support writing resolv.conf directly
  14269. without running named.
  14270. 2005-01-13 Dan Williams <dcbw@redhat.com>
  14271. * named/nm-named-manager.c
  14272. - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
  14273. * src/NetworkManagerDevice.c
  14274. - Rework wireless link detection code to be more reliable
  14275. 2005-01-12 Dan Williams <dcbw@redhat.com>
  14276. * initscripts/RedHat/NetworkManager
  14277. - Change initial level to "-" rather than "345" so that
  14278. we don't activate ourselves by default on install
  14279. 2005-01-12 Dan Williams <dcbw@redhat.com>
  14280. * libnm_glib/
  14281. - Client library for applications using glib
  14282. * configure.in
  14283. various Makefiles
  14284. - Split NM_CFLAGS and NM_LIBS into separate variables
  14285. like DBUS_*, HAL_* and GLIB_*
  14286. * src/NetworkManager.c
  14287. src/NetworkManagerMain.h
  14288. - (nm_schedule_status_signal_broadcast): at the earliest convenience,
  14289. broadcast a status changed signal over DBUS from the main thread.
  14290. Still unused anywhere for the moment.
  14291. Patch from j@bootlab.org
  14292. * panel_applet/NMWirelessAppletDbus.c
  14293. src/NetworkManagerDbus.c
  14294. - Correct INT32->UINT32 mistmatch between NM and the panel applet
  14295. for the "getMode" method call
  14296. 2005-01-10 Dan Williams <dcbw@redhat.com>
  14297. * src/NetworkManagerDevice.c
  14298. - Minor fixups & corrections to "auto" frequency mode, make it
  14299. less chatty with syslog
  14300. 2005-01-10 Dan Williams <dcbw@redhat.com>
  14301. * src/NetworkManagerDevice.c
  14302. - Implement "auto" frequency/channel support, since cards like Atheros
  14303. can't use other frequencies at all when you've told it to use a
  14304. specific one, even for scanning.
  14305. - Grab the scan mutex around places where we can't tolerate wireless
  14306. settings changing underneath us, like nm_device_wireless_network_exists()
  14307. and nm_device_activate_wireless()
  14308. * src/NetworkManagerWireless.c
  14309. - Back scan interval off to 20s instead of 14s
  14310. 2005-01-09 Dan Williams <dcbw@redhat.com>
  14311. * src/NetworkManagerDevice.c
  14312. - Don't set mode/freq/bitrate if that mode/freq/bitrate is
  14313. already set. Stops some drivers like Atmel from continually
  14314. reloading the firmware, which they do upon every configuration
  14315. change.
  14316. 2005-01-09 Dan Williams <dcbw@redhat.com>
  14317. * dhcpcd/client.c
  14318. - Use correct timeout value
  14319. * info-daemon/NetworkManagerInfoDbus.c
  14320. src/NetworkManagerDbus.c
  14321. - Consolidate communication between NM and NMI by doing only 1 dbus
  14322. method call to get Wireless Network info from NMI instead of 6
  14323. * src/NetworkManager.c
  14324. - Make sure to cancel activation when we receive a SIGTERM, otherwise
  14325. when we didn't have an AP to use, we'd wait for one forever without
  14326. quitting
  14327. * src/NetworkManagerDevice.c
  14328. - nm_device_activation_cancel(): Fix a race between dhcp and quitting
  14329. activation, dhcp might not have started yet but we don't quit activation
  14330. before starting it, so the quit signal gets lost
  14331. 2005-01-07 Dan Williams <dcbw@redhat.com>
  14332. * dhcpcd/client.c
  14333. - Rework the DHCP client code to be much less chatty when
  14334. it receives non-DHCP UDP packets during the DHCP run
  14335. (reported by and preliminary patches from Bill Moss)
  14336. * Move wireless scanning to a separate thread. This thread forwards the
  14337. results to the main thread when done where they are integrated into
  14338. the device's access point lists. This keeps the main thread (which
  14339. does all the DBUS communication) from being blocked for long periods
  14340. of time by wireless scanning.
  14341. * Make state modification an idle routine in the main loop, and trigger
  14342. state changes rather than polling for them.
  14343. * src/backends/NetworkManagerGentoo.c
  14344. - Fix up invalid C90 code (reported by Christoph Ruessler)
  14345. * src/NetworkManagerDevice.c
  14346. - Revert IPv6 patch for wired devices from 2004-12-22 for
  14347. router advertisements, causing problems and infinite loop
  14348. during "best" device determination due to link going up/down
  14349. (reported by Bill Moss)
  14350. Apply patch from Peter Jones
  14351. * src/NetworkManagerDevice.c
  14352. - Shortcut for link-checking for ipw2x00 cards
  14353. - Split out association check into separate routine
  14354. 2004-01-05 Colin Walters <walters@redhat.com>
  14355. * named/named.conf: Add PID_FILE.
  14356. * named/nm-named-manager.c: Always generate a pid
  14357. file, since older BIND versions don't support
  14358. "pid-file none".
  14359. 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
  14360. * configure.in (ALL_LINGUAS): Added ja (Japanese).
  14361. 2004-12-22 Dan Williams <dcbw@redhat.com>
  14362. * src/NetworkManagerDevice.c
  14363. - Silently fail when setting bitrate doesn't work
  14364. Patches from j@bootlab.org:
  14365. * src/backends/NetworkManagerDebian
  14366. - Update backend to match functionality in RedHat backend
  14367. * src/NetworkManagerDevice.c
  14368. - Take down then bring up wired devices after connection so
  14369. they send out ipv6 router advertisements
  14370. 2004-12-21 Colin Walters <walters@verbum.org>
  14371. * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
  14372. test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
  14373. 2004-12-21 Colin Walters <walters@redhat.com>
  14374. * configure.in: Correct named detection.
  14375. 2004-12-21 Colin Walters <walters@redhat.com>
  14376. * src/NetworkManager.c (nm_data_new): Initialize named.
  14377. Also, set up a signal handler for SIGINT/SIGTERM, and exit
  14378. the mainloop when these signals are received.
  14379. (nm_data_free): Unref named.
  14380. (sigterm_handler, sigterm_pipe_handler): New functions for
  14381. exiting mainloop.
  14382. * src/NetworkManagerMain.h (NMData): Add signal handling and
  14383. nameserver bits.
  14384. * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
  14385. unref.
  14386. * src/NetworkManagerDHCP.c (set_nameservers): New function;
  14387. set nameservers from DHCP response data.
  14388. (set_domain_search): Set domain search from DHCP response.
  14389. (nm_device_dhcp_configure): Invoke them.
  14390. * src/NetworkManagerSystem.c
  14391. (nm_system_device_update_resolv_conf): Delete. Deleting
  14392. code is totally sweet.
  14393. * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
  14394. * named/nm-named-manager.h, named/nm-named-manager.c: New files;
  14395. implements an object which controls a nameserver. Currently
  14396. uses bind 9.
  14397. * configure.in: Check for named.
  14398. * Makefile.am (SUBDIRS): Add named dir.
  14399. * named/named.conf: New template config file.
  14400. 2004-12-20 Colin Walters <walters@redhat.com>
  14401. * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
  14402. instead of '='.
  14403. 2004-12-17 Dan Williams <dcbw@redhat.com>
  14404. * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
  14405. link-local addresses instead of doing DHCP.
  14406. * In the panel applet, there's a new "Create new Wireless Network..." item
  14407. * The panel applet also sticks around now even if NetworkManager dies, but
  14408. it doesn't hide its icon when NM isn't around. Not hiding the icon is
  14409. a bug, I'll fix that later.
  14410. * We also don't use 'nscd' anymore in the RH backend, it was impeding name
  14411. lookups after a switch rather than actually doing them.
  14412. * Clean up some of those warnings in nm_ap_list_* functions
  14413. * Delay between scans changed to 15s instead of 10s
  14414. 2004-12-15 Dan Williams <dcbw@redhat.com>
  14415. Patch from Tom Parker
  14416. * Add autoip/Link Local Addressing support when we fail to get a DHCP
  14417. address
  14418. * Longer pause after setting ESSID on cards that support a larger number
  14419. of channels to give the card time to find the right channel
  14420. * Add system hook to restart mDNSResponder (or whatever the local implementation
  14421. of Multicast DNS is) when we activate interfaces
  14422. 2004-12-15 Dan Williams <dcbw@redhat.com>
  14423. * Rework the DHCP code again to revert to sending full ethernet frames
  14424. rather then relying on the kernel to do the right thing with our
  14425. packets.
  14426. 2004-12-06 Dan Williams <dcbw@redhat.com>
  14427. * dhcpcd/client.c
  14428. - Fix some minor errors in dhcp_handle_transaction() that caused
  14429. unexpected early timeouts of DHCP transactions
  14430. * dhcpcd/client.h
  14431. - DHCP retransmit time from 4s -> 5s
  14432. 2004-12-05 Dan Williams <dcbw@redhat.com>
  14433. * Major rework of the DHCP code, taking some cues from pump. We don't
  14434. write raw Ethernet packets anymore, which simplifies the code quite
  14435. a bit. The new code should be more robust, not hang in recvfrom()
  14436. as much, and generally work better. This also means that we need
  14437. to force HAL/dbus to use a created GMainContext rather than the
  14438. default context, since having the DHCP renew/rebind thread using
  14439. its own GMainContext seemed to give dbus a fit. There is also more
  14440. debugging information printed from the DHCP loop to help with future
  14441. problems.
  14442. * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
  14443. assume that the default gateway should be the DHCP server.
  14444. Patch from Matthew Schick <matt oss-institute org>
  14445. * src/backends/NetworkManagerGentoo.c
  14446. - Fix compilation error due to missing "ip4_broadcast"
  14447. 2004-12-03 Dan Williams <dcbw@redhat.com>
  14448. * initscript/Makefile.am
  14449. * initscript/Debian/NetworkManager
  14450. * initscript/Gentoo/NetworkManager
  14451. * initscript/RedHat/NetworkManager
  14452. * initscript/NMLaunchHelper.c
  14453. - Remove NMLaunchHelper, if you need to wait until the network
  14454. comes up, use the dead code from CVS.
  14455. 2004-12-01 Colin Walters <walters@redhat.com>
  14456. * configure.in: Suck in gcc warnings code from Rhythmbox,
  14457. but use fewer default flags, and in particular add -Wno-unused,
  14458. since the codebase has a lot of unused variables.
  14459. * test/nmtestdevices.c (create_device):
  14460. * test/nminfotest.c (get_network_string_property)
  14461. (get_networks_of_type):
  14462. * test/nmclienttest.c (main):
  14463. * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
  14464. * initscript/NMLaunchHelper.c (get_nm_status):
  14465. * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
  14466. * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
  14467. Fix declarations after statements.
  14468. 2004-12-01 Colin Walters <walters@redhat.com>
  14469. * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
  14470. (nmi_dbus_get_vpn_userpass): New method.
  14471. (nmi_dbus_nmi_message_handler): Invoke it.
  14472. * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
  14473. * info-daemon/NetworkManagerInfoVPN.h,
  14474. info-daemon/NetworkManagerInfoVPN.c: New files; responds
  14475. to requests for VPN passwords.
  14476. * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
  14477. 2004-12-01 Colin Walters <walters@redhat.com>
  14478. * test/nmtestdevices.c, test/nmclienttest.c: Add missing
  14479. includes.
  14480. 2004-12-01 Colin Walters <walters@redhat.com>
  14481. * panel-applet/NMWirelessAppletDbus.c
  14482. (nmwa_dbus_update_active_device_strength): Fix missing
  14483. return value.
  14484. 2004-12-01 Colin Walters <walters@redhat.com>
  14485. * panel-applet/NMWirelessApplet.c: Add missing include.
  14486. 2004-12-01 Colin Walters <walters@redhat.com>
  14487. * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
  14488. Remove useless CLAMP (); the value is unsigned, and the case tests
  14489. qual->qual < 100, so the value must always be between 0 and 100.
  14490. 2004-12-01 Colin Walters <walters@redhat.com>
  14491. * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
  14492. 2004-11-22 Colin Walters <walters@verbum.org>
  14493. * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
  14494. "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
  14495. which is essentially a noop since nscd caches hosts on disk too.
  14496. 2004-11-22 Colin Walters <walters@redhat.com>
  14497. * src/Makefile.am (NetworkManager_SOURCES): Add
  14498. NetworkManagerDevicePrivate.h.
  14499. 2004-11-22 Dan Williams <dcbw@redhat.com>
  14500. * src/NetworkManagerDevicePrivate.h
  14501. - Split out the NMDevice struct to a different file so that stuff like
  14502. NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
  14503. * dhcpcd/client.c
  14504. - fprintf->syslog
  14505. - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
  14506. need to cancel the dhcp request during the send and recv
  14507. * dhcpcd/client.h
  14508. - Move the DHCP option enum to dhcpcd.h
  14509. * src/NetworkManagerDHCP.c
  14510. - Split out the actual IP/netmask/etc setting code
  14511. - New Renew/Rebind functions
  14512. - New timer setup function for renew/rebind operations
  14513. * src/NetworkManagerDevice.c
  14514. - For device activation, if we are using DHCP then keep the activation thread
  14515. alive until device deactivation. We need to renew/rebind the DHCP address
  14516. after the T1 (renew) and T2 (rebind) times have expired.
  14517. - Increase some timeouts after bringing wireless cards up/down
  14518. 2004-11-17 Dan Williams <dcbw@redhat.com>
  14519. * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
  14520. connected to them. Then, after a scan, match up non-ESSID-broadcasting access
  14521. points with any cached MAC addresses from NetworkManagerInfo. Allows us to
  14522. show known access points that don't broadcast their ESSID in the menus without
  14523. any user intervention whatsoever.
  14524. * info-daemon/NetworkManagerInfoDbus.c
  14525. - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
  14526. for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
  14527. * src/NetworkManagerAP.[ch]
  14528. - Add a "user_addresses" data member to the NMAccessPoint structure
  14529. - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
  14530. the user_addresses data member
  14531. * src/NetworkManagerAPList.c
  14532. - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
  14533. the AP's reported address
  14534. - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
  14535. * src/NetworkManagerDHCP.c
  14536. - Increase DHCP timeout from 25s -> 30s
  14537. * src/NetworkManagerDbus.[ch]
  14538. - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
  14539. user addresses
  14540. * src/NetworkManagerDevice.c
  14541. - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
  14542. wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
  14543. "mgnt tx queue full", seemingly in response to NM controlling the card too much.
  14544. So, we take the card down to clear it out.
  14545. - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
  14546. too, since that's where the user_addresses are
  14547. * src/NetworkManagerPolicy.c
  14548. - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
  14549. that wireless networks' user_addresses list upon successful activation
  14550. 2004-11-16 Dan Williams <dcbw@redhat.com>
  14551. * src/NetworkManagerDevice.[ch]
  14552. - (nm_device_clear_activation_fail): new function
  14553. * src/NetworkManagerPolicy.c
  14554. - (nm_state_modification_monitor): clear the activation_failed flag on devices
  14555. when we've dealt with the failure so the user doesn't get failure-dialog-spammed
  14556. 2004-11-16 Dan Williams <dcbw@redhat.com>
  14557. * src/NetworkManagerDevice.c
  14558. - (nm_device_activate_wireless): Unref best_ap upon success so we don't
  14559. leak the structure, better updating of now_scanning status
  14560. - (nm_device_wireless_network_exists): Rewrite for better/faster checking
  14561. 2004-11-15 Dan Williams <dcbw@redhat.com>
  14562. Major rework of link detection code. We now use DHCP
  14563. as part of the link detection which proves to be much more robust,
  14564. and also supports Open System authentication for wireless networks.
  14565. We no longer use external DHCP client programs. Instead, we use
  14566. our own DHCP client, based on substantially reworked bits of 'dhcpcd'
  14567. which was written by:
  14568. Yoichi Hariguchi <yoichi@fore.com>
  14569. Sergei Viznyuk <sv@phystech.com>
  14570. http://www.phystech.com/download/
  14571. It resides in the "dhcpcd" directory and was refactored into a general
  14572. purpose DHCP client library by me.
  14573. Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
  14574. move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
  14575. 2004-11-15 Dan Williams <dcbw@redhat.com>
  14576. Patch from Tom Parker <palfrey@tevp.net>:
  14577. * src/NetworkManagerDevice.c
  14578. - Less output to console when no access
  14579. points are found during a scan
  14580. 2004-11-15 Dan Williams <dcbw@redhat.com>
  14581. Patch from Tom Parker <palfrey@tevp.net>:
  14582. * src/backends/interface_parser.c
  14583. - Use g_strdup ()
  14584. - Check for inp == NULL
  14585. - use syslog ()
  14586. 2004-11-13 Colin Walters <walters@redhat.com>
  14587. Patch from Tom Parker <palfrey@tevp.net>:
  14588. * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
  14589. * src/backends/NetworkManagerRedHat.c: Switch to
  14590. including shvar.h instead of shvar.c.
  14591. * src/backends/NetworkManagerDebian.c: Don't include
  14592. interface_parser.c in source file.
  14593. (libnmbackend_la_SOURCES): Don't include shvar.[ch]
  14594. and interface_parser.[ch].
  14595. * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
  14596. Include shvar.c and shvar.h here.
  14597. (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
  14598. interface_parser.c and interface_parser.h here.
  14599. 2004-11-12 Colin Walters <walters@redhat.com>
  14600. * configure.in: Strip out TARGET_DISTRO and
  14601. SYSTEM_BACKEND_FILE variables. Switch to Automake
  14602. conditionals.
  14603. * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
  14604. (libnmbackend_la_SOURCES): Use Automake conditionals
  14605. to add distro-specific files.
  14606. * initscript/Makefile.am (SUBDIRS): Update to
  14607. use conditionals.
  14608. 2004-11-12 Colin Walters <walters@redhat.com>
  14609. Patches from j bootlab org
  14610. * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
  14611. Add interface_parser.[ch].
  14612. * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
  14613. dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
  14614. 2004-11-12 Colin Walters <walters@redhat.com>
  14615. * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
  14616. call to nmi_dbus_is_running too, not necessary anymore.
  14617. * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
  14618. pick up exit().
  14619. 2004-11-11 Colin Walters <walters@verbum.org>
  14620. * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
  14621. Delete.
  14622. (nmi_dbus_service_init): Call dbus_bus_acquire_service with
  14623. the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
  14624. then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
  14625. This avoids a race condition that made it pretty easily
  14626. possible to get two NetworkManagerInfo daemons running.
  14627. 2004-11-11 Colin Walters <walters@verbum.org>
  14628. * src/NetworkManager.c (main): Use daemon(3).
  14629. * info-daemon/NetworkManagerInfo.c (main): Ditto.
  14630. * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
  14631. 2004-11-10 Dan Williams <dcbw@redhat.com>
  14632. Patches from j bootlab org
  14633. * src/NetworkManagerDevice.c
  14634. - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
  14635. whether the card has a link or not, some cards are slow
  14636. - (nm_device_activation_configure_ip): make ipv6 work a bit better
  14637. * info-daemon/NetworkManagerInfoPassphraseDialog.c
  14638. - Disable the "Login" button on the passphrase dialog until the user
  14639. enters a valid passphrase or key
  14640. Patches from Tom Parker <palfrey tevp net>
  14641. * src/backends/NetworkManagerDebian.c
  14642. - Add static IP support to the debian backend
  14643. * src/backends/interface_parser.[ch]
  14644. - Parse debian interface config files
  14645. 2004-11-08 Dan Williams <dcbw@redhat.com>
  14646. * src/NetworkManagerDevice.c
  14647. - Some random fprintf->syslog conversions
  14648. - (nm_device_wireless_network_exists): double-check for network
  14649. - (nm_device_find_and_use_essid): Copy over encryption key no matter what
  14650. * src/NetworkManagerWireless.[ch]
  14651. - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
  14652. so that the binary->ascii conversion works (if unsigned, the bitshift
  14653. will fill with zeros, which is what's required). Also mask bitshift
  14654. result with 0xF for futher assurance.
  14655. 2004-11-06 Dan Williams <dcbw@redhat.com>
  14656. * src/NetworkManagerUtils.c
  14657. - (nm_get_wireless_driver_support_level): default to
  14658. FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
  14659. flip this when changing from whitelist->blacklist of
  14660. wireless drivers
  14661. 2004-11-05 Dan Williams <dcbw@redhat.com>
  14662. Patch from Robert Paskowitz:
  14663. * src/backends/NetworkManagerGentoo.c
  14664. - Update static IP config code
  14665. 2004-11-05 Dan Williams <dcbw@redhat.com>
  14666. * info-daemon/NetworkManagerInfoDbus.c
  14667. src/NetworkManagerDbus.[ch]
  14668. src/NetworkManagerDevice.c
  14669. - Keep track of the # of attempts to get the WEP key
  14670. from the user and pass that along to the info daemon
  14671. 2004-11-05 Dan Williams <dcbw@redhat.com>
  14672. * src/NetworkManagerUtils.c
  14673. - Blacklist wireless cards rather than whitelisting them.
  14674. - Grab driver name from HAL rather than trying to find it
  14675. ourselves.
  14676. 2004-11-03 Dan Williams <dcbw@redhat.com>
  14677. * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
  14678. - Disable OK button until valid data is entered
  14679. for encryption stuff too
  14680. * panel-applet/NMWirelessApplet.c
  14681. - Report card strength for current AP if the card
  14682. doesn't report strength data for scanned access
  14683. points
  14684. * src/NetworkManagerDevice.c
  14685. - Smooth out cards reported quality, Atmel card was
  14686. intermittently reporting no quality data but soon
  14687. recovers
  14688. * src/NetworkManagerWireless.c
  14689. - Better quality data percentage calculation. Atmel
  14690. cards (mine at least) seem to report the quality
  14691. in percentage format already, so honor that
  14692. Patch from <j@bootlab.org>
  14693. * NetworkManager.h
  14694. info-daemon/NetworkManagerInfoPassphraseDialog.c
  14695. info-daemon/passphrase.glade
  14696. panel-applet/NMWirelessAppletOtherNetworkDialog.c
  14697. panel-applet/essid.glade
  14698. src/NetworkManagerAP.c
  14699. src/NetworkManagerDevice.c
  14700. src/NetworkManagerWireless.[ch]
  14701. - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
  14702. 2004-11-03 Dan Williams <dcbw@redhat.com>
  14703. * src/NetworkManagerDevice.[ch]
  14704. - (nm_device_set_enc_key): Add parameter to set Authentication
  14705. Mode (Open System, Shared Key, or None). We're still using
  14706. Shared Key for now though.
  14707. 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
  14708. * panel-applet/menu-info.c: change from bold text to light
  14709. colored, may cause problems with some themes, i've tested a lot
  14710. and they seem fine.
  14711. * panel-applet/NMWirelessApplet.c: fix strength tooltip
  14712. 2004-11-01 Colin Walters <walters@verbum.org>
  14713. * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
  14714. (nm_wireless_128bit_key_from_passphrase): Add const.
  14715. * src/NetworkManagerAP.h, src/NetworkManagerAP.c
  14716. (nm_ap_set_enc_key_source): Add const.
  14717. 2004-11-01 Colin Walters <walters@verbum.org>
  14718. * .cvsignore: Update.
  14719. 2004-10-29 Dan Williams <dcbw@redhat.com>
  14720. * src/NetworkManagerDevice.c
  14721. - (nm_device_wireless_network_exists): Actually use the encryption
  14722. key we got from the applet when attempting to find a wireless network
  14723. - Don't bring devices down so much since on some cards it triggers
  14724. firmware hotplugs each time
  14725. * src/NetworkManagerDbus.c
  14726. - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
  14727. from the caller
  14728. 2004-10-29 Dan Williams <dcbw@redhat.com>
  14729. * src/NetworkManager.c
  14730. - (nm_hal_device_property_modified): unlock a locked active
  14731. wireless device when a wired connection gets a link.
  14732. (Means you'll switch to wired whenever you plug in no
  14733. matter what).
  14734. 2004-10-29 Dan Williams <dcbw@redhat.com>
  14735. * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
  14736. - New files, implement the "Other wireless network" dialog
  14737. * panel-applet/NMWirelessApplet.c
  14738. - Move "other wireless network" dialog to separate file
  14739. * panel-applet/NMWirelessAppletDbus.[ch]
  14740. - Take key and key_type paramaters for the set_device function
  14741. * panel-applet/essid.glade
  14742. - Add UI bits for encryption settings
  14743. * src/NetworkManagerDbus.c
  14744. - Retrieve key and key_type params for "setActiveDevice" method call
  14745. and pass them on
  14746. - unref AP returned from nm_device_get_best_ap() when needed
  14747. * src/NetworkManagerDevice.c
  14748. - (nm_device_get_best_ap): ref the ap before returning it
  14749. - unref AP returned from nm_device_get_best_ap() when needed
  14750. - (nm_device_activate_wireless): add "ap" parameter so we don't
  14751. need to call nm_device_get_best_ap() here, it was pretty much
  14752. redundant anyway
  14753. - (AP_NEED_KEY): break second link check condition out into separate
  14754. function, and fix segfault when ap->enc_key_source was NULL
  14755. - (nm_device_find_and_use_essid): take key and key_type parameters and
  14756. pass them along to nm_device_wireless_network_exists(). If the
  14757. network does exist, set the passed-in key+key_type on the AP
  14758. * src/NetworkManagerPolicy.c
  14759. - unref AP returned from nm_device_get_best_ap() when needed
  14760. 2004-10-28 Dan Williams <dcbw@redhat.com>
  14761. * src/NetworkManagerUtils.c
  14762. - (nm_spawn_process): Fix a potential dereference of NULL
  14763. Patches from Peter Jones:
  14764. * src/NetworkManagerDevice.c
  14765. - (nm_device_test_wireless_extensions): Better check for
  14766. wireless devices
  14767. * src/NetworkManagerUtils.c
  14768. - (nm_spawn_process): Pass in valid stdout and stderr so
  14769. executed programs don't randomly SIGPIPE and fail
  14770. - (nm_get_wired_driver_support_level): quash hal warning
  14771. when checking for USB ethernet device
  14772. 2004-10-27 Dan Williams <dcbw@redhat.com>
  14773. * info-daemon/NetworkManagerInfo.c
  14774. info-daemon/NetworkManagerInfoDbus.c
  14775. info-daemon/NetworkManagerInfoPassphraseDialog.c
  14776. panel-applet/NMWirelessApplet.c
  14777. - Properly escape gconf keys
  14778. * src/NetworkManager.c
  14779. - remove unused variables
  14780. * src/NetworkManagerAP.c
  14781. - (nm_ap_new_from_ap): Don't redundantly set new APs
  14782. refcount since it got set in nm_ap_new()
  14783. * src/NetworkManagerAPList.c
  14784. - (nm_ap_list_combine): Give up ownership of newly created
  14785. access points to the ap list, fixes memleak
  14786. * src/NetworkManagerDevice.c
  14787. - Remove cached_ap_list4 member since its not really needed
  14788. - (nm_device_wireless_network_exists): Try to get correct
  14789. encryption status of a found AP if its already in our
  14790. device list
  14791. - (nm_device_do_normal_scan): Clean up scanning a bit, make
  14792. memory allocs/deallocs a bit clearer and shorter-lived
  14793. 2004-10-26 Ray Strode <rstrode@redhat.com>
  14794. * panel-applet/NMWirelessApplet.c:
  14795. (custom_essid_item_selected): kill some compiler
  14796. warnings
  14797. 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
  14798. * info-daemon/NetworkManagerInfoDbus.c
  14799. - (nmi_dbus_is_running): New function for determining if nmi is already running
  14800. - (nmi_dbus_service_init): exit if another instance of nmi is already running
  14801. 2004-10-23 Dan Williams <dcbw@redhat.com>
  14802. * info-daemon/NetworkManagerInfoDbus.c
  14803. - Trap the "DeviceActivationFailed" signal
  14804. * docs/NetworkManager DBUS API.txt
  14805. - Add "DeviceActivationFailed" signal
  14806. * panel-applet/NMWirelessAppletDbus.c
  14807. - Quash the "NetworkManager service not available" message
  14808. * src/NetworkManagerDbus.[ch]
  14809. - Add the "DeviceActivationFailed" signal
  14810. * src/NetworkManagerDevice.c
  14811. - Add support for activation_failed flag
  14812. - Fix deadlock where activation thread didn't clean itself up, making
  14813. main thread still believe it was alive forever (didn't reset activation
  14814. flags like activating, just_activated, etc when IP configuration
  14815. failed)
  14816. * src/NetworkManagerPolicy.c
  14817. - Implement logic for DeviceActivationFailed signal, and when activation fails
  14818. for wireless networks, try to fall back to some other access point
  14819. 2004-10-23 Dan Williams <dcbw@redhat.com>
  14820. * panel-applet/NMWirelessApplet.[ch]
  14821. - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
  14822. to the applet object, so we can get tooltips
  14823. - Add tooltips (RH #136866)
  14824. * src/NetworkManagerDevice.c
  14825. - When trying to find a wireless network, try to connect with encryption
  14826. turned on first, so that we can more accurately detect whether or not
  14827. we need to use encryption for the actual association later on
  14828. 2004-10-21 Dan Williams <dcbw@redhat.com>
  14829. * Add some support for telling NetworkManagerInfo to tell the user
  14830. that they are using a device that's not fully supported
  14831. * Fix some assertions in debug messages due to null access point args
  14832. 2004-10-21 Dan Williams <dcbw@redhat.com>
  14833. * src/NetworkManagerDevice.c
  14834. - Don't try to activate/bring up/down unsupported
  14835. devices
  14836. * src/NetworkManagerUtils.c
  14837. - Fix case of PCI ID checks for driver support levels
  14838. 2004-10-21 Dan Williams <dcbw@redhat.com>
  14839. * NetworkManager.h
  14840. - New file, now contains commonly used structures and bits
  14841. for the dbus API of NetworkManager
  14842. * Makefile.am
  14843. - Deliver NetworkManager.h to ${includedir}/NetworkManager
  14844. * src/NetworkManager.h
  14845. - Rename -> src/NetworkManagerMain.c
  14846. * Various fixups all around to use NetworkManager.h and new
  14847. src/NetworkManagerMain.h, remove redundant bits that got
  14848. moved into NetworkManager.h
  14849. * src/NetworkManagerDevice.[ch]
  14850. src/NetworkManagerUtils.[ch]
  14851. src/NetworkManagerPolicy.c
  14852. src/NetworkManagerDbus.c
  14853. - Whitelist wireless drivers, and blacklist some wired
  14854. drivers. Also blacklist cipsec and ethernet-over-usb
  14855. devices at this time (RH #135722, RH #135648)
  14856. - Don't leak unsupported devices out over dbus, or allow
  14857. them to be set as the active device. Skip over them
  14858. during automatic device picking
  14859. * test/nmclienttest.c
  14860. - Clean up the dbus code a lot
  14861. Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
  14862. * configure.in: post release bump.
  14863. Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
  14864. * configure.in:
  14865. * NEWS: Released NetworkManager-0.3.1
  14866. 2004-10-18 Dan Williams <dcbw@redhat.com>
  14867. Patches from Thom May:
  14868. * test/nmtestdevices.c
  14869. - Include <string.h>
  14870. * src/backends/NetworkManagerDebian.c:
  14871. - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
  14872. (nm_system_device_flush_routes, nm_system_device_flush_addresses)
  14873. Move to using g_strdup_printf rather than arbitrary buffers
  14874. - (nm_system_device_setup_static_ip4_config) Implement function.
  14875. - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
  14876. 2004-10-17 Dan Williams <dcbw@redhat.com>
  14877. * info-daemon/NetworkManagerInfoDbus.c
  14878. - Display name of network in the "network not found" dialog
  14879. * panel-applet/NMWirelessAppletDbus.c
  14880. - (nmwa_dbus_call_nm_method): new function replaces all other
  14881. nmwa_dbus_get_[string|string_array|int|boolean] methods
  14882. - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
  14883. consolidated into nmwa_dbus_get_object_name()
  14884. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14885. * src/NetworkManagerDbus.c
  14886. info-daemon/NetworkManagerInfoDbus.c
  14887. - Display an error dialog when the user tries to use an
  14888. "Other wireless network" that's not found.
  14889. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14890. * panel-applet/NMWirelessApplet.[ch]
  14891. - Fix up corner cases in applet state, making it
  14892. look more responsive. Change state to "connecting" when
  14893. the user is forcing a device too.
  14894. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14895. * src/NetworkManagerAPList.c
  14896. - (nm_ap_list_update_network): Disown AP after the list takes ownership
  14897. * src/NetworkManagerDbus.c
  14898. - (nm_dbus_nm_set_active_device): Simplify the device setting logic
  14899. * src/NetworkManagerDevice.c
  14900. - Disown APs after the device's AP list takes ownership
  14901. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14902. * panel-applet/NMWirelessApplet.c
  14903. - Update our applet state from the GUI thread
  14904. * panel-applet/NMWirelessAppletDbus.c
  14905. - Greatly simplify the locking to make the GUI thread
  14906. smoother. Update a private copy of the device list
  14907. and active device and only when done talking to
  14908. NetworkManager turn it over to the GUI thread.
  14909. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14910. * src/NetworkManagerAP.[ch]
  14911. - Add "artificial" get/set functions, set for APs that
  14912. aren't discovered as part of a scan but instead
  14913. discovered by force-setting the ESSID
  14914. * src/NetworkManagerDevice.[ch]
  14915. - (nm_device_wireless_network_exists): pass back whether
  14916. or not the discovered AP was encrypted. Also, try
  14917. falling back to encrypted mode on the card if unencrypted
  14918. association doesn't work
  14919. - (nm_device_find_and_use_essid): If the network requested
  14920. did in fact exists, but it wasn't in our scan list, add
  14921. an "artificial" entry for it. Some Cisco cards don't
  14922. see non-ESSID-broadcasting APs in their scan but can still
  14923. associate with them if you know the ESSID, this works around
  14924. that behavior
  14925. - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
  14926. to scan if the card is currently associated with that AP
  14927. 2004-10-15 Dan Williams <dcbw@redhat.com>
  14928. ---- We have a website ----
  14929. http://people.redhat.com/dcbw/NetworkManager
  14930. Patch from Robert Paskowitz:
  14931. * src/NetworkManager.c
  14932. - (main): Make sure we are run as root
  14933. * src/NetworkManagerDevice.c
  14934. - Fix type in ad-hoc setting function
  14935. Patch from Thom May:
  14936. * src/backends/NetworkManagerDebian.c
  14937. - Make Debian backend compile again
  14938. 2004-10-14 Dan Williams <dcbw@redhat.com>
  14939. * Tagged NetworkManager-0_3
  14940. 2004-10-14 Dan Williams <dcbw@redhat.com>
  14941. Patch from Robert Paskowitz:
  14942. * NEWS
  14943. src/NetworkManagerDevice.[ch]
  14944. src/backends/NetworkManagerDebian.c
  14945. src/backends/NetworkManagerGentoo.c
  14946. src/backends/NetworkManagerRedHat.c
  14947. src/backends/NetworkManagerSlackware.c
  14948. - Add support for grabbing and using a broadcast address
  14949. from system config files
  14950. - Some Gentoo backend fixes for grabbing network config
  14951. - Fix LOG_WARN->LOG_WARNING
  14952. 2004-10-14 Dan Williams <dcbw@redhat.com>
  14953. * NEWS: a few small fixes in the credits
  14954. Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
  14955. * NEWS: prep for release.
  14956. Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
  14957. * panel-applet/NMWirelessAppletDbus.c
  14958. (nmwa_dbus_update_device_wireless_networks): remove warnings.
  14959. Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
  14960. * panel-applet/NMWirelessApplet.c (animation_timeout): Make
  14961. applet->state == APPLET_STATE_NO_NM animation.
  14962. * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
  14963. set the text correctly.
  14964. 2004-10-14 Dan Williams <dcbw@redhat.com>
  14965. * src/NetworkManager.c
  14966. - Only accept and manager 802.3 and 802.11 devices
  14967. * src/NetworkManagerDbus.[ch]
  14968. - (nm_dbus_nm_set_active_device): move most of the actual activation
  14969. logic into NetworkManagerDevice.c
  14970. - (nm_dbus_network_status_from_data): new function
  14971. - (nm_dbus_signal_network_status_change): new function, unused for now
  14972. - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
  14973. * src/NetworkManagerDevice.[ch]
  14974. - (nm_device_find_and_use_essid): new function. Search for, and if found use,
  14975. a random ESSID.
  14976. 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
  14977. * info-daemon/NetworkManagerInfo.c
  14978. - (main): Added session management
  14979. 2004-10-14 Dan Williams <dcbw@redhat.com>
  14980. * panel-applet/NMWirelessAppletDbus.[ch]
  14981. - Expose network_device_[un]ref()
  14982. - Expose wireless_network_[un]ref()
  14983. - (wireless_network_new_with_essid): new function, create and return
  14984. a wireless network with a particular essid
  14985. * panel-applet/NMWirelessApplet.c
  14986. - Hook up the "other network" dialog to do something
  14987. Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
  14988. * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
  14989. doesn't work yet, but it looks okay.
  14990. * panel-applet/icons/*png: Resize to 22x22 and install in the
  14991. right place.
  14992. 2004-10-13 Dan Williams <dcbw@redhat.com>
  14993. * panel-applet/NMWirelessApplet.c
  14994. - Add function to print out applet_state in a readable
  14995. manner
  14996. * src/NetworkManager.c
  14997. - (main): Don't segfault when nm_dbus_init() fails, we had
  14998. a left-over call to hal_shutdown() into which we passed NULL
  14999. * src/NetworkManagerAP.c
  15000. - (nm_ap_set_essid): Allow NULL essids
  15001. * src/NetworkManagerAPList.[ch]
  15002. - More use of nm_ap_list_[un]lock ()
  15003. - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
  15004. network/essid, just return nothing. Also skip over NULL
  15005. essid access points in the list when searching
  15006. - (nm_ap_list_get_ap_by_address): new function
  15007. - (nm_ap_list_update_network): set the access point's key source to
  15008. NULL when the key returned from NetworkManagerInfo is NULL or
  15009. of 0 length
  15010. - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
  15011. copy timestamp over too
  15012. - (nm_ap_list_copy_essids_by_address): new function, attempt to
  15013. find the correct ESSID for a blank-essid access point by searching
  15014. through another list and matching access point MAC addresses
  15015. - (nm_ap_list_diff): exclude blank-essid access points from the diffs
  15016. * src/NetworkManagerDbus.c
  15017. - (nm_dbus_nm_set_active_device): deal with random networks the user
  15018. may specify. This is mainly for access points that don't
  15019. broadcast their essid. So if the user tells us to associate with
  15020. some random ESSID that's not in our access point list, we find
  15021. out if the access point does in fact exist (by attempting association
  15022. and then matching that access point's MAC address with the essid the
  15023. user gave us) and then we switch to it.
  15024. - (nm_dbus_devices_handle_request): don't add blank-essid access points
  15025. to the returned list of networks for the "getNetworks" method
  15026. * src/NetworkManagerDevice.[ch]
  15027. - Extra debugging info for link detection
  15028. - (nm_device_ap_list_get_ap_by_address): new function, return an AP
  15029. based on MAC address
  15030. - (nm_device_get_path_for_ap): ignore blank-essid access points
  15031. - (nm_device_wireless_network_exists): new function, find out whether
  15032. a random ESSID exists by attempting to associate with it
  15033. - (nm_device_do_normal_scan): allow blank-essid access points in our
  15034. device list as long as they have an AP MAC address we can use.
  15035. Also send WirelessNetwork[Dis]Appeared signals for non-active
  15036. devices too. Lets the applet update more frequently.
  15037. * src/backends/NetworkManagerGentoo.c
  15038. - Patch from: Robert Paskowitz
  15039. - Update backend code for Gentoo
  15040. - Implement nm_system_device_update_config_info ()
  15041. * test/nmclienttest.c
  15042. - (set_network_device): new function, takes a command-line argument
  15043. and tells NetworkManager to use that wireless network
  15044. Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
  15045. * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
  15046. if the notification icon crashes 5 times within 5 seconds of each respawn
  15047. Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
  15048. * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
  15049. g_print.
  15050. Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
  15051. * panel-applet/NMWirelessApplet.h: Change the name of the icons.
  15052. * panel-applet/NMWirelessApplet.c: (animation_timeout),
  15053. (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
  15054. (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
  15055. Change the name of the icons.
  15056. * panel-applet/menu-info.c: (nm_menu_wired_class_init),
  15057. (nm_menu_wired_expose_event), (nm_menu_network_class_init),
  15058. (nm_menu_wireless_class_init), (nm_menu_wireless_new),
  15059. (nm_menu_wireless_expose_event): Really bad hack to get the style
  15060. to draw in the right color.
  15061. Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
  15062. * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
  15063. Notification if it crashes
  15064. Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
  15065. * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
  15066. (nmwa_dbus_get_string): remove unused functions
  15067. * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
  15068. (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
  15069. remove unused functions
  15070. * panel-applet/NMWirelessApplet.c: Rewrite icon code.
  15071. 2004-10-12 Dan Williams <dcbw@redhat.com>
  15072. * panel-applet/NMWirelessAppletDbus.c
  15073. - New functions:
  15074. wireless_network_new
  15075. wireless_network_copy
  15076. network_device_new
  15077. network_device_copy
  15078. * src/NetworkManagerDevice.[ch]
  15079. - New functions:
  15080. nm_device_set_mode_managed
  15081. nm_device_set_mode_adhoc
  15082. - Use these functions where appropriate
  15083. - When creating a new wireless device, force the card
  15084. to managed/Infrastructure mode as soon as possible
  15085. 2004-10-12 Dan Williams <dcbw@redhat.com>
  15086. * src/NetworkManagerDevice.c
  15087. - Force wireless cards into Infrastructure mode before we use them
  15088. 2004-10-12 Dan Williams <dcbw@redhat.com>
  15089. * TODO
  15090. - Remove bit about static IP address support
  15091. * src/NetworkManagerUtils.c
  15092. - (nm_spawn_process): Add some error reporting
  15093. * src/NetworkManagerDevice.c
  15094. - (nm_device_activation_configure_ip): hook up to the static config
  15095. routines in the backends
  15096. * src/backends/NetworkManagerRedHat.c
  15097. - (nm_system_device_update_config_info): use shvar.c routines to
  15098. parse the config file iformation, not our own
  15099. - (nm_system_device_setup_static_ip4_config): new function, based
  15100. heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
  15101. with a static IP address and gateway
  15102. * src/backends/shvar.[ch]
  15103. - Parser (filched from initscripts package) for ifcfg-* files
  15104. * src/backends/NetworkManagerSystem.h
  15105. src/backends/NetworkManagerGentoo.c
  15106. src/backends/NetworkManagerDebian.c
  15107. src/backends/NetworkManagerSlackware.c
  15108. - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
  15109. 2004-10-11 Dan Williams <dcbw@redhat.com>
  15110. * TODO
  15111. - Remove bit about more robust AP diffing since I just implemented it
  15112. 2004-10-11 Dan Williams <dcbw@redhat.com>
  15113. * src/NetworkManagerAP.c
  15114. - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
  15115. enough RAM to allocate new AP structures, but return NULL instead
  15116. * src/NetworkManagerAPList.[ch]
  15117. - (nm_ap_list_is_empty): new function
  15118. - (nm_ap_list_combine): new function, combine two access point lists
  15119. - (nm_ap_list_copy_keys): new function, copy keys from one list
  15120. into another
  15121. * src/NetworkManagerDevice.[ch]
  15122. - Rename some functions to be clearer:
  15123. nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
  15124. nm_device_just_activated -> nm_device_is_just_activated
  15125. nm_device_activating -> nm_device_is_activating
  15126. nm_device_now_scanning -> nm_device_is_scanning
  15127. - Cache the last 4 scans so that the access point list is more stable.
  15128. We combine the lastest two scans and use that as the AP list,
  15129. and diff that combined list against the combination of the earliest
  15130. two cached scans for the WirelessNetworkAppeared/Dissappeared signals
  15131. 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
  15132. * info-daemon/NWManagerInfo.h
  15133. - (struct NetworkManagerInfo): add shutdown_timeout GSource
  15134. * info-daemon/NWManagerInfoDbus.c
  15135. - (shutdown_callback): new function
  15136. - (nmi_dbus_filter): Create a 30 second timeout until shutdown
  15137. if NetworkManager goes away. Kill the timeout
  15138. if NetworkManager restarts before the 30 seconds
  15139. are up.
  15140. - (nmi_dbus_service_init):
  15141. - call gtk_main_quit if NetworkManager is not running
  15142. - add filters to monitor dbus service creations and
  15143. deletions
  15144. 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
  15145. * panel-applet/NMWirelessApplet.c
  15146. - (nmwa_update_state): Hide notification icon if we are only
  15147. showing one wired card and no wireless interfaces
  15148. (Red Hat Bug #134895)
  15149. * panel-applet/NMWirelessAppletDbus.c
  15150. - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
  15151. * info-daemon/NWManagerInfo.c
  15152. - (main): Terminated the notification_icon_cmd array with a NULL
  15153. 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
  15154. * configure.in (ALL_LINGUAS): Added de (German).
  15155. 2004-10-08 Dan Williams <dcbw@redaht.com>
  15156. * src/NetworkManagerDevice.c
  15157. - Be a bit more robust about link checking, ie make sure that
  15158. the WEP key we were given actually has some data in it
  15159. 2004-10-08 Dan Williams <dcbw@redhat.com>
  15160. * info-daemon/NetworkManagerInfo.c (main):
  15161. - Initialize GError object to NULL
  15162. 2004-10-08 Dan Williams <dcbw@redhat.com>
  15163. * panel-applet/NMWirelessAppletDbus.c
  15164. - Die if NetworkManagerInfo dies, since it manages our lifetime
  15165. 2004-10-08 Dan Williams <dcbw@redhat.com>
  15166. * info-daemon/NetworkManagerInfo.[ch]
  15167. info-dameon/NetworkManagerInfoDbus.[ch]
  15168. info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
  15169. - Preserve original label text in the passphrase dialog so that
  15170. it actually gets updated with the new network name the next
  15171. time around. Previously, we were overwriting it so you'd get
  15172. the wrong network name to enter a key for
  15173. - Add a "Key Type" combo to the passphrase dialog, user selects
  15174. encryption key type now, type is stored in GConf too
  15175. - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
  15176. * src/NetworkManagerAP.[ch]
  15177. - Remove all the encyption method magic. It's now set by the user
  15178. and NetworkManager retrieves the type of encryption key from
  15179. NetworkManagerInfo
  15180. * src/NetworkManagerAPList.[ch]
  15181. src/NetworkManagerDbus.[ch]
  15182. - Adjust to new way of setting encryption key and method
  15183. - Pull encryption method down from NMI along with key
  15184. * src/NetworkManagerDevice.[ch]
  15185. - Removed encryption method fallback magic as the method is now
  15186. determined by the user. This greatly simplifies the connection
  15187. logic.
  15188. - More robust connection/link logic. Besides removing the encryption
  15189. method fallback magic, check whether or not the card is receiving
  15190. invalidly encrypted packets, which usually indicates that we have
  15191. a bad WEP key set.
  15192. - Don't blindly forge ahead when DHCP fails (still not completely fixed)
  15193. * test/nminfotest.c
  15194. - Test out new "Key Type" stuff in the NMI passphrase dialog
  15195. 2004-10-07 Dan Williams <dcbw@redhat.com>
  15196. * info-daemon/NetworkManagerInfo.conf
  15197. - Allow root user to run NMI too
  15198. 2004-10-06 Dan Williams <dcbw@redhat.com>
  15199. * src/NetworkManagerDevice.[ch]
  15200. src/NetworkManagerDbus.c
  15201. doc/NetworkManager DBUS API.txt
  15202. - Add a new status tag "scanning", which is set when there
  15203. is no active network connection, but NetworkManager is
  15204. looking for an access point to associate with
  15205. * panel-applet/main.c
  15206. - Cast the applet appropriately for gtk_widget_show_all ()
  15207. Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
  15208. * panel-applet/eggtrayicon.[ch]:
  15209. * panel-applet/main.c: Add missing file
  15210. 2004-10-04 Dan Williams <dcbw@redhat.com>
  15211. * src/NetworkManagerDevice.[ch]
  15212. - Add a slightly more robust method of determining if the WEP key
  15213. is correct or not, by checking the WEP-discarded packet count
  15214. on the card
  15215. * info-daemon/NetworkManagerInfo.c
  15216. - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
  15217. un-escape values we pull out rather than escaping them
  15218. 2004-10-03 Marcel Telka <marcel@telka.sk>
  15219. * configure.in (ALL_LINGUAS): Added sk.
  15220. Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
  15221. * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
  15222. and feel. We should be back to working, and have a good, clean
  15223. look.
  15224. 2004-09-30 Dan Williams <dcbw@redhat.com>
  15225. * info-daemon/NetworkManagerInfo.c
  15226. info-daemon/NetworkManagerInfoDbus.c
  15227. test/nminfotest.c
  15228. - Escape ESSIDs in gconf
  15229. * src/NetworkManagerDevice.c
  15230. - Fix pseudo-scanning to use netowrk list from info daemon
  15231. Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
  15232. * configure.in: Add a temporary --enable-notification-icon. This
  15233. will prolly go away.
  15234. * info-daemon/Makefile.am:
  15235. * info-daemon/NetworkManagerInfo.c:
  15236. * info-daemon/NetworkManagerInfo.h: Use a notification icon.
  15237. * panel-applet/Makefile.am:
  15238. * panel-applet/NMWirelessApplet.c: Turn into a notification icon
  15239. * panel-applet/NMWirelessApplet.h:
  15240. Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
  15241. * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
  15242. before 'select custom ESSID'.
  15243. * panel-applet/menu-info.c: Start rewrite for better headers. Not
  15244. fully complete, but syncing in prep for merge.
  15245. * panel-applet/icons/*png: New images
  15246. 2004-09-28 Dan Williams <dcbw@redhat.com>
  15247. * src/NetworkManager.c
  15248. src/NetworkManagerDevice.c
  15249. src/NetworkManagerPolicy.c
  15250. - Don't blow away an active wired connection on startup
  15251. 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
  15252. Changes from J5
  15253. * info-daemon/NetworkManagerInfo.conf: fixed own permissions
  15254. * info-daemon/NetworkManagerInfoDbus.c: added service name to
  15255. syslog output
  15256. Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
  15257. * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
  15258. have a wireless card.
  15259. Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
  15260. * panel-applet/NMWirelessApplet.c: move the custom essid item.
  15261. Also, get the right device strings.
  15262. Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
  15263. * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
  15264. the logic to make this right.
  15265. * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
  15266. devices so that wired networks are always first.
  15267. 2004-09-22 <clarkbw@cvs.gnome.org>
  15268. * initscript/Debian/.cvsignore:
  15269. * initscript/Slackware/.cvsignore:
  15270. Added new cvsignores for Makefile, Makefile.in
  15271. * test/.cvsignore:
  15272. Added nmtestdevices
  15273. * src/NetworkManagerDevice.c:
  15274. * src/NetworkManager.c:
  15275. Updated the wireless/wired HAL device strings from net.ethernet to
  15276. net.80203 or net.80211 depending on wired or wireless respectively
  15277. * examples/python/NetworkManager.py:
  15278. s/Quality/Strength/
  15279. * examples/python/systray/network_tray.py:
  15280. Lots of little changes and fixes. been rotting for a while so I
  15281. figured I'd finally sync them all with CVS
  15282. Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
  15283. * configure.in: Add graphics
  15284. * panel-applet/Makefile.am: Add graphics
  15285. * panel-applet/icons/*: Add graphics
  15286. * panel-applet/NMWirelessApplet.c: Use new menu times to display
  15287. the icons fully lined up.
  15288. * panel-applet/menu-info.c:
  15289. * panel-applet/menu-info.h: Add another menu type.
  15290. Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
  15291. * panel-applet/NMWirelessApplet.c: Redo the menu item code.
  15292. * panel-applet/menu-item.[ch]: Wireless menu item.
  15293. 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
  15294. * info-daemon/NetworkManagerInfo.conf
  15295. - Created a more robust security policy for the DBus service
  15296. - everything is denied by default
  15297. - root can own and send to the service
  15298. - users logged in at the console can send to the service
  15299. 2004-09-13 Dan Williams <dcbw@redhat.com>
  15300. * src/NetworkManagerDevice.c
  15301. - (nm_device_get_essid): use iw_get_basic_config() rather than
  15302. iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
  15303. the latter
  15304. 2004-09-13 Dan Williams <dcbw@redhat.com>
  15305. * TODO: fix typo
  15306. * docs/NetworkManager DBUS API.txt
  15307. - Update for new signal strength changes
  15308. * panel-applet/NMWirelessApplet.c
  15309. - Make panel icon show strength of the current connection
  15310. - Cleanups and memleak fixes
  15311. * panel-applet/NMWirelessApplet.h
  15312. - Add data members for signal strength on devices and networks
  15313. * panel-applet/NMWirelessAppletDbus.c
  15314. - Free more DBusErrors
  15315. - Update for new signal strength changes
  15316. - Make devices and networks more like real objects, use ref/unref methods
  15317. - Actually unlock the mutex when updating the active device
  15318. * src/NetworkManagerAP.c
  15319. - Change AP functions and data members from "quality"->"strength"
  15320. * src/NetworkManagerDbus.c
  15321. - Kill "getMaxQuality" and "getQuality" methods
  15322. - Add "getStrength" methods for Networks and Devices
  15323. * src/NetworkManagerDevice.[ch]
  15324. - Add accessors for device strength
  15325. - Add functions to update strength for a device. Note that not all drivers
  15326. actually support signal strength for scanned access points (Atmel drivers
  15327. being one)
  15328. - Calculate signal strength for each AP during scan
  15329. * src/NetworkManagerWireless.[ch]
  15330. - Add function to return signal strength % from a device and a raw quality struct
  15331. * test/nmclienttest.c
  15332. - Update for new signal strength changes
  15333. 2004-09-11 Dan Williams <dcbw@redhat.com>
  15334. * src/NetworkManager.c
  15335. - Fix race condition between initscripts and NM on card insertion
  15336. which could cause a card to keep an IP address and routes around
  15337. even when it was not the active device
  15338. * src/NetworkManagerDbus.c
  15339. - Fix compile errors, free more DBusErrors
  15340. 2004-09-11 Dan Williams <dcbw@redhat.com>
  15341. * docs/NetworkManager DBUS API.txt
  15342. - Add an explanation of NM's API
  15343. * src/NetworkManagerDbus.c
  15344. - Free some more DBusErrors if needed
  15345. 2004-09-11 Dan Williams <dcbw@redhat.com>
  15346. * panel-applet/NMWirelessApplet.c
  15347. panel-applet/NMWirelessAppletDbus.c
  15348. - Start using NetworkDevice/WirelessNetwork structures in more places
  15349. - Update for unified device/network forcing in NetworkManager
  15350. * src/NetworkManager.c
  15351. - some code consolidation
  15352. * src/NetworkManagerDbus.c
  15353. - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
  15354. or two arguments: the first is the NM ID of the device to switch to,
  15355. and the second (optional) argument is the ESSID of a wireless network
  15356. to use as well.
  15357. - Get rid of "setNetwork" method due to above change
  15358. * src/NetworkManagerDevice.c
  15359. - (nm_device_new): perform scan and update best AP on device creation
  15360. - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
  15361. - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
  15362. spin waiting for cancellation to finish before returning
  15363. * src/NetworkManagerPolicy.c
  15364. - Changes here clarify the situations in which a device switch occurs, and
  15365. make sure to keep using a forced device and network if the user gives
  15366. us one
  15367. - Remove old unused code
  15368. 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
  15369. * configure.in: Added Danish (da) to ALL_LINGUAS.
  15370. 2004-09-09 Dan Williams <dcbw@redhat.com>
  15371. * panel-applet/NMWirelessAppletDbus.c
  15372. - Pull fresh devices and networks from NM when wireless networks
  15373. change. Provides faster feedback of a forced wireless network
  15374. * src/NetworkManagerDbus.c
  15375. - Return error when "getMaxQuality" is called on a wired device
  15376. - Make best_ap freezing actually work again, and signal cancellation
  15377. of activation if there's already a device activation when the user
  15378. freezes the best_ap
  15379. * src/NetworkManagerDevice.c
  15380. - Don't clear out the best_ap for wireless devices when the link goes
  15381. down, that's done elsewhere
  15382. - Kill any dhcp daemons when cancelling device activation since they
  15383. may be stuck waiting for a DHCP address, and since we're cancelling
  15384. activation we don't care about that anymore
  15385. * src/NetworkManagerPolicy.c
  15386. - Make sure to unref the device we ref earlier (we refed it to make sure
  15387. it stuck around during device activation and such)
  15388. - If we were going to change the best device, but its activating currently
  15389. (and therefore the change didn't occur due to the check earlier)
  15390. we mark the state changed to we come back to it later when device
  15391. activation has canceled and its no longer activating
  15392. * src/backends/NetworkManagerRedHat.c
  15393. - SIGKILL dhcp daemons rather than SIGTERM-ing them
  15394. 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
  15395. * info-daemon/passphrase.glade:
  15396. set passphrase input to activates_default : True
  15397. * examples/python/systray/network_tray.py
  15398. (network_tray.sort_networks):
  15399. Added support for having wireless always scanning
  15400. 2004-09-09 Dan Williams <dcbw@redhat.com>
  15401. NOTE: this commit changes the behavior of wireless devices in
  15402. NetworkManager. They are now up all the time, scanning all
  15403. the time. Only the active device has an IP address and routing
  15404. information set up however. Also, NetworkManager will no longer
  15405. opportunistically switch wireless networks when a better one
  15406. comes in range, it will remain associated with one wireless network
  15407. until that one drops out.
  15408. * panel-applet/NMWirelessApplet.c
  15409. panel-applet/NMWirelessAppletDbus.c
  15410. - List all wireless cards and their respective networks
  15411. * src/NMLoadModules
  15412. - Use full path to /sbin/ip
  15413. * src/NetworkManager.c
  15414. - Keep wireless devices up all the time so they can scan
  15415. * src/NetworkManagerDbus.c
  15416. - On a WirelessNetworkUpdate signal from NMI, don't update
  15417. the "best" AP
  15418. * src/NetworkManagerDevice.c
  15419. - (nm_device_set_link_active): clear out the best ap for
  15420. wireless devices when the link is set to FALSE
  15421. - Scan on all wireless cards, all the time
  15422. - (nm_device_activation_worker): split out the wireless card
  15423. link-waiting code to a separate function
  15424. - Keep wireless cards up even if device activation fails
  15425. - Don't update the "best" ap as much
  15426. * src/NetworkManagerPolicy.c
  15427. - Don't update the best ap when checking if its frozen,
  15428. let link checking clear out a frozen best ap for us
  15429. * src/NetworkManagerWireless.c
  15430. - Scan on all wireless cards, all the time
  15431. 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
  15432. * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
  15433. 2004-09-09 Ankit Patel <ankit@redhat.com>
  15434. * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
  15435. 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
  15436. * configure.in: Added Walloon (wa) to ALL_LINGUAS.
  15437. 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
  15438. * examples/python/NetworkManager.py:
  15439. added CONNECTED, CONNECTING, and DISCONNECTED states
  15440. added methods to return number of devices of a single type
  15441. * examples/python/systray/network_tray.py:
  15442. did some tweaks to get the menu looking near what it is supposed
  15443. to look like. Also did a Airo card hack to make it show the
  15444. correct AP quality
  15445. 2004-09-08 Dan Williams <dcbw@redhat.com>
  15446. * panel-applet/no-networkmanager.png
  15447. panel-applet/Makefile.am
  15448. panel-applet/NMWirelessApplet.c
  15449. - Add a "NetworkManager not running" icon and use it
  15450. - Use new consolidated GConf keys rather than Preferred/Trusted
  15451. * TODO: update
  15452. * info-daemon/NetworkManagerInfo.c
  15453. info-daemon/NetworkManagerInfoDbus.[ch]
  15454. info-daemon/NetworkManagerInfoPassphraseDialog.c
  15455. - There are now no longer two separate lists of wireless networks,
  15456. but one list where each network is "trusted" or not trusted
  15457. - Add a "getNetworkTrusted" dbus method
  15458. - "WirelessNetworkUpdate" signal now sent rather than
  15459. "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
  15460. - Start freeing some dbus errors (not completed yet)
  15461. * info-daemon/passphrase.glade
  15462. - Remove the "don't show" hints for pager and taskbar
  15463. - Add a title since its going to be in the taskbar
  15464. * src/NetworkManager.[ch]
  15465. src/NetworkManagerAPList.[ch]
  15466. - There are now no longer two separate lists of wireless networks,
  15467. but one list where each network is "trusted" or not trusted
  15468. * src/NetworkManagerAP.[ch]
  15469. - Add get/set "trusted" accessors and data bit
  15470. * src/NetworkManagerDbus.[ch]
  15471. - Add function to get "trusted" status of a network from NetworkManagerInfo
  15472. - Trap new WirelessNetworkUpdate signal rather than old separate signals
  15473. * src/NetworkManagerDevice.[ch]
  15474. - Add per-device config data (ip4 addr, gateway, netmask) and accessors
  15475. - (nm_device_new): Get device config from backend when initializing devices
  15476. - (nm_device_activation_worker): Split out device configuration on
  15477. activation to deal with static/dynamic IP differences, and try encryption
  15478. fallbacks on a device if the encryption method for the best AP is not good
  15479. - (nm_device_update_best_ap): convert to new consolidated access point lists from
  15480. NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
  15481. * src/NetworkManagerWireless.c
  15482. - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
  15483. * src/backends/NetworkManagerRedHat.c
  15484. src/backends/NetworkManagerSystem.h
  15485. - (nm_system_device_update_config_info): Add function to get device configuration
  15486. from system data in ifcfg-* files
  15487. * src/backends/NetworkManagerDebian.c
  15488. src/backends/NetworkManagerGentoo.c
  15489. src/backends/NetworkManagerSlackware.c
  15490. - Add stub functions for getting device configuration
  15491. 2004-09-07 Dan Williams <dcbw@redhat.com>
  15492. * src/backends/NetworkManagerRedhat.c
  15493. src/backends/NetworkManagerSlackware.c
  15494. - Use full path to /sbin/ip everywhere
  15495. 2004-09-07 Dan Williams <dcbw@redhat.com>
  15496. Patch from: Narayan Newton <narayan_newton@yahoo.com>
  15497. * configure.in
  15498. initscript/Makefile.am
  15499. initscript/Slackware/Makfile.am
  15500. initscript/Slackware/rc.networkmanager
  15501. src/Makefile.am
  15502. src/backends/NetworkManagerSlackware.c
  15503. - Add Slackware support
  15504. 2004-09-07 Dan Williams <dcbw@redhat.com>
  15505. Patches below from:
  15506. <j@bootlab.org>
  15507. Mark Roach <mrroach@okmaybe.com>
  15508. Thom May <thom@debian.org>
  15509. * configure.in
  15510. initscript/Debian/NetworkManager
  15511. initscript/Debian/Makefile.am
  15512. - Initscript for Debian
  15513. * src/backends/NetworkManagerDebian.c
  15514. - Add missing system init function to allow compilation
  15515. on Debian
  15516. 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
  15517. * configure.in: Added 'pt_BR' to ALL_LINGUAS.
  15518. 2004-09-03 Akagic Amila <bono@linux.org.ba>
  15519. * configure.in: Added 'bs' to ALL_LINGUAS.
  15520. 2004-09-02 Colin Walters <walters@verbum.org>
  15521. * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
  15522. (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
  15523. g_strdup_printf instead of arbitrarily sized buffers.
  15524. 2004-09-01 Colin Walters <walters@verbum.org>
  15525. * NetworkManager.pc.in: New file.
  15526. * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
  15527. 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
  15528. * configure.in: Punjabi(pa) is added to po/.
  15529. 2004-08-31 Dan Williams <dcbw@redhat.com>
  15530. * Remove 'debug' extern global from all files since we now
  15531. use syslog()
  15532. * src/NetworkManager.[ch]
  15533. - Break out routine that get the net.interface property from HAL,
  15534. removing that logic from nm_create_device_and_add_to_list()
  15535. - (nm_create_device_and_add_to_list): make this a bit more general so
  15536. it doesn't do the talking to HAL. Also add arguments to facilitate
  15537. the create of test devices.
  15538. - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
  15539. - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
  15540. which makes NetworkManager listen for dbus commands to create test
  15541. devices, which have no backing hardware. Use when you're on a plane
  15542. for example, and/or forgot your wireless card at home. Test devices
  15543. _cannot_ be created unless NM is started with --enable-test-devices.
  15544. * src/NetworkManagerDbus.[ch]
  15545. - New "getLinkActive" method for devices
  15546. - New "setLinkActive" method for devices (only works on test devices)
  15547. - New "createTestDevice" method on NetworkManager object to create a test
  15548. device of a specified type (ie wired, wireless). UDI is created from
  15549. scratch, as is the interface name. Only works when NM is started with
  15550. --enable-test-devices switch.
  15551. - New "removeTestDevice" method on NetworkManager object which removes a
  15552. test device. Only works when NM is started with --enable-test-devices
  15553. * src/NetworkManagerDevice.[ch]
  15554. - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
  15555. whether a device is a test device or not, and what its link status is.
  15556. - Deal with test devices in most functions. For those that work directly on hardware
  15557. special-case test devices.
  15558. - (nm_device_new): don't create a test device if test devices weren't enabled on the
  15559. command-line.
  15560. - (nm_device_update_link_active): split out logic for wired and wireless device link
  15561. checking to separate functions to facilitate test device link checking.
  15562. - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
  15563. don't make a distinction between System Authentication and Encryption
  15564. (namely Cisco aironet), we use Open System auth when setting a WEP key
  15565. on the card. We don't deal with Shared Key auth yet.
  15566. - (nm_device_activation_worker): split the activation cancel check logic out into
  15567. a separate routine nm_device_activation_cancel_if_needed()
  15568. - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
  15569. - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
  15570. a list of fake access points that they can "see"
  15571. - (nm_device_is_test_device): return whether or not a device is a test device
  15572. * src/NetworkManagerPolicy.c
  15573. - (nm_policy_get_best_device): attempt to deal with wireless network selection,
  15574. previously if you "locked"/forced NM to use a wireless device but then
  15575. selected a wireless network for NM to use, it would switch to a wired device.
  15576. So, if the active device is wireless and it has a "forced" best AP, use it
  15577. if the "forced" best AP is still valid
  15578. - (nm_state_modification_monitor): deal with NULL best devices, for example
  15579. there were no usable network devices, or the last one was removed
  15580. * src/backends/NetworkManager*.c
  15581. - Deal with test devices, mostly just return success for operations like getting
  15582. a DHCP address
  15583. * test/nmtestdevices.c
  15584. - Test tool to create/remove/link-switch test devices
  15585. 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
  15586. * examples/python/NetworkManager.py:
  15587. added convience functions has_wired_device and has_wireless_device
  15588. * examples/python/systray/network_tray.py:
  15589. cleaned up a bunch of cruft, added support for listing wireless
  15590. networks just like the real applet. This is probably all I'm
  15591. going to work on this applet from now on.
  15592. TODO: add support for actually changing networks and devices
  15593. * examples/python/NetworkManager.py (NetworkManager.get_device):
  15594. changed "nm.networks" into a dict from a list so I can store all
  15595. the cool information about networks in there
  15596. * examples/python/systray/network_tray.py:
  15597. Added nice message when you try to run without running make first
  15598. * examples/python/NetworkManager.py:
  15599. Bug fixes to the code so we get all the device information
  15600. that we need in get_device()
  15601. * examples/python/NMTester.py:
  15602. Fixed _print_device_list to print_device_list
  15603. 2004-08-29 Seth Nickell <seth@gnome.org>
  15604. * configure.in:
  15605. Actually properly setup the Debian backend in configure.
  15606. 2004-08-29 Colin Walters <walters@verbum.org>
  15607. * test/nminfotest.c: Include string.h and stdlib.h.
  15608. (get_network_string_property, get_networks_of_type): Return NULL.
  15609. * test/nmclienttest.c (get_device_name, get_active_device): Return
  15610. NULL.
  15611. * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
  15612. use strlen, fgets always NULL-terminates the string.
  15613. * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
  15614. dbus_message_get_member): Remove /* in comment.
  15615. * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
  15616. * src/NetworkManager.c (quit): Unused, delete.
  15617. (nm_data_free): Cast arg to GFunc.
  15618. * panel-applet/NMWirelessAppletDbus.c: Need to include
  15619. string.h, and dbus-glib-lowlevel.h (the latter is needed
  15620. for dbus_connection_setup_with_g_main at present).
  15621. (nmwa_dbus_update_wireless_network_list): Parenthesize
  15622. assignment in conditional.
  15623. (nmwa_dbus_worker): Return NULL.
  15624. * panel-applet/NMWirelessApplet.c (nmwa_redraw)
  15625. (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
  15626. (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
  15627. (nmwa_populate_menu): Return NULL on failure, instead of just
  15628. return;
  15629. * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
  15630. * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
  15631. variables.
  15632. * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
  15633. delete.
  15634. 2004-08-29 Colin Walters <walters@verbum.org>
  15635. * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
  15636. a GTimeVal instead of time_t. This is easier to work with,
  15637. since time_t may be a long or double, we don't know.
  15638. * src/NetworkManagerDbus.h: Update prototype.
  15639. * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
  15640. instead of time_t.
  15641. (nm_ap_get_timestamp): Update to return GTimeVal.
  15642. (nm_ap_set_timestamp): Update to take GTimeVal.
  15643. * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
  15644. to handle GTimeVal.
  15645. * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
  15646. GTimeVal change.
  15647. (nm_ap_list_print_members): Fix warnings in printf format.
  15648. 2004-08-29 Colin Walters <walters@verbum.org>
  15649. * panel-applet/NMWirelessApplet.c: Include config.h.
  15650. 2004-08-29 Colin Walters <walters@verbum.org>
  15651. * configure.in: Generate config.h.
  15652. * configure.in: Dump dependency on OpenSSL; we can't
  15653. use it since this package is GPL:
  15654. http://www.gnome.org/~markmc/openssl-and-the-gpl.html
  15655. Instead, check for libgcrypt, use it if available,
  15656. otherwise use included MD5 code.
  15657. * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
  15658. Suck in from gnome-keyring, munge a bit.
  15659. * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
  15660. gnome-keyring-md5.h gnome-keyring-md5.c.
  15661. (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
  15662. * src/NetworkManagerWireless.c (nm_md5): New function, uses
  15663. libgcrypt or included gnome-keyring md5 bits.
  15664. (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
  15665. 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
  15666. * configure.in: Add «nb» and «no» to ALL_LINGUAS.
  15667. 2004-08-27 Bryan Clark <bclark@redhat.com>
  15668. * examples/python/systray/Makefile:
  15669. Updated the clean section
  15670. * examples/python/systray/trayiconmodule.c:
  15671. * examples/python/systray/trayicon.override:
  15672. * examples/python/systray/network_tray.py:
  15673. * examples/python/systray/eggtrayicon.h:
  15674. * examples/python/systray/eggtrayicon.c:
  15675. * examples/python/systray/Makefile:
  15676. * examples/python/README:
  15677. * examples/python/NetworkManager.py:
  15678. * examples/python/NMTester.py:
  15679. Initial commit of these python example files
  15680. Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
  15681. * panel-applet/NMWirelessApplet.c
  15682. - Make current device bold
  15683. - Show more user-friendly device name if we got one from hal
  15684. * panel-applet/NMWirelessAppletDbus.c
  15685. - Grab "info.product" key from hal for network devices
  15686. - Cache the current active device
  15687. 2004-08-27 Adam Weinberger <adamw@gnome.org>
  15688. * configure.in: Added en_CA to ALL_LINGUAS.
  15689. 2004-08-27 Christian Rose <menthos@menthos.com>
  15690. * configure.in: Added "sv" to ALL_LINGUAS.
  15691. Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
  15692. * Tag NetworkManager-0.2
  15693. Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
  15694. * initscripts/Makefile.am
  15695. * configure.in: Make pass distcheck
  15696. * po/ChangeLog: added
  15697. Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
  15698. * panel-applet/NMWirelessApplet.c
  15699. - Remove debugging code
  15700. - Enable device switching from menus
  15701. * panel-applet/NMWirelessAppletDbus.[ch]
  15702. - Method for asking NM to switch devices
  15703. * src/NetworkManagerDevice.c
  15704. - Set dev->activating earlier, avoids race between
  15705. the dbus signal of "DeviceActivating" and setting
  15706. dev->activating (which is what NM's "status" method call
  15707. looks at)
  15708. Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
  15709. * panel-applet/NMWirelessApplet.[ch]
  15710. - Rework menu code to add devices to menu, and to show
  15711. signal strength for each access point. Code cleanups
  15712. too.
  15713. * panel-applet/NMWirelessAppletDbus.c
  15714. - Grab network devices from NetworkManager too
  15715. - Grab quality information from NM for wireless networks
  15716. * src/NetworkManagerDbus.[ch]
  15717. - Add dbus methods for getting the HAL UDI from a device and
  15718. for getting its base quality, if its wireless
  15719. - Consolidate some functions (wireless network notifications,
  15720. device notifications)
  15721. - Add method for requesting NM to use a particular device
  15722. * src/NetworkManager.c
  15723. - Change for function consolidations from NetworkManagerDbus.c
  15724. - Implement active device locking and user-requested devices
  15725. (ie, tell NM to use a particular device instead of the one
  15726. it autochose)
  15727. * src/NetworkManagerDevice.c
  15728. - Add method for getting the base quality of a device, if its
  15729. wireless
  15730. - Grab device base quailty info from iwlib during scans
  15731. * src/NetworkManagerPolicy.c
  15732. - Use a user-requested device rather than the auto-chosen device
  15733. if we are told to
  15734. Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
  15735. * Makefile.am: add po as a supdir
  15736. * autogen.sh: use gnome-autogen.sh
  15737. * initscript/Gentoo/.cvsignore:
  15738. * initscript/RedHat/.cvsignore: Shut up cvs
  15739. * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
  15740. * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
  15741. (nmwa_fill): Use gettext.
  15742. * configure.in: add gettext support
  15743. * po/.cvsignore:
  15744. * po/NetworkManager.pot:
  15745. * po/POTFILES.in:
  15746. 2004-08-26 Seth Nickell <seth@gnome.org>
  15747. * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
  15748. (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
  15749. (nmwa_add_menu_item), (nmwa_menu_item_data_free),
  15750. (nmwa_dispose_menu_items), (nmwa_populate_menu),
  15751. (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
  15752. * panel-applet/NMWirelessApplet.h:
  15753. Use a menu bar instead of a button for the main clickable
  15754. thingy.
  15755. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15756. * src/NetworkManagerDevice.c
  15757. - (nm_device_set_enc_key): always set device to "open" mode instead of
  15758. turning encryption off, because the Cisco driver doesn't associate
  15759. with WEP-enabled access points unless we are in "open"
  15760. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15761. * src/NetworkManagerWireless.c
  15762. - Don't try to defererence blank passphrases
  15763. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15764. * panel-applet/NMWirelessApplet.c
  15765. - Rebuild the menu whenever a user clicks
  15766. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15767. * panel-applet/NMWirelessApplet.c
  15768. - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
  15769. when NM isn't around or when its not connected
  15770. * src/NetworkManagerDevice.c
  15771. - (nm_device_activation_worker): Make sure to reset dev->activating if we get
  15772. canceled.
  15773. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15774. * panel-applet/NMWirelessAppletDbus.c
  15775. - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
  15776. for getting encryption, and don't stop on "val" once we've gotten it
  15777. from NetworkManager. Short form: encryption should now show up.
  15778. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15779. * panel-applet/NMWirelessApplet.c
  15780. - Set ESSID on a gconf trusted network too when force-setting the wireless
  15781. network to associate with
  15782. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15783. * panel-applet/*
  15784. - Rework the panel applet to do all DBUS communication in a separate
  15785. thread
  15786. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15787. * info-daemon/NetworkManagerInfo.[ch]
  15788. - Remove "get_next_priority" function
  15789. * info-daemon/NetworkManagerInfoDbus.[ch]
  15790. - Convert "priority" functions to "timestamp"
  15791. 2004-08-25 Dan Williams <dcbw@redhat.com>
  15792. * src/NetworkManagerAP.[ch]
  15793. - Add a "enc_method_good" member and accessors to an Access Point
  15794. to signal when we've found the correct encryption method
  15795. for an access point
  15796. - Add a "timestamp" member and accessors, remove "priority" member
  15797. and accessors (use timestamps instead)
  15798. - Rename "wep_key"->"enc_key"
  15799. - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
  15800. for a specified encryption method using the access points
  15801. source encryption key/passphrase
  15802. * src/NetworkManagerAPList.c
  15803. - When updating a network with dbus, grab timestamp now instead of
  15804. priority
  15805. * src/NetworkManagerDBus.[ch]
  15806. - Add signal for "DeviceActivating"
  15807. - Switch priority->timestamp
  15808. * src/NetworkManagerDevice.c
  15809. - Change references of "wep_key" -> "enc_key" or "key"
  15810. - Signal DeviceActivating when starting activation
  15811. - When activating a wireless device, if the access point we are connecting
  15812. to is encrypted, and we have a source key, try to generate a mangled
  15813. key and use that (ie, generate real WEP key from a passphrase)
  15814. - Rework device activation to fallback to other encryption methods if
  15815. a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
  15816. first, then if that doesn't work fall back to direct hex key).
  15817. - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
  15818. priority. We now prefer the latest access point used, rather than using
  15819. a priority scheme
  15820. - (nm_device_do_normal_scan): make the encryption method "unknown" on access
  15821. points we've just discovered, and merge in correct info from the global
  15822. access point lists
  15823. 2004-08-25 Seth Nickell <seth@gnome.org>
  15824. Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
  15825. Debian support.
  15826. * src/Makefile.am:
  15827. * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
  15828. (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
  15829. (nm_system_device_flush_addresses), (nm_system_enable_loopback),
  15830. (nm_system_delete_default_route),
  15831. (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
  15832. (nm_system_load_device_modules):
  15833. 2004-08-24 Dan Willemsen <dan@willemsen.us>
  15834. * src/NetworkManager.c
  15835. src/backends/NetworkManagerGentoo.c
  15836. src/backends/NetworkManagerRedHat.c
  15837. src/backends/NetworkManagerSystem.h
  15838. - Implement preliminary Gentoo support, adding a
  15839. nm_system_init function to the backend specification
  15840. * configure.in
  15841. - Distribution auto-detection, lowercase any user-fed
  15842. distribution names
  15843. * initscript/.cvsignore
  15844. initscript/Makefile.am
  15845. initscript/RedHat/Makefile.am
  15846. initscript/RedHat/NetworkManager
  15847. initscript/Gentoo/Makefile.am
  15848. initscript/Gentoo/NetworkManager
  15849. - Refactored initscript code separately for each
  15850. distribution
  15851. 2004-08-23 Dan Williams <dcbw@redhat.com>
  15852. * configure.in
  15853. src/Makefile.am
  15854. src/NetworkManagerDevice.c
  15855. src/NetworkManager.c
  15856. src/NetworkManagerUtils.[ch]
  15857. src/backends/NetworkManagerSystem.h
  15858. src/backends/NetworkManagerRedHat.c
  15859. src/backends/NetworkManagerGentoo.c
  15860. - Refactor system-specific code into separate backends for
  15861. each distribution
  15862. 2004-08-23 Dan Willemsen <dan@willemsen.us>
  15863. * dispatcher-daemon/NetworkManagerDispatcher.c
  15864. info-daemon/NetworkManagerInfo.[ch]
  15865. info-daemon/NetworkManagerInfoDbus.c
  15866. info-daemon/NetworkManagerInfoPassphraseDialog.c
  15867. src/NetworkManager.c
  15868. src/NetworkManagerAP.c
  15869. src/NetworkManagerAPList.c
  15870. src/NetworkManagerDbus.c
  15871. src/NetworkManagerDevice.c
  15872. src/NetworkManagerPolicy.c
  15873. src/NetworkManagerUtils.[ch]
  15874. src/NetworkManagerWireless.c
  15875. - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
  15876. * src/NetworkManager.c
  15877. - Fixed usage wording for --no-daemon
  15878. 2004-08-23 Dan Williams <dcbw@redhat.com>
  15879. * panel-applet/NMWirelessApplet.c
  15880. - Update our state every second to get more responsive panel icon
  15881. - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
  15882. was causing our marching ants status blips to never move when
  15883. looking for a wireless network
  15884. * src/NetworkManagerDevice.c
  15885. - (nm_device_activation_begin): return if activation has already begun
  15886. - (nm_device_do_normal_scan): merge WEP key and priority from the
  15887. trusted/preferred network into the device's access point when the
  15888. scan list is processed
  15889. 2004-08-23 Dan Williams <dcbw@redhat.com>
  15890. * initscript/NetworkManager
  15891. - Use NMLaunchHelper rather than sleeping
  15892. * initscript/NMLaunchHelper.c
  15893. Makefile.am
  15894. - Add helper program that exits only when NM activates a device,
  15895. or 10 seconds have passed, whichever happens first. This
  15896. stops the boot processes until we have a network connection,
  15897. which NM can't do because it daemonizes and brings the connection
  15898. up in the background. Allows stuff like NFS to not die.
  15899. 2004-08-20 Dan Williams <dcbw@redhat.com>
  15900. * info-daemon/NetworkManagerInfoPassphraseDialog.c
  15901. - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
  15902. for a network, set the essid as well since it may not exist yet
  15903. - (nmi_passphrase_dialog_init): don't star out the passphrase field,
  15904. since WEP keys/passphrases are long and prone to entry-error
  15905. * panel-applet/Makefile.am
  15906. panel-applet/wired.png
  15907. - Add (pulled from system-config-network temporarily)
  15908. * panel-applet/NMWirelessApplet.[ch]
  15909. - Show wired picture when a wired connection is used
  15910. - Rename wireless icon enums, adding WIRELESS
  15911. * src/NetworkManagerDevice.c
  15912. - (nm_device_activate_wireless): unset encryption before bringing
  15913. down the card and setting the essid
  15914. - (nm_device_activatin_worker): request a key from the user if the
  15915. AP we are connecting to is encrypted but we don't have a key
  15916. for it yet
  15917. - (nm_device_set_user_key_for_network): fix missing '== 0' for a
  15918. strcmp() that prevented a user-entered key from actually getting
  15919. used
  15920. 2004-08-16 Dan Williams <dcbw@redhat.com>
  15921. * initscript/NetworkManager
  15922. - Check for /sbin/ip
  15923. - Do sysctl magic that network service does
  15924. - sleep 4s after start to allow network time to come up [hack]
  15925. * src/Makefile.am
  15926. src/NMLoadModules
  15927. - Load all network device kernel modules (hal doesn't know devices
  15928. are ethernet until the module is loaded, and therefore we don't know)
  15929. * src/NetworkManager.c
  15930. - (main): daemonize later, launch NMLoadModules to alert HAL of our
  15931. network devices, and bring up the loopback device explicitly
  15932. * src/NetworkManagerUtils.[ch]
  15933. - (nm_enable_loopback): new function
  15934. 2004-08-13 Dan Williams <dcbw@redhat.com>
  15935. * configure.in
  15936. panel-applet/Makefile.am
  15937. - Fix up cleanfiles and server_DATA/server_in_files
  15938. * README
  15939. - Update with some comments on theory of operation
  15940. * CONTRIBUTING
  15941. Makefile.am
  15942. - Add CONTRIBUTING
  15943. 2004-08-12 Dan Williams <dcbw@redhat.com>
  15944. * info-daemon/passphrase.glade
  15945. - Set window title to " "
  15946. * panel-applet/Makefile.am
  15947. panel-applet/keyring.png
  15948. - Deliver to correct place
  15949. * panel-applet/NMWirelessApplet.[ch]
  15950. - Add comments
  15951. - Remove applet->have_active_device as its no longer used
  15952. - (nmwa_load_theme): load keyring.png too
  15953. - (error_dialog): remove
  15954. - (show_warning_dialog): subsume functionality of error dialog too
  15955. - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
  15956. - (nmwa_handle_network_choice): add to deal with user clicking on an item from
  15957. the networks menu
  15958. - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
  15959. - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
  15960. and when we get broadcasts of changed wireless access points only, not when the
  15961. user clicks on the button to display the menu (too long of a wait)
  15962. - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
  15963. networks that are encrypted
  15964. - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
  15965. menu item with g_object_set_data()
  15966. * panel-applet/NMWirelessAppletDbus.[ch]
  15967. - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
  15968. - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
  15969. - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
  15970. - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
  15971. - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
  15972. activation/deactivation signals and rebuild the menu when they happen
  15973. * src/NetworkManager.c
  15974. - (main): use new nm_spawn_process() rather than system()
  15975. * src/NetworkManagerDbus.c
  15976. - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
  15977. instead. Since we can now force best_aps to stick around, the AP structure to which
  15978. dev->options.wireless.best_ap points to won't necessarily be in the device's device list
  15979. if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
  15980. to freeze the best_ap.
  15981. * src/NetworkManagerDevice.[ch]
  15982. - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
  15983. - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
  15984. the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
  15985. ap list
  15986. * src/NetworkManagerUtils.[ch]
  15987. - (nm_spawn_process): add replacement for system() usage
  15988. 2004-08-11 Dan Williams <dcbw@redhat.com>
  15989. * panel-applet/NMWirelessApplet.[ch]
  15990. - Fix up copyright and credits to include Bastien and Eskil,
  15991. who created the gnome-applets wireless applet, from whose
  15992. skeleton this one was created
  15993. - Rework nmwa_update_state()/nmwa_draw() so that state and which
  15994. pixmap to draw is computed during nmwa_update_state()
  15995. - Applet now shows itself all the time due to panel packing issues
  15996. which caused the applet to previously never come back after hiding.
  15997. When a wired device is the active device, the applet shows "not connected"
  15998. * panel-applet/NMWirelessAppletDbus.[ch]
  15999. - Clean up error messages and show what function they are from
  16000. - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
  16001. - Add new device type getters, and a status getter
  16002. * src/NetworkManagerDbus.c
  16003. - (nm_dbus_devices_handle_request): Don't return an active network unless that
  16004. network is actually in the device's ap list
  16005. - (nm_dbus_nm_message_handler): Fix silly mistake returning status
  16006. * src/NetworkManagerDevice.c
  16007. - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
  16008. card
  16009. * test/nmclienttest.c
  16010. - Report status of NetworkManager too
  16011. 2004-08-11 Dan Williams <dcbw@redhat.com>
  16012. * info-daemon/NetworkManagerInfo.c:
  16013. - (main): clean up Seth's code style
  16014. * info-daemon/NetworkManagerInfoDbus.c:
  16015. - Use the more aptly-named path/service/interface constants from NetworkManager
  16016. - Don't return empty strings ("") as object paths ever, instead return errors
  16017. * panel-applet/NMWirelessApplet.c:
  16018. - Clean up Seth's code style
  16019. * src/NetworkManager.[ch]
  16020. - (nm_remove_device_from_list): remove anything having to do with pending_device
  16021. - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
  16022. * src/NetworkManagerAPList.[ch]
  16023. - Move Iter struct right above the iter functions to preserve opacity
  16024. - (nm_ap_list_remove_ap): implement
  16025. - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
  16026. remove AP if NetworkManagerInfo doesn't know anything about it
  16027. - (nm_ap_list_diff): user NMAPList iterators
  16028. - (nm_ap_list_print_members): implement debugging function
  16029. * src/NetworkManagerDbus.[ch]
  16030. - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
  16031. - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
  16032. and move the actual key setting stuff into NetworkManagerDevice.c
  16033. - (nm_dbus_get_network_priority): return -1 now on errors
  16034. - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
  16035. get lost, and force the active device to update its "best" ap when AP lists change
  16036. - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
  16037. method call due to pending_device member removal
  16038. * src/NetworkManagerDevice.[ch]
  16039. - Move NMDevice structure to the top
  16040. - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
  16041. - Remove Pending Action stuff from everywhere
  16042. - (nm_device_activation_*): We now "begin" activation and start a thread to do the
  16043. activation for us. This thread blocks until all conditions for activation have
  16044. been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
  16045. then setup up the interface and runs dhclient. We have to do this because there
  16046. is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
  16047. run our main loop and respond to dbus method calls or HAL device removals/inserts
  16048. - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
  16049. can tell nm_device_activation_worker() that we've got a key
  16050. - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
  16051. - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
  16052. diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
  16053. - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
  16054. * src/NetworkManagerPolicy.c
  16055. - Remove anything to do with pending_device
  16056. - Adjust device activation to deal with activation-in-worker-thread
  16057. * src/NetworkManagerUtils.c
  16058. - Clean up locking debugging a bit
  16059. * src/NetworkManagerWireless.[ch]
  16060. - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
  16061. was badly named and is better as a device function
  16062. * panel-applet/.cvsignore: add
  16063. 2004-08-09 Seth Nickell <seth@gnome.org>
  16064. * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
  16065. (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
  16066. (nmwa_new):
  16067. * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
  16068. Don't load the menus until clicked on (also removes a call outside
  16069. normal code paths at first load).
  16070. Hide applet when NM is not present.
  16071. Improve printf debugging stuff.
  16072. 2004-08-09 Dan Williams <dcbw@redhat.com>
  16073. * dispatcher-daemon/NetworkManagerDispatcher.c:
  16074. - Covert uses of dbus_message_iter_* over to dbus_message_get_args
  16075. - Use constants for NetworkManager interface, service, and path
  16076. 2004-08-09 Dan Williams <dcbw@redhat.com>
  16077. * src/NetworkManagerDbus.c:
  16078. - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
  16079. instead return an error message
  16080. - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
  16081. on a wired device. Also never return an empty object path, instead return an error message
  16082. 2004-08-06 Seth Nickell <seth@gnome.org>
  16083. * panel-applet/NMWirelessApplet.c: (nmwa_new):
  16084. Check the error code when getting a connection.
  16085. * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
  16086. Check if the NM service exists when initializing (rather than
  16087. assuming it does not).
  16088. * src/NetworkManagerDbus.c: (nm_dbus_init):
  16089. Don't acquire the well-known service name until we have
  16090. registered object/path handlers and can actually receive
  16091. calls.
  16092. 2004-08-06 Dan Williams <dcbw@redhat.com>
  16093. * panel-applet/*
  16094. - Add panel applet
  16095. * src/NetworkManagerPolicy.c
  16096. src/NetworkManager.c
  16097. - Get access point lists from NetworkManagerInfo on-demand,
  16098. and look for ServiceCreate/ServiceDeleted signals to see when
  16099. we should query NMI for lists
  16100. * src/NetworkManagerAPList.c
  16101. - Make sure to init the list's mutex
  16102. - Convert traversals of the list over to the list iter functions
  16103. * src/NetworkManagerDbus.[ch]
  16104. - Use more aptly-named path/service/interface constants
  16105. - Treat both active and pending devices the same for "getActiveDevice"
  16106. - Add a "status" method returning "connected", "connecting", or "disconnected"
  16107. * src/NetworkManagerDevice.c
  16108. - Honor "ignored" network list when picking best ap to use
  16109. 2004-08-06 Seth Nickell <seth@gnome.org>
  16110. * aclocal.m4:
  16111. Autogenerated, remove from CVS.
  16112. * autogen.sh:
  16113. Don't hardcode automake version.
  16114. * configure.in:
  16115. * info-daemon/Makefile.am:
  16116. * info-daemon/NetworkManagerInfo.c: (main):
  16117. Use GnomeProgram et al. for doing session management.
  16118. Use popt stuff for argument parsing rather than doing
  16119. it manugally.
  16120. 2004-08-05 Dan Williams <dcbw@redhat.com>
  16121. * test/nminfotest.c
  16122. - Update to new NMI dbus API, check different network types
  16123. * info-daemon/NetworkManagerInfoDbus.c
  16124. - Update to new NM dbus API, ie network type sent in query message
  16125. 2004-08-05 Dan Williams <dcbw@redhat.com>
  16126. * An assload of changes
  16127. 2004-08-02 Dan Williams <dcbw@redhat.com>
  16128. * TODO
  16129. - new task: proper logging support
  16130. * info-daemon/NetworkManagerInfo.c
  16131. - Correct spelling of "canceled"
  16132. - Correct casting of objects for g_signal_connect()
  16133. * info-daemon/NetworkManagerInfoDbus.c
  16134. - Add defines for NetworkManager namespace and object path, and use them
  16135. - Add filter function to trap new signals from NetworkManager:
  16136. WirelessNetworkAppeared, WirelessNetworkDisappeared
  16137. * info-daemon/passphrase.glade
  16138. - Change name of "ok" button to "Login to Network..."
  16139. - Mark invisible
  16140. * src/NetworkManager.c
  16141. - Code and debug message cleanups
  16142. - Rename "nm_add_current_devices"->"nm_add_initial_devices"
  16143. - (nm_add_initial_devices) Check returned string array of devices
  16144. and don't try to add devices if array is NULL
  16145. - (main) Initialize libhal a bit later, make code a bit clearer
  16146. * src/NetworkManagerAP.[ch]
  16147. - New accessor and data member "matched": used to speed up AP list
  16148. diffing
  16149. - New accessor and data member "enc_method": will be used during key
  16150. fallback to cache which passphrase->key conversion actually works
  16151. so we don't have to do it every time
  16152. * src/NetworkManagerAPList.[ch]
  16153. - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
  16154. - (nm_ap_list_diff) New: given two lists of access points, find the differences
  16155. between them, and send WirelessNetworkAppeared/Disappeared signals over
  16156. dbus in response to those differences
  16157. * src/NetworkManagerDbus.[ch]
  16158. - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
  16159. make an object path for that access point (NOTE that we don't yet check to
  16160. make sure that access point is actually in the device's AP list yet)
  16161. - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
  16162. - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
  16163. New: signal appearance/disappearance of wireless networks
  16164. - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
  16165. key entry
  16166. * src/NetworkManagerDevice.[ch]
  16167. - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
  16168. - (nm_device_ap_list_get) New: return the AP list (static function)
  16169. - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
  16170. new one resulting from the scan with the old one
  16171. * src/NetworkManagerWireless.c
  16172. - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
  16173. * test/nminfotest.c
  16174. - #define object paths and namespaces and use the #defines rather than static strings
  16175. - Test out user-key functionality of NetworkManagerInfo too
  16176. 2004-07-29 Dan Williams <dcbw@redhat.com>
  16177. * info-daemon/NetworkManagerInfoDbus.c
  16178. src/NetworkManagerDbus.c
  16179. - Update to current DBus (ie don't use decomposed paths when registering
  16180. object paths/fallbacks)
  16181. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16182. * Remove various Makefile.in files
  16183. * TODO
  16184. - Add some more items
  16185. * configure.in
  16186. - Add checks for OpenSSL/md5 headers and libs
  16187. * src/Makefile.am
  16188. - Use OpenSSL CFLAGS
  16189. * src/NetworkManagerAP.[ch]
  16190. - Remove 'stamp' functions, replace with 'invalid' functions
  16191. to support user cancelling WEP key entry
  16192. * src/NetworkManagerDbus.c
  16193. - Remove 'stamp' return functions
  16194. - Treat returned user key as a passphrase and convert to a WEP key,
  16195. but don't actually use the WEP key yet. We use the returned user
  16196. key as a hexadecimal WEP key until we can figure out a UI for
  16197. passphrase-vs-hex key
  16198. * src/NetworkManagerWireless.[ch]
  16199. - Add passphrase-to-128bit-key function
  16200. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16201. * TODO
  16202. - Add a couple of items
  16203. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16204. * info-daemon/NetworkManagerInfo.c
  16205. - Update allowed network's GConf key when user enters a WEP key explicitly
  16206. * info-daemon/NetworkManagerDbus.c
  16207. - Fix some comments
  16208. - nmi_dbus_get_allowed_networks(): kill warning
  16209. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16210. * initscript/Makefile.in
  16211. - Remove
  16212. * initscript/Makefile.am
  16213. - Add correct rules to install the init.d initscript
  16214. * info-daemon/NetworkManagerInfoDbus.c
  16215. - Remove debug fprintf
  16216. * src/NetworkManagerDbus.[ch]
  16217. - Remove debug fprintfs
  16218. - Add macros for NetworkManagerInfo object path/namespace
  16219. - Use said macros instead of constant strings
  16220. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16221. * initscript/.cvsignore
  16222. - Add
  16223. * info-daemon/Makefile.am
  16224. - Install .glade files and keyring.png
  16225. - Fix stupid omission of a \ that caused half the flags not to be
  16226. passed to gcc
  16227. * info-daemon/NetworkManagerInfo.c
  16228. - gtk_signal_connect->g_signal_connect
  16229. - Alert NetworkManagerInfo to new glade file location
  16230. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16231. * test/nmclienttest.c
  16232. test/nminfotest.c
  16233. - Add missing <dbus/dbus.h> headers
  16234. - Add GPL message at top
  16235. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16236. * src/NetworkManagerAPList.[ch]
  16237. src/Makefile.am
  16238. - Add. Deal with allowed network list additions, deletions, and updates
  16239. * dispatcher-daemon/NetworkManagerDispatcher.c
  16240. - Add missing <dbus/dbus.h> header
  16241. * info-daemon/NetworkManagerInfo.[ch]
  16242. - Add missing <dbus/dbus.h> header
  16243. - Implement the GConf notify callback to signal NetworkManager of an allowed
  16244. network change
  16245. - Better error checking
  16246. * info-daemon/NetworkManagerInfoDbus.[ch]
  16247. - Add missing <dbus/dbus.h> header
  16248. - Convert to using dbus_message_append_args/dbus_message_get_args
  16249. - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
  16250. that an allowed network changed. We don't want to signal on individual
  16251. keys _inside_ an allowed network really, just want NM to query the info
  16252. daemon for updated info on all keys.
  16253. - Better error checking
  16254. * src/NetworkManager.[ch]
  16255. - Add missing <dbus/dbus.h> header
  16256. - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
  16257. - Zero out NMData structure on free
  16258. - No longer use a thread for allowed_ap_list updating, instead its now done
  16259. through dbus queries against NetworkManagerInfo
  16260. - Populate allowed_ap_list initially before adding existing network devices
  16261. to the device list, so wireless devices can get their "best" AP
  16262. * src/NetworkManagerDbus.[ch]
  16263. - Convert to using dbus_message_append_args/dbus_message_get_args
  16264. - Better error checking
  16265. - Implement Allowed Network info functions to request allowed network
  16266. info from NetworkManagerInfo
  16267. - Implement the filter function to process signals from NetworkManagerInfo
  16268. about changing allowed networks
  16269. * src/NetworkManagerDevice.c
  16270. - Fix file descriptor leak in nm_device_update_ip4_address()
  16271. 2004-07-27 Dan Williams <dcbw@redhat.com>
  16272. * .cvsignore
  16273. src/.cvsignore
  16274. test/.cvsignore
  16275. dispatcher-daemon/.cvsignore
  16276. info-daemon/.cvsignore
  16277. - Add .cvsignore files to reduce noise when diffing
  16278. 2004-07-24 Dan Williams <dcbw@redhat.com>
  16279. * src/NetworkManager.[ch]
  16280. src/NetworkManagerDbus.[ch]
  16281. src/NetworkManagerDevice.[ch]
  16282. src/NetworkManagerPolicy.c
  16283. src/NetworkManagerWireless.[ch]
  16284. - Add many more g_return_if_fail()/g_return_val_if_fail() checks
  16285. - Pass the NMData application data structure through all calls
  16286. that need it so we can get rid of nm_get_global_data()
  16287. - Change deallocation of the allowed_ap_list GSList in preparation
  16288. for not completely clearing it every time we get an update,
  16289. but instead getting incremental updates via GConf/dbus
  16290. 2004-07-22 Dan Williams <dcbw@redhat.com>
  16291. * configure.in
  16292. - Add checks for GConf libs & headers & flags
  16293. * info-daemon/Makefile.am
  16294. - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
  16295. * info-daemon/NetworkManagerInfo.[ch]
  16296. - Don't use gquarks for data storage, just use normal data storage
  16297. - Add gconf bits to watch /system/networking/wireless/allowed_networks
  16298. * info-daemon/NetworkManagerDbus.[ch]
  16299. - Add method call for getting allowed networks
  16300. - Add method calls for getting an allowed network's essid, priority, and key
  16301. - Hook the method calls up to GConf
  16302. - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
  16303. - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
  16304. * src/NetworkManagerDbus.[ch]
  16305. - Switch for enumeration of networks to using essid instead
  16306. * test/Makefile.am
  16307. test/nminfotest.c
  16308. - Add test program for NetworkManagerInfo
  16309. 2004-07-19 Dan Williams <dcbw@redhat.com>
  16310. * src/NetworkManagerDbus.c
  16311. - Switch from indexed device paths to names. Less code, more efficient.
  16312. ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
  16313. 2004-07-19 Dan Williams <dcbw@redhat.com>
  16314. * dispatcher-daemon/NetworkManagerDispatcher.c
  16315. - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
  16316. 2004-07-19 Dan Williams <dcbw@redhat.com>
  16317. * Makefile.am
  16318. - Add info-daemon directory
  16319. * configure.in
  16320. - Check for glade libs and headers
  16321. - Add info-daemon directory
  16322. * src/NetworkManagerAP.c
  16323. - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
  16324. copied over to the new AP.
  16325. * src/NetworkManagerDbus.c
  16326. src/NetworkManagerDbus.h
  16327. - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
  16328. - Remove nm_dbus_signal_need_key_for_network()
  16329. - Add disabled code for asynchronous user wep key callbacks
  16330. - Add functions for getting, setting, and cancelling user key operations
  16331. - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
  16332. - Add "setKeyForNetwork" dbus method call on NetworkManager object
  16333. * src/NetworkManagerDevice.c
  16334. src/NetworkManagerDevice.h
  16335. - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
  16336. logic is in device activation now
  16337. - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
  16338. key is wrong) trigger get-user-key pending action
  16339. - Implement get-user-key pending action stuff, tie to dbus messages
  16340. - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
  16341. - Add nm_device_ap_list_get_ap_by_essid()
  16342. - Instead of copying "best" access points, ref them instead so that the key we set
  16343. sticks around
  16344. * src/NetworkManagerPolicy.c
  16345. - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
  16346. - Don't cancel pending actions on a device if its the same device as last iteration
  16347. - Only promote pending_device->active_device if activation was successfull
  16348. * src/Makefile.am
  16349. - Rename nmclienttest->nmtest
  16350. * info-daemon/Makefile.am
  16351. info-daemon/NetworkManagerInfo.c
  16352. info-daemon/NetworkManagerInfo.h
  16353. info-daemon/NetworkManagerInfoDbus.c
  16354. info-daemon/NetworkManagerInfoDbus.h
  16355. info-daemon/passphrase.glade
  16356. info-daemon/NetworkManagerInfo.conf
  16357. info-daemon/keyring.png
  16358. - Import sources for info-daemon, which pops up dialog for passphrase/key when
  16359. NetworkManager asks for it, and also will (soon) provide "allowed" access point
  16360. lists to NetworkManager by proxying user's GConf
  16361. 2004-07-15 Dan Williams <dcbw@redhat.com>
  16362. * src/Makefile.am
  16363. - Turn on warnings
  16364. * src/NetworkManager.c
  16365. - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
  16366. that doing the deactivation ourselves
  16367. - Cancel an pending actions on a device if its being removed
  16368. - Break up link state checking a bit, make non-active wireless cards
  16369. deactivated to save power
  16370. - Remove unused variables
  16371. * src/NetworkManager.h
  16372. - Add support for "pending" device
  16373. * src/NetworkManagerAP.h
  16374. src/NetworkManagerAP.c
  16375. - Add support for determining whether and AP has encryption enabled or not
  16376. - AP address is now "struct ether_addr" rather than a string
  16377. * src/NetworkManagerDbus.h
  16378. src/NetworkManagerDbus.c
  16379. - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
  16380. - Changes for AP address from struct ether_addr->string
  16381. * src/NetworkManagerDevice.h
  16382. src/NetworkManagerDevice.c
  16383. - Remove unused variables, fix warnings
  16384. - Add support for Pending Actions (things that block a device from being "active"
  16385. until they are completed).
  16386. - First pending action: Get a WEP key from the user
  16387. - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
  16388. - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
  16389. - Update wireless link checking to try to determine if the AP we are associated
  16390. with is correct, but the WEP key we are using is just wrong. If its wrong,
  16391. trigger the GetUserKey pending action on the device
  16392. - If dhclient can't get an IP address, it brings the device down. Bring it back
  16393. up in that case, otherwise we can't scan or link-check on it
  16394. - Add IP address change notifications at appropriate points (still needs some work)
  16395. - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
  16396. * src/NetworkManagerPolicy.h
  16397. src/NetworkManagerPolicy.c
  16398. - Split out "best" access point determiniation into separate function
  16399. - Make device activation 2-stage: first the device is pending, then
  16400. in the next iteration through it becomes "active" unless it has
  16401. pending actions
  16402. * src/NetworkManagerUtils.h
  16403. src/NetworkManagerUtils.c
  16404. - Clean up unused variables and warnings
  16405. - Wrap our debug macros in {} to prevent possible confusion
  16406. * src/NetworkManagerWireless.c
  16407. - Forgot to return current best priority, which lead to last available AP always
  16408. being chosen no matter what its priority was. Corrected.
  16409. 2004-07-15 Dan Williams <dcbw@redhat.com>
  16410. * dispatcher-daemon/Makefile.am
  16411. - Turn on warnings
  16412. * dispatcher-daemon/NetworkManagerDispatcher.c
  16413. - Remove unused variables due to warnings
  16414. - Fix some comments
  16415. - Print message on receipt of NeedKeyForNetwork signal (testing only)
  16416. 2004-07-06 Dan Williams <dcbw@redhat.com>
  16417. * src/NetworkManager.c
  16418. - Add IPv4 address update for active device during link state check
  16419. - Don't allow wireless cards to be powered up when they are not the
  16420. active device
  16421. * src/NetworkManagerDbus.c
  16422. src/NetworkManagerDbus.h
  16423. - Add DBUS IPv4 address change signal
  16424. - Add DBUS IPv4 address get method for devices
  16425. * src/NetworkManagerDevice.c
  16426. - Make setting the WEP key actually work
  16427. - Move IP address get/set/update stuff here, per-device
  16428. - Power down/bring down wireless device when deactivated
  16429. - For scanning wireless devices, if first scan returned ENODATA, try again
  16430. * src/NetworkManagerPolicy.c
  16431. - Only set the WEP key for an allowed access point if there is one.
  16432. We were setting it to be blank if one wasn't specified.
  16433. * src/NetworkManagerUtils.h
  16434. src/NetworkManagerUtils.c
  16435. - Move the IP address stuff to NetworkManagerDevice.c
  16436. * dispatcher-daemon/NetworkManagerDispatcher.c
  16437. - Add device IPv4 address change notification stuff
  16438. 2004-07-05 Dan Williams <dcbw@redhat.com>
  16439. * dispatcher-daemon/NetworkManagerDispatcher.c
  16440. - A bit more descriptive state message
  16441. - Don't segfault when reading directory
  16442. * src/NetworkManager.h
  16443. - Remove NMData desired_ap member, its now
  16444. per-device rather than global
  16445. * src/NetworkManager.c
  16446. - Remove references to desired_ap
  16447. - Move the allowed AP list refresh stuff into a thread
  16448. * src/NetworkManagerDevice.c
  16449. src/NetworkManagerDevice.h
  16450. - Each wireless device now has a "best ap"
  16451. - Make device activate/deactivate functions per-device
  16452. - Make wireless scanning per-device
  16453. - Add IPv4 address discover functions, stub IPv6 ones
  16454. - Move ethernet address validation functions to NetworkManagerUtils.c
  16455. - Add wireless access point accessor function
  16456. - Get/Set functions for "best ap"
  16457. * src/NetworkManagerPolicy.c
  16458. - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
  16459. - Deal with per-device "best ap" rather than data->desired_apa
  16460. - Implement allowed access point worker thread
  16461. - Add nm_policy_essid_is_allowed() function
  16462. * src/NetworkManagerUtils.c
  16463. src/NetworkManagerUtils.h
  16464. - Add nm_ethernet_address_is_valid() function
  16465. - Add IPv4/IPv6 address get functions
  16466. * src/NetworkManagerWireless.c
  16467. src/NetworkManagerWireless.h
  16468. - Move scanning stuff into NetworkManagerDevice.c, per-device
  16469. 2004-06-29 Dan Williams <dcbw@redhat.com>
  16470. * dispatcher-daemon/NetworkManagerDispatcher.c
  16471. - Implement script callout functionality
  16472. 2004-06-24 Dan Williams <dcbw@redhat.com>
  16473. * NetworkManager.c
  16474. - Spacing cleanups
  16475. - Flush device routes and ip addresses when added to the device list
  16476. * NetworkManagerDbus.c
  16477. - Spacing cleanups
  16478. - Add missing returns in the two signal functions
  16479. * NetworkManagerPolicy.c
  16480. - Spacing and variable cleanups
  16481. 2004-06-24 Dan Williams <dcbw@redhat.com>
  16482. * Makefile.am
  16483. Makefile.in
  16484. configure.in
  16485. dispatcher-daemon/Makefile.am
  16486. dispatcher-daemon/Makefile.in
  16487. dispatcher-daemon/NetworkManagerDispatcher.c
  16488. - Add a daemon that receives signals from NetworkManager
  16489. and will (eventually) call scripts in /etc/somewhere
  16490. when devices go up or down.
  16491. * NetworkManager.c
  16492. - Spacing cleanups
  16493. - Flush device routes and ip addresses when added to the device list
  16494. * NetworkManagerDbus.c
  16495. - Spacing cleanups
  16496. - Add missing returns in the two signal functions
  16497. * NetworkManagerPolicy.c
  16498. - Spacing and variable cleanups
  16499. - Rename nm_policy_switch_interface->nm_policy_switch_device
  16500. - nm_policy_switch_device():
  16501. Use kill (pid) instead of system ("kill <pid>")
  16502. - nm_state_modification_monitor():
  16503. Add wireless essid to output of debug statements
  16504. Correct typo in device compare to switch or not (should be !=)
  16505. Don't sleep after sending "no longer active" signal, was useless
  16506. 2004-06-24 Dan Williams <dcbw@redhat.com>
  16507. * Initial import