]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fixed one more "missing feature" for InsetText/Tabular.
[lyx.git] / src / ChangeLog
1 2001-06-07  Juergen Vigna  <jug@sad.it>
2
3         * text.C (BreakAgain): subst spaces with tabs.
4
5         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6         (resizeInsetsLyXText): set force on resizeLyXText.
7
8 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9
10         * gettext.h (gettext_init): 
11         (locale_init): use a real definition instead of a macro
12
13 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14
15         * Bufferview_pimpl.C:
16         * LColor.h:
17         * LColor.C: further lcolor tidies
18
19 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
20
21         * BufferView_pimpl.C (updateScrollbar): simplify.
22
23         * BufferView2.C: don't include insets/insetinfo.h, change
24         prototype for insertInset and call the Pimpl version. let
25         updateInset call Pimpl version.
26
27         * BufferView.h: move inset_slept to BufferView::Pimpl, move
28         gotoInset to BufferView::Pimpl
29
30 2001-06-01  Juergen Vigna  <jug@sad.it>
31
32         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
33         inside a LockingInset (is the update needed at all?).
34
35 2001-05-31  Juergen Vigna  <jug@sad.it>
36
37         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
38         here not the old one otherwise how should we compare it afterwards
39         if it's the same!
40
41 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
42
43         * lyxfont.C: 
44         * tabular.C:
45         * tabular-old.C: 
46         * FontInfo.C: bring C functions into global namespace when
47         necessary
48
49 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
50
51         * LString.h: make sure config.h has been loaded before LString.h.
52
53         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
54         (one for each char read by EatLine!).
55
56         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
57         variables. 
58
59 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
60
61         * paragraph.C (BreakParagraph): set the inset_owner in the new par
62         to the same as the par we break from
63
64 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
65
66         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
67
68         * MenuBackend.C (expand): also create menu entries for wide
69         versions of the floats.
70
71         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
72
73         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
74
75         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
76         frontends/Makefile.am
77
78         * text2.C: adjust
79         * text.C: adjust
80         
81
82         * tabular.C (getTokenValue): add std::
83
84         * tabular-old.C (getTokenValue): add std::
85         (getTokenValue): ditto
86         (getTokenValue): ditto
87
88         * screen.C (ToggleSelection): adjust
89
90         * lyxtext.h: put selection cursors inside a Selection struct.
91
92         * lyxfunc.C (moveCursorUpdate): adjust
93
94         * lyxfont.C (latexWriteStartChanges): add std::
95
96         * lyxfind.C: adjust
97
98         * font.h: delete with(char const *, LyXFont const &)
99
100         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
101
102         * FontInfo.C (getFontname): add std::
103
104         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
105         (workAreaButtonPress): adjust
106         (tripleClick): adjust
107         (update): adjust
108         (moveCursorUpdate): adjust
109         (Dispatch): adjust
110
111         * BufferView2.C (gotoInset): adjust
112
113 2001-05-30  Juergen Vigna  <jug@sad.it>
114
115         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
116         to check pspell I add this as default as I now have new pspell
117         libraries and they seem to use this.
118
119 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
120
121         * text2.C (CutSelection): make the cursor valid before the call to
122         ClearSelection.
123
124 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
125
126         * kbsequence.C (parse): de-uglify a bit the parsing code, which
127         relied on 0 terminated strings and other horrors. Bug found due to
128         the new assert in lyxstring!
129
130         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
131         KP_ keys.
132
133 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
134
135         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
136         to latinkeys.bind.
137
138         * lyxfunc.C (processKeySym): change method of getting to the
139         self-insert char.
140
141         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
142         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
143         * BufferView_pimpl.[Ch]: here as private methods.
144
145 2001-05-28  Juergen Vigna  <jug@sad.it>
146
147         * text.C (SetHeightOfRow): added the update() call again as it is
148         needed to initialize inset dimensions!
149
150 2001-05-16  Juergen Vigna  <jug@sad.it>
151
152         * text2.C (SetCharFont): Add new function with BufferView * and
153         bool toggleall parameters for setting insets internal fonts.
154         (SetFont): Freeze the undo as we may change fonts in Insets and
155         all this change should be inside only one Undo!
156
157         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
158         setting font's in insets as for them we have the SetFont function!
159
160 2001-05-15  Juergen Vigna  <jug@sad.it>
161
162         * text2.C (ClearSelection): to be sure we REALLY don't have any
163         selection anymore!
164
165         * tabular.C (TeXCellPreamble): fixed the left border problem for
166         multicolumn cells.
167
168 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
169
170         * LaTeX.C (deplog): Make sure that the main .tex file is in the
171         dependancy file
172
173 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
174
175         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
176         LFUN_BREAKPARAGRAPH.
177
178         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
179         help test to "internal only", similar for LFUN_INSERT_URL
180
181         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
182         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
183         auto_region_delete and deadkeys. 
184
185 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
186
187         * LColor.h:
188         * LColor.C: remove some dead entries, tidy a little
189  
190 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
191
192         * lyxfunc.C (processKeySym): comment the Escape handling, remove
193         commented code.
194         (Dispatch): implement LFUN_ESCAPE
195
196         * commandtags.h: add LFUN_ESCAPE
197
198         * LyXAction.C (init): add entry for LFUN_ESCAPE
199
200         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
201         Remove commented code.
202         (insertNote): moved here
203         (open_new_inset): moved here
204
205         * BufferView[2].[Ch]: move insertNote and open_new_inset to
206         BufferView_pimpl
207
208 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
209
210         * kbmap.C (findbinding): clean it up and make it work correctly.
211
212         * lyx_main.C (init): do not pass argc and argv as parameters
213
214 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
215
216         * buffer.C: fix path for OS/2 & Win32
217
218         * lyx_gui.C:
219         * lyx_main:
220         * lyx_main.C: Added os:: class.
221         
222         * os2_defines.h: update
223
224 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
225
226         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
227         better by trying again with reduced state.
228
229 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
230
231         * lyxrc.C (read): print error about invalid key sequence only when
232         debugging (because not all latinX keysyms are known to some X
233         servers)
234
235         * kbsequence.C (getiso): add a few std:: qualifiers
236         (getiso): comment out extra return statement.
237
238 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
239
240         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
241         handling.
242         (Dispatch): enhance the accent inset a bit. (not perfect)
243
244 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
245
246         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
247
248 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
249
250         * bufferlist.C (emergencyWrite): fix assert() call
251
252 2001-05-04  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
253
254         * text.C (InsertChar): Added trivial patch to only send the "you
255         can not do multiple spaces this way" message once during a
256         session.
257
258 2001-05-08  Baruch Even  <baruch@lyx.org>
259
260         * Makefile.am: Changed order of libraries to get LyX to link properly
261         with the gnome frontend.
262
263 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
264
265         * LaTeXFeatures.h: add a std:: qualifier
266
267 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
268
269         * paragraph.C (String): use stringstream
270
271 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
272
273         * paragraph.C (writeFile): remove footflag arg
274
275         * buffer.C (makeLaTeXFile): use stringstream
276         (latexParagraphs): remove footnot gurba
277
278         * LaTeXFeatures.C (getPackages): use stringstream
279         (getMacros): likewise
280         (getTClassPreamble): likewise
281         (getFloatDefinitions): new method
282
283         * paragraph.C (writeFile): reindent
284         (Erase): reindent
285
286         * WorkArea.h: revert the xpos + etc changes.
287
288         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
289
290         * lyxparagraph.[Ch]: add copy constructor, remove Clone
291
292         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
293         (pasteSelection): likewise
294         * text2.C (CreateUndo): likewise
295
296 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
297
298         * minibuffer.C (peek_event): temporarily reduce the functionality
299         of the minibuffer (to allow args on lfuns)
300
301         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
302         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
303
304         * buffer.C (readInset): add compability reading of old float
305         lists, add reading of new style float list.
306         (readInset): avoid reevaluation of inscmd.getCmdName()
307         (getLists): reindent
308
309         * MenuBackend.C (MenuItem): implement parsing of
310         md_floatlistinsert and md_floatinsert.
311         (expand::LastFiles): move initalizaton of iterators out of loop,
312         avoid reevaluation.
313         (expand::Documents): introduce typdedef vector<string> Strings,
314         and use it. 
315         (expand::ExportFormats): introduce typedef vector<Format const *>
316         Formats, and use it.
317         (expand): implement FloatListInsert and FloatInsert.
318
319         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
320         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
321         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
322
323         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
324         handling. 
325         (Dispatch::LFUN_FLOAT_LIST): implement
326
327 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
328  
329         * LaTeX.C (run): Fix problem with --export code.
330  
331 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
332
333         * BufferView.[Ch] (workarea): removed.
334         (getClipboard) new method; wrapper for workarea()->getClipboard()
335
336         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
337         bug.
338
339         * WorkArea.h (width, height, xpos, ypos): These methods all
340         returned the dimensions of the work_area sub-area of WorkArea,
341         resulting in a position error if the WorkArea were resized. Now
342         return the dimensions of the entire WorkArea.
343
344         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
345
346 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
347
348         * LaTeX.C (deplog): correct the syntax of regex reg1
349
350 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
351
352         * undo.C: remove !NEW_INSETS cruft
353
354 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
355
356         * text2.C: remove !NEW_INSETS cruft
357
358         * text.C: remove !NEW_INSETS cruft
359
360         * tabular.C: remove !NEW_INSETS cruft
361
362         * spellchecker.C: remove !NEW_INSETS cruft
363
364         * lyxtext.h: remove !NEW_INSETS cruft
365
366         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
367
368         * lyxfunc.C: remove !NEW_INSETS cruft
369
370         * lyxfind.C: remove !NEW_INSETS cruft
371
372         * lyx_cb.C: remove !NEW_INSETS cruft
373
374         * figureForm.C: remove  !NEW_INSETS cruft
375
376         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
377
378         * buffer.[Ch]: remove !NEW_INSETS cruft
379
380         * ToolbarDefaults.C: remove !NEW_INSETS cruft
381
382         * CutAndPaste.C: remove !NEW_INSETS cruft
383
384         * BufferView_pimpl.C: remove !NEW_INSETS cruft
385
386         * BufferView2.C: remove !NEW_INSETS cruft
387
388         * BufferView.h: remove !NEW_INSETS cruft
389
390 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
391
392         * Lsstream.h: include LString.h before the sstream headers to
393         fix problem with gcc 2.95.3 and lyxstring
394
395 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
396
397         * lyx_main.C: add using directives when needed for C functions
398         declared in std:: namespace.
399
400 2001-04-27  Juergen Vigna  <jug@sad.it>
401
402         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
403         (SetHeightOfRow): comment out the update call should not be needed!
404
405 2001-04-13  Juergen Vigna  <jug@sad.it>
406
407         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
408         (LyXTabular): tried to minimize operator= operations (and realized
409         hopfully Lars wish).
410
411 2001-04-27  Juergen Vigna  <jug@sad.it>
412
413         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
414
415 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
416
417         * lyxfunc.C (Dispatch): hack to make listof algorithm work
418
419         * buffer.C (readInset): hack to make listof algorithm work
420
421         * BufferView_pimpl.C: hack to make listof algorithm work
422
423 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
424
425         * LyXAction.C: removed all !NEW_INSETS cruft
426         (init): moved lfun_item in method
427
428         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
429
430 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
431
432         * BufferView2.C (theLockingInset): white space.
433
434 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
435
436         * minibuffer.C: include <iostream>
437
438         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
439
440         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
441
442         * commandtags.h: add LFUN_TRANSPOSE_CHARS
443
444         * text.[Ch] (TransposeChars): new method
445
446 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
447
448         * call message directly through LyXView instead of through LyXFunc
449         * BufferView2.C: adjust
450         * BufferView_pimpl.C: adjust
451         * FontLoader.C: adjust
452         * buffer.C: adjust
453         * bufferview_funcs.C: adjust
454         * converter.C: adjust
455         * figureForm.C: adjust
456         * importer.C: adjust
457         * lyx_cb.C: adjust
458         * lyx_gui_misc.C: adjust
459         * lyxfunc.C: adjust
460         * lyxvc.C: adjust
461         * text2.C: adjust
462         + more files in subdirs
463         
464         * lyxparagraph.h (size): move up int file
465         (GetLayout): ditto
466
467         * adjust all uses of Assert to lyx::Assert.
468
469         * BufferView2.C (ChangeCitationsIfUnique): adjust for
470         lyxfunctional in namespace lyx
471         * layout.C (hasLayout): ditto
472         (GetLayout): ditto
473         (GetLayout): ditto
474         (delete_layout): ditto
475         (NumberOfClass): ditto
476         * converter.C (GetFormat): ditto
477         (GetNumber): ditto
478         (Add): ditto
479         (Delete): ditto
480         (SetViewer): ditto
481         * bufferlist.C (getFileNames): ditto
482         (emergencyWriteAll): ditto
483         (exists): ditto
484         (getBuffer): ditto
485         * MenuBackend.C (hasSubmenu): ditto
486         (hasMenu): ditto
487         (getMenu): ditto
488         * BufferView_pimpl.C (getInsetByCode): ditto
489
490 2001-04-18  Juergen Vigna  <jug@sad.it>
491
492         * vspace.C (asLatexString): fixed the 100% problem.
493
494 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
495
496         * lyxfunc.C (Dispatch): 
497         * minibuffer.C: 
498         * minibuffer.h: add a few std:: qualifiers
499
500 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
501
502         * minibuffer.[Ch]: reimplement so that commands is initiated and
503         run from lyxfunc, simplified som handling, and made the completion
504         and history code for complete. wip. 
505
506         * lyxfunc.C (processKeySym): call message
507         (miniDispatch): new temporary method
508         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
509         (LFUN_MESSAGE): implement
510         (LFUN_MESSAGE_PUSH): implement
511         (LFUN_MESSAGE_POP): implement
512         (initMiniBuffer): the initial/defualt minibuffer message.
513
514         * lyxfont.[Ch]: inline some more getters
515
516         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
517
518         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
519
520         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
521         (AutoSave): use LFUN_MESSAGE
522         (Reconfigure): ditto
523
524         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
525
526         * figureForm.C: use LFUN_MESSAGE
527
528         * converter.C (runLaTeX): use LFUN_MESSAGE
529
530         * bufferview_funcs.C: use LFUN_MESSAGE
531         (Melt): ditto
532         (changeDepth): ditto
533
534         * bufferparams.h: use boost::
535
536         * bufferlist.h: inherit privately from noncopyable
537
538         * bufferlist.C (loadLyXFile): remove some commented code.
539
540         * buffer.C (runChktex): use LFUN_MESSAGE
541
542         * ShareContainer.h: inherit privately from noncopyable
543
544         * ParagraphParameters.[hC] (depth): inline it.
545
546         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
547         methods.
548         (message): new method
549         (messagePush): ditto
550         (messagePop): ditto
551         (show): init minibuffer
552         (showState): direct call
553
554         * LaTeX.[Ch]: inherit privately from noncopyable
555         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
556         instead of WriteStatus.
557
558         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
559
560         * BufferView_pimpl.C (buffer): don't init minibuffer
561         (workAreaButtonPress): use LFUN_MESSAGE
562         (workAreaButtonRelease): ditto
563         (savePosition): ditto
564         (restorePosition): ditto
565         (MenuInsertLyXFile): ditto
566         (workAreaExpose): don't init minibuffer
567         (update): remove commented code, simplify
568
569         * BufferView2.C (openStuff): use LFUN_MESSAGE
570         (toggleFloat): ditto
571         (menuUndo): ditto
572         (menuRedo): ditto
573         (copyEnvironment): ditto
574         (pasteEnvironment): ditto
575         (copy): ditto
576         (cut): ditto
577         (paste): ditto
578         (gotoInset): ditto
579         (updateInset): remove some commented code
580
581         * lastfiles.h: inherit privately from noncopyable
582         * layout.h: ditto
583         * lyx_gui.h: ditto
584         * lyx_main.h: ditto
585         * lyxlex.h: ditto
586         * lyxlex_pimpl.h: ditto
587
588         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
589         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
590         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
591
592         * LyXAction.h: inherit privately from noncopyable, add methods
593         func_begin, func_end, returning iterators to the func map.
594
595         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
596         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
597         (func_begin): new method
598         (func_end): new method
599
600         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
601         and not)
602         (copySelection): ditto
603         (pasteSelection): ditto
604
605         * BufferView.C: whitespace change
606         * BufferView.h: inherit privately from noncopyable
607
608 2001-04-16  Allan Rae  <rae@lyx.org>
609
610         * tabular-old.C (l_getline): 
611         * spellchecker.C (sc_check_word): 
612         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
613         an unrecognised preprocessor directive.  So ensure they're wrapped. 
614
615 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
616
617         * src/exporter.C (Export): Give an error message when path to file 
618         contains spaces.
619
620 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
621
622         * LaTeX.C (deplog): Always check that foundfile exists.
623
624 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
625
626         * lyx_main.h: 
627         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
628
629 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
630
631         * tabular.[Ch] (getLabelList): implement new method
632
633         * minibuffer.h: comment ouf setTiimer
634
635         * minibuffer.C (ExecutingCB): constify res
636         (peek_event): constify s
637         (Set): constify ntext
638         (Init): constify nicename
639
640         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
641
642         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
643         (savePosition): use two params to Minibuffer::Set
644         (restorePosition): ditto
645
646 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
647
648         * lyx_main.C: include language.h
649
650         * Makefile.am (lyx_main.o): add language.h
651
652 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
653
654         * exporter.C: 
655         * paragraph.C: 
656         * screen.C: 
657         * tabular.C: 
658         * CutAndPaste.C: include gettext.h
659
660         * lyxfont.h: remove old hack with ON and OFF.
661
662         * lyxparagraph.h: 
663         * lyxfont.h: do not include language.h...
664
665         * BufferView2.C: 
666         * LaTeXFeatures.C: 
667         * Painter.C: 
668         * bufferview_funcs.C: 
669         * font.C: 
670         * lyxfont.C: 
671         * text.C: 
672         * text2.C: 
673         * trans_mgr.C: 
674         * paragraph.C: ... but do it here instead
675
676 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
677
678         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
679
680         * tabular.C: small reformat
681
682         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
683         NEW_INSETS version
684         (GetChar): ditto
685         (BreakParagraph): ditto
686         (SetOnlyLayout): ditto
687         (SetLayout): ditto
688
689         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
690         with one arg less.
691
692         * lastfiles.C: removed most using decl, add std:: where needed
693
694         * buffer.C: ws changes
695
696         * MenuBackend.C (class compare_format): put into anon namespace
697         (expand): constify label, names, action, action2
698         (expand): 
699
700         * text.C (SingleWidth): constify font
701         (IsBoundary): constify rtl2
702         (GetVisibleRow): constify ww
703
704         * LaTeX.C (deplog): constify logfile
705
706         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
707         start_x, end_x
708         (workAreaExpose): constify widthChange, heightChange
709
710         * lyxrow.C (par): moved
711         (height): moved
712         (next): moved
713         * lyxrow.h: as inlines here
714
715         * lyxfont.h (shape): moved from lyxfont.C
716         (emph): moved from lyxfont.C
717
718         * lyxfont.C (LyXFont): use initialization list for all
719         constructors
720         (shape): move to lyxfont.h as inline
721         (emph): move to lyxfont.h as inline
722         
723
724 2001-04-04  Juergen Vigna  <jug@sad.it>
725
726         * vspace.C: had to include stdio.h for use of sscanf
727
728 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
729
730         * BufferView.h: 
731         * BufferView_pimpl.h: remove xforms cruft. Both classes are
732         independent of xforms.
733
734 2001-04-02  Juergen Vigna  <jug@sad.it>
735
736         * spellchecker.C: fixed namespace placing!
737
738 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
739
740         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
741         the LyXParagraph * is 0.
742
743 2001-03-29  Juergen Vigna  <jug@sad.it>
744
745         * vspace.C: added support for %, c%, p%, l%.
746         (stringFromUnit): added helper function.
747         (asLatexString): changed to give right results for the %-values.
748
749         * buffer.C: convert the widthp in a width%.
750
751 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
752
753         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
754         figureForm.[Ch].
755
756         * figureForm.[Ch]: stripped the FD_from_figure manipulation
757         code out of lux_cb.[Ch], ready for its (imminent?) removal.
758
759         * lyx_cb.[Ch]: see above.
760
761         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
762         form1.[Ch].
763
764         * form1.[Ch]:
765         * lyx.[Ch]: replaced by figure_form.[Ch].
766
767         * lyx_gui.C:
768         * lyx_gui_misc.C:
769         * lyxfunc.C: changed headers associated with above changes.
770
771 2001-03-27  Juergen Vigna  <jug@sad.it>
772
773         * BufferView_pimpl.C: set the temporary cursor right!
774
775 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
776
777         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
778
779 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
780
781         * LString.h: removed "using std::getline"!
782
783         * BufferView_pimpl.C (Dispatch): changes due to changes in
784         InsetInclude::Params.
785
786         * buffer.C (tag_name): removed redundant break statements as they were
787         producing lots of warnings with my compiler.
788
789 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
790
791         * LString.h: add "using std::getline" when using the real <string>.
792
793 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
794
795         * buffer.C: removed bitset usage.
796         PAR_TAG moved to an anonymous name space.
797         (tag_name): new funtion, also in the anonymous namespace.
798         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
799         (makeDocBookFile): clean code. Completed transition from string arrays
800         to string vectors.
801         (SimpleDocBookOnePar): code clean.
802
803 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
804
805         * tabular.C: add some comments.
806
807 2001-03-22  Juergen Vigna  <jug@sad.it>
808
809         * buffer.C (parseSingleLyXformat2Token): redone the minipage
810         compatibility read a bit and fixed bug with minipage in different
811         depth.
812
813 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
814
815         * buffer.C (pop_tag): removed.
816         (push_tag): removed.
817         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
818         array replaced with vector. Added support for CDATA sections.
819         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
820         at any nest level.
821         (makeDocBookFile): XML conformant declaration of CDATA section,
822         fixed bug related to <emphasis> in the first paragraph char.
823         (sgmlOpenTag): exclude empty tags.
824         (sgmlCloseTag): ditto.
825         
826         * buffer.h (pop_tag): removed.
827         (push_tag): removed.
828
829 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
830
831         * language.h (Languages): added size_type and size().
832
833 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
834
835         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
836         response on compability reading of minipages. One probliem is that
837         the old usage of minipages was «flertydig» 
838
839         * several files here and in subdirs: don't use static at file
840         scope use anon namespaces instead.
841
842 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
843
844         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
845         LaTeX output. This is necessary for Literate document
846         processing.
847
848 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
849
850         * buffer.C: insert hfill when needed.
851
852         * tabular.C (l_getline): use string::erase, small whitespace change.
853
854         * BufferView_pimpl.C: try the anon namespace.
855         * WorkArea.C: ditto
856
857 2001-03-16  Juergen Vigna  <jug@sad.it>
858
859         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
860         otherwise it won't open options-dialogs.
861
862         * buffer.C: honor pextraWidth(p) on converting minipages.
863
864         * tabular.C (l_getline): changed the functions to strip trailing \r.
865
866 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
867
868         * BufferView_pimpl.C:
869         * minibuffer..C: added "using SigC::slot" declaration.
870
871 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
872
873         * lyxlex_pimpl.h: noncopyable is in namespace boost.
874
875         * text2.C: ditto
876
877         * text.C: ditto
878
879         * paragraph.C: ditto
880
881         * lyxtext.h: NO_PEXTRA
882
883         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
884
885         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
886         * ParameterStruct.h: ditto
887         * ParagraphParameters.h: ditto 
888         * lyxparagraph.h: ditto
889
890 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
891
892         * buffer.C: add compability for minipage alignment.
893         (latexParagraphs): remove unwanted pextra check.
894
895         * several files: remove CXX_WORKING_NAMESPACES
896
897         * buffer.C (pop_tag): tie is in namespace boost
898
899         * BufferView.h: noncopyable is in namespace boost
900         * lyxlex.h: ditto
901         * lyx_main.h: ditto
902         * lyx_gui.h: ditto
903         * layout.h: ditto
904         * lastfiles.h: ditto
905         * bufferlist.h: ditto
906         * ShareContainer.h: ditto
907         * LyXView.h: ditto
908         * LyXAction.h: ditto
909         * LaTeX.h: ditto
910
911 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
912
913         * Merging changes from BRANCH_MVC back into HEAD.
914
915         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
916
917 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
918
919         * BufferView_pimpl.C: change from intl.C
920
921         * combox.h:
922         * combox.C:
923         * Makefile.am: move combox.*
924
925         * form1.h:
926         * form1.C:
927         * lyx_gui.C:
928         * intl.h:
929         * intl.C: remove dialog (covered by prefs)
930
931 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
932
933         * lyxfunc.C (Dispatch): removed redundant break statement.
934         
935 2001-03-14  Juergen Vigna  <jug@sad.it>
936
937         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
938
939 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
940
941         * buffer.C: add hack to fix compability reading of minipages.
942
943 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
944
945         * buffer.C (getLists): Cleanup.
946
947 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
948
949         * lyxfont.C (update): don't honor toggleall on font size.
950
951 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
952
953         * bmtable.c:
954         * bmtable.h:
955         * Makefile.am: moved to frontends/xforms/
956
957         * lyx_gui_misc.C:
958         * lyxfunc.C:
959         * BufferView_pimpl.C: changes for moved mathpanel
960
961 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
962
963         * gettext.h: fix gettext_init() in --disable-nls
964
965 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
966
967         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
968
969 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
970
971         * lyx.C:
972         * lyx.h: strip external form
973
974 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
975
976         * BufferView_pimpl.C: add comment, destroySplash()
977
978 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
979
980         * BufferView_pimpl.C:
981         * LyXAction.C:
982         * buffer.C:
983         * commandtags.h:
984         * lyxfunc.C: use re-worked insetinclude
985
986 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
987
988         * buffer.C: add using std::stringstream.
989
990         * lyx_cb.C: readd using std::ios.
991
992         * buffer.C: add using std::map.
993
994         * BufferView_pimpl.C: add using std::vector.
995
996         * ShareContainer.h: add std:: to swap.
997
998         * buffer.h: add some typedefs
999         * buffer.C (getLists): use them
1000         (getLists): renamed from getTocList.
1001         add a counter for the different float types and use it in the
1002         generated string.
1003         (getLists): use the same counter for the NEW_INSETS and the "non"
1004         NEW_INSETS
1005
1006         * lyx_cb.h: remove unused items, includes, using etc.
1007
1008         * ShareContainer.h: remove some commented code, add more comments
1009         and "documentation".
1010
1011 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1012
1013         * buffer.C (getTocList): make the list also when NEW_INSETS is
1014         defined.
1015
1016         * buffer.h: remove TocType
1017
1018         * buffer.C (getTocList): change to return a map<string,
1019         vector<TocItem> >, implement for dynamic number of list.
1020
1021         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1022         * text2.C (PasteSelection): adjust
1023         * CutAndPaste.C (pasteSelection): adjust
1024
1025         * FloatList.C (FloatList): update from the new_insets branch.
1026         * Floating.[Ch]: ditto
1027         * LaTeXFeatures.C: ditto
1028         * buffer.C: ditto
1029         * lyxlex_pimpl.C: ditto
1030         
1031         * paragraph.C (Last): remove when NEW_INSETS is defined.
1032
1033         * other file: changes because of the above.
1034
1035 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1036
1037         * lyxparagraph.h: rename next to next_, previous to previous_,
1038         make them private for NEW_INSETS. Rename Next() to next(),
1039         Previous() to previous().
1040
1041         * other files: changes because of the above.
1042
1043 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
1044
1045         * BufferView.h: 
1046         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1047         problem.
1048
1049 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1050
1051         * main.C (main): pass lyx_localedir to gettext_init().
1052
1053         * gettext.h: remove locale_init and gettext_init macros
1054
1055         * gettext.C (locale_init): new function
1056         (gettext_init): new function
1057
1058         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1059         setlocale().
1060
1061 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
1062
1063         * Moved credits to frontends:
1064         * credits.[Ch]: removed
1065         * credits_form.[Ch]: removed
1066         * lyx_gui_misc.C: remove credits stuff
1067         * Makefile.am:
1068
1069 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1070
1071         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1072
1073         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1074         unneeded destructor.
1075
1076         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1077         a standalone pointer again.
1078
1079         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1080
1081 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
1082
1083         * Makefile.am:
1084         * filedlg.h:
1085         * filedlg.C:
1086         * LyXAction.C:
1087         * ToolbarDefaults.C:
1088         * bufferlist.C:
1089         * commandtags.h:
1090         * form1.C:
1091         * form1.h:
1092         * lyx_cb.C:
1093         * lyx_cb.h:
1094         * lyxfunc.h:
1095         * lyxfunc.C:
1096         * BufferView_pimpl.C: use new file dialog in GUII
1097
1098         * lyx_cb.h:
1099         * lyx_cb.C: remove LayoutsCB to Toolbar
1100
1101 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1102
1103         * ShareContainer.h (get): add std:: qualifier
1104
1105 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1106
1107         * ShareContainer.h: define a proper ShareContainer::value_type
1108         type (and use typename to please compaq cxx)
1109
1110 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1111
1112         * lyxparagraph.h: move serveral local vars to
1113         ParameterStruct/ParagraphParameters., use ShareContainer in
1114         FontTable., make vars in FontTable private and add getter and
1115         setter.
1116
1117         * paragraph.C: changes because of the above.
1118
1119         * lyxfont.h: remove copy constructor and copy assignment. (the
1120         default ones is ok), move number inside FontBits. move inlines to
1121         lyxfont.C 
1122
1123         * lyxfont.C: add number to initializaton of statics, move several
1124         inlines here. constify several local vars. some whitespace
1125         cleanup. Dont hide outerscope variables.
1126
1127         * Spacing.h: add two new constructors to match the set methods.
1128
1129         * ShareContainer.h: new file, will perhaps be moved to support
1130
1131         * ParameterStruct.h: new file
1132
1133         * ParagraphParameters.h: new file
1134
1135         * ParagraphParameters.C: new file
1136
1137         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1138         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1139
1140         * BufferView_pimpl.C: ParagraphParameter changes.
1141         * buffer.C: Likewise.
1142         * bufferview_funcs.C: Likewise.
1143         * text.C: Likewise.
1144         * text2.C: Likewise.
1145         
1146 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1147
1148         * lyxfind.C (LyXReplace): do not redefine default argument in
1149         implementation. 
1150         (IsStringInText): ditto
1151         (SearchForward): ditto
1152         (SearchBackward): ditto
1153
1154 2001-03-06  Juergen Vigna  <jug@sad.it>
1155
1156         * lyxfind.C (IsStringInText): put parentes around expressions.
1157
1158 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
1159
1160         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1161         
1162 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
1163
1164         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1165
1166         * stl_string_fwd.h: add comment
1167
1168         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1169
1170         * tabular.h:
1171         * tabular.C: remove unused DocBook methods
1172
1173         * intl.C:
1174         * language.C:
1175         * paragraph.C:
1176         * buffer.C:
1177         killed DO_USE_DEFAULT_LANGUAGE
1178
1179 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1180
1181         * lyx_gui.C: do not include language.h.
1182
1183         * bufferview_funcs.C (ToggleAndShow): do not provide optional
1184         arguments in function implementation.
1185
1186 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1187
1188         * BufferView_pimpl.C: add <ctime>
1189
1190 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1191
1192         * BufferView_pimpl.C: add using std::find_if
1193
1194 2001-02-27  José Matos  <jamatos@fep.up.pt>
1195         
1196         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1197         by OnlyPath.
1198         
1199 2001-02-11  José Matos  <jamatos@fep.up.pt>
1200
1201         * buffer.C (makeDocBookFile): command styles now have a parameter as
1202         "title" by default.
1203
1204 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
1205
1206         * layout_forms.[Ch]: removed
1207         * lyx_cb.[Ch]: out character
1208         * lyx_gui.C: out character
1209         * lyx_gui_misc.C: out character
1210         * bufferview_funcs.C: : out character,
1211         added toggleall as parameter in ToggleAndShow
1212                    
1213 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
1214
1215         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1216
1217         * text2.C (SetCurrentFont): Disable number property at boundary.
1218
1219 2001-02-26  Juergen Vigna  <jug@sad.it>
1220
1221         * lyxfunc.C (getStatus): added a string argument override function so
1222         that this is correctly called from LyXFunc::Dispatch if it contains a
1223         do_not_use_argument which is used!
1224         (Dispatch): added check for "custom" export and call appropriate func.
1225
1226 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
1227
1228         * lyxrc.C: Add language_command_local, language_use_babel and
1229         language_global_options.
1230
1231         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1232
1233         * buffer.C (makeLaTeXFile): Use language_use_babel and 
1234         language_global_options.
1235
1236 2001-02-23  Juergen Vigna  <jug@sad.it>
1237
1238         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1239         which works with LyXText and putted it inside BufferView. Here now we
1240         only call for that part the BufferView::Dispatch() function.
1241
1242         * BufferView.C (Dispatch): added.
1243
1244         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1245         functions which needs to use a LyXText over from LyXFunc.
1246         (MenuInsertLyXFile): added
1247         (getInsetByCode): added
1248         (moveCursorUpdate): added
1249         (static TEXT): added
1250
1251 2001-02-22  Juergen Vigna  <jug@sad.it>
1252
1253         * BufferView_pimpl.C (update): call a status update to see if LyXText
1254         needs it.
1255
1256 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1257
1258         * vc-backend.C (revert): implement for CVS
1259         (getLog): implement for CVS
1260
1261 2001-02-20  Juergen Vigna  <jug@sad.it>
1262
1263         * text2.C (ClearSelection): added BufferView param for inset_owner call
1264
1265         * lyxfunc.C (TEXT): added this function and use it instead of
1266         directly owner->view()-text of getLyXText().
1267
1268 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
1269
1270         * src/layout_forms.C: out preamble
1271         * src/layout_forms.h: out preamble
1272         * src/lyx_cb.C: out preamble
1273         * src/lyx_cb.h: out preamble
1274         * src/lyx_gui.C: out preamble
1275         * src/lyx_gui_misc.C: out preamble
1276         * src/lyxfunc.C: connect with guii preamble
1277
1278 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1279
1280         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1281
1282 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
1283
1284         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1285         whether to run bibtex.
1286
1287 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
1288
1289         * Makefile.am (lyx_SOURCES): Remove BackStack.h
1290
1291 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1292
1293         * Makefile.am (lyx_SOURCES): removed bibforms.h
1294
1295         * vspace.h: doxygen
1296
1297         * text.C (GetVisibleRow): make several local vars const
1298
1299         * tabular.C: small cleanup.
1300
1301         * lyxserver.C (callback): use compare instead of strncmp
1302
1303         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1304         inlines to after class or to paragraph.C
1305
1306         * lyxfont.h: remove friend operator!=
1307
1308         * converter.h: move friend bool operator< to non friend and after
1309         class def.
1310
1311         * combox.h: small cleanup
1312
1313         * buffer.h: doxygen, remove unused constructor, move inclas inlies
1314         to inlines after class def.
1315
1316         * buffer.C (pop_tag): use string operations instead of strcmp
1317
1318         * bmtable.c: doxygen, small cleanup
1319
1320         * LaTeX.h: remove friend operator==
1321
1322 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1323
1324         * screen.C: 
1325         * lyxrc.[Ch]:
1326         * lyxfunc.C: 
1327         * lyxfont.[Ch]: 
1328         * lyx_cb.C: 
1329         * intl.[Ch]: 
1330         * commandtags.h: 
1331         * buffer.C: 
1332         * WorkArea.[Ch]: 
1333         * LyXAction.C: 
1334         * BufferView_pimpl.C:
1335         * BufferView.[Ch]: remove cruft
1336
1337 2001-02-14  Juergen Vigna  <jug@sad.it>
1338
1339         * lyxfunc.C: removed #if 0 unused code
1340
1341         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1342
1343         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1344
1345         * text2.C (SetSelection): added a BufferView * parameter
1346
1347 2001-02-13  Juergen Vigna  <jug@sad.it>
1348
1349         * lyxfunc.C (Dispatch): fixed protected blank problem.
1350         * BufferView2.C (protectedBlank): added LyxText * parameter.
1351
1352         * tabular.C (AppendRow): forgot to set row_info of newly added row.
1353         (AppendColumn): same as above for column_info.
1354
1355         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1356         (moveCursorUpdate): use a LyXText param for support of InsetText.
1357
1358         * BufferView_pimpl.C (doubleClick): added support for InsetText.
1359         (tripleClick): ditto
1360
1361         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1362
1363         * BufferView_pimpl.C (update): added LyXText param to honor insets.
1364
1365         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1366
1367         * text2.C (SetSelection): set correct update status if inset_owner
1368         (ToggleFree): ditto
1369
1370 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
1371
1372         * tabular.C: remove some commented code.
1373
1374 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
1375
1376         * BufferView_pimpl.C: call hideSplash()
1377
1378         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1379
1380         * include_form.h:
1381         * bibforms.h: remove
1382
1383         * lyxfunc.C:
1384         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1385           add LFUN_CHILD_CREATE
1386
1387         * counters.h: fix tiny typo
1388         
1389         * lyx_cb.C:
1390         * lyx.h:
1391         * lyx_gui.C:
1392         * lyx.C: move splash to frontends/xforms/
1393
1394         * lyx_gui_misc.C: move Include and Bibform to frontends
1395
1396         * lyxvc.h: clarify comment
1397
1398         * vspace.C: tiny housekeeping
1399
1400 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1401
1402         * text.C (PrepareToPrint): RTL Fix.
1403
1404         * paragraph.C (GetUChar): New method.
1405         (String):  Use GetUChar.
1406
1407         * buffer.C (asciiParagraph): Use GetUChar.
1408
1409 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
1410
1411         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1412
1413 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
1414
1415         * buffer.h:
1416         * buffer.C: rename to getLogName(), handle
1417           build log / latex log nicely
1418
1419 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1420
1421         * MenuBackend.C: 
1422         * MenuBackend.h: remove support for reference menuitem type.
1423
1424 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
1425
1426         * BufferView_pimpl.C: housekeeping
1427         * BufferView_pimpl.h:
1428         * LyXView.h:
1429         * Makefile.am:
1430         * Timeout.C:
1431         * Timeout.h:
1432         * minibuffer.h: move Timeout GUI-I
1433                           
1434 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
1435
1436         * lyxrc.C (read): Update converters data-structures.
1437
1438 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
1439
1440         * LaTeX.h (operator!=): add operator != for Aux_Info 
1441
1442 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
1443
1444         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1445
1446         * LaTeXLog.C: deleted, useful code moved to Buffer
1447
1448         * buffer.h:
1449         * buffer.C: new function getLatexLogName()
1450
1451         * lyx_gui_misc.C:
1452         * lyx_gui.C:
1453         * lyxvc.C:
1454         * lyxvc.h:
1455         * lyxfunc.C: use frontends for LaTeX and VC logs
1456
1457 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1458
1459         * LaTeX.h: yet another std:: that Allan forgot.
1460
1461         * Variables.C (set): renamed from isset(), because this clashes
1462         with some HP-UX macros (grr).
1463
1464 2001-02-06  Allan Rae  <rae@lyx.org>
1465
1466         * LaTeX.h: Another bug fix.  Missing std:: this time.
1467
1468 2001-02-04  Allan Rae  <rae@lyx.org>
1469
1470         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1471         floats problem. I've left it commented out because it's not quite
1472         correct.  It should also test that the current object is a table or
1473         figure inset.  But I haven't gotten around to figuring out how to do
1474         that.  I *think* it'll be something like: "table" == inset.type()
1475
1476         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1477         bool.
1478
1479 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1480
1481         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1482         all the citation/databases/styles in the auxilary file. 
1483         (run): Rerun latex if there was a babel language error.
1484
1485 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
1486
1487         * text.C (Backspace): Preserve the font when changing newline char
1488         with a space.
1489         (BreakParagraph): If the cursor is before a space, delete the space.
1490
1491         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1492
1493 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1494
1495         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1496         new argument (code).
1497         (ChangeCitationsIfUnique): New method.
1498
1499         * paragraph.C (GetPositionOfInset): Handle bibkey.
1500
1501 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1502
1503         * BufferView_pimpl.h: change type of Position::par_pos to
1504         LyXParagraph::size_type. 
1505
1506 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
1507
1508         * BufferView_pimpl.C (savePosition, restorePosition): Write
1509         messages to minibuffer.
1510
1511 2001-01-28  José Matos  <jamatos@fep.up.pt>
1512
1513         * buffer.C (makeDocBookFile): adds support for document language.
1514         A silly restriction on the name of LatexCommand types where removed.
1515         Added support for CDATA sections, allows to chars unescaped, used
1516         among others in code, to avoid escape < and >.
1517         
1518 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
1519
1520         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
1521         saved positions instrad of a stack. Furthermore, a position is
1522         stored using paragraph id/paragraph position.
1523
1524         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1525         Remove LFUN_REF_BACK.
1526
1527 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
1528
1529         * converter.C (dvipdfm_options): New method.
1530
1531 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1532
1533         * vspace.C (isValidLength): Fix for empty input string.
1534
1535 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1536
1537         * LyXAction.C (init): change description of LFUN_FIGURE to
1538         "Insert Graphics"
1539
1540 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1541
1542         * LaTeX.C: add using directive
1543
1544 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
1545
1546         * MenuBackend.C (expand): Fix the sorting of the formats.
1547
1548 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
1549
1550         * lyx_main.C: tiny error message fix
1551
1552 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1553
1554         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1555         calling fl_initialize(). This fixes the problem with ',' as
1556         decimal separator in text files.
1557
1558 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
1559
1560         * trans.C (process): Fix the keymap bug.
1561
1562 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
1563
1564         * LaTeX.C (scanAuxFiles): New method. Provides support for
1565         multiple bibliographies (when using the bibtopic/bibunits pacakges).
1566         (scanLogFile) Scan for "run BibTeX" messages.
1567
1568         * buffer.C (makeLaTeXFile): Do not load the ae package when using
1569         OT1 font encoding. Also, load the aecompl package if the ae
1570         package is loaded.
1571
1572         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1573
1574 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1575
1576         * texrow.C (increasePos): turn two error messages into debug
1577         messages. 
1578
1579 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
1580
1581         * LaTeX.C (scanAux): Handle the \@input macro.
1582         (runBibTeX): Use scanAux().
1583
1584         * language.C (latex_options_): New field.
1585
1586         * LaTeXFeatures.C (getMacros): Add language macros.
1587
1588         * buffer.C (makeLaTeXFile): Small fix.
1589
1590 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1591
1592         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1593
1594         * text2.C: add a using directive.
1595
1596 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
1597
1598         * BufferView2.C:
1599         * lyx_gui_misc.h:
1600         * lyxfr1.C:
1601         * lyxfunc.C: kill LyXBell.
1602
1603 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
1604
1605         * text.C (IsBoundary): Remove the error message
1606         
1607         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1608
1609         * lyxrc.C (setDefaults): Correct initialization value for
1610         font_norm_type.
1611
1612 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1613
1614         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1615         gotoError().
1616
1617         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1618         and GotoNextNote().
1619
1620         * src/LyXAction.C: Added reference-next.
1621
1622         * text.C (InsertChar): Use contains instead of strchr.
1623
1624         * lyx_cb.C (MenuInsertLabel): Enable default value code.
1625
1626 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
1627
1628         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1629         alignment commands (when needed).
1630
1631         * text.C (InsertChar): Add ':' to number separator chars.