ChangeLog.1 287 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628
  1. 2015-03-27 Paul Eggert <eggert@cs.ucla.edu>
  2. Port etags to -DDEBUG
  3. * etags.c (xnew, xrnew) [DEBUG]: Don't include chkmalloc.h, which
  4. is not part of Emacs and is typically not installed.
  5. Instead, just invoke xmalloc and xrealloc as usual.
  6. Problem reported by Nicolas Richard in:
  7. http://bugs.gnu.org/20191#20
  8. (xrnew): Avoid no-longer-needed cast to 'char *'.
  9. (xrealloc): First arg is now void *, not char *.
  10. 2015-03-06 Paul Eggert <eggert@cs.ucla.edu>
  11. Random minor fixes for movemail
  12. * movemail.c: Include <stdbool.h> and <signal.h>.
  13. (waitpid) [WINDOWSNT]: New macro.
  14. (wait) [WINDOWSNT]: Remove.
  15. (main, popmail, pop_retr, mbx_write, mbx_delimit_begin)
  16. (mbx_delimit_end): Use bool for boolean.
  17. (main): Simplify #if usage a bit.
  18. (main): Don't assume EOF == -1. Prefer 'return' to 'exit'. Don't
  19. possibly unlink lockname twice, as that's a race condition. Set
  20. SIGCHLD to SIG_DFL to work around SysV misfeature. Check for fork
  21. failure. Use waitpid, not wait, to avoid a race condition in the
  22. unlikely case where we start up with a child.
  23. (NOTOK, OK): Remove, in favor of plain boolean.
  24. (popmail, pop_retr): Don't get confused about errno, e.g., ferror
  25. need not set errno.
  26. (popmail): Use fclose (mbf), not close (fileno (mbf)), to also
  27. detect any stream-related errors (e.g., memory exhaustion).
  28. (pop_retr): Report pop errors separately, since caller now does
  29. errno reporting.
  30. (mbx_write, mbx_delimit_begin, mbx_delimit_end): Check < 0, not ==
  31. EOF, as it's a bit faster and (in theory) pickier.
  32. 2015-02-27 Mark Laws <mdl@60hz.org>
  33. Support daemon mode on MS-Windows (bug#19688)
  34. * emacsclient.c (decode_options) [WINDOWSNT]: Don't reject empty
  35. arguments for --alternate-editor.
  36. (print_help_and_exit) [WINDOWSNT]: Don't refrain from advertising
  37. empty arguments for --alternate-editor.
  38. (start_daemon_and_retry_set_socket) [WINDOWSNT]: MS-Windows
  39. specific code to start Emacs in daemon mode and wait for it to be
  40. ready for client connections.
  41. 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
  42. Use ${EXEEXT} more uniformly in makefiles
  43. * Makefile.in (EMACS): Append ${EXEEXT}.
  44. 2015-02-20 Paul Eggert <eggert@cs.ucla.edu>
  45. Simplify binary I/O configuration
  46. * etags.c: Include <sysstdio.h> rather than <stdio.h>.
  47. (process_file_name, analyze_regex): Use FOPEN_BINARY rather than
  48. hard-coded "b".
  49. 2015-02-19 Eli Zaretskii <eliz@gnu.org>
  50. * etags.c (process_file_name) [!DOS_NT]: Use "r", not "rb" in the
  51. call to 'popen'. (Bug#19735)
  52. 2015-02-13 Paul Eggert <eggert@cs.ucla.edu>
  53. Better support for future plugins
  54. See the thread containing:
  55. http://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00720.html
  56. * make-docfile.c (write_globals): Generate code that #defines
  57. Qxxx macros other than Qnil only if DEFINE_NONNIL_Q_SYMBOL_MACROS.
  58. Qnil is safe to define even in plugins, since it must be zero for
  59. other reasons.
  60. 2015-01-24 Paul Eggert <eggert@cs.ucla.edu>
  61. Fix a couple of AM_V_GEN bugs
  62. * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1)
  63. (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1):
  64. New macros, copied from ../src/Makefile.in.
  65. 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
  66. Check exit statuses in lib-src/Makefile
  67. * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall)
  68. (mostlyclean, clean, distclean, extraclean):
  69. Check exit statuses more carefully. Reindent to fit in 80 chars.
  70. (bootstrap-clean maintainer-clean): Remove unnecessary 'true'.
  71. 2015-01-22 Ulrich Müller <ulm@gentoo.org>
  72. * Makefile.in ($(DESTDIR)${archlibdir}): Don't fail if the chown
  73. or chgrp command is unsuccessful; the 'update-game-score' program
  74. has a fallback for this at runtime.
  75. 2015-01-21 Ulrich Müller <ulm@gentoo.org>
  76. * update-game-score.c: Allow the program to run sgid instead
  77. of suid, in order to match common practice for most games.
  78. (main): Check if we are running sgid. Pass appropriate file
  79. permission bits to 'write_scores'.
  80. (write_scores): New 'mode' argument, instead of hardcoding 0644.
  81. (get_prefix): Update error message.
  82. * Makefile.in (gamegroup): New variable, set by configure.
  83. ($(DESTDIR)${archlibdir}): Handle both suid or sgid when
  84. installing the 'update-game-score' program.
  85. 2015-01-16 Eli Zaretskii <eliz@gnu.org>
  86. * Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
  87. macros.
  88. (emacsclient.res): Use $(AM_V_RC).
  89. 2015-01-16 Paul Eggert <eggert@cs.ucla.edu>
  90. Give up on -Wsuggest-attribute=const
  91. * make-docfile.c (write_globals):
  92. Remove special hack for Fnext_read_file_uses_dialog_p
  93. 2015-01-13 Paul Eggert <eggert@cs.ucla.edu>
  94. Don't say Fnext_read_file_uses_dialog_p is const
  95. * make-docfile.c (write_globals):
  96. Add a special hack for Fnext_read_file_uses_dialog_p.
  97. 2015-01-13 Dmitry Antipov <dmantipov@yandex.ru>
  98. Support DEFUN attributes.
  99. * make-docfile.c (struct global): New field 'flags'.
  100. (DEFUN_noreturn, DEFUN_const): New enum bitfields.
  101. (add_global): Now return pointer to global.
  102. (write_globals): Add _Noreturn and ATTRIBUTE_CONST attributes
  103. if requested by global's flags.
  104. (stream_match): New function.
  105. (scan_c_stream): Recognize 'attributes:' of DEFUN.
  106. 2015-01-10 Paul Eggert <eggert@cs.ucla.edu>
  107. Port to 32-bit --with-wide-int
  108. * make-docfile.c (write_globals): Define and use symbols like
  109. iQnil (a small integer, like 0) rather than aQnil (an address
  110. constant).
  111. Port to 32-bit Sun C 5.12 sparc
  112. * make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT.
  113. The alignment is required on all platforms; it just happens to have
  114. been properly aligned on the previous platforms we tested.
  115. 2015-01-05 Paul Eggert <eggert@cs.ucla.edu>
  116. Use 0 for Qnil
  117. * make-docfile.c (compare_globals): Consider 'nil' to be the least.
  118. Compute C decls for DEFSYMs automatically
  119. Fixes Bug#15880.
  120. * make-docfile.c: Revamp to generate table of symbols, too.
  121. Include <stdbool.h>.
  122. (xstrdup): New function.
  123. (main): Don't process the same file twice.
  124. (SYMBOL): New constant in enum global_type.
  125. (struct symbol): Turn 'value' member into a union, either v.value
  126. for int or v.svalue for string. All uses changed.
  127. (add_global): New arg svalue, which overrides value, so that globals
  128. can have a string value.
  129. (close_emacs_global): New arg num_symbols; all uses changed.
  130. Output lispsym decl.
  131. (write_globals): Output symbol globals too. Output more
  132. ATTRIBUTE_CONST, now that Qnil etc. are C constants.
  133. Output defsym_name table.
  134. (scan_c_file): Move most of guts into ...
  135. (scan_c_stream): ... new function. Scan for DEFSYMs and
  136. record symbols found. Don't read past EOF if file doesn't
  137. end in newline.
  138. 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
  139. 'temacs -nw' should not call missing functions
  140. * make-docfile.c (write_globals):
  141. Declare Fframe_windows_min_size with ATTRIBUTE_CONST, too. Sort.
  142. Less 'make' chatter for lib-src
  143. * Makefile.in (blessmail): Less 'make' chatter here.
  144. 2014-12-27 Eli Zaretskii <eliz@gnu.org>
  145. * Makefile.in (etags_libs, ebrowse${EXEEXT}, profile${EXEEXT})
  146. (make-docfile${EXEEXT}, movemail${EXEEXT})
  147. (update-game-score${EXEEXT}): Put $(NTLIB) before $(LOADLIBES),
  148. since GCC sometimes calls stpcpy when it sees strcpy, under
  149. optimization switches.
  150. 2014-12-25 Paul Eggert <eggert@cs.ucla.edu>
  151. * ebrowse.c (sym_scope_1, operator_name, open_file):
  152. * emacsclient.c (get_server_config, set_local_socket)
  153. (start_daemon_and_retry_set_socket):
  154. * etags.c (main, C_entries, relative_filename):
  155. * pop.c (sendline):
  156. * update-game-score.c (main):
  157. Rewrite to avoid the need for strcat, typically by using stpcpy
  158. and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms.
  159. 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
  160. * etags.c (analyze_regex): Rename from analyse_regex.
  161. 2014-12-14 Glenn Morris <rgm@gnu.org>
  162. * grep-changelog: Remove file.
  163. * Makefile.in (INSTALLABLE_SCRIPTS): Remove.
  164. (all, install, uninstall): Remove INSTALLABLE_SCRIPTS.
  165. 2014-11-23 Glenn Morris <rgm@gnu.org>
  166. * Makefile.in (emacsclient.res): Fix yesterday's thinko.
  167. 2014-11-22 Glenn Morris <rgm@gnu.org>
  168. * Makefile.in (emacsclient.res): Update deps for nt/emacsclient.rc
  169. now being in the build directory, not the source directory.
  170. * Makefile.in (emacsclient.res): Add dependency on icons/emacs.ico.
  171. 2014-10-20 Glenn Morris <rgm@gnu.org>
  172. * Merge in all changes up to 24.4 release.
  173. 2014-09-23 Paul Eggert <eggert@cs.ucla.edu>
  174. movemail: don't dump core if the current time is outlandish
  175. * movemail.c (popmail): Check for mbx_delimit_begin failure.
  176. (mbx_delimit_begin): Fail if the current time is so outlandish
  177. that localtime would fail or asctime would have undefined
  178. behavior. Use strftime to avoid asctime undefined behavior.
  179. 2014-09-01 Paul Eggert <eggert@cs.ucla.edu>
  180. --enable-silent-rules now suppresses more chatter.
  181. * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
  182. (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
  183. (am__v_CCLD_1): New macros, taken from Automake.
  184. (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
  185. (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
  186. (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
  187. (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
  188. (update-game-score${EXEEXT}): Use them.
  189. * etags.c (emacs_strchr, emacs_strrchr): Remove.
  190. All uses replaced by strchr and strrchr, which are on all
  191. target platforms now.
  192. 2014-07-15 Paul Eggert <eggert@cs.ucla.edu>
  193. Use "b" flag more consistently; avoid "t" (Bug#18006).
  194. * make-docfile.c (READ_TEXT): Remove; all uses replaced by "r".
  195. (READ_BINARY): Remove; all uses replaced by "rb".
  196. 2014-07-14 Paul Eggert <eggert@cs.ucla.edu>
  197. Use binary-io module, O_BINARY, and "b" flag (Bug#18006).
  198. * etags.c, hexl.c, make-docfile.c:
  199. Include binary-io.h instead of fcntl.h and/or io.h.
  200. (main): Use set_binary_mode or SET_BINARY
  201. in place of handcrafted code.
  202. * etags.c (main) [DOS_NT]:
  203. * movemail.c (main) [WINDOWSNT]:
  204. Don't mess with _fmode.
  205. * etags.c (main, process_file_name, analyse_regex):
  206. Use fopen/popen's "b" flag instead.
  207. * movemail.c (main, popmail): Use open/lk_open/mkostemp's O_BINARY
  208. instead.
  209. 2014-07-13 Paul Eggert <eggert@cs.ucla.edu>
  210. * make-docfile.c: Simplify a bit, to simplify further refactoring.
  211. (outfile): Remove static var. All uses changed to use stdout,
  212. since it's always stdout anyway. While we're at it, prefer
  213. putchar/puts/fputs to printf when there are no format strings.
  214. (main): Use freopen rather than fopen, so that stdout is reused.
  215. Move O_BINARY stuff after the freopen, so it affects the
  216. reopened file.
  217. (write_c_args): Omit first arg, since it's always stdout now.
  218. All uses changed.
  219. 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
  220. * etags.c (Lisp_functions): Also record cl-defun etc. (Bug#17965)
  221. 2014-06-26 Glenn Morris <rgm@gnu.org>
  222. * Makefile.in (blessmail): Depend on lisp/mail/blessmail.el.
  223. Use $<, $@.
  224. (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
  225. (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
  226. (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT}, ntlib.o)
  227. (hexl${EXEEXT}, update-game-score${EXEEXT}, emacsclient.res): Use $<.
  228. (ctags${EXEEXT}): Add $srcdir to dependency rather than using VPATH.
  229. 2014-06-17 Paul Eggert <eggert@cs.ucla.edu>
  230. Omit redundant extern decls.
  231. * emacsclient.c (getenv): Remove decl.
  232. * make-docfile.c (write_globals): Add ATTRIBUTE_CONST for
  233. Fbyteorder, Ftool_bar_height, Fmax_char, Fidentity.
  234. 2014-06-15 Glenn Morris <rgm@gnu.org>
  235. * Makefile.in (LDFLAGS): Explicitly set via configure.
  236. 2014-06-15 Eli Zaretskii <eliz@gnu.org>
  237. * Makefile.in (CPPFLAGS): Define.
  238. 2014-06-15 Glenn Morris <rgm@gnu.org>
  239. * Makefile.in (../lib/libgnu.a):
  240. Use `make -C' rather than `cd && make'.
  241. * Makefile.in (bootstrap-clean): New.
  242. 2014-06-13 Glenn Morris <rgm@gnu.org>
  243. * Makefile.in (../lib/libgnu.a):
  244. GNU make automatically passes command-line arguments to sub-makes.
  245. 2014-05-26 Eli Zaretskii <eliz@gnu.org>
  246. * ntlib.h (lseek): Don't redirect to _lseek.
  247. 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
  248. Fix rcs2log problems with CVS. Reported by Glenn Morris in
  249. <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>.
  250. Plus, fix some security and filename quoting problems.
  251. * rcs2log (logdir): Prefer mktemp if available.
  252. (logdir, llogdir): Work even if TMPDIR begins with '-' or has spaces.
  253. (output_authors, main awk script): Parse more-recent CVS output format.
  254. 2014-05-19 Paul Eggert <eggert@cs.ucla.edu>
  255. Remove dependencies on getline and getdelim.
  256. Also, remove update-game-scores's limits on game scores and
  257. simplify its file-locking code.
  258. * update-game-score.c (struct score_entry): Unify the username and
  259. data members to a single user_data member, since they don't need to be
  260. changed independently and getdelim and getline aren't helpful.
  261. Make the score member char *, not intmax_t, so that scores are not
  262. limited to intmax_t. All uses changed.
  263. (lose_syserr): A zero errno stands for invalid data in score file.
  264. (normalize_integer): New function.
  265. (main): Use it. Check for invalid scores. Omit redundant stat check.
  266. (read_score): First arg is now a string, not a FILE *. All uses
  267. changed. Do not use getdelim or getline; that's way simpler.
  268. (read_scores): Read the whole file, and let read_score handle each
  269. line.
  270. (score_compare): Compare strings representing integers, not integers.
  271. (write_scores) [DOS_NT]: Eliminate unnecessary chmod.
  272. (lock_file): Simplify locking code, eliminating goto.
  273. Check for unlink failure.
  274. 2014-05-18 Paul Eggert <eggert@cs.ucla.edu>
  275. Port ctags+etags build to Sun C 5.12.
  276. * Makefile.in (etags_args): Remove, replacing with ...
  277. (etags_cflags, etags_libs): New macros. All uses changed.
  278. (ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in
  279. parallel (once for ctags, once for etags) breaks parallel makes
  280. with compilers that use the source file name to name temporaries,
  281. such as Sun C 5.12. Instead, compile ctags.c.
  282. * ctags.c: New file.
  283. 2014-05-04 Paul Eggert <eggert@cs.ucla.edu>
  284. Handle systems without WCONTINUED consistently. (Bug#15110, 17339)
  285. * emacsclient.c (WCONTINUED): Move to ../src/syswait.h.
  286. 2014-04-30 Glenn Morris <rgm@gnu.org>
  287. * Makefile.in ($(DESTDIR)${archlibdir}):
  288. Avoid non-portable "`\" nesting. (Bug#17339)
  289. 2014-04-16 Eli Zaretskii <eliz@gnu.org>
  290. * update-game-score.c (write_scores): Condition fchmod call on
  291. DOS_NT, not WINDOWSNT.
  292. 2014-03-22 Glenn Morris <rgm@gnu.org>
  293. * Makefile.in (etags_deps, etags_args): New, to reduce duplication.
  294. (etags${EXEEXT}, ctags${EXEEXT}): Use etags_deps, etags_args.
  295. * Makefile.in (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
  296. (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
  297. (emacsclient${EXEEXT}, emacsclientw${EXEEXT}, hexl${EXEEXT})
  298. (update-game-score${EXEEXT}, emacsclient.res): Use $@.
  299. * Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.
  300. * Makefile.in (DONT_INSTALL): Remove test-distrib.
  301. (test-distrib${EXEEXT}): Remove rule.
  302. * test-distrib.c, testfile: Remove.
  303. 2014-03-10 Juanma Barranquero <lekktu@gmail.com>
  304. * emacsclient.c (main): #ifdef out previous change on Windows.
  305. 2014-03-09 Paul Eggert <eggert@cs.ucla.edu>
  306. Fix emacsclient terminal corruption when in background (Bug#16892).
  307. * emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
  308. Cancel the continue only if tty. Send SIGTTIN to the process
  309. group, not SIGSTOP to self, as this is what the glibc manual
  310. recommends.
  311. (main): If tty, and if started in the background, send SIGTTIN
  312. to the process group.
  313. 2014-02-25 Andreas Amann <a.amann@ucc.ie> (tiny change)
  314. Fix emacsclient's handling of SIGCONT (Bug#16883).
  315. * emacsclient.c (handle_sigcont): Cancel the continue only if tty.
  316. 2014-01-22 Eli Zaretskii <eliz@gnu.org>
  317. * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
  318. instead of fchmod.
  319. 2014-01-22 Paul Eggert <eggert@cs.ucla.edu>
  320. Fix miscellaneous update-game-score bugs.
  321. * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
  322. (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage,
  323. as that leads to undefined behavior, which is a bad thing
  324. particularly in a setuid program.
  325. (read_scores, write_scores): Check for fclose failure; on some
  326. systems, I/O errors are not reported by primitives like getc and
  327. putc, but instead are delayed until fclose, so fclose failures
  328. should be diagnosed like other read and write errors.
  329. (write_scores): Use fchmod, not chmod, to avoid a race.
  330. Otherwise, if the lock is broken by some other process,
  331. update-game-score might try to change the permission on someone
  332. else's file or on a nonexistent file, and incorrectly report an
  333. error when this fails.
  334. (lock_file): Fix test for out-of-date lock file; it was reversed.
  335. That is, it incorrectly broke locks when they were more than an
  336. hour into the future, instead of when they were more than an hour
  337. in the past. Use ordinary subtraction rather than difftime; since
  338. we're already assuming POSIX we don't need to worry about the
  339. possibility of time_t being a magic cookie, and since timestamps
  340. are positive we don't need to worry about integer overflow when
  341. subtracting them. Put two spaces, not just one, after a sentence
  342. end in a comment.
  343. 2014-01-19 Paul Eggert <eggert@cs.ucla.edu>
  344. update-game-score fixes for -m and integer overflow (Bug#16428)
  345. * update-game-score.c: Include inttypes.h, stdbool.h.
  346. (min): New macro, if not already defined.
  347. (MAX_SCORES, main): Limit the maximum number of scores only from
  348. limits imposed by the underlying platform, instead of the
  349. arbitrary value 200.
  350. (struct score_entry, main, read_score, write_score):
  351. Scores are now intmax_t, not long.
  352. (get_user_id): Reject user names containing spaces or newlines,
  353. as they would mess up the score file.
  354. Allow uids that don't fit in 'long'.
  355. Increase the size of the buffer, to avoid overrun in weird cases.
  356. (get_prefix, main): Use bool for boolean.
  357. (main): Rewrite expr to avoid possibility of signed integer
  358. overflow. Don't allow newlines in data, as this would mess up
  359. the score file. Check for memory allocation failure when adding
  360. the new score, or when unlockint the file. Implement -m.
  361. (read_score): Check for integer overflow when reading a score.
  362. (read_score) [!HAVE_GETDELIM]: Check for integer overflow when
  363. data gets very long. Check only for space to delimit names,
  364. since that's what's done in the HAVE_GETDELIM case.
  365. (read_scores): New parameter ALLOC. Change counts to ptrdiff_t.
  366. All uses changed. Use push_score to add individual scores;
  367. that's simpler than repeating its contents.
  368. (score_compare_reverse): Simplify.
  369. (push_score): New parameter SIZE. Change counts to ptrdiff_t.
  370. All uses changed. Check for integer overflow of size calculation.
  371. (sort_scores, write_scores): Change counts to ptrdiff_t.
  372. (unlock_file): Preserve errno on success, so that storage
  373. exhaustion is diagnosed correctly.
  374. 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
  375. Spelling fixes.
  376. * Makefile.in (regex.o): Remove reference to no-longer-used macros
  377. CONFIG_BROKETS and INHIBIT_STRING_HEADER. "BROKETS" was a
  378. misspelling anyway....
  379. 2013-12-14 Paul Eggert <eggert@cs.ucla.edu>
  380. Use bool for boolean, focusing on headers.
  381. * emacsclient.c, etags.c, hexl.c (FALSE, TRUE):
  382. Remove. All uses replaced with uncapitalized version.
  383. * emacsclient.c (message):
  384. * etags.c (make_tag, pfnote, consider_token, make_C_tag, lang_names):
  385. * hexl.c (un_flag, iso_flag, endian):
  386. * pop.c (pop_debug, pop_open, pop_multi_first, pop_multi_next)
  387. (pop_trash):
  388. Use bool for boolean.
  389. * etags.c (bool): Remove.
  390. * etags.c (globals, members, declarations, no_line_directive)
  391. (no_duplicates): Use 'int' for boolean values that getopt requires
  392. to be 'int'. Formerly, these were 'bool' and 'bool' was 'int',
  393. but we can no longer rely on this implementation.
  394. * pop.h (struct _popserver): Use bool_bf for boolean bit-fields.
  395. 2013-11-14 Paul Eggert <eggert@cs.ucla.edu>
  396. * ebrowse.c (xstrdup):
  397. * etags.c (savenstr): Prefer tail calls.
  398. * etags.c (concat): Omit unnecessary assignment.
  399. 2013-10-24 Glenn Morris <rgm@gnu.org>
  400. * Makefile.in ($(DESTDIR)${archlibdir}):
  401. Avoid non-portable "`\" nesting.
  402. * Makefile.in (abs_top_srcdir): New, set by configure.
  403. 2013-10-23 Glenn Morris <rgm@gnu.org>
  404. * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
  405. (uninstall): Quote entities that might contain whitespace.
  406. 2013-10-10 Glenn Morris <rgm@gnu.org>
  407. * make-docfile.c (search_lisp_doc_at_eol):
  408. Use int rather than char with getc. (Bug#15481)
  409. 2013-09-20 Paul Eggert <eggert@cs.ucla.edu>
  410. A simpler, centralized INLINE.
  411. * profile.c (INLINE): New macro.
  412. (SYSTIME_INLINE): Remove.
  413. 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
  414. * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
  415. for portability to hosts where /bin/sh has problems.
  416. 2013-08-10 Eli Zaretskii <eliz@gnu.org>
  417. * update-game-score.exe.manifest: New file.
  418. * Makefile.in (UPDATE_MANIFEST): New variable.
  419. (SCRIPTS): Add $(UPDATE_MANIFEST).
  420. 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
  421. * makefile.w32-in (lisp2): Add nadvice.elc.
  422. 2013-08-05 Eli Zaretskii <eliz@gnu.org>
  423. * update-game-score.c (read_score): Try reading a character before
  424. probing the stream for EOF. Initialize score->score to zero,
  425. before reading and accumulating the score.
  426. (read_scores): Fix logic that determines which value to return.
  427. Close the input stream when finished reading the scores (avoids
  428. failures in overwriting the file with a new one on MS-Windows,
  429. since a file that is open cannot be deleted).
  430. * ntlib.h (rename): Don't undefine.
  431. * ntlib.c (sys_rename): New function, needed for
  432. update-game-score.
  433. 2013-08-04 Eli Zaretskii <eliz@gnu.org>
  434. * ntlib.h: Include fcntl.h.
  435. (mkostemp): Declare prototype.
  436. (mktemp): Don't redefine.
  437. * ntlib.c (mkostemp): New function. (Bug#15015)
  438. 2013-08-04 Paul Eggert <eggert@cs.ucla.edu>
  439. Fix some minor races in hosts lacking mkostemp (Bug#15015).
  440. * movemail.c (main):
  441. * update-game-score.c (write_scores):
  442. Use mkostemp (which now works on all platforms, due to changes
  443. in the portability layer) rather than mktemp (which has a race)
  444. or mkstemp (which we no longer bother with).
  445. 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
  446. Port to C89.
  447. * ebrowse.c (USAGE): Remove macro with too-long string literal ...
  448. (usage_message): ... and replace it with this new static constant
  449. containing multiple literals. All uses changed.
  450. * emacsclient.c (print_help_and_exit):
  451. Rewrite to avoid string literals longer than the C89 limits.
  452. (start_daemon_and_retry_set_socket):
  453. Rewrite to avoid non-constant array initializer.
  454. * make-docfile.c (enum global_type): Omit trailing comma.
  455. 2013-07-02 Paul Eggert <eggert@cs.ucla.edu>
  456. Prefer plain 'static' to 'static inline' (Bug#12541).
  457. I missed these instances of 'static inline' in an earlier sweep.
  458. * ebrowse.c (putstr):
  459. * etags.c (hash):
  460. * make-docfile.c (put_char): No longer inline.
  461. * etags.c (hash): Prefer int to unsigned when either will do.
  462. 2013-06-21 Paul Eggert <eggert@cs.ucla.edu>
  463. Use C99-style flexible array members if available.
  464. * ebrowse.c: Include <stddef.h>, for offsetof.
  465. (struct member, struct alias, struct sym):
  466. Use FLEXIBLE_ARRAY_MEMBER.
  467. (add_sym, add_member, make_namespace, register_namespace_alias):
  468. Use offsetof (struct, flex_array_member), not sizeof (struct), as
  469. that ports better to pre-C99 non-GCC.
  470. 2013-05-29 Eli Zaretskii <eliz@gnu.org>
  471. * Makefile.in (mostlyclean): Remove *.res files.
  472. 2013-05-18 Paul Eggert <eggert@cs.ucla.edu>
  473. Port --enable-gcc-warnings to clang.
  474. * etags.c: Omit unnecessary forward decls.
  475. (print_version, print_help): Declare _Noreturn.
  476. * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify.
  477. 2013-05-16 Eli Zaretskii <eliz@gnu.org>
  478. * update-game-score.c [WINDOWSNT]: Include "ntlib.h".
  479. * ntlib.h (sleep): Update prototype.
  480. (geteuid): Add prototype.
  481. * ntlib.c (sleep): Now returns an unsigned value.
  482. (getgid): New function.
  483. * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
  484. (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
  485. (INSTALLABLES): Add $(CLIENTW).
  486. (LIBS_MOVE): Use $(LIB_WSOCK32).
  487. ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
  488. (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
  489. (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
  490. (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
  491. (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
  492. Add $(NTLIB) to prerequisites. Use $(EXEEXT).
  493. (pop.o): Add pop.h to prerequisites.
  494. (emacsclientw${EXEEXT}, ntlib.o): New targets.
  495. (emacsclient.res): New target.
  496. 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
  497. * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
  498. 2013-05-06 Paul Eggert <eggert@cs.ucla.edu>
  499. * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
  500. by removing references to no-longer-existing locals.
  501. 2013-03-26 Eli Zaretskii <eliz@gnu.org>
  502. Fix incompatibilities between MinGW.org and MinGW64 headers.
  503. * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the
  504. struct only if _TIMEZONE_DEFINED is not defined.
  505. 2013-03-23 cg <chengang31@gmail.com> (tiny change)
  506. * makefile.w32-in (LIB_SRC): Move before first use.
  507. 2013-03-16 Paul Eggert <eggert@cs.ucla.edu>
  508. * pop.c: Fix ERRMAX typo (Bug#13925).
  509. (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
  510. Use ERROR_MAX, not ERRMAX.
  511. 2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
  512. File synchronization fixes (Bug#13944).
  513. * Makefile.in (LIB_FDATASYNC): New macro.
  514. (emacsclient${EXEEXT}): Use it.
  515. * emacsclient.c (main): Use fdatasync, not fsync, since we don't
  516. care about metadata. Keep trying if interrupted.
  517. * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
  518. fsync is available everywhere (or there is a substitute).
  519. Don't report an error if fsync returns EINVAL.
  520. Static checking by Sun C 5.12.
  521. * etags.c (analyse_regex): Omit unreachable code.
  522. * movemail.c (main): Call umask on all systems.
  523. This is OK since Emacs already assumes umask elsewhere.
  524. Don't grant more read permissions than necessary.
  525. The old 0333 dates back to before we called setuid,
  526. so it was needed back then to ensure user-readability,
  527. but 0377 should suffice now.
  528. 2013-02-08 Paul Eggert <eggert@cs.ucla.edu>
  529. * movemail.c (getenv): Remove decl (unused since 1994).
  530. 2013-01-15 Paul Eggert <eggert@cs.ucla.edu>
  531. * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448).
  532. This pacifies GCC 4.7.2 when Emacs is configured with
  533. --enable-link-time-optimization and --enable-gcc-warnings.
  534. 2013-01-01 Juanma Barranquero <lekktu@gmail.com>
  535. * makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).
  536. 2012-12-11 Juanma Barranquero <lekktu@gmail.com>
  537. * makefile.w32-in (SYSWAIT_H): Update dependencies.
  538. 2012-12-10 Eli Zaretskii <eliz@gnu.org>
  539. * makefile.w32-in (obj): Add w32notify.o. Add missing X and Unix
  540. sources.
  541. 2012-12-02 Kevin Ryde <user42@zip.com.au>
  542. * etags.c (Lisp_functions): Skip (defvar foo) declarations unless
  543. the --declarations flag is enabled (Bug#5600).
  544. (Lisp_help): Update.
  545. (skip_name): New function.
  546. 2012-12-01 Kevin Ryde <user42@zip.com.au>
  547. * etags.c (Perl_functions): Support "use constant" (Bug#5055).
  548. 2012-11-27 Paul Eggert <eggert@cs.ucla.edu>
  549. Assume POSIX 1003.1-1988 or later for errno.h (Bug#12968).
  550. * movemail.c (main): Assume EAGAIN and EBUSY.
  551. 2012-11-23 Paul Eggert <eggert@cs.ucla.edu>
  552. movemail: treat EACCES etc. failures as permanent
  553. * movemail.c (main): Treat any link failure other than EEXIST as a
  554. permanent failure, not just EPERM. EACCES, for example.
  555. 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
  556. Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
  557. * emacsclient.c (getcwd): Remove decl.
  558. (get_current_dir_name): Assume getcwd exists.
  559. * etags.c (HAVE_GETCWD): Remove.
  560. (getcwd): Remove decl.
  561. (NO_LONG_OPTIONS): Remove this. All uses removed.
  562. Emacs always has GNU getopt.
  563. (etags_getcwd): Assume getcwd exists.
  564. * movemail.c (F_OK, X_OK, W_OK, R_OK): Remove.
  565. 2012-11-20 Paul Eggert <eggert@cs.ucla.edu>
  566. * emacsclient.c (handle_sigcont, handle_sigtstp): Use raise (sig)
  567. rather than kill (getpid (), sig), as it's simpler and safer.
  568. 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
  569. * makefile.w32-in (SYSWAIT_H): New macro.
  570. ($(BLD)/movemail.$(O)): Update dependencies.
  571. 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
  572. Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
  573. * movemail.c, update-game-score.c: Assume <fcntl.h> exists.
  574. 2012-10-26 Glenn Morris <rgm@gnu.org>
  575. * Makefile.in (uninstall): No INSTALLABLES live in archlibdir.
  576. * Makefile.in (install, uninstall): Transformations should not be
  577. applied to $EXEEXT.
  578. 2012-10-23 Eli Zaretskii <eliz@gnu.org>
  579. * makefile.w32-in (lisp2): Add cp51932.el and eucjp-ms.el, to
  580. follow src/lisp.mk.
  581. 2012-10-21 Glenn Morris <rgm@gnu.org>
  582. * make-docfile.c (scan_lisp_file): Add cp51932.el and eucjp-ms.el.
  583. 2012-10-20 Eli Zaretskii <eliz@gnu.org>
  584. * make-docfile.c (IS_SLASH, DEF_ELISP_FILE): New macros.
  585. (scan_lisp_file): Only pass a .el file if its basename matches a
  586. known file in its entirety. Use IS_SLASH and DEF_ELISP_FILE.
  587. 2012-10-20 Andreas Schwab <schwab@linux-m68k.org>
  588. * make-docfile.c (scan_lisp_file): Add bounds checking.
  589. 2012-10-20 Eli Zaretskii <eliz@gnu.org>
  590. Prevent silent omission of doc strings from uncompiled Lisp files.
  591. * make-docfile.c (scan_lisp_file): Barf if called with a .el file
  592. other than one of a small list of supported un-compiled files.
  593. * makefile.w32-in (lisp1, lisp2): Name .elc files wherever they
  594. exist. (Bug#12395)
  595. 2012-10-17 Eli Zaretskii <eliz@gnu.org>
  596. * ntlib.c: Include <mbstring.h>, to avoid compiler warning about
  597. _mbspbrk.
  598. 2012-10-08 Eli Zaretskii <eliz@gnu.org>
  599. * makefile.w32-in (obj): Add cygw32.o.
  600. 2012-10-08 Daniel Colascione <dancol@dancol.org>
  601. * emacsclient.c: Include windows.h when HAVE_NTGUI.
  602. (alt_display): New variable. We send the display held by this
  603. variable when the primary display is either unsupported or not
  604. present.
  605. (longopts): Allow display everywhere.
  606. (w32_set_user_model_id): Move lower in file, inside HAVE_NTGUI
  607. section.
  608. (decode_options): Use alt_display. Explain why.
  609. (main): Retry connection with alt_display if connection with main
  610. display fails.
  611. 2012-10-01 Fabrice Popineau <fabrice.popineau@gmail.com>
  612. * make-docfile.c (write_globals): Special-case
  613. Fexit_recursive_edit and Fabort_recursive_edit as well, as
  614. functions that are _Noreturn, to be consistent with
  615. src/keyboard.c.
  616. 2012-09-30 Eli Zaretskii <eliz@gnu.org>
  617. * ntlib.c (gettimeofday): Copy from src/w32.c. lib/gettime.c
  618. needs this function.
  619. 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
  620. * makefile.w32-in (obj): Add profiler.o.
  621. 2012-09-17 Glenn Morris <rgm@gnu.org>
  622. * ebrowse.c (version):
  623. * etags.c (print_version): Use COPYRIGHT.
  624. 2012-09-11 Paul Eggert <eggert@cs.ucla.edu>
  625. * pop.c (socket_connection) [HAVE_GETADDRINFO]:
  626. Prefer assignment to memcpy when either will do.
  627. 2012-08-31 Andreas Schwab <schwab@linux-m68k.org>
  628. * etags.c (consider_token): Always zero-terminate token buffer.
  629. (Bug#12306)
  630. 2012-08-19 Paul Eggert <eggert@cs.ucla.edu>
  631. Rely on <config.h> + <unistd.h> to declare 'environ'.
  632. * emacsclient.c (environ): Remove decl.
  633. 2012-08-17 Juanma Barranquero <lekktu@gmail.com>
  634. * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies.
  635. 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
  636. * etags.c (Pascal_functions): Fix parenthesization typo.
  637. 2012-08-14 Paul Eggert <eggert@cs.ucla.edu>
  638. * make-docfile.c (enum global_type): Sort values roughly in
  639. decreasing alignment, except put functions last.
  640. (compare_globals): Use this new property of enum global_type.
  641. (write_globals): Use bool, not int, for booleans.
  642. 2012-08-10 Glenn Morris <rgm@gnu.org>
  643. * make-docfile.c (IF_LINT):
  644. * emacsclient.c (IF_LINT): Remove (in config.h now).
  645. * make-docfile.c (main)
  646. (fopen) [!WINDOWSNT]:
  647. (chdir) [!DOS_NT]: No more need to undef.
  648. * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
  649. * make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
  650. * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
  651. Remove (they are in config.h now).
  652. * ebrowse.c (PATH_LIST_SEPARATOR):
  653. Remove, and replace with SEPCHAR from config.h.
  654. 2012-08-03 Juanma Barranquero <lekktu@gmail.com>
  655. * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
  656. they are always defined in config.h.
  657. 2012-08-03 Eli Zaretskii <eliz@gnu.org>
  658. * ntlib.c (lstat): New function, calls 'stat'.
  659. 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
  660. Use C99-style 'extern inline' if available.
  661. * profile.c (SYSTIME_INLINE): Define.
  662. 2012-08-02 Glenn Morris <rgm@gnu.org>
  663. * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
  664. 2012-08-01 Glenn Morris <rgm@gnu.org>
  665. * Makefile.in (config_h): New variable.
  666. Use throughout in place of ../src/config.h.
  667. 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
  668. * makefile.w32-in (CONFIG_H): Update dependencies.
  669. (CONF_POST_H): New macro.
  670. 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
  671. Update .PHONY listings in makefiles.
  672. * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail,
  673. install, uninstall, mostlyclean, clean, distclean,
  674. maintainer-clean, extraclean, check, tags.
  675. 2012-07-29 Eli Zaretskii <eliz@gnu.org>
  676. * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
  677. 2012-07-12 Paul Eggert <eggert@cs.ucla.edu>
  678. * movemail.c: Add missing 'defined'.
  679. Suggested by Sven Joachim in
  680. <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
  681. 2012-07-11 Paul Eggert <eggert@cs.ucla.edu>
  682. Port 'movemail' again to Solaris and similar hosts.
  683. See Susan Cragin's report in
  684. <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>.
  685. * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
  686. !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. Move up, so it doesn't
  687. need a forward declaration.
  688. (main): Rewrite to avoid no-longer-present function 'concat', if
  689. !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
  690. Assume strerror.
  691. * emacsclient.c, movemail.c, update-game-score.c (strerror)
  692. [!HAVE_STRERROR]: Remove.
  693. 2012-07-10 Paul Eggert <eggert@cs.ucla.edu>
  694. EMACS_TIME simplification (Bug#11875).
  695. * profile.c (TV2): Remove no-longer-needed static var.
  696. Simplify by avoiding confusing use of strncpy etc.
  697. * etags.c (write_classname, C_entries):
  698. Use sprintf rather than strncpy or strncat.
  699. * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions)
  700. (Erlang_functions, substitute, readline_internal, savenstr):
  701. * movemail.c (mail_spool_name):
  702. Use memcpy rather than strncpy or strncat when either will do.
  703. * make-docfile.c (write_c_args):
  704. Use memcmp rather than strncmp when either will do.
  705. * movemail.c (pop_retr):
  706. * pop.c (pop_stat, pop_list, pop_multi_first, pop_last)
  707. (socket_connection, pop_getline, sendline, getok):
  708. Use snprintf rather than strncpy or strncat.
  709. * movemail.c (concat): Remove; no longer needed.
  710. (xmalloc): Define only if needed, now that concat has gone away.
  711. Return void *. All uses changed.
  712. 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
  713. Add GCC-style 'const' attribute to functions that can use it.
  714. * etags.c (number_len): Add ATTRIBUTE_CONST.
  715. 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
  716. * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
  717. 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
  718. * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
  719. (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
  720. (SYSTIME_H): New macros.
  721. (SRC): Redefine to point to src/, not current directory.
  722. ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
  723. ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
  724. ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
  725. ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
  726. ($(BLD)/regex.$(O)): New dependency.
  727. 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
  728. * makefile.w32-in (ALL): Add profile.exe.
  729. (PROFILEOBJS): New macro.
  730. ($(BLD)/profile.exe): New target.
  731. (install): Copy profile.exe.
  732. ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
  733. 2012-07-07 Juanma Barranquero <lekktu@gmail.com>
  734. * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
  735. Update dependencies.
  736. 2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
  737. Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
  738. * etags.c: Include c-strcase.h.
  739. (etags_strcasecmp, etags_strncasecmp): Remove.
  740. All uses replaced with c_strcasecmp and c_strncasecmp.
  741. 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
  742. * make-docfile.c (write_globals): Warn about duplicate function
  743. definitions with differing signatures.
  744. 2012-07-03 Paul Eggert <eggert@cs.ucla.edu>
  745. * make-docfile.c (scan_c_file): Suppress GCC warning.
  746. 2012-06-29 Tom Tromey <tromey@redhat.com>
  747. * make-docfile.c (enum global_type) <FUNCTION>: New constant.
  748. (struct global) <value>: New field.
  749. (add_global): Add 'value' argument.
  750. (compare_globals): Sort functions at the end.
  751. (close_emacs_globals): New function.
  752. (write_globals): Handle functions.
  753. (scan_c_file): Call add_global for DEFUN.
  754. 2012-06-30 Juanma Barranquero <lekktu@gmail.com>
  755. * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
  756. already defined in ETAGS_CFLAGS.
  757. 2012-06-27 Glenn Morris <rgm@gnu.org>
  758. * makefile.w32-in (lisp2): Remove paths.el.
  759. 2012-06-26 Paul Eggert <eggert@cs.ucla.edu>
  760. Clean out last vestiges of the old HAVE_CONFIG_H stuff.
  761. * Makefile.in (BASE_CFLAGS):
  762. * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
  763. * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
  764. * etags.c (DOS_NT):
  765. * pop.c (MAIL_USE_POP, h_errno):
  766. Remove code that was conditioned on !HAVE_CONFIG_H.
  767. 2012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
  768. * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
  769. library functions strcasecmp and strncasecmp if available.
  770. 2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
  771. Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
  772. * ebrowse.c (usage, version):
  773. * emacsclient.c (print_help_and_exit, fail):
  774. * etags.c (suggest_asking_for_help, fatal, pfatal):
  775. * hexl.c (usage):
  776. * make-docfile.c (fatal):
  777. * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
  778. * update-game-score.c (usage):
  779. * ebrowse.c (usage, version):
  780. * emacsclient.c (print_help_and_exit, fail):
  781. Use _Noreturn rather than NO_RETURN.
  782. No need for separate decl merely because of _Noreturn.
  783. 2012-06-24 Samuel Bronson <naesten@gmail.com>
  784. * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
  785. 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
  786. Support higher-resolution time stamps (Bug#9000).
  787. * Makefile.in (LIB_CLOCK_GETTIME): New macro.
  788. (profile${EXEEXT}): Use it.
  789. * profile.c: Include inttypes.h, intprops.h.
  790. (time_string): Size conservatively; do not guess size.
  791. (get_time): Now prints nanoseconds.
  792. (gettimeofday): Remove replacement function; gnulib now does this.
  793. 2012-06-08 Andreas Schwab <schwab@linux-m68k.org>
  794. * make-docfile.c (search_lisp_doc_at_eol): Unget last read
  795. character.
  796. 2012-06-06 Glenn Morris <rgm@gnu.org>
  797. * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
  798. (stamp-rcs2log, stamp-grep-changelog): Remove.
  799. (all, clean): Remove references to stamps.
  800. * vcdiff: Remove file.
  801. * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
  802. (stamp-vcdiff): Remove.
  803. 2012-06-05 Glenn Morris <rgm@gnu.org>
  804. * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O))
  805. ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O))
  806. ($(BLD)/timer.$(O)): Remove cruft.
  807. 2012-06-03 Glenn Morris <rgm@gnu.org>
  808. * rcs-checkin: Remove file.
  809. * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
  810. Remove rcs-checkin.
  811. (stamp-rcs-checkin): Remove.
  812. 2012-05-31 Eli Zaretskii <eliz@gnu.org>
  813. * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
  814. instead of a literal -mwindows, which is not supported by MSVC.
  815. (Bug#11405)
  816. 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
  817. * make-docfile.c: Improve comment style.
  818. (search_lisp_doc_at_eol): New function.
  819. (scan_lisp_file): Use it.
  820. 2012-05-26 Glenn Morris <rgm@gnu.org>
  821. * Makefile.in (INSTALL_DATA): Remove; unused.
  822. 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
  823. Remove src/m/*.
  824. * makefile.w32-in: Remove dependencies on
  825. $(EMACS_ROOT)/src/m/intel386.h.
  826. 2012-05-22 Glenn Morris <rgm@gnu.org>
  827. * Makefile.in (install): Remove unneeded chmods.
  828. 2012-05-21 Paul Eggert <eggert@cs.ucla.edu>
  829. Assume C89 or later.
  830. * etags.c (static, const): Remove macros.
  831. (PTR): Remove; all uses replaced with void *. Omit needless casts.
  832. 2012-05-21 Glenn Morris <rgm@gnu.org>
  833. * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
  834. Scrap superfluous subshells.
  835. 2012-05-18 Glenn Morris <rgm@gnu.org>
  836. * Makefile.in (install): Ensure $bindir exists.
  837. 2012-05-17 Glenn Morris <rgm@gnu.org>
  838. * Makefile.in (ns_appbindir): New, set by configure.
  839. 2012-05-12 Glenn Morris <rgm@gnu.org>
  840. * Makefile.in (MKDIR_P): New, set by configure.
  841. ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
  842. 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
  843. etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
  844. * etags.c: Include <stdarg.h>.
  845. (error): Declare as printf-style, as that's what it really is.
  846. All uses changed.
  847. (add_regex): Use single char rather than array-of-one char.
  848. 2012-05-05 Jim Meyering <meyering@redhat.com>
  849. * pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
  850. NUL-terminate the error buffer (Bug#11372).
  851. 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
  852. * emacsclient.c (min): Undef before redefining it.
  853. 2012-05-02 Jim Meyering <jim@meyering.net>
  854. * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
  855. send (Bug#11374).
  856. 2012-04-29 Andreas Schwab <schwab@linux-m68k.org>
  857. * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
  858. byte-code forms. (Bug#11380)
  859. 2012-04-20 Chong Yidong <cyd@gnu.org>
  860. * emacsclient.c (decode_options): Move -t -n corner case handling
  861. into server.el (Bug#11102).
  862. (main): Send -tty to Emacs under more circumstances (Bug#8314).
  863. 2012-04-18 Paul Eggert <eggert@cs.ucla.edu>
  864. configure: new option --enable-gcc-warnings (Bug#11207)
  865. * Makefile.in (C_WARNINGS_SWITCH): Remove.
  866. (WARN_CFLAGS, WERROR_CFLAGS): New macros.
  867. (BASE_CFLAGS): Use new macros rather than old.
  868. 2012-04-16 Paul Eggert <eggert@cs.ucla.edu>
  869. Assume less-ancient POSIX support.
  870. * update-game-score.c: Include <getopt.h> rather than rolling our
  871. own decls for optarg, optind, opterr. See
  872. <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
  873. 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
  874. * emacsclient.c (decode_options) [WINDOWSNT]:
  875. Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
  876. 2012-04-07 Eli Zaretskii <eliz@gnu.org>
  877. * makefile.w32-in (obj): Add xml.o.
  878. 2012-04-07 Eli Zaretskii <eliz@gnu.org>
  879. * makefile.w32-in (ALL): Now the list of executables, not of phony
  880. targets.
  881. (.PHONY): Only make-docfile is its prerequisite now.
  882. (make-docfile): Don't depend on stamp_BLD. Add a comment about
  883. the need in this target.
  884. (ctags, etags, ebrowse, hexl, movemail, emacsclient)
  885. (test-distrib): Phony targets removed.
  886. ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
  887. (all): Don't depend on stamp_BLD.
  888. (ALL): Include $(BLD)/test-distrib.exe.
  889. 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
  890. * emacsclient.c (main): Handle -print-nonl command.
  891. * emacsclient.c (main): Handle multiple messages in a single
  892. datagram.
  893. * emacsclient.c (socket_name): Add const.
  894. (get_server_config): Add parameter config_file, use it instead of
  895. global server_file.
  896. (set_tcp_socket): Add parameter local_server_file, pass it down to
  897. get_server_config.
  898. (set_local_socket): Add parameter local_socket_name, use it
  899. instead of global socket_name.
  900. (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
  901. Don't clobber global server_file or socket_name.
  902. (main): No longer reset server_file or socket_name.
  903. 2012-01-05 Glenn Morris <rgm@gnu.org>
  904. * ebrowse.c (version) <emacs_copyright>:
  905. * etags.c (print_version) <emacs_copyright>:
  906. * rcs2log (Copyright): Update short copyright year to 2012.
  907. 2011-12-25 Andreas Schwab <schwab@linux-m68k.org>
  908. * etags.c (C_entries): Properly skip over string and character
  909. constants and comments inside brackets. (Bug#10357)
  910. 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
  911. * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
  912. instead, treat both -c and -t as always requesting a new "tty" frame,
  913. and let server.el decide which kind is actually required.
  914. Reported by Uwe Siart <usenet@siart.de> in this thread:
  915. http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
  916. 2011-11-30 Chong Yidong <cyd@gnu.org>
  917. * emacsclient.c (main): Condition last change on WINDOWSNT
  918. (Bug#10155).
  919. 2011-11-27 Eli Zaretskii <eliz@gnu.org>
  920. * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
  921. * emacsclient.c (main) <environ>: Remove declaration, already
  922. pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
  923. 2011-11-24 Glenn Morris <rgm@gnu.org>
  924. * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
  925. 2011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
  926. * Makefile.in (all): Make sure "all" is the first target.
  927. 2011-10-27 Juanma Barranquero <lekktu@gmail.com>
  928. * emacsclient.c (w32_getenv): Silence compiler warnings.
  929. 2011-09-07 Glenn Morris <rgm@gnu.org>
  930. * etags.c (Fortran_functions): Handle "elemental" functions.
  931. 2011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
  932. * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
  933. 2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
  934. * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
  935. to build-aux (Bug#9169).
  936. 2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
  937. Integer and memory overflow issues (Bug#9397).
  938. * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
  939. avoid potential buffer overflow issues on typical 64-bit hosts.
  940. Return void *, not long *.
  941. (get_current_dir_name): Report a failure, instead of looping
  942. forever, if buffer size calculation overflows. Treat malloc
  943. failures like realloc failures, as that has better behavior and is
  944. more consistent. Do not check whether xmalloc returns NULL, as
  945. that's not possible.
  946. (message): Do not arbitrarily truncate message to 2048 bytes when
  947. sending it to stderr; use vfprintf instead.
  948. (get_server_config, set_local_socket)
  949. (start_daemon_and_retry_set_socket): Do not alloca
  950. arbitrarily-large buffers; that's not safe.
  951. (get_server_config, set_local_socket): Do not use sprintf when its
  952. result might not fit in 'int'.
  953. (set_local_socket): Do not assume uid fits in 'int'.
  954. * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
  955. to avoid potential buffer overflow issues on typical 64-bit hosts.
  956. (whatlen_max): New static var.
  957. (main): Avoid buffer overflow if subsidiary command length is
  958. greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
  959. result might not fit in 'int'.
  960. * movemail.c (main): Do not use sprintf when its result might not fit
  961. in 'int'. Instead, put the possibly-long file name into the
  962. output of pfatal_with_name.
  963. * update-game-score.c: Include <limits.h>
  964. (get_user_id): Do not assume uid fits in 'int'. Simplify.
  965. 2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
  966. Assume freestanding C89 headers, string.h, stdlib.h.
  967. * ebrowse.c: Include stdlib.h unconditionally.
  968. * etags.c, update-game-score.c:
  969. Include string.h and stdlib.h unconditionally.
  970. * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
  971. * movemail.c, pop.c: Include string.h unconditionally.
  972. * update-game-score.c: No need to include stdarg.h; not used.
  973. Assume support for memcmp, memcpy, memmove, memset.
  974. * etags.c (absolute_filename): Assume memmove exists.
  975. 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
  976. * update-game-score.c (usage): Update usage line.
  977. 2011-07-02 Jason Rumney <jasonr@gnu.org>
  978. * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
  979. Windows (Bug#5486).
  980. 2011-06-25 Glenn Morris <rgm@gnu.org>
  981. * emacsclient.c (decode_options) <opt>: Add `F:'.
  982. (print_help_and_exit): Mention --frame-parameters.
  983. 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
  984. * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
  985. 2011-06-10 Paul Eggert <eggert@cs.ucla.edu>
  986. * movemail.c: Fix race condition and related bugs (Bug#8836).
  987. (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
  988. fixes some race conditions. Report mkstemp/mktemp errno rather
  989. than a possibly-garbage errno. Reinitialize the template each
  990. time through the loop, as earlier mkstemp/mktemp calls could have
  991. trashed it. Pass 0600 (not 0666) to mktemp, for consistency
  992. with mkstemp; the permissions don't matter anyway.
  993. 2011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
  994. * emacsclient.c (socket_status): Use constant pointer.
  995. 2011-05-28 Paul Eggert <eggert@cs.ucla.edu>
  996. Use 'inline', not 'INLINE'.
  997. * etags.c (hash): Now inline unconditionally.
  998. * make-docfile.c (put_char): inline, not INLINE.
  999. 2011-05-25 Glenn Morris <rgm@gnu.org>
  1000. * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
  1001. (insrcdir): New.
  1002. (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
  1003. Use $insrcdir to suppress unaesthetic ignored errors.
  1004. (clean): Simplify list of things to delete.
  1005. (all, clean): Use $EXE_FILES.
  1006. * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
  1007. * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
  1008. (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
  1009. 2011-05-24 Glenn Morris <rgm@gnu.org>
  1010. * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
  1011. 2011-05-19 Glenn Morris <rgm@gnu.org>
  1012. * makefile.w32-in (echolisp): Remove rule that is no longer needed.
  1013. (clean): No more echolisp.tmp.
  1014. 2011-05-18 Glenn Morris <rgm@gnu.org>
  1015. * fakemail.c: Remove file.
  1016. * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
  1017. ($(BLD)/fakemail.$(O)): Remove.
  1018. * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
  1019. (fakemail${EXEEXT}): Remove rule.
  1020. 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
  1021. * makefile.w32-in (obj): Add gnutls.o.
  1022. 2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
  1023. Static checks with GCC 4.6.0 and non-default toolkits.
  1024. * movemail.c (mail_spool_name): Protoize.
  1025. (main): Remove unused var. Mark var as initialized.
  1026. Move locals to avoid shadowing, and use time_t for times.
  1027. * fakemail.c (xmalloc, xreallc): Use standard C prototypes
  1028. with void *. This avoids warnings about pointer casts.
  1029. * emacsclient.c (main): Don't use uninitialized var.
  1030. (IS_ANY_SEP): Remove; unused.
  1031. (get_current_dir_name): Add an extern decl.
  1032. 2011-04-06 Paul Eggert <eggert@cs.ucla.edu>
  1033. Fix more problems found by GCC 4.6.0's static checks.
  1034. * emacsclient.c (message): Mark it as a printf-like function.
  1035. * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
  1036. (write_c_args): Use it to suppress GCC warning.
  1037. 2011-03-30 Paul Eggert <eggert@cs.ucla.edu>
  1038. Fix a problem found by GCC 4.6.0's static checks.
  1039. * etags.c (just_read_file): Remove dummy variable and simplify.
  1040. 2011-03-27 Glenn Morris <rgm@gnu.org>
  1041. * emacsclient.c: Replace SIGTYPE with void.
  1042. 2011-03-23 Juanma Barranquero <lekktu@gmail.com>
  1043. * ntlib.c: Include <ctype.h>.
  1044. 2011-03-23 Glenn Morris <rgm@gnu.org>
  1045. * Makefile.in ($(DESTDIR)${archlibdir}):
  1046. Use `install-sh -d' rather than mkinstalldirs.
  1047. 2011-03-23 Paul Eggert <eggert@cs.ucla.edu>
  1048. * ebrowse.c: Use size_t, not int, for sizes.
  1049. This avoids a warning with gcc -Wstrict-overflow, and works
  1050. better for very large objects.
  1051. (inbuffer_size): Now size_t. All uses changed.
  1052. (xmalloc, xrealloc, operator_name, process_file): Use size_t for
  1053. sizes. Don't bother testing whether a size_t value can be negative.
  1054. * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
  1055. etags: In Prolog functions, don't assume int fits in size_t.
  1056. This avoids a warning with gcc -Wstrict-overflow.
  1057. * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
  1058. not int, to store sizes.
  1059. (prolog_atom): Return 0, not -1, on error. All callers changed.
  1060. update-game-score: fix bug with -r
  1061. * update-game-score.c (main): Don't set 'scores' to garbage when
  1062. -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
  1063. was introduced in the 2002-04-10 change, and was found with gcc
  1064. -Wstrict-overflow (GCC 4.5.2, x86-64).
  1065. fakemail: Remove dependency on ignore-value.
  1066. This undoes some of the recent fakemail-related changes.
  1067. It is made possible due to recent changes to gnulib's stdio module.
  1068. * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
  1069. * fakemail.c: Do not include ignore-value.h.
  1070. (put_line): Do not use ignore_value.
  1071. 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
  1072. * Version 23.3 released.
  1073. 2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
  1074. * emacsclient.c (longopts): Add quiet.
  1075. (decode_options): Handle q/quiet.
  1076. (print_help_and_exit): Add q/quiet.
  1077. (main): Suppress some messages if quiet option is used.
  1078. 2011-02-26 Eli Zaretskii <eliz@gnu.org>
  1079. * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
  1080. * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
  1081. (w32_getenv): Use xstrdup to return all values in malloc'ed
  1082. storage.
  1083. 2011-02-26 Paul Eggert <eggert@cs.ucla.edu>
  1084. * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
  1085. to reader (and to the compiler) that the loop always executes at
  1086. least once. This prevents a warning with recent GCC.
  1087. (BROWSE_STRUCT): Remove unused macro.
  1088. * fakemail.c: Include <ignore-value.h>.
  1089. (put_line): Explicitly ignore fwrite return value, for benefit of
  1090. recent glibc + gcc.
  1091. (close_the_streams): Diagnose output errors instead of merely
  1092. exiting with nonzero status.
  1093. (my_fclose, main): Diagnose input errors, and exit with nonzero status.
  1094. Formerly, input errors were silently ignored.
  1095. * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
  1096. All callers changed. This is cleaner, and avoids GCC warnings about
  1097. passing NULL to fputs.
  1098. (insert_keyword): Rename parameter to avoid shadowing diagnostic.
  1099. 2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
  1100. * emacsclient.c (main): Avoid dangling 'if'.
  1101. (xstrdup): Remove; no longer needed.
  1102. (get_current_dir_name, w32_getenv, get_server_config, find_tty)
  1103. (set_local_socket, main):
  1104. Use const char *, not char *, for pointers that are not assigned
  1105. through.
  1106. (IF_LINT): New macro.
  1107. (set_local_socket, main): Use it to suppress warnings with
  1108. GCC -Wuninitialized.
  1109. * emacsclient.c: Redo local variables to avoid shadowing problems.
  1110. (message, socket_status, start_daemon_and_retry_set_socket):
  1111. Rename locals.
  1112. (main): Move decl of "i".
  1113. * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
  1114. This avoids an unused-macro warning with some GCC settings.
  1115. * make-docfile.c (write_globals): Change char * to char const *
  1116. to avoid a GCC "assignment discards qualifiers" diagnostic
  1117. in some configurations.
  1118. (scan_c_file): Refactor local variable decls to make their scope
  1119. more accurate and to avoid a GCC -Wuninitialized diagnostic.
  1120. 2011-02-22 Eli Zaretskii <eliz@gnu.org>
  1121. * etags.c (canonicalize_filename, ISUPPER): Fix last change.
  1122. * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
  1123. Depend on ../lib/min-max.h.
  1124. 2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
  1125. etags: Downcase drive letters, for consistency with Emacs proper.
  1126. * etags.c (upcase): Remove; no longer used.
  1127. (canonicalize_filename): Downcase drive letters.
  1128. Assume S_ISLNK etc. work, since gnulib supports this.
  1129. * etags.c (S_ISREG): Remove.
  1130. 2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
  1131. Assume S_ISLNK etc. work, since gnulib supports this.
  1132. * etags.c (S_ISREG): Remove.
  1133. 2011-02-22 Juanma Barranquero <lekktu@gmail.com>
  1134. * makefile.w32-in (obj): Remove filemode.o.
  1135. 2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
  1136. New file "lib/min-max.h".
  1137. * ebrowse.c (min, max): Define them by including <min-max.h>
  1138. instead of defining it ourselves.
  1139. * pop.c (min): Likewise.
  1140. * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
  1141. * movemail.c (popmail): Report fchown failure instead of ignoring it.
  1142. But if the file already has the right ownership, don't worry about it.
  1143. * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
  1144. * test-distrib.c (buf): Make this local, to avoid shadowing.
  1145. * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
  1146. (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
  1147. (DONE): Remove unused macro.
  1148. (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
  1149. Define these macros only in the contexts that need them.
  1150. * pop.c (index): Remove unused macro.
  1151. (KPOP_PORT): Define only if KERBEROS is defined.
  1152. Declare file-scope functions and variables static if not exported.
  1153. This is more consistent, and is nicer with gcc -Wstrict-prototypes.
  1154. * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
  1155. * profile.c, test-distrib.c, update-game-score.c:
  1156. Declare non-'main' functions and variables to be static.
  1157. * ebrowse.c: Omit redundant function prototypes.
  1158. 2011-02-21 Eli Zaretskii <eliz@gnu.org>
  1159. * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
  1160. ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
  1161. Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
  1162. 2011-02-21 Ben Key <bkey76@gmail.com>
  1163. * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
  1164. the new BVAR macro.
  1165. 2011-02-20 Juanma Barranquero <lekktu@gmail.com>
  1166. * makefile.w32-in (obj): Remove md5.o.
  1167. 2011-02-18 Karl Chen <Karl.Chen@quarl.org>
  1168. * emacsclient.c (main): Loop while `recv' return EINTR.
  1169. 2011-02-09 Paul Eggert <eggert@cs.ucla.edu>
  1170. * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
  1171. This avoids collision with config.h's EMACS_INT on some
  1172. configurations. All uses changed.
  1173. 2011-02-08 Tom Tromey <tromey@redhat.com>
  1174. * make-docfile.c: Unconditionally include stdlib.h.
  1175. (generate_globals): New global.
  1176. (xrealloc): New function.
  1177. (main): Handle '-g'. Call start_globals, write_globals.
  1178. (scan_file): Conditionally call put_filename.
  1179. (start_globals): New function.
  1180. (struct global): New.
  1181. (num_globals, globals): New globals.
  1182. (add_global, compare_globals, write_globals): New functions.
  1183. (scan_c_file): Update for "-g".
  1184. (scan_lisp_file): Fail if "-g".
  1185. 2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
  1186. * emacsclient.c: Conform to C89 pointer rules.
  1187. (file_name_absolute_p): Accept const char *, not const unsigned
  1188. char *, to satisfy C89 rules.
  1189. 2011-02-02 Eli Zaretskii <eliz@gnu.org>
  1190. * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
  1191. Add ``-DEMACS_NAME="\"GNU Emacs\""''.
  1192. (obj): Remove strftime.o.
  1193. 2011-01-31 Eli Zaretskii <eliz@gnu.org>
  1194. * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
  1195. (ECLIENT_CFLAGS): Remove -DVERSION.
  1196. ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
  1197. 2011-01-31 Paul Eggert <eggert@cs.ucla.edu>
  1198. src/emacs.c now gets version number from configure.in
  1199. * ebrowse.c: Adjust comment to say that.
  1200. 2011-01-30 Jim Meyering <meyering@redhat.com>
  1201. * make-docfile.c: Don't corrupt heap for an invalid .elc file
  1202. "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
  1203. one byte before just-malloc'd saved_string buffer.
  1204. * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
  1205. doc string length. Also fix an always-false while-loop test.
  1206. 2011-01-29 Eli Zaretskii <eliz@gnu.org>
  1207. * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
  1208. (GETOPTOBJS, GETOPTDEPS): Remove targets.
  1209. (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
  1210. ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
  1211. (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
  1212. and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
  1213. (clean): Don't remove getopt.h.
  1214. (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
  1215. ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
  1216. $(EMACS_ROOT)/lib/getopt.h.
  1217. 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
  1218. * ntlib.c (setregid): New stub, renamed from setegid.
  1219. * ntlib.h: Update prototype.
  1220. 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
  1221. * movemail.c (main): Use setregid instead of setegid, which is
  1222. missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
  1223. 2011-01-23 Paul Eggert <eggert@cs.ucla.edu>
  1224. Check return values of some library calls.
  1225. * hexl.c (main): Check fread result.
  1226. * make-docfile.c (main): Check chdir result.
  1227. (scan_c_file): Check fscanf result.
  1228. * movemail.c (main): Check ftruncate result.
  1229. 2011-01-17 Paul Eggert <eggert@cs.ucla.edu>
  1230. Include <unistd.h> unilaterally.
  1231. * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
  1232. * pop.c, test-distrib.c, update-game-score.c:
  1233. Include <unistd.h> without worrying about HAVE_UNISTD_H, since
  1234. unistd.h is always present now, possibly supplied by gnulib.
  1235. Include <getopt.h> not "getopt.h".
  1236. * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
  1237. Since getopt.h is no longer in this directory, there's no point
  1238. using the form with double-quotes.
  1239. Remove unused files.
  1240. * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
  1241. These files are now in ../lib, copied from gnulib.
  1242. Use gnulib's getopt-gnu module.
  1243. * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
  1244. as these are now done by gnulib.
  1245. (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
  1246. Remove; now done by gnulib. All uses removed.
  1247. Automate syncing from gnulib.
  1248. * Makefile.in (EXE_FILES): New macro.
  1249. (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
  1250. for gnulib's .h files.
  1251. (LOADLIBES): Add ../lib/libgnu.a.
  1252. ($(EXE_FILES)): Depend on ../lib/libgnu.a.
  1253. (../lib/libgnu.a): New rule.
  1254. 2011-01-08 Paul Eggert <eggert@cs.ucla.edu>
  1255. * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
  1256. 2011-01-08 Glenn Morris <rgm@gnu.org>
  1257. * Makefile.in (EMACSOPT): Add --no-site-lisp.
  1258. * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
  1259. 2011-01-02 Glenn Morris <rgm@gnu.org>
  1260. * ebrowse.c (version) <emacs_copyright>:
  1261. * etags.c (print_version) <emacs_copyright>:
  1262. * rcs2log (Copyright): Set short copyright year to 2011.
  1263. 2010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
  1264. * ebrowse.c (yylex): If end of input buffer encountered while
  1265. searching for a newline after "//", return YYEOF. (Bug#7446)
  1266. 2010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  1267. * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
  1268. definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
  1269. 2010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
  1270. * test-distrib.c: Remove include guards for config.h and fcntl.h.
  1271. (O_RDONLY): Do not define.
  1272. (cool_read): Fix type for variable "sofar".
  1273. 2010-10-25 Glenn Morris <rgm@gnu.org>
  1274. * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
  1275. 2010-10-23 Glenn Morris <rgm@gnu.org>
  1276. * digest-doc.c, sorted-doc.c: Remove files.
  1277. * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
  1278. (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
  1279. * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
  1280. ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
  1281. ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
  1282. (install): Don't install digest-doc.exe or sorted-doc.exe.
  1283. 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
  1284. * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
  1285. 2010-10-09 Glenn Morris <rgm@gnu.org>
  1286. * b2m.c, b2m.pl: Remove files.
  1287. * Makefile.in (INSTALLABLES): Remove b2m.
  1288. * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
  1289. 2010-10-08 Glenn Morris <rgm@gnu.org>
  1290. * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
  1291. DARWIN_USER_TEMP_DIR. (Bug#3992)
  1292. 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
  1293. * test-distrib.c (cool_read):
  1294. * movemail.c (main, concat):
  1295. * make-docfile.c (scan_file, write_c_args):
  1296. * emacsclient.c (get_server_config): Fix -Wconversion warning.
  1297. (egetenv): Move conditional definition earlier.
  1298. (progname): Use const.
  1299. * sorted-doc.c (xstrdup): Use const.
  1300. * Makefile.in: Remove ^L, old makes choke on it.
  1301. 2010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
  1302. * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
  1303. error string (Bug#6963).
  1304. 2010-10-02 Juanma Barranquero <lekktu@gmail.com>
  1305. * makefile.w32-in (tags): Remove target.
  1306. 2010-10-01 Eli Zaretskii <eliz@gnu.org>
  1307. * makefile.w32-in (tags, TAGS): New targets.
  1308. 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
  1309. * emacsclient.c (get_server_config): Don't read Emacs pid from
  1310. the authentication file.
  1311. 2010-09-29 Juanma Barranquero <lekktu@gmail.com>
  1312. * makefile.w32-in (../src/config.h): Remove target, it is stale.
  1313. * emacsclient.c (main): Remove unused variables.
  1314. (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
  1315. 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
  1316. * etags.c (compressors, print_language_names): Support xz compression.
  1317. 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
  1318. * fakemail.c: Include stdlib.h for getenv. Remove declaration of
  1319. popen, fclose and pclose.
  1320. (my_name, fatal, error, put_line): Use const char*.
  1321. (main): Remove extern getenv, mail_program_name is const char*.
  1322. * update-game-score.c (get_prefix, write_scores, main): Use const char*.
  1323. * sorted-doc.c (error, fatal, states): Use const char *.
  1324. * pop.h (pop_multi_first): Use const char *.
  1325. (_ARGS): Remove.
  1326. * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
  1327. * movemail.c (fatal, error, concat): Use const char *.
  1328. * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
  1329. Use const char *.
  1330. * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
  1331. (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
  1332. (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
  1333. (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
  1334. (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
  1335. (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
  1336. (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
  1337. (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
  1338. (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
  1339. (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
  1340. (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
  1341. (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
  1342. (no_lang_help, print_language_names)
  1343. (get_language_from_interpreter, get_language_from_filename)
  1344. (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
  1345. (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
  1346. (concat): Use const char*.
  1347. * emacsclient.c (message, sock_err_message, send_to_emacs)
  1348. (quote_argument, set_local_socket)
  1349. (start_daemon_and_retry_set_socket): Use const char*.
  1350. * ebrowse.c (struct member): filename, def_filename is const.
  1351. (struct sym): filename, sfilename is const.
  1352. (struct kw): name is const.
  1353. (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
  1354. * b2m.c (concat, fatal): Use const char*.
  1355. (main): Don't assign labels a string literal.
  1356. 2010-08-07 Juanma Barranquero <lekktu@gmail.com>
  1357. * ebrowse.c (usage, version, mark_virtual):
  1358. Remove duplicate declarations.
  1359. 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
  1360. * emacsclient.c: Move socket related #includes together with the
  1361. rest of the #includes. Move WINDOWSNT includes closer together.
  1362. (HAVE_CONFIG_H): Remove.
  1363. (NO_RETURN): Remove, defined in config.h.
  1364. (main): Convert definition to standard C.
  1365. 2010-07-29 Juanma Barranquero <lekktu@gmail.com>
  1366. * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
  1367. 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
  1368. * emacsclient.c (getcwd): Fix previous change: make getcwd
  1369. conditional on HAVE_GETCWD and declare with the correct POSIX
  1370. profile (for some reason MinGW headers define its 2nd arg as int,
  1371. not size_t; but getcwd is not used on Windows nonetheless).
  1372. 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
  1373. * emacsclient.c (getcwd, w32_getenv):
  1374. * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
  1375. 2010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
  1376. * update-game-score.c (usage): Add NO_RETURN specifier.
  1377. * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
  1378. * make-docfile.c (fatal):
  1379. * hexl.c (usage):
  1380. * fakemail.c (fatal):
  1381. * etags.c (fatal, suggest_asking_for_help, pfatal):
  1382. * emacsclient.c (fatal):
  1383. * b2m.c (fatal): Likewise.
  1384. 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
  1385. * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
  1386. 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
  1387. * emacsclient.c (get_current_dir_name, w32_get_resource)
  1388. (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
  1389. (close_winsock, initialize_sockets, w32_find_emacs_process)
  1390. (w32_give_focus):
  1391. * ntlib.c (getlogin, getuid, getgid, getegid):
  1392. Convert definitions to standard C.
  1393. 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
  1394. * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
  1395. (PROFILING_LDFLAGS): Set from substitution.
  1396. (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
  1397. (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
  1398. (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
  1399. 2010-07-12 Eli Zaretskii <eliz@gnu.org>
  1400. * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
  1401. 2010-07-12T05:25:46Z!handa@etlken).
  1402. 2010-07-11 Andreas Schwab <schwab@linux-m68k.org>
  1403. * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
  1404. index, rindex.
  1405. * movemail.c (mail_spool_name, popmail): Likewise.
  1406. * pop.c (pop_list): Likewise.
  1407. 2010-07-11 Eli Zaretskii <eliz@gnu.org>
  1408. * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
  1409. and unexw32.o. (Bug#6603)
  1410. 2010-07-10 Eli Zaretskii <eliz@gnu.org>
  1411. * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
  1412. 2010-07-09 Andreas Schwab <schwab@linux-m68k.org>
  1413. * make-docfile.c (write_c_args): Restructure scanning loop.
  1414. 2010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
  1415. * make-docfile.c (write_c_args): Deal with type names in DEFUN
  1416. arguments.
  1417. 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
  1418. * update-game-score.c (P_): Remove macro.
  1419. * ebrowse.c: Remove include guards.
  1420. (P_): Remove macro.
  1421. 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
  1422. * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
  1423. memcpy, memmove, memset.
  1424. * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
  1425. 2010-07-06 Andreas Schwab <schwab@linux-m68k.org>
  1426. * movemail.c: Add MAIL_USE_POP around prototypes.
  1427. Include <string.h> if HAVE_STRING_H.
  1428. (strerror): Only declare if !HAVE_STRERROR.
  1429. (fatal): Make static.
  1430. (error): Likewise.
  1431. (pfatal_with_name): Likewise.
  1432. (pfatal_and_delete): Likewise.
  1433. (concat): Likewise.
  1434. (xmalloc): Likewise.
  1435. (popmail): Likewise.
  1436. (pop_retr): Likewise.
  1437. (mbx_write): Likewise.
  1438. (mbx_delimit_begin): Likewise.
  1439. (mbx_delimit_end): Likewise.
  1440. 2010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
  1441. * fakemail.c (action): Convert function definitions to standard C.
  1442. (add_a_stream):
  1443. * test-distrib.c (cool_read, main): Likewise.
  1444. 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
  1445. * sorted-doc.c (cmpdoc): Fix signature.
  1446. (qsort_compare): Delete.
  1447. (main): Remove cast.
  1448. 2010-07-03 Juanma Barranquero <lekktu@gmail.com>
  1449. * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
  1450. 2010-07-03 Juanma Barranquero <lekktu@gmail.com>
  1451. Fix prototype warnings.
  1452. * ebrowse.c (match_qualified_namespace_alias):
  1453. Pass sym* to find_namespace, not link*.
  1454. * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
  1455. * sorted-doc.c (qsort_compare): New typedef.
  1456. (main): Use it to cast cmpdoc.
  1457. 2010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
  1458. * update-game-score.c: Convert function definitions to standard C.
  1459. * sorted-doc.c:
  1460. * profile.c:
  1461. * pop.c:
  1462. * movemail.c:
  1463. * make-docfile.c:
  1464. * hexl.c:
  1465. * fakemail.c:
  1466. * etags.c:
  1467. * ebrowse.c:
  1468. * digest-doc.c:
  1469. * b2m.c: Likewise.
  1470. 2010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
  1471. * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
  1472. * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
  1473. standard C prototypes.
  1474. 2010-07-02 Jan Djärv <jan.h.d@swipnet.se>
  1475. * ebrowse.c: Remove P_ and __P.
  1476. * etags.c:
  1477. * movemail.c:
  1478. * pop.c:
  1479. * update-game-score.c: Likewise.
  1480. 2010-06-24 Juanma Barranquero <lekktu@gmail.com>
  1481. * movemail.c (error): Avoid warning when there are no args.
  1482. 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
  1483. * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
  1484. and vc/ediff-hook.elc.
  1485. 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
  1486. * ntlib.h: Remove code dealing with BSTRING.
  1487. 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
  1488. * emacsclient.c (longopts, decode_options, print_help_and_exit):
  1489. New arg `-parent-id'.
  1490. (main): Send parent-id to Emacs.
  1491. 2010-05-27 Glenn Morris <rgm@gnu.org>
  1492. * Makefile.in (distclean): No more Makefile.c.
  1493. 2010-05-22 Jan Djärv <jan.h.d@swipnet.se>
  1494. * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
  1495. (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
  1496. (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
  1497. New rules (Bug #6246).
  1498. (clean): Remove stamp-* (Bug #6246).
  1499. 2010-05-12 Glenn Morris <rgm@gnu.org>
  1500. * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
  1501. 2010-05-11 Glenn Morris <rgm@gnu.org>
  1502. * Makefile.in (.m.o): Remove, there are no .m files.
  1503. (BASE_CFLAGS): New variable.
  1504. (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
  1505. (check): Update the message.
  1506. (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
  1507. * Makefile.in: Convert comments to makefile format.
  1508. * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
  1509. (config.h) [MSDOS]: Do not include.
  1510. 2010-05-10 Glenn Morris <rgm@gnu.org>
  1511. * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
  1512. (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
  1513. (NOT_C_CODE): Remove, no longer used.
  1514. (config.h) [!MSDOS]: No longer include.
  1515. (LOADLIBES): Use LIBS_SYSTEM as a variable.
  1516. * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
  1517. 2010-05-08 Glenn Morris <rgm@gnu.org>
  1518. * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
  1519. 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
  1520. * Version 23.2 released.
  1521. 2010-05-06 Glenn Morris <rgm@gnu.org>
  1522. * Makefile.in: Minimize blessmail-related cpp usage.
  1523. (BLESSMAIL_TARGET): New variable.
  1524. (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
  1525. (blessmail): Always define this rule.
  1526. (need-blessmail): New rule, split out from maybe-blessmail.
  1527. (maybe-blessmail): Use BLESSMAIL_TARGET.
  1528. 2010-05-04 Glenn Morris <rgm@gnu.org>
  1529. * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
  1530. @c_switch_system@, @c_switch_machine@.
  1531. 2010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
  1532. * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
  1533. 2010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
  1534. * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
  1535. non-cpp section.
  1536. 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
  1537. * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
  1538. autoconf, not cpp.
  1539. (ALL_CFLAGS): Use them as make variables.
  1540. 2010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
  1541. * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
  1542. for macros for nmake compatibility.
  1543. 2010-04-03 Juanma Barranquero <lekktu@gmail.com>
  1544. Add stubs for Windows, required after CVE-2010-0825 change.
  1545. * ntlib.c (getgid, getegid, setegid): New stubs.
  1546. * ntlib.h (getgid, getegid, setegid): Declare them.
  1547. 2010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
  1548. * movemail.c (main): Check return values of setuid.
  1549. Avoid possibility of symlink attack when movemail is setgid mail
  1550. (CVE-2010-0825).
  1551. 2010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
  1552. Remove extern errno declarations.
  1553. * movemail.c:
  1554. * etags.c:
  1555. * emacsclient.c: Remove extern errno declarations.
  1556. 2010-03-20 Glenn Morris <rgm@gnu.org>
  1557. * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
  1558. (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
  1559. defining these as Makefile variables.
  1560. (LIBS_MOVE): Add LIBS_MAIL into this.
  1561. (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
  1562. 2010-03-18 Glenn Morris <rgm@gnu.org>
  1563. * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
  1564. (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
  1565. (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
  1566. 2010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
  1567. * Makefile.in (uninstall): Handle the case where archlibdir does not
  1568. exist. (Bug#5720)
  1569. 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
  1570. * Branch for 23.2.
  1571. 2010-02-20 Kevin Ryde <user42@zip.com.au>
  1572. * etags.c (Scheme_functions): Don't loop past a null character
  1573. (Bug#5601).
  1574. 2010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
  1575. * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
  1576. 2010-01-11 Glenn Morris <rgm@gnu.org>
  1577. * ebrowse.c (version):
  1578. * etags.c (print_version):
  1579. * rcs2log (Copyright): Set copyright year to 2010.
  1580. 2009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
  1581. * makefile.w32-in: Use parenthesis for macros for nmake
  1582. compatibility.
  1583. 2009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
  1584. * etags.c (absolute_filename): Use memmove if we have it for
  1585. overlapping copy.
  1586. 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
  1587. * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
  1588. 2009-10-15 Juanma Barranquero <lekktu@gmail.com>
  1589. * .gitignore: Add echolisp.tmp.
  1590. 2009-10-15 Glenn Morris <rgm@gnu.org>
  1591. * emacsclient.c (print_help_and_exit): Fix bug report instructions.
  1592. * makefile.w32-in (echolisp): New rule.
  1593. (clean): Delete echolisp.tmp.
  1594. 2009-09-27 Eli Zaretskii <eliz@gnu.org>
  1595. * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
  1596. term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
  1597. be consistent with src/Makefile.in.
  1598. 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
  1599. * update-game-score.c (main): Sort scores before trimming them,
  1600. reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
  1601. 2009-09-09 Glenn Morris <rgm@gnu.org>
  1602. * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
  1603. before creating directories and game score files.
  1604. 2009-08-19 Glenn Morris <rgm@gnu.org>
  1605. * cvtmail.c: Remove file.
  1606. * Makefile.in (UTILITIES): Remove cvtmail.
  1607. (cvtmail${EXEEXT}): Remove.
  1608. 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
  1609. * b2m.c (main): Ensure that each message ends in two newlines.
  1610. 2009-07-03 Jason Rumney <jasonr@gnu.org>
  1611. * emacsclient.c (w32_set_user_model_id): Use standard types.
  1612. 2009-07-03 Eli Zaretskii <eliz@gnu.org>
  1613. * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
  1614. src/Makefile.in did.
  1615. 2009-06-30 Jason Rumney <jasonr@gnu.org>
  1616. * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
  1617. that is already loaded.
  1618. (w32_set_user_model_id): New function.
  1619. (main): Use it to associate emacsclient with emacs (bug#1849).
  1620. 2009-06-29 Jim Meyering <meyering@redhat.com>
  1621. Remove useless if-before-free test.
  1622. * make-docfile.c (scan_lisp_file): Remove useless test.
  1623. 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
  1624. * Makefile.in (movemail.o): Don't pass -Demacs, unused.
  1625. 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
  1626. * Branch for 23.1.
  1627. 2006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
  1628. * mac-fix-env.m:
  1629. * Makefile.in (mac-fix-env): Remove.
  1630. 2006-06-06 David Reitter <david.reitter@gmail.com>
  1631. * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
  1632. 2009-04-20 Juanma Barranquero <lekktu@gmail.com>
  1633. * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
  1634. spacing is required in the message output, as the comment suggests).
  1635. 2009-04-20 Chong Yidong <cyd@stupidchicken.com>
  1636. * emacsclient.c (print_help_and_exit): Clarify argument placement
  1637. for short option names.
  1638. 2009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
  1639. * emacsclient.c (print_help_and_exit): Fix typo.
  1640. 2009-03-21 Eli Zaretskii <eliz@gnu.org>
  1641. * ntlib.c (setuid): Argument is now unsigned.
  1642. (getuid): Return value is now unsigned.
  1643. (getpwuid): Argument is now unsigned.
  1644. (fchown): UID and GID arguments are now unsigned.
  1645. * ntlib.h (fchown): UID and GID arguments are now unsigned.
  1646. (getuid): Return value is now unsigned.
  1647. (setuid): Argument is now unsigned.
  1648. (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
  1649. 2009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
  1650. * emacsclient.c (main): Revert part of last change, so
  1651. drive-relative file names again work on Windows.
  1652. 2009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
  1653. * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
  1654. names without prepending cwd to them, so Emacs uses its customary
  1655. rules to determine how to interpret the file name.
  1656. 2009-03-04 Glenn Morris <rgm@gnu.org>
  1657. * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
  1658. 2009-02-13 Sven Joachim <svenjoac@gmx.de>
  1659. * movemail.c: Include time.h unconditionally.
  1660. (main): Use time_t for time variables.
  1661. 2009-02-11 Glenn Morris <rgm@gnu.org>
  1662. * movemail.c (mbx_delimit_begin): Also write the current time.
  1663. 2009-02-10 Glenn Morris <rgm@gnu.org>
  1664. * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
  1665. than Babyl format. (Bug#2196)
  1666. 2009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
  1667. * emacsclient.c (decode_options): Use a dummy display name under
  1668. NS/Cocoa.
  1669. 2009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
  1670. * ebrowse.c (matching_regexp): Fix OB1 error.
  1671. 2009-01-05 Glenn Morris <rgm@gnu.org>
  1672. * ebrowse.c (version):
  1673. * etags.c (print_version):
  1674. * rcs2log (Copyright): Update copyright for 2009.
  1675. 2009-01-01 Chong Yidong <cyd@stupidchicken.com>
  1676. * movemail.c (main): Fatal if hard links cannot be created.
  1677. 2008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
  1678. * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
  1679. checking.
  1680. 2008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
  1681. * emacsclient.c: Include syswait.h instead of sys/types.h.
  1682. 2008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
  1683. * emacsclient.c (WCONTINUED): New compatibility define
  1684. for older systems.
  1685. 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
  1686. * emacsclient.c (main): Fix previous change.
  1687. 2008-12-10 Juanma Barranquero <lekktu@gmail.com>
  1688. * emacsclient.c (main): Fix mindless breakage where emacsclient
  1689. does not work *at all* on Windows, even if it *can* connect.
  1690. 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
  1691. * emacsclient.c (EMACS_DAEMON): Remove definition.
  1692. (decode_options): Do not allow an empty alternate_editor on
  1693. WINDOWSNT.
  1694. (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
  1695. (start_daemon_and_retry_set_socket): Likewise.
  1696. (main): Fail in case of not being able to connect.
  1697. 2008-12-10 Juanma Barranquero <lekktu@gmail.com>
  1698. * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
  1699. Changes when EMACS_DAEMON is not defined:
  1700. (print_help_and_exit): Don't add daemon information to help.
  1701. (start_daemon_and_retry_set_socket): Make a no-op.
  1702. (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
  1703. 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
  1704. * emacsclient.c (print_help_and_exit): Describe what an empty
  1705. string argument does for --alternate-editor.
  1706. (set_socket): Make it possible to not exit in case of an error.
  1707. (start_daemon_and_retry_set_socket): New function.
  1708. (main): Use it. Restore the NULL value for socket_name and
  1709. server_file after the set_socket call.
  1710. 2008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
  1711. * emacsclient.c: Include <arpa/inet.h>.
  1712. 2008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
  1713. * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
  1714. 2008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
  1715. * etags.c (add_regex): Pass correct length to re_compile_pattern.
  1716. 2008-11-02 Chong Yidong <cyd@stupidchicken.com>
  1717. * emacsclient.c (window_system): Delete redundant variable.
  1718. (decode_options): Don't use it.
  1719. (find_tty): New function.
  1720. (main): Use find_tty, and don't use window_system.
  1721. 2008-11-01 Eli Zaretskii <eliz@gnu.org>
  1722. * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
  1723. `ttyname'.
  1724. (w32_getenv): Treat $TERM specially: if not found in the
  1725. environment and in the Registry, return "w32console".
  1726. (ttyname) [WINDOWSNT]: New function.
  1727. 2008-10-31 Andreas Schwab <schwab@suse.de>
  1728. * emacsclient.c (main): Don't force sending tty when in eval mode.
  1729. 2008-10-30 Chong Yidong <cyd@stupidchicken.com>
  1730. * emacsclient.c (main): If using the current frame, send tty
  1731. information to Emacs in case daemon mode needs to occupy this tty.
  1732. 2008-10-29 Juanma Barranquero <lekktu@gmail.com>
  1733. * emacsclient.c (EXTRA_SPACE): New macro.
  1734. (get_server_config, set_local_socket): Use it.
  1735. * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
  1736. Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
  1737. 2008-10-29 Ulrich Mueller <ulm@gentoo.org>
  1738. * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
  1739. instead of hardcoded /tmp.
  1740. 2008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
  1741. * emacsclient.c (longopts, print_help_and_exit): Add -nw.
  1742. (decode_options): Use getopt_long_only.
  1743. 2008-09-30 Eli Zaretskii <eliz@gnu.org>
  1744. * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
  1745. codepage.elc.
  1746. 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
  1747. * emacsclient.c (main): Use stdout rather than stdin to obtain the
  1748. terminal (bug#427).
  1749. 2008-08-25 Francesco Potortì <pot@gnu.org>
  1750. * etags.c (main): Do not use static space for the tagfile string.
  1751. 2008-08-17 Francesco Potortì <pot@gnu.org>
  1752. * etags.c (main): Use canonicalize_filename on tags file name.
  1753. (relative_filename): Revert 3.85: do not collapse slashes here.
  1754. (absolute_dirname): Remove useless call to canonicalize_filename.
  1755. (canonicalize_filename): Collapse multiple slashes here.
  1756. 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
  1757. * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
  1758. Do not special case for NS_IMPL_COCOA.
  1759. 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
  1760. * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
  1761. (.m.o): Dispense with GNUstep-specific flags.
  1762. 2008-08-05 Ulrich Mueller <ulm@gentoo.org>
  1763. * pop.c (socket_connection): Add conditionals for
  1764. HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
  1765. compilation with MIT Kerberos and Heimdal, respectively.
  1766. 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
  1767. * etags.c:
  1768. * emacsclient.c: Remove VMS support.
  1769. 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
  1770. Remove support for Mac Carbon.
  1771. * makefile.w32-in:
  1772. * emacsclient.c: Remove code for Carbon.
  1773. 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
  1774. * Makefile.in (mac-fix-env): Remove #ifdef around rule.
  1775. 2008-07-17 Andreas Schwab <schwab@suse.de>
  1776. * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
  1777. (LIB_STANDARD_LIBSRC): Don't define.
  1778. (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
  1779. 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
  1780. * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
  1781. NS_IMPL_COCOA.
  1782. 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
  1783. * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
  1784. Remove, unused.
  1785. 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
  1786. * .cvsignore: Add mac-fix-env.
  1787. * mac-fix-env.m: New file, automatically update
  1788. ~/.MacOSX/environment.plist on OS X systems to expose environment
  1789. variables inside Emacs started from icon.
  1790. * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
  1791. programs to build.
  1792. * make-docfile.c: Add .m to list of file extensions.
  1793. 2008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
  1794. * movemail.c (main): Use int instead of WAITTYPE.
  1795. 2008-07-05 Juanma Barranquero <lekktu@gmail.com>
  1796. * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
  1797. Remove vmsproc.el and vms-patch.el.
  1798. 2008-06-26 Juanma Barranquero <lekktu@gmail.com>
  1799. * makefile.w32-in (obj): Remove w32bdf.o.
  1800. 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
  1801. * fakemail.c: Remove references to obsolete variables.
  1802. 2008-06-02 Jim Meyering <meyering@redhat.com>
  1803. * ebrowse.c (xfree): Remove definition; s/xfree/free/.
  1804. Remove useless if-before-free tests.
  1805. * ebrowse.c (xfree): Likewise.
  1806. * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
  1807. (popclass_above, Prolog_functions, Erlang_functions): Likewise.
  1808. * pop.c (pop_quit): Likewise.
  1809. 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
  1810. * makefile.w32-in (lisp2): Add minibuffer.elc.
  1811. 2008-05-29 Tom Tromey <tromey@redhat.com>
  1812. * etags.c (relative_filename): Treat "///" like "/" in filenames.
  1813. 2008-05-09 Eli Zaretskii <eliz@gnu.org>
  1814. * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
  1815. (IS_DIRECTORY_SEP): New macro.
  1816. (convert_time, is_exec, stat): New functions.
  1817. 2008-05-08 Eli Zaretskii <eliz@gnu.org>
  1818. * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
  1819. 2008-05-03 Eli Zaretskii <eliz@gnu.org>
  1820. * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
  1821. corresponding change in src/Makefile.in.
  1822. 2008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
  1823. * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
  1824. 2008-04-10 Jason Rumney <jasonr@gnu.org>
  1825. * makefile.w32-in (CLIENTRES): New variable and target.
  1826. (TRES): Remove.
  1827. ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
  1828. 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
  1829. * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
  1830. 2008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
  1831. * vcdiff: Use mktemp (CVE-2008-1694).
  1832. 2008-04-09 Jason Rumney <jasonr@gnu.org>
  1833. * makefile.w32-in (distclean, maintainer-clean): New targets.
  1834. 2008-03-13 Glenn Morris <rgm@gnu.org>
  1835. * makefile.w32-in (VERSION): Set to 23.0.60.
  1836. 2008-03-04 Juanma Barranquero <lekktu@gmail.com>
  1837. * .cvsignore: Add oo.
  1838. 2008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
  1839. * etags.c (Perl_functions): Fix call to skip_spaces.
  1840. 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
  1841. * Makefile.in (NO_SHORTNAMES):
  1842. * emacsclient.c (NO_SHORTNAMES):
  1843. * fakemail.c (NO_SHORTNAMES):
  1844. * make-docfile.c (NO_SHORTNAMES):
  1845. * movemail.c (NO_SHORTNAMES):
  1846. * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
  1847. 2008-02-23 Jason Rumney <jasonr@gnu.org>
  1848. * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
  1849. (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
  1850. (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
  1851. (lisp2): Add new languages.
  1852. ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
  1853. 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
  1854. * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
  1855. malayalam.el, and tamil.el. Add sinhala.el.
  1856. 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
  1857. * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
  1858. where NAME is relative to DRIVE'S current directory.
  1859. 2008-02-15 Juanma Barranquero <lekktu@gmail.com>
  1860. * emacsclient.c (print_help_and_exit): Show -d option on Windows.
  1861. 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
  1862. * fakemail.c: Undo previous change.
  1863. 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
  1864. * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
  1865. (main): Replace MAIL_PROGRAM_NAME with its value.
  1866. * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
  1867. 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
  1868. * emacsclient.c (decode_options): Pass --display implicitly if -c
  1869. is specified. Only set tty if -t or -c is specified.
  1870. 2008-02-04 Jason Rumney <jasonr@gnu.org>
  1871. * makefile.w32-in (lisp1): Use (), not {}.
  1872. 2008-02-04 Tom Tromey <tromey@redhat.com>
  1873. * etags.c: Add "GTY" as synonym for __attribute__.
  1874. Update gperf output.
  1875. 2008-02-01 Jason Rumney <jasonr@gnu.org>
  1876. * makefile.w32-in (obj): Sync with src/Makefile.in.
  1877. (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
  1878. (WINNT_SUPPORT): Add term/w32-win.elc.
  1879. (lisp1, lisp2): Sync with lisp in src/Makefile.in.
  1880. 2008-02-01 Jason Rumney <jasonr@gnu.org>
  1881. * makefile.w32-in (obj): Add font.o and w32font.o.
  1882. 2008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
  1883. * makefile.w32-in (lisp1): Delete ucs-tables.elc,
  1884. utf-8.elc, and latin-*.el.
  1885. 2008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
  1886. * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
  1887. Allow the -d option under w32 again, for those rare cases where it
  1888. actually does make sense.
  1889. 2008-01-25 Juanma Barranquero <lekktu@gmail.com>
  1890. * emacsclient.c (set_tcp_socket): Don't send "\n" after
  1891. the authentication string; there's no need to haste.
  1892. 2008-01-22 Chong Yidong <cyd@stupidchicken.com>
  1893. * pop.c (pop_stat, pop_last): Fix last fix.
  1894. 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
  1895. * movemail.c: Remove references to XENIX.
  1896. 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
  1897. * movemail.c:
  1898. * make-docfile.c: Remove reference to symbols defined by systems
  1899. not supported anymore: MAC_OS8, XENIX and STRIDE.
  1900. 2008-01-12 Eli Zaretskii <eliz@gnu.org>
  1901. * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
  1902. of DISPLAY in the environment. Don't support -d.
  1903. (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
  1904. (longopts) [WINDOWSNT]: Remove --display.
  1905. 2008-01-10 Chong Yidong <cyd@stupidchicken.com>
  1906. * pop.c (pop_stat, pop_last): Check validity of string-to-integer
  1907. conversion. Mistakes spotted by Nico Golde.
  1908. 2008-01-09 Glenn Morris <rgm@gnu.org>
  1909. * emacsclient.c: Add missing final newlines to message calls.
  1910. 2008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
  1911. * emacsclient.c (set_socket): Add final newline to socket error message.
  1912. 2008-01-04 Glenn Morris <rgm@gnu.org>
  1913. * ebrowse.c (version) <emacs_copyright>: New variable.
  1914. Just use current year for copyright.
  1915. * etags.c (print_version):
  1916. * rcs2log (Copyright): Update to 2008.
  1917. 2007-11-28 Jason Rumney <jasonr@gnu.org>
  1918. * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
  1919. 2007-11-27 Jan Djärv <jan.h.d@swipnet.se>
  1920. * pop.c (socket_connection): Remove AI_ADDRCONFIG.
  1921. 2007-11-19 Jan Djärv <jan.h.d@swipnet.se>
  1922. * pop.c (socket_connection): Move realhost out of #ifdefs.
  1923. Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
  1924. 2007-11-18 Jan Djärv <jan.h.d@swipnet.se>
  1925. * pop.c (socket_connection): Use getaddrinfo if available.
  1926. 2007-11-22 Francesco Potortì <pot@gnu.org>
  1927. * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
  1928. as the defaults in ctags are different from etags.
  1929. 2007-11-15 Francesco Potortì <pot@gnu.org>
  1930. * etags.c: Make prototypes for extern definitions, and add all
  1931. that are needed to quench warnings on 64-bit.
  1932. (main): Use the same defaults for ctags as for etags: find
  1933. typedefs, structure tags, macro constants, enum constants, struct
  1934. members and global variables.
  1935. (make_C_tag) [DEBUG]: Add debugging printout.
  1936. (C_entries): In case '}' decrement bracelev before testing it.
  1937. 2007-11-15 Masatake YAMATO <jet@gyve.org>
  1938. * etags.c (C_entries): In case '}', set fvdef to fvnone
  1939. unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
  1940. 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
  1941. * makefile.w32-in (obj): Remove sunfns.o.
  1942. 2007-10-28 Juanma Barranquero <lekktu@gmail.com>
  1943. * makefile.w32-in (obj): Remove abbrev.o.
  1944. 2007-10-26 Juanma Barranquero <lekktu@gmail.com>
  1945. * emacsclient.c: Add a wrapper for getenv so it also checks the
  1946. registry on Windows. Suggestion and algorithm by Eli Zaretskii.
  1947. Code partially based on w32_get_resource and init_environment (w32.c).
  1948. (egetenv): New wrapper for getenv.
  1949. (get_current_dir_name, decode_options, get_server_config)
  1950. (set_local_socket, set_socket, main): Use egetenv, not getenv.
  1951. (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
  1952. 2007-10-25 Jason Rumney <jasonr@gnu.org>
  1953. * emacsclient.c (sock_err_message): New function.
  1954. (set_tcp_socket): Use it.
  1955. 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
  1956. * emacsclient.c (print_help_and_exit): Fix space to improve
  1957. alignment in output messages.
  1958. 2007-09-27 Jason Rumney <jasonr@gnu.org>
  1959. * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
  1960. * emacsclient.c (w32_window_app): Init common controls when windowed.
  1961. 2007-09-21 Glenn Morris <rgm@gnu.org>
  1962. * emacstool.c: Remove file.
  1963. * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
  1964. Delete targets built from emacstool.
  1965. 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
  1966. * emacsclient.c (decode_options): -t implies -c.
  1967. 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
  1968. * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
  1969. (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
  1970. (main_argc): Remove.
  1971. (strprefix): Use strncmp.
  1972. 2007-09-20 Jason Rumney <jasonr@gnu.org>
  1973. * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
  1974. 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
  1975. * emacsclient.c (current_frame): Change the default.
  1976. (longopts): Replace --current-frame by --create-frame.
  1977. (decode_options): Reverse the meaning of -c.
  1978. (print_help_and_exit): Update help text accordingly.
  1979. (main): Remove the -version and -good-version messages.
  1980. 2007-09-12 Glenn Morris <rgm@gnu.org>
  1981. * Makefile.in (SOURCES, unlock, relock): Delete.
  1982. 2007-08-29 Glenn Morris <rgm@gnu.org>
  1983. * makefile.w32-in (VERSION): Increase to 23.0.50.
  1984. 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
  1985. * emacsclient.c (w32_execvp): Move definition before use.
  1986. (decode_options): Don't use a tty on mac carbon or windows.
  1987. 2007-08-29 Jason Rumney <jasonr@gnu.org>
  1988. * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
  1989. (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp)
  1990. (main): Expand removed macros inline.
  1991. (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
  1992. option.
  1993. (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
  1994. 2007-08-29 Károly Lőrentey <lorentey@elte.hu>
  1995. * emacsclient.c (signal.h): New include.
  1996. (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
  1997. (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
  1998. Copy definitions here from src/lisp.h.
  1999. (main_argc, main_argv, current_frame, window_system, tty): New vars.
  2000. (longopts): Add tty, current-frame.
  2001. (xmalloc, xstrdup): New functions.
  2002. (get_current_dir_name): New function, copied from src/sysdep.c.
  2003. (decode_options): Set display from environment. Add tty and
  2004. current_frame options. Make --no-wait imply --current-frame,
  2005. except when it is the only option given. Make sure no frame is
  2006. opened when --current-frame is set.
  2007. (print_help_and_exit): Document tty and current-frame options.
  2008. (fail): Change arguments to void.
  2009. (main): When sockets are not defined, set main_argc, main_argv,
  2010. and call fail() with no arguments.
  2011. (emacs_socket): New variable (moved out from main `s').
  2012. (quote_file_name): Rename to quote_argument.
  2013. (quote_argument): New name for old quote_file_name.
  2014. (unquote_argument, strprefix, pass_signal_to_emacs)
  2015. (handle_sigcont, handle_sigtstp, init_signals): New functions.
  2016. (set_local_socket): Initialize saved_errno to 0. If socket-name
  2017. is too long, call `fail' rather than `exit'.
  2018. (main): Doc update. Set main_argc, main_argv. New var `str'.
  2019. Don't need a filename or argument if tty or window_system set.
  2020. Call fail with no arguments. Use get_current_dir_name to send
  2021. over the current directory. Send version number to Emacs for
  2022. verification. If tty is set, check TERM, and pass name and type
  2023. to Emacs. Pass window_system to Emacs. Move sending of eval to
  2024. optind loop. Send -position, -file to Emacs. Call fsync after
  2025. fflush. Check for a client/server version match.
  2026. Handle -emacs-pid, -window-system-unsupported, -print, -error, and
  2027. -suspend commands. Don't exit prematurely on --no-wait, let Emacs
  2028. close the connection for us. When creating a new frame, send
  2029. environment and pwd to Emacs. Send current-frame to Emacs.
  2030. 2007-08-25 Eli Zaretskii <eliz@gnu.org>
  2031. * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
  2032. Prepend "-" to the command, in case srcdir=. and file is copied
  2033. into itself.
  2034. 2007-07-25 Glenn Morris <rgm@gnu.org>
  2035. * Relicense all FSF files to GPLv3 or later.
  2036. * COPYING: Switch to GPLv3.
  2037. 2007-07-17 Francesco Potortì <pot@gnu.org>
  2038. * etags.c (C_entries): Reset the fvdef machine when out of function.
  2039. (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
  2040. (print_help): Use it in if() rather than #if.
  2041. (print_help): Conditionally print help about --no-line-directive.
  2042. 2007-07-16 Eli Zaretskii <eliz@gnu.org>
  2043. * makefile.w32-in (clean): Don't delete *~.
  2044. 2007-06-07 Glenn Morris <rgm@gnu.org>
  2045. * etags.c (print_version): Add `emacs_copyright' string, for
  2046. easier automatic updating.
  2047. 2007-05-18 Francesco Potortì <pot@gnu.org>
  2048. * etags.c: Extern definitions of some more pointer functions for
  2049. standalone compilation, especially important for 64bit platforms.
  2050. (main, print_help): --members is now the default for etags.
  2051. (C_entries): Parse start of C comment as a space == end of token.
  2052. This is not necessary for C++ comment, already parsed as newline.
  2053. 2007-04-26 Glenn Morris <rgm@gnu.org>
  2054. * makefile.w32-in (VERSION): Increase to 22.1.50.
  2055. 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
  2056. * Version 22.1 released.
  2057. 2007-02-26 Francesco Potortì <pot@gnu.org>
  2058. * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
  2059. 2007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
  2060. * Makefile.in (EMACS, EMACSOPT): New variables.
  2061. (blessmail): Use `--no-site-file' when compiling.
  2062. 2007-02-05 Francesco Potortì <pot@gnu.org>
  2063. * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
  2064. (main): Now --members is the default for etags, not for ctags yet.
  2065. 2007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
  2066. * etags.c (gperf, in_word_set): Change attribute for Java to
  2067. (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
  2068. broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
  2069. import, package, extends, implements and interface to be treated
  2070. specially for all kinds of C-style files, not just Java files.
  2071. 2007-01-02 Francesco Potortì <pot@gnu.org>
  2072. * etags.c (longopts): New undocumented option --no-duplicates.
  2073. (no_duplicates): Static variables for the above option.
  2074. (print_help): Do not print help for --no-warn, now undocumented.
  2075. (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
  2076. (main): Pass the -u option to sort in ctags mode.
  2077. 2006-12-28 Francesco Potortì <pot@gnu.org>
  2078. * etags.c (readline): When creating a relative file name from a
  2079. #line directive, leave the file name alone. The previous
  2080. behavior was to make it relative to the tags file directory,
  2081. under the hypothesis that the #line directive file name was
  2082. relative to the directory of the tagged file. That hypothesis is
  2083. wrong with Cpp and Lex.
  2084. (Makefile_targets): Do not include spaces in tag names.
  2085. 2006-12-22 Eli Zaretskii <eliz@gnu.org>
  2086. * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
  2087. (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
  2088. (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
  2089. ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
  2090. ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
  2091. ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
  2092. ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
  2093. ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
  2094. (clean): Delete stamp_BLD.
  2095. 2006-12-20 Francesco Potortì <pot@gnu.org>
  2096. * etags.c (C_entries): DEFUN names were longer by one: corrected.
  2097. 2006-12-18 Juanma Barranquero <lekktu@gmail.com>
  2098. * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
  2099. [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
  2100. (main) [WINDOWSNT]: Remove code to release the focus; call
  2101. w32_give_focus instead.
  2102. 2006-12-15 Juanma Barranquero <lekktu@gmail.com>
  2103. * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
  2104. (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
  2105. (fail): Remove Windows-specific fix (subsumed into w32_execvp).
  2106. Suggestions and comment by Eli Zaretskii.
  2107. 2006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
  2108. * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
  2109. Use $(USER32) for compatibility with Visual Studio .NET 2003.
  2110. 2006-11-30 Juanma Barranquero <lekktu@gmail.com>
  2111. * emacsclient.c (emacs_pid): New variable.
  2112. (message): Remove leftover code.
  2113. (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
  2114. focus yet; emacsclient can still display an informational message
  2115. before sending requests to Emacs.
  2116. (main): Allow Emacs to grab the focus. Simplify message() call.
  2117. 2006-11-30 Michael Mauger <mmaug@yahoo.com>
  2118. * emacsclient.c (message): Make sure the message is properly
  2119. written even if it contains printf escapes, and flush the result.
  2120. (set_tcp_socket): Make the message for non-local connections
  2121. informational rather than an error.
  2122. 2006-11-28 Kevin Ryde <user42@zip.com.au>
  2123. * etags.c (readline): Check for double quote after #line.
  2124. 2006-11-28 Jan Djärv <jan.h.d@swipnet.se>
  2125. * etags.c (readline): sscanf could in principle return 2.
  2126. 2006-11-28 Francesco Potortì <pot@gnu.org>
  2127. * etags.c (readline): lno is unsigned.
  2128. (TeX_commands): Use p++ (rather than *p++) to increment p.
  2129. (Lua_functions): Explicitly discard LOOKING_AT's return value.
  2130. 2006-11-27 Juanma Barranquero <lekktu@gmail.com>
  2131. * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
  2132. ($(TRES)): New rule (copied from nt/makefile.w32-in).
  2133. ($(BLD)/emacsclientw.exe): Add dependency.
  2134. 2006-11-27 Eli Zaretskii <eliz@gnu.org>
  2135. * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
  2136. 2006-11-25 Juanma Barranquero <lekktu@gmail.com>
  2137. * makefile.w32-in (VERSION): New macro.
  2138. (ECLIENT_CFLAGS): Add -DVERSION.
  2139. 2006-11-25 Jason Rumney <jasonr@gnu.org>
  2140. * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
  2141. 2006-11-24 Michael Mauger <mmaug@yahoo.com>
  2142. * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
  2143. file names with forward slashes.
  2144. 2006-11-23 Juanma Barranquero <lekktu@gmail.com>
  2145. * emacsclient.c (print_help_and_exit): Tweak message contents and
  2146. tabs/spaces to improve alignment in message boxes.
  2147. 2006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
  2148. * emacsclient.c: Include <stdarg.h>.
  2149. [WINDOWSNT]: Include <windows.h>.
  2150. (w32_check_console_app): New function.
  2151. (message): New function.
  2152. (decode_options, print_help_and_exit, fail, main)
  2153. (initialize_sockets, get_server_config, set_tcp_socket)
  2154. (set_local_socket, set_socket): Use message().
  2155. 2006-11-13 Jason Rumney <jasonr@gnu.org>
  2156. * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
  2157. HAVE_INET_SOCKETS.
  2158. 2006-11-13 Juanma Barranquero <lekktu@gmail.com>
  2159. * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
  2160. ($(BLD)/emacsclientw.exe): New target.
  2161. (install): Install emacsclientw.exe.
  2162. ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
  2163. (ECLIENT_CFLAGS): Remove redundant flags.
  2164. * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
  2165. 2006-11-13 Jason Rumney <jasonr@gnu.org>
  2166. * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
  2167. 2006-11-10 David Reitter <david.reitter@gmail.com>
  2168. * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
  2169. 2006-11-08 Juanma Barranquero <lekktu@gmail.com>
  2170. * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
  2171. FARPROC to avoid a compiler warning.
  2172. 2006-11-07 Juanma Barranquero <lekktu@gmail.com>
  2173. * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
  2174. file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
  2175. * emacsclient.c (get_server_config): Extract also the Emacs pid
  2176. from the server file. On Windows, try to force the Emacs frame to
  2177. the foreground.
  2178. 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
  2179. * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
  2180. option --socket-name.
  2181. (decode_options): Don't get EMACS_SERVER_FILE here, it could override
  2182. command line options.
  2183. (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
  2184. (fail): Don't check for missing arguments, it is now done in set_socket.
  2185. (file_name_absolute_p): New function (loosely based on the one in
  2186. fileio.c).
  2187. (initialize_sockets): Don't check for duplicate loading of Winsock.
  2188. (get_server_config): Only try relative paths in the default
  2189. directory locations.
  2190. (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
  2191. a remote server.
  2192. (set_socket): Call INITIALIZE(). Search explicit command-line
  2193. arguments, then environment variable EMACS_SERVER_FILE, then implicit
  2194. socket paths, before trying the alternate editor.
  2195. (main): Use file_name_absolute_p.
  2196. 2006-11-04 Eli Zaretskii <eliz@gnu.org>
  2197. * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
  2198. file if it doesn't already exist.
  2199. 2006-11-03 Juanma Barranquero <lekktu@gmail.com>
  2200. * emacsclient.c (initialize_sockets): Don't initialize Winsock
  2201. more than once.
  2202. 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
  2203. * Makefile.in (INSTALL_SCRIPT): New macro.
  2204. ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
  2205. 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
  2206. * grep-changelog: When called with no arguments (not even a
  2207. filter), show help instead of blindingly dumping every single
  2208. ChangeLog available. Doc fix. Update version.
  2209. 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com>
  2210. * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
  2211. [!WINDOWSNT]: Include <netinet/in.h> if available.
  2212. [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
  2213. (IOCTL, IOCTL_BOOL_ARG): Remove.
  2214. (set_tcp_socket): Don't set the socket in blocking mode.
  2215. Remove c_arg.
  2216. 2006-11-01 Juanma Barranquero <lekktu@gmail.com>
  2217. * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
  2218. execvp to point to alternate_editor (otherwise .BAT scripts can't run).
  2219. 2006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
  2220. * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
  2221. (close_winsock): Declare as __cdecl.
  2222. 2006-10-31 Jan Djärv <jan.h.d@swipnet.se>
  2223. * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
  2224. (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
  2225. to set the socket in non-blocking mode.
  2226. 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com>
  2227. * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
  2228. (INVALID_SOCKET): Define.
  2229. (initialize_sockets): Put #endif at the right place.
  2230. (set_local_socket): Use progname, not argv[0].
  2231. 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
  2232. * makefile.w32-in (ALL): Add emacsclient.
  2233. (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
  2234. (emacsclient, $(BLD)/emacsclient.exe): New targets.
  2235. (install): Install emacsclient.
  2236. * emacsclient.c: Add support for TCP sockets.
  2237. (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
  2238. (INITIALIZE): New macros.
  2239. (IOCTL_BOOL_ARG): New typedef.
  2240. (server_file): New global variable.
  2241. (longopts): New option --server-file.
  2242. (decode_options): Process new option --server-file and environment
  2243. variable EMACS_SERVER_FILE.
  2244. (print_help_and_exit): Document new option.
  2245. (fail): If no connection available and no alternate editor,
  2246. suggest using options to make them explicit.
  2247. (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
  2248. (send_buffer, sblen): New variables.
  2249. (send_to_emacs): New function to buffer output and send it with `send'.
  2250. (quote_file_name): Use SEND_STRING.
  2251. (close_winsock, initialize_sockets): New functions to load and
  2252. unload Winsock.
  2253. (get_server_config, set_tcp_socket): New functions to create and
  2254. set up TCP sockets.
  2255. (set_local_socket): New function to create and set up Unix
  2256. socket (code moved from previous implementation).
  2257. (set_socket): New function to choose between TCP and Unix sockets.
  2258. (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
  2259. set_local_socket. Use set_socket. Get answers from server.el with
  2260. recv(), not file stream functions.
  2261. 2006-10-09 Eli Zaretskii <eliz@gnu.org>
  2262. * makefile.w32-in (../src/config.h): Fix error message.
  2263. 2006-09-30 Eli Zaretskii <eliz@gnu.org>
  2264. * .cvsignore: Add blessmail.
  2265. 2006-09-15 Jay Belanger <belanger@truman.edu>
  2266. * COPYING: Replace "Library Public License" by "Lesser Public
  2267. License" throughout.
  2268. 2006-08-09 Jan Djärv <jan.h.d@swipnet.se>
  2269. * etags.c (readline): Expect sscanf returns >= 1.
  2270. (readline): Change position on %n and \" in sscanf.
  2271. 2006-08-07 Masatake YAMATO <jet@gyve.org>
  2272. * etags.c (readline): Expect sscanf returns 2, not 1.
  2273. 2006-08-07 Masatake YAMATO <jet@gyve.org>
  2274. * etags.c (TEX_mode): Check getc returns EOF.
  2275. File ended without newline causes infinite loop.
  2276. 2006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
  2277. * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
  2278. 2006-07-30 Francesco Potortì <pot@gnu.org>
  2279. * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
  2280. [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
  2281. (Objc_suffixes): Suggest using --lang=c for full help.
  2282. (C_entries): Initialize savetoken to 0 to shut up the compiler.
  2283. 2006-07-20 Andreas Schwab <schwab@suse.de>
  2284. * fakemail.c (fatal): Drop second parameter and treat first
  2285. parameter as a plain string. Callers changed.
  2286. 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
  2287. * ebrowse.c (usage, version): Mark as NO_RETURN.
  2288. * emacsclient.c (print_help_and_exit): Likewise.
  2289. 2006-07-10 Francesco Potortì <pot@gnu.org>
  2290. * etags.c (absolute_filename): Free unused space (cosmetic change).
  2291. (in_word_set): In C, also tag #undef symbols.
  2292. 2006-06-09 Eli Zaretskii <eliz@gnu.org>
  2293. * yow.c: Remove file.
  2294. * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
  2295. * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
  2296. yow${EXEEXT}: Remove target.
  2297. 2006-06-04 Masatake YAMATO <jet@gyve.org>
  2298. * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
  2299. doesn't exist, is not seekable, not is failed in ftall.
  2300. 2006-06-03 Eli Zaretskii <eliz@gnu.org>
  2301. * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
  2302. ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
  2303. ($(BLD)/test-distrib.exe): New targets.
  2304. (sorted-doc, digest-doc, test-distrib): New targets.
  2305. (install): Install sorted-doc.exe and digest-doc.exe.
  2306. ($(BLD)/sorted-doc.$(O)): Update dependencies.
  2307. * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
  2308. (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
  2309. terminal device.
  2310. * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
  2311. [WINDOWSNT] <top level>: Don't redeclare malloc.
  2312. (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
  2313. terminal device.
  2314. (main): Initialize bp, to avoid compiler warnings.
  2315. * makefile.w32-in: Delete traces of leditcfns.c.
  2316. * leditcfns.c: Remove file.
  2317. 2006-05-23 Francesco Potortì <pot@gnu.org>
  2318. * pop.c (pop_open, socket_connection, KPOP_SERVICE):
  2319. Add comments explaining why the "kpop" service is never used.
  2320. 2006-05-13 Eli Zaretskii <eliz@gnu.org>
  2321. * makefile.w32-in (lisp1): Add fringe.elc.
  2322. 2006-05-02 Francesco Potortì <pot@gnu.org>
  2323. * etags.c (Perl_functions): Free space allocated for var package.
  2324. (Erlang_functions): Possibly free space allocated for var last.
  2325. (Prolog_functions): Possibly free space allocated for var last.
  2326. 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
  2327. * sorted-doc.c (main): Initialize docs to NULL.
  2328. * yow.c (yow): Free buf.
  2329. * etags.c: Delete c-indentation-style local variable.
  2330. 2006-04-29 Richard Stallman <rms@gnu.org>
  2331. * movemail.c (main): Check for negative value from `read'.
  2332. * fakemail.c (read_header): Give fatal error if input has no header.
  2333. 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
  2334. * b2m.c (main): Don't include <limits.h>.
  2335. (TM_YEAR_BASE): New macro.
  2336. (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
  2337. that s/ files can override this. Use the more-conservative range
  2338. 1000-9999.
  2339. (main): Check for asctime returning NULL.
  2340. * fakemail.c: Likewise.
  2341. 2006-03-27 Paul Eggert <eggert@cs.ucla.edu>
  2342. * b2m.c: Include <limits.h>.
  2343. (TM_YEAR_IN_ASCTIME_RANGE): New macro.
  2344. (main): Check for out-of-range time stamps.
  2345. * fakemail.c: Likewise.
  2346. 2006-03-18 Andre Spiegel <spiegel@gnu.org>
  2347. * vcdiff: Use "echo" as a default for $echo, otherwise we'll
  2348. execute $DIFF twice, and once with the wrong options.
  2349. 2006-02-23 Claudio Fontana <claudio@gnu.org>
  2350. * Makefile.in (install, uninstall): Add DESTDIR variable to
  2351. support staged installations.
  2352. 2005-12-30 Eli Zaretskii <eliz@gnu.org>
  2353. * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
  2354. (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
  2355. international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
  2356. Rearrange the list to be similar to $(shortlisp) in
  2357. src/Makefile.in.
  2358. (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
  2359. emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
  2360. jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
  2361. src/Makefile.in.
  2362. 2005-12-22 Richard M. Stallman <rms@gnu.org>
  2363. * Makefile.in (update-game-score.o): Delete spurious final `\'.
  2364. 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
  2365. * etags.c (main): Cxref mode writes to stdout: do not close tagf,
  2366. which was never opened.
  2367. 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
  2368. * etags.c: Undef STDIN if defined. (LynxOS defines it in system
  2369. header files.)
  2370. 2005-09-27 Francesco Potortì <pot@gnu.org>
  2371. * etags.c: Preliminary Forth support.
  2372. (prolog_pr): Cast strlen to int before comparison.
  2373. (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
  2374. the second argument is indeed a literal string.
  2375. (main): In append mode, sort the tags file after writing it.
  2376. 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
  2377. * etags.c (longopts, print_help, main): The -a (--append) option
  2378. can be used in ctags also; for one, the Linux make file uses it.
  2379. 2005-09-20 Chong Yidong <cyd@stupidchicken.com>
  2380. * ebrowse.c (add_sym): Compare namespace names instead of
  2381. namespace objects. This prevents the parser from incorrectly
  2382. treating classes whose superclass is in another namespace.
  2383. 2005-09-15 Richard M. Stallman <rms@gnu.org>
  2384. * Makefile.in (update-game-score.o): New target.
  2385. Compile and link this program separately.
  2386. (update-game-score${EXEEXT}): Use GETOPTDEPTS.
  2387. 2005-09-11 Jason Rumney <jasonr@gnu.org>
  2388. * makefile.w32-in (../src/config.h): Don't overwrite. Print a
  2389. message instead.
  2390. (../src/paths.h): Remove.
  2391. 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
  2392. * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
  2393. generated. Ignore also ctags.c and getopt.h.
  2394. * makefile.w32-in (clean): Delete getopt.h.
  2395. (getopt.h): New rule.
  2396. 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
  2397. Merge gnulib getopt implementation into Emacs.
  2398. * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
  2399. (GETOPT_H): New macro, from gnulib.
  2400. (getopt.h): New rule, from gnulib.
  2401. (GETOPTOBJS): Now autoconfigured.
  2402. (GETOPTDEPS): getopt.h is now autoconfigured.
  2403. (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
  2404. (getopt.o): Depend on ${srcdir}/gettext.h.
  2405. (movemail.o): Depend on $(GETOPT_H).
  2406. * getopt.c, getopt1.c: Sync from gnulib.
  2407. * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
  2408. * getopt.h: Removed (now is getopt_.h).
  2409. 2005-07-13 Ken Raeburn <raeburn@gnu.org>
  2410. * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
  2411. (sendline): Add the \r\n to the line in a temporary buffer, and write
  2412. it all at once.
  2413. 2005-07-04 Lute Kamstra <lute@gnu.org>
  2414. Update FSF's address in GPL notices.
  2415. 2005-06-13 Eli Zaretskii <eliz@gnu.org>
  2416. * makefile.w32-in ($(DOC)): Fix last change.
  2417. 2005-06-12 Eli Zaretskii <eliz@gnu.org>
  2418. * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
  2419. temacs.exe, and the preloaded *.elc files. This avoids
  2420. unnecessary dumping and DOC rebuilding.
  2421. 2005-06-04 Eli Zaretskii <eliz@gnu.org>
  2422. * ntlib.h (fileno): Don't define if already defined.
  2423. 2005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
  2424. * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
  2425. (yow): Use EXIT_FAILURE in case of memory error.
  2426. 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  2427. * make-docfile.c (DIRECTORY_SEP): New macro.
  2428. (IS_DIRECTORY_SEP): Use it.
  2429. 2005-03-18 Jan Djärv <jan.h.d@swipnet.se>
  2430. * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
  2431. 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  2432. * make-docfile.c: Undo previous change.
  2433. 2005-02-04 Andreas Schwab <schwab@suse.de>
  2434. * movemail.c (fatal): Accept third parameter and pass down to error.
  2435. (pfatal_with_name): Pass error string as format parameter instead of
  2436. as part of format string.
  2437. (pfatal_and_delete): Likewise.
  2438. (main): Adjust call to fatal.
  2439. (xmalloc): Likewise.
  2440. 2005-01-29 Richard M. Stallman <rms@gnu.org>
  2441. * movemail.c (popmail): Don't use Errmsg as format string.
  2442. 2004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  2443. * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
  2444. 2004-12-15 Andreas Schwab <schwab@suse.de>
  2445. * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
  2446. preprocessing to compile time constant.
  2447. 2004-11-17 Kim F. Storm <storm@cua.dk>
  2448. * etags.c: Undo last change.
  2449. 2004-11-09 Kim F. Storm <storm@cua.dk>
  2450. * make-docfile.c (scan_c_file): Set defvarperbufferflag to
  2451. silence compiler.
  2452. * hexl.c (main): Init local var c to silence compiler.
  2453. * etags.c (main, consider_token, C_entries): Add misc switch
  2454. default targets to silence compiler.
  2455. 2004-11-09 Jan Djärv <jan.h.d@swipnet.se>
  2456. * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
  2457. resulting DOC file can be used on Unix/Mac also.
  2458. 2004-09-13 Francesco Potortì <pot@gnu.org>
  2459. * etags.c (main): When relative file names are given as argument,
  2460. make them relative to the current working dir, rather than
  2461. relative to the output tags file, if the latter is in /dev.
  2462. 2004-09-13 Francesco Potortì <pot@gnu.org>
  2463. * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
  2464. <stdlib.h> is available.
  2465. (enum sym_type): New st_C_attribute value for parsing
  2466. gcc's __attribute__. Deleted st_C_typespec value.
  2467. (gperf, in_word_set): Use gperf 3, options changed. Added the
  2468. __attribute__ keyword, removed all the st_C_typespec keywords,
  2469. changed attribute for Java to (C_JAVA & !C_PLPL).
  2470. (inattribute): New global bool, part of the C state machine.
  2471. (cblev): Identifier renamed to bracelev throughout.
  2472. (consider_token, C_entries): Numerous changes for making the
  2473. parser more robust and adding support for __attribute__.
  2474. 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
  2475. * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
  2476. Support the Lua scripting language <http://www.lua.org>.
  2477. 2004-09-08 Francesco Potortì <pot@gnu.org>
  2478. * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
  2479. for ease of use.
  2480. 2004-07-17 Richard M. Stallman <rms@gnu.org>
  2481. * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
  2482. 2004-06-01 Juanma Barranquero <lektu@terra.es>
  2483. * makefile.w32-in (obj): Add image.c.
  2484. 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
  2485. * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
  2486. 2004-05-08 Jason Rumney <jasonr@gnu.org>
  2487. * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
  2488. command-lines.
  2489. 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
  2490. * cvtmail.c: Throughout, replace 0 destined for `exit' arg
  2491. with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
  2492. (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
  2493. * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
  2494. * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
  2495. * test-distrib.c, update-game-score.c, yow.c: Likewise.
  2496. 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
  2497. * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
  2498. 2004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
  2499. * b2m.c (GOOD, BAD): Delete macros. Throughout,
  2500. replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
  2501. (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
  2502. * etags.c: Likewise.
  2503. 2004-05-03 Jason Rumney <jasonr@gnu.org>
  2504. * makefile.nt: Remove.
  2505. 2004-04-26 Eli Zaretskii <eliz@gnu.org>
  2506. * make-docfile.c (IS_DIRECTORY_SEP): New macro.
  2507. (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
  2508. instead of a literal '/'.
  2509. 2004-04-23 Juanma Barranquero <lektu@terra.es>
  2510. * makefile.w32-in: Add "-*- makefile -*-" mode tag.
  2511. 2004-04-17 Paul Eggert <eggert@gnu.org>
  2512. * rcs2log (Help): Clarify wording of the usage message.
  2513. Reported by Alan Mackenzie in
  2514. <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
  2515. 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
  2516. * make-docfile.c (xmalloc): Fix return type.
  2517. (put_filename): New fun.
  2518. (scan_file): Use it.
  2519. 2004-03-09 Juanma Barranquero <lektu@terra.es>
  2520. * grep-changelog: Changes to support ChangeLog.10+.
  2521. (main): Tidy up usage string. Fix "Use of uninitialized value"
  2522. warning. Set version to 0.2. Parse the directory listing to get
  2523. any ChangeLog.n file, not just 1..9.
  2524. (header_match_p, entry_match_p, print_log, parse_changelog):
  2525. Remove Perl prototypes (their purpose is to help the parser, which
  2526. isn't needed here, not declare arguments).
  2527. (parse_changelog): Make --reverse faster on big batches by not
  2528. modifying the entries list.
  2529. 2004-03-01 Juanma Barranquero <lektu@terra.es>
  2530. * makefile.w32-in (obj): Add fringe.c.
  2531. 2004-02-14 Paul Eggert <eggert@twinsun.com>
  2532. * rcs2log: Work correctly if CVSROOT specifies :fork: or
  2533. :local: methods, or omits the colon between the hostname
  2534. and the path. Allow :/ in repository path, since CVS does.
  2535. Fix typo: "pository" should be set from $CVSROOT, not $repository.
  2536. This fixes a bug reported by Wolfgang Scherer in
  2537. <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
  2538. along with some related bugs I discovered by inspecting how
  2539. CVS itself parses $CVSROOT.
  2540. 2004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
  2541. * emacsclient.c (decode_options): Fix handling of alternate editor.
  2542. 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
  2543. * emacsclient.c (main): Don't use the hostname in the socket name.
  2544. Look for relative socket names in the /tmp dir rather than in cwd.
  2545. 2004-01-24 Richard M. Stallman <rms@gnu.org>
  2546. * emacsclient.c (main): Restore errno from saved_errno,
  2547. so the error message comes from socket_status.
  2548. 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
  2549. * emacsclient.c (main): Stop if socket name too long.
  2550. Only try su-fallback if the socket name was not explicit.
  2551. Check socket name length in su-fallback case as well.
  2552. 2004-01-08 Andreas Schwab <schwab@suse.de>
  2553. * emacsclient.c (main): Save errno from socket_status.
  2554. 2004-01-04 Andreas Schwab <schwab@suse.de>
  2555. * emacsclient.c (main): Fix socket name when using another user.
  2556. 2003-12-27 Paul Eggert <eggert@twinsun.com>
  2557. * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
  2558. a tag, and if the user has not specified an rlog option.
  2559. Adapted from a suggestion by Martin Stjernholm in
  2560. <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
  2561. (Copyright): Update to 2003.
  2562. 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
  2563. * make-docfile.c (main): For return code, no longer special-case VMS.
  2564. Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
  2565. 2003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
  2566. * emacsclient.c (quote_file_name): Print the result instead of
  2567. returning it. Fix the return type accordingly.
  2568. (main): With --eval, if no file name, read from stdin.
  2569. Quote file names.
  2570. 2003-09-10 Richard M. Stallman <rms@gnu.org>
  2571. * emacsclient.c (main): Use socket_name.
  2572. 2003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
  2573. * emacsclient.c (socket_name): New variable.
  2574. (longopts, decode_options, print_help_and_exit):
  2575. Handle --socket-name argument.
  2576. 2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
  2577. * etags.c (consider_token): Check C++ `operator' only when the
  2578. token len is long enough.
  2579. 2003-08-20 Dave Love <fx@gnu.org>
  2580. * Makefile.in: Remove obsolete references to alloca.
  2581. 2003-07-29 Ken Brush <ken@wirex.com>
  2582. * emacsclient.c (main)
  2583. * etags.c (suggest_asking_for_help)
  2584. * movemail.c (main): Fix having macros in a printf statement.
  2585. 2003-05-31 Juanma Barranquero <lektu@terra.es>
  2586. * makefile.w32-in (lisp): Fix references to byte-run.el,
  2587. float-sup.el and map-ynp.el, which are now in emacs-lisp.
  2588. 2003-05-22 Dave Love <fx@gnu.org>
  2589. * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
  2590. (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
  2591. 2003-05-20 Dave Love <fx@gnu.org>
  2592. * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
  2593. * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
  2594. 2003-04-27 Oliver Scholz <alkibiades@gmx.de>
  2595. * update-game-score.c (read_scores): Fix corruption of scores on read.
  2596. 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
  2597. * emacsclient.c (main): Use new safe location for socket.
  2598. 2003-03-12 Tom Tromey <tromey@redhat.com>
  2599. * emacsclient.c (print_help_and_exit): Print to stdout.
  2600. Exit successfully. Added some blank lines for readability.
  2601. (decode_options): Don't call print_help_and_exit in default case.
  2602. Print version information to stdout.
  2603. (main): Don't call print_help_and_exit.
  2604. 2003-02-15 Richard M. Stallman <rms@gnu.org>
  2605. * cvtmail.c: Cast result of malloc and realloc.
  2606. Don't include stdlib.h, because config.h does.
  2607. (malloc, realloc): Declarations deleted.
  2608. * yow.c (yow): Cast result of malloc and realloc.
  2609. (malloc, realloc): Declarations deleted.
  2610. 2003-02-11 Juanma Barranquero <lektu@terra.es>
  2611. * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
  2612. 2003-02-08 Andreas Schwab <schwab@suse.de>
  2613. * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
  2614. instead of the substitution.
  2615. 2003-02-04 Richard M. Stallman <rms@gnu.org>
  2616. * update-game-score.c (push_score, read_scores): Cast values
  2617. of malloc and realloc.
  2618. (main, lock_file): Avoid assignment inside if.
  2619. 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
  2620. * Makefile.in: Use @EXEEXT@ for Cygwin.
  2621. 2003-01-21 Dave Love <fx@gnu.org>
  2622. * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
  2623. column-0 `('.
  2624. * yow.c: Don't include string.h.
  2625. 2003-01-20 Richard M. Stallman <rms@gnu.org>
  2626. * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
  2627. New targets.
  2628. 2003-01-06 Kim F. Storm <storm@cua.dk>
  2629. * pop.c (__P): Rename from _P to avoid problems on Cygwin.
  2630. All uses changed.
  2631. 2002-12-18 Andrew Innes <andrewi@gnu.org>
  2632. * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
  2633. because GNU make doesn't append when using >> redirection.
  2634. 2002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  2635. * b2m.pl: Make sure every message ends with a blank line, because
  2636. some mbox parsers require a blank line before "From " lines.
  2637. 2002-12-08 Richard M. Stallman <rms@gnu.org>
  2638. * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
  2639. (_): Test only HAVE_LIBINTL_H to decide what to do.
  2640. 2002-12-05 Richard M. Stallman <rms@gnu.org>
  2641. * getopt.c: Comment out include of libintl.h or gettext.h.
  2642. 2002-12-04 Richard M. Stallman <rms@gnu.org>
  2643. * Update getopt from gnulib version; changes described below.
  2644. * getopt1.c: Conditionally find getopt.h.
  2645. [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
  2646. * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
  2647. (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
  2648. (wchar.h): Include, maybe.
  2649. (attribute_hidden): Define if not defined.
  2650. (__getopt_initialized): Use attribute_hidden.
  2651. (__libc_argc, __libc_argv): Rename from original_argc, etc.
  2652. (__getopt_nonoption_flags, nonoption_flags_max_len)
  2653. (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
  2654. (SWAP_FLAGS): New definitions.
  2655. (exchange): Test USE_NONOPTION_FLAGS.
  2656. (_getopt_initialize): Test USE_NONOPTION_FLAGS.
  2657. (_getopt_internal): Error if argc < 1. New local var print_errors.
  2658. Improve test for ambiguous long option.
  2659. Add LIBIO support for error message output.
  2660. (NONOPTION_P): Test USE_NONOPTION_FLAGS.
  2661. * getopt.h: Maybe include ctype.h.
  2662. Treat __cplusplus like __STDC__.
  2663. (decls): Use __ in arg names.
  2664. 2002-12-02 Stephen Eglen <stephen@gnu.org>
  2665. * emacsclient.c (main): Tell user how to start server within Emacs
  2666. if socket could not be found.
  2667. 2002-12-02 Richard M. Stallman <rms@gnu.org>
  2668. * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
  2669. 2002-11-19 Ben Key <bkey1@tampabay.rr.com>
  2670. * makefile.w32-in: Fixed a bug that caused the documentation for
  2671. the built in function play-sound-internal not to be included in
  2672. /etc/DOC.
  2673. 2002-11-18 Dave Love <fx@gnu.org>
  2674. * update-game-score.c: Include unistd.h, string.h, stdlib.h,
  2675. fcntl.h, stdarg.h conditionally.
  2676. (_GNU_SOURCE, __attribute__): Don't define.
  2677. (optarg, optind, opterr): Declare.
  2678. (lose, lose_syserr): Use NO_RETURN.
  2679. (get_user_id): Use P_.
  2680. 2002-11-17 Richard M. Stallman <rms@gnu.org>
  2681. * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
  2682. 2002-11-14 Dave Love <fx@gnu.org>
  2683. * movemail.c (pop_retr): Declare comment.
  2684. * make-docfile.c (read_c_string_or_comment): Declare msgno.
  2685. * Makefile.in (YACC): Delete.
  2686. 2002-10-19 Andreas Schwab <schwab@suse.de>
  2687. * Makefile.in (${archlibdir}): Always create $(gamedir).
  2688. (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
  2689. 2002-10-04 Juanma Barranquero <lektu@terra.es>
  2690. * makefile.w32-in (lisp): Load devanagari.el, not .elc.
  2691. 2002-09-30 Markus Rost <rost@math.ohio-state.edu>
  2692. * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
  2693. completely.
  2694. 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
  2695. * emacsclient.c: Remove SYSV support.
  2696. (eval, display): New vars.
  2697. (longopts): Add --eval and --display.
  2698. (decode_options): Add -e and -d processing.
  2699. (print_help_and_exit): Update the usage string.
  2700. (main): Add support for --eval and --display.
  2701. (main): Always use /tmp and non-qualified hostname.
  2702. 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
  2703. * emacsserver.c: Remove.
  2704. 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
  2705. * emacsclient.c (quote_file_name): Quote \n.
  2706. (main): Print a final \n when needed.
  2707. 2002-09-03 Francesco Potortì <pot@gnu.org>
  2708. * etags.c (regex_tag_multiline, readline): Never pass pfnote a
  2709. string that cannot be freed.
  2710. 2002-08-30 Francesco Potortì <pot@gnu.org>
  2711. * etags.c (consider_token, C_entries): Switch to C++ parsing when
  2712. auto-detection is enabled and the `::' qualifier is met.
  2713. (consider_token, C_entries): Several bugs corrected that tagged
  2714. some declarations even though --declarations was not used.
  2715. (plainc): New macro.
  2716. (C_entries): Use it.
  2717. (C_entries): Several cosmetic changes.
  2718. (C_entries): Invalidate the token is some cases.
  2719. 2002-08-29 Francesco Potortì <pot@gnu.org>
  2720. * etags.c (C_entries): Correct a problem with const C++ funcs.
  2721. (ignoreindent): Rename from noindentypedefs.
  2722. (cjava, cplpl): They are now macros instead of local vars.
  2723. 2002-08-28 Francesco Potortì <pot@gnu.org>
  2724. * etags.c (HTML_labels): Tag ID= also.
  2725. 2002-08-27 Francesco Potortì <pot@gnu.org>
  2726. * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
  2727. * etags.c (HTML_labels): New language HTML.
  2728. (etags_strcasecmp): Like BSD's, for compatibility.
  2729. (strcaseeq): Make it into a macro.
  2730. * etags.c (make_tag): Never generate null length tag names.
  2731. (linebuffer_init): Rename from initbuffer. All callers changed.
  2732. (pattern): Structure renamed to `regexp', member regex renamed to
  2733. pattern.
  2734. (node_st): Member pat renamed to regex.
  2735. (pattern); New member force_explicit_name, for future use.
  2736. Now always set to true, cannot be reset.
  2737. (add_regex, regex_tag_multiline, readline): Use it.
  2738. (main): Free some global structures.
  2739. (fdesc): New member `written'.
  2740. (readline, process_file): Initialize it.
  2741. (put_entries): Set it.
  2742. (main): Use it to create entries for files without tags.
  2743. (total_size_of_entries): Do not count invalid tags.
  2744. 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
  2745. * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
  2746. for the function name in the usage info.
  2747. 2002-07-31 Colin Walters <walters@gnu.org>
  2748. * update-game-score.c (P_): New macro. Use it for all prototypes.
  2749. (lose): Don't use varargs.
  2750. (lose_syserr): New function.
  2751. * update-game-score.c: Change all functions to K&R style.
  2752. 2002-07-30 Andreas Schwab <schwab@suse.de>
  2753. * Makefile.in (localstatedir): New variable.
  2754. 2002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  2755. * b2m.pl: Fix regexp for finding return address fields.
  2756. 2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
  2757. * make-docfile.c (scan_c_file): Warn about missing `usage' info.
  2758. 2002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  2759. * b2m.pl: Obey the rmail file and use the unpruned header properly.
  2760. 2002-06-26 Pavel Janík <Pavel@Janik.cz>
  2761. * b2m.pl: New file.
  2762. 2002-06-21 Francesco Potortì <pot@gnu.org>
  2763. * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
  2764. (Python_functions, PHP_functions, PHP_functions, PHP_functions)
  2765. (PHP_functions, PHP_functions, Cobol_paragraphs)
  2766. (Makefile_targets, Postscript_functions, Texinfo_nodes)
  2767. (prolog_pr, erlang_func, erlang_attribute)
  2768. (Perl_functions, Perl_functions, Pascal_functions)
  2769. (TeX_commands, get_tag): Use make_tag instead of pfnote.
  2770. (get_tag): Prototype changed, all callers changed.
  2771. 2002-06-20 Francesco Potortì <pot@gnu.org>
  2772. * etags.c: Implement implicit tag names, that is, unnamed tags
  2773. whose name is automatically deduced by etags.el. The advantage is
  2774. that there is no explicit tag name in most tags, so the size of
  2775. the tags file is reduced, yet find-tag is able to do a match as
  2776. accurate as with named tags. See the comment in make_tag for details.
  2777. (make_tag): New function (was the disabled function new_pfnote).
  2778. (make_C_tag): Use it.
  2779. 2002-06-19 Francesco Potortì <pot@gnu.org>
  2780. * etags.c (add_regex): Invalid regexp modifiers are ignored.
  2781. (Makefile_targets): Tag variables unless --no-globals.
  2782. (LOOP_ON_INPUT_LINES): Serious bug corrected.
  2783. 2002-06-13 Francesco Potortì <pot@gnu.org>
  2784. * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
  2785. (invalidate_nodes): Bug corrected.
  2786. (print_help): Better help for regexps.
  2787. 2002-06-13 Juanma Barranquero <lektu@terra.es>
  2788. * makefile.w32-in (lisp): Add international/ucs-tables.elc and
  2789. font-core.elc.
  2790. 2002-06-12 Francesco Potortì <pot@gnu.org>
  2791. * etags.c: New multi-line regexp and new regexp syntax.
  2792. (arg_type): at_icregexp label removed (obsolete).
  2793. (pattern): New member multi_line for multi-line regexps.
  2794. (filebuf): A global buffer containing the whole file as a string
  2795. for multi-line regexp matching.
  2796. (need_filebuf): Global flag raised if multi-line regexps used.
  2797. (print_help): Document new regexp modifiers, remove references to
  2798. obsolete option --ignore-case-regexp.
  2799. (main): Do not set regexp syntax and translation table here.
  2800. (main): Treat -c option as a backward compatibility hack.
  2801. (main, find_entries): Init and free filebuf.
  2802. (find_entries): Call regex_tag_multiline after the regular parser.
  2803. (scan_separators): Check for unterminated regexp and return NULL.
  2804. (analyse_regex, add_regex): Remove the ignore_case argument, which
  2805. is now a modifier to the regexp. All callers changed.
  2806. (add_regex): Manage the regexp modifiers.
  2807. (regex_tag_multiline): New function. Reads from filebuf.
  2808. (readline_internal): If necessary, copy the whole file into filebuf.
  2809. (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
  2810. 2002-06-11 Francesco Potortì <pot@gnu.org>
  2811. * etags.c (add_regex): Better check for null regexps.
  2812. (readline): Check for regex matching null string.
  2813. (find_entries): Reorganization.
  2814. 2002-06-07 Francesco Potortì <pot@gnu.org>
  2815. * etags.c (scan_separators): Support all character escape
  2816. sequences supported by Gcc.
  2817. (find_entries): Rewind unconditionally.
  2818. (find_entries): Do not call language functions directly, now calls
  2819. itself.
  2820. (find_entries): Do general initializations here.
  2821. (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
  2822. (Ada_getit, Pascal_functions, Pascal_functions)
  2823. (prolog_skip_comment): Do not do them here.
  2824. (readline_internal): Increment lineno here.
  2825. (readline): Conditionally undo readline_internal increment.
  2826. (readline): Do not return a value.
  2827. 2002-06-06 Francesco Potortì <pot@gnu.org>
  2828. * etags.c: New option --parse-stdin=FILE.
  2829. (enum arg_type): New label at_stdin.
  2830. (STDIN): New constant.
  2831. (parsing_stdin): New flag.
  2832. (longopts): New option --parse-stdin=NAME.
  2833. (print_help): Document it.
  2834. (main): Handle it.
  2835. (process_file): Split into process_file and process_file_name.
  2836. (process_file_name): New function.
  2837. * etags.c: Improvements and bug squashing in TeX handling.
  2838. (TeX_commands): Skip comments.
  2839. (TEX_defenv): Now contains more constructs.
  2840. (TEX_cmt): Make it a static char and move it before TeX_commands.
  2841. (TeX_commands): Shorten the tag to the brace after the name.
  2842. (TeX_commands): Names now include the initial backslash.
  2843. (TeX_commands): Names do not include numeric args #n.
  2844. (TeX_commands): Correct line char number in tags.
  2845. (TEX_tabent, TEX_token): Delete.
  2846. (TeX_commands, TEX_decode_env): Streamlined.
  2847. 2002-06-05 Francesco Potortì <pot@gnu.org>
  2848. * etags.c (main): Avoid a buffer overrun with sprintf.
  2849. 2002-05-30 Richard M. Stallman <rms@gnu.org>
  2850. * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
  2851. (LIBS_MOVE): Rename from MOVE_LIBS.
  2852. 2002-05-26 Paul Eggert <eggert@twinsun.com>
  2853. Reinstate the following change from 2002-03-22, which was
  2854. inadvertently lost on 2002-04-13.
  2855. * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
  2856. `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
  2857. the latter usage.
  2858. 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
  2859. * pop.c (socket_connection): Move the code to resolve the POP
  2860. host right before trying to connect with it.
  2861. 2002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
  2862. * tcp.c: Delete file since the TCP emulation is no longer in use on any
  2863. platform.
  2864. 2002-04-28 Colin Walters <walters@verbum.org>
  2865. * Makefile.in (${archlibdir}): Don't conditionalize on
  2866. HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
  2867. or not we have access to the specified game user.
  2868. * update-game-score.c (SCORE_FILE_PREFIX): Delete.
  2869. (main): New argument -d, for specifying directory.
  2870. (usage): Document.
  2871. (get_user_id): Compute.
  2872. (get_home_dir): Delete.
  2873. (get_prefix): New function, taken from main.
  2874. (main): Check whether or not we are running setuid. Move prefix
  2875. computation to get_prefix. Don't call getpwent; we don't need to
  2876. any more. Instead, move it to get_user_id().
  2877. 2002-04-24 Pavel Janík <Pavel@Janik.cz>
  2878. * ebrowse.c (skip_initializer): Return void.
  2879. 2002-04-23 Colin Walters <walters@verbum.org>
  2880. * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
  2881. space.
  2882. 2002-04-22 Francesco Potortì <pot@gnu.org>
  2883. * etags.c (last_node): Make it a global variable.
  2884. (process_file): Print the tags from the nodes as soon as
  2885. possible, and delete the nodes. This brings down the memory
  2886. occupancy as etags to almost the same level as when the #line
  2887. directives were not parsed.
  2888. (free_fdesc): New function.
  2889. (find_entries): Use it.
  2890. (invalidate_nodes): In etags mode, do not just mark the nodes as
  2891. invalid, do delete them.
  2892. 2002-04-21 Gerd Moellmann <gerd@gnu.org>
  2893. * ebrowse.c (add_declarator): Test *CLS instead of CLS.
  2894. 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
  2895. * update-game-score.c: Move config.h before the other headers, to
  2896. avoid compiler warnings.
  2897. 2002-04-16 Francesco Potortì <pot@gnu.org>
  2898. * etags.c (find_entries): Bug fix in list management.
  2899. 2002-04-15 Francesco Potortì <pot@gnu.org>
  2900. * etags.c (get_language_from_filename): Add one argument.
  2901. (strcaseeq): New function.
  2902. (get_language_from_filename): Use it to do a case insensitive
  2903. comparison if called with appropriate args.
  2904. (find_entries): Try with case insensitive match.
  2905. (process_file): Bug fixed.
  2906. 2002-04-13 Francesco Potortì <pot@gnu.org>
  2907. * etags.c (find_entries): Delete tags previously obtained from
  2908. file xxx.c's #line directives when parsing file xxx.y. This is
  2909. generally done for automatically generated files containing
  2910. #line directives. This handles the case when xxx.y is tagged
  2911. before xxx.c, and the entries of xxx.c pointing to xxx.y should
  2912. be discarded.
  2913. (language): Add the metasource member. Initializers changed.
  2914. (invalidate_nodes): New function.
  2915. (readline): Discard lines after having found a #line
  2916. directive pointing to an already tagged file. This handles the
  2917. case when xxx.y is tagged before xxx.c, and the entries of
  2918. xxx.c pointing to xxx.y should be discarded.
  2919. (fdesc): New structure for keeping track of input files.
  2920. (fdesc): Remove `file' member (a string) and use instead a pointer
  2921. to a file description structure.
  2922. (curfile, curfiledir, curtagfname, curlang, nocharno)
  2923. (forced_lang): Global variables removed in favor of fdhead and
  2924. curfdp, pointers to file description structures.
  2925. (longopts, main, print_help): Use the CTAGS conditional to include
  2926. or exclude options that work on etags or ctags only.
  2927. (process_file, find_entries, pfnote, add_node, put_entries)
  2928. (readline): Use fdhead and curfdp.
  2929. (process_file, find_entries): Do not take an arg string, all
  2930. callers changed.
  2931. * etags.c (longopts, print_help, main): Test CTAGS to disallow
  2932. options that are not right for either etags or ctags.
  2933. * etags.c (number_len, total_size_of_entries): Define them also
  2934. in CTAGS mode, because gcc does not compile all refs away.
  2935. 2002-04-14 Colin Walters <walters@debian.org>
  2936. * update-game-score.c (lock_file): If the lock file is older than
  2937. an hour, delete it. Reset attempts to zero if we have to break
  2938. the lock.
  2939. 2002-04-14 Andreas Schwab <schwab@suse.de>
  2940. * update-game-score.c (read_score): Fix type of second parameter
  2941. of getdelim to be of type size_t instead of int. Use 0 instead of
  2942. ESUCCES.
  2943. 2002-04-10 Colin Walters <walters@verbum.org>
  2944. * update-game-score.c (toplevel): Include stdarg.h.
  2945. (MAX_DATA_LEN, MAX_SCORES): New.
  2946. (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
  2947. default to ~/.emacs.d/games.
  2948. (get_user_id): Don't zero uid in the case where we can't get the
  2949. username.
  2950. (lose): New function.
  2951. (main): Actually use `max', and default it to MAX_SCORES.
  2952. Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
  2953. function.
  2954. (read_score): Handle the case of reading unamelen characters, then
  2955. finishing. Use mktemp if mkstemp isn't available.
  2956. (lock_file, unlock_file): Delete unused versions.
  2957. (lock_file): Always sleep, even if we unlinked the lock file.
  2958. * Makefile.in (gamedir, gameuser): New variables.
  2959. (toplevel, UTILITIES): Add update-game-score.
  2960. (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
  2961. 2002-04-07 Colin Walters <walters@verbum.org>
  2962. * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
  2963. (get_user_id): Take struct passwd as an argument.
  2964. (get_home_dir): New function.
  2965. (main): Read in user information here. Discover home directory if
  2966. necessary.
  2967. (read_score): Trim newline only in `getline' case.
  2968. 2002-04-05 Colin Walters <walters@debian.org>
  2969. * update-game-score.c (toplevel): Include pwd.h.
  2970. (struct score_entry): Add username field.
  2971. (push_score): Use it.
  2972. (get_user_id): New function.
  2973. (main): Don't malloc excessively.
  2974. (main): Use username field.
  2975. (read_score): Read it.
  2976. (push_score): Handle it.
  2977. (write_scores): Write it.
  2978. (read_score): Handle arbitrary length data.
  2979. 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
  2980. * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
  2981. 2002-03-29 Gerd Moellmann <gerd@gnu.org>
  2982. * ebrowse.c (add_declarator, skip_initializer): New functions.
  2983. (declaration): Use them.
  2984. 2002-03-28 Jason Rumney <jasonr@gnu.org>
  2985. * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
  2986. 2002-03-27 Colin Walters <walters@debian.org>
  2987. * update-game-score.c: New file.
  2988. 2002-03-22 Paul Eggert <eggert@twinsun.com>
  2989. * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
  2990. `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
  2991. the latter usage.
  2992. 2002-03-12 Francesco Potortì <pot@gnu.org>
  2993. * etags.c (Python_functions): Skip spaces at beginning of lines.
  2994. (Python_functions, PHP_functions): Name tags, for ctags' sake.
  2995. (TeX_commands): Name tags. Correction of old disabled code.
  2996. * etags.c (curfiledir, curtagfname): New global variables.
  2997. (process_file): Initialize them.
  2998. (readline): Canonicalize the name found in #line directive.
  2999. 2002-03-06 Jason Rumney <jasonr@gnu.org>
  3000. * etags.c (put_entries): Use #if !CTAGS, to fix link error on
  3001. compilers that don't optimize out dead code.
  3002. 2002-03-05 Francesco Potortì <pot@gnu.org>
  3003. * etags.c: Honor #line directives.
  3004. (no_line_directive): New global var; set it for old behavior.
  3005. (main): Remove some #ifdef in the getopt switch.
  3006. (add_node, put_entries): Code added to merge different chunks of
  3007. nodes referring to the same file. Currently the tags are just
  3008. appended, without any check for duplicates.
  3009. (Perl_functions): Do not special case ctags.
  3010. (readline): Identify #line directives and do the right thing.
  3011. (nocharno, invalidcharno): New global vars.
  3012. (process_file): Reset nocharno.
  3013. (readline): Set nocharno.
  3014. (pfnote): Read nocharno and maybe put invalidcharno in node.
  3015. (total_size_of_entries, put_entries): Use invalidcharno.
  3016. * etags.c: Keep the whole tag table in memory, even in etags mode.
  3017. (main): Call put_entries here even in CTAGS mode.
  3018. (main, process_file): Check the return values of fclose and pclose.
  3019. (process_file): Do not call put_entries after parsing each file.
  3020. (process_file): Canonicalize file names even for ctags.
  3021. (process_file): Set curfile here...
  3022. (find_entries): ... not here any more.
  3023. (add_node): In etags mode, build a linked list of entries (on
  3024. right pointer) for each file, and link the first entry of each
  3025. file on left nodes.
  3026. (put_entries): Print here the name of the file.
  3027. (put_entries): Print the entries starting from the first file.
  3028. (number_len, total_size_of_entries): Define these only in etags
  3029. mode, make the second work only on the right nodes.
  3030. * etags.c: Make all global variables static.
  3031. 2002-02-25 Juanma Barranquero <lektu@terra.es>
  3032. * makefile.w32-in (lisp): Add missing backslash.
  3033. 2002-02-24 Jason Rumney <jasonr@gnu.org>
  3034. * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
  3035. using .elc files.
  3036. (lisp): Sync with list in src/Makefile.in.
  3037. (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
  3038. 2002-02-10 Paul Eggert <eggert@twinsun.com>
  3039. * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
  3040. disallows the old syntax.
  3041. 2002-02-03 Paul Eggert <eggert@twinsun.com>
  3042. * rcs2log (Copyright): Update to 2002.
  3043. (AWK, TMPDIR): Work around portability problem in broken shells that
  3044. don't understand `: ${VAR=val}'.
  3045. (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
  3046. Prefer the new -k option to the traditional +M -N option.
  3047. 2002-01-01 Pavel Janík <Pavel@Janik.cz>
  3048. * b2m.c (main): Parenthesize assignment when used as truth value
  3049. to prevent gcc warnings.
  3050. * fakemail.c: Include <config.h>.
  3051. 2001-12-29 Pavel Janík <Pavel@Janik.cz>
  3052. * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
  3053. * yow.c: Include <config.h>.
  3054. 2001-12-21 Francesco Potortì <pot@gnu.org>
  3055. * etags.c (Perl_functions): Tag packages and use them in sub tags.
  3056. (get_tag): Return a pointer to the tag that is found.
  3057. * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
  3058. (F_takeprec): Rename from takeprec. All callers changed.
  3059. (F_getit): Rename from getit. All callers changed.
  3060. (nocase_tail): Rename from tail. All callers changed.
  3061. (Ada_getit): Rename from adagetit. All callers changed.
  3062. (L_getit): Simplify by using get_tag.
  3063. (Perl_functions, Postscript_functions, erlang_attribute): Use the
  3064. modified LOOKING_AT.
  3065. (notinname): Remove '[' and added ')' to the recognized chars.
  3066. (LOOKING_AT, get_tag, PHP_functions): Use notinname.
  3067. (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
  3068. Clarified, using strneq or notinname.
  3069. (L_isdef, L_isquote): Remove.
  3070. (Lisp_functions, L_getit): Clarified.
  3071. * etags.c (P_): Rename to __P for consistency with config.h.
  3072. [HAVE_CONFIG_H]: Let config.h deal with __P.
  3073. [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
  3074. [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
  3075. gperf code needs it.
  3076. [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
  3077. [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
  3078. (xmalloc, xrealloc): Use PTR instead of long *.
  3079. (bool): Make it a define, not a typedef, for C++ compilers.
  3080. (pattern): Members renamed to avoid name clash in some C++ compilers.
  3081. (get_language_from_langname): Use const argument.
  3082. 2001-12-22 Pavel Janík <Pavel@Janik.cz>
  3083. * makefile.nt, makefile.w32-in: Remove mocklisp files.
  3084. 2001-12-19 Pavel Janík <Pavel@Janik.cz>
  3085. * emacsserver.c: Conditionally include config.h.
  3086. * fakemail.c: Likewise.
  3087. * emacsclient.c: Include "config.h", not <../src/config.h>.
  3088. (main): Parenthesize assignment when used as truth value to
  3089. prevent gcc warnings.
  3090. * ebrowse.c: Include stdlib.h and string.h conditionally.
  3091. 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
  3092. * yow.c (main): Use time_t, not long, to avoid a compiler warning.
  3093. 2001-12-18 Pavel Janík <Pavel@Janik.cz>
  3094. * test-distrib.c: Fix previous change.
  3095. 2001-12-18 Dave Love <fx@gnu.org>
  3096. * test-distrib.c: Conditionally include fcntl.h.
  3097. * fakemail.c: Include "config.h", not <../src/config.h>.
  3098. (_XOPEN_SOURCE): Define as 500.
  3099. * emacsserver.c: Include "config.h", not <../src/config.h>.
  3100. * cvtmail.c: Include config.h, stdlib.h.
  3101. (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
  3102. * yow.c: Conditionally include various headers. Use "epaths.h",
  3103. not <../src/epaths.h>.
  3104. (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
  3105. 2001-12-12 Francesco Potortì <pot@gnu.org>
  3106. * etags.c (PHP_functions): New function for parsing PHP.
  3107. (LOOKING_AT): New macro.
  3108. (Perl_functions, Python_functions, PHP_functions)
  3109. (Scheme_functions, Texinfo_nodes): Use it.
  3110. (Perl_functions): Use strneq.
  3111. (prolog_pred): Rename to prolog_pr.
  3112. (prolog_pr): Recognize Prolog rules in addition to predicates.
  3113. [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
  3114. unmodified compile, as Cygwin's regex.h is incompatible with us.
  3115. [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
  3116. 2001-12-11 Richard M. Stallman <rms@gnu.org>
  3117. * Makefile.in (clean): Don't delete ../etc/DOC*.
  3118. 2001-12-11 Pavel Janík <Pavel@Janik.cz>
  3119. * COPYING: Moved back.
  3120. 2001-11-30 Andrew Innes <andrewi@gnu.org>
  3121. * makefile.w32-in (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT)
  3122. (WINNT_SUPPORT, lisp): Reference .el files instead of .elc files,
  3123. to simplify bootstrapping.
  3124. ($(DOC)): Change dependency to just `make-docfile'.
  3125. 2001-11-29 Pavel Janík <Pavel@Janik.cz>
  3126. * COPYING: Removed.
  3127. 2001-11-28 Paul Eggert <eggert@twinsun.com>
  3128. * rcs2log (Copyright): Add '(C)' as per coding guidelines.
  3129. The following changes are derived from suggestions by Bob Chapman
  3130. <rechapman@compuserve.com>.
  3131. * rcs2log (printlogline): Also allow tab and newline to separate
  3132. '(function):' from the rest of a comment.
  3133. (reformat the sorted log entries): Require date and author to
  3134. match the clumpname.
  3135. 2001-11-16 Gerd Moellmann <gerd@gnu.org>
  3136. * ebrowse.c (matching_regexp): Escape '\\'.
  3137. 2001-11-15 Pavel Janík <Pavel@Janik.cz>
  3138. * Makefile.in: Add support for --program-prefix, --program-suffix
  3139. and --program-transform-name options.
  3140. 2001-11-03 Richard M. Stallman <rms@gnu.org>
  3141. * cvtmail.c (xrealloc): Always pass two args to `fatal'.
  3142. * movemail.c (popmail): Always pass two args to `error'.
  3143. 2001-10-24 Ken Raeburn <raeburn@gnu.org>
  3144. * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
  3145. -lhesiod and maybe -lresolv.
  3146. (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
  3147. support if it's available.
  3148. 2001-10-21 Miles Bader <miles@gnu.org>
  3149. * make-docfile.c (struct rcsoc_state): New type.
  3150. (read_c_string_or_comment): Add SAW_USAGE
  3151. parameter, and implement scanning for a `usage:' keyword.
  3152. Use a variable of type `rcsoc_state' to hold most of our state.
  3153. (put_char): Add STATE parameter, and remove all other parameters
  3154. except CH. Use STATE to get access to all needed state.
  3155. (scan_keyword_or_put_char): New function.
  3156. (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
  3157. Don't output a usage-string if there was one in the doc-string.
  3158. 2001-10-20 Gerd Moellmann <gerd@gnu.org>
  3159. * (Version 21.1 released.)
  3160. 2001-10-19 Pavel Janík <Pavel@Janik.cz>
  3161. * b2m.c: Properly spell the name of Emacs.
  3162. 2001-10-17 Miles Bader <miles@gnu.org>
  3163. * make-docfile.c (put_char): New function.
  3164. (read_c_string_or_comment): Strip trailing spaces and newlines.
  3165. 2001-10-16 Miles Bader <miles@gnu.org>
  3166. * make-docfile.c (scan_c_file): Handle `new style' doc strings in
  3167. comments [with `doc:' keyword prefix].
  3168. 2001-10-15 Gerd Moellmann <gerd@gnu.org>
  3169. * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
  3170. in a C doc comment.
  3171. 2001-10-13 Gerd Moellmann <gerd@gnu.org>
  3172. * make-docfile.c (read_c_string_or_comment): Rename from
  3173. read_c_string. Add parameter COMMENT. Read C-style comments.
  3174. (scan_c_file): Handle doc strings in C comments.
  3175. 2001-10-12 Andrew Innes <andrewi@gnu.org>
  3176. * makefile.nt (ALL): Do not include fakemail.
  3177. * makefile.w32-in (install): Do not copy fakemail.
  3178. 2001-10-10 Jason Rumney <jasonr@gnu.org>
  3179. * makefile.w32-in (ALL): Do not include fakemail.
  3180. * makefile.nt (install): Ditto.
  3181. 2001-10-09 Gerd Moellmann <gerd@gnu.org>
  3182. * emacsserver.c (main): Cast geteuid in sprintf to int.
  3183. * emacsclient.c (main): Cast isdigit argument to unsigned char.
  3184. 2001-10-07 Pavel Janík <Pavel@Janik.cz>
  3185. * profile.c: Include config.h, not ../src/config.h.
  3186. Include systime.h, not ../src/systime.h.
  3187. 2001-10-05 Gerd Moellmann <gerd@gnu.org>
  3188. * Branch for 21.1.
  3189. 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
  3190. * ebrowse.c (struct alias): Add two new struct members: NAMESP and
  3191. ALIASEE to help work with namespace aliases.
  3192. (struct sym): Remove struct member NAMESP_ALIASES.
  3193. (namespace_alias_table): New variable.
  3194. (make_namespace): Add parameter CONTEXT.
  3195. (check_namespace): New function.
  3196. (find_namespace): Add parameter CONTEXT.
  3197. (check_namespace_alias): New function.
  3198. (register_namespace_alias): Change type of parameter OLD_NAME.
  3199. Search for already defined alias in NAMESPACE_ALIAS_TABLE.
  3200. (check_namespace): New function.
  3201. (enter_namespace): Call find_namespace with CONTEXT parameter.
  3202. (match_qualified_namespace_alias): New function.
  3203. (parse_qualified_ident_or_type): Fix typo in comment.
  3204. While parsing qualified ident or type update namespace context and
  3205. restore it on exit.
  3206. (parse_qualified_param_ident_or_type): Fix typo in comment.
  3207. (globals): Change handling of namespace aliases.
  3208. (version): Add year 2001.
  3209. 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
  3210. * etags.c (analyse_regex): If regex_arg is NULL, return
  3211. immediately after a call to free_patterns.
  3212. 2001-09-05 Paul Eggert <eggert@twinsun.com>
  3213. * rcs2log (Help, mainline code): Add new option -L FILE.
  3214. (Copyright): Update year.
  3215. (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
  3216. (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
  3217. C locale.
  3218. (mainline code): Handle nonstandard -u option differently, by
  3219. transforming it to standard form. Check for "Working file: ", not
  3220. "Working file:". Allow file names with spaces.
  3221. (SOH, rlogfile): New shell vars.
  3222. (rlogout): Remove. Its old functionality is mostly migrated to
  3223. rlogfile.
  3224. Append ';;' to the last arm of every case statement, for
  3225. portability to ancient broken BSD shells.
  3226. (logins): Fix bug; was not being computed at all, lowering performance.
  3227. (pository): New var. This fixes some bugs where repositories are
  3228. remote, or have trailing slashes.
  3229. (authors): $llogout is never an empty shell var, so don't worry
  3230. about that possibility.
  3231. (printlogline, mainline code): Fix bug with SOH's being put into
  3232. the output.
  3233. 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
  3234. * ebrowse.c (SEEK_END): #define if not defined by system headers.
  3235. Suggested by Dave Love <d.love@dl.ac.uk>.
  3236. 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
  3237. * makefile.nt (lisp): Synchronize with src/Makefile.in.
  3238. * makefile.w32-in (lisp): Ditto.
  3239. 2001-07-25 Juanma Barranquero <lektu@terra.es>
  3240. * grep-changelog (parse_changelog): Remove unused local variable.
  3241. * grep-changelog (main): Add new option --reverse.
  3242. (print_log): Use it.
  3243. (parse_changelog): Use it.
  3244. 2001-07-20 Gerd Moellmann <gerd@gnu.org>
  3245. * grep-changelog: Remove RCS Id keyword.
  3246. 2001-07-20 Juanma Barranquero <lektu@terra.es>
  3247. * grep-changelog (parse_changelog): Add tests for defined values
  3248. to quiet warning from Perl 5.005 or above.
  3249. (entry_match_p, header_match_p): Fix handling of null or empty
  3250. argument to prevent duplicate headers.
  3251. * grep-changelog (main, parse_changelog): Make "use strict"-clean.
  3252. 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
  3253. * emacsclient.c (print_help_and_exit): Fix help message for
  3254. +LINE:COLUMN option.
  3255. 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
  3256. * emacsclient.c (main): Add support for +LINE:COLUMN command line
  3257. argument.
  3258. 2001-07-16 Gerd Moellmann <gerd@gnu.org>
  3259. * ebrowse.c (main): Check that the output file exists and
  3260. is non-empty if invoked with `--append'.
  3261. 2001-05-14 Francesco Potortì <pot@gnu.org>
  3262. * etags.c (add_regex): Reset the whole newly allocated pattern
  3263. buffer instead of the individual members. It's safer and works
  3264. with XEmacs.
  3265. * etags.1: Markups corrected.
  3266. 2001-05-08 Gerd Moellmann <gerd@gnu.org>
  3267. * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
  3268. 2001-05-03 Gerd Moellmann <gerd@gnu.org>
  3269. * ebrowse.c (globals): Fix handling of namespace aliases.
  3270. 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
  3271. * etags.c (print_help): Enclose the regexp in the help text
  3272. example in quotes.
  3273. 2001-04-05 Dave Love <fx@gnu.org>
  3274. * emacsclient.c (fail): Don't return a value.
  3275. (main): Cast uid values for sprintf.
  3276. 2001-04-03 Gerd Moellmann <gerd@gnu.org>
  3277. * emacsclient.c (fail, main): Don't use implicit int return type.
  3278. * b2m.c (main): Always return a value.
  3279. 2001-03-02 Gerd Moellmann <gerd@gnu.org>
  3280. * ebrowse.c (parse_qualified_param_ident_or_type): Return a
  3281. freshly allocated object in *LAST_ID.
  3282. (read_line): Accept \r\n line endings.
  3283. 2001-02-24 Andrew Innes <andrewi@gnu.org>
  3284. * makefile.w32-in: Fix copyright notice.
  3285. 2001-02-23 Francesco Potortì <pot@gnu.org>
  3286. * etags.c (enum sym_type): New label st_C_template.
  3287. (gperf input): Use it for switching to C++ from C.
  3288. (consider_token): Do it.
  3289. (C_entries): Initialize typdefcblev to quiet compilers.
  3290. [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
  3291. 2001-02-22 Andrew Innes <andrewi@gnu.org>
  3292. * makefile.nt ($(BLD)\movemail.obj): Remove reference to
  3293. VMS header files.
  3294. ($(BLD)\profile.obj): Ditto.
  3295. * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
  3296. VMS header files.
  3297. ($(BLD)/profile.$(O)): Ditto.
  3298. 2001-02-05 Andrew Innes <andrewi@gnu.org>
  3299. * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
  3300. invocation of make-docfile, to work with Windows 2000.
  3301. 2001-01-31 Dave Love <fx@gnu.org>
  3302. * etags.c (in_word_set): Use `static' in definition (for pcc).
  3303. 2001-01-31 Francesco Potortì <pot@gnu.org>
  3304. * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
  3305. the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
  3306. (C_entries): Tag token renamed to still_in_token because sunos4
  3307. pcc wants to expand it as the token() macro even though it has no
  3308. arguments.
  3309. 2001-01-30 Andrew Innes <andrewi@gnu.org>
  3310. * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
  3311. bug in the Mingw32 assert.h header file.
  3312. 2001-01-30 Francesco Potortì <pot@gnu.org>
  3313. * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
  3314. #define it for the sake of XEmacs.
  3315. [WINDOWSNT]: #undef HAVE_NTGUI even if built without
  3316. HAVE_CONFIG_H. This change only affects a standalone etags.
  3317. [WINDOWSNT]: #undef DOS_NT and #define it even if built with
  3318. HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
  3319. always defined when HAVE_CONFIG_H and WINDOWS are both defined.
  3320. [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
  3321. WINDOWSNT, as this is the correct way to use it.
  3322. 2001-01-28 Francesco Potortì <pot@gnu.org>
  3323. * etags.c: Be capable to parse nested struct-like structures.
  3324. (structdef, structtag): Struct state machine revisited.
  3325. (struct tok): Revisited.
  3326. (cstack, nestlev, instruct): New struct and macros.
  3327. (pushclass_above, popclass_above, write_classname): New functions
  3328. for dealing with nested class names.
  3329. (consider_token, make_C_tag, C_entries): Many changes for dealing
  3330. with arbitrarily nested structures.
  3331. (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
  3332. (C_entries): Consider templates in C++.
  3333. (sym_type): New constant st_C_class for detecting "class" also in
  3334. C mode.
  3335. (C_AUTO): New macro for automatic detection of C++.
  3336. (consider_token): Automatic set C++ mode.
  3337. (C_entries): New security check for yacc.
  3338. (print_language_names, print_help): Mention the autodetect
  3339. feature, do not show help for the -C option, now mostly useless.
  3340. (C_entries): Tag C++ forward declarations if --declarations.
  3341. (C_entries): Don't be fooled by things like XDEFUN.
  3342. (consider_token): Discard asm pseudo function.
  3343. 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
  3344. * etags.c: Add a coding: tag.
  3345. 2001-01-26 Gerd Moellmann <gerd@gnu.org>
  3346. * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
  3347. New variables.
  3348. (matching_regexp): Use them instead of static variables in
  3349. function scope.
  3350. 2001-01-25 Francesco Potortì <pot@gnu.org>
  3351. * etags.c (struct tok): Rename from struct token.
  3352. (token): Rename from tok.
  3353. (structtype): Make it a local variable.
  3354. [DEBUG]: Use assert.
  3355. (xrnew): Change the synopsis.
  3356. (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
  3357. (grow_linebuffer): Don't call xrnew when not needed.
  3358. (token): Buffer renamed to line.
  3359. (C_entries): Three calls to inibuffer moved here from main.
  3360. (C_entries): Remove all references to var methodlen, delete it.
  3361. (linebuffer_setlen): Was grow_buffer, now also sets len.
  3362. (consider_token, C_entries, Pascal_functions): Use it.
  3363. (C_entries): Preventing problems relative to extern "C".
  3364. (C_entries): Can tag more than one variable or func separated by
  3365. comma when --declarations is used.
  3366. (C_entries): More accurate tagging of members and declarations.
  3367. (yacc_rules): Was global, made local to C_entries.
  3368. (next_token_is_func): Remove.
  3369. (fvdef): New constants fdefunkey, fdefunname.
  3370. (consider_token, C_entries): Use them.
  3371. (C_entries): Build proper lisp names for Emacs DEFUNs.
  3372. 2001-01-22 Gerd Moellmann <gerd@gnu.org>
  3373. * ebrowse.c (xfree): New function.
  3374. (member, declaration, globals): Use xmalloc instead of alloca.
  3375. 2001-01-15 Francesco Potortì <pot@gnu.org>
  3376. * etags.c (print_language_names): Print filenames in addition to
  3377. suffixes.
  3378. 2001-01-14 Francesco Potortì <pot@gnu.org>
  3379. * etags.c (get_language_from_langname): Rename from
  3380. get_language_from_name.
  3381. (get_language_from_filename): Rename from get_language_from_suffix.
  3382. Now first looks for the complete file name.
  3383. (language): New member char **filenames.
  3384. (Makefile_filenames): List of possible filenames for makefiles.
  3385. (lang_names): Add a NULL member for every entry, added an entry
  3386. for makefiles.
  3387. (Makefile_targets): New function.
  3388. (Texinfo_nodes): Rename from Texinfo_functions and made
  3389. it conformant to the style of the rest of the code.
  3390. 2001-01-13 Gerd Moellmann <gerd@gnu.org>
  3391. * make-docfile.c (write_c_args): Print newlines as spaces.
  3392. 2001-01-06 Andrew Innes <andrewi@gnu.org>
  3393. * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
  3394. of *.pdb.
  3395. 2001-01-03 Paul Eggert <eggert@twinsun.com>
  3396. * rcs2log: Avoid security hole allowing attacker to
  3397. cause user of rcs2log to overwrite arbitrary files, fixing
  3398. a bug reported by Morten Welinder.
  3399. Don't put "exit 1" at the end of the exit trap; it's
  3400. ineffective in POSIX shells.
  3401. 2001-01-02 Gerd Moellmann <gerd@gnu.org>
  3402. * ebrowse.c (yyerror): Change to take two arguments.
  3403. Add prototype. Change callers.
  3404. 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
  3405. * ebrowse.c (enter_namespace, main): Cast variables to shut up
  3406. compiler warnings.
  3407. (yyerror): Change parameter declarations to be of type long, so
  3408. that they can take pointers on 64-bit platforms.
  3409. * emacsclient.c (main): Remove unused local variable statbfr.
  3410. (main) <homedir>: Make its declaration conditional on
  3411. SERVER_HOME_DIR, to avoid compiler warnings.
  3412. * emacsserver.c (main) <homedir>: Make its declaration conditional
  3413. on SERVER_HOME_DIR, to avoid compiler warnings.
  3414. * fakemail.c (readline): Cast buffer to "long *" to pacify
  3415. over-zealous compilers.
  3416. 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
  3417. * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
  3418. 2000-12-15 Gerd Moellmann <gerd@gnu.org>
  3419. * ebrowse.c (operator_name): Cast argument of isalpha to
  3420. unsigned char.
  3421. * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
  3422. Use them throughout instead of ctype functions/macros.
  3423. (lowcase): Cast to unsigned char.
  3424. (UPCASE): New macro.
  3425. (canonicalize_filename): Use UPCASE instead toupper.
  3426. * fakemail.c (get_keyword): Make sure that isspace and
  3427. similar aren't called with a negative argument.
  3428. 2000-12-13 Dave Love <fx@gnu.org>
  3429. * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
  3430. 2000-12-06 Andrew Innes <andrewi@gnu.org>
  3431. * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
  3432. don't know the real version, and I can't seem to get the quoting
  3433. right in all circumstances.
  3434. * ebrowse.c (VERSION): Provide default definition, like etags.c
  3435. does, because Windows build can't snarf this from version.el.
  3436. 2000-11-30 Andrew Innes <andrewi@gnu.org>
  3437. * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
  3438. (install): Ditto.
  3439. 2000-11-23 Jason Rumney <jasonr@gnu.org>
  3440. * makefile.w32-in: Add targets for ebrowse.exe.
  3441. (LOCAL_FLAGS): Add -DVERSION flag.
  3442. 2000-09-25 Dave Love <fx@gnu.org>
  3443. * sorted-doc.c: Include config.h.
  3444. [!HAVE_STDLIB_H]: Declare malloc.
  3445. 2000-09-14 Andrew Innes <andrewi@gnu.org>
  3446. * makefile.w32-in: Revert to Unix line endings.
  3447. 2000-09-04 Dave Love <fx@gnu.org>
  3448. * movemail.c (index, rindex): Prototype conditionally.
  3449. 2000-09-03 Andrew Innes <andrewi@gnu.org>
  3450. * makefile.w32-in: Change to DOS line endings.
  3451. 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
  3452. * movemail.c (toplevel): Remove redundant fcntl.h.
  3453. [!F_OK]: Provide default definitions only after including both
  3454. fcntl.h and unistd.h.
  3455. 2000-08-29 Dave Love <fx@gnu.org>
  3456. * movemail.c: Revert previous change.
  3457. 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
  3458. * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
  3459. 2000-08-28 Dave Love <fx@gnu.org>
  3460. * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
  3461. (toplevel) [HAVE_STRINGS_H]: Include strings.h.
  3462. 2000-08-22 Andrew Innes <andrewi@gnu.org>
  3463. * ntlib.h (WIN32): Remove unnecessary definition.
  3464. (sleep): Make argument unsigned long.
  3465. (_WINSOCK_H): Undefine so normal winsock definitions can be used.
  3466. * ntlib.c (sleep): Make argument unsigned long.
  3467. * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
  3468. * makefile.w32-in: New file.
  3469. 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
  3470. * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
  3471. letter only if it is a drive letter.
  3472. 2000-07-14 Gerd Moellmann <gerd@gnu.org>
  3473. * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
  3474. * etags.c (xmalloc, xrealloc): Make externally visible, for use
  3475. by alloca.o.
  3476. * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
  3477. 2000-07-10 Gerd Moellmann <gerd@gnu.org>
  3478. * ebrowse.c (yylex): Accept string literals with newlines in them.
  3479. (process_pp_line): Handle case of string literal with newline
  3480. in it in replacement text, which counts as continuing the
  3481. replacement text in GNU C.
  3482. 2000-07-02 Gerd Moellmann <gerd@gnu.org>
  3483. * ebrowse.c (token_string): Add missing tokens.
  3484. (parm_list): Handle case of qualified pointers.
  3485. 2000-06-23 Dave Love <fx@gnu.org>
  3486. * ebrowse.c: Move config.h before other includes (which may use
  3487. feature tests).
  3488. 2000-06-14 Jim Meyering <meyering@lucent.com>
  3489. * grep-changelog: Fix typos in comments. Remove trailing blanks.
  3490. 2000-06-11 Jason Rumney <jasonr@gnu.org>
  3491. * makefile.nt: Add targets for ebrowse.
  3492. * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
  3493. compare filenames.
  3494. 2000-06-06 Gerd Moellmann <gerd@gnu.org>
  3495. * ebrowse.c (ymalloc): Rename from xmalloc.
  3496. (yrealloc): Rename from xrealloc.
  3497. 2000-05-21 Dave Love <fx@gnu.org>
  3498. * movemail.c: Include config.h, not ../src/config.h.
  3499. (Errmsg): Bump length.
  3500. * pop.c (ERROR_MAX): Increase to 160.
  3501. 2000-05-04 Gerd Moellmann <gerd@gnu.org>
  3502. * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
  3503. 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
  3504. * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
  3505. Define to semi-colon.
  3506. (FILENAME_EQ): New macro, for comparing file names.
  3507. (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
  3508. (process_file): Don't assume that fread always reads as many bytes
  3509. as it was told to (DOS-style CR-LF text files fail this logic).
  3510. (open_file): Allocate enough space for path->path plus the file
  3511. name and the slash.
  3512. 2000-04-19 Dave Love <fx@gnu.org>
  3513. * etags.c (Texinfo_functions): New function.
  3514. (lang_names): Install it.
  3515. (Texinfo_suffixes): New variable.
  3516. 2000-04-19 Gerd Moellmann <gerd@gnu.org>
  3517. * ebrowse.c (xmalloc, xrealloc): Rewritten.
  3518. (declaration): Remove parameter IS_EXTERN.
  3519. (class_definition): Remove unused variable.
  3520. 2000-04-09 Gerd Moellmann <gerd@gnu.org>
  3521. * Makefile.in (INSTALLABLES): Add ebrowse.
  3522. (ebrowse): New target.
  3523. * ebrowse.c: New file.
  3524. 2000-03-29 Andreas Schwab <schwab@suse.de>
  3525. * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
  3526. 2000-03-02 Gerd Moellmann <gerd@gnu.org>
  3527. * etags.c (lisp_suffixes): Add `LSP'.
  3528. 2000-02-10 Francesco Potortì <pot@gnu.org>
  3529. * etags.c (iswhite): Redefine not to consider '\0' as white
  3530. space, and use it throughout in place of isspace, thus preventing a
  3531. potential signed char to int conversion problem.
  3532. (MSDOS): #undefine before redefining.
  3533. 2000-02-04 Francesco Potortì <pot@gnu.org>
  3534. * etags.c (many functions): Add prototypes.
  3535. 2000-02-10 Dave Love <fx@gnu.org>
  3536. * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
  3537. (erlang_func): Add `static' to definitions to keep pcc happy.
  3538. 2000-01-31 Francesco Potortì <pot@gnu.org>
  3539. * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
  3540. (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
  3541. (etags_strchr, etags_strrchr): Use const char * and int as arguments.
  3542. (getenv, getcwd): Only declare them if necessary.
  3543. (EMACS_NAME): New constant macro.
  3544. (print_version): Use it.
  3545. (P_) [__STDC__]: Macro for defining function prototypes.
  3546. 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
  3547. * etags.c [WINDOWSNT]: #include <direct.h>
  3548. 2000-01-18 Martin Buchholz <martin@xemacs.org>
  3549. * etags.c (all functions): Made them static.
  3550. (all functions): Write prototypes.
  3551. 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
  3552. * movemail.c (main): Improve error message if can't create lock file.
  3553. 2000-01-28 Eric Hanchrow <offby1@blarg.net>
  3554. * emacsclient.c (socket_status): New function.
  3555. (main): If $LOGNAME or $USER exist and differ from our euid, look
  3556. for a socket based on the UID associated with the name.
  3557. 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
  3558. * emacsclient.c: Add option -a EDITOR and environment variable
  3559. ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
  3560. 1999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3561. * movemail.c (popmail): Allow mailbox specifications of the
  3562. form `po:username:hostname'.
  3563. 1999-11-19 Francesco Potortì <pot@gnu.org>
  3564. * etags.c (_GNU_SOURCE): Define only if undefined.
  3565. (get_scheme): Declaration deleted.
  3566. (main): Error was called with an integer as second arg, instead of
  3567. a char pointer.
  3568. (canonicalize_filename): Bug removed.
  3569. 1999-11-18 Dave Love <d.love@dl.ac.uk>
  3570. * etags.c (C_entries): Rename label `intoken', avoiding K&R
  3571. lossage from name clash with macro.
  3572. 1999-11-13 Gerd Moellmann <gerd@gnu.org>
  3573. * Makefile.in (b2m): Add dependency on GETOPTDEPS.
  3574. 1999-11-03 Gerd Moellmann <gerd@gnu.org>
  3575. * etags.c (print_help): Change email address to send bugs to.
  3576. 1999-11-01 Francesco Potortì <pot@gnu.org>
  3577. * etags.c: Add suffix psw for PSWrap.
  3578. (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
  3579. (Postscript_functions): Add code for PSWrap.
  3580. (Scheme_functions): Use local pointer and new get_tag function.
  3581. (get_tag): New name for old get_scheme.
  3582. (process_file): Do not free NULL when file does not exist.
  3583. (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
  3584. (C_entries): Modifications that make --members tag even inside
  3585. typedefs and C nested structs (one level only).
  3586. (consider_token): Correct a bug which prevented tagging of enum
  3587. constants.
  3588. (C_stab_entry): Add if, for, while, switch, return as
  3589. st_C_ignore. This makes it simpler to work when cblev!=0.
  3590. * etags.c (C_entries): Tag member function declarations when
  3591. --declarations is used.
  3592. * etags.c (C_entries, consider_token): C++ `operator' now is
  3593. tagged in most cases.
  3594. As before, :: is not recognized if surrounded by spaces.
  3595. * etags.c (relative_filename): Account for DOS file names such
  3596. that is impossible to make one relative to another.
  3597. * etags.c (sym_type): New st_C_extern tag.
  3598. (gperf input): Use it for spotting external declarations.
  3599. (print_help): Document the new behavior of --declarations.
  3600. (fvextern): New global variable.
  3601. (consider_token, C_entries): Use it.
  3602. * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
  3603. (etags_getcwd): Remove test for WINDOWSNT.
  3604. * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
  3605. foo.cgz, foo.cz, etc.
  3606. * etags.c (declarations): New global switch.
  3607. (longopts): Describe it.
  3608. (print_help): Document it.
  3609. (C_entries): Use it.
  3610. (process_file): Don't process a file twice.
  3611. * etags.c (Fortran_functions): No tags for "procedure".
  3612. 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
  3613. * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
  3614. non-zero, returns a pointer to where the extension begins; callers
  3615. changed.
  3616. [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
  3617. were foo.c.gz.
  3618. 1999-11-01 Francesco Potortì <pot@gnu.org>
  3619. * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
  3620. (fvdev): New constant foperator.
  3621. (consider_token): Use it to get "operator" in C++.
  3622. (C_entries): Extend length of operator@ function name.
  3623. (C_entries): Use foperator when necessary.
  3624. * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
  3625. * etags.c (compressor): New struct for compressed files.
  3626. (get_compressor_from_suffix): New function.
  3627. (get_language_from_suffix): Use it. Also, semantics changed.
  3628. (process_file): Consider compressed files, close file.
  3629. (find_entries): Use different call arg for get_language_from_suffix,
  3630. don't close file.
  3631. * etags.c (main): Call free_tree.
  3632. (find_entries): Do not free curfile.
  3633. (pfnote): Cosmetic change: NULL and '\0' where appropriate.
  3634. (prolog_pred, erlang_func, substitute): Cast strlen to int when
  3635. comparing.
  3636. (canonicalize_filename): Shut up compiler warning.
  3637. (Perl_functions): Make tag significant.
  3638. 1999-11-01 Dave Love <d.love@dl.ac.uk>
  3639. * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
  3640. (argument_type): New member at_icregexp.
  3641. (lc_trans): New global.
  3642. (main): Fill lc_trans. Process -c args.
  3643. (add_regex): New arg determining whether to use translation table.
  3644. (analyse_regex): New arg. Use it for add_regex.
  3645. 1999-11-01 Francesco Potortì <pot@gnu.org>
  3646. * etags.c (init): Cosmetic change: NULL --> '\0'.
  3647. (erlang_attribute): Bug corrected (uninitialized variable).
  3648. (filename_is_absolute): New function replaces absolutefn macro and
  3649. corrects a bug. All callers changed.
  3650. (canonicalize_filename): New function.
  3651. (process_file, etags_getcwd, absolute_dirname): Use it.
  3652. (relative_filename, absolute_filename): Remove var shadowing.
  3653. (C_entries, Pascal_functions): Add fake initializations to keep
  3654. compilers quiet.
  3655. (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
  3656. * etags.c (xrnew): New macro. All callers of xrealloc changed.
  3657. (language): New typedef (was struct lang_entry).
  3658. (curlang): New global variable.
  3659. (node): Typedef renamed from NODE.
  3660. (linebuffer): New typedef (was struct linebuffer).
  3661. (pattern): New typedef (was struct pattern). Some members added.
  3662. Now used as element of a linked list.
  3663. (patterns, num_patterns): Global variables deleted.
  3664. (p_head): New global variable.
  3665. (forced_lang): New global variable (replaces lang_func).
  3666. (get_language_from_name, get_language_from_interpreter)
  3667. (get_language_from_suffix): Semantics changed. All callers changed.
  3668. (last_node): New global variable.
  3669. (free_tree, add_node, put_entries, total_size_of_entries):
  3670. Change name of local vars to avoid clashes with typedef node.
  3671. (number_len): Rewritten for elegance.
  3672. (token): New typedef replaces TOKEN.
  3673. (analyse_regex, add_regex): Rewritten for new functionality.
  3674. (free_patterns): New function called from main and add_regex.
  3675. (initbuffer, readline_internal, readline, grow_linebuffer):
  3676. Change name of local vars to avoid clashes with typedef linebuffer.
  3677. (readline): Rewritten for new functionality.
  3678. * etags.c (Scheme_suffixes): New suffix ".ss".
  3679. (print_help): --globals is now used for more than C-type languages.
  3680. (Perl_functions): Tag global variables ("my" and "local").
  3681. * etags.c (print_help): Some messages clarified.
  3682. (LOOP_ON_INPUT_LINES): New macro.
  3683. (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
  3684. (Python_functions, Cobol_paragraphs, Pascal_functions)
  3685. (Lisp_functions, Postscript_functions, Scheme_functions)
  3686. (TeX_functions, Prolog_functions, Erlang_functions): Use it.
  3687. (Cobol_paragraphs, Postscript_functions, TeX_functions)
  3688. (Prolog_functions, Erlang_functions): Use a local variable instead
  3689. of the global variable dbp.
  3690. (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
  3691. standard indentation.
  3692. * etags.c (Python_suffixes, lang_names, Python_functions):
  3693. Python support.
  3694. (skip_spaces, skip_non_spaces): Utility functions.
  3695. (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
  3696. (Python_functions, L_getit, Lisp_functions, Scheme_functions)
  3697. (prolog_pred, erlanf_func, erlang_attribute): Use them.
  3698. (eat_white): Delete.
  3699. * etags.c (CHAR, init): Keep into account non US-ASCII
  3700. characters and compilers with default signed chars.
  3701. (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
  3702. constructs.
  3703. (C_stab_entry): "interface" in Java behaves like "class".
  3704. * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
  3705. (main): Put interval syntax here.
  3706. (add_regex): And remove it from here.
  3707. * etags.c (suggest_asking_for_help): Provide a
  3708. meaningful help message with and without LONG_OPTIONS.
  3709. * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
  3710. <stdlib.h, string.h>: Don't test MSDOS when including them.
  3711. (white, nonam, endtk): Like elsewhere, use \r instead of \013.
  3712. (put_entries): Correctly use %ld instead of %d in printf.
  3713. * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
  3714. declare getcwd if HAVE_GETCWD.
  3715. (consider_token): Dead break instruction removed.
  3716. 1999-10-19 Paul Eggert <eggert@twinsun.com>
  3717. Add support for large files. Merge glibc 2.1.2.
  3718. * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
  3719. * movemail.c, pop.c:
  3720. Do not include <stdlib.h>, as <config.h> does this now.
  3721. * b2m.c, emacsserver.c, etags.c, profile.c:
  3722. Include <config.h> before any system include files.
  3723. * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
  3724. * test-distrib.c:
  3725. (read, write, open, close): Do not undef.
  3726. * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
  3727. (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
  3728. * getopt.h: Adopt glibc 2.1.2.
  3729. 1999-10-15 Dave Love <fx@gnu.org>
  3730. * Makefile.in (pop.o): Depend on config.h.
  3731. 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3732. * pop.c: Use "pop3" as the POP service name on all platforms,
  3733. instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
  3734. has been the standard service name since RFC 1340 was published in
  3735. July 1992, so I think it's safe to start using it by default.
  3736. 1999-09-27 Dave Love <fx@gnu.org>
  3737. * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
  3738. 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
  3739. * make-docfile.c (scan_lisp_file): Fix previous changes;
  3740. swallow CRLF like just CR or just LF.
  3741. 1999-09-03 Richard Stallman <rms@gnu.org>
  3742. * make-docfile.c: Include config.h not ../src/config.h.
  3743. (main, fopen, chdir): Add #undef.
  3744. (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
  3745. (scan_lisp_file): Handle \r like \n.
  3746. 1999-08-30 Andreas Schwab <schwab@gnu.org>
  3747. * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
  3748. * emacsserver.c: Include <stdlib.h> if available. Don't declare
  3749. errno if it's a macro.
  3750. * test-distrib.c: Include <unistd.h> if available.
  3751. 1999-08-29 Richard Stallman <rms@gnu.org>
  3752. * emacsclient.c (print_help_and_exit): Mention --version.
  3753. 1999-08-25 Richard M. Stallman <rms@gnu.org>
  3754. * emacsclient.c (decode_options): Update version output.
  3755. (print_help_and_exit): Update bug report address.
  3756. 1999-08-13 Richard M. Stallman <rms@gnu.org>
  3757. * emacsclient.c (main): Move the dynamic allocation of
  3758. system_name outside of the SERVER_HOME_DIR conditional.
  3759. * emacsserver.c (main): Likewise.
  3760. 1999-08-10 Gerd Moellmann <gerd@gnu.org>
  3761. * grep-changelog: New.
  3762. * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
  3763. 1999-07-12 Richard Stallman <rms@gnu.org>
  3764. * Version 20.4 released.
  3765. 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
  3766. * Makefile.in (clean): Remove fns*.el.
  3767. 1999-06-23 Dave Love <fx@gnu.org>
  3768. * etags.c (erlang_attribute): Fix undefined variable usage (after
  3769. Potortì).
  3770. 1999-05-02 Andrew Innes <andrewi@gnu.org>
  3771. * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
  3772. mapped to _chsize.
  3773. 1999-04-29 Richard M. Stallman <rms@gnu.org>
  3774. * emacsclient.c (main, both versions): Use quote_file_name on cwd.
  3775. 1999-03-30 Dave Love <fx@gnu.org>
  3776. * sorted-doc.c (main): Split up tables. Modify the preamble
  3777. somewhat.
  3778. 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
  3779. * makefile.nt: Remove common multiple file compilation commands.
  3780. 1999-02-26 Richard Stallman <rms@gnu.org>
  3781. * Makefile.in (yow): Depend on epaths.h, not paths.h.
  3782. * yow.c: Refer to epaths.h.
  3783. 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
  3784. * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
  3785. 1999-01-27 Andrew Innes <andrewi@gnu.org>
  3786. * makefile.nt: Do make version comparison as strings.
  3787. 1999-01-25 Richard Stallman <rms@gnu.org>
  3788. * emacsclient.c (xmalloc): Fix previous change.
  3789. 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
  3790. * emacsclient.c (xmalloc): Declare to return long.
  3791. 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
  3792. * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
  3793. the case of the drive letter.
  3794. 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
  3795. * emacsserver.c (main): Eliminate arbitrary limit on
  3796. length of system_name.
  3797. * emacsclient.c (main): Eliminate arbitrary limit on
  3798. length of system_name.
  3799. (xmalloc): Define unconditionally.
  3800. 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
  3801. * etags.c (relative_filename): Stop backward search at beginning
  3802. of string, since non-Unix systems can have absolute paths with no
  3803. initial slash.
  3804. 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
  3805. * makefile.nt: Do string comparison of _NMAKE_VER.
  3806. 1998-11-03 Theodore Jump <tjump@cais.com>
  3807. * makefile.nt: Compile multiple source files when possible.
  3808. 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
  3809. * Makefile.in: Replace tabs with spaces
  3810. when they might confuse some Make versions.
  3811. 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
  3812. * emacsclient.c (main): Null-terminate system_name.
  3813. * emacsserver.c (main): Null-terminate system_name.
  3814. 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3815. * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
  3816. an error message from POP, mention that it's from POP, to
  3817. distinguish it from local error messages.
  3818. 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3819. * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
  3820. order of messages downloaded from a POP server (e.g., if the
  3821. server stores messages in mailboxes in reverse order).
  3822. 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
  3823. * Version 20.3 released.
  3824. 1998-08-11 Paul Eggert <eggert@twinsun.com>
  3825. * rcs2log: Update copyright date and bug report address.
  3826. (initialize_fullname): Prefer getent if available.
  3827. 1998-07-30 Paul Eggert <eggert@twinsun.com>
  3828. * Makefile.in (REGEXPDEPS, regex.o):
  3829. Prepend $(srcdir)/ to rule dependencies outside this dir.
  3830. 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
  3831. * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
  3832. 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
  3833. * Makefile.in: Properly terminate a comment.
  3834. 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
  3835. * movemail.c (sys_wait): Rename to wait.
  3836. * ntlib.h: Undefine _WINSOCKAPI_.
  3837. * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
  3838. 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
  3839. * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
  3840. 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
  3841. * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
  3842. Force all file i/o to be in binary mode. Include ntlib.h.
  3843. 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
  3844. * make-docfile.c: Include <unistd.h> for chdir.
  3845. 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
  3846. * etags.c (TEX_decode_env): Don't free the value getenv returns.
  3847. 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
  3848. * makefile.nt (obj): Update with new files in src.
  3849. (clean): Delete patch scratch files, optimized compilation dir.
  3850. 1998-04-08 Dave Love <fx@gnu.org>
  3851. * emacsclient.c: Move inclusion of unistd.h to top, else fails on
  3852. Irix6, at least.
  3853. 1998-04-06 Andreas Schwab <schwab@gnu.org>
  3854. Silence -Wimplicit:
  3855. * movemail.c: Move cancelations up. Include <stdlib.h> if
  3856. available.
  3857. * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
  3858. (parse_header): Explicitly declare return type.
  3859. * emacsserver.c: Include <unistd.h> if available.
  3860. (main, handle_signals, perror_1, fatal_error): Explicitly declare
  3861. return types. Add forward declarations.
  3862. * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
  3863. Don't declare geteuid.
  3864. (print_help_and_exit): Change return type to void.
  3865. Forward declare it.
  3866. * b2m.c: Include <stdlib.h> if available.
  3867. (main): Explicitly declare return type.
  3868. 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
  3869. * etags.c (put_entries): Use %ld.
  3870. * b2m.c (fatal): Declare the arg.
  3871. 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
  3872. * pop.c (pop_getline): Rename from getline.
  3873. 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
  3874. * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
  3875. for the utilities.
  3876. 1998-01-23 Dave Love <d.love@dl.ac.uk>
  3877. * etags.c (getit, Cobol_paragraphs, Pascal_functions,
  3878. Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
  3879. Always make named tags.
  3880. (Fortran_functions): Grok BLOCK DATA.
  3881. 1998-01-23 Andreas Schwab <schwab@gnu.org>
  3882. * movemail.c (main): Fix interwoven brace and cpp conditional
  3883. nesting.
  3884. 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
  3885. * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
  3886. with a '>' any lines starting with "From " read from the POP server,
  3887. but leave the code in place, wrapped in #ifdef
  3888. MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
  3889. because it turns out that something is depending on it.
  3890. Change suggested by Paul Eggert <eggert@twinsun.com>.
  3891. Convert the character \037 (^_) at the beginning of a line into
  3892. the character '^' followed by the character '_', because otherwise
  3893. Emacs can't parse the resulting file as a valid BABYL file.
  3894. Change suggested by Paul Eggert <eggert@twinsun.com>.
  3895. 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3896. * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
  3897. server to contain embedded nulls.
  3898. 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3899. * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
  3900. quotes with a '>' any lines starting with "From " read from the
  3901. POP server, but leave the code in place, wrapped in #ifdef
  3902. MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
  3903. because it turns out that something is depending on it.
  3904. Change suggested by Paul Eggert <eggert@twinsun.com>.
  3905. Convert the character \037 (^_) at the beginning of a line into
  3906. the character '^' followed by the character '_', because otherwise
  3907. Emacs can't parse the resulting file as a valid BABYL file.
  3908. Change suggested by Paul Eggert <eggert@twinsun.com>.
  3909. 1997-11-22 Richard Stallman <rms@gnu.org>
  3910. * b2m.c: Include getopt.h.
  3911. (main): Use getopt_long to handle --version and --help.
  3912. * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
  3913. 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3914. * pop.c (fullwrite): Get rid of an extra call to write.
  3915. Problem pointed out by Chiaki Ishikawa.
  3916. 1997-10-16 Dave Love <d.love@dl.ac.uk>
  3917. * etags.c (L_getit): Always make named tags so that Emacs
  3918. completion on symbols containing `:' etc. works.
  3919. (get_scheme): Likewise.
  3920. 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3921. * pop.c: Use system header files instead of declaring C-library
  3922. functions explicitly.
  3923. 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  3924. * Version 20.2 released.
  3925. 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  3926. * Version 20.1 released.
  3927. 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
  3928. * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
  3929. * ntlib.c (getpid): Delete function.
  3930. 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3931. * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
  3932. 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3933. * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
  3934. (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
  3935. 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  3936. * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
  3937. 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
  3938. * profile.c (get_time): Cast arg to fprintf.
  3939. * hexl.c (main): Use %08lx instead of %08x in printf because the
  3940. variable named addresses is long.
  3941. 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
  3942. * makefile.nt (lisp): Update paths to lisp files that have moved.
  3943. 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
  3944. * makefile.nt (ctags.obj): New target.
  3945. (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
  3946. * ntlib.h: Add includes.
  3947. Undo definitions of crt routines from config.h.
  3948. 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  3949. * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
  3950. 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  3951. * pop.c: Support auto-configuration of both Kerberos V4 and
  3952. Kerberos V5 for movemail, including detection of V4 and V5 header
  3953. files and libraries.
  3954. Include <string.h> when STDC_HEADERS is defined, to get
  3955. declarations of string functions.
  3956. [KERBEROS5] (socket_connection): Support the current MIT Kerberos
  3957. V5 API rather than the old one.
  3958. [KERBEROS] (socket_connection): Change a constant name from
  3959. SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
  3960. with a constant in a header file.
  3961. * Makefile.in: Support auto-configuration of both Kerberos V4 and
  3962. Kerberos V5 for movemail, including detection of V4 and V5 header
  3963. files and libraries.
  3964. 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  3965. * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
  3966. * etags.c [HAVE_UNISTD_H]: Include unistd.h.
  3967. 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  3968. * emacsclient.c [C_ALLOCA] (xmalloc): New function.
  3969. 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  3970. * movemail.c (rindex): Add declaration.
  3971. 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
  3972. * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
  3973. (movemail.exe): Depend upon and link with getopt files.
  3974. (obj): Include new source files.
  3975. (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
  3976. (lisp): Include new and reorganized elisp files.
  3977. 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  3978. * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
  3979. 1997-06-25 Paul Eggert <eggert@twinsun.com>
  3980. * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
  3981. 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
  3982. * b2m.c (readline): Terminate buffer properly when EOF seen.
  3983. Test for valid pointer before dereferencing it.
  3984. 1997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  3985. * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
  3986. defined inside etags.c if HAVE_CONFIG_H is defined.
  3987. 1997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  3988. * etags.c (logical): Type name changed to bool.
  3989. (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
  3990. (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
  3991. (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
  3992. (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
  3993. (longopts): New long options without short counterpart are
  3994. globals, members, no-globals, no-members. Regexp options are now
  3995. defined conditionally to ETAGS_REGEXPS.
  3996. (print_help): Update.
  3997. 1997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  3998. * etags.c (C_entries): Use "." instead of "::" for Java.
  3999. (consider_token): is_func renamed to is_func_or_var.
  4000. (C_entries): is_func renamed to funorvar.
  4001. (C_entries): Initialize tok.named.
  4002. (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
  4003. get rid of "import", "package" and "friend".
  4004. (fvdef): Rename from funcdef. Also some constants renamed.
  4005. All users changed.
  4006. (C_entries): Make separate tags for variables separated by comma.
  4007. (globals, members): New flags.
  4008. (main, C_entries): Use them.
  4009. (make_C_tag, C_entries): Make tok a global variable.
  4010. 1997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4011. * etags.c (funcdef): New vignore constant.
  4012. (consider_token, C_entries): Use it to tag global variables.
  4013. (print_help): Update for global variables.
  4014. (consider_token, C_entries): Set the len member of token_name.
  4015. (prolog_pred): Cleanup according to GNU coding standards.
  4016. (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
  4017. (prolog_white, erlang_white): Rename to eat_white, callers changed.
  4018. 1997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4019. * etags.c (CHARS, CHAR): New constant and macro.
  4020. (iswhite, begtoken, intoken, endtoken): Use them.
  4021. (notinname, _nin, nonam): New macro, array, string.
  4022. (init): Cleanup and init _nin.
  4023. (new_pfnote): New function.
  4024. (make_C_tag) [traditional_tag_style]: Use it.
  4025. (traditional_tag_style): Constant set to TRUE for now.
  4026. 1997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4027. * etags.c (C_entries, Pascal_functions): Cleanup.
  4028. (TeX_functions): NULL as a function arg needs a cast.
  4029. (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
  4030. 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4031. * etags.c (TeX_functions): Cleaned up.
  4032. (tex_getit): Remove.
  4033. 1997-05-13 Paul Eggert <eggert@twinsun.com>
  4034. * rcs2log (files): When computing arguments automatically, ignore
  4035. non-files within the RCS subdirectory.
  4036. 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4037. * etags.c (C_JAVA): New #define.
  4038. (Cjava_suffixes): .java is Java.
  4039. (Cjava_entries): New function.
  4040. (lang_names): Add Java.
  4041. (sym_type): Add st_C_javastruct for Java.
  4042. (C_stab_entry): Add `extends' and `implements' keywords.
  4043. (consider_token, C_entries): Recognize Java structures.
  4044. 1997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4045. * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
  4046. (Postscript_suffixes): .ps is PostScript.
  4047. (lang_names): Add postscript.
  4048. (Postscript_functions): New function.
  4049. (TEX_decode_env): Close minor memory leak.
  4050. (just_read_file): Correct the char number of the tag.
  4051. 1997-05-11 Paul Eggert <eggert@twinsun.com>
  4052. * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
  4053. Don't prepend $nl since this causes some shells to generate the
  4054. empty string when IFS is $nl.
  4055. (printlogline): Use SOH (octal code 1), not CR, since some
  4056. PC-based shells mishandle CR.
  4057. (initialize_fullname): Set NIS_PATH to the empty string before invoking
  4058. nismatch, in case it's set to some nonstandard value.
  4059. 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  4060. * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
  4061. read in separate blocks.
  4062. 1997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4063. * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
  4064. (struct linebuffer): New member `len' is the length of the string.
  4065. (find_entries, Pascal_functions, TeX_functions, TEX_getit):
  4066. Use it instead of strlen.
  4067. (TEX_getit): Declare and define unconditionally as static.
  4068. (TeX_functions): Use if instead of #if TeX_named_tokens.
  4069. (add_regex): Set RE_INTERVALS flag for regex compilation.
  4070. (substitute): Code cleanup.
  4071. (readline_internal): Code cleanup, set new member `len'.
  4072. (readline): Bug corrected.
  4073. 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
  4074. * makefile.nt: Change references of windowsnt.h to ms-w32.h.
  4075. (obj): Change references of nt*.c files to w32*.c files.
  4076. 1997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4077. * etags.c (xnew): Add support for debugging with chkmalloc.
  4078. (error): Use this instead of printf whenever possible.
  4079. (main): Only call xnew after having initialized progname.
  4080. (substitute): Bad memory corruption error corrected.
  4081. 1997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4082. * etags.c (add_regex): Undo previous change.
  4083. (relative_filename): Small memory leak closed.
  4084. (absolute_filename): Cleaned up the code, possibly closing a bug.
  4085. (absolute_dirname): Always return a newly allocated string.
  4086. 1997-03-21 Paul Eggert <eggert@twinsun.com>
  4087. * rcs2log (files): Ignore files in RCS directory whose names are
  4088. of the form ,*, or *_; they are probably RCS lock files.
  4089. Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
  4090. they are used by rcsfreeze.
  4091. 1997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4092. * etags.c (add_regex): Reset *putbuf before using it.
  4093. 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  4094. * movemail.c (popmail): Remove some unnecessary function
  4095. declarations.
  4096. (popmail, pop_retr): Since popmail always passes mbx_write and mbf
  4097. into pop_retr, there's no reason to pass in mbx_write, and the
  4098. file argument can be declared FILE * explicitly. This fixes a
  4099. compilation problem on systems with 64-bit pointers.
  4100. 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
  4101. * movemail.c: Delete duplicate inclusion of fcntl.h
  4102. and duplicate #undefs of open, read, write, close.
  4103. 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
  4104. * movemail.c (main): Do not display "[POP-password]" in the usage
  4105. message when movemail is compiled without POP support.
  4106. (main, popmail): Add the optional "-p" argument, which causes
  4107. movemail to leave mail in the inbox after copying it into the
  4108. output file.
  4109. * Makefile.in (movemail): Link with getopt.
  4110. 1997-01-20 Paul Eggert <eggert@twinsun.com>
  4111. * rcs2log (--help, --version): New options, per GNU coding standards.
  4112. (Copyright, Help, Id): New variables, for above.
  4113. (rlog): Use -q option with cvs log, to avoid useless chatter.
  4114. Treat logs of "Initial revision" (RCS) or "file F was initially added
  4115. on branch B." (CVS) as if they said "New file.", for consistency with
  4116. change log entries.
  4117. 1997-01-01 Paul Eggert <eggert@twinsun.com>
  4118. * vcdiff (PATH): Add /usr/xpg4/bin,
  4119. where XPG4 SCCS hangs out in Solaris 2.5.
  4120. (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
  4121. 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4122. * etags.c (streq, strneq): Use == NULL rather than !.
  4123. 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
  4124. * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
  4125. (movemail): Use LIBMAIL, to link against -lmail.
  4126. * movemail.c: Include maillock.h (conditionally).
  4127. Remove a redundant inclusion of <stdio.h>.
  4128. (MAIL_USE_MAILLOCK): New macro, conditionally defined.
  4129. (main): Add variable spool_name.
  4130. Support the usage of maillock and mailunlock to
  4131. lock and unlock mailboxes.
  4132. (mail_spool_name): New function.
  4133. * movemail.c: Fix an uninitialized variable which could cause
  4134. movemail to exit with an error status incorrectly on systems which
  4135. use lock files rather than a system locking function to lock
  4136. mailboxes.
  4137. 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  4138. * pop.c (socket_connection): Free realhost after using it.
  4139. 1996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4140. * etags.c (C_entries): Test tok.valid. This handles some
  4141. particular cases involving function declarations that failed.
  4142. 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
  4143. * pop.c (socket_connection):
  4144. gethostbyname may return a pointer to static data.
  4145. krb_realmofhost can clobber it. So copy it.
  4146. 1996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4147. * etags.c (pfnote, fatal, error): Callers using a NULL pointer
  4148. must cast it to (char *) because we have no prototypes.
  4149. (make_C_tag): Macro deleted, new function.
  4150. (C_entries): Calls to make_C_tag macro changed to call function.
  4151. 1996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4152. * etags.c (grow_linebuffer): New function.
  4153. (GROW_LINEBUFFER): Macro deleted. All callers changed.
  4154. (make_tag): Macro renamed to make_C_tag. All callers changed.
  4155. (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
  4156. (Prolog_functions): prolog_skip_comment was called with wrong
  4157. number of arguments.
  4158. (xrealloc): fatal was called with wrong number of arguments.
  4159. 1996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4160. * etags.c (relative_filename): Bug corrected.
  4161. (etags_getcwd): Avoid warning of unused variable.
  4162. (C_entries, consider_token): Add support for enum labels.
  4163. 1996-11-03 Paul Eggert <eggert@twinsun.com>
  4164. * rcs2log: When processing cvs log output, remove `Attic/' from
  4165. repository file names.
  4166. 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4167. * emacsserver.c: Fix 1996-09-02 change.
  4168. 1996-10-12 Paul Eggert <eggert@twinsun.com>
  4169. * rcs2log (rlog_options): Look for ' option' rather than 'unknown
  4170. option', since CVS says 'invalid option'.
  4171. (datearg): Use the empty string, not '-d>1970-01-01', to extract all
  4172. revisions, since some hosts reject 1970-01-01 when east of UTC.
  4173. (date): Remove.
  4174. 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4175. * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
  4176. 1996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4177. * etags.c (print_version): Print copyright info.
  4178. * etags.c (print_help): Print the bug reporting address.
  4179. (main): Use return as the last instruction, instead of exit.
  4180. * etags.c (main): Don't open the tags file in cxref mode.
  4181. 1996-09-29 Dave Love <d.love@dl.ac.uk>
  4182. * rcs2log (date): Make default format acceptable to CVS post v1.8
  4183. as well as earlier CVSs and RCS.
  4184. 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4185. * movemail.c (main): If the lock call fails with EBUSY or
  4186. EAGAIN, retry a few times.
  4187. 1996-09-25 Paul Eggert <eggert@twinsun.com>
  4188. * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
  4189. whether to append -zLT.
  4190. 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4191. * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
  4192. * emacsclient.c, movemail.c: Likewise.
  4193. 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4194. * emacsclient.c (longopts): Change nowait to no-wait.
  4195. (print_help_and_exit): Fix option name; upcase metavars.
  4196. 1996-09-06 Erik Naggum <erik@naggum.no>
  4197. * emacsserver.c (main): Declare `fromlen' as size_t.
  4198. 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
  4199. * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
  4200. 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4201. * emacsclient.c (quote_file_name): Quote with &, not \.
  4202. Quote `-' only at start of file name. Terminate the value string.
  4203. * emacsserver.c: Include signal.h properly;
  4204. delete the duplicate includes for it.
  4205. * emacsserver.c: On fatal signal, delete socket-file:
  4206. * emacsserver.c: Include signal.h.
  4207. (xmalloc, fatal, error): New functions.
  4208. (delete_socket, handle_signals): New functions.
  4209. (progname, socket_name): New variables.
  4210. [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
  4211. 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4212. * emacsclient.c (quote_file_name): New function.
  4213. (main, both versions): Use quote_file_name.
  4214. (decode_options): Don't return a value.
  4215. (main, both versions): Use optind.
  4216. Don't check for -nowait here.
  4217. * emacsclient.c (decode_options): New function.
  4218. (main, both versions): Call decode_options.
  4219. (print_help_and_exit): New function.
  4220. (VERSION): New macro.
  4221. * Makefile.in (emacsclient): Link with getopt.
  4222. Add -DVERSION so emacsclient knows its version number.
  4223. 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
  4224. * makefile.nt (lisp): Include dos-nt.elc.
  4225. 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4226. * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
  4227. 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  4228. * emacsclient.c (both versions): Handle -nowait and --nowait
  4229. by sending data to the server.
  4230. 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4231. * Makefile.in (INSTALL_STRIP): New variable.
  4232. (${archlibdir}): Use INSTALL_STRIP.
  4233. * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
  4234. HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
  4235. * pop.c: Reverse conditional in previous change.
  4236. 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
  4237. * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
  4238. 1996-08-24 Paul Eggert <eggert@twinsun.com>
  4239. * rcs2log: Use ISO 8601 date format, with time zone appended
  4240. if change-log-time-zone-rule is non-nil, instead of
  4241. traditional Unix date format.
  4242. (datearg): When computing default from ChangeLog, handle ISO format
  4243. dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
  4244. Don't worry about hh:mm:ss since the resolution is now by day.
  4245. Use empty datearg, not empty rlog_options, to decide whether to pass
  4246. "$datearg" option to $rlog.
  4247. (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
  4248. (month_data): Remove `mo'; no longer needed.
  4249. (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
  4250. Match `revision' line of rlog output more accurately.
  4251. Add -c, -v options.
  4252. 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
  4253. * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
  4254. 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  4255. * Version 19.33 released.
  4256. 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  4257. * Version 19.32 released.
  4258. 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
  4259. * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
  4260. computing character positions in source files.
  4261. 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
  4262. * makefile.nt (clean): Use OBJDIR macro.
  4263. 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4264. * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
  4265. 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
  4266. * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
  4267. * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
  4268. * etags.c, fakemail.c, profile.c: Declare main as int, not void.
  4269. 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
  4270. * ntlib.h: Correct return type of getwd.
  4271. * ntlib.c (getwd): Correct return type.
  4272. 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
  4273. * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
  4274. to infile.
  4275. 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
  4276. * makefile.nt: Remove all references to wakeup.
  4277. 1996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4278. * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
  4279. explicit, mutable, typename.
  4280. 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  4281. * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
  4282. streams, one for sending and one for reading the reply.
  4283. 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  4284. * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
  4285. (wakeup): Target deleted.
  4286. (UTILITIES): Delete wakeup and timer.
  4287. * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
  4288. 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
  4289. * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
  4290. * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
  4291. 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
  4292. * etags.c (main): Copy cwd when appending slash.
  4293. 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4294. * Version 19.31 released.
  4295. 1996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4296. * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
  4297. (Pascal_functions): Increase linecharno by the correct number of
  4298. chars, inline the GET_NEW_LINE macro and delete its definition.
  4299. 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
  4300. * makefile.nt (OBJDIR, BLD): Remove macro definitions.
  4301. 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
  4302. * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
  4303. (movemail.exe, fakemail.exe): Now built under Win32.o.
  4304. * ntlib.c: Include ntlib.h.
  4305. (nt_sleep): Rename to sleep.
  4306. (getwd): Return directory.
  4307. (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
  4308. sys_ctime, sys_fopen): New functions.
  4309. * ntlib.h: New file.
  4310. 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
  4311. * pop.c (SEND, RECV): Rename from send, recv.
  4312. (pop_open, pop_trash): Make the trash_started code unconditional.
  4313. (socket_connection): Delete casts to void.
  4314. 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
  4315. * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
  4316. Definitions copied from lisp.h.
  4317. 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
  4318. * fakemail.c [WINDOWSNT]: Include ntlib.h.
  4319. * hexl.c [DOSNT]: Include fcntl.h.
  4320. [WINDOWSNT]: Include io.h.
  4321. (main) [MSDOS]: Change conditional to DOS_NT.
  4322. * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
  4323. (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
  4324. [WINDOWSNT]: Include locking.h.
  4325. (main): Update usage message. Use IS_DIRECTORY_SEP.
  4326. (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
  4327. (main) [WINDOWSNT]: Invoke locking instead of flock.
  4328. (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
  4329. (main) [MAIL_USE_POP]: Pass password to popmail if used.
  4330. Include winsock.h; don't include unix inet headers.
  4331. (popmail): Add password argument and pass it to pop_open.
  4332. Open output file in binary mode.
  4333. * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
  4334. Macro SOCKET_ERROR undefined.
  4335. Don't declare h_errno.
  4336. [!WINDOWSNT]: Define macros recv and send.
  4337. [!WINDOWSNT] (POP_SERVICE): Change to pop3.
  4338. (pop_open) [WINDOWSNT]: Initialize trash_started.
  4339. (have_winsock) [WINDOWSNT]: New variable.
  4340. (socket_connection) [WINDOWSNT]: Initialize winsock.
  4341. (socket_connection): Use closesocket instead of close.
  4342. (getline): Use recv instead of read.
  4343. (fullwrite): Use send instead of write.
  4344. (pop_trash): Use closesocket instead of close.
  4345. (pop_trash) [WINDOWSNT]: Cleanup winsock.
  4346. Check if being called recursively by sendline.
  4347. * pop.h (struct _popserver): New field trash_started.
  4348. * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
  4349. 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4350. * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
  4351. 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4352. * etags.c [WINDOWSNT]: Include io.h.
  4353. 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
  4354. * makefile.nt (CTAGSOBJ): Compile with regexp support.
  4355. 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
  4356. * hexl.c [DJGPP v2]: Include io.h.
  4357. (main) [DJGPP v2]: Switch standard streams to binary with setmode.
  4358. * b2m.c (main) [MSDOS]: Switch standard streams to binary under
  4359. DJGPP v2.
  4360. 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4361. * etags.c (absolute_filename): Use absolutefn.
  4362. 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
  4363. * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
  4364. letter isn't an alphabetic character.
  4365. (main) [DOS_NT]: Use binary mode on redirected `stdout'.
  4366. (process_file) [DOS_NT]: Convert all slashes to forward style.
  4367. (absolute_filename) [DOS_NT]: Emit error message for relative
  4368. paths with a drive letter.
  4369. (absolute_filename) [DOS_NT]: Handle absolute pathnames with
  4370. DOS/NT drive letters which try to reference the parent of the root.
  4371. (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
  4372. 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
  4373. * makefile.nt: Change uses of del to $(DEL).
  4374. 1996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4375. * etags.c (just_read_file): Reset lineno and charno on entry.
  4376. 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
  4377. * etags.c: Prolog language totally rewritten.
  4378. (Prolog_functions): Rewritten from scratch.
  4379. (skip_comment, prolog_getit): Remove.
  4380. (prolog_skip_comment): New function, like old skip_comment.
  4381. (prolog_pred, prolog_atom, prolog_white): New functions.
  4382. (erlang_func, erlang_attributes): Forward declarations added.
  4383. (erlang_atom): Check if backslash ends line inside quoted atom.
  4384. 1996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
  4385. * etags.c (absolutefn): DOS_NT version corrected.
  4386. (main): Append "/" to the dir name only if not already there.
  4387. (print_help): Explain the absolute/relative file name issue.
  4388. 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
  4389. * etags.c: New Language Erlang added.
  4390. (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
  4391. (erlang_white): New functions.
  4392. (Erlang_suffixes): New suffix list.
  4393. (lang_names): Erlang entry added.
  4394. (prolog_getit): Accepts headers spanning several lines.
  4395. Always name tags.
  4396. (Prolog_functions): Remove incorrect compensation for
  4397. newline characters.
  4398. (readline_internal): Zero-terminate last line.
  4399. 1996-03-20 Mike Long <mike.long@analog.com>
  4400. * b2m.c (main): Initialize progname variable before using it.
  4401. Quote `username' in From_ header.
  4402. 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
  4403. * ntlib.c (getpid): New function.
  4404. 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
  4405. * emacsclient.c (main, both definitions):
  4406. Print a newline for normal termination.
  4407. 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
  4408. * tcp.c (main): Convert port to network byte order.
  4409. 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4410. * pop.c (pop_retrieve, getline): Avoid type clashes.
  4411. 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4412. * etags.c (enum sym_type, anonymous enum): Delete final comma.
  4413. 1996-01-15 Paul Eggert <eggert@twinsun.com>
  4414. * rcs2log (initialize_fullname): Add support for NIS+.
  4415. (hostname): Fully qualify the default hostname with the domainname
  4416. if the hostname lacks a `.'.
  4417. 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4418. * etags.c (consider_token): Fix typo in expression.
  4419. 1996-01-04 Paul Eggert <eggert@twinsun.com>
  4420. * etags.c (substitute): Fix spelling in message.
  4421. 1996-01-03 George V. Reilly <georger@microcrafts.com>
  4422. * makefile.nt (etags, ctags): Compile with regexp support.
  4423. (make-docfile, wakeup, etags, ctags, hexl): Ensure build
  4424. subdirectory exists before compiling.
  4425. 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4426. * emacsserver.c (main): Do chmod based on existing permission.
  4427. 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4428. * Makefile.in (install): Turn on read/execute permission.
  4429. 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
  4430. * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
  4431. (LOADLIBES): Use LIB_STANDARD_LIBSRC.
  4432. 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
  4433. * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
  4434. 1995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
  4435. * etags.c (pfnote): Don't make a tag for ctags if there is no name.
  4436. (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
  4437. get_scheme, prolog_getit): Name the tag in ctags mode.
  4438. (pfnote): Truncate ctags lines to 50 chars, like it worked once.
  4439. (Perl_interpreters): Accept "@PERL@" as an interpreter.
  4440. (suggest_asking_for_help): New function.
  4441. (main, get_language_from_name): Use suggest_asking_for_help.
  4442. (main): Let get_language_from_name make language existence check.
  4443. (streq, strneq): Check the arguments #if DEBUG.
  4444. 1995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
  4445. * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
  4446. (gperf): Add keywords for Objective C and GNU macros.
  4447. (sym_type): Add values to account for Objective C and GNU macros.
  4448. (begtk): The '@' character can start a token.
  4449. (objdef, methodlen, objtag): New variables for Objective C.
  4450. (consider_token, C_entries): Add code for Objective C.
  4451. (plain_C_suffixes): Add .m and .lm for Objective C.
  4452. (Yacc_suffixes): Add .ym for Objective yacc.
  4453. (GROW_LINEBUFFER): New macro.
  4454. (consider_token, C_entries, Pascal_functions): Use the new macro.
  4455. (consider_token): Take one more argument. Caller changed.
  4456. (consider_token): Use the hashing function to spot GNU macros.
  4457. (C_entries): Consider // as a comment start even in plain C for
  4458. the sake of Objective C parsing.
  4459. 1995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
  4460. * Makefile.in (ctags): Depend on etags only for simplicity;
  4461. compile with regexp support enabled.
  4462. 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4463. * Version 19.30 released.
  4464. 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
  4465. * makefile.nt (DOC, clean): Don't use switches to del not
  4466. supported by Windows 95.
  4467. 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4468. * Makefile.in (regex.o): Depend on ../src/config.h.
  4469. 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4470. * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
  4471. (LOADLIBES): Use LIB_STANDARD.
  4472. 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
  4473. * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
  4474. w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
  4475. Windows 95 conditional.
  4476. 1995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
  4477. * etags.c (get_lang_from_name, get_lang_from_interpreter)
  4478. (get_lang_from_suffix): New functions.
  4479. (get_language): Function deleted.
  4480. (lang_entry): Two members added to struct.
  4481. (lang_names): Reflect the new layout of lang_entry.
  4482. (print_language_names, main, find_entries): Use the new functions.
  4483. (find_entries): Look at the first line for #! if no language.
  4484. (C_entries): Invalidate the token when funcdef is reset.
  4485. (Perl_functions): New function.
  4486. (lang_suffixes): .pl and .pm are Perl suffixes.
  4487. 1995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
  4488. * etags.c (lowcase): Use the standard tolower function.
  4489. (substitute): Remove some wrong and some useless code related with
  4490. escape '\' character in regexp replacement string.
  4491. (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
  4492. (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
  4493. .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
  4494. .prolog for prolog (.pl removed).
  4495. (massage_name, etags_getcwd): Use lowcase instead of tolower.
  4496. (C_entries, find_entries): Add comments about memory leakage.
  4497. (add_node): Dead code removed.
  4498. 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4499. * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
  4500. (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
  4501. 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4502. * test-distrib.c: Add #undef for open, close, read, write.
  4503. 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4504. * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
  4505. [! O_RDONLY]: Define it to zero.
  4506. (main): Use O_RDONLY instead of explicit zero.
  4507. 1995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
  4508. * etags.c (Pascal_functions): Close comment bug corrected.
  4509. (add_node): Correctly compare node file names.
  4510. (Pascal_functions): Correctly allocate and free memory for tline.
  4511. (pfnote): Put the definition of fp in the innermost block.
  4512. (NODE): `named' member removed.
  4513. (pfnote, free_tree, put_entries, total_size_of_entries): Do not
  4514. use the `named' member, check whether `name' is NULL instead.
  4515. (pfnote): `named' argument removed, all callers changed.
  4516. (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
  4517. TeX_functions, TEX_getit, prolog_getit): Useless string allocation
  4518. removed from pfnote call, some code cleanup.
  4519. (relative_filename): Free temporary space allocated by concat.
  4520. 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4521. * Makefile.in (getdate.c): New target.
  4522. (getdate.o): Just compile getdate.c.
  4523. 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4524. * fakemail.c (xrealloc): Change cast to match return type.
  4525. 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4526. * fakemail.c (xmalloc, xrealloc): Use return-type long *.
  4527. 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4528. * movemail.c (main): Fix previous change.
  4529. Add error check for empty OUTNAME.
  4530. 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4531. * movemail.c (main): Mention lock file name in error message.
  4532. 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4533. * profile.c (gettimeofday): New function, defined if necessary.
  4534. 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4535. * Makefile.in: Renamed from Makefile.in.in.
  4536. (distclean): Delete Makefile.c, not Makefile.in.
  4537. 1995-07-17 Michael Shields <shields@tembel.org>
  4538. * Makefile.in.in (tags): Synonym for `TAGS'.
  4539. 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4540. * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
  4541. configure has already set $(INSTALL) to the proper relative path.
  4542. 1995-07-08 Paul Eggert <eggert@twinsun.com>
  4543. * rcs2log (datearg): Separate date from time with comma, not space,
  4544. to work around CVS 1.5 bug.
  4545. (CVSROOT): Don't abort when unset if repository is absolute.
  4546. 1995-07-07 Paul Eggert <eggert@twinsun.com>
  4547. * rcs-checkin, rcs2log, vcdiff:
  4548. Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
  4549. that interpret `#! /' as a 4-byte magic number.
  4550. 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
  4551. * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
  4552. mailbox with "po:mailbox", the mailbox is everything after the
  4553. "po:" prefix.
  4554. 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4555. * emacsserver.c: Make all error messages start with `Error: '.
  4556. (fatal_error, perror_1): New functions, use throughout.
  4557. 1995-06-28 Paul Eggert <eggert@twinsun.com>
  4558. * rcs2log (CVSROOT, repository):
  4559. Allow remote repositories a la CVS 1.4.
  4560. 1995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
  4561. * etags.c (plain_C_entries): New function.
  4562. (lowcase): New macro.
  4563. (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
  4564. (lang_suffixes): New suffix ".pc" for Pro*C files.
  4565. (consider_token): Don't tag all tokens beginning with DEFUN & Co..
  4566. (tail): Look for the end of the token when comparing.
  4567. (takeprec): Since now tail behaves differently, use strneq.
  4568. 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4569. * movemail.c (main): Add newline in usage message.
  4570. 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4571. * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
  4572. 1995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
  4573. * etags.c (find_entries): Rewind before rereading the input file.
  4574. 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4575. * Version 19.29 released.
  4576. * make-docfile.c (main) [MSDOS]: Do set _fmode.
  4577. This undoes part of the previous change.
  4578. 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4579. * make-docfile.c (main): On MSDOS, don't change stdout
  4580. to binary, and insist on an -o option.
  4581. 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
  4582. * etags.c (process_file, absolute_filename): Handle filenames
  4583. starting with a drive letter.
  4584. * makefile.nt (install): Copy wakeup.exe properly.
  4585. 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4586. * make-docfile.c [MSDOS]: #undef chdir.
  4587. 1995-06-04 Paul Eggert <eggert@twinsun.com>
  4588. * rcs2log (output_authors): Allow ':' in time zone,
  4589. as per ISO 8601 and RCS 5.6.8 beta.
  4590. 1995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
  4591. * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
  4592. compatibility problems.
  4593. 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
  4594. * etags.c (etags_getcwd): Don't use #elif.
  4595. Have just one function body.
  4596. 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
  4597. * makefile.nt (LIBS): Use BASE_LIBS.
  4598. (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend
  4599. upon LIBS.
  4600. (DOC): Use del instead of rm.
  4601. (DOC) [WINDOWS95]: Use DOC.
  4602. (clean): Handle MSVC aux files.
  4603. (config.h, paths.h): Use $(CP) instead of cp.
  4604. (config.h): Use $(CONFIG_H)
  4605. (make-docfile.obj): Depend upon config.h.
  4606. Clean up comments.
  4607. 1995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
  4608. * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
  4609. former gives the true path even in the presence of simlinks.
  4610. 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4611. * movemail.c (main): Increase lock timeout to five minutes.
  4612. 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
  4613. * makefile.nt (obj): Use .c files.
  4614. 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4615. * make-docfile.c: Include config.h.
  4616. (NO_SHORTNAMES): New definition.
  4617. (xmalloc): Return long *.
  4618. * etags.c (C_entries): Cast result of xrealloc.
  4619. (xmalloc, xrealloc): Declare them to return long *.
  4620. * b2m.c (xmalloc, xrealloc): Declare them long *.
  4621. * movemail.c (xmalloc): Declare it to return long *.
  4622. 1995-04-30 Paul Eggert <eggert@twinsun.com>
  4623. * rcs2log (datearg): If rlog options are specified explicitly,
  4624. omit the implicit '-d>DATE' option.
  4625. (repository, rlog): Allow absolute paths to CVS repositories.
  4626. Look only at the first line of CVS/Repository.
  4627. 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4628. * Makefile.in.in (extraclean): Depend on maintainer-clean, not
  4629. realclean.
  4630. 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4631. * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
  4632. Alternative (empty) definitions.
  4633. 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4634. * emacsclient.c (main): Add argv[0] to an error message.
  4635. 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4636. * emacsclient.c (main): Improve error handling.
  4637. * cvtmail.c (main, skip_to_lf): Improve error handling.
  4638. (sysfail): New function.
  4639. * b2m.c (main): Check for trailing ", " before trying to delete it.
  4640. 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  4641. * Makefile.in.in (all): Build test-distrib and make-docfile.
  4642. * make-docfile.c (scan_c_file): At end, restore file name last char
  4643. to its original value.
  4644. 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4645. * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
  4646. 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4647. * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
  4648. (alloca.o, regex.o): Use BASE_CFLAGS.
  4649. 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4650. * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
  4651. 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4652. * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
  4653. (SOURCES, distclean): Remove obsolete references to aixcc.
  4654. 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4655. * aixcc.lex: File deleted--surely obsolete now.
  4656. 1995-03-23 Paul Eggert <eggert@twinsun.com>
  4657. * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
  4658. portability to mawk and nawk.
  4659. 1995-03-21 Paul Eggert <eggert@twinsun.com>
  4660. * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
  4661. -u "login<tab>fullname<tab>mailaddr".
  4662. 1995-03-21 Paul Eggert <eggert@twinsun.com>
  4663. * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
  4664. replaces the (now obsolescent) -n login fullname mailaddr option.
  4665. Add -R option for recursive rlog.
  4666. (AWK): New environment variable (default `awk') for awk program name.
  4667. (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
  4668. Quote authors and fullnames correctly.
  4669. Don't omit path from repository root when logging CVS files.
  4670. 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4671. * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
  4672. even if HAVE_SYSVIPC.
  4673. * emacsclient.c (main): Use getcwd if not BSD.
  4674. 1995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
  4675. * etags.c (process_file): Free (filename) after using it.
  4676. (readline_internal): Do not access the char before start of line.
  4677. 1995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
  4678. * etags.c (C_entries): token_saved removed. Initialize tok.valid and
  4679. savetok.valid. Mark token as valid when it is initialized.
  4680. (make_tag): Make token only if token is valid and reset validity.
  4681. (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
  4682. (TOKEN): Add a new member: valid.
  4683. 1995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
  4684. * etags.c (C_entries): Bug corrected in xrealloc of token_str.
  4685. (main): Do not read twice the last filename in the stdin file list.
  4686. 1995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
  4687. * etags.c (C_entries): Initialize the new members of TOKEN.
  4688. (C_entries): Do not allocate a new space for each token found by
  4689. consider_token. Let make_tag do that instead.
  4690. (make_tag): Since now TOKEN has memory of where it is taken from,
  4691. this new macro substitutes both make_tag_from_new_lb and
  4692. make_tag_from_oth_lb. All callers changed.
  4693. (TOKEN): Add linepos and buffer members.
  4694. (main): Initialize token_str.
  4695. (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
  4696. (token_str): New global variable used by C_entries.
  4697. 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
  4698. * Makefile.in.in (maintainer-clean): Rename from realclean.
  4699. 1995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
  4700. * etags.c (pfnote): Initialize been_warned in the node.
  4701. (C_entries): Remove a speed hack for the sake of clarity.
  4702. 1995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
  4703. * etags.c (longopts, print_help, main): Use -I as abbreviation
  4704. for the --ignore-indentation option.
  4705. (main): Do not print an error message for unknown options.
  4706. 1995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
  4707. * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
  4708. (append_to_tagfile, typedefs, typedefs_and_cplusplus)
  4709. (constantypedefs, update, vgrind_style, no_warnings)
  4710. (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
  4711. (permit_duplicates): Was a var, now a #define.
  4712. (filename_lb): Was global, now local to main.
  4713. (main): Open the tag file when in cxref mode.
  4714. Use a BUFSIZ size buffer for making the shell commands.
  4715. Look at the return value from the system routine.
  4716. Exit when cannot open the tag file.
  4717. (process_file): Open the file and pass the FILE* to find_entries.
  4718. (find_entries): Now void, because does not open the file itself.
  4719. (pfnote): Recovering from lack of memory does not work. Removed.
  4720. Use savenstr and simplify the code.
  4721. (free_tree): Only free the name space if node is named.
  4722. (structtag): Now a pointer, not a fixed length array of chars.
  4723. (consider_token): Don't take a token as argument. Use savenstr
  4724. when saving a tag in structtag. Callers changed.
  4725. (TOKEN): Structure changed. Now used only in C_entries.
  4726. (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
  4727. (C_entries): nameb and savenameb deleted. Use dinamic allocation.
  4728. (pfcnt): Delete. Users updated.
  4729. (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
  4730. (TEX_getit, prolog_getit): Use dinamic allocation for storing
  4731. the tag instead of a fixed size buffer.
  4732. 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4733. * movemail.c (main): Skip past the colon in inname.
  4734. 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
  4735. * etags.c (pfatal): New function.
  4736. (main, etags_getcwd): Use pfatal.
  4737. (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
  4738. 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
  4739. * etags.c (Lang_function): Use void instead to declare the
  4740. language functions, because many compilers are buggy.
  4741. (etags_getcwd): Fix the previous fix on the #else branch.
  4742. (readline_internal): Discard possible \r before \n here.
  4743. (C_entries): Do not deal with \r here: undo previous fix.
  4744. 1995-01-09 Francesco Potortì (pot@fly)
  4745. * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
  4746. functions and a macro that allow the program to work on input
  4747. lines of whatever length. Copied from etags.c.
  4748. (fatal): Print a fatal error message and exit.
  4749. (main): Use the new functions. Fixed a bug that made a \037 char
  4750. appear at the end of the output.
  4751. 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4752. * etags.c (C_entries): Ignore carriage return at end of line.
  4753. 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4754. * fakemail.c (xmalloc, xrealloc): Add casts.
  4755. (add_field): Handle <...> and "..." syntax.
  4756. (setup_files, get_keyword): Clean up parens and line breaks.
  4757. (args_size): Likewise.
  4758. 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
  4759. * yow.c: Include program name in error messages.
  4760. 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4761. * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
  4762. (xmalloc, fatal, error): New functions.
  4763. (progname): New variable.
  4764. (main): Set progname.
  4765. 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4766. * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
  4767. (main): If socket/mqueue name is in home dir, add in the host name.
  4768. Rename .emacs_server to .emacs-server....
  4769. 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4770. * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
  4771. 1994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
  4772. * etags.c (print_help): Print --regex usage for ctags also.
  4773. (main): Use -h in addition to -H as abbreviation for --help.
  4774. 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
  4775. * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
  4776. is compiled if this is defined. The new functions and variables
  4777. added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
  4778. [VMS]: All VMS specific code previously contained in
  4779. etags-vmslib.c is now included here, modified for dealing with
  4780. language and regex options intermixed with filenames.
  4781. (header_file): Global variable deleted.
  4782. (Lang_Function): New typedef. All language parser functions
  4783. changed to this new type.
  4784. (string_numeric_p, substr, prestr): Functions deleted.
  4785. (readline_internal): Does the job that readline did previously.
  4786. (longopts): --language and --regex options added.
  4787. (lang_names, lang_extensions, lang_func, print_language_names):
  4788. New structures, variables and functions for choosing languages.
  4789. (print_help): Help strings updated. Calls print_language_names.
  4790. (argument_type, ARGUMENT): Typedefs for dealing with language and
  4791. regex options intermixed with filenames.
  4792. (main): Change the way of dealing with arguments on the command
  4793. line to deal with language and regex options intermixed with
  4794. filenames.
  4795. (get_language, default_C_entries, Cplusplus_entries,
  4796. Cstar_entries, Yacc_entries, just_read_file): New functions.
  4797. (find_entries): Use the new method for choosing the language.
  4798. (Pascal_functions): Allow intermixing of comment styles.
  4799. (prolog_getit, skip_comment): Rewritten for speed.
  4800. (readline): Rewritten to deal with regexps.
  4801. 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
  4802. * etags.c (<errno.h>): #include added.
  4803. (etags_getcwd): Check return value from getcwd.
  4804. 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4805. * profile.c (TV1, TV2): Use EMACS_TIME as type.
  4806. (get_time): Use EMACS_SUB_TIME.
  4807. 1994-10-30 Geoff Voelker <voelker@cs.washington.edu>
  4808. * ntlib.c: New file.
  4809. * makefile.nt: New file.
  4810. * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
  4811. [WINDOWSNT]: Include the NT headers.
  4812. (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
  4813. * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
  4814. [WINDOWSNT]: Include some NT headers.
  4815. 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
  4816. * pop.c (getline): When a search of already-read input for CRLF
  4817. fails, store the fact that we've searched it and don't search it
  4818. again after reading more data.
  4819. * pop.c (getline): When determining whether or not it's necessary
  4820. to grow the input buffer, take into account the null that's stored
  4821. at the end of already-read input in the buffer.
  4822. 1994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
  4823. * etags.c (prestr, substr): Return a logical type.
  4824. (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
  4825. (consider_token): Set funcdef to fignore when a DEFUN is met.
  4826. (C_entries): Now we can use Tom Hageman patch for extern "C".
  4827. 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4828. * movemail.c: PopServer renamed to popserver throughout.
  4829. 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
  4830. * etags.c: Don't declare malloc, since we include config.h.
  4831. * fakemail.c: Likewise.
  4832. 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4833. * movemail.c: Don't declare malloc.
  4834. 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
  4835. * rcs-checkin: Use test -r instead of < to check readability, to
  4836. avoid syntax error.
  4837. 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
  4838. * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
  4839. defined, and if HAVE_CONFIG_H isn't defined, define
  4840. MAIL_USE_POP always (so that this file can be included in
  4841. other programs besides emacs).
  4842. * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
  4843. HAVE_CONFIG_H isn't defined.
  4844. * pop.c (find_crlf, getline): Instead of using strstr, use a
  4845. custom function for finding CRLF.
  4846. (my_strstr): Function deleted.
  4847. 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
  4848. * pop.c (getline): Fix a segfault because of passing a
  4849. non-null-terminated string into strstr(). Fix from
  4850. djm@va.pubnix.com (David J. MacKenzie).
  4851. * pop.c: Don't include <string.h> and <strings.h>.
  4852. * pop.c: Include <des.h> before <krb.h>, rather than after.
  4853. They should be interchangeable, and indeed the inclusion is done in
  4854. both orders in various files in the Kerberos 4 library sources,
  4855. but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
  4856. requires that <des.h> be included first, and I don't see any harm
  4857. in changing the order.
  4858. * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
  4859. STDC_HEADERS, if they're defined. Undef open, read, write and
  4860. close after including it.
  4861. 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4862. * pop.c: Fix mismatch in conditionals.
  4863. * make-docfile.c (main): Don't process one input file twice.
  4864. Never use exit code > 1.
  4865. * pop.c (open, close, read, write): Add #undefs.
  4866. * pop.c: Don't declare malloc, realloc, free.
  4867. Include ../src/config.h.
  4868. Don't include string.h or strings.h.
  4869. Include des.h before krb.h.
  4870. Do declare my_strstr.
  4871. (getline): Really use my_strstr.
  4872. Leave one empty place in server->buffer,
  4873. and put a null at the end of the data in it.
  4874. 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  4875. * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
  4876. Don't call kill with pid 0. Handle EINTR when receiving messages.
  4877. 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4878. * Makefile.in.in (regex.o): Use full path to find regex.c.
  4879. 1994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
  4880. * Makefile.in.in (etags): Add dependency on regex.o, link with it.
  4881. (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
  4882. 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
  4883. * Makefile.in.in (DONT_INSTALL): Remove make-path.
  4884. (${archlibdir}): Use mkinstalldirs instead.
  4885. * movemail.c: Make functions that return nothing void, not
  4886. implicitly int.
  4887. (main): Improve usage message.
  4888. (error): Write to stderr, not stdout.
  4889. * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
  4890. * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
  4891. * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
  4892. warnings from unused variables and implicitly declared functions.
  4893. 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4894. * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
  4895. (distclean): Not here.
  4896. * Makefile.in.in (libexecdir): Rename from libdir.
  4897. 1994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
  4898. * etags.c (C_entries): Name the #define's that are macros.
  4899. 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4900. * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
  4901. fd_set arg is a pointer, descriptor arg comes first.
  4902. 1994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
  4903. * etags.c (C_entries): Recognize typedef of ANSI style functions.
  4904. (C_entries): Recognize #define inside a struct.
  4905. (C_entries): ANSI tells that preprocessor commands do not have to
  4906. start on the first column.
  4907. (print_help): Documentation corrected for -d and -D.
  4908. (white, endtk): ANSI tells the vertical tab is a separator.
  4909. 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
  4910. * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
  4911. (pop.o, movemail.o): New targets.
  4912. (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
  4913. * pop.c, pop.h: New files.
  4914. * movemail.c: Improve POP code, move most of it into a separate file.
  4915. (mbx_delimit_end, mbx_delimit_begin): Check for errors.
  4916. (mbx_write): Check for errors and for From line.
  4917. (pop_retr, popmail): Use subroutines in pop.c to do the real work.
  4918. (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
  4919. (pop_init): Functions deleted.
  4920. 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
  4921. * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
  4922. Rename path to dirname.
  4923. 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4924. * Makefile.in.in (UTILITIES):
  4925. Remove test-distrib, make-docfile, make-path.
  4926. (DONT_INSTALL): New variable--list those files here.
  4927. (clean): Delete the files in DONT_INSTALL.
  4928. 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4929. * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
  4930. (main): Use fgets, not gets.
  4931. 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4932. * timer.c: Don't declare malloc.
  4933. 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
  4934. * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
  4935. defined, use simple 32-bit versions of these macros.
  4936. (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
  4937. 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  4938. * etags.c (etags_getcwd): Use getcwd if available.
  4939. 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4940. * Version 19.27 released.
  4941. 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4942. * Version 19.26 released.
  4943. 1994-08-15 Paul Eggert <eggert@twinsun.com>
  4944. * rcs2log: Add support for CVS.
  4945. Work with `rlog's that output ISO 8601 dates.
  4946. 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
  4947. * rcs2log: Use <> to delimit email address.
  4948. 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4949. * emacsserver.c [SYSV_IPC] (main): Make a separate process
  4950. so we can listen for multiple requests.
  4951. 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4952. * movemail.c: Include config.h first thing.
  4953. 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4954. * emacsserver.c (main): Add casts to avoid warnings.
  4955. 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4956. * Makefile.in.in (${archlibdir}): Compare the proper dir
  4957. before installing the scripts.
  4958. 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4959. * emacsclient.c (main): New local var progname saves argv[0].
  4960. 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4961. * emacsclient.c (main): Don't actually modify argv[0].
  4962. Modify a copy instead.
  4963. 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  4964. * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
  4965. (tzp): Var deleted.
  4966. * Makefile.in.in: Add #undef alloca.
  4967. 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  4968. * timer.c (xmalloc): New function.
  4969. 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  4970. * Makefile.in.in (ALLOCA_CFLAGS): New variable.
  4971. (alloca.o): New target.
  4972. 1994-07-08 Dave Love (d.love@dl.ac.uk)
  4973. * etags.c (takeprec): Recognize `character*(*) function'.
  4974. 1994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
  4975. * etags.c (main): Don't barf on obsolete -t and -T switches.
  4976. (main): Print an explicative message when a switch is not known.
  4977. 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  4978. * hexl.c: Don't declare exit or perror.
  4979. * emacsserver.c (main): Don't declare geteuid.
  4980. Don't declare getenv if convex.
  4981. 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  4982. * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
  4983. 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
  4984. * etags.c (absolute_filename): Remove infinite loop bug when
  4985. accessing files in directories whose name begins with a dot.
  4986. 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
  4987. * etags.c (etags_getcwd): Delete the trailing newline from cwd.
  4988. 1994-06-01 Morten Welinder (terra@diku.dk)
  4989. * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
  4990. location of data directory.
  4991. 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  4992. * Version 19.25 released.
  4993. 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  4994. * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
  4995. 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  4996. * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
  4997. 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  4998. * Version 19.24 released.
  4999. 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5000. * make-docfile.c (write_c_args): Put `default' in upper case.
  5001. 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5002. * etags.c (etags_getcwd): Cast result of popen.
  5003. (popen): Declaration deleted.
  5004. 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
  5005. * etags.c [!MSDOS]: Declare popen.
  5006. 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5007. * b2m.c (main): Avoid crash if argc is 1.
  5008. 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5009. * Version 19.23 released.
  5010. * Makefile.in.in (blessmail): Specify directory for blessmail.el.
  5011. 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5012. * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
  5013. 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
  5014. * Makefile.in.in: Fix out of date comment.
  5015. 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5016. * Makefile.in.in: Put in a separator for where to start cpp procssing.
  5017. Move all autoconf substitutions above that point.
  5018. Above that point, use Make-style comments.
  5019. This goes with changes in ../configure.in.
  5020. 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5021. * Makefile.in.in (maybe-blessmail): New target to print the blessmail
  5022. warning message.
  5023. (${archlibdir}): Don't do it here. Don't depend on blessmail.
  5024. 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
  5025. * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
  5026. 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5027. * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
  5028. print advice to run it, if it has anything significant to do.
  5029. And only if MOVEMAIL_NEEDS_BLESSING.
  5030. (blessmail): Use emacs, not temacs.
  5031. (configuration): Rename from configname.
  5032. 1994-04-30 Morten Welinder (terra@diku.dk)
  5033. * etags.c (find_entries): Treat `*.cpp' as C++ files.
  5034. 1994-04-30 Morten Welinder (terra@diku.dk)
  5035. * etags.c [MSDOS]: #include <sys/param.h> for the following.
  5036. [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
  5037. a shell.
  5038. 1994-04-29 Morten Welinder (terra@diku.dk)
  5039. * hexl.c [MSDOS]: Don't define proto type for exit.
  5040. 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5041. * b2m.c: Don't include string.h or strings.h.
  5042. 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
  5043. * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
  5044. symbols, not make variables.
  5045. 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5046. * Makefile.in.in (etags, ctags): Make VERSION a string constant.
  5047. * etags.c (print_version): Print VERSION as a string.
  5048. 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5049. * fakemail.c (readline): Fix updating of p when buffer grows.
  5050. 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
  5051. * Makefile.in.in (blessmail): New target.
  5052. ${archlibdir}: Use blessmail when installing movemail.
  5053. 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5054. * fakemail.c (readline): When extending the buffer,
  5055. calculate end afresh using the new size.
  5056. 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
  5057. * etags.c (main, print_help): Eliminate the -F option.
  5058. 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
  5059. * etags.c (absolute_filename): Compare against '\0' instead of NULL.
  5060. 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5061. * Makefile.in.in: Renamed from Makefile.in.
  5062. Makefile.in is now generated from it, and then preprocessed.
  5063. Change comments to C syntax.
  5064. Include config.h.
  5065. (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
  5066. (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
  5067. 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5068. * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
  5069. 1994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
  5070. * etags.c (etags_getcwd): Initialize bufsize.
  5071. 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5072. * profile.c (gettimeofday): If system doesn't have this, define it
  5073. to give a fatal error.
  5074. 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
  5075. * movemail.c (main): Use setuid, not seteuid.
  5076. 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5077. * etags.c: #undef static.
  5078. 1994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
  5079. * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
  5080. (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
  5081. (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
  5082. Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
  5083. TeX_functions, Prolog_functions.
  5084. (inf): No more a global variable.
  5085. (C_entries): Take 2nd parameter `inf' instead of using the global one.
  5086. (find_entries): Add the cp1 var for optimization.
  5087. (find_entries): Add more suffixes for assembler files.
  5088. (Asm_funcs): Now finds labels even without an ending colon.
  5089. 1994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
  5090. * etags.c (main): Use etags_getcwd for compatibility.
  5091. (etags_getcwd): New function.
  5092. 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5093. * Makefile.in (etags, ctags): Pass -D for VERSION.
  5094. 1994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
  5095. * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead.
  5096. (main): Don't allow the use of -t and -T in etags mode.
  5097. (print_help): Don't show options enabled by default.
  5098. (print_version): Show the emacs version number if VERSION is #defined.
  5099. (find_entries): Add "ss" as suffix for Chez Scheme.
  5100. 1994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
  5101. * etags.c (cwd, outfiledir): Vars added.
  5102. (relative_filename, absolute_filename, absolute_dirname):
  5103. functions added to compute filenames in tags files.
  5104. (process_file): Filenames in tags file are relative to the
  5105. directory where the tags file is (useful with the -o option).
  5106. (main): Initialize the outfiledir var.
  5107. (TYPEDST): Add the `tignore' value.
  5108. (C_entries): Corrected various small bugs.
  5109. 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5110. * Makefile.in (UTILITIES): `env' deleted.
  5111. (env): Target deleted.
  5112. * env.c: File deleted.
  5113. 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5114. * Makefile.in (install, ${archlibdir}): Switch back to ..
  5115. before running INSTALL_PROGRAM.
  5116. 1994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
  5117. * etags.c (TYPEDST): Add the `tignore' value.
  5118. (C_entries): Corrected various bugs, now correctly parses the
  5119. `extern "C" {' construction (patch by Tom R.Hageman).
  5120. 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5121. * b2m.c: Use <...> to include config.h.
  5122. Don't include stdlib.h.
  5123. 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
  5124. * b2m.c (main): Change delimiter from "^L" to "^_^L".
  5125. Allow for text following "BABYL OPTIONS:".
  5126. Add --help option. Use argv[0] in error messages.
  5127. 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5128. * emacsclient.c (main) [HAVE_SYSVIPC]:
  5129. Make msgp->mtext longer if necessary.
  5130. On HPUX, error if it's more than 512 chars.
  5131. 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
  5132. * etags-vmslib.c: Use GPL.
  5133. * emacstool.c: Use GPL.
  5134. * fakemail.c: Update GPL.
  5135. * make-path.c (main): Return 1 on error, not -1.
  5136. Update GPL.
  5137. * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
  5138. (xmalloc, xrealloc): Return char *, not int.
  5139. (error): Write to stderr, not stdout.
  5140. Update GPL.
  5141. 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
  5142. * profile.c (main, get_time): Don't crash on invalid input.
  5143. 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
  5144. * profile.c (get_time): Simplify; avoid calling index.
  5145. (main): Exit on EOF.
  5146. 1994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
  5147. * etags.c (--absolute-pathnames): Option removed.
  5148. 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5149. * fakemail.c (put_line): Don't break the line if it all fits.
  5150. 1994-02-14 Francesco Potortì (pot@fly)
  5151. * etags.c (absolute_pathnames, cwd): Add global vars.
  5152. (longopts, print_help, main, process_file): Put absolute filenames
  5153. in the tag file if the -A --absolute-pathnames option is used.
  5154. (print_help): Alphabetically order the options.
  5155. (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
  5156. 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5157. * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
  5158. (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
  5159. 1994-02-07 Christian Lynbech (lynbech@avignon)
  5160. * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
  5161. 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5162. * Makefile.in (UTILITIES): Mention profile.
  5163. (profile): New target.
  5164. * profile.c: New file.
  5165. 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5166. * make-docfile.c: Make the argument list output look more like the
  5167. Lisp docstrings do.
  5168. (write_c_args): Take new arg FUNC. Make output
  5169. look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
  5170. (scan_c_file): Pass BUF to write_c_args for FUNC arg.
  5171. 1994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
  5172. * etags.c (stab_entry, stab_create, stab_find, stab_search,
  5173. stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
  5174. Use gperf generated hash table instead of linked list.
  5175. (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
  5176. Mostly code generated by gperf.
  5177. (consider_token): Remove unused parameter `lp'.
  5178. (PF_funcs, getit): Allow subroutine and similar declarations
  5179. to span multiple lines.
  5180. (C_entries): Check for newline if inchar to avoid bus errors.
  5181. (process_file, find_entries): Distinguish among nonexistent
  5182. and not regular file.
  5183. 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5184. * timer.c: Include errno.h; don't include fasync.h.
  5185. (schedule): Don't return a value.
  5186. (sigcatch): Reestablish the handler first.
  5187. (getevent): Always call notify at the end.
  5188. (notify): Defer alarms around the whole body of function.
  5189. 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5190. * timer.c (main): Don't request SIGIO, and don't handle it.
  5191. Loop calling getevent.
  5192. (sigcatch): Delete code to handle SIGIO.
  5193. if defer_alarms is set, don't call notify, just set alarm_deferred.
  5194. (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
  5195. Set defer_alarms around realloc and schedule.
  5196. If alarm_deferred gets set, call notify.
  5197. Likewise if this event is the only pending event.
  5198. Make buf and buf_size global variables.
  5199. Don't malloc buf if it is already non-zero.
  5200. (schedule): Just exit if run out of memory.
  5201. Return the number of events.
  5202. (signal) [_CX_UX]: Add #undef.
  5203. 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5204. * timer.c [USG] (SIGIO): Define as SIGPOLL.
  5205. (main) [USG]: Do ioctl to enable SIGPOLL.
  5206. 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5207. * timer.c: Don't declare sys_errlist; declare strerror instead.
  5208. (schedule, main): Call strerror instead of using sys_errlist.
  5209. * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
  5210. Call strerror instead of using sys_errlist.
  5211. * env.c (main): Call strerror instead of using sys_errlist.
  5212. * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
  5213. (main): Call strerror instead of using sys_errlist.
  5214. * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
  5215. * env.c [! HAVE_STRERROR] (strerror): Likewise.
  5216. * timer.c [! HAVE_STRERROR] (strerror): Likewise.
  5217. * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
  5218. 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5219. * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
  5220. * movemail.c (malloc): Don't declare it.
  5221. (xmalloc): Cast result of malloc.
  5222. (strcpy): Don't declare it.
  5223. 1993-11-14 Morten Welinder (terra@diku.dk)
  5224. * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
  5225. (main): Use fclose to close file opened by fopen.
  5226. * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
  5227. * movemail.c [MSDOS]: #undef `access'.
  5228. * b2m.c (main) [MSDOS]: Open all files as binary.
  5229. * etags.c (main) [MSDOS]: Open all files as binary.
  5230. * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
  5231. (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
  5232. with.
  5233. 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5234. * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
  5235. Use ALL_CFLAGS in all the rules that compile and link with one cmd.
  5236. (LINK_CFLAGS): New variable.
  5237. (timer): Use LINK_CFLAGS.
  5238. 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5239. * movemail.c: Include syswait.h.
  5240. Fork a subprocess and use it to copy the mail file.
  5241. 1993-12-07 Richard Stallman (rms@srarc2)
  5242. * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
  5243. 1993-12-04 Richard Stallman (rms@srarc2)
  5244. * movemail.c (main): When making tempname, cast result of xmalloc.
  5245. Include room for EXXXXXX in the size.
  5246. Don't use result of strcpy.
  5247. 1993-12-03 Paul Eggert (eggert@twinsun.com)
  5248. * vcdiff: Add --brief option.
  5249. 1993-12-02 Richard Stallman (rms@srarc2)
  5250. * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
  5251. for all executables and scripts.
  5252. 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5253. * Version 19.22 released.
  5254. 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5255. * Makefile.in (mostlyclean): Make it distinct from clean.
  5256. 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5257. * Makefile.in (${archlibdir}): Don't do chown or chgrp.
  5258. 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5259. * Version 19.21 released.
  5260. * Makefile.in (install): Don't change mode or group when installing.
  5261. * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
  5262. 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5263. * make-docfile.c (read_c_string): For "", concatenate the two strings.
  5264. * movemail.c (main): Fix error message text.
  5265. 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5266. * Version 19.20 released.
  5267. 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
  5268. * etags.c (C_entries): Keep track of ()-parenthesis level so that
  5269. functions returning a pointer to a function, a la `signal', can be
  5270. parsed. This also required new state `fstartlist' to `FUNCST'.
  5271. (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
  5272. (C_entries, CNL): Use it to isolate preprocessor directive processing
  5273. from the other state engines.
  5274. (begtk): Add '~', for C++ class destructors.
  5275. 1993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
  5276. * etags.c (consider_token): Remove unused variable firsttok.
  5277. (prolog_getit): Call pfnote with the right number of arguments.
  5278. 1993-10-19 Paul Eggert (eggert@twinsun.com)
  5279. * rcs2log (printlogline): Don't generate lines containing only
  5280. white space.
  5281. 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5282. * Makefile.in (${archlibdir}):
  5283. Install ${SCRIPTS} from ${srcdir}, not cwd.
  5284. 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5285. * Makefile.in: Fixed typos or brainos of whoever thought `@' was
  5286. the comment character.
  5287. 1993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
  5288. * etags.c (process_file): Dead code removed.
  5289. (S_ISREG): #define it using S_IFREG if not defined.
  5290. (process_file): Regular files have nothing to do with symlinks.
  5291. 1993-09-28 Brian J. Fox (bfox@ai.mit.edu)
  5292. * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
  5293. from current directory. Only chmod and chgrp files that we
  5294. installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
  5295. ${bindir}.
  5296. (INSTALLFLAGS): Delete definition, since it is an unused variable
  5297. now.
  5298. 1993-09-27 Brian J. Fox (bfox@ai.mit.edu)
  5299. * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
  5300. Let configure figure out the correct values for these variables.
  5301. 1993-09-14 Brian J. Fox (bfox@ai.mit.edu)
  5302. * Makefile.in (archlibdir): Only install executables internally
  5303. used by emacs; don't install bindir binaries here.
  5304. 1993-09-24 Paul Eggert (eggert@twinsun.com)
  5305. * rcs2log: Add -h, -n, -r options.
  5306. By default, look for *,v files as well as RCS/*,v files.
  5307. Use $TMPDIR (default /tmp) instead of /tmp.
  5308. 1993-09-20 Francesco Potortì (pot@fly)
  5309. * etags.c (C_entries): is_func is initialized here instead of in
  5310. consider_token for the sake of the yacc rules section.
  5311. (C_entries): Now class, struct, enum, union and typedef produce
  5312. named tags.
  5313. 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
  5314. * yow.c: Include <src/paths.h>, instead of "src/paths.h".
  5315. 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5316. * Makefile.in: Support configuring in a different directory when
  5317. ${srcdir} has already been configured.
  5318. (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
  5319. -I${srcdir}/../src.
  5320. (b2m, movemail, fakemail, env, emacsserver, emacsclient,
  5321. getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
  5322. is already in CPP_FLAGS.
  5323. * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
  5324. movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
  5325. 1993-08-25 Paul Eggert (eggert@twinsun.com)
  5326. * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
  5327. otherwise, HP awk complains.
  5328. * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
  5329. are common hangouts for SCCS commands.
  5330. 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5331. * Version 19.19 released.
  5332. 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5333. * Makefile.in (make-path): Dep on config.h.
  5334. 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5335. * b2m.c (TRUE, FALSE): Don't define if already defined.
  5336. 1993-08-09 Paul Eggert (eggert@twinsun.com)
  5337. * rcs2log (awkscript):
  5338. Some sites put comma-separated junk after the fullname.
  5339. Remove it, but leave "Bill Gates, Jr" alone.
  5340. Remove the junk from fullnames like "0000-Admin(0000)".
  5341. 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5342. * Version 19.18 released.
  5343. 1993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
  5344. * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
  5345. (L_funcs): The (foo::defmumble stuff now should work.
  5346. (consider_token): Function returned random value--corrected.
  5347. (C_entries): Corrected == versus = typo.
  5348. 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5349. * etags.c (put_entries): For NODE->rewritten, put pattern before
  5350. \177 and name after, not vice versa.
  5351. 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5352. * timer.c (main): Generate a SIGIO as soon as we've initialized.
  5353. 1993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
  5354. * etags.c (FINCST): Add the fignore status. Means we are
  5355. after the parameter list and before the open curly brace.
  5356. Allows correct parsing of C++ constructors.
  5357. (C_entries, consider_token): Make use of fignore.
  5358. (consider_token): Reset funcdef when next_token_is_func: when in
  5359. ctags mode makes DEFVAR and others work better.
  5360. (L_isquote): Function that recognizes the "(quote" string.
  5361. (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
  5362. 1993-07-29 Paul Eggert (eggert@twinsun.com)
  5363. * rcs-checkin: Don't check whether a file is readable until we have
  5364. decided not to ignore it.
  5365. 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5366. * Makefile.in (etags): Depend on ../src/config.h.
  5367. * emacsserver.c: Include types.h before file.h.
  5368. 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5369. * Makefile.in (install): Use .n, not .new, for temporary filenames.
  5370. 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5371. * Version 19.17 released.
  5372. 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5373. * etags.c (print_help): Break up the very long strings containing
  5374. the help message into shorter strings, to placate chintzy C
  5375. compilers which can't handle strings that long.
  5376. * wakeup.c: Use CPP tangle from autoconf manual to #include the
  5377. correct combination of <time.h> and <sys/time.h>.
  5378. 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
  5379. * etags.c (alloca): Remove all references to it.
  5380. (main): Now calls xnew instead of alloca for portability.
  5381. (../src/config.h): Included only if HAVE_CONFIG_H.
  5382. (const): Void definition removed--config.h takes care of it.
  5383. 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
  5384. * etags.c (consider_token): Was `==', now is `='.
  5385. (consider_token): DEFUNs now treated like funcs in ctags mode.
  5386. * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
  5387. (C_entries): Optimize the test that used LEVEL_OK_FOR_FUNCDEF.
  5388. (C_entries): Remove a piece of useless code.
  5389. (C_entries): Making typedef tags is delayed until a semicolon
  5390. is met. This handles "typedef int X, Y, Z;" correctly.
  5391. 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  5392. * Version 19.16 released.
  5393. * b2m.c: #include <sys/types.h>.
  5394. (ltoday): Declare this to be time_t.
  5395. 1993-06-30 Paul Eggert (eggert@twinsun.com)
  5396. * vcdiff: Add -q option.
  5397. 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5398. * etags.c: #include "config.h" and the alloca CPP tangle before
  5399. #including the system headers and getopt.h. AIX requires the
  5400. #pragma to come before any actual C code.
  5401. 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5402. * Makefile.in (ctags): Depend on etags, so that parallel makes
  5403. don't write etags.o files on top of each other.
  5404. 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5405. * version 19.15 released.
  5406. 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5407. * etags.c (add_node): Move var last_node to file scope.
  5408. 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5409. * Version 19.14 released.
  5410. 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5411. Bring mumbleclean targets into conformance with GNU coding standards.
  5412. * Makefile.in (distclean): Call clean to do most of the work.
  5413. Delete aixcc.c and TAGS.
  5414. (realclean): Just call distclean.
  5415. * Makefile.in: Remember, spaces are not tabs.
  5416. 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5417. * Makefile.in (CPP_CFLAGS): New variable.
  5418. Use it instead of ALL_CFLAGS when compiling a .c file.
  5419. (getopt.o, getopt1.o): Add explicit compilation commands.
  5420. 1993-06-10 Mark D. Baushke (mdb@cisco.com)
  5421. * etags.c: Reinstate old -f option as an alias for -o for
  5422. installed base uses.
  5423. 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5424. * emacsserver.c (main): When we're passing a `struct sockaddr_un'
  5425. to bind or accept, cast the pointer, to avoid warnings on systems
  5426. which declare prototypes for this.
  5427. * emacsclient.c (main): Same.
  5428. * Makefile.in (YACC): New variable, to be set by top-level Makefile.
  5429. 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5430. * Version 19.13 released.
  5431. * wakeup.c: Include sys/types.h, too; I think that's where time_t
  5432. comes from, not sys/time.h.
  5433. 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5434. * wakeup.c: Include sys/time.h.
  5435. * etags.c: #undef static.
  5436. * Version 19.12 released.
  5437. * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
  5438. 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5439. * Version 19.11 released.
  5440. * timer.c [LINUX]: #undef signal.
  5441. * emacsserver.c: #undef signal.
  5442. 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5443. * wakeup.c (main): Make when a time_t.
  5444. 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5445. * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
  5446. `(cd foo ; pwd)' to get the canonical name of a directory; cd
  5447. might fail, and have pwd print out the current directory.
  5448. * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
  5449. string-handling functions.
  5450. 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5451. * Version 19.10 released.
  5452. 1993-05-29 Paul Eggert (eggert@twinsun.com)
  5453. * rcs2log: When given no file arguments, inspect RCS/.* as well
  5454. as RCS/*. Don't report an error if RCS is empty or nonexistent.
  5455. 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5456. * Makefile.in (timer): Link with $(LOADLIBES).
  5457. 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5458. * fakemail.c (put_line): Don't output \n\t unless more text follows.
  5459. 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  5460. * etags.c: Replace the CPP tangle for alloca with the one from the
  5461. autoconf documentation, since that's working elsewhere.
  5462. 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  5463. * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
  5464. description files can find their ancestors.
  5465. 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5466. * Makefile.in (install): Get the scripts from ${srcdir},
  5467. unlike the executables.
  5468. (ALL_CFLAGS): Add -I../src.
  5469. 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  5470. * Version 19.9 released.
  5471. 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5472. * Makefile.in (install): Do install the programs listed in
  5473. INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
  5474. INSTALLABLE_SCRIPTS, instead of writing the programs out.
  5475. * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
  5476. (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
  5477. 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5478. * etags.c: Include ../src/config.h.
  5479. * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
  5480. in first loop. Delete files from bindir before installing new ones.
  5481. (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
  5482. 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5483. * Version 19.8 released.
  5484. * make-docfile.c: Doc fix.
  5485. 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5486. * tcp.c: Fix comment syntax at top of file.
  5487. (main): Don't call htons with the port number.
  5488. 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5489. * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
  5490. appropriate.
  5491. * Makefile.in (install): Refer to the variables INSTALLABLES and
  5492. INSTALLABLE_SCRIPTS, instead of writing them out.
  5493. 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5494. * make-path.c (main): Return 0.
  5495. 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  5496. * Version 19.7 released.
  5497. 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5498. * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
  5499. 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5500. * tcp.c: New file.
  5501. 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5502. * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
  5503. 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  5504. * timer.c (notify): Don't call sighold or sigrelse; they're USG
  5505. only. We should really fix this later, but let's just make it
  5506. compile for now.
  5507. Install patches from David J. Mackenzie to make the srcdir option
  5508. work.
  5509. * Makefile.in (srcdir, VPATH): Get this value from the top-level
  5510. Makefile.
  5511. (INSTALLABLES): Split this into two lists - INSTALLABLES and
  5512. INSTALLABLE_SCRIPTS.
  5513. (INSTALLABLE_SCRIPTS): New list.
  5514. (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
  5515. (${archlibdir}): The scripts to be installed live in the source
  5516. tree, not in the object tree.
  5517. (test-distrib): Note that the data file lives in the source tree,
  5518. not the object tree.
  5519. (GETOPTDEPS): Note that getopt.h lives in the source tree.
  5520. (all other targets): Change references to source files to use
  5521. ${srcdir}, except for config.h, which lives in the object dir.
  5522. (timer.o): Note that this depends on ../src/config.h.
  5523. * make-docfile.c (main): Add a -d option, to tell it where to find
  5524. the source files.
  5525. * test-distrib.c (main): Take the name of the distribution file to
  5526. test from the command line.
  5527. * timer.c: Fix misspellings of get_date function's name.
  5528. 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  5529. * etags.c (main):
  5530. Don't require that there be input files if -i switches were given.
  5531. 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5532. The GNU coding standards specify that CFLAGS should be left for
  5533. users to set.
  5534. * Makefile.in (CFLAGS): Put this in the "things configure might
  5535. edit" section, and have it default to -g.
  5536. (ALL_CFLAGS): New variable, set to all the flags which should be
  5537. passed to compilations. Replace all other uses of CFLAGS with
  5538. ALL_CFLAGS.
  5539. (.c.o): New rule, to pass ALL_CFLAGS to compilations.
  5540. * Makefile.in (DEFS): Remove this; it's always just going to be
  5541. "-DHAVE_CONFIG_H -Demacs".
  5542. 1993-05-03 Paul Eggert (eggert@twinsun.com)
  5543. * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
  5544. /[/]/, so change it to /[\/]/. This should work on all
  5545. POSIX-compliant awks. It's slightly wrong with traditional awk,
  5546. since it matches \ too, but that's a minor problem compared to awk
  5547. syntax errors.
  5548. 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  5549. * Makefile.in (ALLOCA): New variable, whose value we should
  5550. inherit from the top-level makefile.
  5551. (etags, ctags): Include ALLOCA in the list of object files that
  5552. these executables depend on and link.
  5553. 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5554. * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
  5555. 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
  5556. * make-docfile.c (write_c_args): Print an argument named "defalt"
  5557. as "default".
  5558. 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
  5559. * Makefile.in (C_SWITCH_SYSTEM): New variable.
  5560. (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
  5561. compiler.
  5562. 1993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
  5563. * etags.c (YACC): Flag added to c_ext.
  5564. (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
  5565. (find_entries): Consistently use streq when reasonable.
  5566. (find_entries): A .y file is a yacc file.
  5567. (get_C_stab): c_ext becomes c_ext&C_PLPL.
  5568. (C_entries): Logical cplpl means c_ext&C_PLPL.
  5569. (C_entries): Logical yacc_rules means we are after the first %%.
  5570. (C_entries): Add logic for yacc files.
  5571. 1993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
  5572. * etags.c (C_entries): ':' case moved to the second switch.
  5573. (C_entries): Do not examine token if structdef==scolonseen.
  5574. (consider_token): structtag set to null string for enum.
  5575. 1993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
  5576. * etags.c (GET_COOKIE): And related macros removed.
  5577. (logical): Is now int, no more a char.
  5578. (reg): Define deleted.
  5579. (isgood, _gd, notgd): Delete.
  5580. (gotone): Delete.
  5581. (TOKEN): Member linestart removed.
  5582. (linepos, prev_linepos, lb1): Delete.
  5583. (main): Call initbuffer on lbs array instead of lb1.
  5584. (init): Remove the initialization of the logical _gd array.
  5585. (find_entries): A .sa suffix means assembler file.
  5586. (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
  5587. All C state machines rewritten.
  5588. (C_entries): Complete rewrite.
  5589. (condider_token): Complete rewrite.
  5590. (getline): Delete.
  5591. 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
  5592. * etags.c (C_entries): Add the quotednl logical variable.
  5593. Used for parsing of #define's spanning multiple lines.
  5594. 1993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
  5595. * etags.c (C_entries): Save the definedef status even when a
  5596. newline is met inside a string.
  5597. 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
  5598. * Makefile.in (EXECUTABLES): Add rcs-checkin.
  5599. * Makefile.in (unlock, relock): New productions.
  5600. 1993-03-16 Paul Eggert (eggert@twinsun.com)
  5601. * rcs2log: Some awks don't understand "\r". Code around this.
  5602. Unfortunately this requires putting a carriage return in the
  5603. source code. Don't assume that rlog will tolerate times like
  5604. `10:10:60'; RCS 5.7 won't allow this.
  5605. 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5606. * timer.c (main): Set the ownership of the stdin file descriptor
  5607. to the current process. Print error messages if either of the
  5608. fcntl's fails.
  5609. * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
  5610. ../src/config.h), not void.
  5611. 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5612. * b2m.c (main): Don't exit upon reading a blank line.
  5613. 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
  5614. * etags.c (C_entries): New local variable quotednl. Used for
  5615. parsing of #define's spanning multiple lines.
  5616. * etags.c (C_entries): Save the definedef status
  5617. even when a newline is met inside a string.
  5618. 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5619. * timer.c (notify): Initialize waitfor properly.
  5620. 1993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
  5621. * etags.c (C_entries): Don't reset definedef when a newline inside a
  5622. comment is met.
  5623. 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5624. * etags.c (find_entries): If filename ends in .f or .for,
  5625. don't try anything but Fortran.
  5626. 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
  5627. * timer.c (notify): Flush stdout after writing message to avoid lossage
  5628. on terminals.
  5629. (notify): Also, write a newline after the token.
  5630. 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5631. * Makefile.in (exec_prefix): New variable.
  5632. (bindir, libdir): Use it instead of `prefix'.
  5633. * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
  5634. * Makefile.in (libdir): Default to ${prefix}/lib.
  5635. (archlibdir): Adjust to match.
  5636. * Makefile.in (distclean): Don't delete backup or autosave files.
  5637. (extraclean): Like realclean, but does delete backup and autosave
  5638. files.
  5639. * Makefile.in (realclean): Ignore errors from rm.
  5640. * Makefile.in (distclean): Don't bother to delete ../arch-lib;
  5641. that doesn't exist anymore.
  5642. 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5643. * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
  5644. described in the top-level Makefile.
  5645. (UTILITIES): Add make-path to the list of utility programs.
  5646. (../arch-lib): Replace by the ${archlibdir} target, which places
  5647. the executables in their permanent home.
  5648. (install, install.sysv, install.xenix): Consolidated into one
  5649. target which should work under all circumstances, modulo a few
  5650. ignored error messages.
  5651. * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
  5652. a different number of arguments than other DEFVARs, recognize it
  5653. specially, and expect the right number of commas.
  5654. 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5655. * make-path.c: New program, to help with the installation process.
  5656. * Makefile.in (make-path): New target.
  5657. * make-path.c (touchy_mkdir): Remove debugging output.
  5658. 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5659. * Makefile.in (getdate.o): Add explicit target for this, so we
  5660. can indicate that it depends on ../src/config.h.
  5661. 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
  5662. * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
  5663. instead of CFLAGS.
  5664. (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
  5665. 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5666. * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
  5667. 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
  5668. that system.
  5669. * Makefile.in (arch-lib): Give rm the `-f' option.
  5670. 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5671. * make-docfile.c (write_c_args): Rewritten to correctly print
  5672. &optionals before the first identifier, but after the first paren.
  5673. This code used to just wait for commas or spaces; now it notices
  5674. identifier boundaries.
  5675. 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5676. * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
  5677. 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5678. * make-docfile.c (write_c_args): Print the argument lists properly
  5679. when the first argument is optional.
  5680. 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5681. * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
  5682. Redefine @item. Set catcode of +.
  5683. 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5684. * emacsclient.c (main): Set IPC_CREAT in msgget call.
  5685. 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5686. * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
  5687. (TEX_decode_env): Make `tab' one element longer.
  5688. 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5689. * etags.c (PF_funcs): Recognize the "entry" keyword.
  5690. 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5691. * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
  5692. 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5693. * timer.c (events): Rather than having slots marked as in use or
  5694. out of use by the `token' field, keep all pending events at the
  5695. beginning of the array. When we delete an event in the middle of
  5696. the array, we move the last event into its place.
  5697. (num_events): New variable.
  5698. (schedule): It is now cheaper to find a free event slot;
  5699. events[num_events] is the first free slot.
  5700. (notify): Scan events[0 .. num_events-1], instead of the whole
  5701. array. When an event fires, move the last event in the array into
  5702. its spot. Use num_events to determine whether or not there are
  5703. any pending events, not wait_for.
  5704. (getevent): Delete unused variable `ep'.
  5705. (sigcatch): It's now easier to find all the active events.
  5706. (main): Initialize num_events.
  5707. * etags.c: Rather than fret about which systems have index and
  5708. which systems have strchr, and how to tell the difference between
  5709. them, we just write out our own versions. Big deal.
  5710. (index, rindex): Extern declarations removed.
  5711. (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
  5712. (etags_index, etags_rindex): New declarations.
  5713. (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
  5714. TEX_getit, substr): Use the etags_*index functions, rather than
  5715. the native *index functions.
  5716. (rindex, index): Rename to etags_rindex and tags_rindex, and
  5717. made them unconditionally defined, rather than having them depend
  5718. on NEED_*INDEX.
  5719. * etags.c (savenstr): Add declaration for this at top of file.
  5720. (TEX_decode_env): Don't declare it local to this function.
  5721. * b2m.c: #include "../src/config.h", so we can test for the USG
  5722. macro, and decide whether to include <string.h> or <strings.h>.
  5723. * Makefile.in: Note that b2m.c depends on ../src/config.h.
  5724. 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5725. * timer.c: Reformatted according to the GNU coding standards.
  5726. Removed arbitrary limits on the number of events queued and the
  5727. length of the tokens used to identify them.
  5728. Removed casts to (void).
  5729. Removed debugging printfs; they clutter the code, and the need
  5730. can be better filled using a real debugger.
  5731. 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5732. * timer.c: Installed new version from Eric Raymond; this is more
  5733. portable, since it doesn't try to use SIGIO.
  5734. 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5735. * emacsclient.c (main): If we can't find the socket in this
  5736. person's home directory, print a message which asks if they've
  5737. started the server, instead of just printing the message from
  5738. sys_errmsg; Cygnus finds that people are much less confused by
  5739. this.
  5740. 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5741. * etags.c: Rather than defining "notdef" when "hpux" is #defined,
  5742. so that index and rindex get defined, why don't we actually
  5743. control index and rindex using symbols called "NEED_INDEX" and
  5744. "NEED_RINDEX", and define them if hpux is defined? Isn't that a
  5745. little more readable than defining something whose name implies
  5746. that it's not?
  5747. 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5748. * movemail.c: Merged changes from Jamie Zawinski's byte compiler
  5749. distribution:
  5750. Miscellaneous doc fixes.
  5751. (skip_white, read_lisp_symbol): New functions.
  5752. (scan_lisp_file): Instead of using long hairy strings of ifs, call
  5753. read_lisp_symbol and then see what we got. Call skip_white
  5754. instead of writing out a loop to do its job. Correctly extract
  5755. docstrings from "defmacro" declarations.
  5756. 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5757. * movemail.c (strcpy): Declare this to return char *.
  5758. 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5759. * etags.c (C_entries): When we find a C++ comment, do actually
  5760. skip to the end of the line; do a 'break' instead of a 'continue'.
  5761. 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5762. * etags.c (getit): Add missing parenthesis to expression which
  5763. decides if this token is an identifier.
  5764. 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
  5765. * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
  5766. 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5767. * etags.c (put_entries): Always put space between name and line num.
  5768. 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
  5769. * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
  5770. warning.
  5771. (LEVEL_OK_FOR_FUNCDEF): Ditto.
  5772. 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
  5773. * make-docfile.c (write_c_args): Pass both arguments to putc.
  5774. 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
  5775. * etags.c (C_entries): Fix reading of "..." strings.
  5776. (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
  5777. the C library source.
  5778. * etags.c (C_entries): When we see a backslash inside a quoted
  5779. string, skip to the next character. This allows us to correctly
  5780. deal with strings containing quotes.
  5781. 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5782. * make-docfile.c (write_c_args): Print the C argument names as
  5783. they would be written in Elisp; print '_' as '-'.
  5784. 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5785. * movemail.c [POP]: Get user name via getpwuid.
  5786. 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5787. * Makefile.in: Flags in CC invocations rearranged for no reason.
  5788. 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5789. * etags.c (print_help): Remember not to embed raw newlines in
  5790. strings - end the lines with `\n\'.
  5791. 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5792. * timer.c (getevent): Remove declaration of memcpy; since
  5793. different systems have different return types, and we're not even
  5794. using the return type anyway, it wasn't doing us any good.
  5795. 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5796. * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
  5797. type of this function.
  5798. 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5799. * etags.c: "--no-warning" option renamed to "--no-warn",
  5800. to be consistent with other GNU programs, like makeinfo.
  5801. * Makefile: Renamed to Makefile.in; the configure script
  5802. will edit this to produce Makefile.
  5803. 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
  5804. New directory, with files previously in ../etc. [approximate date]
  5805. * README: New file.
  5806. * Makefile: Copy here from ../etc/Makefile.
  5807. * aixcc.lex, b2m.c, cvtmail.c, digest-doc.c:
  5808. * emacsclient.c, emacsserver.c, emacstool.c, env.c:
  5809. * etags-vmslib.c, etags.c, fakemail.c, getdate.c, getdate.y:
  5810. * getopt.c, getopt.h, getopt1.c, hexl.c, leditcfns.c:
  5811. * make-docfile.c, movemail.c, qsort.c, sorted-doc.c:
  5812. * test-distrib.c, testfile, timer.c, wakeup.c, yow.c:
  5813. Move here from ../etc.
  5814. ;; Local Variables:
  5815. ;; coding: utf-8
  5816. ;; End:
  5817. Copyright (C) 1988-1999, 2001-2016 Free Software Foundation, Inc.
  5818. This file is part of GNU Emacs.
  5819. GNU Emacs is free software: you can redistribute it and/or modify
  5820. it under the terms of the GNU General Public License as published by
  5821. the Free Software Foundation, either version 3 of the License, or
  5822. (at your option) any later version.
  5823. GNU Emacs is distributed in the hope that it will be useful,
  5824. but WITHOUT ANY WARRANTY; without even the implied warranty of
  5825. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  5826. GNU General Public License for more details.
  5827. You should have received a copy of the GNU General Public License
  5828. along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.