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