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