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