]> git.lyx.org Git - features.git/blob - src/ChangeLog
(Alfredo): avoid crashing when dragging over the splash screen.
[features.git] / src / ChangeLog
1 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4         dragging over the splash screen.
5
6 2003-12-11  Angus Leeming  <leeming@lyx.org>
7
8         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
9         as it is now handled in LyXText::dispatch.
10
11         * text3.C (doInsertInset): remove a level of nesting.
12
13 2003-12-11  Angus Leeming  <leeming@lyx.org>
14
15         * factory.C (createInset): changes due to the changed interface to
16         InsetCommandMailer::string2params.
17
18 2003-12-10  Angus Leeming  <leeming@lyx.org>
19
20         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
21         'dialog-show-new-inset <inset name>'
22
23 2003-12-10  Angus Leeming  <leeming@lyx.org>
24
25         * buffer.C: up the format to 227.
26
27         * factory.C: the box inset is now identified simply by 'Box'.
28
29 2003-12-10  Angus Leeming  <leeming@lyx.org>
30
31         * buffer.C: up the format to 226.
32
33         * factory.C: the note inset is now identified simply by 'Note'.
34
35 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
36
37         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
38         when a pit is enough. Standarize a couple of loops. 
39
40 2003-12-05  Angus Leeming  <leeming@lyx.org>
41
42         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
43         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
44         data to the re-worked "log" dialog.
45
46 2003-12-03  André Pönitz  <poenitz@gmx.net>
47
48         * PosIterator.C:
49         * iterators.C:
50         * lyxtext.h:
51         * output_latex.C:
52         * paragraph_funcs.C:
53         * text.C:
54         * text2.C: use Inset::getText instead of Inset::getParagraph
55
56 2003-12-03  André Pönitz  <poenitz@gmx.net>
57
58         * buffer.[Ch]:
59         * lyxtext.h:
60         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
61         InsetText::read() as LyXText::read()
62         
63 2003-12-02  Angus Leeming  <leeming@lyx.org>
64
65         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
66         type. Add a comment in the implementation that the function uses
67         the stream's bad() function rather than fail() as the std::streams
68         would do.
69
70 2003-12-02  André Pönitz  <poenitz@gmx.net>
71
72         * lyxlex.[Ch]: make interface more similar to std::stream
73
74         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
75
76 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
79
80 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
81
82         * vspace.[Ch]: remove VSpace::NONE
83
84 2003-12-01  André Pönitz  <poenitz@gmx.net>
85
86         * buffer.[Ch]:
87         * lyxtext.h: move ParagraphList member to LyXText
88         rename LyXText::ownerParagraphs to LyXText::paragraph
89
90         * CutAndPaste.C:
91         * bufferview_funcs.C:
92         * iterators.[Ch]:
93         * lyx_cb.C:
94         * paragraph.C:
95         * rowpainter.C:
96         * tabular.C:
97         * text.C:
98         * text2.C:
99         * text3.C: adjust
100
101         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
102
103         * undo.C: fix cursor positioning 
104
105 2003-12-01  John Levon  <levon@movementarian.org>
106
107         * BufferView_pimpl.C: fix a crash on exit with
108         a buffer open
109
110 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
111
112         * BranchList.C: fix setSelected() method.
113
114 2003-11-28  André Pönitz  <poenitz@gmx.net>
115
116         * ParagraphParameters.[Ch]:
117         * ParameterStruct.h: remove space above/below from Paragraph to
118          InsetVSpace
119
120         * BufferView_pimpl.C:
121         * factory.C:
122         * lyxfunc.C:
123         * lyxtext.h:
124         * output_latex.C:
125         * paragraph.C:
126         * paragraph_funcs.C:
127         * rowpainter.[Ch]:
128         * text.C:
129         * text2.C:
130         * text3.C: adjust
131
132 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
133
134         * factory.C: Syntax change for CharStyles
135
136 2003-11-28  André Pönitz  <poenitz@gmx.net>
137
138         * BufferView.[Ch]:
139         * BufferView.[Ch]:
140         * buffer.[Ch]:
141         * buffer.[Ch]: move LyXText member
142
143 2003-11-28  André Pönitz  <poenitz@gmx.net>
144
145         * BufferView.[Ch]: make LyXText * text a private member
146
147         * BufferView_pimpl.C:
148         * cursor.C:
149         * iterators.C:
150         * lyx_cb.C:
151         * lyxfind.C:
152         * lyxtext.h:
153         * rowpainter.[Ch]:
154         * text.C:
155         * text2.C:
156         * undo.C: adjust
157
158         * output_plaintext.C: cleanup
159
160 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
161
162         * buffer.C: 
163         * lyxtextclass.[Ch]: parametrize SGML document header
164
165 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
166
167         * converter.[Ch]:
168         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
169         getFlavor().
170
171 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
172
173         * text2.C (setFont): rework using PosIterator (no more recursive)
174         (setCharFont): no more needed 
175         (setLayout): no more selection cursors fiddling (done by redoCursor)
176         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
177         destroy remaining ones)
178
179 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
180
181         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
182         * lyxtext.h: ditto
183         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
184         selection cursors
185         * lyxfunc.C: adjust
186         * text3.C: adjust + re-allow multi par depth changes
187         * textcursor.C: simplify a bit
188
189 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
190
191         * src/buffer.C:
192         * src/lyxlayout.C:
193         * src/lyxlayout.h:
194         * src/lyxtext.h:
195         * src/output_docbook.C:
196         * src/output_latex.C:
197         * src/paragraph.C:
198         * src/paragraph.h:
199         * src/sgml.C:
200         * src/sgml.h:
201         * src/text2.C: Introducing a number of tags parametrizing various
202         XML formats that we may want to support
203
204 2003-11-25  André Pönitz  <poenitz@gmx.net>
205
206         * InsetList.[Ch] (begein, end): inline as suggested by profiler
207
208         * lyxtext.h (leftMargin/rightMargin): simplify interface
209
210         * rowpainter.C:
211         * text.C:
212         * text2.C:
213         * text3.C: adjust
214
215 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
216
217         * lyxfunc.C (dispatch): propogate the bibtex databases from the
218         master file to any child files. Fixes bug 546.
219
220 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
221
222         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
223
224 2003-11-24  André Pönitz  <poenitz@gmx.net>
225
226         * rowpainter.C: simplification
227
228         * text2.C (updateCounters): remove call to redoParagraph on 
229         changed labels as this is far too expensive.
230
231 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
232
233         * converter.C (convert): fix a crash: this function gets
234         called with buffer == 0 from importer code.
235
236 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
237
238         * text3.C (cursorPrevious): make sure that we do not compare
239         iterators form different containers.
240         (cursorNext): ditto
241
242         * rowpainter.C (paintSelection): make sure that we do not compare
243         iterators from different containers.
244
245         * text3.C (dispatch): [PRIOR] make sure that we do not compare
246         iterators from different ParagraphList containers.
247         [NEXT] ditto
248
249         * text2.C (LyXText): change order of initialization slightly
250         (operator=): new function. copy all variables except cache_par_
251         (moveUp): make sure that we do not compare iterators from
252         different ParagraphList constainers.
253         (moveDown): ditto
254
255         * text.C (firstPar): new function
256         (lastPar): new function
257         (endPar): new function
258
259         * lyxtext.h: move things around and group public functions, public
260         variables, private functions, private variables
261
262 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
263
264         * factory.C: change call to InsetERT constructor to avoid
265         additional invocation of method status
266         * text2.C (toggleInset): remove redundant update() call
267         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
268         instead of a Bufferview pointer
269
270 2003-11-21  André Pönitz  <poenitz@gmx.net>
271
272         * rowpainter.C: simplification
273
274 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
275
276         * text3.C (dispatch): make possible to extend a word/row selection
277         with the mouse
278
279 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * lyxtext.h: x0_,y0_ -> xo_,yo_
282         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
283         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
284         * rowpainter.C (paintRows): paint full paragraphs
285
286 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
287
288         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
289         screen coordinates)
290
291 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
292
293         * lyxtext.h: add x0_, y0_
294         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
295         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
296
297 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
298
299         * text2.C (setCursorIntern): move the x_target update here *
300         * text3.C: change some bv() to true/false in calls to
301         cursorUp/Down/Right/Left
302         * cursor.C: use helper function.
303
304 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
305
306         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
307         * paragraph_funcs.[Ch]: correct comment
308         * rowpainter.C: do not paint selections away from bv->cursor()
309         Fix a long standing selection painting bug.
310         * text3.C: generalize mouse-selection code to LyXTexts other that
311         top one
312         * textcursor.C: do not use y coords if we can use par offsets
313
314 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
317         cursor position after e.g. inset insert)
318
319 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
320
321         * lyxfind.C (replace): adjust to locking removal + some
322         code simplification
323
324 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
325
326         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
327         of the path
328
329 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
330
331         * lyxlayout.[Ch]:
332         * output_docbook.C: XML sanitation: new layout
333         parameters InnerTag and CommandDepth
334
335 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
336
337         * BufferView_pimpl.C:
338         * factory.C:
339         * text3.C: Fix the insertion and modification of button-style
340         insets
341
342 2003-11-13  André Pönitz  <poenitz@gmx.net>
343
344         * InsetList.[Ch]: remove deleteLyXText
345
346         * paragraph.[Ch]: cache beginOfBody position
347
348         * Bidi.C:
349         * text.C:
350         * text2.C:
351         * text3.C: remove superfluous update() calls
352
353         * vspace.C: cleanup
354
355 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
356
357         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
358         * BufferView.C (fitLockedInsetCursor): remove
359         * cursor.[Ch] (getDim): add
360         * text.C (getRowNearY): add faster version
361         * text3.C: remove some update calls
362
363 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
364
365         * LaTeXFeatures.C:
366         * LyXAction.C:
367         * MenuBackend.C:
368         * MenuBackend.h:
369         * dispatchresult.h:
370         * factory.C:
371         * lfuns.h:
372         * lyxfunc.C:
373         * lyxtextclass.C:
374         * lyxtextclass.h:
375         * text3.C: The Character Style /XML short element patch.
376
377 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
378
379         * text3.C:
380         * factory.C: Small step to solving 'unable to insert some insets'
381         problem
382
383 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
384
385         * cursor.[Ch] (updatePos): new function for updating the y
386         position of the tip inset
387         * bufferview_funcs.C (put_selection_at):
388         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
389
390 2003-11-11  André Pönitz  <poenitz@gmx.net>
391
392         * text.C: remove big comment on invalid Paragraph pointers as it is
393         not valid anymore
394
395 2003-11-11  André Pönitz  <poenitz@gmx.net>
396
397         * text_funcs.[Ch]: merge with ...
398
399         * text.C: ... this
400
401         * lyxtext.h:
402         * text2.C:
403         * text3.C: adjust
404
405         * Makefile.am: remove text_funcs.[Ch]
406
407 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
408
409         * cursor.C (getPos): return absolute cached y coord
410
411         * BufferView_pimpl.C (fitCursor): new simplistic code
412         (workAreaDispatch): add a fitCursor call
413
414 2003-11-10  André Pönitz  <poenitz@gmx.net>
415
416         * BufferView.[Ch]:
417         * BufferView_pimpl.[Ch]: merge update() and updateInset()
418
419 2003-11-10  André Pönitz  <poenitz@gmx.net>
420
421         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
422         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
423         indicate that the cursor needs to leave an inset
424
425         * lyxtext.h: remove inset locking
426
427         * cursor.[Ch]: re-implement functionality provided by inset locking
428
429         * BufferView.[Ch]:
430         * BufferView_pimpl.[Ch]:
431         * LyXAction.C:
432         * bufferview_funcs.[Ch]:
433         * factory.C:
434         * funcrequest.[Ch]:
435         * iterators.C:
436         * lyx_cb.C:
437         * lyxfind.C:
438         * lyxfunc.C:
439         * text.C:
440         * text2.C:
441         * text3.C:
442         * undo.C: adjust
443
444 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
445
446         * PosIterator.[Ch]: replace the stack with a vector, add inset
447         accesor
448         * iterators.[C]: adjust
449
450 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
451
452         * lyxfind.C (replaceAll): mark the buffer dirty if something was
453         replaced
454         * paragraph_funcs.C (readParToken): put the correct id in the
455         error item, not the id of the top paragraph
456
457 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
458
459         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
460         * bufferview_funcs.C (put_selection_at): use the above
461
462 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
463
464         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
465
466 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * output_linuxdoc.h:
469         * output_plaintext.h:
470         * output.h:
471         * output_docbook.h: add #include statements
472
473 2003-11-05  José Matos  <jamatos@lyx.org>
474
475         * output_docbook.[Ch]:
476         * output_latex.[Ch]:
477         * output_linuxdoc.[Ch]:
478         * output_plaintext.[Ch]: New files for output formats.
479         * output.[Ch]: New file for helper functions.
480
481         * buffer.[Ch]:
482         * paragraph_funcs.[Ch]: output functions moved to new files.
483
484         * outputparams.h: rename of latexrunparams.h
485
486         * LaTeX.[Ch]:
487         * buffer.[Ch]:
488         * bufferlist.[Ch]:
489         * converter.[Ch]:
490         * exporter.C:
491         * paragraph.[Ch]:
492         * paragraph_funcs.[Ch]:
493         * paragraph_pimpl.[Ch]:
494         * tabular.[Ch]: rename ascii to plaintext
495         and LatexRunParams to OutputParams.
496
497 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
498
499         * iterators.[Ch] (text): require bv argument
500         * undo.C (recordUndo):
501         * lyxfunc.C (dispatch):
502         * bufferview_funcs.C (put_selection_at): adjust
503
504 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
505
506         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
507
508 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
509
510         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
511         nestings
512
513 2003-11-04  André Pönitz  <poenitz@gmx.net>
514
515         * cursor.[Ch]: restructure
516
517         * BufferView.[Ch]:
518         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
519
520         * iterators.[Ch] (asCursor): remove
521
522         * lfuns.h: remove LFUN_INSET_EDIT
523
524         * lyxfunc.C:
525         * tabular.C:
526         * text.C:
527         * text2.C:
528         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
529
530 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
531
532         * lyxfind.[Ch]: complete overhaul
533         * BufferView_pimpl.C:
534         * lyxfunc.C: adjust
535         * paragraph.[Ch] (insert): add
536
537 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
538
539         * BufferView.[Ch]:
540         * lyxtext.h:
541         * text.C: remove dead spellcheck code
542
543 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
544
545         * dispatchresult.h: add a val setter
546
547         * cursor.C (dispatch): use a tempvar for data_[i]
548
549 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
550
551         * PosIterator.[Ch]: compile fix
552
553 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
554
555         * text.C (cursorPar): deactivate the cursor cache
556
557 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
558
559         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
560
561 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
562
563         * text3.C (dispatch): adjust for new DisptchResult semantics.
564
565         * lyxfunc.C (dispatch): handle update when return from
566         Cursor::dispatch, adjust for new DispatchResult semantics.
567
568         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
569         DispatchResult(true) mean to not update. Add class functions for
570         setting dispatched and update, as well as reading.
571
572         * cursor.C (dispatch): don't handle update here
573
574 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
575
576         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
577         * trans_mgr.C: adjust
578
579         * paragraph_funcs.C (readParToken): exception safety
580
581         * lyxvc.h: store the vcs pointer in a scoped_ptr
582         * lyxvc.C: adjust
583
584         * lyxsocket.C (serverCallback): exception safety
585
586         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
587
588         * ispell.C (clone): make it return a auto_ptr
589
590         * factory.C (createInset): exception safety
591         (readInset): exception safety
592
593         * bufferlist.C (newBuffer): exception safety
594
595         * Thesaurus.C (Thesaurus): use initialization for aik_
596
597         * MenuBackend.C (expandToc): exception safety.
598
599 2003-11-03  André Pönitz  <poenitz@gmx.net>
600
601         * buffer.C:
602         * buffer.h:
603         * bufferview_funcs.C: remove getInsetFromId()
604
605         * lyxcursor.[Ch]:
606         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
607
608         * lyxfunc.C:
609         * text2.C:
610         * text3.C: adjust
611
612 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
613
614         * PosIterator.C (distance, advance): new
615         * bufferview_funcs.[Ch] (put_selection_at): new
616         * iterators.[Ch] (lockPath): new
617
618 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
619
620         * iterators.[Ch] (asPosIterator): added
621         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
622         * PosIterator.[Ch]: added
623
624 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
625
626         * text3.C:
627         * lyxfunc.C:
628         * cursor.C (dispatch):
629         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
630
631         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
632         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
633         contructor, add a class function dispatched. Remove operator>=
634
635 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
636
637         * debug.C: only use the default constructor for debugstream
638         (lyxerr) here.
639
640         * main.C (main): include debug.h and setup the lyxerr streambuf
641         here.
642
643 2003-10-31  José Matos  <jamatos@lyx.org>
644
645         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
646
647         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
648         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
649         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
650         * paragraph_pimpl.C (simpleTeXSpecialC):
651         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
652         add LatexRunParams argument.
653
654         * exporter.C (Export): change call accordingly.
655
656         * latexrunparams.h: add new member to take care of the other backends.
657 2003-10-30  José Matos  <jamatos@lyx.org>
658
659         * buffer.C (makeLinuxDocFile, makeDocBookFile):
660         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
661         factorise code for paragraph output.
662         * buffer.[Ch]:
663         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
664         move functions.
665
666 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
667
668         * text3.C (dispatch):
669         * lyxfunc.C (dispatch):
670         * cursor.C (dispatch):
671         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
672
673         * dispatchresult.h: make the dispatch_result_t ctor explicit
674
675 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
676
677         * sgml.[Ch]:
678         * buffer.C: small refactoring of docbook stuff
679
680 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
681
682         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
683         meaning.
684
685 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
686
687         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
688         operator dispatch_result_t, and operators for == != and >=
689
690         * cursor.C (dispatch): adjust for operator dispatch_result_t
691         removal. comment out call to update
692
693         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
694
695 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
696
697         * text3.C:
698         * text2.C:
699         * text.C:
700         * lyxtext.h:
701         * lyxfunc.C:
702         * cursor.C:
703         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
704         (dispatch):
705
706         * dispatchresult.h: new file, DispatchResult broken out of
707         insets/insetbase.h
708
709         * Makefile.am (lyx_SOURCES): add dispatchresult.h
710
711 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
712
713         * text.C (rowBreakPoint): put a hack inside #if 0
714
715 2003-10-28  André Pönitz  <poenitz@gmx.net>
716
717         * lyxtext.h:
718         * metricsinfo.C:
719         * paragraph_funcs.C:
720         * rowpainter.C:
721         * text.C:
722         * text2.C: general cleanup (lots of small stuff)
723
724 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
725
726         * text2.C (cursorEnd): simple fix to the "end key goes to one
727         before the end on last row" bug
728
729 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
730
731         * text.C (backspace): fix the "zombie characters"
732
733 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
734
735         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
736
737 2003-10-27  André Pönitz  <poenitz@gmx.net>
738
739         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
740
741         * factory.C: handle new InsetPagebreak, InsetLine
742
743         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
744         and move handling into new InsetPagebreak, InsetLine
745
746         * BufferView_pimpl.C:
747         * LyXAction.C:
748         * ParagraphParameters.C:
749         * ParameterStruct.h:
750         * lyxfunc.C:
751         * lyxtext.h:
752         * paragraph.C:
753         * paragraph.h:
754         * paragraph_funcs.C:
755         * paragraph_pimpl.C:
756         * rowpainter.C:
757         * text.C:
758         * text2.C:
759         * text3.C: adjust
760
761 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
762
763         * text.C:
764         * lyxrow_funcs.[Ch]:
765         * Bidi.C:
766         * paragraph.C:
767         * lyxtext.h:
768         * rowpainter.C:
769         * text2.C:
770         * text3.C: remove lastPos uses in favour of Row::endpos
771
772 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
773
774         * undo.C (performUndoOrRedo): fix two crashes by setting a
775         cursor by hand and reordering some calls. Use bv->lockInset instead
776         of inset->edit because the latter loses cursor information
777
778 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
779
780         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
781         by Martin
782         (rowBreakPoint): fix width. change point to point + 1.
783         Add a missing check.
784
785 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
786
787         * MenuBackend.C:
788         * lyxfunc.C: fix (at least partly) the problems
789         with the Nav menu and headers inside branch insets
790         reported by Kayvan
791
792 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
793
794         * paragraph.C (getChar): add strong asserts
795
796         * lyxrow_funcs.C (lastPos): remove hideous hack
797
798         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
799         (fill): adjust to that (avoid an infinite loop)
800
801 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
802
803         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
804
805 2003-10-23  André Pönitz  <poenitz@gmx.net>
806
807         * RowList_fwd.h: change list<> to vector<> to gain speed
808         after suggestion from Alfredo
809
810 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
811
812         * lyxtext.h: move the bidi stuff from here...
813         * text.C: and here
814         * text2.C: and here
815         * Bidi.[Ch]: ... to here
816
817 2003-10-23  André Pönitz  <poenitz@gmx.net>
818
819         * lyxtext.h:
820         * text.C (isLastRow, isFirstRow): new functions
821
822         * paragraph.h: new width cache member
823
824         * rowpainter.C: replace RowList::iterator with Row & where possible
825
826         * lyxfunc.C: replace several view()->text with a single call
827
828         * toc.C: fix 'unused' warning
829
830 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
831
832         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
833         when woring with stream::pos_type
834         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
835
836 2003-10-22  André Pönitz  <poenitz@gmx.net>
837
838         * lyxtext.h:
839         * text.C: use Row & instead of RowList::iterator
840
841         * lyxrow.h: rename end() to endpos()
842
843         * rowpainter.C:
844         * text.C:
845         * text2.C: adjust
846
847 2003-10-22  Angus Leeming  <leeming@lyx.org>
848
849         * buffer.[Ch] (fully_loaded): new member function, returning true
850         only when the file has been loaded fully.
851         Used to prevent the premature generation of previews and by the
852         citation inset to prevent computation of the natbib-style label.
853
854         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
855         templates are all set up.
856
857         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
858
859 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
860
861         * text.C: fixed an "oops" in the "is a bit silly"
862         bug fix
863
864 2003-10-21  André Pönitz  <poenitz@gmx.net>
865
866         * FuncStatus.[Ch]: small stuff, whitespace
867
868         * lyxfont.[Ch]: operator<<() for debug reasons
869
870         * lyxfunc.C:
871         * lyxrow_funcs.C:
872         * lyxtext.h: whitespace, spelling
873
874         * paragraph.C: naming of variables
875
876         * text.C:
877         * text2.C: small stuff
878
879
880 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
881
882         * text.C: (1) finish off the inset display() work;
883         (2) fix the "is a bit silly" bug (accessing char
884         past end of par).
885
886 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
887
888         * text.C: re-introduce display() for insets, fixing the
889         various bugs (stretch of line above, math inset
890         positioning, ...)
891
892 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
893
894         * text.C (rightMargin): remove spurious semicolon
895
896         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
897         1415)
898
899 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
900
901         * text3.C: fix one crash due to wrong cursor def
902
903 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
904
905         * vc-backend.C (scanMaster): make the regex static
906
907         * LaTeX.C (scanAuxFile): make the regexs static
908
909         * text3.C (doInsertInset, dispatch, dispatch):
910         * text2.C (cursorUp, cursorDown):
911         * text.C (selectNextWordToSpellcheck):
912         * BufferView_pimpl.C (dispatch):
913         * lyxfunc.C (dispatch):  localDispatch -> dispatch
914
915 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
916
917         * lyxsocket.C: include <cerrno>
918
919 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
920
921         * lyxfunc.C (dispatch): remove textcache stuff
922
923         * bufferlist.C (release): remove textcache stuff
924         (closeAll): ditto
925
926         * TextCache.C: delete file
927         * TextCache.h: delete file
928
929         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
930
931         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
932         delete of the bv_->text.
933         (resizeCurrentBuffer): remove texcache stuff
934         (workAreaResize): ditto
935
936 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
937
938         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
939         action.
940
941 2003-10-16  André Pönitz  <poenitz@gmx.net>
942
943         * lyxrow.[Ch]:
944         * paragraph.h:
945         * rowpainter.C:
946         * text.C:
947         * text2.C:
948         * text3.C: speed up by storing y positions per paragraph plus per-row
949         offset instead of having a 'full' y position in the row.
950
951 2003-10-15  André Pönitz  <poenitz@gmx.net>
952
953         * iterators.[Ch]:
954         * iterators.[Ch]:
955         * undo.[Ch]: make undo aware of inner insets
956
957 2003-10-14  Angus Leeming  <leeming@lyx.org>
958
959         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
960         static member functions LyX::ref() and LyX::cref.
961         (lastfiles): new accessor functions for the new lastfiles_ member var.
962         (addLyXView, views_): add a new LyXView to the list of views_.
963         (updateInset): loop over all LyXViews to call their own updateInset
964         member function, returning a pointer to the Buffer owning the inset.
965
966         * BufferView_pimpl.C (loadLyXFile):
967         * MenuBackend.C (expandLastfiles):
968         * bufferlist.C (MenuWrite, QuitLyX):
969         lastfiles is no longer a global variable.
970         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
971
972         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
973         static function. Access through LyX::cref().emergencyCleanup().
974
975 2003-10-14  André Pönitz  <poenitz@gmx.net>
976
977         * iterators.[Ch]: new direct access to innermost LyXText and Inset
978
979         * undo.[Ch]: restoring part of 'undo in insets'
980
981         * Makefile.am:
982         * undo_funcs.[Ch]: merge with undo.[Ch]
983
984         * tabular.C: small cleansing stuff
985
986 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
987
988         * paragraph_funcs.C (readParToken): report unknown insets as error
989         boxes. Use the outer paragraph as location (also for unknown
990         tokens).
991
992         * factory.C (readInset): do not abort on reading an unknown inset.
993         Eat it and return 0.
994
995 2003-10-13  Angus Leeming  <leeming@lyx.org>
996
997         * lyx_main.C (LyX): remove call to setDisplayTranslator().
998
999         * lyxrc.C: displayTranslator is now a function,
1000         declared in GraphicsTypes.h.
1001
1002 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1003
1004         * format.C: new placeholder $$a to pass the socket address.
1005
1006         * bufferlist.[Ch]: new function getBufferFromTmp.
1007
1008         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1009           files in the temporary dir.
1010
1011 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1012
1013         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1014
1015         * Makefile.am: add lyxsocket.[Ch].
1016
1017         * lyx_main.C (error_handler): handle SIGPIPE.
1018
1019 2003-10-13  André Pönitz  <poenitz@gmx.net>
1020
1021         * BufferView_pimpl.C:
1022         * lyxtext.h:
1023         * text.C:
1024         * text2.C:
1025         * text3.C:
1026         * undo_funcs.[Ch]: use paroffset_type instead of
1027           ParagraphList::iterators to prevent multiple conversion
1028           (and get a more robust interface)
1029
1030 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1031
1032         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1033         * lyxtext.h: ditto
1034         * text3.C (dispatch): ditto
1035
1036 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1037
1038         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1039         move the onlyfile, use onlyfile instead of foundfile in a couple
1040         of places.
1041
1042         * DepTable.C (update): flush the error stream a bit more
1043
1044 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1045
1046         * lyxserver.C (callback): adjust
1047
1048         * lyxfunc.C (getStatus): add a missing brace in commented code
1049         (ensureBufferClean): reindent
1050         (dispatch): delete version taking a string
1051
1052 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1053
1054         * LaTeX.C (deplog): move found file handlig from here...
1055         (handleFoundFile): .. to new function here.
1056         (deplog): make sure to discover several files mentioned on the
1057         same log line.
1058
1059 2003-10-10  André Pönitz  <poenitz@gmx.net>
1060
1061         * lyxfunc.C:
1062         * lyxtext.h:
1063         * tabular.C:
1064         * text.C:
1065         * text2.C:
1066         * text3.C: fix some of the tabular crashes
1067
1068 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1069
1070         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1071
1072         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1073
1074 2003-10-09  André Pönitz  <poenitz@gmx.net>
1075
1076         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1077
1078         * BufferView.C:
1079         * BufferView_pimpl.C:
1080         * bufferview_funcs.C:
1081         * lyx_cb.C:
1082         * lyxcursor.C:
1083         * lyxfind.C:
1084         * lyxfunc.C:
1085         * lyxtext.h:
1086         * text.C:
1087         * text2.C:
1088         * text3.C:
1089         * text_funcs.[Ch]:
1090         * textcursor.[Ch]:
1091         * undo_funcs.C: adjust
1092
1093 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1094
1095         * text2.C (incrementItemDepth): new function, use a backtracking
1096         algorithm to discover the correct item depth.
1097         (resetEnumCounterIfNeeded): new function, use a backtracking
1098         algorithm to discover if counter reset is needed.
1099         (setCounter): use them. Simplify a bit. Add different labels for
1100         different item depths for itemize.
1101
1102         * paragraph.C (Paragraph): remove initialization of enumdepth
1103         (operator=): ditto
1104
1105         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1106         enumerate and itemize. Change the type of itemdepth to signed char.
1107
1108 2003-10-08  André Pönitz  <poenitz@gmx.net>
1109
1110         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1111           thing assignable.
1112         * text.C:
1113         * text2.C: adjust
1114
1115         * tabular.[Ch]: fix crash after 'row-insert'
1116
1117 2003-10-08  Angus Leeming  <leeming@lyx.org>
1118
1119         Fix doxygen warnings.
1120
1121         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1122         Remove CutAndPaste:: prefix from header file declaration.
1123
1124         * LColor.h (fill): remove LColor:: prefix from declaration.
1125
1126         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1127         use lyx::depth_type rather than Paragraph::depth_type so that
1128         header file and .C file match.
1129
1130         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1131
1132         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1133         * aspell.C: \file aspell_local.C -> \file aspell.C
1134         * gettext.C: \file gettext.C -> \file src/gettext.C
1135         * gettext.h: \file gettext.h -> \file src/gettext.h
1136         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1137         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1138         * text.C: \file text.C -> \file src/text.C
1139
1140         * toc.C: move comment so that doxygen is not confused.
1141
1142 2003-10-07  Angus Leeming  <leeming@lyx.org>
1143
1144         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1145
1146 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1147
1148         * aspell.C:
1149         * aspell_local.h: add forgotten std::string's.
1150
1151 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1152
1153         * LaTeXFeatures.C:
1154         * LyXAction.C:
1155         * factory.C:
1156         * lfuns.h:
1157         * lyxfunc.C:
1158         * text3.C: The Box patch. Fancybox support, minipage, parbox
1159
1160 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1161
1162         * CutAndPaste.h:
1163         * DepTable.h:
1164         * FloatList.h:
1165         * LaTeXFeatures.h:
1166         * ParagraphParameters.h:
1167         * TextCache.h:
1168         * Thesaurus.h:
1169         * bufferlist.h:
1170         * exporter.h:
1171         * importer.h:
1172         * lastfiles.h:
1173         * lyxfind.h:
1174         * lyxfont.h:
1175         * lyxlex.h:
1176         * lyxtextclasslist.h:
1177         * messages.h:
1178         * paragraph.h:
1179         * paragraph_pimpl.C:
1180         * textcursor.h: add <string> and other small fixes to make Lars'
1181         std::string patch compile with STLport.
1182
1183 2003-10-06  Angus Leeming  <leeming@lyx.org>
1184
1185         * LColor.h: Add missing #include <string>.
1186
1187 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1188
1189         * All most all file in all subdirs: Make <string> be the prefered
1190         way of getting to std::string, add using declarations.
1191
1192 2003-10-06  André Pönitz  <poenitz@gmx.net>
1193
1194         * metricsinfo.C: initialize LyXFont before changing attribute.
1195         (fixes the 'math in \emph is upright' bug)
1196
1197 2003-10-06  André Pönitz  <poenitz@gmx.net>
1198
1199         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1200
1201 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1202
1203         * graph.C:
1204         * paragraph_pimpl.C: Small fixes to build using STLport
1205
1206 2003-10-02  André Pönitz  <poenitz@gmx.net>
1207
1208         * lyxfunc.C:
1209         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1210
1211 2003-10-01  André Pönitz  <poenitz@gmx.net>
1212
1213         * factory.C: assert early
1214
1215 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1216
1217         * lyx_main.C: remove the global debug object
1218
1219         * debug.h: adjust for new debugstream
1220
1221         * debug.C: adjust for new debugstream and keep the global debug
1222         object here.
1223
1224 2003-09-22  Angus Leeming  <leeming@lyx.org>
1225
1226         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1227         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1228         an incomplete class LyXFont.
1229
1230 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1231
1232         * factory.C: bug fix in branches
1233
1234 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1235
1236         * lyxfunc.C (processKeySym): adjust
1237         (dispatch): adjust
1238         (dispatch): change arg name from ev to func, adjust
1239         (sendDispatchMessage): ditto
1240
1241         * lyx_main.C (defaultKeyBindings): adjust keybindings
1242         (deadKeyBindings): ditto
1243
1244         * kbsequence.C (addkey): return a FuncRequest
1245
1246         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1247
1248         * kbmap.C (bind): take a FuncRequest as arg, adjust
1249         (read): adjust
1250         (lookup): adjust
1251         (defkey): change to take a FuncRequest as arg, adjust
1252         (findbinding): take a FuncRequest as arg, adjust.
1253
1254         * funcrequest.h (operator=): added
1255
1256         * funcrequest.C (FuncRequest): default kb_action changed from
1257         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1258
1259         * buffer.C (dispatch): simplify
1260         (dispatch): adjust to take a FuncRequest as arg, adjust
1261
1262         * boost.C (assertion_failed): change assertion message slightly
1263
1264         * ToolbarBackend.C (read): simplify
1265
1266         * MenuBackend.C (binding): adjust call to findbinding, add a
1267         message if no binding is found.
1268         (read): simplify
1269         (expandToc): correct by adding a empty FuncRequest
1270
1271         * LyXAction.C: include <boost/assert.hpp>
1272         (isPseudoAction): delete function
1273         (LookupFunc): change name to...
1274         (lookupFunc): this. change return type to FuncRequest.
1275         (getActionName): take kb_action as arg, simplify
1276         (funcHasFlag): add an assert, simplify.
1277
1278 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1279
1280         * toc.C (action): return a FuncRequest, simplify
1281
1282         * lyxfunc.C (processKeySym): adjust
1283         (getStatus): delete version that takes an int.
1284         (getStatus): adjust
1285         (dispatch): delete version that takes action as int
1286         (dispatch): adjust
1287         (sendDispatchMessage): simplify and adjust
1288
1289         * funcrequest.C (getArg): take unsigned int as arg
1290
1291         * ToolbarBackend.C (read): adjust
1292         (add): delete version that takes func as a string.
1293         (getIton): take a FuncRequest as arg
1294
1295         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1296         action.
1297
1298         * MenuBackend.C (MenuItem): add a new construct that only takes a
1299         Kind, simplify the constructor use for submenus.
1300         (add): adjust
1301         (expandLastfiles): adjust
1302         (expandDocuments): adjust
1303         (expandFormats): adjust
1304         (expandFloatListInsert): adjust
1305         (expandFloatInsert): adjust
1306         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1307
1308         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1309         Remove class variables lyx_pseudo_map and lyx_arg_map
1310
1311         * LyXAction.C (searchActionArg): delete function
1312         (getPseudoAction): delete function
1313         (retrieveActionArg): delete function
1314         (LookupFunc): make it return kb_action, simplify.
1315         (getActionName): simplify
1316
1317         * factory.C (createInset): fix new bug
1318
1319 2003-09-19  Angus Leeming  <leeming@lyx.org>
1320
1321         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1322         masterFilename_ parameter in the include inset.
1323
1324         * factory.C (createInset): changes due to the changes to InsetInclude.
1325
1326 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1327
1328         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1329
1330 2003-09-18  Angus Leeming  <leeming@lyx.org>
1331
1332         * buffer.C:
1333         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1334         Inset::fillWithBibKeys.
1335         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1336
1337 2003-09-18  Angus Leeming  <leeming@lyx.org>
1338
1339         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1340         variables.
1341         (ctor): pass and store a 'Buffer const &'
1342         (buffer): new member function.
1343
1344         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1345         '*this' to the LaTeXFeatures ctor.
1346
1347 2003-09-18  Angus Leeming  <leeming@lyx.org>
1348
1349         * LColor.h:
1350         * lyxfont.C:
1351         * lyxfont.h:
1352         * lyxtext.h:
1353         * text.C: rename EnumLColor as LColor_color.
1354
1355 2003-09-18  Angus Leeming  <leeming@lyx.org>
1356
1357         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1358         remove #include "insets/insetbase.h" from cursor.h.
1359
1360 2003-09-18  Angus Leeming  <leeming@lyx.org>
1361
1362         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1363         InsetOld_code to remove #include "inset.h".
1364
1365         * iterators.C: add #include "insets/inset.h"
1366
1367 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1368
1369         * BufferView.C: remove more locking stuff that apparently doesn't
1370         do anything sensible.
1371
1372 2003-09-16  André Pönitz  <poenitz@gmx.net>
1373
1374         * paragraph.[Ch]:
1375         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1376           performance boost.
1377
1378 2003-09-16  Angus Leeming  <leeming@lyx.org>
1379
1380         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1381
1382         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1383         arg/return type.
1384
1385         * paragraph.h: remove #include "lyxfont.h". Forward declare
1386         LyXFont_size.
1387
1388 2003-09-16  Angus Leeming  <leeming@lyx.org>
1389
1390         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1391         of support/textutils.h.
1392         (isWord): move the contents of support/textutils.h's IsWordChar here.
1393
1394         * buffer.C:
1395         * lyxfind.C:
1396         * rowpainter.C:
1397         * text.C:
1398         * text2.C: add #include "paragraph.h".
1399
1400         * rowpainter.C:
1401         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1402
1403 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1404
1405         * main.C:
1406         * lyx_main.C:
1407         * lyx_cb.C:
1408         * buffer.C:
1409         * LaTeX.C: use namespace alias for lyx::support::os
1410
1411 2003-09-16  Angus Leeming  <leeming@lyx.org>
1412
1413         * bufferparams.C:
1414         * bufferview_funcs.C:
1415         * factory.C:
1416         * lyxfunc.C:
1417         * paragraph_pimpl.C:
1418         * rowpainter.C:
1419         * text.C: add #include "LColor.h".
1420
1421 2003-09-16  Angus Leeming  <leeming@lyx.org>
1422
1423         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1424         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1425         return LyXFont &.
1426         Store the FontBits::color variable as an int rather than as an
1427         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1428         file.
1429
1430         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1431         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1432         string calls together.
1433
1434         * lyxrc.C: add #include "LColor.h".
1435
1436 2003-09-15  Angus Leeming  <leeming@lyx.org>
1437
1438         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1439         a cow_ptr.
1440
1441 2003-09-15  Angus Leeming  <leeming@lyx.org>
1442
1443         * LColor.h: add an EnumLColor wrapper for LColor::color.
1444
1445         * lyxfont.[Ch] (color, setColor, realColor):
1446         * lyxtext.h, text.C (backgroundColor):
1447         pass EnumLColor args to/from the functions, rather than LColor::color
1448         ones.
1449
1450         * lyxfont.h:
1451         * lyxtext.h: forward declare EnumLColor.
1452
1453         * lyx_main.C: add #include "LColor.h".
1454
1455 2003-09-15  Angus Leeming  <leeming@lyx.org>
1456
1457         * .cvsignore: add lyx-gtk.
1458
1459 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1460
1461         * Chktex.C
1462         * LaTeX.C
1463         * LaTeXFeatures.C
1464         * ParagraphParameters.C
1465         * Spacing.C
1466         * buffer.C
1467         * bufferparams.C
1468         * bufferview_funcs.C
1469         * chset.C
1470         * counters.C
1471         * funcrequest.C
1472         * lyxfont.C
1473         * lyxgluelength.C
1474         * lyxlength.C
1475         * paragraph.C
1476         * paragraph_funcs.C
1477         * text3.C
1478         * vc-backend.C: remove usage of STRCONV
1479
1480 2003-09-15  Angus Leeming  <leeming@lyx.org>
1481
1482         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1483         explicitly define the color passed to the painter.
1484
1485 2003-09-15  Angus Leeming  <leeming@lyx.org>
1486
1487         * bufferparams.C (BufferParams): reorder member initializers to avoid
1488         compiler warning.
1489
1490 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1491
1492         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1493         * text.C (updateRowPositions): remove an unusual nop
1494
1495 2003-09-12  André Pönitz  <poenitz@gmx.net>
1496
1497         * BufferView_pimpl.C:
1498         * Bullet.C:
1499         * layout.h:
1500         * lyxfunc.C:
1501         * lyxlayout.[Ch]:
1502         * lyxtextclass.C:
1503         * rowpainter.C:
1504         * text.C:
1505         * text2.C:
1506         * Counters.[Ch]: finish the 'automatic counters' job
1507
1508 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1509
1510         * aspell.C: include <boost/assert.cpp> (compile fix)
1511
1512 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1513
1514         * boost.C (assertion_failed): use lyx::support::abort instead of
1515         assert.
1516
1517 2003-09-10  Angus Leeming  <leeming@lyx.org>
1518
1519         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1520         with their _fwd progeny.
1521
1522 2003-09-09  Angus Leeming  <leeming@lyx.org>
1523
1524         134 files throughtout the source tree: replace 'using namespace abc;'
1525         directives with the appropriate 'using abc::xyz;' declarations.
1526
1527 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1528
1529         * boost.C (emergencyCleanup): moved here from LAssert.c
1530         (assertion_failed): new function, called by BOOST_ASSERT
1531
1532         * several files: change Assert to BOOST_ASSERT
1533
1534 2003-09-09  Angus Leeming  <leeming@lyx.org>
1535
1536         * buffer.[Ch]: Add an Impl class and move Buffer's member
1537         variables into it. As a result move several header files out of
1538         buffer.h.
1539
1540         Add header files to lots of .C files all over the tree as a result.
1541
1542 2003-09-09  Angus Leeming  <leeming@lyx.org>
1543
1544         * buffer.[Ch]: make Buffer's member variables private. Add
1545         accessor functions.
1546
1547         Lots of changes all over the tree as a result.
1548
1549 2003-09-08  Angus Leeming  <leeming@lyx.org>
1550
1551         * graph.C: #include <config.h>.
1552
1553 2003-09-08  Angus Leeming  <leeming@lyx.org>
1554
1555         * BranchList.C:
1556         * BufferView.C:
1557         * BufferView_pimpl.C:
1558         * CutAndPaste.C:
1559         * DepTable.C:
1560         * LaTeX.C:
1561         * LaTeXFeatures.C:
1562         * LyXAction.C:
1563         * MenuBackend.C:
1564         * TextCache.C:
1565         * aspell.C:
1566         * buffer.C:
1567         * bufferlist.C:
1568         * changes.C:
1569         * chset.C:
1570         * converter.C:
1571         * counters.C:
1572         * debug.C:
1573         * graph.C:
1574         * ispell.C:
1575         * lyx_cb.C:
1576         * lyxfind.C:
1577         * lyxfunc.C:
1578         * lyxlex_pimpl.C:
1579         * lyxrc.C:
1580         * lyxrow.C:
1581         * paragraph.C:
1582         * rowpainter.C:
1583         * texrow.C:
1584         * text.C:
1585         * text2.C:
1586         * toc.C: remove redundant using directives.
1587
1588 2003-09-07  Angus Leeming  <leeming@lyx.org>
1589
1590         * LaTeXFeatures.h: remove #include "support/types.h".
1591         * ToolbarBackend.h: remove #include <algorithm>.
1592         * changes.h: remove #include <ctime>.
1593         * debug.h: remove #include <iosfwd>.
1594         * graph.h: remove #include "support/std_string.h".
1595         * lyx_main.h: remove #include <csignal>.
1596         * lyxlex_pimpl.h: remove #include <fstream>.
1597         * sgml.h: remove #include <algorithm>, <utility>.
1598         * toc.h: remove #include "support/std_ostream.h".
1599         Add #include <iosfwd>.
1600
1601 2003-09-07  Angus Leeming  <leeming@lyx.org>
1602
1603         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1604
1605         * converter.h: forward declare LatexRunParams.
1606         * encoding.h: remove #include "lyxrc.h".
1607         * lyxtext.h: remove #include "LColor.h".
1608         * lyxtextclass.h: remove #include "support/types.h".
1609         * trans.h: remove #include "tex-accent.h".
1610         * trans_mgr.h: remove #include "tex-accent.h".
1611         * insets/inset.h: remove #include "support/types.h", <vector>.
1612         * insets/insetcollapsable.h: remove #include "LColor.h".
1613         * insets/insetinclude.h: remove #include "dimension.h".
1614         * insets/insetlatexaccent.h: remove #include "dimension.h".
1615         * insets/insetoptarg.h:: remove #include "insettext.h".
1616         * insets/insettext.h: remove #include "dimension.h",
1617         <boost/shared_ptr.hpp>
1618
1619         * insets/renderers.h: add #include "dimension.h".
1620         * insets/updatableinset.h: add #include "support/types.h".
1621
1622         * many .C files: Associated changes.
1623
1624 2003-09-06  Angus Leeming  <leeming@lyx.org>
1625
1626         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1627         one, inside testInvariant.
1628
1629         * PrinterParams.C: new file.
1630         * PrinterParams.[Ch]: move the function bodies out of line.
1631
1632 2003-09-06  Angus Leeming  <leeming@lyx.org>
1633
1634         * ParagraphParameters.h: forward declare ParameterStruct rather than
1635         including its header file.
1636         (depth): moved out-of-line.
1637
1638 2003-09-06  Angus Leeming  <leeming@lyx.org>
1639
1640         * BufferView_pimpl.h:
1641         * kbmap.h:
1642         * kbsequence.h:
1643         * lyxfunc.h: forward declare LyXKeySym rather than
1644         #include "frontends/LyXKeySym.h".
1645
1646         * BufferView_pimpl.C:
1647         * kbmap.C:
1648         * kbsequence.C:
1649         * lyxfunc.C: associated changes.
1650
1651 2003-09-06  Angus Leeming  <leeming@lyx.org>
1652
1653         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1654         As a result, can remove the #include "insets/inset.h" from BufferView.h
1655
1656 2003-09-06  Angus Leeming  <leeming@lyx.org>
1657
1658         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1659         As a result, can remove the #include "insets/inset.h" from BufferView.h
1660
1661 2003-09-06  Angus Leeming  <leeming@lyx.org>
1662
1663         * buffer_funcs.C:
1664         * buffer.h:
1665         * bufferlist.C:
1666         * BufferView.C:
1667         * bufferview_funcs.C:
1668         * BufferView_pimpl.C:
1669         * CutAndPaste.C:
1670         * lyx_cb.C:
1671         * lyxfunc.C:
1672         * paragraph.h:
1673         * ParagraphParameters.C:
1674         * tabular.C:
1675         * text3.C:
1676         * toc.C:
1677         * undo_funcs.C:
1678         * frontends/controllers/ControlDocument.C:
1679         * insets/insetcaption.C: rearrange the #includes into some sort of
1680         coherent order.
1681
1682         * buffer.h: remove #includes ErrorList.h, undo.h
1683
1684 2003-09-06  Angus Leeming  <leeming@lyx.org>
1685
1686         * support/types.h: add a 'depth_type' typedef, used to store the
1687         nesting depth of a paragraph.
1688
1689         * paragraph.h:
1690         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1691         defining explicitly.
1692
1693         * buffer.h:
1694         * paragraph_funcs.h:
1695         * ParagraphParameters.h:
1696         * sgml.h: use lyx::depth_type rather than Paragraph or
1697         ParameterStruct's depth_type.
1698
1699         * buffer.h
1700         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1701
1702         * BufferView.C:
1703         * BufferView_pimpl.C:
1704         * CutAndPaste.C:
1705         * ParagraphParameters.C:
1706         * buffer_funcs.C:
1707         * bufferlist.C:
1708         * bufferview_funcs.C:
1709         * lyx_cb.C:
1710         * lyxfunc.C:
1711         * tabular.C:
1712         * text3.C:
1713         * toc.C:
1714         * undo_funcs.C:
1715         * frontends/LyXView.C:
1716         * frontends/controllers/ControlDocument.C:
1717         * frontends/controllers/ControlErrorList.C:
1718         * insets/insetbibitem.C:
1719         * insets/insetbranch.C:
1720         * insets/insetcaption.C:
1721         * insets/insetcollapsable.C:
1722         * insets/insetenv.C:
1723         * insets/insetert.C:
1724         * insets/insetfloat.C:
1725         * insets/insetfoot.C:
1726         * insets/insetfootlike.C:
1727         * insets/insetnewline.C:
1728         * insets/insetquotes.C:
1729         * insets/insettabular.C:
1730         * insets/insettext.C:
1731         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1732
1733         * frontends/controllers/ControlChanges.C: #include "changes.h".
1734
1735 2003-09-06  Angus Leeming  <leeming@lyx.org>
1736
1737         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1738         than #including paragraph.h.
1739
1740         * ParagraphList.h:
1741         * RowList.h: deleted. Superfluous.
1742
1743         * CutAndPaste.h:
1744         * iterators.h:
1745         * lyxcursor.h:
1746         * lyxtext.h:
1747         * text_funcs.h:
1748         * undo.h:
1749         * undo_funcs.h:
1750         * insets/inset.h:
1751         * insets/insettext.h: use ParagraphList_fwd.h rather than
1752         ParagraphList.h.
1753
1754         * paragraph.h: don't forward declare ParagraphList.
1755
1756         * buffer.h:
1757         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1758         rather than ParagraphList.h. paragraph.h is still needed for the
1759         Paragraph::depth_type parameters.
1760
1761         * textcursor.h: enable it to compile stand-alone in light of the
1762         above changes.
1763
1764         * bufferview_funcs.C:
1765         * iterators.C:
1766         * lyxfunc.C:
1767         * lyxrow_funcs.C:
1768         * paragraph.C:
1769         * rowpainter.C:
1770         * text.C:
1771         * text2.C:
1772         * text3.C:
1773         * text_funcs.C:
1774         * textcursor.C:
1775         * undo.C:
1776         * frontends/controllers/ControlParagraph.C:
1777         * frontends/controllers/ControlTabular.C:
1778         * insets/insetmarginal.C:
1779         * insets/insetminipage.C:
1780         * insets/insetnote.C:
1781         * insets/insetoptarg.C: add header files needed to compile again.
1782
1783 2003-09-06  Angus Leeming  <leeming@lyx.org>
1784
1785         * RowList_fwd.h: new file, forward-declaring Row rather than
1786         #including lyxrow.h.
1787
1788         * lyxrow_funcs.h:
1789         * lyxtext.h:
1790         * paragraph.h:
1791         * insets/insettext.h: use it instead of RowList.h
1792
1793         * bufferview_funcs.C:
1794         * lyxfunc.C:
1795         * lyxrow_funcs.C:
1796         * paragraph.C:
1797         * rowpainter.C:
1798         * text.C:
1799         * text2.C:
1800         * text3.C: #include "RowList.h".
1801
1802 2003-09-05  Angus Leeming  <leeming@lyx.org>
1803
1804         * factory.C (createInset):
1805         * vspace.C (c-tor): replace sscanf call with an istringstream.
1806         * ispell.C: re-add missing HP/UX headers.
1807         * lyxserver.C: re-add missing  os2 headers.
1808
1809 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1810
1811         * BranchList.C:
1812         * graph.C:
1813         * ispell.C:
1814         * lastfiles.C:
1815         * lyx_cb.C:
1816         * lyxserver.C:
1817         * texrow.C:
1818         * text3.C: re-add missing system headers, needed for 2.95.2.
1819
1820 2003-09-05  Angus Leeming  <leeming@lyx.org>
1821
1822         Changes most place everywhere due to the removal of using directives
1823         from support/std_sstream.h.
1824
1825 2003-09-05  Angus Leeming  <leeming@lyx.org>
1826
1827         Replace LString.h with support/std_string.h,
1828         Lsstream.h with support/std_sstream.h,
1829         support/LIstream.h with support/std_istream.h,
1830         support/LOstream.h with support/std_ostream.h.
1831
1832         Changes resulting throughout the tree.
1833
1834 2003-09-05  Angus Leeming  <leeming@lyx.org>
1835
1836         * sgml.h: ensure that the header file can be compiled stand-alone.
1837         * *.C: strip out redundant #includes. (320 in total.)
1838
1839 2003-09-04  Angus Leeming  <leeming@lyx.org>
1840
1841         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1842         here (from getPackages).
1843
1844         * debug.[Ch]: add a new EXTERNAL tag.
1845
1846 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1847
1848         * text2.C (cursorEnd): simplify
1849         (setCursor): adjust
1850         (getColumnNearX): adjust
1851
1852         * text.C (computeBidiTables): adjust
1853         (fill): adjust
1854
1855         * rowpainter.C (paintChars): adjust
1856         (paintSelection): adjust
1857         (paintChangeBar): adjust
1858         (paintText): adjust
1859
1860         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1861         lastPos instead.
1862         (numberOfSeparators): adjust
1863
1864 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1865
1866         * LyXAction.C:
1867         * box.[Ch]:
1868         * lfuns.h:
1869         * lyxfunc.C:
1870         * text3.C: Restricts the mouse click functionality
1871         of insets like bibtex, include, toc and floatlist to the visible
1872         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1873         up the dialogs. Cursor has to be in front of the inset (i.e.
1874         start of row) for this to function.
1875
1876 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1877
1878         * bufferview_funcs.C (currentState): output row information
1879
1880 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1881
1882         * bufferview_funcs.C (currentState): output paragraph position
1883
1884 2003-09-04  Angus Leeming  <leeming@lyx.org>
1885
1886         * FloatList.h: move out #include "Floating.h".
1887         * LaTeX.h: move out #include "DepTable.h".
1888         * LyXAction.h: move out #include "funcrequest.h".
1889         * buffer.h: move out #include "author.h", "iterators.h".
1890         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1891         * lyx_main.h: move out #include "errorlist.h".
1892         * lyxfunc.h: move out #include "FuncStatus.h".
1893         * lyxtext: move out #include "lyxcursor.h".
1894         * paragraph_pimpl.h: move out #include "counters.h".
1895
1896 2003-09-03  Angus Leeming  <leeming@lyx.org>
1897
1898         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1899         preamble_snippets list, enabling us to add snippets to the preamble
1900         only if the snippet was not there already.
1901
1902 2003-09-04  Angus Leeming  <leeming@lyx.org>
1903
1904         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1905
1906 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1907
1908         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1909         update
1910
1911 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1912
1913         * BranchList.C: point fix, earlier forgotten
1914
1915 2003-09-02  Angus Leeming  <leeming@lyx.org>
1916
1917         * box.C (contains): renamed from 'contained' after a fantastic
1918         amount of hot air.
1919
1920 2003-09-02  John Levon  <levon@movementarian.org>
1921
1922         * BufferView.C:
1923         * lyxcursor.h:
1924         * lyxcursor.C:
1925         * lyxfunc.C:
1926         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1927
1928 2003-09-02  John Levon  <levon@movementarian.org>
1929
1930         * text2.C: simplification of cursorEnd(), including partial
1931         fix for bug 1376
1932
1933 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1934
1935         * buffer.C (readFile): add a space
1936
1937 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1938
1939         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1940
1941 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1942
1943         * buffer.C (readFile): new function, take a filename and a
1944         ParagraphList::iterator
1945         (readFile): adjust
1946         (readFile): adjust, make it private. don't use setStream, make
1947         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1948         always contain the filename.
1949
1950         * BufferView.C (insertLyXFile): simplify and make it work for
1951         gzipped files.
1952
1953 2003-08-30  John Levon  <levon@movementarian.org>
1954
1955         * Makefile.am: fix dist (from Kayvan)
1956
1957 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1958
1959         * most files: change to use const Buffer refs
1960
1961 2003-08-27  André Pönitz  <poenitz@gmx.net>
1962
1963         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1964         on top of ownerPar().
1965
1966 2003-08-27  John Levon  <levon@movementarian.org>
1967
1968         * funcrequest.C: properly initialise POD members
1969
1970 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1971
1972         * lyxtext.h (top_y): move top_y from here
1973         * text.C:
1974         * text2.C:
1975         * text3.C:
1976         * BufferView.[Ch]:
1977         * BufferView_pimpl.[Ch]: to here
1978         * frontends/screen.C:
1979         * insets/insettabular.C:
1980         * insets/insettext.C: adjust
1981         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1982
1983 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1984
1985         * BufferView.[Ch]:
1986         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1987
1988 2003-08-26  André Pönitz  <poenitz@gmx.net>
1989
1990         * paragraph_func.[Ch] (outerPar): new function
1991
1992         * paragraph.C:
1993         * paragraph_funcs.C:
1994         * paragraph_funcs.h:
1995         * paragraph_pimpl.C:
1996         * text2.C: remove Inset::par_owner
1997
1998 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1999
2000         * lyxrow_funcs.C:
2001         * lyxtext.h:
2002         * text.C:
2003         * text2.C: eliminates the needFullRow/display() stuff
2004         altogether, putting the logic in metrics/draw in the insets.
2005
2006 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2007
2008         * text2.C (redoParagraphInternal, redoParagraphs):
2009         * text.C (redoParagraph): add a call to updateRowPositions at the
2010         end of each 'metrics-like' call. Remove all others.
2011         (getRow): remove the 'y-computing' version.
2012         (getRowNearY): do not compute nor return the real y. Solve the
2013         'y < 0' problem and simplify.
2014
2015 2003-08-22  Angus Leeming  <leeming@lyx.org>
2016
2017         * *.[Ch]: clean-up of licence and author blurbs.
2018         Also move config.h out of a few .h files and into a few .C files.
2019
2020 2003-08-22  André Pönitz  <poenitz@gmx.net>
2021
2022         * lyxrow.[Ch]: add x_ and *fill_ members
2023
2024         * lyxtext.h:
2025         * text.C:
2026         * rowpainter.C:
2027         * text2.C: adjust/remove prepareToPrint() calls
2028
2029 2003-08-22  André Pönitz  <poenitz@gmx.net>
2030
2031         * lyxrow.[Ch]: add  end_ member
2032
2033         * lyxrow_funcs.C: use LyXRow::end_
2034
2035         * lyxtext.h (singleWidth): add LyXFont parameter
2036
2037         * rowpainter.C:
2038         * text2.C: adjust LyXText::singleWidth() calls
2039
2040         * text.C (redoParagraph): simplify row breaking logic
2041
2042
2043 2003-08-19  André Pönitz  <poenitz@gmx.net>
2044
2045         * funcrequest.C: initialize button_ member
2046
2047         * text3.C:
2048         * rowpainter.[Ch]: interface consolidation
2049
2050 2003-08-18  André Pönitz  <poenitz@gmx.net>
2051
2052         * BufferView.C:
2053         * BufferView_pimpl.C:
2054         * lyxfind.C:
2055         * paragraph_funcs.C:
2056         * rowpainter.C:
2057         * text3.C: remove LyXScreen::draw() and fitCursor calls
2058
2059         * BranchList.h: remove spurious semicolons
2060
2061         * MenuBackend.C: fix branchlist related crash
2062
2063 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2064
2065         * BranchList.[Ch]:
2066         * InsetList.[Ch]:
2067         * LColor.[Ch]:
2068         * LyXAction.C:
2069         * Makefile.am:
2070         * MenuBackend.[Ch]:
2071         * bufferparams.[Ch]:
2072         * factory.C:
2073         * lfuns.h:
2074         * lyxfunc.C:
2075         * text3.C: implements the 'branch inset'
2076         idea. This allows the output of various versions of a document
2077         from a single source version, selectively outputing or suppressing
2078         output of parts of the text.
2079         This implementation contains a 'branch list editor' in a separate
2080         tab of the document settings dialog. Branches are user definable
2081         and have a "display colour" to distinguish them on-screen.
2082
2083         ColorHandler was somewhat cleaned up.
2084         (1) make possible a dynamically growing LColor list by allowing
2085         the graphic context cache to grow along (vector);
2086         (2) eliminate an IMHO unnecessary step in colour allocation.
2087
2088 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2089
2090         * BufferView_pimpl.C: compile fix
2091
2092 2003-08-15  André Pönitz  <poenitz@gmx.net>
2093
2094         * rowpainter.C: remove extra metrics calls
2095
2096         * lyxtext.h: merge the two constructors into a single one,
2097           pass reference to owner's par list
2098
2099         * BufferView_pimpl.C:
2100         * text.C:
2101         * text2.C: adjust
2102
2103 2003-08-15  André Pönitz  <poenitz@gmx.net>
2104
2105         * lyxrow_funcs.[Ch]:
2106         * lyxtext.h:
2107         * paragraph.h:
2108         * paragraph_funcs.C:
2109         * rowpainter.C:
2110         * text.C:
2111         * text2.C:
2112         * text3.C:
2113         * text_funcs.C: split LyXText::rowlist_ into individual
2114         Paragraph::rows_ chunks
2115
2116         * BufferView.[Ch]:
2117         * BufferView_pimpl.[Ch]:
2118         * lyxfind.C:
2119         * lyxtext.h:
2120         * text3.C: remove toggleSelection()
2121
2122 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2123
2124         * bufferlist.C: beautify two alerts (shorter text of buttons)
2125         * buffer.C: Remove redundant ' ' from message
2126         * tabular.h:
2127         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2128         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2129         rename VALIGN_CENTER to VALIGN_MIDDLE
2130
2131 2003-08-11  André Pönitz  <poenitz@gmx.net>
2132
2133         * lyxtext.h (getPar):
2134         * text.C: new function
2135
2136 2003-08-11  André Pönitz  <poenitz@gmx.net>
2137
2138         * Makefile.am:
2139         * tracer.[Ch]: remove unneeded files
2140
2141         * InsetList.[Ch]: remove resizeInsetsLyXText()
2142
2143         * lyxtext.h:
2144         * text.C:
2145         * text2.C:
2146         * text3.C: merge insertParagraphs() and appendParagraph()
2147         remove breakAgain(), update()
2148
2149         * BufferView_pimpl.[Ch]:
2150         * bufferview_funcs.[Ch]:
2151         * lyxfunc.C:
2152         * paragraph.[Ch]:
2153         * rowpainter.C:
2154         * tabular.C: adjust after text & InsetList changes.
2155
2156 2003-08-08  André Pönitz  <poenitz@gmx.net>
2157
2158         * text.C (insertChar, backspace): replace rowlist fiddling
2159         with rebreak of full par
2160
2161         * lyxtext.h:
2162         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2163         checkParagraph, updateInset): removed
2164
2165 2003-08-07  André Pönitz  <poenitz@gmx.net>
2166
2167         * paragraph.C:
2168         * text3.C: merge some LFUN handlers, remove dead code
2169
2170 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2173
2174 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2175
2176         * text2.C (DEPM): fix part of bug 1255 and 1256
2177
2178 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2179
2180         * BufferView_pimpl.C (workAreaDispatch): change to use
2181         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2182         that are no mouse related.
2183
2184 2003-08-05  André Pönitz  <poenitz@gmx.net>
2185
2186         * BufferView.[Ch]:
2187         * BufferView_pimpl.[Ch]:
2188         * bufferview_funcs.C:
2189         * text2.C:
2190         * text3.C: rip out "deep update"
2191
2192         * textcursor.[Ch] (last_sel_cursor): remove unused member
2193
2194 2003-08-04  André Pönitz  <poenitz@gmx.net>
2195
2196         * BufferView.[Ch]:
2197         * BufferView_pimpl.[Ch]:
2198         * ParagraphParameters.C:
2199         * bufferview_funcs.C:
2200         * lyx_cb.C:
2201         * lyxfind.C:
2202         * lyxfunc.C:
2203         * text.C:
2204         * text2.C:
2205         * text3.C: replace "complicated" BufferView::update(...) calls with
2206         simpler ones.
2207
2208         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2209
2210 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2211
2212         * Makefile.am (lyx_SOURCES): add paper.h
2213
2214 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2215
2216         * Makefile.am: move things around so that both lyx-qt and
2217         lyx-xforms can be built (according to --with-frontend). Then lyx
2218         is a symbolic link to lyx-[firstfrontend]
2219
2220 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2221
2222         * Always use std::endl with lyxerr
2223
2224 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2225
2226         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2227
2228 2003-08-01  André Pönitz  <poenitz@gmx.net>
2229
2230         * BufferView.[Ch]:
2231         * BufferView_pimpl.[Ch]:
2232         * lyxfunc.C:
2233         * text3.C: merge BufferView::repaint() and BufferView::update()
2234
2235 2003-08-01  José Matos  <jamatos@lyx.org>
2236
2237         * buffer.[Ch]: file_format is no longer a buffer data element.
2238
2239 2003-08-01  André Pönitz  <poenitz@gmx.net>
2240
2241         * BufferView.C:
2242         * lyxtext.h:
2243         * text.C:
2244         * text2.C: make redoParagraph more independent of current cursor
2245
2246         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2247         * text.C:
2248         * text2.C: remove unneeded members
2249
2250 2003-07-30  André Pönitz  <poenitz@gmx.net>
2251
2252         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2253
2254         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2255           create a single function...
2256
2257         * paragraph_funcs.C (moveItem): ... here.
2258
2259         * text.C:
2260           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2261
2262 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2263
2264         * LColor.[Ch]: Add comment and greyedout logical colors.
2265
2266 2003-07-30  André Pönitz  <poenitz@gmx.net>
2267
2268         * tabular.C: don't use Assert too heavily. This crashes where it
2269           shouldn't
2270
2271 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2274         is disabled (bug 1232)
2275
2276 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2277
2278         * factory.C: limited 'arg' scope
2279
2280 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2281
2282         * factory.C: fixed Note submenu issues
2283
2284 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2285
2286         * factory.C: submenu for Note/Comment/Greyedout
2287
2288 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * lyx_main.C (LyX):
2291         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2292
2293 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2294
2295         * LaTeXFeatures.C:
2296         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2297         greyedout. Patch provided by Jürgen Spitzmüller.
2298
2299 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2300
2301         * kbmap.C (read): fix error message when reading bind files
2302
2303 2003-07-29  Angus Leeming  <leeming@lyx.org>
2304
2305         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2306         certainly does not do what it purports to do. I am doing it, and
2307         us, a favour by killing it.
2308
2309 2003-07-28  José Matos  <jamatos@lyx.org>
2310
2311         * buffer.C (readBody, do_writeFile):
2312         * paragraph.C(readParagraph): \end_document replaces \the_end.
2313
2314 2003-07-29  André Pönitz  <poenitz@gmx.net>
2315
2316         * BufferView.[Ch]:
2317         * BufferView_pimpl.[Ch]:
2318         * lyxfunc.C:
2319         * text2.C:
2320         * text3.C:
2321         * textcursor.[Ch]: remove toggleToggle & Co
2322
2323 2003-07-28  José Matos  <jamatos@fep.up.pt>
2324
2325         * buffer.C (readParagraph):
2326         * params_func (readParToken, readParagraph):
2327         * paragraph.C (write): \layout -> \begin_layout.
2328
2329 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * lyxlex_pimpl.C (setFile): clean up slightly.
2332
2333         * bufferparams.h: add compressed var
2334
2335         * buffer_funcs.C (readFile): adjust for LyXLex change
2336         (newFile): ditto + simplify
2337
2338         * buffer.C (writeFile): handle writing of compressed files
2339
2340         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2341         Check if the file is compressed and set a bufferparm if so.
2342
2343         * Makefile.am (lyx_LDADD): remove explicit -lz
2344
2345 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2346
2347         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2348         makeDocBookFile): put the real LyX version in the first line of
2349         the file
2350
2351         * version.h:
2352         * version.C.in: remove lyx_docversion
2353
2354         * tabular.C (write_attribute): add a template-based version to
2355         write enums properly
2356
2357 2003-07-28  André Pönitz  <poenitz@gmx.net>
2358
2359         * lyxtext.h:
2360         * text.C:
2361         * text2.C:
2362         * text3.C: use doubles again for x-coordinates. They are needed.
2363
2364 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * messages.C (getLocaleDir): use lyx_localedir()
2367
2368         * lyxlex_pimpl.C (setFile): compress stuff
2369
2370         * buffer.C (writeFile): add some compression stuff
2371         (do_writeFile): new func, dont call expliti close... will this
2372         breake anything?
2373
2374         * Makefile.am (lyx_LDADD): add -lz
2375
2376 2003-07-28  José Matos  <jamatos@fep.up.pt>
2377
2378         * buffer.C: increment file format.
2379         * paragraph_funcs (readParagraph, readParToken):
2380         * paragraph.C (readParagraph): add \end_layout.
2381
2382 2003-07-27  Angus Leeming  <leeming@lyx.org>
2383
2384         * Makefile.am: remove special casing for configure-time setting of
2385         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2386
2387         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2388         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2389
2390 2003-07-26  André Pönitz  <poenitz@gmx.net>
2391
2392         * paragraph_func.[Ch]:
2393         * paragraph.C (realizeFont): inline it whereever it is used
2394
2395         * rowpainter.C:
2396         * text.C:
2397         * text2.C:
2398         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2399
2400
2401 2003-07-26  André Pönitz  <poenitz@gmx.net>
2402
2403         *       lyxtext.h:
2404         * text.C:
2405         * text2.C: get rid of LyXText::need_break_row
2406
2407 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * toc.[Ch]: put namespace toc inside namespace lyx
2410
2411         * MenuBackend.C (expandToc2): adjust for lyx::toc
2412         (expandToc): ditto
2413
2414         * lyxfunc.C (dispatch): adjust for lyx::find
2415
2416         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2417         lyx::find instead. Reorganize a bit.
2418         (LyXReplace): rename to replace
2419         (LyXFind): rename to find
2420
2421         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2422         (dispatch): ditto
2423
2424 2003-07-26  André Pönitz  <poenitz@gmx.net>
2425
2426         * text.C (setHeightOfRow): restrict scope of temporary variable
2427
2428         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2429           code (never has been used?)
2430
2431 2003-07-27  Asger Alstrup  <alstrup@local>
2432
2433         * text.C (fill): Optimise algorithm to exploit that we can reuse
2434         the LyXFont for many characters.
2435         (setHeightOfRow): Same thing.
2436         (rowBreakPoint): Same thing.
2437
2438 2003-07-26  Asger Alstrup  <alstrup@local>
2439
2440         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2441
2442         * text.C (singleWidth): Spurious font copying in hot-spot
2443         singleWidth avoided. Reorder tests for arabic for efficiency.
2444
2445         * text.C (fill): handle empty paragraphs better.
2446
2447 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2448
2449         * ispell.C:
2450         * encoding.h: add includes
2451
2452         * lyxrc.C: remove reading of bind files
2453
2454         * lyx_main.C (init): setup bindings and menus only if we have a
2455         gui.
2456
2457         * kbmap.C (read): new method. Do the actual reading of bind
2458         files.
2459
2460         * converter.C (dvipdfm_options):
2461         * bufferparams.C:
2462         * lyxrc.C (read):
2463         (output): adapt PAPER_* enums.
2464
2465         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2466
2467         * bufferparams.h: remove paper-related enums from there
2468
2469         * paper.h: New file. A trivial header file to hold paper-related
2470         enums. It should later expand to contain many paper-related
2471         horrors access.
2472
2473         * lyxrc.C: declare extern displayTranslator
2474
2475 2003-07-27  José Matos  <jamatos@fep.up.pt>
2476
2477         * tabular.[Ch] (linuxdoc): add support for tables and figures
2478         (linuxdoc).
2479
2480 2003-07-27  José Matos  <jamatos@fep.up.pt>
2481
2482         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2483         consistency in both functions.
2484         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2485
2486 2003-07-26  Asger Alstrup  <alstrup@local>
2487
2488         * rowpainter.C (paintRows): Change algorithm to work directly on
2489         the insets rather than asking every character in the document
2490         whether its an inset.
2491
2492 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2493
2494         * buffer.C (openFileWrite): factorize some code
2495
2496 2003-07-26  Angus Leeming  <leeming@lyx.org>
2497
2498         * lyx_cb.C:
2499         * lyx_main.[Ch]: replace occurances of system_tempdir with
2500         os::getTmpDir().
2501
2502 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2503
2504         * rename Inset to InsetOld
2505
2506 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2507
2508         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2509         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2510         which I think is a bit clearer. EDIT is gone, since it was
2511         premature optimisation, and broken for mathed anyway.
2512         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2513         with cursor positioning in insets as well (math insets still do not
2514         work, but that's a different story anyway.) It mysteriously
2515         crashes sometimes with undo in the first paragraph, but I'm fairly
2516         confident that this is a compiler bug.
2517
2518 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2519
2520         * paragraph.C (Paragraph): adjust for new clone return type
2521         (operator==): ditto
2522         (copyIntoMinibuffer): ditto
2523
2524 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2525
2526         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2527         by not having a special case, and always doing a full rebreak of
2528         the document after undo.
2529
2530 2003-07-23  Angus Leeming  <leeming@lyx.org>
2531
2532         * factory.C (createInset): InsetExternal::setParams now takes a
2533         Buffer const * arg.
2534
2535 2003-07-23  Angus Leeming  <leeming@lyx.org>
2536
2537         * factory.C (createInset): changed interface to the external and
2538         graphics mailers' string2params functions.
2539
2540 2003-07-23  Angus Leeming  <leeming@lyx.org>
2541
2542         * factory.C (createInset): pass a
2543         Buffer const * parameter to InsetExternalMailer's string2params.
2544
2545 2003-07-22  John Levon  <levon@movementarian.org>
2546
2547         * Thesaurus.h: include the right aiksaurus header
2548
2549 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2550
2551         * MenuBackend.C (expand): check menu shortcuts unconditionally
2552
2553 2003-07-21  Angus Leeming  <leeming@lyx.org>
2554
2555         * factory.C (createInset): pass a
2556         buffer_path parameter to InsetGraphicsMailer's string2params.
2557
2558 2003-07-21  Angus Leeming  <leeming@lyx.org>
2559
2560         * BufferView_pimpl.C (buffer):
2561         * buffer.C (d-tor):
2562         * lyx_main.C (LyX):
2563         * lyxfunc.C (dispatch):
2564         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2565         rather than the grfx shortcut.
2566
2567 2003-07-21  André Pönitz  <poenitz@gmx.net>
2568
2569         * rowpainter.C: remove unused variables
2570
2571         * tabular_funcs.C:
2572         * tabular_funcs.h: move to tabular.C
2573         * Makefile.am: adjust
2574
2575         * tabular.[Ch]: basic optical cleaning
2576
2577         * author.h: pass references, not values
2578
2579 2003-07-18  André Pönitz  <poenitz@gmx.net>
2580
2581         * lyxtext.h:
2582         * metricsinfo.C:
2583         * metricsinfo.h:
2584         * rowpainter.C:
2585         * text.C:
2586         * text2.C:
2587         * text3.C: two-phase drawing for InsetText and InsetTabular
2588         some float -> int changes.
2589
2590 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2591
2592         * lyx_main.C: fix the fix
2593
2594 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * lyx_main.C: fix a crash in batch mode if no files specified
2597         * converter.C: ws
2598
2599 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2600
2601         * format.[Ch] (papersize): moved to BufferParams
2602         * converter.[Ch] (dvips_options): moved to BufferParams
2603         (dvipdfm_options): moved to anon namespace
2604         * bufferparams.[Ch]: added above functions.
2605
2606 2003-07-17  André Pönitz  <poenitz@gmx.net>
2607
2608         * lyxtext.h:
2609         * rowpainter.C:
2610         * text2.C: don't call inset->update() anymore
2611
2612         * metricsinfo.[Ch]: add convenience constructor
2613
2614 2003-07-16  André Pönitz  <poenitz@gmx.net>
2615
2616         * lyxcursor.[Ch]:
2617         * lyxfunc.[Ch]:
2618         * text.C:
2619         * text2.C: replace the LyXCursor::irow_ member with
2620          on-demand computation of the value
2621
2622 2003-07-16  John Levon  <levon@movementarian.org>
2623
2624         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2625
2626 2003-07-15  André Pönitz  <poenitz@gmx.net>
2627
2628         * text.C:
2629         * text2.C: remove no more needed refresh_row
2630
2631 2003-07-15  André Pönitz  <poenitz@gmx.net>
2632
2633         * lyxtext.h:
2634         * rowpainter.C:
2635         * text2.C:
2636         * text3.C: refresh_status tristate -> need_update bool
2637
2638 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2639
2640         * lyxtext.h (init): remove reinit argument (act as if always true)
2641         * text2.C: adjust to that
2642
2643 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2644
2645         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2646         * text3.C: use it to delete selections in some cases
2647         (bugs 441, 673, 702, 954).
2648
2649 2003-07-14  André Pönitz  <poenitz@gmx.net>
2650
2651         * rowpainter.[Ch]: reduce interface
2652
2653 2003-07-14  André Pönitz  <poenitz@gmx.net>
2654
2655         * BufferView_pimpl.C:
2656         * text2.C: adjust after removing unused BufferView * argument
2657
2658 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2659
2660         * text2.C (init): fix a crash fired on resize
2661
2662 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2663
2664         * buffer.[Ch]: added new closing signal
2665         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2666         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2667         BufferView::Pimpl via the closing the signal
2668
2669 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2670
2671         * buffer.[Ch]: take out all bv-related from buffer
2672         * BufferView.C:
2673         * BufferView_pimpl.[Ch]: connect to new signals
2674         * CutAndPaste.C: removed useless asserts
2675         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2676         * lyxvc.[Ch]:
2677         * vc-backend.[Ch]:
2678         * lyxfunc.C: moved view-related funciontality from vc here
2679         * paragraph.C: removed outdated comments
2680         * text.C: ws
2681
2682 2003-07-10  André Pönitz  <poenitz@gmx.net>
2683
2684         * BufferView_pimpl.C:
2685         * tabular.h:
2686         * tabular_funcs.C:
2687         * text.C:
2688         * text2.C: remove InsetText::InnerCache, clean up consequences
2689
2690 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2691
2692         * ispell.C: fix two typos in error messages
2693
2694 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2695
2696         * Extend Note inset to other forms of annotation like Comment
2697         and Greyedout. Right button click gives dialog.
2698
2699         Files modified or added (+):
2700
2701         * insetnote.[Ch]
2702         * FormNote.[Ch]      +
2703         * ControlNote.[Ch]   +
2704         * form_note.fd       +
2705         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2706         frontends/controllers
2707         * xforms/Dialogs.C
2708         * factory.C
2709
2710 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2711
2712         * aspell.C: add missing namespace lyx::support
2713
2714 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2715
2716         * BufferView.[Ch] (newFile): Add
2717         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2718         * LaTeX.[Ch] (message): added this signal and use it
2719         * buffer.[Ch] (busy, message): added these signals and use them
2720         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2721         * converter.C:
2722         * exporter.C:
2723         * format.C:
2724         * importer.C: use buffer signals instead of direct bv calling
2725         * lyx_cb.[Ch] (ShowMessage): removed
2726         * lyx_main.C:
2727         * lyxfunc.C:
2728         * paragraph_funcs.C:
2729         * text2.C: use buffer signals
2730
2731 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2732
2733         * introduce namespace lyx::graphics
2734
2735 2003-07-02  André Pönitz  <poenitz@gmx.net>
2736
2737         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2738
2739 2003-07-01  André Pönitz  <poenitz@gmx.net>
2740
2741         * text.C:
2742         * text2.C:
2743         * text3.C:
2744         * text_funcs.[Ch]:
2745         * textcursor.h:
2746         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2747           text*.C to text_func.C
2748
2749 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2750
2751         * introduce namespace lyx::support
2752
2753 2003-06-30  André Pönitz  <poenitz@gmx.net>
2754
2755         * Chktex.C:
2756         * funcrequest.C:
2757         * lyxtext.h:
2758         * text.C: re-enable --with-included-string
2759
2760 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2761
2762         * textcursor.C: add <config.h>
2763
2764         * text.C (getWord): remove const from word_location arg
2765
2766         * lyxvc.C (getLogFile): fix const type order
2767
2768         * lyxtext.h: remove const from word_location arg, add arg name
2769
2770         * lyxlayout.h: currect type on labeltype.
2771
2772         * importer.C: correct \file
2773
2774         * converter.C (intToFormat): use std:: on ret val, ws changes
2775
2776         * bufferlist.h: correct \file
2777
2778         * buffer.C (makeLinuxDocFile): fix const type order
2779         (makeDocBookFile): ditto
2780         (fillWithBibKeys): use std:: on stdlib args.
2781
2782         * CutAndPaste.C: fix authors.
2783         (availableSelections): use std:: on return vector
2784
2785 2003-06-27  André Pönitz  <poenitz@gmx.net>
2786
2787         * BufferView_pimpl.C:
2788         * bufferview_funcs.C:
2789         * lyxcursor.C:
2790         * lyxcursor.h:
2791         * lyxfunc.C:
2792         * lyxtext.h:
2793         * rowpainter.C:
2794         * text.C:
2795         * text2.C:
2796         * text3.C: remove LyXCursor::row_ member
2797
2798         * lyxtext.h:
2799         * text.C: rename fullRebreak() to partialRebreak() and implement
2800           a fullRebreak() that really bereks fully
2801
2802         * textcursor.h: new struct for cursor-related data
2803
2804 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2805
2806         * lyx_main.C (LyX): get full path of document loaded on the
2807         command line
2808
2809 2003-06-26  André Pönitz  <poenitz@gmx.net>
2810
2811         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2812           remove unused/broken operator>,<,>=.
2813
2814         *       text.C: remove only use of broken operator<= in an Assert().
2815
2816 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2817
2818         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2819         moved errorlist_.clear to showErrorList
2820
2821 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2822
2823         * converter.C (scanLog, runLaTeX):
2824         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2825         move the bv->showErrorList call to the callers
2826         * lyxfunc.C: i.e. here...
2827         * text2.C: and here
2828         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2829         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2830         namespace, the second to...
2831         * buffer_funcs (BufferFormat, parseErrors): added
2832         * errorlist.C (ErrorList(TeXErrors const &)): removed
2833
2834 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2835
2836         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2837
2838 2003-06-24  "Garst R. Reese" <reese@isn.net>
2839
2840         * debug.C: fix typo
2841
2842 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2843
2844         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2845
2846         * version.C.in: change docversion to 1.4
2847
2848 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2849
2850         * buffer.C: fix a bug just introduced
2851
2852 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * buffer.[Ch]: added the parseError signal and use it, removed
2855         sgmlError
2856         * BufferView.[Ch] (addError): moved to ...
2857         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2858         to the Buffer::parseError signal to catch (guess what) parse errors
2859         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2860
2861 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2862
2863         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2864         ability to create a buffer and to return an existing one from
2865         the list. Moved these functions to...
2866         * buffer_funcs.[Ch]: added
2867         * BufferView.[Ch] (loadLyXFile): added
2868         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2869         job removed from bufferlist::loadLyXFile.
2870         * buffer.C (setReadOnly): make it work without view
2871         (i.e added an if (users))
2872
2873 2003-06-19  Angus Leeming  <leeming@lyx.org>
2874
2875         * lfuns.h:
2876         * LyXAction.C (init):
2877         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2878         with LFUN_DIALOG_SHOW <name> <data>.
2879
2880 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2881
2882         * CutAndPaste.C (availableSelections): small compilation fix for
2883         ancient (gcc 2.9x) compilers
2884
2885 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * text3.C (cursorNext): add tmp var
2888
2889         * text2.C (updateCounters): for function calling out of for clause
2890         (replaceSelectionWithString): ditto
2891         (insertStringAsParagraphs): ditto
2892         (getColumnNearX): add tmp var
2893         (setCursorFromCoordinates): add tmp var
2894         (cursorDownParagraph): add tmp var
2895         (deleteEmptyParagraphMechanism): add tmp var
2896
2897         * text.C (insertChar): add tmp var
2898
2899         * rowpainter.C (paintDepthBar): add tmp var
2900
2901         * CutAndPaste.C (availableSelections): potentially check all
2902         paragraphs in a cut to fill the shown strings.
2903
2904 2003-06-18  André Pönitz  <poenitz@gmx.net>
2905
2906         * kbmap.[Ch]: use vector<> instead of list<>
2907
2908 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2909
2910         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2911         pasteSelection with index
2912
2913         * text2.C (pasteSelection): modify, call pasteSelection with index
2914
2915         * paragraph.C (asString): reimplement version with no interval to
2916         call the one with interval.
2917
2918         * lyxtext.h: add index arg to pasteSelection
2919
2920         * MenuBackend.C (MenuItem): handle PasteRecent
2921         (Menu::read::Menutags): add md_pasterecent
2922         (read): handle it
2923         (expandPasteRecent): new function
2924         (expand): use it
2925
2926         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2927
2928         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2929         the limited stack
2930         (availableSelections): new function
2931
2932 2003-06-17  Angus Leeming  <leeming@lyx.org>
2933
2934         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2935
2936 2003-06-17  Angus Leeming  <leeming@lyx.org>
2937
2938         * lfuns.h:
2939         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2940
2941         * lyxfunc.C (dispatch): invoke it.
2942
2943 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2944
2945         * iterators.C (operator++, ParPosition): reintroduce some
2946         const_cast for the benefit of older compilers.
2947
2948 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2949
2950         * text3.C (dispatch): do not modify clipboard when doing
2951         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2952         LFUN_DELETE_SKIP on a selection selection
2953
2954 2003-06-16  André Pönitz  <poenitz@gmx.net>
2955
2956         * BufferView.C:
2957         * buffer.C:
2958         * buffer.h:
2959         * paragraph.C:
2960         * tabular.[Ch]: IU of clone() and getLabelList();
2961
2962 2003-06-13  André Pönitz  <poenitz@gmx.net>
2963
2964         * tabular.h: compactification
2965
2966 2003-06-12  André Pönitz  <poenitz@gmx.net>
2967
2968         * tabular.C:
2969         * tabular.h:
2970         * tabular_funcs.h: some renaming plus whitespace
2971
2972 2003-06-12  André Pönitz  <poenitz@gmx.net>
2973
2974         * BufferView.C:
2975         * BufferView_pimpl.C:
2976         * CutAndPaste.C:
2977         * buffer.C:
2978         * iterators.[Ch]:
2979         * lyxfunc.C:
2980         * text.C:
2981         * toc.C: Return a Paragraph & for ParIterator::operator*()
2982
2983 2003-06-11  John Levon  <levon@movementarian.org>
2984
2985         * lyx_main.C:
2986         * ToolbarBackend.h:
2987         * ToolbarBackend.C: add "Toolbars" section and
2988         put the flags there
2989
2990 2003-06-10  Angus Leeming  <leeming@lyx.org>
2991
2992         * lfuns.h:
2993         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2994
2995         * lyxfunc.C (dispatch): invoke it.
2996
2997 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * main.C: protect <ios> with HAVE_IOS
3000         (main): protect sync_with_stdio with HAVE_IOS
3001
3002 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3003
3004         * text2.C (cutSelection): adjust
3005         (pasteSelection): adjust
3006
3007         * messages.C: handle get of empty string
3008
3009         * main.C (main): use sync_with_stdio(false)
3010
3011         * lyxfunc.C (dispatch): adjust
3012
3013         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3014         (WriteAs): remove unneeded BufferView arg.
3015
3016         * bufferparams.h: use correct types on papersize, papersize2 and
3017         paperpackage.
3018
3019         * bufferparams.C (readToken): adjust for type
3020         (writeLaTeX): add missing cases to switch.
3021
3022         * bufferlist.C (quitWriteBuffer): adjust
3023         (close): adjust
3024
3025         * buffer.C (asciiParagraph): remove some commented code.
3026
3027         * CutAndPaste.C: remove current_view extern variable.
3028         (cutSelection): add BufferParams arg.
3029         (eraseSelection): add BufferParams arg.
3030         (pasteSelection): add Buffer const & arg
3031
3032 2003-06-07  John Levon  <levon@movementarian.org>
3033
3034         * buffer.C:
3035         * paragraph_funcs.C:
3036         * paragraph_pimpl.C:
3037         * text.C:
3038         * text2.C:
3039         * paragraph.h:
3040         * paragraph.C: allow InsetERT to freely space lines,
3041         and some consolidation of code
3042
3043 2003-06-06  José Matos  <jamatos@fep.up.pt>
3044
3045         * buffer.C (makeDocBookFile): fix bug #821
3046
3047 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3048
3049         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3050
3051 2003-06-04  Angus Leeming  <leeming@lyx.org>
3052
3053         * buffer.C: bump format to 224.
3054
3055 2003-06-05  André Pönitz  <poenitz@gmx.net>
3056
3057         * text2.C (redoParagraphs): remove two const_cast<>
3058
3059 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3060
3061         * ParagraphList.h: remove last remnants of NO_STD_LIST
3062
3063 2003-06-03  Angus Leeming  <leeming@lyx.org>
3064
3065         * factory.C (createInset): small change to the way InsetExternal's params
3066         are set.
3067
3068 2003-06-04  André Pönitz  <poenitz@gmx.net>
3069
3070         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3071
3072         * paragraph_pimpl.h:
3073         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3074
3075         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3076
3077         * undo_funcs.C: make some simple cases of undo work again
3078
3079 2003-06-03  John Levon  <levon@movementarian.org>
3080
3081         * ispell.C: HPUX doesn't have sys/select.h
3082         (from Albert Chin)
3083
3084 2003-06-03  John Levon  <levon@movementarian.org>
3085
3086         * CutAndPaste.C: update tabular and include inset
3087         buffer references
3088
3089         * buffer.h:
3090         * paragraph.h:
3091         * paragraph.C: remove owningBuffer(), don't pass Buffer
3092         to clone()
3093
3094         * factory.C: insetGraphicsParams changed
3095
3096 2003-06-02  John Levon  <levon@movementarian.org>
3097
3098         * LyXAction.C:
3099         * factory.C:
3100         * lfuns.h:
3101         * lyxfunc.C:
3102         * text3.C: remove insetparent
3103
3104 2003-06-02  John Levon  <levon@movementarian.org>
3105
3106         * buffer.h:
3107         * buffer.C: fix inset_iterator.end(), move out of line
3108         (bug 1149)
3109
3110 2003-06-01  John Levon  <levon@movementarian.org>
3111
3112         * text3.C: use a proper cut/paste when doing inset
3113         insert (from Jürgen Spitzmüller)
3114
3115 2003-06-01  John Levon  <levon@movementarian.org>
3116
3117         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3118
3119 2003-05-30  André Pönitz  <poenitz@gmx.net>
3120
3121         * rowpainter.C: unify second drawing phase
3122
3123 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * trans_mgr.C: remove one case of current_view
3126
3127         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3128
3129         * paragraph_funcs.h: remove paragraph.h include
3130
3131         * paragraph.h: delete NO_STD_LIST stuff
3132
3133         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3134
3135         * buffer.h: remove paragraph.h include
3136
3137         * ParagraphList.C: delete file
3138
3139         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3140
3141         * toc.C (getTocList): adjust
3142
3143         * paragraph_pimpl.C (validate): adjust
3144
3145         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3146
3147         * paragraph.C (Paragraph): adjust
3148         (getPositionOfInset): use const_iterator, adjust
3149         (bibitem): use const_iterator, adjust
3150         (setInsetOwner): adjust
3151
3152         * iterators.C (operator++): adjust
3153
3154         * InsetList.[Ch]: Replace selfmade iterator with standard
3155         vector::iterator also introduce const_iterator. Remove getPos,
3156         getInset and setInset from InsetTable. Adjust accordingly.
3157
3158         * BufferView.C (lockInset): adjust
3159         (ChangeInsets): adjust
3160
3161         * tabular.[Ch]: delete commented same_id functions
3162
3163 2003-05-28  John Levon  <levon@movementarian.org>
3164
3165         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3166
3167 2003-05-28  André Pönitz  <poenitz@gmx.net>
3168
3169         * metricsinfo.[Ch]: remove 'fullredraw' member
3170
3171 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3172
3173         * lyxtextclass.C (operator): remove caching.
3174
3175 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * text3.C: adjust
3178
3179         * text2.C (cursorBottom): adjust
3180         (setCounter): use ParagraphList::find, adjust
3181
3182         * text.C (workWidth): use ParagraphList::find, adjust
3183
3184         * lyxcursor.C (LyXCursor): adjust
3185
3186         * buffer.C (inset_iterator): adjust
3187
3188         * ParagraphList.h: make iterator(value_type) private, make
3189         ParagraphList a friend of iterator.
3190
3191         * ParagraphList.C (find): new function
3192
3193         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3194
3195 2003-05-27  André Pönitz  <poenitz@gmx.net>
3196
3197         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3198
3199 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3200
3201         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3202
3203 2003-05-26  John Levon  <levon@movementarian.org>
3204
3205         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3206
3207 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3208
3209         * remove same_id from function signatures, adjust.
3210
3211 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3214
3215         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3216
3217         * paragraph.C (Paragraph): get rid of same_ids parameter
3218
3219         * ParagraphList.C (insert): adjust
3220         (push_back): adjust
3221
3222 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223
3224         * paragraph_funcs.C (breakParagraph): adjust
3225         (breakParagraphConservative): adjust
3226
3227         * buffer.C (readParagraph): adjust
3228
3229         * ParagraphList.C (insert): take a reference instead of a pointer
3230         (insert): adjust
3231
3232         * paragraph.[Ch] (id): new function
3233
3234         * bufferlist.C (newFile): adjust
3235
3236         * ParagraphList.C (ParagraphList): adjust
3237         (assign): adjust
3238         (push_back): take a reference instead of a pointer.
3239
3240         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3241
3242         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3243         instead.
3244
3245         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3246         set else use old code.
3247
3248         * ParagraphList.C: remove all NO_NEXT code and only compile this
3249         code of NO_STD_LIST is set.
3250
3251 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3252
3253         * BufferView_pimpl.C:
3254         * TextCache.C:
3255         * TextCache.h:
3256         * bufferlist.C:
3257         * errorlist.h:
3258         * format.C:
3259         * format.h:
3260         * graph.C:
3261         * lyxfunc.C:
3262         * lyxrc.C:
3263         * graphics/GraphicsConverter.C:
3264         * graphics/PreviewLoader.C: header adjustment
3265
3266 2003-05-23  Angus Leeming  <leeming@lyx.org>
3267
3268         * LaTeXFeatures.[Ch] (useBabel): new method.
3269         * bufferparams.C (writeLaTeX): use it.
3270
3271 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * ParagraphList.h (set): remove unused function.
3274
3275 2003-05-23  André Pönitz  <poenitz@gmx.net>
3276
3277         * BufferView.C:
3278         * BufferView_pimpl.C:
3279         * buffer.C:
3280         * buffer.h:
3281         * lyxfunc.C:
3282         * undo_funcs.C: setUndo reworked
3283
3284         * iterators.[Ch]: add access to topmost ParagraphList
3285
3286         * lyxtext.[Ch] (workWidth): add a const
3287
3288 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * texrow.[Ch] (increasePos): remove function
3291         * exporter.C (export): removed unused var and outdated comment
3292
3293 2003-05-23  Angus Leeming  <leeming@lyx.org>
3294
3295         * latexrunparams.h: rename fragile as moving_arg.
3296         * paragraph.C (simpleTeXOnePar): ditto.
3297         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3298
3299 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3300
3301         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3302         (createUndo): ditto
3303         (textUndoOrRedo): comment out a currently unused var.
3304
3305         * paragraph.h (NO_NEXT): enable NO_NEXT
3306
3307         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3308
3309         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3310
3311         * exporter.C (Export): adjust for removeAutoInsets removal.
3312
3313         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3314
3315         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3316
3317         * BufferView.[Ch] (removeAutoInsets): delete function
3318
3319 2003-05-22  Angus Leeming  <leeming@lyx.org>
3320
3321         * latexrunparams.h: add a free_spacing variable.
3322
3323         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3324         to pass moving_arg, as the data is stored in runparams.fragile.
3325
3326         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3327         to Inset::latexOptional or to simpleTeXOnePar.
3328
3329         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3330         free_spacing arg to Inset::latexOptional.
3331
3332         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3333         free_spacing arg.
3334
3335 2003-05-22  Angus Leeming  <leeming@lyx.org>
3336
3337         * latexrunparams.h: add fragile and use_babel variables.
3338
3339         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3340         * buffer.C (makeLaTeXFile): store this returned value in
3341         runparams.use_babel, thus passing it to the inset::latex methods.
3342
3343         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3344         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3345
3346         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3347         longer has a fragile arg, as it is stored in runparams.fragile.
3348
3349         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3350         moving_arg parameter as the data is stored in runparams.fragile.
3351
3352         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3353         a fragile parameter as the data is stored in runparams.fragile.
3354
3355 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3356
3357         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3358
3359 2003-05-22  Angus Leeming  <leeming@lyx.org>
3360
3361         * latexrunparams.h: add a 'bool nice' which defaults to false.
3362
3363         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3364         now encapsulated within runparams.
3365
3366         * bufferlist.C (updateIncludedTeXfiles):
3367         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3368
3369 2003-05-22  Angus Leeming  <leeming@lyx.org>
3370
3371         * latexrunparams.h: new file containing struct LatexRunParams.
3372         * Makefile.am: add new file.
3373
3374         * LaTeX.[Ch] (c-tor, run):
3375         * buffer.[Ch] (makeLaTeXFile):
3376         * bufferlist.[Ch] (updateIncludedTeXfiles):
3377         * converter.C (convert, scanLog):
3378         * converter.[Ch] (runLaTeX):
3379         * exporter.C (Export):
3380         * paragraph.[Ch] (simpleTeXOnePar):
3381         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3382         * paragraph_funcs.[Ch] (latexParagraphs):
3383         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3384         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3385         pass around a LatexRunParams parameter.
3386
3387 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * paragraph.[Ch]: remove unused constructor
3390
3391         * ParagraphList.C (erase): new function, taking two iterators
3392
3393 2003-05-22  André Pönitz  <poenitz@gmx.net>
3394
3395         * undo_funcs.C: remove duplicated code
3396
3397         * iterator.[Ch]: operator=
3398
3399 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3400
3401         * tabular.C (SetMultiColumn): ws changes
3402
3403         * rowpainter.C (paintFirst): get rid of a ->previous
3404
3405         * lyx_cb.C (getPossibleLabel): parlist simplification
3406
3407         * BufferView.C (ChangeInsets): simplify slightly.
3408
3409 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3410
3411         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3412         * lfuns.h: new LFUN_SPACE
3413         * lyxfunc.C: protected space has a new lfun
3414         * paragraph_funcs.C: read new space insets
3415         * text3.C:
3416         * factory.C: handle new space insets
3417
3418 2003-05-22  André Pönitz  <poenitz@gmx.net>
3419
3420         * BufferView.C:
3421         * BufferView_pimpl.C:
3422         * buffer.[Ch]:
3423         * lyxfunc.C:
3424         * undo_funcs.C: return a ParIterator from getParFromID.
3425
3426         * iterators.[Ch]: add two const's
3427
3428 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3429
3430         * toc.C (getTocList): adjust
3431
3432         * iterators.[Ch]: rework for parlist
3433
3434         * buffer.C (par_iterator_begin): adjust
3435         (par_iterator_end): adjust
3436
3437         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3438
3439         * BufferView.C (removeAutoInsets): adjust
3440         (ChangeInsets): adjust
3441
3442 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3443
3444         * text.C (top_y): fix bug 1110
3445
3446 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * errorlist.[Ch]: added
3449         * buffer.C:
3450         * BufferView.[Ch]:
3451         * BufferView_pimpl.C:
3452         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3453         instead
3454
3455 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3456
3457         * Makefile.am: ensure that lyx is relinked upon changes to the
3458         various "convenience" libs.
3459
3460 2003-05-20  Angus Leeming  <leeming@lyx.org>
3461
3462         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3463         files are compiled in alphabetical order again.
3464
3465         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3466
3467 2003-05-19  Angus Leeming  <leeming@lyx.org>
3468
3469         * gettext.[Ch]: remove "char const * _(char const *)".
3470
3471 2003-05-19  André Pönitz  <poenitz@gmx.net>
3472
3473         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3474
3475         * Makefile.am:
3476         * BufferView.C:
3477         * DepTable.h:
3478         * LaTeXFeatures.C:
3479         * buffer.C:
3480         * lyxfont.C:
3481         * lyxlex.h:
3482         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3483
3484 2003-05-19  André Pönitz  <poenitz@gmx.net>
3485
3486         * buffer.C:
3487         * lyxlayout.[Ch]:
3488         * lyxtextclass.[Ch]:
3489         * paragraph.C:
3490         * paragraph_funcs.[Ch]:
3491         * text2.C:
3492         * text3.C: more insetenv work
3493
3494 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3495
3496         * ParagraphParameters.C (params2string): small bug fixed
3497
3498 2003-05-16  André Pönitz  <poenitz@gmx.net>
3499
3500         * debug.C:
3501         * bufferview_funcs.C: patch from Kornel Benko to prevent
3502           crash when _(...) is called twice in a statement
3503
3504 2003-05-16  André Pönitz  <poenitz@gmx.net>
3505
3506         * BufferView.C:
3507         * lyxfunc.C:
3508         * text.C:
3509         * text2.C:
3510         * text3.C:
3511         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3512
3513 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3514
3515         * lyx_main.C (init): remove spurious static_cast
3516
3517 2003-05-14  André Pönitz  <poenitz@gmx.net>
3518
3519         * BufferView.C: fix format string
3520
3521 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * BufferView.[Ch] (insertErrors): removed
3524         * BufferView.[Ch] (showErrorList): added
3525         * buffer.C (runChkTeX):
3526         * converter.C (scanLog): call showErrorList instead of inserterrors
3527
3528 2003-05-13  André Pönitz  <poenitz@gmx.net>
3529
3530         * BufferView_pimpl.C:
3531         * buffer.C:
3532         * bufferview_func.C:
3533         * MenuBackend.C:
3534         * lyxfunc.C:
3535         * lyxrc.C:
3536         * tex-accent.C:
3537         * text3.C:
3538         * toc.C:
3539         * tabular_funcs.h: tostr() from its own header
3540
3541         * ParagraphParameters.C:
3542         * ToolbarBackend.C:
3543         * bufferparams.C:
3544         * format.C:
3545         * lyxlex_pimpl.C:
3546         * text3.C: STRCONV()
3547
3548 2003-05-12  André Pönitz  <poenitz@gmx.net>
3549
3550         * BufferView.C:
3551         * BufferView_pimpl.C:
3552         * CutAndPaste.C:
3553         * LaTeX.C:
3554         * LaTeXFeatures.C:
3555         * ParagraphParameters.C:
3556         * buffer.C:
3557         * bufferlist.C:
3558         * bufferparams.C:
3559         * bufferview_funcs.C:
3560         * converter.C:
3561         * counters.C:
3562         * debug.C:
3563         * exporter.C:
3564         * format.C:
3565         * importer.C:
3566         * lyx_cb.C:
3567         * lyx_main.C:
3568         * lyxfont.C:
3569         * lyxfunc.C:
3570         * lyxvc.C:
3571         * paragraph.C:
3572         * paragraph_funcs.C:
3573         * tabular.C:
3574         * tabular_funcs.C:
3575         * text2.C:
3576         * text3.C:  boost::format -> bformat  all over the place
3577
3578
3579 2003-05-09  André Pönitz  <poenitz@gmx.net>
3580
3581         * LColor.[Ch]: Pimpl the #include <map> away
3582
3583 2003-05-09  John Levon  <levon@movementarian.org>
3584
3585         * bufferlist.C: never remove emergency saves
3586
3587 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3588
3589         * Makefile.am: better lib building
3590
3591 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3592
3593         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3594         instead.
3595         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3596         (simpleTeXSpecialChars): adjust
3597         (simpleTeXSpecialChars): adjust
3598         * paragraph.C (simpleTeXOnePar): adjust
3599         * buffer.C (makeLaTeXFile): adjust
3600
3601         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3602
3603         * text2.C (changeDepth): parlist cleanup
3604         (getColumnNearX): ditto
3605
3606         * rowpainter.C (getLabelFont): parlist cleanup
3607
3608         * bufferlist.C (newFile): parlist cleanup
3609
3610         * CutAndPaste.C (eraseSelection): parlist cleanup
3611
3612         * BufferView_pimpl.C (trackChanges): parlist cleanup
3613         (dispatch): ditto
3614
3615         * BufferView.C (lockInset): parlist cleanup.
3616         (ChangeInsets): ditto
3617
3618 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * CutAndPaste.h: Update file header.
3621
3622         * CutAndPaste.C: Update file header.
3623         Store the parts cut out of the Document in a limited_stack.
3624         (copySelection): adjust
3625         (pasteSelection): new function, takes the index in the limited stack.
3626         (nrOfParagraphs): adjust
3627         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3628         simplify error inset insertion.
3629         (checkPastePossible): adjust
3630
3631 2003-05-06  John Levon  <levon@movementarian.org>
3632
3633         * text2.C: don't cast wrap inset to float
3634
3635 2003-05-05  André Pönitz  <poenitz@gmx.net>
3636
3637         * iterator.C:
3638         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3639
3640         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3641           few naked Paragraph *.
3642
3643 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3644
3645         * bufferparams.C: Output warning if a document with missing
3646         TeX document class is loaded
3647         * exporter.C: Disable TeX exports if the document class is missing
3648         * lyxtextclass.C:
3649         * lyxtextclass.h:
3650         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3651         isTeXClassAvailable()
3652
3653 2003-05-03  John Levon  <levon@movementarian.org>
3654
3655         * BufferView.h:
3656         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3657         explicit cursor show/hide
3658
3659         * BufferView_pimpl.h:
3660         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3661         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3662
3663         * lyxfunc.C: hide cursor before dispatching.
3664
3665         * lyx_cb.C:
3666         * lyxfind.C:
3667         * text.C:
3668         * text3.C: remove explicit cursor hides
3669
3670 2003-05-02  André Pönitz  <poenitz@gmx.net>
3671
3672         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3673
3674         * undo_funcs.C:
3675         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3676           linked lists
3677
3678         * text2.C: tiny whitespace
3679
3680 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * undo_funcs.C: almost only ws changes.
3683
3684         * ParagraphList.C (splice): just return if pl is empty.
3685
3686 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3687
3688         * ParagraphList.C (splice): new function.
3689
3690         * CutAndPaste.C (pasteSelection): use it
3691
3692 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3693
3694         * CutAndPaste.C (pasteSelection): remove the last next and
3695         previous from this file.
3696
3697 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * CutAndPaste.C (pasteSelection): more clean up, user proper
3700         ParagraphList functions for pasteing.
3701
3702         * ParagraphList.C (insert): new function, three arg insert
3703
3704 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3705
3706         * ParagraphList.C (insert): new function, three arg insert
3707
3708         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3709         not on paragraphs.
3710
3711 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3714
3715 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3718
3719 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3720
3721         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3722         (copySelection): clean up a bit.
3723         (pasteSelection): use make_pair
3724
3725         * ParagraphList.C (ParagraphList): implement copy constructor
3726         (operator=): implement, base on copy constructor.
3727         (assign): new func
3728
3729         * paragraph.C (erase): return a bool
3730
3731         * paragraph_pimpl.C (erasePos): remove function, move contents...
3732         (erase): ... here. Return a bool.
3733         (erase): call erase instead of erasePos.
3734
3735 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3736
3737         * ParagraphList.h: define PitPosPair
3738         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3739         ParagraphList, fix a bug on pasting multiple pars
3740         * text2.C: change interface to C&P
3741
3742 2003-04-30  André Pönitz  <poenitz@gmx.net>
3743
3744         * undo_func.C: revert part of yesterday's patch 2
3745
3746 2003-04-30  John Levon  <levon@movementarian.org>
3747
3748         * LColor.C: s/tabular/table/
3749
3750 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * text3.C (dispatch): do not convert iterator -> pointer
3753         * undo_funcs.C (setCursorParUndo): ditto
3754         * text_funcs.C (transposeChars): ditto
3755
3756         * text2.C (setLayout): ws changes only
3757
3758         * text.C (breakParagraph): do not convert iterator -> pointer
3759         (insertChar): ditto
3760         (acceptChange): ditto
3761         (rejectChange): ditto
3762         (changeCase): ditto
3763         (Delete): ditto
3764         (backspace): ditto
3765
3766         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3767         pointer
3768
3769 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3770
3771         * text3.C (gotoInset): YABG (yet another bad getChar)
3772
3773 2003-04-29  André Pönitz  <poenitz@gmx.net>
3774
3775         * paragraph.h: make operator= private unimplemented as long as
3776           it is unusable
3777
3778         * ParagraphList.C: whitespace
3779
3780         * paragraph.[Ch]:
3781         * paragraph_pimpl.[Ch]:
3782         * paragraph_funcs.C:
3783         * CutAndPaste.C:
3784         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3785
3786         * text2.C:
3787           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3788
3789 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3792         * paragraph.[Ch] (erase):
3793         * paragraph_pimpl.[Ch] (erase): change return type and value
3794         * text2.C (cutSelection): some rework
3795
3796 2003-04-28  John Levon  <levon@movementarian.org>
3797
3798         * bufferlist.C: changes for unsaved changes dialog
3799
3800 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * bufferlist.C (newFile): set language (messages_) for new
3803         documents also.
3804
3805         * buffer.C (readFile): ws changes only.
3806
3807 2003-04-28  André Pönitz  <poenitz@gmx.net>
3808
3809         * undo_funcs.C:
3810         * lyxfunc.C:
3811         * buffer.[Ch]:
3812         * BufferView_pimpl.C:
3813         * BufferView.C: getParFromID related ParagraphList::iterator changes
3814
3815 2003-04-28  André Pönitz  <poenitz@gmx.net>
3816
3817         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3818           Changes
3819
3820 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * messages.C: remove one more localedir class variable.
3823
3824 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * messages.C (getLocaleDir): singleton generation function
3827         (Pimpl): use it.
3828         (Messages): add a default constructor.
3829
3830         * main.C (main): do not setup localedir here, do not call
3831         gettext_init.
3832
3833         * gettext.C (_): use it.
3834         (gettext_init): delete funciton
3835
3836 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * gettext.C (getLyXMessages): new singleton generating function.
3839
3840         * buffer.C (updateDocLang): adjust
3841
3842         * Makefile.am (messages.o): add target
3843         (main.o): remove target
3844
3845 2003-04-27  John Levon  <levon@movementarian.org>
3846
3847         * bufferlist.C:
3848         * lyx_cb.C:
3849         * lyxfunc.C:
3850         * lyxvc.C: specify cancel button in Alert::prompt
3851
3852 2003-04-26  John Levon  <levon@movementarian.org>
3853
3854         * text3.C:
3855         * lyxfunc.C:
3856         * lfuns.h:
3857         * LyXAction.C: add LFUN_INSET_SETTINGS
3858
3859         * lyxfunc.C: don't enable tabular-feature when there's
3860         just any locking inset
3861
3862 2003-04-26  John Levon  <levon@movementarian.org>
3863
3864         * bufferlist.C: re-add Cancel to buffer close question
3865
3866         * lyxfunc.C: fix import UI a bit
3867
3868 2003-04-25  John Levon  <levon@movementarian.org>
3869
3870         * gettext.C: remove the broken asserts for now
3871
3872 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3873
3874         * messages.C: make case where setlocale cannot comply work better.
3875
3876         * buffer.C (updateDocLang): new function
3877         (changeLanguage): use it
3878         (readFile): use it
3879
3880         * text2.C (setCounter): use B_ a bit.
3881
3882         * lyxlayout.C (Read): be sure to trim the label strings.
3883
3884         * messages.C (Messages): fix typo in comment
3885
3886         * buffer.C (readFile): set message_ after file is loaded.
3887         (makeDocBookFile): remove double return
3888         (changeLanguage): reset message_ upon language change.
3889         (B_): new func, use this to get translated buffer strings.
3890
3891         * main.C: add myself and Jean Marc as authors.
3892
3893 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * messages.[hC]: pimplify Messages, and three different pimpls to be
3896         used in different circumstances.
3897
3898         * gettext.[Ch]: change for use with new message code.
3899
3900 2003-04-24 André Pönitz <poenitz@gmx.net>
3901
3902         * factory.C: support for eqref
3903
3904 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * messages.[Ch]: add missing char
3907
3908         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3909
3910         * messages.[Ch]: New files
3911
3912 2003-04-18  John Levon  <levon@movementarian.org>
3913
3914         * BufferView.h:
3915         * BufferView.C:
3916         * BufferView_pimpl.C:
3917         * lfuns.h:
3918         * LyXAction.C:
3919         * lyxtext.h:
3920         * text2.C: remove layout-copy/paste (bug 778)
3921
3922 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3923
3924         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3925
3926 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3927
3928         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3929         if they succeed. Act accordingly.
3930
3931 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3932
3933         * text2.C (setCharFont): adjust
3934         (setCounter): adjust
3935         (insertStringAsLines): adjust
3936
3937         * text.C (leftMargin): adjust
3938         (setHeightOfRow): adjust
3939
3940         * rowpainter.C (paintFirst): adjust
3941         (paintLast): adjust
3942
3943         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3944         (outerHook): ditto
3945         (isFirstInSequence): ditto
3946         (getEndLabel): ditto
3947         (outerFont): adjust
3948
3949         * paragraph.C (getParLanguage): comment out some hard stuff.
3950
3951         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3952         (sgmlError): ditto
3953         (simpleDocBookOnePar): ditto
3954         (makeDocBookFile): use ParagraphList::iterator
3955
3956         * CutAndPaste.C (pasteSelection): adjust
3957
3958 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * text2.C (getFont): adjust
3961         (getLayoutFont): adjust
3962         (getLabelFont): adjust
3963
3964         * paragraph_funcs.C (TeXOnePar): adjust
3965
3966         * buffer.C (simpleLinuxDocOnePar): adjust
3967         (simpleDocBookOnePar): adjust
3968
3969         * CutAndPaste.C (pasteSelection): adjust
3970
3971         * BufferView.C (getEncoding): adjust
3972
3973         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3974
3975 2003-04-16  John Levon  <levon@movementarian.org>
3976
3977         * lyxfind.C: use parlist stuff for search/changes
3978
3979 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3982
3983         * text2.C (deleteEmptyParagraphMechanism): adjust
3984
3985         * text2.[Ch] (ownerParagraph): delete func (both of them
3986
3987 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3990
3991 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * ParagraphList.C: prepare for NO_NEXT
3994
3995 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * text2.C (getFont): adjust
3998         (getLayoutFont): adjust
3999         (getLabelFont): adjust
4000
4001         * paragraph.C (getFont): adjust
4002         (getLabelFont): adjust
4003         (getLayoutFont): adjust
4004
4005         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4006
4007 2003-04-15  John Levon  <levon@movementarian.org>
4008
4009         From Angus Leeming
4010
4011         * lyx_main.C: handle Include in .ui files
4012
4013 2003-04-15  John Levon  <levon@movementarian.org>
4014
4015         * MenuBackend.C: make the doc files length shorter
4016
4017         * ToolbarBackend.h:
4018         * ToolbarBackend.C: handle toolbar placement flags,
4019         Minibuffer
4020
4021 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4024         adjust
4025
4026         * paragraph_funcs.C (TeXOnePar): adjust
4027
4028         * paragraph.C (getLabelFont): add outerfont arg, adjust
4029         (getLayoutFont): ditto
4030         (simpleTeXOnePar): adjust
4031
4032         * paragraph_pimpl.C (realizeFont): delete func
4033
4034 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4037         row argument, constify cur argument.
4038
4039 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * text2.C (getFont): adjust
4042         (getLayoutFont): adjust
4043         (getLabelFont): adjust
4044
4045         * paragraph_funcs.C (TeXOnePar): adjust
4046         (outerFont): new func...
4047         (realizeFont): ...moved out from here, changed this to facilitate
4048         transition
4049
4050         * paragraph.C (getFont): take outerfont as arg, adjust
4051         (simpleTeXOnePar): add outerfont arg, adjust
4052
4053         * buffer.C (simpleLinuxDocOnePar): adjust
4054         (simpleDocBookOnePar): adjust
4055
4056         * CutAndPaste.C (pasteSelection): adjust
4057
4058         * BufferView.C (getEncoding): adjust
4059
4060 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * text2.C (setCharFont): adjust
4063         (setCounter): adjust
4064
4065         * text.C (leftMargin): adjust
4066         (setHeightOfRow): adjust
4067
4068         * rowpainter.C (paintFirst): adjust
4069         (paintLast): adjust
4070
4071         * paragraph_pimpl.C (realizeFont): adjust
4072
4073         * paragraph.C (isFirstInSequence): move from here...
4074         * paragraph_funcs.C (isFirstInSequence): ...to here
4075
4076         * paragraph.C (outerHook): move from here...
4077         * paragraph_funcs.C (outerHook): ...to here
4078
4079         * paragraph.C (depthHook): move from here...
4080         * paragraph_funcs.C (depthHook): ...to here
4081
4082         * paragraph.C (getEndLabel): move from here...
4083         * paragraph_funcs.C (getEndLabel): ...to here
4084
4085         * text2.C (realizeFont): move from here...
4086         * paragraph_funcs.C (realizeFont): ...to here
4087
4088 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4089
4090         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4091
4092 2003-04-14  Angus Leeming  <leeming@lyx.org>
4093
4094         * LColor.[Ch]: scrap LColor mathcursor.
4095
4096 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * lyxlex.[Ch] (text): delete function
4099         * trans.C (Load): adjust
4100         * paragraph_funcs.C (readParToken): adjust
4101
4102 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4105         vector<char> instead of a char[].
4106
4107         * lyxlex_pimpl.C (getString): adjust
4108         (next): adjust
4109         (lex): use getString
4110         (eatLine): adjust
4111         (nextToken): adjust
4112
4113         * lyxlex.C (text): use pimpl_->getString()
4114         (getBool): ditto
4115         (findToken): ditto
4116
4117 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4120         (makeFontEntriesLayoutSpecific): temp var for par.size()
4121         (setLayout): temp var for ownerParagraphs().end()
4122         (fullRebreak): temp var for rows().end()
4123         (selectionAsString): temp var for boost::next(startpit), realize
4124         that the while really is a regular for loop.
4125         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4126         setCursor in one place.
4127         (setParagraph): temp vr for ownerParagraphs().end()
4128         (updateCounters): make the while loop a for loop
4129         (cutSelection): temp var for ownerParagraphs().end()
4130         (updateInset): make the do {} while() a regular for loop
4131         (getCursorX): use temp vars
4132         (setCurrentFont): use temp vars
4133         (getColumnNearX): use temp vars
4134
4135 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4136
4137         * text.C (transformChar): use temp var for getChar
4138         (computeBidiTables): use temp var for row->par()
4139         (fill): move temp vars for row->par() and pit->layout() earlier in
4140         the function.
4141         (labelFill): use temp var for row->par()
4142         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4143         asc and desc, realize that pit never changes and that firstpit is
4144         just a duplicate and not needed. Exchange rit->par() with pit in a
4145         lot of places.
4146         (breakAgain): use a temp var for boost::next(rit)
4147         (breakAgainOneRow): ditto
4148         (breakParagraph): use a temp var for rows().begin()
4149         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4150         (cursorRightOneWord): use temp var for cursor.par() and
4151         cursor.pos(), remove usage of tmpcursor.
4152         (cursorLeftOneWord): use temp var for cursor.par() and
4153         cursor.pos() only set cur at end of function.
4154
4155 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * text.C, text2.C: exchange all usage of Paragraph::next with
4158         boost::next(ParagraphList::iterator)
4159
4160         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4161
4162         * text2.C (cursorTop): simplify implementation
4163         (cursorBottom): ditto
4164         (setParagraph): use ParagraphList::iterator
4165         (setCurrentFont): adjust
4166         (getColumnNearX): adjust
4167         (cursorRight): adjust
4168         (cursorLeft): remove usage of Paragraph::previous
4169         (cursorUpParagraph): ditto
4170         (deleteEmptyParagraphMechanism): slight cleanup
4171
4172         * text.C (isBoundary): take a Paragraph const & instead of a
4173         pointer as arg.
4174         (addressBreakPoint): ditto
4175         (leftMargin): remove usage of Paragraph::previous.
4176         (setHeightOfRow): ditto
4177         (cursorLeftOneWord): ditto
4178         (selectNextWordToSpellcheck): ditto
4179         (Delete): ditto
4180         (backspace): ditto
4181         (breakParagraph): remove one usage of Paragraph::next
4182         (redoParagraph): ditto
4183         (acceptChange): ditto
4184         (insertChar): adjust
4185         (rowBreakPoint): adjust
4186
4187         * bufferview_funcs.C (toggleAndShow): adjust
4188
4189 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4190
4191         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4192         methods to access it.
4193         * lyxtext.h:
4194         * text.C: Added updateRowPositions to compute all row positions.
4195         Make top_y and getRowNearY() to use the cached y position
4196
4197 2003-04-11  John Levon  <levon@movementarian.org>
4198
4199         * text.C (rowBreakPoint): reintroduce the labelEnd
4200         checks, code copied from the row fill stuff. Deep voodoo.
4201
4202         * text.C (fill): add a comment and debugging for the
4203         next poor soul.
4204
4205 2003-04-11  John Levon  <levon@movementarian.org>
4206
4207         * text.C: make sure fullrow insets get wrapped to the next line,
4208         even when they're in a manual label
4209
4210 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * text2.C (insertParagraph): make it take ParagraphList::iterator
4213         as arg.
4214         (setLayout): make it return ParagraphList::iterator
4215         (redoParagraphs): ditto
4216         (setCounter): ditto
4217         (checkParagraph): ditto
4218
4219         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4220
4221         * text2.C: adjust several funcs.
4222         (realizeFont): take a ParagraphList::iterator as arg.
4223         (getLayoutFont): ditto
4224         (getLabelFont): ditto
4225         (setCharFont): ditto
4226
4227         * text.C: adjust several funcs.
4228
4229 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * text.C (selectNextWordToSpellcheck): don't accidentally
4232         skip insets
4233
4234 2003-04-10  John Levon  <levon@movementarian.org>
4235
4236         * ToolbarBackend.C (getIcon): special handling for
4237         LFUN_MATH_DELIM
4238
4239 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * text2.C (cursorRight): a getChar assert fixed
4242
4243 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * text2.C (getFont): change to take a ParagraphList::iterator
4246         instead of Paragraph*
4247         Adjust several functions.
4248
4249         * text.C (transformChar): change to take a ParagraphList::iterator
4250         instead of Paragraph*
4251         (singleWidth): ditto
4252         Adjust several functions.
4253
4254         * rowpainter.C: adjust several functions
4255         * rowpainter.h:store a ParagraphList::iterator and not a
4256         Paragraph&.
4257
4258
4259 2003-04-09  John Levon  <levon@movementarian.org>
4260
4261         * lyxfunc.C:
4262         * lfuns.h:
4263         * LyXAction.h:
4264         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4265         and the "help" bits as well
4266
4267 2003-04-09  John Levon  <levon@movementarian.org>
4268
4269         * ToolbarBackend.h:
4270         * ToolbarBackend.C: allow multiple toolbars
4271
4272 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * undo_funcs.C (setCursorParUndo): adjust
4275
4276         * text_funcs.C (transposeChars): adjust
4277
4278         * text3.C (gotoNextInset): adjust
4279         (dispatch): adjust
4280
4281         * text2.C (setLayout): adjust
4282         (changeDepth): adjust
4283         (setFont): adjust
4284         (redoParagraphs): adjust
4285         (selectionAsString): adjust
4286         (setParagraph): adjust
4287         (insertInset): adjust
4288         (cutSelection): adjust
4289         (copySelection): adjust
4290         (pasteSelection): adjust
4291         (insertStringAsLines): adjust
4292         (updateInset): adjust
4293         (setCursor): change to take a ParagraphList::iterator parameter
4294         (setCursorIntern): change to take a ParagraphList::iterator parameter
4295         (setCurrentFont): adjust
4296         (cursorLeft): adjust
4297         (cursorRight): adjust
4298         (deleteEmptyParagraphMechanism): adjust
4299
4300         * text.C (breakParagraph): adjust
4301         (insertChar): adjust
4302         (acceptChange): adjust
4303         (rejectChange): adjust
4304         (selectNextWordToSpellcheck): adjust
4305         (changeCase): adjust
4306         (Delete): adjust
4307         (backspace): adjust
4308
4309         * lyxfind.C (SearchForward): adjust
4310         (SearchBackward): adjust
4311         (nextChange): adjust
4312
4313         * lyxcursor.C (par): adjust
4314
4315         * lyxcursor.h: store a ParagraphList::iterator instead of a
4316         Paragraph*
4317
4318         * lyx_cb.C (getPossibleLabel): adjust
4319
4320         * bufferview_funcs.C (toggleAndShow): adjust
4321
4322         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4323         (dispatch): adjust
4324
4325         * BufferView.C (removeAutoInsets): adjust
4326         (lockedInsetStoreUndo): adjust
4327
4328 2003-04-09  John Levon  <levon@movementarian.org>
4329
4330         * ToolbarBackend.C: try icon without argument
4331         if with argument fails
4332
4333 2003-04-08  John Levon  <levon@movementarian.org>
4334
4335         * ToolbarBackend.h:
4336         * ToolbarBackend.C: add getIcon(), handle tooltip,
4337         and change from "Icon" to "Item".
4338
4339 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4340
4341         * BufferView.C (lockInset): another bad getchar crunched
4342
4343 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4346         again)
4347
4348 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4349
4350         * lyxfind.C (searchForward, searchBackwards): bug 782
4351
4352 2003-04-07  John Levon  <levon@movementarian.org>
4353
4354         * paragraph.C: remove dead comment
4355
4356         * text.C: remove troublesome depth-fiddling code
4357         in leftMargin() and rightMargin() (bug 1017)
4358
4359         * text.C: fix breaking of rows in nested lists
4360         (bug 1004)
4361
4362         * text2.C (updateCounters): fix up depth values
4363         (bug 1013)
4364
4365 2003-04-07  John Levon  <levon@movementarian.org>
4366
4367         * BufferView_pimpl.C: clear message when doc finishes resizing,
4368         and after a mouse event
4369
4370         * lyxfunc.C: clear message after exiting inset
4371
4372 2003-04-07  John Levon  <levon@movementarian.org>
4373
4374         * bufferview_funcs.C: show math status not outside
4375         status in the statusbar
4376
4377 2003-04-07  John Levon  <levon@movementarian.org>
4378
4379         * lyxfunc.C: note status changed after a depth change
4380
4381 2003-04-04  Angus Leeming  <leeming@lyx.org>
4382
4383         * LaTeX.h: move AuxInfo operator==, != out of line.
4384         Remove LaTeX virtual destructor; nothing derives from it.
4385         Move operator()() out of public area and rename it startscript().
4386         Change protected for private.
4387
4388 2003-04-04  Angus Leeming  <leeming@lyx.org>
4389
4390         * lyxfunc.C:
4391         * text2.C: remove unneeded #includes.
4392
4393 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4394
4395         * text2.C (dEPM): fix the heigth of the next row
4396
4397 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4398
4399         * text.C: squashed an invalid getChar requester + some ws changes
4400
4401 2003-04-03  John Levon  <levon@movementarian.org>
4402
4403         * bufferview_funcs.h:
4404         * bufferview_funcs.C:
4405         * lyxfunc.C:
4406         * lyxtext.h:
4407         * text2.C: make getStatus work for the env depth lfuns
4408
4409 2003-04-03  John Levon  <levon@movementarian.org>
4410
4411         * bufferview_funcs.h:
4412         * bufferview_funcs.C:
4413         * lyxfunc.C:
4414         * lyxtext.h:
4415         * text2.C: parlistize decDepth(), by merging it with incDepth()
4416
4417 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4418
4419         * lyxrow.h: store a ParagraphList::iterator instead of a
4420         Paragraph* and adjust other class functions to suit.
4421
4422         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4423         above.
4424
4425 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4426
4427         * text2.C (setCursor): do not anchor to cursor row for the time being
4428
4429 2003-04-02  John Levon  <levon@movementarian.org>
4430
4431         * LyXAction.C:
4432         * lfuns.h:
4433         * lyx_main.C:
4434         * lyxtext.h:
4435         * text.C:
4436         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4437
4438 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * paragraph.h: make ParagraphList and ParagraphList::iterator
4441         friends of Paragraph.
4442
4443         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4444
4445         * ParagraphList.C: Use the private next_ and previous_ from
4446         Paragraph.
4447
4448 2003-04-01  John Levon  <levon@movementarian.org>
4449
4450         * ToolbarBackend.h:
4451         * ToolbarBackend.C:
4452         * Makefile.am: rename, remove defaults gunk
4453
4454         * MenuBackend.h:
4455         * MenuBackend.C: remove defaults gunk
4456
4457         * Languages.h:
4458         * Languages.C: remove defaults gunk
4459
4460         * lyx_main.h:
4461         * lyx_main.C: error out if files couldn't be found.
4462
4463 2003-04-02  John Levon  <levon@movementarian.org>
4464
4465         * text2.C: make incDepth() use parlist
4466
4467 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * undo_funcs.C (firstUndoParagraph): adjust
4470
4471         * text3.C (gotoInset): adjust
4472         (dispatch): adjust, and rewrite loop.
4473
4474         * text2.C (init): adjust, and rewrite loop.
4475         (redoParagraphs): adjust
4476         (updateInset): adjust, and rewrite loop.
4477         (deleteEmptyParagraphMechanism): adjust
4478
4479         * tabular.C (LyXTabular): adjust
4480         (SetMultiColumn): adjust
4481         (TeXRow): adjust
4482
4483         * lyxtext.[Ch] (ownerParagraph): delete function
4484         (ownerParagraphs): new function returns a ParagraphList.
4485
4486         * BufferView.C (removeAutoInsets): adjust
4487         (insertErrors): adjust
4488         (setCursorFromRow): adjust
4489
4490 2003-04-01  Angus Leeming  <leeming@lyx.org>
4491
4492         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4493         in the frontends.
4494
4495 2003-04-02  John Levon  <levon@movementarian.org>
4496
4497         * lyxtext.h:
4498         * text.C:
4499         * Makefile.am:
4500         * text_funcs.h:
4501         * text_funcs.C: make transposeChars a free function
4502
4503         * lyxrow_funcs.C: remove wrong comment
4504
4505 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * lyxtext.h: adjust
4508         * rowpainter.C: adjust
4509         * text.C: adjust
4510         * text2.C: adjust
4511         * text3.C: adjust
4512
4513         * lyxrow_funcs. [Ch]: new files
4514
4515         * lyxrow.[Ch]: remove next and previous pointers
4516         (next,previous): remove accessor functions
4517         (isParEnd): move to lyxrow_funcs
4518         (lastPos): move to lyxrow_funcs
4519         (nextRowIsAllInset): move to lyxrow_funcs
4520         (lastPrintablePos): move to lyxrow_funcs
4521         (numberOfSeparators): move to lyxrow_funcs
4522         (numberOfHfills): move to lyxrow_funcs
4523         (numberOfLabelHfills): move to lyxrow_funcs
4524         (hfillExpansion): move to lyxrow_funcs
4525
4526         * lyxfunc.C: adjust
4527
4528         * bufferview_funcs.C (toggleAndShow): adjust
4529
4530         * RowList.h: Remove class RowList from file leave just a
4531         std::list<Row>.
4532
4533         * RowList.C: delete file
4534
4535         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4536         and lyxrow_funcs.h
4537
4538 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * text3.C (cursorPrevious): adjust
4541         (cursorNext): adjust
4542         (dispatch): adjust
4543
4544         * text2.C (redoHeightOfParagraph): adjust
4545         (redoDrawingOfParagraph): adjust
4546         (setCursor): adjust
4547
4548         * text.C (breakParagraph): adjust
4549         (insertChar): adjust
4550         (backspace): adjust
4551
4552         * rowpainter.C (RowPainter): adjust
4553         (leftMargin): simplify and adjust
4554         (most rowpainter functions): adjust.
4555
4556         * rowpainter.h: store the row as RowList::iterator not as Row*
4557
4558         * lyxcursor.C (row): taka RowList::iterator as arg
4559         (irow): ditto
4560
4561         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4562         of Row*.
4563
4564 2003-04-01  Angus Leeming  <leeming@lyx.org>
4565
4566         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4567         stuff like bool Bool.
4568
4569 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4570
4571         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4572         rewrite a loop
4573
4574 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4577         RowList::iterator.
4578
4579         * lyxtext.h (rows): drop one version and leve a const variant that
4580         returns a RowList::iterator.
4581
4582 2003-03-31  Angus Leeming  <leeming@lyx.org>
4583
4584         * text.C (fill): ensure that the signature is the same as that in the
4585         header file.
4586
4587 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * text2.C (redoParagraphs): adjust
4590         (updateCounters): adjust
4591         (checkParagraph): adjust
4592         (getColumnNearX): adjust and reformat a bit.
4593
4594         * text.C (top_y): adjust
4595         (workWidth): adjust
4596         (leftMargin): adjust
4597         (prepareToPrint): adjust
4598         (getRow): adjust
4599         (getRowNearY): adjust
4600
4601         * lyxtext.h: make rowlist_ mutable.
4602
4603         * RowList.h: add const_iterator
4604         * RowList.C: adjust for RowList::const_iterator.
4605
4606         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4607         adjust.
4608
4609 2003-03-31  John Levon  <levon@movementarian.org>
4610
4611         * lyxrc.h:
4612         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4613
4614         * lyx_main.C: set default fonts from using lyx_gui funcs
4615
4616         * exporter.C: pdf_mode moved from lyxrc
4617
4618         * lyx_cb.C:
4619         * lyxfunc.C: changes from above
4620
4621 2003-03-31  John Levon  <levon@movementarian.org>
4622
4623         * lyx_main.C: fix to the last fix
4624
4625 2003-03-31  John Levon  <levon@movementarian.org>
4626
4627         * bufferlist.C: "Load original" -> "Load Original"
4628
4629         * converter.C:
4630         * exporter.C:
4631         * importer.C:
4632         * lyx_main.C:
4633         * format.C: more Alert cleanups
4634
4635 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * text2.C (removeParagraph): make it take a RowList::iterator as
4638         arg, adjust.
4639         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4640         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4641
4642         * text.C (anchor_row): make it take a RowList::iterator as arg,
4643         adjust.
4644         (computeBidiTables): make it take a const reference to Row instead
4645         of Row pointer, adjust.
4646         (leftMargin): make it take a RowList::iterator as arg, adjust.
4647         (rowBreakPoint): adjust
4648         (breakAgainOneRow): make it take a RowList::iterator as arg,
4649         adjust.
4650         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4651
4652         * bufferview_funcs.C (toggleAndShow): adjust
4653
4654 2003-03-30  John Levon  <levon@movementarian.org>
4655
4656         * Makefile.am:
4657         * BoostFormat.h:
4658         * boost-inst.C: moved to support
4659
4660         * several files: changes as a result
4661
4662 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * text2.C (LyXText): adjust.
4665         (init): adjust
4666         (removeRow): make it take a RowList::iterator as arg, adjust.
4667         (fullRebreak): adjust
4668         (deleteEmptyParagraphMechanism): adjust
4669         (clearPaint): adjust
4670         (postPaint): adjust
4671
4672         * text.C (top_y): adjust
4673         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4674         (breakAgain): make it take a RowList::iterator as arg, adjust.
4675         (breakParagraph): adjust
4676         (insertChar): adjust
4677         (backspace): adjust
4678
4679         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4680         need_break_row, and refresh_row.
4681
4682         * text3.C (dispatch): adjust
4683
4684         * text2.C (checkParagraph): adjust
4685         (setCursor): adjust
4686         (setCursorFromCoordinates): adjust
4687
4688         * text.C (top_y): adjust
4689         (workWidth): adjust
4690         (getRow): make it return a RowList::iterator, adjust
4691         (getRowNearY): make it return a RowList::iterator, adjust
4692
4693         * text2.C (init): adjust
4694         (insertRow): remove function
4695         (insertParagraph): adjust
4696         (redoParagraphs): adjust
4697         (fullRebreak): adjust
4698         (updateCounters): adjust
4699
4700         * text.C (top_y): rewrite to use RowList iterators.
4701         (top_y): adjust
4702         (setHeightOfRow): rewrite to sue RowList iterators.
4703         (appendParagraph): adjust
4704         (breakAgain): adjust
4705         (breakAgainOneRow): adjust
4706         (breakParagraph): adjust
4707         (getRow): adjust
4708         (getRowNearY): adjust, and remove commented code.
4709
4710         * lyxtext.h (firstRow): delete function
4711         (lastRow): delete function
4712         (rows): new function (const and non-const versions.)
4713         (insertRow): delete function
4714
4715         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4716
4717 2003-03-29  John Levon  <levon@movementarian.org>
4718
4719         * BufferView_pimpl.C: always update scrollbar top
4720         because pasting text when we're anchored could mean we
4721         miss an update altogether
4722
4723 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * text2.C (init): use rowlist_.end() and not 0.
4726         (insertRow): change to take a RowList::iterator as arg, adjust
4727         for this.
4728         (insertParagraph): change to take a RowList::iterator as arg,
4729         adjust for this.
4730         (redoParagraphs): remove some debug msgs.
4731
4732         * text.C (appendParagraph): change to take a RowList::iterator
4733         arg, adjust for this.
4734         (breakAgain): add an assert
4735         (breakAgainOneRow): ditto
4736
4737 2003-03-29  John Levon  <levon@movementarian.org>
4738
4739         * text2.C: do not clear selection after inc/decDepth
4740         (bug 550)
4741
4742 2003-03-29  John Levon  <levon@movementarian.org>
4743
4744         * BufferView.C:
4745         * buffer.C: fix broken strerrors according to Lars
4746
4747 2003-03-29  John Levon  <levon@movementarian.org>
4748
4749         * converters.C: more Alert cleanups
4750
4751 2003-03-29  John Levon  <levon@movementarian.org>
4752
4753         * bufferview_funcs.C: remove pointless Alert
4754
4755         * buffer.C: fix confusing error message when
4756         a template is chmoded 000
4757
4758 2003-03-29  John Levon  <levon@movementarian.org>
4759
4760         * BufferView.C:
4761         * BufferView.h:
4762         * BufferView_pimpl.C: Alert fixes
4763
4764         * Makefile.am:
4765         * tabular.C:
4766         * tabular-old.C: remove unused table compat reading
4767
4768 2003-03-29  John Levon  <levon@movementarian.org>
4769
4770         * BufferView.C:
4771         * buffer.C:
4772         * lyx_cb.h:
4773         * lyx_cb.C: more Alert cleanups
4774
4775         * lyxfunc.C: don't allow chktex if not latex document
4776
4777 2003-03-29  John Levon  <levon@movementarian.org>
4778
4779         * lyx_cb.C:
4780         * BufferView.C:
4781         * buffer.C: warnings pushed down from support/,
4782         kill err_alert
4783
4784 2003-03-29  John Levon  <levon@movementarian.org>
4785
4786         * lyxfunc.C: safety check for C-r (revert)
4787
4788 2003-03-29  John Levon  <levon@movementarian.org>
4789
4790         * bufferlist.h:
4791         * bufferlist.C: several UI fixes using Alert::prompt.
4792         Fix the pointless looping quit code. Fix stupid revert
4793         behaviour (bug 938)
4794
4795         * lyxvc.h:
4796         * lyxvc.C:
4797         * lyx_cb.C: use Alert::prompt
4798
4799         * lyx_main.C: remove a silly question
4800
4801         * lyxfunc.C: remove a couple of silly questions,
4802         use Alert::prompt
4803
4804 2003-03-28  John Levon  <levon@movementarian.org>
4805
4806         * text2.C: fix bug 974 (End on empty par)
4807
4808 2003-03-28  John Levon  <levon@movementarian.org>
4809
4810         * BufferView_pimpl.C:
4811         * LyXAction.C:
4812         * lfuns.h: remove do-nothing math greek lfuns
4813
4814 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * lyxgluelength.h (isValidGlueLength): add default arg on
4817         parameter 2. Remove default arg from friend in class.
4818
4819         * lyxlength.h (isValidLength): add default arg on parameter 2.
4820         Remove default arg from friend in class.
4821
4822         * text2.C (LyXText): adjust, initialize refresh_row.
4823         (init): adjust
4824         (removeRow): adjust
4825         (insertRow): adjust
4826         (insertParagraph): adjst
4827         (redoParagraphs): adjust
4828         (fullRebreak): adjust
4829         (updateCounters): adjust
4830         (deleteEmptyParagraphMechanism): first attempt at fixing a
4831         crashing bug.
4832
4833         * text.C (top_y): adjust
4834         (setHeightOfRow): adjust
4835         (getRow): adjust
4836         (getRowNearY): adjust
4837
4838         * lyxtext.h: include RowList.h
4839         (~LyXText): not needed anymore, deleted.
4840         (firstRow): modify for RowList
4841         (lastRow): new function
4842         Delete firstrow and lastrow class variables, add a Rowlist
4843         rowlist_ class variable.
4844
4845         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4846         paragraph is empty.
4847
4848         * RowList.C (insert): fix case where it == begin().
4849
4850 2003-03-26  Angus Leeming  <leeming@lyx.org>
4851
4852         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4853         the thesaurus dialog.
4854
4855 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4858
4859         * RowList.[Ch]: new files
4860
4861         * ParagraphList.C (erase): handle the case where it == begin
4862         correctly.
4863
4864 2003-03-25  John Levon  <levon@movementarian.org>
4865
4866         * Makefile.am:
4867         * aspell_local.h:
4868         * aspell.C: add new aspell support
4869
4870         * lyxrc.h:
4871         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4872         have it accessible.
4873
4874 2003-03-25  Angus Leeming  <leeming@lyx.org>
4875
4876         * lfuns.h:
4877         * LyXAction.C (init): new LFUN_INSET_INSERT.
4878
4879         * BufferView_pimpl.C (dispatch): split out part of the
4880         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4881
4882         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4883         LFUN_INSET_APPLY.
4884
4885 2003-03-25  Angus Leeming  <leeming@lyx.org>
4886
4887         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4888
4889 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * text2.C:
4892         * text3.C: remove useless row->height(0)
4893
4894 2003-03-25  John Levon  <levon@movementarian.org>
4895
4896         * lyxtext.h:
4897         * text2.C:
4898         * text3.C: rename the refreshing stuff to better names
4899
4900 2003-03-24  John Levon  <levon@movementarian.org>
4901
4902         * BufferView_pimpl.h:
4903         * BufferView_pimpl.C: update layout choice on a mouse
4904         press/release
4905
4906 2003-03-23  John Levon  <levon@movementarian.org>
4907
4908         * Makefile.am: fix commandtags.h reference
4909
4910 2003-03-22  John Levon  <levon@movementarian.org>
4911
4912         * BufferView_pimpl.C:
4913         * lyxtext.h:
4914         * rowpainter.C:
4915         * rowpainter.h:
4916         * text.C:
4917         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4918
4919 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4920
4921         * lyxtext.h:
4922         * text.C: take the rtl methods out of line
4923
4924 2003-03-21 André Pönitz <poenitz@gmx.net>
4925
4926         * metricsinfo.[Ch]: new files containing structures to be passed around
4927         during the two-phase-drawing...
4928
4929 2003-03-21 André Pönitz <poenitz@gmx.net>
4930
4931         * lyxtextclass.C: read 'environment' tag.
4932
4933 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4934
4935         * text2.C (removeRow): fix bug 964
4936
4937 2003-03-20  John Levon  <levon@movementarian.org>
4938
4939         * rowpainter.C:
4940         * text.C:
4941         * text2.C: paint cleanups. Inset::update() dropped font
4942         parameter
4943
4944 2003-03-19  John Levon  <levon@movementarian.org>
4945
4946         * lyxfunc.C: only fitcursor/markDirty if available()
4947
4948 2003-03-19  John Levon  <levon@movementarian.org>
4949
4950         * commandtags.h: rename to ...
4951
4952         * lfuns.h: ... this, and renumber / cleanup
4953
4954 2003-03-19  John Levon  <levon@movementarian.org>
4955
4956         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4957         fit the cursor after an lfun
4958
4959         * BufferView.h:
4960         * BufferView.C:
4961         * BufferView_pimpl.h:
4962         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4963
4964         * LyXAction.C: layout-character should have ReadOnly
4965
4966         * ParagraphParameters.C:
4967         * buffer.C:
4968         * bufferview_funcs.C:
4969         * lyx_cb.C:
4970         * lyxfind.C:
4971         * lyxtext.h:
4972         * text.C:
4973         * text2.C:
4974         * text3.C:
4975         * undo_funcs.C: changes from above
4976
4977 2003-03-18  John Levon  <levon@movementarian.org>
4978
4979         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4980         remove it from update()
4981
4982         * lyxfunc.C: update layout choice after an lfun
4983
4984         * text3.C: remove extra updateLayoutChoice()s
4985
4986 2003-03-18  John Levon  <levon@movementarian.org>
4987
4988         * text.C: top_y change means full repaint, fix
4989         a drawing bug with cursor movement
4990
4991 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4992
4993         * lyxtext.h:
4994         * text.C:
4995         * text2.C: anchor row on setCursor
4996
4997 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * lyxtext.h: remove almost all mutable keywords
5000         * text.C:
5001         * text2.C:
5002         * text3.C: remove const keywords accordingly
5003
5004 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5007         anon namespace
5008         (TeXEnvironment): ditto
5009         (TeXOnePar): ditto
5010
5011 2003-03-17  John Levon  <levon@movementarian.org>
5012
5013         * text.C (rowBreakPoint): remove attempt to fix displayed
5014         math insets inside a manual label
5015
5016 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * lyxtext.h: remove BufferView* as first arg from almost all class
5019         functions.
5020         * other files: adjust.
5021
5022 2003-03-17  John Levon  <levon@movementarian.org>
5023
5024         * lyxtext.h:
5025         * undo_funcs.C:
5026         * text2.C: more paint cleanups
5027
5028         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5029
5030         * rowpainter.h:
5031         * rowpainter.C: remove "smart" background painting code
5032
5033 2003-03-16  John Levon  <levon@movementarian.org>
5034
5035         * lyxtext.h:
5036         * text.C:
5037         * text2.C:
5038         * text3.C: add helper functions for setting refresh_row/y
5039
5040 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5041
5042         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5043         newline inset which *can* get inserted in the pass_thru layouts.
5044         This is primarily for literate documents.
5045
5046 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5047
5048         * buffer.C: increment LYX_FORMAT to 223
5049
5050 2003-03-14 André Pönitz <poenitz@gmx.net>
5051
5052         * textclass.h: prepare for environment handling, ws changes
5053         * lyxlayout.C: read latexheader and latexfooter tags
5054
5055 2003-03-14  John Levon  <levon@movementarian.org>
5056
5057         * text2.C: rewrite ::status() a bit
5058
5059 2003-03-13  John Levon  <levon@movementarian.org>
5060
5061         * lyxtext.h: add some docs
5062
5063 2003-03-13  John Levon  <levon@movementarian.org>
5064
5065         * lyxtext.h:
5066         * text.C:
5067         * text2.C:
5068         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5069
5070 2003-03-13  John Levon  <levon@movementarian.org>
5071
5072         * text3.C: fix appendix redrawing
5073
5074 2003-03-13  John Levon  <levon@movementarian.org>
5075
5076         * text.C (setHeightOfRow):
5077         * rowpainter.h:
5078         * rowpainter.C: make appendix mark have the text
5079           "Appendix" so the user knows what it is
5080
5081         * LColor.h:
5082         * LColor.C: s/appendixline/appendix/ from above
5083
5084 2003-03-13  John Levon  <levon@movementarian.org>
5085
5086         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5087
5088         * text.C: fix a getChar(pos) bug properly
5089
5090 2003-03-13  Angus Leeming  <leeming@lyx.org>
5091
5092         * commandtags.h:
5093         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5094         Probably only temporary. Let's see how things pan out.
5095
5096         * BufferView.C (unlockInset):
5097         * BufferView_pimpl.C (fitCursor):
5098         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5099
5100         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5101         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5102
5103         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5104         new functions that convert ParagraphParameters to and from a string.
5105
5106         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5107         BufferView::Pimpl's dispatch.
5108         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5109
5110 2003-03-13 André Pönitz <poenitz@gmx.net>
5111
5112         * lyxfunc.C:
5113         * text3.C:
5114         * factory.C: make it aware of InsetEnv
5115
5116 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * text2.C (setCursor): never ask for one past last
5119         (setCursor): add some debugging messages.
5120
5121         * text.C (singleWidth): never ask for one past last
5122         (singleWidth): ditto
5123         (leftMargin): ditto
5124         (rightMargin): ditto
5125         (rowBreakPoint): ditto
5126         (setHeightOfRow): ditto
5127         (prepareToPrint): ditto
5128
5129         * rowpainter.C (paintBackground): never ask for one past last
5130         (paintText): never ask for one past last
5131
5132         * paragraph_pimpl.C (getChar): make the assert stricter, never
5133         allow the one past last pos to be taken
5134
5135         * paragraph.C (getChar): ws changes only
5136
5137         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5138         (numberOfSeparators): ditto
5139         (numberOfHfills): ditto
5140
5141 2003-03-12  John Levon  <levon@movementarian.org>
5142
5143         * author.h:
5144         * author.C:
5145         * bufferparams.h:
5146         * bufferparams.C:
5147         * paragraph_funcs.C: fix per-buffer authorlists
5148
5149 2003-03-12  John Levon  <levon@movementarian.org>
5150
5151         * text.C: fix newline in right address
5152
5153 2003-03-12  Angus Leeming  <leeming@lyx.org>
5154
5155         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5156         duplicate those in LyXFunc::dispatch.
5157
5158         * commandtags.h:
5159         * LyXAction.C:
5160         * ToolbarDefaults.C:
5161         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5162         Add LFUN_FONTFREE_UPDATE.
5163
5164         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5165         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5166
5167         * bufferview_func.[Ch]: several new functions to facilliate
5168         transfer of data to and from the character dialog.
5169
5170 2003-03-12  John Levon  <levon@movementarian.org>
5171
5172         * buffer.C:
5173         * paragraph.h:
5174         * paragraph.C:
5175         * paragraph_funcs.C:
5176         * paragraph_pimpl.C:
5177         * sgml.C:
5178         * tabular.C:
5179         * text.C:
5180         * text3.C: remove META_NEWLINE in favour of an inset
5181
5182         * rowpainter.h:
5183         * rowpainter.C: remove paintNewline (done by inset)
5184
5185 2003-03-12  John Levon  <levon@movementarian.org>
5186
5187         * paragraph_pimpl.C: complain about bad getChar()s
5188         for a while at least
5189
5190 2003-03-12  John Levon  <levon@movementarian.org>
5191
5192         * buffer.h:
5193         * buffer.C: move paragraph read into a separate function,
5194         a little renaming to reflect that.
5195
5196         * bufferparams.h:
5197         * bufferparams.C: remove the author_ids map, not necessary now
5198
5199         * factory.h:
5200         * factory.C: moved Buffer::readInset to here
5201
5202         * paragraph_funcs.h:
5203         * paragraph_funcs.C: readParagraph free function moved from
5204         buffer.C
5205
5206         * tabular.C: name change
5207
5208 2003-03-12  John Levon  <levon@movementarian.org>
5209
5210         * buffer.C:
5211         * ParagraphParameters.C: move par params input to
5212         a read() method
5213
5214         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5215         behave like a normal read from the stream wrt reading
5216         a line vs. a \\token
5217
5218 2003-03-12  John Levon  <levon@movementarian.org>
5219
5220         * paragraph.C:
5221         * ParagraphParameters.h:
5222         * ParagraphParameters.C: move output code to a
5223         ::write() method
5224
5225 2003-03-12  John Levon  <levon@movementarian.org>
5226
5227         * BufferView.C (insertLyXFile):
5228         * buffer.h:
5229         * buffer.C:
5230         * tabular.C: use a parlist iterator for creating the
5231           document.
5232
5233 2003-03-12  John Levon  <levon@movementarian.org>
5234
5235         * buffer.C: make current_change static local not
5236           static file-scope
5237
5238 2003-03-12  John Levon  <levon@movementarian.org>
5239
5240         * buffer.C: fix insertStringAsLines for change tracking
5241
5242 2003-03-12  John Levon  <levon@movementarian.org>
5243
5244         * BufferView.C:
5245         * tabular.C:
5246         * buffer.h:
5247         * buffer.C:
5248         * bufferparams.h:
5249         * bufferparams.C: move author list into params. Rename some
5250           functions. Move the header reading into a separate token
5251           loop. Move the header token reading into BufferParams.
5252
5253 2003-03-12  John Levon  <levon@movementarian.org>
5254
5255         * changes.C: put debug inside lyxerr.debugging() checks
5256
5257 2003-03-11 André Pönitz <poenitz@gmx.net>
5258
5259         * factory.C: make it aware of InsetHFill
5260
5261 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5262
5263         * buffer.C (latexParagraphs): move function from here...
5264         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5265         args.
5266
5267 2003-03-10  Angus Leeming  <leeming@lyx.org>
5268
5269         * LyXAction.C (init): fix bug in poplating array with multiple entries
5270         with the same LFUN (spotted by JMarc).
5271
5272 2003-03-10  John Levon  <levon@movementarian.org>
5273
5274         * text.C:
5275         * text2.C: move getColumnNearX() near its
5276         only call site
5277
5278 2003-03-10  John Levon  <levon@movementarian.org>
5279
5280         * text.C: fix break before a minipage
5281
5282 2003-03-10  John Levon  <levon@movementarian.org>
5283
5284         * text.C: fix the last commit
5285
5286 2003-03-09  John Levon  <levon@movementarian.org>
5287
5288         * lyxtext.h:
5289         * text.C:
5290         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5291         bug 365 (don't break before insets unless needed). Don't
5292         return a value > last under any circumstances.
5293
5294 2003-03-09  Angus Leeming  <leeming@lyx.org>
5295
5296         * BufferView_pimpl.C (trackChanges, dispatch): call
5297         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5298
5299 2003-03-09  Angus Leeming  <leeming@lyx.org>
5300
5301         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5302         than Dialogs::showAboutlyx().
5303
5304 2003-03-09  Angus Leeming  <leeming@lyx.org>
5305
5306         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5307         than Dialogs::showTabularCreate().
5308
5309 2003-03-09  John Levon  <levon@movementarian.org>
5310
5311         * lyxtext.h:
5312         * text.C:
5313         * text2.C: 3rd arg to nextBreakPoint was always the same.
5314           Use references.
5315
5316 2003-03-08  John Levon  <levon@movementarian.org>
5317
5318         * lyxrow.C:
5319         * paragraph.C:
5320         * paragraph.h:
5321         * rowpainter.C:
5322         * text.C:
5323         * text2.C: Remove the "main" bit from the "main body"
5324           notion.
5325
5326 2003-03-08  John Levon  <levon@movementarian.org>
5327
5328         * text.C (leftMargin): The left margin of an empty
5329         manual label paragraph should not include the label width
5330         string length.
5331
5332         * text.C (prepareToPrint): don't attempt to measure hfills
5333         for empty manual label paragraphs - the answer should be 0
5334
5335 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * CutAndPaste.C: remove commented code and reindent.
5338
5339 2003-03-08  John Levon  <levon@movementarian.org>
5340
5341         * lyxfunc.h:
5342         * lyxfunc.C: move reloadBuffer()
5343
5344         * BufferView.h:
5345         * BufferView.C: to here
5346
5347         * lyxvc.C: add comment
5348
5349         * vc-backend.h:
5350         * vc-backend.C: call bv->reload() to avoid
5351           getStatus() check on MENURELOAD
5352
5353 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5354
5355         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5356         to an old format .dep file.
5357
5358 2003-03-07  Angus Leeming  <leeming@lyx.org>
5359
5360         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5361         when the LFUN_MOUSE_RELEASE should have been handled by
5362         inset->localDispatch.
5363
5364 2003-03-07  Angus Leeming  <leeming@lyx.org>
5365
5366         * BufferView_pimpl.C (dispatch):
5367         * LyXAction.C (init):
5368         * ToolbarDefaults.C (init):
5369         * commandtags.h:
5370         * lyxfunc.C (getStatus):
5371         remove LFUN_INSET_GRAPHICS.
5372
5373         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5374
5375 2003-03-07  Angus Leeming  <leeming@lyx.org>
5376
5377         * commandtags.h:
5378         * LyXAction.C (init):
5379         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5380
5381         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5382
5383         * commandtags.h:
5384         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5385
5386         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5387         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5388
5389 2003-03-07  Angus Leeming  <leeming@lyx.org>
5390
5391         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5392         remove "ert".
5393
5394 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * ParagraphList.C (front): new function
5397         (back): implement
5398
5399 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5402         and top_row_offset_. removed var first_y.
5403         * text.C (top_y):
5404         * text2.C (LyXText, removeRow):
5405         * text3.C:
5406         * BufferView_pimpl.C:
5407         use these methods instead of using first_y
5408
5409 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * text2.C (pasteSelection): adjust for checkPastePossible
5412
5413         * CutAndPaste.C: remove Paragraph * buf and replace with
5414         ParagraphList paragraphs.
5415         (DeleteBuffer): delete
5416         (cutSelection): change the tc type to textclass_type
5417         (copySelection): change the tc type to textclass_type
5418         (copySelection): adjust for ParagraphList
5419         (pasteSelection): change the tc type to textclass_type
5420         (pasteSelection): adjust for Paragraphlist
5421         (nrOfParagraphs): simplify for ParagraphList
5422         (checkPastePossible): simplify for ParagraphList
5423         (checkPastePossible): remove unused arg
5424
5425         * ParagraphList.C (insert): handle the case where there are no
5426         paragraphs yet.
5427
5428         * CutAndPaste.h: make CutAndPaste a namespace.
5429
5430         * text3.C (dispatch): adjust
5431
5432         * text.C (breakParagraph): add a ParagraphList as arg
5433
5434         * paragraph_funcs.C (breakParagraph): change to take a
5435         BufferParams and a ParagraphList as args.
5436         (breakParagraphConservative): ditto
5437         (mergeParagraph): ditto
5438         (TeXDeeper): add a ParagraphList arg
5439         (TeXEnvironment): ditto
5440         (TeXOnePar): ditto
5441
5442         * buffer.C (readLyXformat2): adjust
5443         (insertStringAsLines): adjust
5444         (latexParagraphs): adjust
5445
5446         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5447         (cutSelection): adjust
5448         (pasteSelection): adjust
5449
5450         * BufferView_pimpl.C (insertInset): adjust
5451
5452 2003-03-05  Angus Leeming  <leeming@lyx.org>
5453
5454         * commandtags.h:
5455         * LyXAction.C (init):
5456         * BufferView_pimpl.C (dispatch):
5457         * lyxfunc.C (getStatus):
5458         remove LFUN_CHILD_INSERT.
5459
5460         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5461
5462 2003-03-05  Angus Leeming  <leeming@lyx.org>
5463
5464         * commandtags.h:
5465         * LyXAction.C (init):
5466         * src/factory.C (createInset):
5467         * lyxfunc.C (getStatus):
5468         * text3.C (dispatch):
5469         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5470
5471         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5472
5473 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * ParagraphList.C (insert): handle insert right before end()
5476         (erase): fix cases where it can be first or last paragraph.
5477
5478 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5481         Paragraph::next and Paragraph::previous
5482         (TeXOnePar): ditto
5483
5484         * text.C (breakParagraph): adjust
5485
5486         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5487         BufferParams& as arg.
5488         (breakParagraph): use ParagraphList::insert
5489         (breakParagraphConservative): take a Buffer* instead of a
5490         BufferParams& as arg.
5491         (breakParagraphConservative): use ParagraphList::insert.
5492
5493         * buffer.C (insertStringAsLines): un-const it
5494         (insertStringAsLines): adjust
5495
5496         * ParagraphList.C (insert): new function
5497
5498         * CutAndPaste.C (pasteSelection): adjust
5499
5500         * text.C (backspace): adjust
5501
5502         * tabular.C (SetMultiColumn): adjust
5503
5504         * CutAndPaste.C (cutSelection): adjust
5505         (pasteSelection): adjust
5506
5507         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5508         Buffer const * as arg
5509
5510         * ParagraphList.C (erase): new function
5511         * paragraph_funcs.C (mergeParagraph): use it
5512         (mergeParagraph): make it take a Buffer* instead of a
5513         BufferParams* as arg
5514
5515         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5516         as arg
5517         (breakParagraphConservative): ditto
5518
5519         * paragraph.h: remove the breakParagraph friend
5520
5521         * paragraph.C (eraseIntern): new function
5522         (setChange): new function
5523
5524         * paragraph_funcs.C (mergeParagraph): make it take a
5525         ParagraphList::iterator instead of a Paragraph *, adjust
5526         accordingly.
5527
5528         * paragraph.h: move an #endif so that the change tracking stuff
5529         also works in the NO_NEXT case.
5530
5531 2003-03-04  Angus Leeming  <leeming@lyx.org>
5532
5533         * commandtags.h:
5534         * LyXAction.C: new LFUN_INSET_MODIFY.
5535
5536         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5537         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5538
5539 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * several files: ws changes only
5542
5543         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5544         (TeXEnvironment): ditto
5545         (TeXDeeper): ditto
5546
5547         * buffer.C (makeLaTeXFile): adjust
5548         (latexParagraphs): make it take ParagraphList::iterator as args
5549
5550 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * buffer.C (latexParagraphs): adjust
5553
5554         * paragraph.C (TeXOnePar): move function...
5555         (optArgInset): move function...
5556         (TeXEnvironment): move function...
5557         * paragraph_pimpl.C (TeXDeeper): move function...
5558         * paragraph_funcs.C: ...here
5559
5560         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5561
5562 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * buffer.C (readInset): remove compability code for old Figure and
5565         InsetInfo insets
5566
5567 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * buffer.C: ws changes
5570         (readInset):
5571
5572         * BufferView_pimpl.C: ditto
5573         * author.C: ditto
5574         * buffer.h: ditto
5575         * bufferlist.h: ditto
5576         * changes.h: ditto
5577         * lyxfunc.C: ditto
5578
5579 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5580
5581         * converter.[Ch]: split into itself +
5582         * graph.[Ch]
5583         * format.[Ch]
5584         * Makefile.am: += graph.[Ch] + format.[Ch]
5585         * MenuBackend.C
5586         * buffer.C
5587         * exporter.C
5588         * importer.C
5589         * lyx_main.C
5590         * lyxfunc.C
5591         * lyxrc.C: added #include "format.h"
5592
5593 2003-02-27  Angus Leeming  <leeming@lyx.org>
5594
5595         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5596           a label.
5597
5598         * factory.C (createInset): add "label" to the factory.
5599
5600         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5601           string and do no more.
5602
5603 2003-02-27  Angus Leeming  <leeming@lyx.org>
5604
5605         * commandtags.h:
5606         * LyXAction.C (init):
5607         * factory.C (createInset):
5608         * BufferView_pimpl.C (dispatch):
5609           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5610
5611         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5612
5613         * lyxfunc.C (dispatch):
5614         * text3.C (dispatch): pass name to params2string.
5615
5616 2003-02-26  Angus Leeming  <leeming@lyx.org>
5617
5618         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5619           blocks together.
5620           Rearrange the ~includes. Strip out the unnecessary ones.
5621
5622         * factory.C (createInset): reformat.
5623           create new insets for the various LFUN_XYZ_APPLY lfuns.
5624
5625 2003-02-26  John Levon  <levon@movementarian.org>
5626
5627         * lyxrow.h:
5628         * lyxrow.C: add isParStart,isParEnd helpers
5629
5630         * paragraph.h: make isInserted/DeletedText take refs
5631
5632         * paragraph_funcs.h:
5633         * paragraph_funcs.C: remove #if 0'd code
5634
5635         * lyxtext.h:
5636         * text3.C:
5637         * text2.C:
5638         * text.C: use lyxrow helpers above.
5639           Move draw and paint routines to RowPainter.
5640           Make several methods use refs not pointers.
5641           Make backgroundColor() const.
5642           Add markChangeInDraw(), isInInset().
5643           Merge changeRegionCase into changeCase.
5644           Make workWidth() shouldn't-happen code into an Assert.
5645
5646         * rowpainter.h:
5647         * rowpainter.C: new class for painting a row.
5648
5649         * vspace.h:
5650         * vspace.C: make inPixels take a ref
5651
5652 2003-02-26  Angus Leeming  <leeming@lyx.org>
5653
5654         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5655         LFUN_REF_APPLY.
5656
5657 2003-02-25  John Levon  <levon@movementarian.org>
5658
5659         * ispell.C: give the forked command a more accurate name
5660
5661 2003-02-22  John Levon  <levon@movementarian.org>
5662
5663         * toc.h:
5664         * toc.C: make TocItem store an id not a Paragraph *
5665           (bug #913)
5666
5667 2003-02-21  Angus Leeming  <leeming@lyx.org>
5668
5669         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5670           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5671           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5672           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5673           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5674           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5675
5676         * BufferView_pimpl.C (dispatch):
5677         * LyXAction.C (init):
5678         * factory.C (createInset):
5679         * lyxfunc.C (getStatus, dispatch):
5680         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5681
5682 2003-02-21  Angus Leeming  <leeming@lyx.org>
5683
5684         * BufferView_pimpl.C (MenuInsertLyXFile):
5685         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5686         * lyxfunc.C (menuNew, open, doImport):
5687           no longer pass a LyXView & to fileDlg.
5688
5689 2003-02-21  Angus Leeming  <leeming@lyx.org>
5690
5691         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5692         * LyXAction.C: change, BIBKEY to BIBITEM.
5693         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5694         Change InsetBibKey to InsetBibitem.
5695         Change BIBKEY_CODE to BIBITEM_CODE.
5696         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5697         * factory.C: replace insetbib.h with insetbibitem.h.
5698         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5699         * paragraph.C: replace insetbib.h with insetbibitem.h.
5700         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5701         Change bibkey() to bibitem().
5702         * text.C: remove insetbib.h.
5703         * text2.C: replace insetbib.h with insetbibitem.h.
5704         change bibkey() to bibitem().
5705         * text3.C: remove insetbib.h.
5706         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5707
5708 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5709
5710         * lyxrc.C (output): enclose user email in quotes (in case there are
5711         several words)
5712
5713 2003-02-18  John Levon  <levon@movementarian.org>
5714
5715         * buffer.h: add std::
5716
5717 2003-02-17  John Levon  <levon@movementarian.org>
5718
5719         * SpellBase.h:
5720         * ispell.h:
5721         * ispell.C:
5722         * pspell.h:
5723         * pspell.C: reworking. Especially in ispell, a large
5724           number of clean ups and bug fixes.
5725
5726         * lyxfunc.C: fix revert to behave sensibly
5727
5728 2003-02-17 André Pönitz <poenitz@gmx.net>
5729
5730         * LyXAction.C:
5731         * commandtags.h: new LFUN_INSERT_BIBKEY
5732
5733         * layout.h:
5734         * lyxlayout.C:
5735         * buffer.C:
5736         * factory.C:
5737         * text.C:
5738         * text2.C:
5739         * text3.C:
5740         * paragraph.[Ch]:
5741         * paragraph_func.C: remove special bibkey handling
5742
5743 2003-02-17  John Levon  <levon@movementarian.org>
5744
5745         * text.C (Delete): fix case where delete at the end of
5746           the very first paragraph would not merge the pars
5747
5748 2003-02-17  John Levon  <levon@movementarian.org>
5749
5750         * lyxrow.C: fix lastPrintablePos()
5751
5752 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5753
5754         * bufferparams.C (writeLaTeX): add a std:here
5755
5756         * buffer.C: and remove a using directive there
5757
5758 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5759
5760         * buffer.C (makeLaTeXFile): move the code that generates the
5761           preamble...
5762
5763         * bufferparams.C (writeLaTeX): ... in this new method
5764
5765         * LaTeXFeatures.C (getEncodingSet): make const
5766           (getLanguages): make const
5767
5768         * MenuBackend.C (binding): returns the binding associated to this
5769           action
5770           (add): sets the status of each item by calling getStatus. Adds
5771           some intelligence.
5772           (read): add support for OptSubMenu
5773           (expand): remove extra separator at the end of expanded menu
5774
5775 2003-02-15  John Levon  <levon@movementarian.org>
5776
5777         * BufferView.C:
5778         * BufferView_pimpl.C:
5779         * bufferlist.h:
5780         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5781           inset code that had no actual effect. Remove unneeded status
5782           code.
5783
5784 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5785
5786         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5787           in preamble
5788
5789 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5790
5791         * text.C (drawLengthMarker): also draw an arrow marker for
5792           symbolic lengths (medskip...)
5793
5794 2003-02-14  John Levon  <levon@movementarian.org>
5795
5796         * tabular.h:
5797         * tabular.C: better method names
5798
5799 2003-02-14  John Levon  <levon@movementarian.org>
5800
5801         * BufferView_pimpl.C:
5802         * bufferlist.C:
5803         * buffer.C:
5804         * converter.C:
5805         * lyx_cb.C:
5806         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5807           it's a more accurate name. Remove some pointless uses.
5808
5809 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5810
5811         * text2.C (LyXText): change order of initilizers to shut off
5812           warnings
5813
5814 2003-02-14  John Levon  <levon@movementarian.org>
5815
5816         * buffer.C: use ParIterator for getParFromID()
5817
5818         * paragraph.h:
5819         * paragraph.C:
5820         * paragraph_pimpl.h:
5821         * paragraph_pimpl.C: remove unused getParFromID()
5822
5823 2003-02-14  John Levon  <levon@movementarian.org>
5824
5825         * buffer.C: remove some very old #if 0'd parse code
5826
5827 2003-02-13  John Levon  <levon@movementarian.org>
5828
5829         * text.h:
5830         * text.C:
5831         * text2.C: move hfillExpansion(), numberOfSeparators(),
5832           rowLast(), rowLastPrintable(), numberofHfills(),
5833           numberOfLabelHfills() ...
5834
5835         * lyxrow.h:
5836         * lyxrow.C: ... to member functions here.
5837
5838         * paragraph.h:
5839         * paragraph.C:
5840         * lyxtext.h:
5841         * text.C: remove LyXText::beginningOfMainBody(), and call
5842           p->beginningOfMainBody() directly. Move the check for
5843           LABEL_MANUAL into the latter.
5844
5845         * text.h:
5846         * text.C:
5847         * text2.C:
5848         * vspace.C:
5849         * BufferView.h:
5850         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5851
5852         * text.h:
5853         * text.C:
5854         * text2.C:
5855         * text3.C:
5856         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5857           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5858
5859 2003-02-13  John Levon  <levon@movementarian.org>
5860
5861         * CutAndPaste.C: remove debug
5862
5863 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5864
5865         * paragraph.C (asString): remove two unused variables
5866
5867         * lyxtextclass.C (readTitleType):
5868           (Read):
5869           (LyXTextClass): handle new members titletype_ and titlename_
5870
5871         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5872
5873 2003-02-09  John Levon  <levon@movementarian.org>
5874
5875         * buffer.h:
5876         * buffer.C: replace hand-coded list with a map for the dep clean
5877
5878 2003-02-08  John Levon  <levon@movementarian.org>
5879
5880         * LaTeX.C: consolidate code into showRunMessage() helper
5881
5882 2003-02-08  John Levon  <levon@movementarian.org>
5883
5884         * lyxfind.C:
5885         * lyxtext.h:
5886         * text2.C:
5887         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5888           and pass the size in explicitly
5889
5890         * BufferView_pimpl.h:
5891         * BufferView_pimpl.C:
5892         * BufferView.h:
5893         * BufferView.C: add getCurrentChange()
5894
5895         * BufferView_pimpl.h:
5896         * BufferView_pimpl.C: handle change lfuns
5897
5898         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5899           for changes. Mark pasted paragraphs as new.
5900
5901         * support/lyxtime.h:
5902         * support/lyxtime.C:
5903         * DepTable.C: abstract time_t as lyx::time_type
5904
5905         * LColor.h:
5906         * LColor.C: add colours for new text, deleted text, changebars
5907
5908         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5909           package use "usenames" option.
5910
5911         * commandtags.h:
5912         * lyxfunc.C:
5913         * LyXAction.C: add change lfuns
5914
5915         * Makefile.am:
5916         * author.h:
5917         * author.C: author handling
5918
5919         * buffer.h:
5920         * buffer.C: add a per-buffer author list, with first entry as
5921           current author. Handle new .lyx tokens for change tracking. Output
5922           author list to .lyx file. Output dvipost stuff to .tex preamble.
5923           Bump lyx format to 222.
5924
5925         * bufferlist.h:
5926         * bufferlist.C: add setCurrentAuthor() to reset current author details
5927           in all buffers.
5928
5929         * bufferparams.h:
5930         * bufferparams.C: add param for tracking
5931
5932         * bufferview_funcs.C: output change info in minibuffer
5933
5934         * Makefile.am:
5935         * changes.h:
5936         * changes.C: add change-tracking structure
5937
5938         * debug.h:
5939         * debug.C: add CHANGES debug flag
5940
5941         * lyxfind.h:
5942         * lyxfind.C: add code for finding the next change piece
5943
5944         * lyxrc.h:
5945         * lyxrc.C: add user_name and user_email
5946
5947         * lyxrow.h:
5948         * lyxrow.C: add a metric for the top of the text line
5949
5950         * lyxtext.h:
5951         * text.C: implement accept/rejectChange()
5952
5953         * lyxtext.h:
5954         * text.C: paint changebars. Paint new/deleted text in the chosen
5955         colours. Strike through deleted text.
5956
5957         * paragraph.h:
5958         * paragraph.C:
5959         * paragraph_pimpl.h:
5960         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5961           in the current change to the insert functions. Rework erase to
5962           mark text as deleted, adding an eraseIntern() and a range-based
5963           erase(). Implement per-paragraph change lookup and
5964           accept/reject.
5965
5966         * paragraph_funcs.C: Fixup paste for change tracking.
5967
5968         * tabular.C: mark added row/columns as new.
5969
5970         * text.C: fix rowLast() to never return -1. Don't allow
5971           spellchecking of deleted text. Track transpose changes. Don't
5972           allow paragraph break or merge where appropriate.
5973
5974         * text2.C: leave cursor at end of selection after a cut.
5975
5976 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5977
5978         * text.C (getLengthMarkerHeight):
5979         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5980         visible on screen too.
5981
5982 2003-02-07  John Levon  <levon@movementarian.org>
5983
5984         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5985
5986 2003-02-05  Angus Leeming  <leeming@lyx.org>
5987
5988         * lyxserver.C (read_ready): revert my patch of 11 September last year
5989         as it sends PC cpu through the roof. Presumably this means that
5990         the lyxserver will no longer run on an Alpha...
5991
5992 2003-01-30  Angus Leeming  <leeming@lyx.org>
5993
5994         * factory.C (createInset): create an InsetCommandParam of type "index"
5995         and use it to 'do the right thing'.
5996
5997         * text2.C (getStringToIndex): ensure that cursor position is always
5998         reset to the reset_cursor position.
5999
6000 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6001
6002         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6003         disabled.
6004
6005 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6006
6007         * bufferview.C:
6008         * lyxcb.C:
6009         * lyxfunc.C: Output messages with identical spelling, punctuation,
6010         and spaces
6011
6012 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6013
6014         * MenuBackend.C (expandFormats): List only viewable export formats
6015         in "View" menu
6016
6017         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6018         message
6019
6020         * lyxfunc.C (getStatus): Make sure that formats other than
6021         "fax" can also be disabled
6022
6023 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6024
6025         * text3.C (dispatch): put the lfuns that insert insets in 3
6026         groups, and call doInsertInset with appropriate arguments.
6027         (doInsertInset): new function, that creates an inset and inserts
6028         it according to some boolean parameters.
6029
6030 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6031
6032         * buffer.C (readFile): remember to pass on 'par' when calling
6033         readFile recursively.
6034
6035 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6036
6037         * MenuBackend.C (expandFormats): add "..." to import formats.
6038
6039 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6040
6041         * paragraph.C (asString): Remove XForms RTL hacks.
6042
6043 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6044         * buffer.C: fix typo
6045
6046 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * Makefile.am (LIBS): delete var
6049         (lyx_LDADD): add @LIBS@ here instead.
6050
6051 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6052
6053         * Clarify the meaning of "wheel mouse jump"
6054
6055 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6056
6057         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6058         tabular in a float
6059
6060 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6061
6062         * importer.C (Loaders): do not preallocate 3 elements in the
6063         vector, since one ends up with 6 elements otherwise
6064
6065 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6066
6067         * DepTable.C (write): write the file name as last element of the
6068         .dep file (because it may contain spaces)
6069         (read): read info in the right order
6070
6071 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6072
6073         * paragraph_pimpl.C (simpleTeXBlanks):
6074         (simpleTeXSpecialChars):
6075         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6076
6077         * tabular.C (latex): add some missing case statements. Reindent.
6078
6079         * MenuBackend.C (expandToc): remove unused variable.
6080
6081 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6082
6083         * LColor.C:
6084         * LaTeX.C:
6085         * LyXAction.C:
6086         * MenuBackend.C:
6087         * buffer.C:
6088         * exporter.C:
6089         * lyxfunc.C:
6090         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6091         and the like.
6092
6093 2003-01-05  John Levon  <levon@movementarian.org>
6094
6095         * BufferView.h:
6096         * BufferView.C: add getEncoding()
6097
6098         * kbsequence.h:
6099         * kbsequence.C: do not store last keypress
6100
6101         * lyxfunc.h:
6102         * lyxfunc.C: store last keypress here instead. Pass encoding
6103           to getISOEncoded()
6104
6105 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6106
6107         * lyx_main.C (init): remove annoying error message when following
6108         symbolic links (bug #780)
6109
6110 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6111
6112         * text.C (insertChar):
6113         * lyxrc.C (getDescription): remove extra spaces
6114
6115 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6116
6117         * lyxrc.C (getDescription): remove extra spaces
6118
6119 2002-12-20  John Levon  <levon@movementarian.org>
6120
6121         * text3.C: hack fix for page up/down across tall rows
6122
6123 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6124
6125         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6126         not been invoked
6127
6128 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6129
6130         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6131         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6132         thesaurus is not compiled in
6133
6134 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6135
6136         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6137
6138 2002-12-16  Angus Leeming  <leeming@lyx.org>
6139
6140         * lyxrc.[Ch]:
6141         * lyx_main.C (init): remove override_x_deadkeys stuff.
6142
6143 2002-12-12  John Levon  <levon@movementarian.org>
6144
6145         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6146           insert. Only remove shift modifier under strict
6147           circumstances.
6148
6149 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * MenuBackend.C (expandToc): fix crash.
6152
6153 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * MenuBackend.C (expandToc): gettext on float names.
6156
6157 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6158
6159         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6160         implement bool empty() [bug 490]
6161
6162 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6165
6166 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * several files: ws changes
6169
6170 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * text2.C (setCounter): clean up a bit, use boost.format.
6173         (updateCounters): initialize par upon declaration.
6174
6175         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6176         if the layout exists. We do not just store the layout any more.
6177         (SwitchLayoutsBetweenClasses): use boost.format
6178
6179 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6180
6181         * converter.C (convert): if from and to files are the same, use a
6182         temporary files as intermediary
6183
6184 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6185
6186         * commandtags.h:
6187         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6188
6189 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6190
6191         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6192
6193 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * tabular.C (asciiPrintCell): use string(size, char) instead of
6196         explicit loop.
6197
6198         * sgml.C (openTag): fix order of arguments to string constructor
6199         (closeTag): ditto
6200
6201         * lyxfunc.C (dispatch): use boost.format
6202
6203         * lots of files: change "c" -> 'c'
6204
6205 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6206
6207         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6208
6209 2002-11-25  Angus Leeming  <leeming@lyx.org>
6210
6211         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6212
6213         * lyx_main.C (init): compile fix.
6214
6215 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * lyx_cb.C (start): boost.formatify
6218         do not include <iostream>
6219
6220         * lengthcommon.C: ws only
6221
6222         * boost-inst.C,BoostFormat.h: add more explict instantations
6223
6224 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6225
6226         * lots of files: handle USE_BOOST_FORMAT
6227
6228 2002-11-21  John Levon  <levon@movementarian.org>
6229
6230         * pspell.C: fix compile
6231
6232 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6233
6234         * lyxfunc.C (dispatch): use boost::format
6235         (open): ditto
6236         (doImport): ditto
6237
6238         * lyxfont.C (stateText): use boost::format
6239
6240         * lyx_main.C (LyX): use boost::format
6241         (init): ditto
6242         (queryUserLyXDir): ditto
6243         (readRcFile): ditto
6244         (parse_dbg): ditto
6245         (typedef boost::function): use the recommened syntax.
6246
6247         * importer.C (Import): use boost::format
6248
6249         * debug.C (showLevel): use boost::format
6250
6251         * converter.C (view): use boost::format
6252         (convert): ditto
6253         (move): ditto
6254         (scanLog): ditto
6255
6256         * bufferview_funcs.C (currentState): use boost::format
6257
6258         * bufferlist.C (emergencyWrite): use boost::format
6259
6260         * buffer.C (readLyXformat2): use boost::format
6261         (parseSingleLyXformat2Token): ditto
6262
6263         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6264
6265         * LaTeX.C (run): use boost::format
6266
6267         * Chktex.C (scanLogFile): use boost::format
6268
6269         * BufferView_pimpl.C (savePosition): use boost::format
6270         (restorePosition): ditto
6271         (MenuInsertLyXFile): ditto
6272
6273         * BoostFormat.h: help file for explicit instation.
6274
6275 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6276
6277         * tabular.C (latex): Support for block alignment in fixed width
6278         columns.
6279
6280 2002-11-17  John Levon  <levon@movementarian.org>
6281
6282         * BufferView_pimpl.C:
6283         * lyx_cb.C:
6284         * lyxfunc.C: split filedialog into open/save
6285
6286 2002-11-08  Juergen Vigna  <jug@sad.it>
6287
6288         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6289         by my last patch (hopefully).
6290
6291 2002-11-08  John Levon  <levon@movementarian.org>
6292
6293         * iterators.h:
6294         * iterators.C:
6295         * buffer.h:
6296         * buffer.C:
6297         * paragraph.h:
6298         * paragraph.C:
6299         * toc.h:
6300         * toc.C: ParConstIterator, and use it (from Lars)
6301
6302 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6303
6304         * lyxtextclass.[Ch]: revise and add doxygen comments
6305
6306 2002-11-07  John Levon  <levon@movementarian.org>
6307
6308         * text.C: fix progress value for spellchecker
6309
6310         * toc.C: fix navigate menu for insetwrap inside minipage
6311
6312         * paragraph_funcs.C: added FIXME for suspect code
6313
6314 2002-11-07  John Levon  <levon@movementarian.org>
6315
6316         * BufferView_pimpl.C: fix redrawing of insets
6317           on buffer switch
6318
6319 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6320
6321         * text2.C (updateCounters): fix bug 668
6322
6323 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6324
6325         * text3.C (dispatch): Do not make the buffer dirty when moving the
6326         cursor.
6327
6328 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * vc-backend.C: STRCONV
6331         (scanMaster): ditto
6332
6333         * text2.C (setCounter): STRCONV
6334
6335         * paragraph.C (asString): STRCONV
6336
6337         * lyxlength.C (asString): STRCONV
6338         (asLatexString): ditto
6339
6340         * lyxgluelength.C (asString): STRCONV
6341         (asLatexString): ditto
6342
6343         * lyxfunc.C (dispatch): STRCONV
6344         (open): ditto
6345
6346         * lyxfont.C (stateText): STRCONV
6347
6348         * importer.C (Import): STRCONV
6349
6350         * counters.C (labelItem): STRCONV
6351         (numberLabel): ditto
6352         (numberLabel): remove unused ostringstream o
6353
6354         * chset.C: STRCONV
6355         (loadFile): ditto
6356
6357         * bufferview_funcs.C (currentState): STRCONV
6358
6359         * buffer.C (readFile): STRCONV
6360         (asciiParagraph): ditto
6361         (makeLaTeXFile): ditto
6362
6363         * Spacing.C (writeEnvirBegin): STRCONV
6364
6365         * LaTeXFeatures.C (getLanguages): STRCONV
6366         (getPackages): ditto
6367         (getMacros): ditto
6368         (getBabelOptions): ditto
6369         (getTClassPreamble): ditto
6370         (getLyXSGMLEntities): ditto
6371         (getIncludedFiles): ditto
6372
6373         * LaTeX.C: STRCONV
6374         (run): ditto
6375         (scanAuxFile): ditto
6376         (deplog): ditto
6377
6378         * LString.h: add the STRCONV macros
6379
6380         * BufferView_pimpl.C (savePosition): STRCONV
6381         (restorePosition): ditto
6382         (MenuInsertLyXFile): ditto
6383
6384         * vc-backend.C (scanMaster): change from submatch[...] to
6385         submatch.str(...)
6386
6387         * funcrequest.C: include config.h
6388
6389         * factory.C: include config.h
6390
6391         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6392
6393         * box.C: include config.h
6394
6395         * LaTeX.C (scanAuxFile): change from submatch[...] to
6396         submatch.str(...)
6397         (deplog): ditto
6398
6399 2002-10-25  Angus Leeming  <leeming@lyx.org>
6400
6401         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6402
6403         * ispell.[Ch] (setError): new method.
6404         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6405         Use setError() insetead of goto END.
6406
6407         * lyx_cb.C (AutoSave): move out child process into new class
6408         AutoSaveBuffer.
6409
6410 2002-10-30  John Levon  <levon@movementarian.org>
6411
6412         * text3.C: make start appendix undoable
6413
6414 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6415
6416         * lyxlength.C (inPixels): Fix returned value.
6417
6418         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6419         environment.
6420
6421 2002-10-24  Angus Leeming  <leeming@lyx.org>
6422
6423         * lyxgluelength.h: no need to forward declare BufferParams
6424         or BufferView, so don't.
6425
6426 2002-10-21  John Levon  <levon@movementarian.org>
6427
6428         * BufferView.C: menuUndo ->undo, redo
6429
6430         * BufferView.h: document, remove dead, make some methods private
6431
6432         * paragraph_funcs.h:
6433         * paragraph_funcs.C:
6434         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6435
6436         * buffer.h:
6437         * buffer.C:
6438         * sgml.h:
6439         * sgml.C: move sgml open/close tag into sgml.C
6440
6441         * bufferview_funcs.h: unused prototype
6442
6443         * lyxfunc.h:
6444         * lyxfunc.C: remove unused
6445
6446         * lyxtext.h:
6447         * text.C: remove unused
6448
6449 2002-10-21  John Levon  <levon@movementarian.org>
6450
6451         * BufferView.h:
6452         * BufferView.C:
6453         * BufferView_pimpl.h:
6454         * BufferView_pimpl.C: fix mouse wheel handling based on
6455           patch from Darren Freeman
6456
6457 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6458
6459         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6460
6461 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6462
6463         * lyxlength.C (inPixels): Fix hanfling of negative length.
6464         Fix LyXLength::MU case.
6465
6466 2002-10-16  John Levon  <levon@movementarian.org>
6467
6468         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6469
6470 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6471
6472         * converter.C (view): add support for $$i (file name) and $$p
6473         (file path) for the viewer command. If $$i is not specified, then
6474         it is appended to the command (for compatibility with old syntax)
6475
6476 2002-10-14  Juergen Vigna  <jug@sad.it>
6477
6478         * undo_funcs.C (textHandleUndo): alter the order in which the
6479         new undopar is added to the LyXText, as we have to set first
6480         the right prev/next and then add it as otherwise the rebuild of
6481         LyXText is not correct. Also reset the cursor to the right paragraph,
6482         with this IMO we could remove the hack in "redoParagraphs()".
6483
6484 2002-10-09  Angus Leeming  <leeming@lyx.org>
6485
6486         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6487         to turn off an optimisation if a new inset is to be inserted.
6488
6489 2002-10-11 André Pönitz <poenitz@gmx.net>
6490
6491         * lyxtext.h: make some functions public to allow access
6492         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6493
6494 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6495
6496         * text3.C (dispatch): when changing layout, avoid an infinite loop
6497         [bug #652]
6498
6499 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6500
6501         * lyxrc.C (read): treat a viewer or converter command of "none" as
6502         if it were empty.
6503
6504         * MenuBackend.C (expandFormats): for an update, also allow the
6505         formats that are not viewable
6506
6507         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6508         script if it is newer than the lyxrc.defaults in user directory
6509
6510 2002-10-07 André Pönitz <poenitz@gmx.net>
6511
6512         * text.C: Vitaly Lipatov's small i18n fix
6513
6514 2002-09-25  Angus Leeming  <leeming@lyx.org>
6515
6516         * ispell.h: doxygen fix.
6517
6518 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6519
6520         * buffer.h (readFile): Add a new argument to the method, to allow
6521         reading of old-format templates.
6522
6523 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6524
6525         * toc.C (getTocList): Get TOC from InsetWrap.
6526
6527 2002-09-16  John Levon  <levon@movementarian.org>
6528
6529         * lyxfunc.C: check tabular for cut/copy too
6530
6531 2002-09-12  John Levon  <levon@movementarian.org>
6532
6533         * LyXAction.C: tidy
6534
6535         * factory.h:
6536         * factory.C: add header
6537
6538         * paragraph_funcs.h:
6539         * paragraph_funcs.C: cleanup
6540
6541 2002-09-11  John Levon  <levon@movementarian.org>
6542
6543         * PrinterParams.h: odd/even default to true
6544
6545 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6546
6547         * PrinterParams.h: update printer parameters for new xforms dialog
6548
6549 2002-09-11  Angus Leeming  <leeming@lyx.org>
6550
6551         * lyxserver.C (read_ready): re-write to make it more transparent
6552         and to make it work in coherent fashion under Tru64 Unix.
6553
6554 2002-09-11  André Pönitz <poenitz@gmx.net>
6555
6556         * commandtags.h:
6557         * LyXAction.C:
6558         * text3.C: implement LFUN_WORDSEL
6559
6560 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6561
6562         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6563         make floatlist_ a boost::shared_ptr<FloatList>
6564
6565         * lyxtextclass.C: include FloatList.h
6566         (LyXTextClass): initialize floatlist_
6567         (TextClassTags): add TC_NOFLOAT
6568         (Read): match "nofloat" to TC_NOFLOAT and use it.
6569         (readFloat): modify call to floatlist_
6570         (floats): ditto
6571         (floats): ditto
6572
6573         * FloatList.[Ch] (FloatList): remove commented out float
6574         initialization.
6575         (erase): new function
6576
6577 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6578
6579         * MenuBackend.C (expandToc): fix crash when there is no document
6580         open
6581
6582 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6583
6584         * many files: Add insetwrap.
6585
6586 2002-09-09  John Levon  <levon@movementarian.org>
6587
6588         * text2.C: remove confusing and awkward depth wraparound
6589
6590 2002-09-09  John Levon  <levon@movementarian.org>
6591
6592         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6593
6594         * buffer.h:
6595         * buffer.C: remove getIncludeonlyList()
6596
6597         * paragraph.C:
6598         * lyxfunc.C: remove headers
6599
6600 2002-09-09  Juergen Vigna  <jug@sad.it>
6601
6602         * text.C (getColumnNearX): fix form Michael this is most
6603         probably a cut&paste bug.
6604
6605 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6608
6609         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6610         references, ws changes.
6611
6612         * text2.C (init): update counters after init
6613         (insertParagraph): no need to set counter on idividual paragraphs.
6614         (setCounter): access the counters object in the textclass object
6615         on in the buffer object.
6616         (updateCounters): ditto
6617
6618         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6619         shared_ptr<Counters> to avoid loading counters.h in all
6620         compilation units.
6621         (LyXTextClass): initialize ctrs_
6622         (TextClassTags): add TC_COUNTER, and ...
6623         (Read): use it here.
6624         (CounterTags): new tags
6625         (readCounter): new function
6626         (counters): new funtion
6627         (defaultLayoutName): return a const reference
6628
6629         * counters.C (Counters): remove contructor
6630         (newCounter): remove a couple of unneeded statements.
6631         (newCounter): simplify a bit.
6632         (numberLabel): some small formatting changes.
6633
6634         * buffer.[Ch]: remove all traces of counters, move the Counters
6635         object to the LyXTextClass.
6636
6637 2002-09-06  Alain Castera  <castera@in2p3.fr>
6638
6639         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6640         package to set the horizontal alignment on fixed width columns.
6641
6642         * lyx_sty.C:
6643         * lyx_sty.h: added tabularnewline macro def.
6644
6645         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6646
6647 2002-09-06  John Levon  <levon@movementarian.org>
6648
6649         * LyXAction.C: tooltips for sub/superscript
6650
6651         * MenuBackend.C: a bit more verbose
6652
6653         * lyxfunc.C: tiny clean
6654
6655         * undo_funcs.C: document undo_frozen
6656
6657 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * counters.C (Counters): add missing algorithm counter.
6660
6661         * text2.C (setCounter): lookup the counter with layouts latexname
6662         instead of by section number.
6663         (setCounter): use a hackish way to lookup the correct enum
6664         counter.
6665         a float name->type change
6666         reset enum couners with counter name directly instead of depth value.
6667
6668         * counters.C (Counters): remove the push_backs, change to use the
6669         float type not the float name.
6670         (labelItem): remove unused string, float name->type change
6671
6672         * counters.h: don't include vector, loose the enums and sects vectors
6673
6674 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675
6676         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6677         (Read): add float->TC_FLOAT to textclassTags
6678         (Read): and handle it in the switch
6679         (readFloat): new function
6680
6681         * FloatList.C (FloatList): comment out the hardcoded float
6682         definitions.
6683
6684         * lyxlayout.h: ws change.
6685
6686 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6687
6688         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6689
6690 2002-09-03  Angus Leeming  <leeming@lyx.org>
6691
6692         * BufferView_pimpl.h: qualified name is not allowed in member
6693         declaration: WorkArea & Pimpl::workarea() const;
6694
6695         * factory.C: added using std::endl directive.
6696
6697         * text3.C: added using std::find and std::vector directives.
6698
6699 2002-08-29  André Pönitz <poenitz@gmx.net>
6700
6701         * lyxtext.h:
6702         * text2.C: remove unused member number_of_rows
6703
6704         * Makefile.am:
6705         * BufferView2.C: remove file, move contents to...
6706         * BufferView.C: ... here
6707
6708         * BufferView_pimpl.C:
6709         * factory.C: move more inset creation to factory
6710
6711         * vspace.C: avoid direct usage of LyXText, ws changes
6712
6713         * BufferView.[Ch]:
6714                 don't provide direct access to WorkArea, use two simple
6715                 acessors haveSelction() and workHeight() instead
6716
6717
6718 2002-08-29  John Levon  <levon@movementarian.org>
6719
6720         * BufferView_pimpl.C (dispatch): do not continue when
6721           no buffer
6722
6723 2002-08-28  André Pönitz <poenitz@gmx.net>
6724
6725         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6726
6727         * BufferView.h:
6728         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6729
6730 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6731
6732         * buffer.C: increment LYX_FORMAT to 221
6733
6734         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6735         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6736
6737         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6738
6739         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6740
6741 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6742
6743         * factory.C (createInset): use LyXTextClass::floats
6744
6745         * MenuBackend.C (expandFloatListInsert):
6746         (expandFloatInsert):
6747         (expandToc):
6748
6749         * text2.C (setCounter):
6750
6751         * LaTeXFeatures.C (useFloat):
6752         (getFloatDefinitions):
6753
6754         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6755
6756         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6757         floatlist_, with accessor floats().
6758
6759         * FloatList.h: remove global FloatList
6760
6761 2002-08-26  André Pönitz <poenitz@gmx.net>
6762
6763         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6764
6765         * BufferView.h:
6766         * BufferView2.C:
6767         * BufferView_pimpl.C:
6768         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6769
6770 2002-08-25  John Levon  <levon@movementarian.org>
6771
6772         * LyXAction.C: fix margin note description
6773
6774 2002-08-24  John Levon  <levon@movementarian.org>
6775
6776         * buffer.C:
6777         * bufferlist.C:
6778         * bufferview_funcs.C:
6779         * lyxfont.C:
6780         * undo_funcs.C: cleanups
6781
6782         * lyxfunc.C: disable CUT/COPY when no selection
6783
6784 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6785
6786         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6787         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6788
6789         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6790         Add backward compatibility to "mono", "gray" and "no".
6791
6792 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6793
6794         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6795         (and file_format >= 200).
6796
6797 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6798
6799         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6800
6801 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6802
6803         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6804
6805 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6806
6807         * BufferView_pimpl.C:
6808         * LyXAction.C:
6809         * buffer.C:
6810         * commandtags.h:
6811         * lyxfunc.C:
6812         * paragraph.[Ch]:
6813         * text2.C:
6814         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6815         inset and code to make it  work with the paragraph code. The inset
6816         can be anywhere in the paragraph, but will only do the expected
6817         thing in LaTeX if the layout file contains the parameter line
6818                         OptionalArgs    1
6819         (or more generally, a nonzero value) for that layout.
6820
6821 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6822
6823         * paragraph.h: remove the declaration of undefined counters class
6824         function.
6825
6826 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6827
6828         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6829         Dr. Richard Hawkins.
6830
6831 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6832
6833         * paragraph_funcs.h: remove some unneeded includes
6834
6835         * text.C (backspace): pasteParagraph now in global scipe
6836
6837         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6838         (pasteSelection): ditto
6839
6840         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6841         * paragraph_funcs.C (pasteParagraph): ... here
6842
6843 2002-08-20  André Pönitz <poenitz@gmx.net>
6844
6845         * commandtags.h: new LFUNs for swapping/copying table row/colums
6846
6847         * LyXAction.C:
6848         * lyxfunc.C: support for new lfuns
6849
6850 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * tabular.C:
6853         * buffer.[Ch]: remove NO_COMPABILITY stuff
6854
6855 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * boost.C (throw_exception): new file, with helper function for
6858         boost compiled without exceptions.
6859
6860         * paragraph.h:
6861         * lyxlength.C:
6862         * buffer.C:
6863         * ParameterStruct.h:
6864         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6865
6866         * bufferlist.C (emergencyWriteAll): use boost bind
6867
6868         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6869
6870         * text.C: include paragraph_funcs.h
6871         (breakParagraph): breakParagraph is now in global scope
6872
6873         * paragraph_funcs.[Ch]: new files
6874
6875         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6876         global scope
6877
6878         * buffer.C: include paragraph_funcs.h
6879         (insertStringAsLines): breakParagraph is now in global scope
6880
6881         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6882         paragraph_funcs.C
6883
6884         * CutAndPaste.C: include paragraph_funcs.h
6885         (cutSelection): breakParagraphConservative is now in global scope
6886         (pasteSelection): ditto
6887
6888         * buffer.h: declare oprator== and operator!= for
6889         Buffer::inset_iterator
6890
6891         * bufferlist.C (emergencyWrite): don't use fmt(...)
6892
6893         * text3.C: add using std::endl
6894
6895         * BufferView.C (moveCursorUpdate): remove default arg
6896
6897 2002-08-20  André Pönitz <poenitz@gmx.net>
6898
6899         * buffer.[Ch]: move inline functions to .C
6900
6901         * BufferView2.C:
6902         * BufferView_pimpl.C:
6903         * text.C:
6904         * buffer.[Ch]: use improved inset_iterator
6905
6906         * buffer.C:
6907         * paragraph.[Ch]: write one paragraph at a time
6908
6909 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6910
6911         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6912         style if style is not specified.
6913
6914 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6915
6916         * text2.C (setCounter): when searching for right label for a
6917         caption, make sure to recurse to parent insets (so that a caption
6918         in a minipage in a figure float works) (bug #568)
6919
6920 2002-08-20  André Pönitz <poenitz@gmx.net>
6921
6922         * text3.C: new file for LyXText::dispatch() and helpers
6923
6924         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6925
6926         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6927
6928 2002-08-19  André Pönitz <poenitz@gmx.net>
6929
6930         * lyxtext.h:
6931         * text.C: new LyXText::dispatch()
6932
6933         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6934
6935 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6936
6937         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6938
6939         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6940         Hebrew text.
6941
6942 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6943
6944         * Makefile.am: use $(variables) instead of @substitutions@
6945
6946 2002-08-15  André Pönitz <poenitz@gmx.net>
6947
6948         * lyxfunc.C:
6949         * BufferView_pimpl.C: streamlining mathed <-> outer world
6950         interaction
6951
6952         * commandtags.h:
6953         * LyXAction.C: remove unused LFUN_MATH
6954
6955 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6956
6957         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6958
6959 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6960
6961         * paragraph.C (Paragraph): reformat a bit
6962         (cutIntoMinibuffer): use builtin InsetList function instad of
6963         doing it manually.
6964         (getInset): ditto
6965
6966         * buffer.C: include boost/bind.hpp, add using std::for_each
6967         (writeFileAscii): use ParagraphList iterators
6968         (validate): use for_each for validate traversal of paragraphs
6969         (getBibkeyList): use ParagraphList iterators
6970         (resizeInsets): use for_each to resizeInsetsLyXText for all
6971         paragraphs.
6972         (getParFromID): use ParagraphList iterators
6973
6974         * BufferView2.C (lockInset): use paragraph list and iterators
6975
6976 2002-08-14  John Levon  <levon@movementarian.org>
6977
6978         * lyxserver.C: remove spurious xforms include
6979
6980 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6981
6982         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6983
6984 2002-08-13  André Pönitz <poenitz@gmx.net>
6985
6986         * LyXAction.[Ch]:
6987         * lyxfunc.C: further cleaning
6988
6989 2002-08-13  André Pönitz <poenitz@gmx.net>
6990
6991         * funcrequest.h: new constructor
6992
6993         * funcrequest.C: move stuff here from .h
6994
6995         * Makefile.am:
6996         * BufferView_pimpl.C:
6997         * LyXAction.C:
6998         * toc.C:
6999         * lyxfunc.C: subsequent changes
7000
7001         * lyxfunc.h: new view() member function
7002
7003         * lyxfunc.C: subsequent changes
7004
7005 2002-08-13  Angus Leeming  <leeming@lyx.org>
7006
7007         * BufferView2.C:
7008         * BufferView_pimpl.C:
7009         * buffer.C:
7010         * converter.C:
7011         * importer.C:
7012         * lyxfunc.C:
7013         * lyxvc.C:
7014         * toc.C:
7015         * vc-backend.C:
7016         changes due to the changed LyXView interface that now returns references
7017         to member variables not pointers.
7018
7019 2002-08-13  Angus Leeming  <leeming@lyx.org>
7020
7021         * WordLangTuple (word, lang_code): return references to strings,
7022         not strings.
7023
7024         * BufferView.h:
7025         * SpellBase.h:
7026         * lyxtext.h: forward-declare WordLangTuple.
7027
7028         * BufferView2.C:
7029         * ispell.C:
7030         * pspell.C:
7031         * text.C: #include "WordLangTuple.h".
7032
7033         * lyxtext.h:
7034         * text.C: (selectNextWordToSpellcheck): constify return type.
7035
7036 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7037
7038         * buffer.C:
7039         * buffer.h:
7040         * lyxtext.h:
7041         * paragraph.C:
7042         * paragraph_pimpl.h:
7043         * text.C:
7044         * text2.C:
7045         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7046         suggested by Angus.
7047         Made updateCounter always count from start of buffer, and removed
7048         second argument (par).
7049         Reverted floats number display to '#'. Perhaps I'll try again when the
7050         code base is sanitized a bit.
7051
7052 2002-08-12  Angus Leeming  <leeming@lyx.org>
7053
7054         * buffer.[Ch] (getLabelList): constify.
7055
7056 2002-08-07  André Pönitz <poenitz@gmx.net>
7057
7058         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7059
7060         * funcrequest.h: extension to keep mouse (x,y) position
7061
7062 2002-08-12  Juergen Vigna  <jug@sad.it>
7063
7064         * BufferView2.C (insertErrors): forbid undo when inserting error
7065         insets.
7066
7067         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7068
7069 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * ParagraphList.[Ch]: new files
7072
7073         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7074
7075         * BufferView2.C (lockInset): ParagraphList changes
7076         * toc.C: ditto
7077         * text2.C: ditto
7078         * bufferlist.C: ditto
7079         * buffer.h: ditto
7080         * buffer.C: ditto
7081
7082 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7085         unused class variable counter_,
7086
7087         * paragraph.[Ch] (getFirstCounter): delete unused function
7088
7089         * counters.C: include LAssert.h
7090         (reset): add a new function with no arg, change other version to
7091         not have def. arg and to not allow empty arg.
7092
7093         * text2.C (setCounter): remove empty arg from call to Counters::reset
7094
7095 2002-08-11  John Levon  <levon@movementarian.org>
7096
7097         * Makefile.am: add WordLangTuple.h
7098
7099 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7102         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7103
7104         * insets/insettext.C: InsetList changes
7105
7106         * graphics/GraphicsSupport.C (operator()): InsetList changes
7107
7108         * toc.C (getTocList): InsetList changes
7109
7110         * paragraph_pimpl.[Ch]: InsetList changes
7111
7112         * paragraph.[Ch]: InsetList changes
7113
7114         * buffer.C (inset_iterator): InsetList changes
7115         (setParagraph): ditto
7116         * buffer.h (inset_iterator): ditto
7117         * iterators.C (operator++): ditto
7118         * iterators.h: ditto
7119
7120         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7121
7122         * InsetList.[Ch]: new files, most InsetList handling moved out of
7123         paragraph.C.
7124
7125         * BufferView2.C (removeAutoInsets): InsetList changes
7126         (lockInset): ditto
7127         (ChangeInsets): ditto
7128
7129 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * paragraph_pimpl.h (empty): new function
7132
7133         * paragraph.[Ch] (empty): new function
7134
7135         * other files: use the new Paragraph::empty function
7136
7137 2002-08-09  John Levon  <levon@movementarian.org>
7138
7139         * lyxtext.h: remove unused refresh_height
7140
7141 2002-08-09  John Levon  <levon@movementarian.org>
7142
7143         * Makefile.am:
7144         * sgml.h:
7145         * sgml.C:
7146         * buffer.C:
7147         * paragraph.h:
7148         * paragraph.C: move sgml char escaping out of paragraph
7149
7150         * paragraph.h:
7151         * paragraph.C: remove id setter
7152
7153         * buffer.C:
7154         * paragraph.C:
7155         * paragraph_pimpl.C: remove dead tex_code_break_column
7156
7157         * bufferview_funcs.C: small cleanup
7158
7159         * lyxfunc.C: remove dead proto
7160
7161         * lyxtext.h: make some stuff private. Remove some dead stuff.
7162
7163         * lyxgluelength.C: make as[LyX]String() readable
7164
7165 2002-08-08  John Levon  <levon@movementarian.org>
7166
7167         * LyXAction.h:
7168         * LyXAction.C:
7169         * MenuBackend.C:
7170         * ToolbarDefaults.C:
7171         * lyxfunc.C:
7172         * lyxrc.C:
7173         * toc.C: lyxaction cleanup
7174
7175 2002-08-08  John Levon  <levon@movementarian.org>
7176
7177         * BufferView2.C: small cleanup
7178
7179         * lyxfind.h:
7180         * lyxfind.C: move unnecessary header into the .C
7181
7182 2002-08-08  John Levon  <levon@movementarian.org>
7183
7184         * funcrequest.h: just tedious nonsense
7185
7186         * lyx_main.h:
7187         * lyx_main.C: cleanups
7188
7189         * buffer.C:
7190         * vspace.C: remove dead header lyx_main.h
7191
7192 2002-08-07  Angus Leeming  <leeming@lyx.org>
7193
7194         * Paragraph.[Ch]:
7195         * paragraph_pimpl.h:
7196         Forward declare class Counters in paragraph.h by moving the ctrs member
7197         variable into Paragraph::Pimpl.
7198         (counters): new method, returning a reference to pimpl_->ctrs.
7199
7200         * text2.C: ensuing changes.
7201
7202 2002-08-07  John Levon  <levon@movementarian.org>
7203
7204         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7205
7206         * BufferView_pimpl.C: announce X selection on double/triple
7207           click
7208
7209         * lyx_main.C: use correct bool in batch dispatch
7210
7211         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7212
7213 2002-08-07  André Pönitz <poenitz@gmx.net>
7214
7215         * funcrequest.h: new class to wrap a kb_action and its argument
7216
7217         * BufferView.[Ch]:
7218         * BufferView_pimpl[Ch]:
7219         * LaTeX.C:
7220         * LyXAction.[Ch]:
7221         * lyxfunc.[Ch]:
7222         * lyxrc.C: subsequent changes
7223
7224
7225 2002-08-07  John Levon  <levon@movementarian.org>
7226
7227         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7228           document options change.
7229
7230 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7231
7232         * counters.[Ch]
7233         * text2.C
7234         * paragraph.[Ch]
7235         * makefile.am: move counters functionality over from
7236         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7237
7238 2002-08-06  John Levon  <levon@movementarian.org>
7239
7240         * WordLangTuple.h: new file for word + language code tuple
7241
7242         * SpellBase.h:
7243         * pspell.h:
7244         * pspell.C:
7245         * ispell.h:
7246         * ispell.C:
7247         * lyxtext.h:
7248         * text.C:
7249         * text2.C:
7250         * BufferView.h:
7251         * BufferView2.C: use WordLangTuple
7252
7253         * layout.h:
7254         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7255
7256 2002-08-06  John Levon  <levon@movementarian.org>
7257
7258         * lyx_main.C: fix cmdline batch handling
7259
7260 2002-08-06  André Pönitz <poenitz@gmx.net>
7261
7262         * lyxrc.C: set default for show_banner to true
7263
7264 2002-08-06  John Levon  <levon@movementarian.org>
7265
7266         * pspell.C: fix a crash, and allow new aspell to work
7267
7268 2002-08-06  John Levon  <levon@movementarian.org>
7269
7270         * lyxfunc.C:
7271         * kbmap.C: small cleanup
7272
7273         * vspace.h:
7274         * vspace.C: add const
7275
7276 2002-08-05  John Levon  <levon@movementarian.org>
7277
7278         * LyXAction.C: back to tabular-insert
7279
7280 2002-08-04  John Levon  <levon@movementarian.org>
7281
7282         * BufferView.h:
7283         * BufferView.C: cosmetic change
7284
7285         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7286
7287         * bufferlist.C:
7288         * buffer.h:
7289         * buffer.C:
7290         * lyxcb.h:
7291         * lyxcb.C:
7292         * lyxserver.C:
7293         * lyxvc.C:
7294         * vc-backend.C:
7295         * BufferView2.C: purge all "Lyx" not "LyX" strings
7296
7297         * lyxcursor.h:
7298         * lyxcursor.C: attempt to add some documentation
7299
7300         * lyxfunc.C:
7301         * commandtags.h:
7302         * LyXAction.C:
7303         * ToolbarDefaults.C:
7304         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7305           merge with LFUN_TABULAR_INSERT
7306
7307         * Makefile.am:
7308         * SpellBase.h:
7309         * ispell.h:
7310         * ispell.C:
7311         * pspell.h:
7312         * pspell.C: split up i/pspell implementations into separate
7313           files, many cleanups
7314
7315         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7316
7317         * text2.C: some cleanup
7318
7319         * lyxfunc.C: don't check for isp_command == "none" any more, it
7320           didn't make any sense
7321
7322 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7323
7324         * counters.[Ch]
7325         * text2.C
7326         * paragraph.[Ch]
7327         * makefile.am: move counters functionality over
7328         from text2.C/paragraph.[Ch] to counters.[Ch], and
7329         make proper C++.
7330 2002-08-02  John Levon  <levon@movementarian.org>
7331
7332         * buffer.C: s/lyxconvert/lyx2lyx/
7333
7334 2002-08-02  Angus Leeming  <leeming@lyx.org>
7335
7336         * lyxlex.C: revert John's change as it breaks reading of the user
7337         preamble.
7338
7339 2002-08-02  Angus Leeming  <leeming@lyx.org>
7340
7341         * importer.C (Import):
7342         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7343         changes due to LyXView::view() now returning a boost::shared_ptr.
7344
7345 2002-08-02  John Levon  <levon@movementarian.org>
7346
7347         * lyxlex.C: small cleanup
7348
7349 2002-08-02  John Levon  <levon@movementarian.org>
7350
7351         * text2.C (status): small cleanup, no logic change
7352
7353 2002-08-01  John Levon  <levon@movementarian.org>
7354
7355         * buffer.h:
7356         * buffer.C (writeFile): don't output alerts, caller
7357           handles this
7358
7359         * bufferlist.C:
7360         * lyx_cb.C: from above
7361
7362         * lyxfunc.C: allow to open non-existent files
7363
7364 2002-07-31  John Levon  <levon@movementarian.org>
7365
7366         * lyxserver.C: don't let incidental errors get
7367           in the way (errno)
7368
7369 2002-07-30  John Levon  <levon@movementarian.org>
7370
7371         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7372
7373 2002-07-30  John Levon  <levon@movementarian.org>
7374
7375         * lyxserver.h:
7376         * lyxserver.C: remove I/O callback too
7377
7378 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7379
7380         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7381         log.
7382
7383 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7384
7385         * many files: strip,frontStrip -> trim,ltrim,rtrim
7386
7387 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * PrinterParams.h: remove extern containsOnly, and include
7390         support/lstrings.h instead.
7391
7392         * LaTeX.C (scanAuxFile): modify because of strip changes
7393         (deplog): ditto
7394         * buffer.C (makeLaTeXFile): ditto
7395         * bufferparams.C (writeFile): ditt
7396         * lyxfont.C (stateText): ditto
7397         * lyxserver.C (read_ready): ditto
7398         * vc-backend.C (scanMaster): ditto
7399
7400         * BufferView_pimpl.h: ws changes
7401
7402         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7403
7404 2002-07-26  André Pönitz <poenitz@gmx.net>
7405
7406         * kb_sequence.C: remove unnedred usings
7407
7408 2002-07-26  Juergen Vigna  <jug@sad.it>
7409
7410         * lyxfind.C (LyXReplace): we have to check better if the returned
7411         text is not of theLockingInset()->getLockingInset().
7412
7413 2002-07-25  Juergen Vigna  <jug@sad.it>
7414
7415         * lyxfind.C (LyXReplace): don't replace if we don't get the
7416         right LyXText.
7417
7418         * undo_funcs.C (createUndo): remove debugging code.
7419
7420 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7421
7422         * buffer.C (parseSingleLyXformat2Token): Use default placement
7423         when reading old floats.
7424
7425         * FloatList.C (FloatList): Change the default placement of figure
7426         and tables to "tbp".
7427
7428 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7429
7430         * MenuBackend.C: using std::max
7431
7432 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7433
7434         * MenuBackend.C (expandToc):
7435         (expandToc2): code moved from xforms menu frontend. It is now
7436         generic and TOCs are transparent to menu frontends.
7437
7438 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7439
7440         * toc.C (getTocList): protect against buf=0
7441
7442         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7443         Menu as first parameter. Now, this calls itself recursively to
7444         expand a whole tree (this will be useful for TOC handling)
7445         (expandFloatInsert): remove 'wide' version of floats
7446
7447         * MenuBackend.h (submenuname): returns the name of the submenu.
7448         (submenu): returns the submenu itself, provided it has been
7449         created by MenuBackend::expand
7450
7451 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7452
7453         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7454         insets which have noFontChange == true. (bug #172)
7455
7456 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7457
7458         * BufferView_pimpl.C: add connection objects and use them...
7459         (Pimpl): here.
7460
7461 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7462
7463         * MenuBackend.C (expandLastfiles):
7464         (expandDocuments):
7465         (expandFormats):
7466         (expandFloatListInsert):
7467         (expandFloatInsert):
7468         (expand): split expand in parts
7469
7470 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7471
7472         * lyx_gui.C: use lyx_gui::exit()
7473
7474 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7475
7476         * LyXAction.C: show the failing pseudo action
7477
7478 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7479
7480         * buffer.C (readFile): Run the lyxconvert script in order to read
7481         old files.
7482
7483 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7484
7485         * LyXAction.C:
7486         * commandtags.h:
7487         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7488
7489 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7490
7491         * LyXAction.C:
7492         * commandtags.h:
7493         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7494
7495 2002-07-22  Herbert Voss  <voss@lyx.org>
7496
7497         * lengthcommon.C:
7498         * lyxlength.[Ch]: add support for the vertical lengths
7499
7500 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7501
7502         * toc.[Ch]: std:: fixes
7503
7504 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7505
7506         * lyxrc.C: do not include lyx_main.h
7507
7508         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7509         for layouts
7510
7511         * lyxrc.C:
7512         * encoding.C:
7513         * bufferlist.C:
7514         * BufferView2.C: include "lyxlex.h"
7515
7516         * tabular.h:
7517         * bufferparams.h: do not #include "lyxlex.h"
7518
7519         * lyxtextclasslist.C (Add): remove method
7520         (classlist): renamed to classlist_
7521
7522         * paragraph_pimpl.C:
7523         * paragraph.C:
7524         * text2.C:
7525         * CutAndPaste.C:
7526         * bufferview_funcs.C:
7527         * bufferlist.C:
7528         * text.C:
7529         * LaTeXFeatures.C:
7530         * buffer.C:
7531         * toc.C (getTocList): use BufferParams::getLyXTextClass
7532
7533         * toc.C (getTocList): use InsetFloat::addToToc
7534
7535         * toc.[Ch]: new files, containing helper functions to handle table
7536         of contents
7537
7538         * lyxfunc.C (dispatch): no need to remove spaces around command
7539         given as a string
7540         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7541         first command of the sequence; it is not very clever, but I do not
7542         have a better idea, actually
7543
7544         * LyXAction.C (LookupFunc): make sure to remove space at the
7545         beginning and end of the command
7546
7547 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7548
7549         * MenuBackend.C (getMenubar): new method: return the menubar of
7550         this menu set
7551         (read): treat differently reading of menu and menubar (in
7552         particular, the menubar has no name now)
7553         (Menu::menubar): remove
7554
7555         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7556         saving is finished
7557
7558 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7559
7560         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7561         a bibitem inset in a RTL paragraph.
7562
7563 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * paragraph_pimpl.C: constify
7566
7567         * BufferView_pimpl.C:
7568         * LaTeX.C:
7569         * lyxfunc.C: fix dispatch in a nicer way
7570
7571 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7572
7573         * lyxfunc.C (dispatch):
7574         * BufferView_pimpl.C:
7575         * BufferView_pimpl.h:
7576         * BufferView.C:
7577         * BufferView.h: rename Dispatch() to dispatch()
7578
7579         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7580
7581         * lyxlayout.C (Read): honor DependsOn tag
7582
7583         * lyxlayout.[Ch] (depends_on): new method
7584
7585         * version.C.in: update lyx_docversion
7586
7587         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7588
7589         * paragraph.C (validate): remove from here...
7590         * paragraph_pimpl.C (validate): ... and move here
7591         (isTextAt): make it const
7592
7593         * buffer.C (getLists): ws cleanup
7594
7595 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7596
7597         * language.C (read): Use iso8859-1 encoding in latex_lang
7598         (this prevents LyX from crashing when using iso10646-1 encoding).
7599
7600 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7601
7602         * text2.C (toggleInset): if cursor is inside an inset, close the
7603         inset and leave cursor _after_ it
7604
7605 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7606
7607         * lyxfunc.C: move minibuffer completion handling out of here
7608
7609 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7610
7611         * BufferView_pimpl.C:
7612         * LaTeX.C: fix dispatch calls
7613
7614 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7615
7616         * text.C (drawChars): Fix Arabic text rendering.
7617
7618 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7619
7620         * LyXAction.C:
7621         * commandtags.h:
7622         * lyxfunc.C: remove message-push/pop
7623
7624         * lyxserver.C:
7625         * lyxfunc.h:
7626         * lyxfunc.C: rationalise some code by removing verboseDispatch
7627           in favour of a bool argument to dispatch()
7628
7629 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7630
7631         * lyx_main.C (init): make sure to read symlinks as absolute paths
7632
7633 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * lyxfunc.h:
7636         * lyxfunc.C: no need for commandshortcut to be a member
7637
7638 2002-07-15  André Pönitz <poenitz@gmx.net>
7639
7640         * converter.C: add support for $$s (scripts from lib/scripts dir)
7641         * lyx_main.C: white space
7642
7643 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7644
7645         * bufferlist.C:
7646         * lyxrc.h:
7647         * lyxrc.C: remove second exit confirmation
7648
7649 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7650
7651         * BufferView.h:
7652         * BufferView.C:
7653         * BufferView2.C:
7654         * BufferView_pimpl.h:
7655         * BufferView_pimpl.C:
7656         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7657
7658 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7659
7660         * MenuBackend.C (expand): add numeric shortcuts to document menu
7661
7662         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7663
7664 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7665
7666         * lyxfont.C (setLyXFamily):
7667         (setLyXSeries):
7668         (setLyXShape):
7669         (setLyXSize):
7670         (setLyXMisc):
7671         (lyxRead):
7672         * debug.C (value):
7673         * buffer.C (asciiParagraph): use ascii_lowercase
7674
7675 2002-07-15  Mike Fabian  <mfabian@suse.de>
7676
7677         * lyxlex_pimpl.C (search_kw):
7678         * lyxlex.C (getLongString):
7679         * converter.h (operator<):
7680         * converter.C (operator<):
7681         * buffer.C (parseSingleLyXformat2Token):
7682         (asciiParagraph):
7683         * ToolbarDefaults.C (read):
7684         * MenuBackend.C (checkShortcuts):
7685         (read):
7686         * LColor.C (getFromGUIName):
7687         (getFromLyXName): use the compare_ascii_no_case instead of
7688         compare_no_case, because in turkish, 'i' is not the lowercase
7689         version of 'I', and thus turkish locale breaks parsing of tags.
7690
7691 2002-07-16  Angus Leeming  <leeming@lyx.org>
7692
7693         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7694         now takes a Buffer const & argument.
7695
7696 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7697
7698         * BufferView.C (resize): check there's a buffer to resize
7699
7700 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7701
7702         * lyxfunc.C: remove dead code
7703
7704         * lyxserver.h:
7705         * lyxserver.C: use lyx_guii::set_read_callback
7706
7707 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7708
7709         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7710         an inset in a RTL paragraph.
7711
7712 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * lyxfunc.C: repaint after a font size update
7715
7716 2002-07-15  André Pönitz <poenitz@gmx.net>
7717
7718         * lyxlength.C: inBP should be able to return negative values
7719
7720 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * lyxfunc.C: use lyx_gui::update_fonts()
7723
7724 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7725
7726         * lyxfunc.C: use lyx_gui::update_color()
7727
7728 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7729
7730         * bufferlist.C:
7731         * lyxfunc.h:
7732         * lyxfunc.C:
7733         * lyxrc.h:
7734         * lyxrc.C: remove file->new asks for name option, and let
7735           buffer-new take an argument
7736
7737 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7738
7739         * BufferView_pimpl.C: remove unneeded extra repaint()
7740
7741 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7742
7743         * LyXAction.C: allow command-sequence with NoBuffer
7744
7745         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7746
7747 2002-07-10  Angus Leeming  <leeming@lyx.org>
7748
7749         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7750
7751 2002-07-09  Angus Leeming  <leeming@lyx.org>
7752
7753         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7754
7755 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7756
7757         * lengthcommon.h: whitespace
7758
7759         * lyxfunc.C: update scrollbar after goto paragraph
7760
7761         * lyxtext.h: factor out page break drawing, and fix it so
7762           page break/added space paints as selected nicely
7763
7764 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7765
7766         * BufferView_pimpl.C: add FIXMEs, clean up a little
7767
7768 2002-07-09  André Pönitz <poenitz@gmx.net>
7769
7770         * lyxfont.[Ch]: support for wasy symbols
7771
7772 2002-07-08  André Pönitz <poenitz@gmx.net>
7773
7774         * BufferView_pimpl.C: apply John's patch for #93.
7775
7776 2002-07-05  Angus Leeming  <leeming@lyx.org>
7777
7778         * BufferView_pimpl.C (buffer): generate previews if desired.
7779
7780         * LColor.h: add "preview" to the color enum.
7781
7782         * LColor.C (LColor): add a corresponding entry to the items array.
7783
7784         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7785         with this buffer.
7786
7787 2002-07-05  Angus Leeming  <leeming@lyx.org>
7788
7789         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7790         The body of the code is now in the method that is passed an ostream &
7791         rather than a file name.
7792         Pass an additional only_preamble parameter, useful for the forthcoming
7793         preview stuff.
7794
7795 2002-07-03  André Pönitz <poenitz@gmx.net>
7796
7797         * lyxfunc.C: simplify getStatus() a bit for math stuff
7798
7799 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7800
7801         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7802
7803 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7804
7805         * text.C (changeRegionCase): do not change case of all the
7806         document when region ends at paragraph end (bug #461)
7807
7808 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7809
7810         * paragraph.C (startTeXParParams):
7811         (endTeXParParams): add \protect when necessary
7812
7813 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7814
7815         * BufferView_pimpl.C (workAreaExpose): remove warning
7816
7817 2002-06-27  Angus Leeming  <leeming@lyx.org>
7818
7819         * Makefile.am: add lyxlayout_ptr_fwd.h.
7820
7821 2002-06-26  André Pönitz <poenitz@gmx.net>
7822
7823         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7824
7825 2002-06-25  Angus Leeming  <leeming@lyx.org>
7826
7827         * lyxfunc.C (dispatch): Comment out the call to
7828         grfx::GCache::changeDisplay. The method no longer exists now that the
7829         pixmap generation part of the graphics loader has been moved into
7830         InsetGraphics.
7831
7832 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7833
7834         * text2.C: layout as layout
7835
7836         * text.C: layout as layout
7837
7838         * tabular.C (OldFormatRead): layout as layout
7839
7840         * paragraph_pimpl.C (TeXDeeper): layout as layout
7841         (realizeFont): layout as layout
7842
7843         * paragraph.C (writeFile): layout as layout
7844         (validate): layout as layout
7845         (getFont): layout as layout
7846         (getLabelFont): layout as layout
7847         (getLayoutFont): layout as layout
7848         (breakParagraph): layout as layout
7849         (stripLeadingSpaces): layout as layout
7850         (getEndLabel): layout as layout
7851         (getMaxDepthAfter): layout as layout
7852         (applyLayout): layout as layout
7853         (TeXOnePar): layout as layout
7854         (simpleTeXOnePar): layout as layout
7855         (TeXEnvironment): layout as layout
7856         (layout): layout as layout
7857         (layout): layout as layout
7858
7859         * lyxtextclass.C (compare_name): new functor to work with
7860         shared_ptr, layout as layout
7861         (Read): layout as layout
7862         (hasLayout): layout as layout
7863         (operator): layout as layout
7864         (delete_layout): layout as layout
7865         (defaultLayout): layout as layout
7866
7867         * lyxlayout_ptr_fwd.h: new file
7868
7869         * lyxlayout.C (Read): layout as layout
7870
7871         * lyx_cb.C (MenuInsertLabel): layout as layout
7872
7873         * bufferlist.C (newFile): layout as layout
7874
7875         * buffer.C (readLyXformat2): layout as layout
7876         (parseSingleLyXformat2Token): layout as layout
7877         (insertStringAsLines): layout as layout
7878         (asciiParagraph): layout as layout
7879         (latexParagraphs): layout as layout
7880         (makeLinuxDocFile): layout as layout
7881         (simpleLinuxDocOnePar): layout as layout
7882         (makeDocBookFile): layout as layout
7883         (simpleDocBookOnePar): layout as layout
7884         (getLists): layout as layout
7885
7886         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7887
7888         * CutAndPaste.C (cutSelection): layout as layout
7889         (pasteSelection): layout as layout
7890         (SwitchLayoutsBetweenClasses): layout as layout
7891
7892         * BufferView_pimpl.C (Dispatch): layout as layout
7893         (smartQuote): layout as layout
7894
7895         * BufferView2.C (unlockInset): layout as layout
7896
7897 2002-06-24  André Pönitz <poenitz@gmx.net>
7898
7899         * lyxfunc.C: fix #487
7900
7901 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7902
7903         * lyxrc.h:
7904         * lyxrc.C:
7905         * lyxfunc.C: remove display_shortcuts, show_banner
7906
7907 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7908
7909         * Buffer_pimpl.C: oops, update on resize
7910
7911 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7912
7913         * buffer.C:
7914         * converter.C:
7915         * exporter.C:
7916         * lyxfunc.C:
7917         * BufferView.h:
7918         * BufferView.C: use repaint()
7919
7920         * BufferView_pimpl.h:
7921         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7922           as it's a clearer description. Remove superfluous
7923           redraws.
7924
7925 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7926
7927         * text.C: fix bug 488. Not ideal, but getting
7928           getWord() to work properly for the insets that
7929           matter is more difficult ...
7930
7931 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7932
7933         * BufferView_pimpl.C:
7934         * LyXAction.C:
7935         * commandtags.h:
7936         * lyxfunc.C: remove the six million index lyxfuncs to just
7937           one, and DTRT (bug 458)
7938
7939 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7940
7941         * BufferView.h:
7942         * BufferView.C:
7943         * BufferView_pimpl.h:
7944         * BufferView_pimpl.C: clean up resize() stuff,
7945           and unnecessary updateScreen()s
7946
7947 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7948
7949         * BufferView.h:
7950         * BufferView.C:
7951         * BufferView_pimpl.h:
7952         * BufferView_pimpl.C:
7953         * lyxfind.h:
7954         * lyxfind.C:
7955         * minibuffer.C: remove focus management of workarea,
7956           not needed. Use screen's greyOut()
7957
7958 2002-06-17  Herbert Voss  <voss@lyx.org>
7959
7960         * converter.C: (convert) do not post a message, when converting
7961         fails, let the calling function decide what to do in this case
7962
7963 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7964
7965         * lyxfunc.C: tidy up a little
7966
7967 2002-06-16    <alstrup@diku.dk>
7968
7969         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7970         Got rid of FORMS_H_LOCATION include. Now we are
7971         GUII.
7972
7973 2002-06-15  LyX Development team  <lyx@rilke>
7974
7975         * buffer.[Ch] (sgmlOpenTag):
7976         (sgmlCloseTag): Added support for avoiding pernicious mixed
7977         content. Return number of lines written.
7978
7979         (makeLinuxDocFile):
7980         (makeDocBookFile): Fixed calls to sgml*Tag.
7981         Simple white space clean.
7982
7983         (simpleDocBookOnePar): Simple white space clean.
7984
7985         * tabular.[Ch] (docBook): Renamed to docbook and got another
7986         argument to related with the pernicious mixed content.
7987
7988         (docbookRow): Fixed calls for docbook inset method.
7989
7990 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7991
7992         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7993         so it's X11 independent.
7994
7995         * kb*.[Ch]: ditto.
7996
7997         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7998
7999 2002-06-15  Lyx Development team  <lyx@electronia>
8000
8001         * intl.h: Renamed getTrans to getTransManager.
8002
8003 2002-06-14  Angus Leeming  <leeming@lyx.org>
8004
8005         * Makefile.am: nuke forgotten stl_string_fwd.h.
8006
8007 2002-06-12  Angus Leeming  <leeming@lyx.org>
8008
8009         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8010
8011 2002-06-13  Angus Leeming  <leeming@lyx.org>
8012
8013         * LaTeX.C:
8014         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8015
8016 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8017
8018         * kbmap.C (getiso): add support for cyrillic and greek
8019
8020 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8021
8022         * BufferView.h:
8023         * BufferView.C:
8024         * BufferView_pimpl.h:
8025         * BufferView_pimpl.C: move bogus scrolling logic
8026           to xforms
8027
8028 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8029
8030         * lyxfunc.C:
8031         * BufferView_pimpl.C: view->resize() change
8032
8033 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8034
8035         * BufferView_pimpl.C: topCursorVisible
8036           prototype change
8037
8038 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8039
8040         * Makefile.am:
8041         * lyx_gui.h:
8042         * lyx_gui.C: move to frontends/
8043
8044         * main.C:
8045         * lyx_main.h:
8046         * lyx_main.C: changes from above
8047
8048 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8049
8050         * intl.C:
8051         * intl.h:
8052         * kbmap.C:
8053         * kbsequence.C:
8054         * lyx_cb.C:
8055         * lyx_main.C: minor tidy
8056
8057 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8058
8059         * BufferView_pimpl.h:
8060         * BufferView_pimpl.C:
8061         * BufferView.h:
8062         * BufferView.C: make painter() const,
8063           remove dead code
8064
8065         * BufferView2.C: use screen() accessor
8066
8067         * lyx_main.h:
8068         * lyx_main.C: some minor cleanup
8069
8070 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8071
8072         * BufferView_pimpl.h:
8073         * BufferView_pimpl.C: remove enter/leaveView,
8074           use workHeight()
8075
8076 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8077
8078         * BufferView.h:
8079         * BufferView.C:
8080         * BufferView2.C:
8081         * BufferView_pimpl.h:
8082         * BufferView_pimpl.C: only construct screen once,
8083           rename
8084
8085         * lyxrc.C: remove pointless comment
8086
8087 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8088
8089         * BufferView.h:
8090         * BufferView.C: remove active() and belowMouse()
8091
8092         * BufferView_pimpl.h:
8093         * BufferView_pimpl.C: use workarea() not workarea_,
8094           and make it use a scoped_ptr instead
8095
8096 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8097
8098         * lyx_gui.C: add debug message on BadWindow
8099
8100 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8101
8102         * sp_spell.C: fdopen is not part of the C++ standard.
8103
8104         * paragraph.C (InsetIterator): use >= instead of ==
8105
8106 2002-06-07  Angus Leeming  <leeming@lyx.org>
8107
8108         Fixes needed to compile with Compaq cxx 6.5.
8109         * BufferView_pimpl.C:
8110         * DepTable.C:
8111         * buffer.C:
8112         * converter.C:
8113         * encoding.C:
8114         * lyx_gui.C:
8115         * lyx_main.C:
8116         * lyxtextclasslist.C:
8117         * minibuffer.C:
8118         * sp_spell.C:
8119         * tabular_funcs.C:
8120         * vc-backend.C:
8121         all c-library variables have been moved into namespace std. Wrap
8122         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8123
8124         * lyxlength.C:
8125         * tabular-old.C:
8126         * tabular.C:
8127         Add a using std::abs declaration.
8128
8129         * kbmap.h (modifier_pair):
8130         * paragraph.h (InsetTable, InsetList):
8131         * lyxfont.h (FontBits):
8132         type definition made public.
8133
8134         * bufferlist.C (emergencyWriteAll): the compiler complains that
8135         there is more than one possible lyx::class_fun template to choose from.
8136         I re-named the void specialisation as lyx::void_class_fun.
8137
8138         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8139
8140         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8141         the compiler is is unable to find tostr in write_attribute.
8142
8143 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8144
8145         * buffer.C (sgmlError): hide #warning
8146
8147 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8148
8149         * xtl/*: get rid of xtl, which is not in use anyway
8150
8151         * LyXAction.C (init):
8152         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8153         were unimplemented xtl experimentation
8154
8155 2002-06-04  André Pönitz <poenitz@gmx.net>
8156
8157         * lyxfunc.C: disable array operation on simple formulae
8158
8159 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8160
8161         * converter.C: constify a bit
8162
8163 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8164
8165         * lyx_gui.C: check xforms version correctly
8166
8167 2002-04-30  Herbert Voss  <voss@lyx.org>
8168
8169         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8170         "keep" option
8171
8172 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8173
8174         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8175           attempt to register it with a VCS)
8176
8177 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8178
8179         * lyx_main.C (init): honor variables LYX_DIR_13x and
8180         LYX_USERDIR_13x
8181
8182 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * buffer.h:
8185         * buffer.C:
8186         * lyx_main.C: fix a crash on bad command line,
8187           and give a useful exit status on error
8188
8189         * lyxfunc.C (doImport): allow -i lyx to work
8190
8191 2002-03-30  André Pönitz <poenitz@gmx.net>
8192
8193         * lyxfunc.C: mathed font changes
8194
8195 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * LaTeX.C:
8198         * importer.h:
8199         * importer.C:
8200         * lyx_sty.h:
8201         * lyx_sty.C:
8202         * lyxlex.C:
8203         * lyxrow.h:
8204         * lyxtext.h:
8205         * paragraph.h:
8206         * paragraph.C:
8207         * texrow.h:
8208         * texrow.C:
8209         * text.C:
8210         * trans_mgr.h: srcdocs, and some minor cleanups
8211
8212 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8213
8214         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8215         call getFont all the time)
8216
8217 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8218
8219         * switch from SigC signals to boost::signals
8220
8221 2002-05-29  André Pönitz <poenitz@gmx.net>
8222
8223         * paragraph_pimpl.C (getChar): don't call size() too often...
8224
8225 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8226
8227         * paragraph_pimpl.C (insertChar): do not try to update tables when
8228         appending (pos == size())
8229
8230         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8231         in order to reduce drastically the number of comparisons needed to
8232         parse a large document
8233
8234 2002-05-29  André Pönitz <poenitz@gmx.net>
8235
8236         * text.C:
8237         * text2.C:
8238         * lyxtextclass.C:
8239         * sp_pspell.h:
8240         * textclasslist.[Ch]:
8241         * sp_ispell.h: whitespace change
8242
8243 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8244
8245         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8246         lyxaction directly now.
8247
8248 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8249
8250         * trans.C:
8251         * lyxfont.C:
8252         * lyxvc.C: remove unused headers
8253
8254 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8255
8256         * Makefile.am:
8257         * buffer.h:
8258         * undostack.h:
8259         * undostack.C:
8260         * undo_funcs.h:
8261         * undo_funcs.C: some cleanups. Use shared_ptr
8262           and a template for the undo stacks.
8263
8264 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8265
8266         * BufferView_pimpl.h:
8267         * BufferView_pimpl.C:
8268         * kbmap.h:
8269         * kbmap.C:
8270         * kbsequence.h:
8271         * kbsequence.C:
8272         * lyxfunc.h:
8273         * lyxfunc.C:
8274         * text2.C: use key_state/mouse_state
8275
8276 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8277
8278         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8279         and LSubstring
8280
8281         * chset.C: change include order
8282         (loadFile): use boost regex and get rid of LRegex and LSubstring
8283
8284         * Makefile.am (BOOST_LIBS): new variable
8285         (lyx_LDADD): use it
8286
8287         * LaTeX.C: change include order.
8288         (scanAuxFile): use boost regex and get rid of LRegex and
8289         LSubstring
8290         (deplog): ditto
8291
8292 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8293
8294         * ColorHandler.h:
8295         * ColorHandler.C:
8296         * FontInfo.h:
8297         * FontInfo.C: moved to frontends/xforms/
8298
8299         * FontLoader.h:
8300         * FontLoader.C: moved into frontends for GUIIzation
8301
8302         * Makefile.am:
8303         * lyx_gui.C:
8304         * lyxfont.C:
8305         * lyxfunc.C: changes from above
8306
8307 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8308
8309         * LColor.C: remove spurious X include
8310
8311         * BufferView_pimpl.C:
8312         * Makefile.am:
8313         * font.h:
8314         * font.C:
8315         * text.C:
8316         * text2.C: move font metrics to frontends/
8317
8318 2002-05-24  Juergen Vigna  <jug@sad.it>
8319
8320         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8321         setting the undo_cursor.
8322
8323         * ParagraphParameters.h: include local includes first.
8324
8325 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8326
8327         * BufferView_pimpl.C:
8328         * BufferView_pimpl.h:
8329         * Makefile.am:
8330         * WorkArea.h:
8331         * WorkArea.C:
8332         * screen.C: move WorkArea into frontends/
8333
8334         * lyxscreen.h:
8335         * screen.C:
8336         * text.C:
8337         * BufferView.C:
8338         * BufferView2.C: move LyXScreen into frontends/
8339
8340         * lyxlookup.h:
8341         * lyxlookup.C:
8342         * lyx_gui.C: move lyxlookup into frontends/xforms/
8343
8344 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8345
8346         * BufferView2.C:
8347         * BufferView_pimpl.C:
8348         * FontLoader.C:
8349         * LyXView.h:
8350         * LyXView.C:
8351         * Makefile.am:
8352         * WorkArea.C:
8353         * XFormsView.h:
8354         * XFormsView.C:
8355         * buffer.C:
8356         * bufferlist.C:
8357         * bufferview_funcs.C:
8358         * converter.C:
8359         * importer.C:
8360         * lyx_cb.C:
8361         * lyx_gui.C:
8362         * lyx_main.C:
8363         * lyx_find.C:
8364         * lyxfunc.C:
8365         * lyxvc.C:
8366         * minibuffer.C:
8367         * text.C:
8368         * text2.C:
8369         * trans.C:
8370         * vc-backend.C: move LyX/XFormsView into frontends/
8371
8372 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8373
8374         * Makefile.am:
8375         * PainterBase.C:
8376         * PainterBase.h:
8377         * Painter.C:
8378         * Painter.h:
8379         * WorkArea.C:
8380         * WorkArea.h:
8381         * screen.C:
8382         * tabular.C:
8383         * text.C:
8384         * text2.C: move Painter to frontends/
8385
8386 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8387
8388         * buffer.C: comment out some some code that depend upon lyx_format
8389         < 220
8390
8391         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8392         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8393
8394         * buffer.h (NO_COMPABILITY): turn off compability
8395
8396         * ColorHandler.C: include scoped_array.hpp
8397
8398         * font.C: Use more specific smart_ptr header.
8399         * Painter.C: ditto
8400         * gettext.C: ditto
8401         * ShareContainer.h: ditto
8402         * lyx_main.h: ditto
8403         * kbmap.h: ditto
8404         * FontInfo.h: ditto
8405         * BufferView_pimpl.h: ditto
8406         * ColorHandler.h: ditto
8407
8408         * kbmap.C (defkey): change call to shared_ptr::reset
8409
8410 2002-05-21  Juergen Vigna  <jug@sad.it>
8411
8412         * buffer.C (insertErtContents): fix to insert ert asis if it is
8413         non empty. Skip it completely if it contains only whitespaces.
8414
8415 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * BufferView_pimpl.C:
8418         * BufferView2.C: clear selection on paste (bug 393)
8419
8420 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8421
8422         * DepTable.C: include ctime
8423
8424 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8425
8426         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8427
8428 2002-05-14  Juergen Vigna  <jug@sad.it>
8429
8430         * text.C (breakParagraph): fixed function to honor the keepempty
8431         layout in the right maner and also to permit the right breaking
8432         algorithm on empty or non empyt keepempty paragraphs.
8433
8434         * paragraph.C (breakParagraph): we have to check also if the par
8435         is really empty (!size()) for isempty otherwise we do the wrong
8436         paragraph break.
8437
8438 2002-05-10  Juergen Vigna  <jug@sad.it>
8439
8440         * buffer.[Ch] : The following are only changes to the ert
8441         compatibility read reading old LaTeX layout and font stuff and
8442         convert it to ERTInsets.
8443
8444         * buffer.h: added isErtInset().
8445
8446         * buffer.C (struct ErtComp): add a fromlayout bool to check
8447         if we're inside a LaTeX layout.
8448         (isErtInset): new helper function.
8449         (insertErtContents): look for other ert insets before this one
8450         and insert the contents there, so that we don't have subsequent
8451         ERT insets with nothing between them. This way we create only one
8452         inset with multiple paragraphs. Also check if we don't insert only
8453         spaces ' ' as they are ignored anyway afterwards in the .tex file
8454         so if we have only spaces we will ignore this latex part in the
8455         new file.
8456         (parseSingleLyXformat2Token \\layout): better compatibility when
8457         reading layout-latex stuff.
8458         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8459         language tag.
8460         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8461         stuff after reading the inset only get the information back from
8462         the stack.
8463
8464 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8465
8466         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8467
8468         * LaTeXFeatures.C (getBabelOptions): New method.
8469
8470 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8471
8472         * BufferView_pimpl.C (Dispatch): work around missing argument for
8473         'layout'
8474
8475 2002-05-08  Juergen Vigna  <jug@sad.it>
8476
8477         * text.C (leftMargin): handle paragraph leftindent.
8478
8479         * paragraph.C (writeFile): write the new \\leftindent tag.
8480         (validate): handle leftindent code.
8481         (TeXEnvironment): handle paragraphleftindent code again.
8482
8483         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8484
8485         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8486         for paragrap_extra indent code and new token \\leftindent.
8487         (latexParagraphs): handle the leftindent as environment.
8488
8489         * ParameterStruct.h: added leftindent support.
8490
8491         * ParagraphParameters.C (leftIndent): added support functions for
8492         the paragraph left indent.
8493
8494         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8495         more appropriate.
8496
8497 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8498
8499         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8500         inside insetERT.
8501
8502         * text.C (computeBidiTables): No bidi in insetERT.
8503
8504         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8505         in RTL documents.
8506
8507 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8508
8509         * version.C.in: pre 5
8510
8511 2002-05-02  José Matos  <jamatos@fep.up.pt>
8512         * buffer.C (makeDocBookFile): white space changes, add newline to
8513         command styles.
8514         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8515
8516         * tabular.C (docBook): fix typo.
8517
8518 2002-05-03  Juergen Vigna  <jug@sad.it>
8519
8520         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8521         change in LyXText as we can not be sure it was not freed.
8522         (drawOneRow): remove unused code.
8523
8524         * text.C (drawInset): redo the calculation of the need_break_row as
8525         it could have a row which was already freed.
8526         (draw): look at the return value of drawInset and return false if
8527         it also returned false.
8528         (paintRowText): look at the return value of draw and return false if
8529         it also returned false.
8530
8531         * lyxtext.h: added bool return type to drawInset() and draw() so that
8532         if we have a change in the row so that the rowbreak has to be redone
8533         we abort drawing as it will be called again.
8534
8535 2002-05-02  Juergen Vigna  <jug@sad.it>
8536
8537         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8538         a change in the maintext also if we're inside an inset.
8539         (Dispatch): set the cursor again after a break line and after the
8540         screen has been updated as it could be we're in a different row.
8541
8542         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8543         to set the cursor behind the pargraph with > size().
8544         (setCursor): check also for the same paragraph when checking where
8545         to put the cursor if we have a NFR inset.
8546
8547         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8548         parts of layout read further up as it still was in the wrong
8549         position.
8550
8551 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8552
8553         * screen.C (drawFromTo): change sine fullRebreak always return
8554         true.
8555
8556         * buffer.C (parseSingleLyXformat2Token): reindent some
8557
8558         * BufferView_pimpl.C (update): change since fullRebreak always
8559         return true.
8560         (Dispatch): git rid of the last hardcoded "Standard"s.
8561
8562 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8563
8564         * text2.[Ch] (fullRebreak): make it return void now that we always
8565         returned true.
8566
8567 2002-04-30  Juergen Vigna  <jug@sad.it>
8568
8569         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8570         ert compatibility check for "latex" layout.
8571
8572 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8573
8574         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8575         minipages: use col% instead of p%, and also use the current font.
8576         (makeLaTeXFile): Fix use babel condition.
8577         (parseSingleLyXformat2Token): Correct font when reading old floats.
8578
8579 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8580
8581         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8582         inserting list of floats.
8583
8584 2002-04-25  Herbert Voss  <voss@lyx.org>
8585
8586         * MenuBackend.C (expand): don't add the graphics extensions to the
8587         export menu
8588
8589 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8590
8591         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8592         non-existing layout, do not complain if it was the default layout
8593         of the original class (bug #342)
8594
8595 2002-04-24  Juergen Vigna  <jug@sad.it>
8596
8597         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8598         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8599
8600 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8601
8602         * buffer.C (getBibkeyList): If using \bibliography, return the
8603         option field with the reference itself. Enables us to provide natbib
8604         support when using \bibliography.
8605
8606 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8607
8608         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8609
8610         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8611         natbib is provided by the LaTeX class.
8612
8613 2002-04-23  Juergen Vigna  <jug@sad.it>
8614
8615         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8616         Wakeup functions.
8617
8618         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8619
8620 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8623
8624         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8625         ensuremath around textordmasculine, textordfeminine and
8626         textdegree.
8627
8628 2002-04-19  Juergen Vigna  <jug@sad.it>
8629
8630         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8631         reinitializing the buffer otherwise row-dimensions may be wrong.
8632         (update): reset also the selection cursors if they do exits otherwise
8633         their x/y positions may be wrong.
8634
8635         * text2.C (cursorDown): don't enter the inset if we came from a row
8636         above and are one row over the inset.
8637
8638         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8639         really leaving an inset.
8640
8641 2002-04-18  Juergen Vigna  <jug@sad.it>
8642
8643         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8644         of the selected paragraph does not have the selected layout also if
8645         the last one had!
8646
8647         * text2.C (setLayout): fixed bug which did not change last selected
8648         paragraph.
8649
8650         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8651         changed the read and substituted \\end_float with \\end_inset!
8652
8653         * BufferView_pimpl.C (cursorPrevious):
8654         (cursorNext): fixed to make it work with rows heigher than the work
8655         area without moving the cursor only the draw of the row.
8656         (workAreaMotionNotify): fix jumping over high rows.
8657
8658 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8659
8660         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8661         Ressler.
8662
8663 2002-04-16  Juergen Vigna  <jug@sad.it>
8664
8665         * text2.C (setCursor): set also the irow().
8666         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8667         (cursorUp):
8668         (cursorDown): support for locking an inset if the x_fix value goes
8669         inside it. That way I can transverse insets too with cursor up/down.
8670
8671         * lyxrow.h: added irow helper function same as other (i) functions.
8672
8673         * BufferView_pimpl.C (cursorPrevious):
8674         (cursorNext): fixed for insets!
8675
8676 2002-04-15  Juergen Vigna  <jug@sad.it>
8677
8678         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8679         position otherwise it is wrong in some cases.
8680
8681         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8682         inside the inset before the call.
8683
8684 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8685
8686         * buffer.[Ch] (getBibkeyList): make it const.
8687
8688 2002-04-12  Juergen Vigna  <jug@sad.it>
8689
8690         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8691
8692         * text2.C (getCursorX): new helper function
8693         (setCursor): compute also ix_
8694         (setCursorFromCoordinates): set also ix.
8695
8696         * lyxcursor.h: added ix_ and helper functions.
8697
8698         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8699
8700         * buffer.C (insertStringAsLines): dont break paragraph if the this
8701         paragraph is inside an inset which does not permit it!
8702
8703         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8704         also with no chars on this paragraph.
8705         (paintRowText): only paint stuff if it's inside the workarea!
8706
8707         * paragraph.C (breakParagraph): honor keepempty flag and break the
8708         paragraph always below not above.
8709
8710         * BufferView2.C (unlockInset): update the paragraph layout on inset
8711         unlock as we changed paragraph in such a case.
8712
8713         * lyxfind.C (LyXFind): clear the former selection if not found!
8714
8715         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8716         again called in insertChar().
8717
8718         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8719         an inset which uses the whole row!
8720         (rightMargin): ditto.
8721         (insertChar): force a rebreak if we inserted an inset!
8722
8723 2002-03-28  Herbert Voss  <voss@lyx.org>
8724
8725         * lyxlength.[Ch]: add inBP() to get the right PS-point
8726         units (BigPoint). With inPixels we have rounding errors
8727
8728 2002-04-11  Juergen Vigna  <jug@sad.it>
8729
8730         * text2.C (setCursorFromCoordinates): set iy to the right value.
8731         (setCursor): add check if row->previous exists!
8732
8733         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8734         an old float_type as this was the case in the old code!
8735
8736         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8737
8738         * BufferView2.C (showLockedInsetCursor): use iy
8739         (fitLockedInsetCursor): ditto
8740
8741         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8742         locked insets as there we have the right value now.
8743
8744         * lyxcursor.C: added iy_ variable and iy functions to set to the
8745         baseline of cursor-y of the locked inset.
8746
8747         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8748         (setCursor): fixed for insets which need a full row.
8749
8750         * text.C (rowLastPrintable): don't ignore the last space when before
8751         an inset which needs a full row.
8752         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8753         as last character of a row when before a inset which needs a full row.
8754
8755 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8756
8757         * version.C.in: update date
8758
8759         * text2.C (fullRebreak): try to always return true and see what
8760         happens...
8761
8762 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8763
8764         * MenuBackend.C (expand): use Floating::listName
8765
8766         * FloatList.C (FloatList): add listName argument to the built-in
8767         floats
8768
8769         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8770         text associated with the float.
8771
8772 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8775
8776 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8777
8778         * ShareContainer.h: add a couple of missing typenames.
8779
8780 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8781
8782         * lyxrc.C (getDescription): use _() correctly rather than N_().
8783
8784 2002-03-28  Herbert Voss  <voss@lyx.org>
8785
8786         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8787         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8788
8789 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8792         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8793
8794 2002-03-29  Juergen Vigna  <jug@sad.it>
8795
8796         * lyxfunc.C (dispatch): add a missing fitCursor call.
8797
8798         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8799         it was scrolled by a cursor move, so return the bool status.
8800
8801         * BufferView.C (fitCursor): return the bool flag also to the outside
8802         world as this is needed.
8803
8804         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8805
8806         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8807         call the edit() as it is not needed (and wrong) IMO.
8808         (workAreaButtonPress): set the screen_first variable before evt.
8809         unlock the inset as this may change screen_first and then we have
8810         a wrong y position for the click!
8811
8812 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8813
8814         * MenuBackend.C (expand): another translation that I missed
8815
8816 2002-03-28  Juergen Vigna  <jug@sad.it>
8817
8818         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8819
8820         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8821
8822 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8823
8824         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8825
8826         * MenuBackend.C (expand): fix export/view/update when there is no
8827         document open.
8828
8829 2002-03-27  Herbert Voss  <voss@lyx.org>
8830
8831         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8832         and text%
8833
8834 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8835
8836         * bufferview_funcs.C (currentState): only show paragraph number
8837         for is DEVEL_VERSION is set.
8838
8839         * lyxfunc.C (dispatch): put warning in INFO channel
8840
8841         * MenuBackend.C (expand): translate the name of floats
8842
8843         * FloatList.C (FloatList): mark the float names for translation
8844
8845         * converter.C (convert): use LibScriptSearch
8846
8847 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8848
8849         * MenuBackend.C (defaults): fix default menu (we might as well get
8850         rid of it...)
8851
8852 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8853
8854         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8855         directory.
8856
8857 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * lyxvc.C: reorder includes.
8860
8861 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8862
8863         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8864           properly
8865
8866 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8867
8868         * CutAndPaste.C: change layouts earlier on paste
8869           to avoid crashing when calling getFont()
8870
8871 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8872
8873         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8874         irritating #error.
8875
8876 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8877
8878         * WorkArea.C: remove 'Pending' debug message.
8879
8880         * most files: ws cleanup
8881
8882         * buffer.[Ch]: ws changes
8883
8884         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8885
8886 2002-03-21  Juergen Vigna  <jug@sad.it>
8887
8888         * tabular.C (SetMultiColumn): collapse also the contents of the
8889         cells and set the last border right. Added a Buffer const * param.
8890
8891 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8892
8893         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8894         linking or not.
8895
8896 2002-03-19  Juergen Vigna  <jug@sad.it>
8897
8898         * text2.C (clearSelection): reset also xsel_cache.
8899
8900         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8901         where it needs to be called (John tells us to do so too :)
8902         (selectionLost): reset sel_cache.
8903
8904         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8905
8906 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * text2.C (setCursorIntern): put debuging code in INSETS channel
8909
8910 2002-03-19  André Pönitz <poenitz@gmx.net>
8911
8912         * lyxfunc.C: tiny whitespace change
8913
8914 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * ToolbarDefaults.C (init):
8917         * LyXAction.C (init):
8918         * commandtags.h:
8919         * BufferView_pimpl.C (Dispatch):
8920         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8921
8922 2002-03-19  Allan Rae  <rae@lyx.org>
8923
8924         * exporter.C (Export): removeAutoInsets before doing anything else.
8925         While I've just introduced a dependency on BufferView this really is
8926         the best place to clean the buffer otherwise you need to cleanup in
8927         a dozen places before calling export or cleanup in a dozen functions
8928         that export calls.
8929
8930         * converter.C (runLaTeX):
8931         (scanLog): Better handling of removeAutoInsets and screen updates.
8932
8933         * lyxfunc.C (dispatch): small whitespace changes
8934
8935 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8936
8937         * WorkArea.C (C_WorkAreaEvent): return a value.
8938         (event_cb): return 1 if we handled the event, 0 otherwise.
8939
8940         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8941
8942 2002-03-18  Juergen Vigna  <jug@sad.it>
8943
8944         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8945         (GetAdditionalWidth): ditto.
8946         (RightLine): ditto.
8947         (LeftLine): ditto.
8948
8949         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8950         inset if we're there actually (probably not used right now but this
8951         is the direction to go for unifying code).
8952         (paste): disable code to clear the selection.
8953
8954         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8955         inside an InsetText and move the check further up as it is in the
8956         wrong place.
8957
8958         * text2.C (pasteSelection): set a selection over the pasted text.
8959
8960 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8961
8962         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8963         and libgraphics to build on Cygwin.
8964
8965 2002-03-15  Juergen Vigna  <jug@sad.it>
8966
8967         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8968         inserting an Inset into the paragraph. I know this is not the best
8969         fix but we already use current_view in CutAndPaste so we will remove
8970         all of it's using at the same time.
8971
8972         * buffer.C (sgmlError): deactivated function till it is rewritten in
8973         the right mode, now it can create problems.
8974
8975         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8976         before accessing it.
8977
8978 2002-03-14  Juergen Vigna  <jug@sad.it>
8979
8980         * undo_funcs.C (textHandleUndo): do the right thing when updating
8981         the inset after the undo/redo.
8982
8983         * text2.C (setCursor): just some testcode for #44 not ready yet.
8984
8985         * undo_funcs.C (textHandleUndo): set the next() and previous()
8986         pointers of the paragraph to 0 before deleting otherwise we have
8987         problems with the Paragraph::[destructor].
8988
8989         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8990         on a paragraph insertion.
8991
8992 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8993
8994         * buffer.C (asciiParagraph): use += operator for char append to
8995         string.
8996
8997         * paragraph.C (getFontSettings): compare >= not just >
8998         (highestFontInRange): ditto
8999         (setFont): ditto
9000
9001 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9002
9003         * paragraph.C: change several algorithm to be more appripriate for
9004         the problem domain. This is lookip in FontList and in the InsetList.
9005
9006 2002-03-13  André Pönitz <poenitz@gmx.net>
9007
9008         * commandtags.h:
9009         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9010
9011 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9012
9013         * commandtags.h:
9014         * LyXAction.C:
9015         * lyxfunc.C:
9016         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9017
9018 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9019
9020         * Painter.C (display): anon helper function, adjust code for this
9021         change.
9022         (pixmap): remove function.
9023
9024         * Painter.h: remove private display variable.
9025
9026         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9027
9028 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9029
9030         * WorkArea.[Ch]: remove figinset_canvas cruft.
9031
9032 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9033
9034         * lyxtextclass.C (operator): add one item cache optimization.
9035
9036         * bufferlist.h: doxy changes
9037
9038         * bufferlist.C: ws changes
9039
9040         * DepTable.[Ch] (ext_exist): place const in the right spot.
9041
9042         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9043         call resizeInsets.
9044         (workAreaExpose): call resizeInsets when the with BufferView changes.
9045         (Dispatch): adjust for protectedBlank removal
9046         (specialChar): call updateInset if the insert went ok.
9047
9048         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9049         specialChar instead.
9050
9051         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9052
9053         * BufferView.h: doxy change
9054
9055         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9056
9057         * lyxtextclass.C (operator[]): remove non-const version
9058         (defaultLayout): remove non-const version
9059
9060 2002-03-12  Juergen Vigna  <jug@sad.it>
9061
9062         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9063         did resize the LyXText too.
9064
9065         * buffer.C (readLyXformat2): set layout information on newly allocated
9066         paragraphs.
9067
9068         * tabular.C (OldFormatRead): set layout information on the paragraph.
9069
9070 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9071
9072         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9073
9074 2002-03-11  Juergen Vigna  <jug@sad.it>
9075
9076         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9077         plainly wrong.
9078         (resizeCurrentBuffer): force also the insets to resize themselfes.
9079         (moveCursorUpdate): fixed up for InsetText.
9080
9081 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9082
9083         * commandtags.h:
9084         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9085         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9086         value of Dialogs::tooltipsEnabled().
9087         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9088
9089 2002-03-08  Juergen Vigna  <jug@sad.it>
9090
9091         * BufferView_pimpl.C (updateInset): update inset inside inset also
9092         if it isn't inside theLockingInset().
9093
9094 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9095
9096         * buffer.C (asciiParagraph): redo some of the word and line length
9097         handling.
9098         (getLists): look for Caption instead of caption.
9099
9100 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9101
9102         * buffer.C (Buffer): initialize niceFile to true
9103         (makeLaTeXFile):
9104         (makeLinuxDocFile):
9105         (makeDocBookFile): make sure niceFile is true on exit
9106
9107 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9110
9111 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9112
9113         * LyXSendto.C: remove.
9114         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9115         * lyx_gui.C: remove now-redundant comment.
9116         * ColorHandler.h: remove forward declaration of class WorkArea.
9117         * lyxfunc.C: remove #include "WorkArea.h".
9118
9119 2002-03-07  Juergen Vigna  <jug@sad.it>
9120
9121         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9122         got moved away with the DEPM and also set the inset_owner always
9123         right which before could have been omitted.
9124
9125 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9126
9127         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9128         wanted layout is not found.
9129
9130 2002-03-07  Juergen Vigna  <jug@sad.it>
9131
9132         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9133
9134 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9135
9136         * paragraph.C (breakParagraph): use default layout not layout of
9137         prev paragraph.
9138         (Paragraph): clear ParagraphParameters.
9139
9140 2002-03-06  Juergen Vigna  <jug@sad.it>
9141
9142         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9143         otherwise it would not be a valid lenght. Fixed a special case in
9144         the minipage compatibility read where we end the document with a
9145         minipage.
9146
9147         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9148         was set as it could be 0 for InsetTexts first entry.
9149
9150 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9151
9152         * paragraph.C (writeFile): if layout is empty write out
9153         defaultLayoutName().
9154
9155         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9156         file without named layout we set layout to defaultLayoutName().
9157
9158 2002-03-06  Juergen Vigna  <jug@sad.it>
9159
9160         * CutAndPaste.C (copySelection): set layout for new paragraph.
9161
9162         * text.C (prepareToPrint): leave ERT inset left aligned
9163         (leftMargin): don't indent paragraphs inside ERT insets
9164
9165 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9166
9167         * paragraph.C (breakParagraph): dont call clear do the work manually
9168
9169         * paragraph.[Ch] (clear): remove function
9170
9171 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9172
9173         * paragraph.C (Paragraph): dont call clear, the work has already
9174         been done.
9175
9176         * lyxtextclass.C (operator): assert if n is empty
9177
9178         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9179         work manually instead.
9180
9181 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9182
9183         * BufferView_pimpl.C: protect selectionLost against text == 0
9184
9185 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9186
9187         * text.C (breakParagraph): fix a setting layout to '0' problem.
9188
9189 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9190
9191         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9192         final location of file, for the included files, and graphics.
9193
9194 2002-03-05  Juergen Vigna  <jug@sad.it>
9195
9196         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9197
9198 2002-03-04  Juergen Vigna  <jug@sad.it>
9199
9200         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9201
9202         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9203         last column of multicolumn cells.
9204         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9205
9206 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9207
9208         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9209         file if it doesn't go to a temporary file.
9210
9211         * buffer.C (sgmlOpenTag):
9212         (sgmlCloseTag):  remove extra newline insertion.
9213
9214 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9215
9216         * text.C (getRowNearY): comment out debug msg
9217
9218 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9219
9220         * text2.C: first -> first_y
9221
9222         * text.C (getRowNearY): add some attemts at a possible
9223         optimization, not working.
9224
9225         * tabular.[Ch]: add BufferParams to several function so that newly
9226         created paragraph can be initialized to he default layotu for the
9227         buffers textclass.
9228
9229         * tabular-old.C (ReadOld): add buf->params to call of Init
9230
9231         * screen.C: rename text->first to text->first_y
9232
9233         * paragraph.C (breakParagraph): always set layout in the broken
9234         paragraph
9235
9236         * lyxtextclass.C (Read): remove lowercase
9237         (hasLayout): ditto
9238         (operator): ditto
9239         (delete_layout): ditto
9240
9241         * lyxtext.h: rename first -> first_y
9242
9243         * lyxlayout.C (Read): remove lowercase
9244         (name): ditto
9245         (setName): ditto
9246         (obsoleted_by): ditto
9247
9248         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9249
9250         * buffer.C (insertErtContents): add params are to InsetERT
9251         (parseSingleLyXformat2Token): add code to check if a paragraphs
9252         layout really exist.
9253         (parseSingleLyXformat2Token): add params to several inset
9254         constructors
9255         (asciiParagraph): remove lowercase, do the layout comparisons with
9256         no_case
9257
9258         * BufferView_pimpl.C (cursorNext): first -> first_y
9259         (resizeCurrentBuffer): first -> first_y
9260         (updateScrollbar): first -> first_y
9261         (scrollCB): first -> first_y
9262         (workAreaMotionNotify): first -> first_y
9263         (workAreaButtonPress): first -> first_y
9264         (checkInsetHit): first -> first_y
9265         (cursorPrevious): first -> first_y
9266         (cursorNext): first -> first_y
9267         (Dispatch): add buffer_->params to severl inset contructors
9268
9269 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9270
9271         * lyxlayout.C (Read): remove some debug info that I forgot.
9272
9273         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9274         clean up the code slightly.
9275         (makeLinuxDocFile): ditto
9276         (makeDocBookFile): ditto
9277
9278         * text2.C: layout as string
9279
9280         * text.C: layout as string
9281
9282         * paragraph_pimpl.C: layout as string
9283
9284         * paragraph.[Ch]: layout as string
9285
9286         * lyxtextclasslist.[Ch]: layout as string
9287
9288         * lyxtextclass.[Ch]: layout as string
9289
9290         * lyxtext.h: layout as string
9291
9292         * lyxlayout.[Ch]: layout as string
9293
9294         * lyx_cb.C: layout as string
9295
9296         * bufferview_funcs.C: layout as string
9297
9298         * bufferparams.C: layout as string
9299
9300         * buffer.C: layout as string
9301
9302         * LyXView.[Ch]: layout as string
9303
9304         * LaTeXFeatures.[Ch]: layout as string
9305
9306         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9307
9308         * BufferView_pimpl.C: change current_layout to string, remove
9309         lyx::layout_type.
9310         (Dispatch):
9311         (smartQuote):
9312         (insertInset):
9313         (workAreaButtonRelease): layout as string
9314
9315         * BufferView2.C (unlockInset): adjust
9316
9317         * vspace.C (asLatexCommand): use an explict temp variable.
9318
9319 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9320
9321         * Makefile.am: use FRONTEND_*
9322
9323 2002-03-01  Juergen Vigna  <jug@sad.it>
9324
9325         * tabular.C (SetWidthOfMulticolCell): changed to something better
9326         I hope but still work in progress.
9327         (recalculateMulticolumnsOfColumn): renamed function from
9328         recalculateMulticolCells as it is more appropriate now.
9329         (SetWidthOfCell): calculate multicols better.
9330
9331 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9332
9333         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9334
9335         * lyxfunc.C (processKeySym): print sequence also if it is
9336         `deleted' (complete)
9337
9338         * kbsequence.C (print): print sequence even if it is deleted
9339         (complete would be a better word, actually).
9340
9341         * lyxfunc.C (dispatch): print complete options after a prefix key
9342
9343         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9344
9345 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9346
9347         * text2.C (setCharFont): eliminate setCharFont code duplication.
9348
9349 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9350
9351         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9352         LFUN_TABULAR_FEATURE (bug #177)
9353
9354 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9355
9356         * Makefile.am: remove figure.h
9357
9358 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9359
9360         * Bufferview_pimpl.C:
9361         * CutAndPasteC:
9362         * LaTeX.C:
9363         * LyXSendto.C:
9364         * buffer.C:
9365         * bufferlist.C:
9366         * converter.C:
9367         * language.C:
9368         * lyxfunc.C:
9369         * lyxvc.C:
9370         * paragraph.C:
9371         * text.C:
9372         * text2.C: remove #include "lyx_gui_misc.h".
9373
9374         * LaTeX.C: added #include <cstdio>
9375
9376 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9377
9378         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9379         that the paragraph following this one can have.
9380
9381         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9382
9383         * vspace.C (asLatexCommand): fix bogus gcc warning
9384
9385         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9386
9387 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9388
9389         * text2.C (setLayout): get rid of redundant code
9390
9391 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9392
9393         * text2.C (incDepth): make sure depth cannot be increased beyond
9394         reasonable values.
9395
9396 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9397
9398         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9399         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9400
9401         * PainterBase.h (image):
9402         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9403         a LyXImage const *.
9404
9405 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * BufferView.C:
9408         * BufferView.h:
9409         * BufferView_pimpl.C:
9410         * BufferView_pimpl.h:
9411         * LaTeXFeatures.C:
9412         * LyXAction.C:
9413         * LyXView.C:
9414         * Makefile.am:
9415         * UpdateList.h:
9416         * UpdateList.C:
9417         * buffer.C:
9418         * figure.h:
9419         * figureForm.C:
9420         * figureForm.h:
9421         * figure_form.C:
9422         * figure_form.h:
9423         * lyx_cb.C:
9424         * lyx_gui.C:
9425         * lyx_gui_misc.C:
9426         * lyxfunc.C:
9427         * sp_base.h:
9428         * sp_ispell.h:
9429         * sp_pspell.h:
9430         * sp_spell.C: remove fig inset, and the crap house of
9431           cards that follows it
9432
9433 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9434
9435         * Makefile.am:
9436         * lyxserver.C:
9437         * os2_defines.h:
9438         * os2_errortable.h:
9439         * nt_defines.h: move .h into support/
9440
9441         * vms_defines.h: remove
9442
9443         * WorkArea.C: add space in debug output
9444
9445         * text2.C:
9446         * paragraph.C:
9447         * buffer.C: add WITH_WARNINGS
9448
9449         * vc-backend.h:
9450         * vc-backend.C:
9451         * bufferlist.C: s/retrive/retrieve/, add docs
9452
9453         * vspace.h:
9454         * vspace.C:
9455         * kbmap.h:
9456         * lyxlength.h:
9457         * lyxgluelength.h:
9458         * length_common.h:
9459         * chset.h:
9460         * chset.C: add docs
9461
9462         * lyxgui.C: add ID to X error handler
9463
9464         * lyxtestclass.c: fix typo
9465
9466 2002-02-26  Juergen Vigna  <jug@sad.it>
9467
9468         * tabular_funcs.C (write_attribute): changed so that some default
9469         attributes are not written at all.
9470         (getTokenValue): set default values before trying to read the
9471         value so we have the return value always set as default if we don't
9472         find the token we search for.
9473
9474         * tabular.C (Write): write bools as bools not as strings!
9475
9476 2002-02-22  Juergen Vigna  <jug@sad.it>
9477
9478         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9479         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9480
9481         * text.C (leftMargin): don't add an indent for paragraphs inside
9482         tabular cells (fix #208).
9483
9484 2002-02-21  José Matos  <jamatos@fep.up.pt>
9485
9486         * tabular.C (docBook): fixed support for long tables.
9487
9488 2002-02-20  Juergen Vigna  <jug@sad.it>
9489
9490         * text2.C (getFont): get the drawing font of the Inset if this
9491         paragraph is inside an inset (only important for InsetERT for now).
9492
9493         * buffer.C (insertErtContents): use new lanugage params in ERT
9494         constructor.
9495
9496         * CutAndPaste.C: commenting out seemingly uneeded code.
9497
9498 2002-02-19  Allan Rae  <rae@lyx.org>
9499
9500         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9501         Iterators might be simple to use but they also get invalidated.
9502         (removeAutoInsets): renamed saved cursor tracking variables and added
9503         some comments to clarify what everything does.
9504
9505 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9506
9507         * Chktex.C:
9508         * LaTeX.C:
9509         * LyXSendto.C:
9510         * converter.C:
9511         * lyx_cb.C:
9512         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9513         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9514
9515         * lyxfunc.C:
9516         * vc-backend.h: remove #include "support/syscall.h"
9517
9518         * LaTeX.C:
9519         * LyXSendto.C:
9520         * converter.C: rearrange #includes in Lars' approved fashion.
9521
9522         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9523         forward declare class Timeout in the header file.
9524
9525         * XFormsView.C: changes due to the above.
9526
9527         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9528         similar to LyXView.
9529
9530         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9531         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9532
9533 2002-02-18  José Matos  <jamatos@fep.up.pt>
9534
9535         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9536         insets contents.
9537
9538 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9539
9540         * a lot of small ws changes
9541         * add a lot of using std::XXX
9542         * use std construcs some places where approp.
9543         * use some exisint stuff from lyxfunctional where approp.
9544         * Make file changes to use partial linking (lets test this now...)
9545
9546 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9547
9548         * Chktex.C:
9549         * buffer.C:
9550         remove #include "support/syscontr.h" as it's redundant. Always has been.
9551
9552         * Chktex.C:
9553         * LaTeX.C:
9554         * LyXSendto.C:
9555         * converter.C:
9556         * lyx_cb.C:
9557         * vc-backend.C:
9558         change Systemcalls::System to Systemcalls::Wait and
9559         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9560         No change of functionality, just reflects the stripped down Systemcalls
9561         class.
9562
9563 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9564
9565         * debug.[Ch]: add a GRAPHICS type to the enum.
9566
9567 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9568
9569         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9570
9571         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9572         there is an inset.
9573
9574 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9575
9576         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9577         match the changes below.
9578
9579         * text2.C (toggleInset): if there is not editable inset at cursor
9580         position, try to see if cursor is _inside_ a collapsable inset
9581         and close it.
9582
9583 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9584
9585         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9586         document menu has a nice checkbox
9587
9588 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * lyxlength.C (asLatexString): change PW to output as percent of
9591         \textwidth.
9592
9593         * lengthcommon.C: change '%' to 't%'
9594
9595         * lyxfunc.C (dispatch): a few comments from Martin
9596
9597 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * WorkArea.h:
9600         * WorkArea.C:
9601         * BufferView_pimpl.h:
9602         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9603           the X selection.
9604
9605 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * vspace.C (inPixels): fix compiler warning
9608
9609 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9610
9611         * lyxfunc.C (getStatus): fix status message for disabled commands.
9612
9613 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9614
9615         * BufferView_pimpl.C: fix crash on close buffer
9616         during selection (#227)
9617
9618 2002-01-27  Herbert Voss  <voss@lyx.org>
9619
9620         * buffer.C: link old Figure to new graphic inset
9621
9622 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9623
9624         * FontLoader.C (getFontinfo): Change the latex font names in order
9625         to match the names of type1inst.
9626
9627 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9628
9629         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9630
9631         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9632         (extchanged): ditto
9633         (ext_exist): ditto
9634         (remove_files_with_extension): ditto
9635         (remove_file): ditto
9636         (write): ditto
9637
9638         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9639         document is smaller than the work area height. Do not initialize
9640         static variables to 0.
9641
9642 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9645
9646         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9647         LFUN_LAYOUT_PARAGRAPHS.
9648
9649         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9650         tabular. It is possible to provide a possible cell, which will
9651         typically be the actcell from the corresponding insettabular
9652
9653         * lyxfunc.C (getStatus): small cleanup; disable
9654         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9655         true
9656
9657 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9658
9659         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9660
9661         * paragraph.C (startTeXParParams):
9662         (endTeXParParams): new methods. The LaTeX code to
9663         start/end paragraph formatting
9664         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9665         empty (fixes bug #200)
9666
9667         * vspace.C (inPixels): adapt to the change below
9668         (inPixels): [later] more cleanups (remove unused variables)
9669
9670         * lyxlength.C (inPixels): change to use a width and a height as
9671         parameter.
9672
9673 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9674
9675         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9676         Replaced with \paperwidth
9677
9678         * DepTable.C (insert): add std:: qualifier
9679
9680 2002-01-18  Allan Rae  <rae@lyx.org>
9681
9682         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9683         updated also?
9684
9685         * text.C (drawInset): Turned out I didn't know enough about how
9686         rebreaking worked.  This fixes most of the redraw problems.  I see
9687         an occasional cursor trail when a line is broken now and the cursor
9688         placement can seem out by a few pixels also after a rebreak.
9689
9690 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * buffer.C (parseSingleLyXformat2Token): update because minipage
9693         width is now a LyXLength
9694
9695         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9696
9697         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9698         math insets
9699
9700 2002-01-17  Juergen Vigna  <jug@sad.it>
9701
9702         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9703
9704         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9705         is set correctly and the inset is updated correctly.
9706
9707 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9708
9709         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9710         the beginning of the loop.
9711
9712 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9713
9714         * lyxrc.C: improve help for use_scalable_fonts
9715
9716 2002-01-17  Allan Rae  <rae@lyx.org>
9717
9718         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9719
9720 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9721
9722         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9723         make sure to set their inset_owner to the right value (bug #171)
9724
9725 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9726
9727         * DepTable.h
9728         * DepTable.C: Implement mtime checking to reduce time spent doing
9729         CRCs.
9730
9731 2002-01-16  Juergen Vigna  <jug@sad.it>
9732
9733         * tabular.C (GetAdditionalHeight): one of error fixed.
9734
9735         * lyxrc.C (output): small fix in writing use_pspell.
9736
9737 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9738
9739         * sp_base.h: #include LString.h
9740
9741 2002-01-16  Allan Rae  <rae@lyx.org>
9742
9743         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9744         Can someone check this please?
9745
9746         * text.C (drawInset): It was possible that p.row would be removed by
9747         breakAgainOneRow upsetting a few other settings.  There may be another
9748         small tweak possible by setting need_break_row = 0 when p.row has been
9749         removed but I don't know enough about the logic here.
9750
9751 2002-01-15  Allan Rae  <rae@lyx.org>
9752
9753         * text.C (insertChar): removed conditional truism.
9754
9755         * BufferView2.C (removeAutoInsets): More tweaks.
9756         cur_par_prev could be a stray pointer.  Check for trailing empty line
9757         in case last line was cur_par and only had an error inset on it.
9758
9759 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9760
9761         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9762         absolute
9763
9764         * vc-backend.C (most methods):
9765         * exporter.C (Export):
9766         * converter.C (convert):
9767         (runLaTeX):
9768         * LyXSendto.C (SendtoApplyCB):
9769         * lyxfunc.C (dispatch):
9770         (menuNew):
9771         (open):
9772         (doImport):
9773         * lyx_cb.C (AutoSave):
9774         (InsertAsciiFile):
9775         * BufferView_pimpl.C (MenuInsertLyXFile):
9776         * buffer.C (runChktex): use Buffer::filePath().
9777
9778         * buffer.h: rename filename to filename_; rename filepath to
9779         filepath_ and make it private
9780         (filePath): new method
9781
9782         * buffer.C (writeFile): use fileName()
9783         (getLatexName):
9784
9785         * lyx_main.C (init): fix starting  of LyX when the binary is a
9786         link from so,ewhere else.
9787
9788         * minibuffer.C: include <cctype> for isprint
9789
9790 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9791
9792         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9793         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9794         name clash with InsetCollapsable's width function.
9795
9796 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9797
9798         * lastfiles.C: include <iterator>
9799
9800 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9801
9802         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9803         std::count.
9804
9805         * buffer.C (makeLaTeXFile): ditto.
9806         Also make loop operation more transparent.
9807
9808 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9809
9810         * ToolbarDefaults.C: remove trailing comma closing namespace.
9811
9812         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9813
9814         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9815         as in WorkArea.
9816
9817         * trans.C (Load): comment out unused variable, allowed.
9818
9819 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9820
9821         * minibuffer.[Ch] (append_char): new method to recieve input from the
9822         drop-down completion browser. If a key was pressed, then recieve this
9823         char and append it to the existing string.
9824         (peek_event): modify the positioning data passed to the completion
9825         browser so that it can be placed above the minibuffer rather than below.
9826 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9827
9828         * LyXAction.C (init): alloe error-next for readonly documents.
9829
9830         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9831         count.
9832
9833 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9834
9835         * bufferlist.C (readFile): create the buffer _after_ checking that
9836         the file exists.
9837
9838         * lyxfunc.C (verboseDispatch): fix handling of arguments
9839
9840         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9841
9842         * lyxrc.C: use string::erase() instead of initializing to "".
9843
9844
9845 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * BufferView_pimpl.h:
9848         * BufferView_pimpl.C:
9849         * WorkArea.h:
9850         * WorkArea.C:
9851         * text2.C: tell X when we have made a selection for copying
9852
9853 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * BufferView_pimpl.C (MenuInsertLyXFile):
9856         * lyxfunc.C (menuNew):
9857         (open):
9858         (doImport): add shortcuts to directory buttons
9859
9860         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9861         open a float)
9862
9863         * lyxfunc.C (setStatusMessage):
9864         (getStatusMessage): new methods
9865         (getStatus):use setStatusMessage instead of setErrorMessage
9866         (dispatch): when function is disabled, set error message here
9867         [instead of in getStatus previously]
9868
9869         * BufferView_pimpl.C (workAreaButtonRelease): update
9870         toolbar/menubar here too.
9871
9872 2002-01-13  Allan Rae  <rae@lyx.org>
9873
9874         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9875         Now seems indestructible.  Remaining task is to audit all other
9876         code affected by deleteEmptyParagraphMechanism.  One small quirk
9877         left is that an empty document with an error in the preamble can
9878         be made to report an error but no error box appears.  I don't know
9879         where it goes.
9880         (removeAutoInsets): Improved comments.
9881
9882 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * Thesaurus.h:
9885         * Thesaurus.C: update for Aiksaurus 0.14
9886
9887 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * text2.C (firstParagraph): removed member function, all uses
9890         replaces with ownerParagraph
9891         (redoParagraphs): here
9892         (updateInset): here
9893         (toggleAppendix): here
9894         * BufferView2.C (insertErrors): here
9895         (setCursorFromRow): here
9896
9897 2002-01-13  Allan Rae  <rae@lyx.org>
9898
9899         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9900         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9901         There is still a way to segfault this although you may have to do this
9902         multiple times: Have an InsetERT with an unknown command in it.
9903         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9904         <down-arrow>, <Enter> again, View->DVI, BANG!
9905
9906         * text2.C (setCursor):
9907         (deleteEmptyParagraphMechanism):
9908         * lyxtext.h (setCursor):
9909         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9910         Making use of the return value may help fix other bugs.
9911
9912 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9913
9914         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9915
9916         * LyXView.C (updateMenubar): call MenuBar::update here
9917         (updateToolbar): but not here
9918         (showState): do not update toolbar/menubar
9919
9920         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9921         should need to care about that.
9922
9923         * lyxfunc.C (verboseDispatch): simplify a bit
9924         (getStatus): have a version which takes a pseudoaction, and
9925         another which requires a (kb_action,string).
9926
9927         * LyXAction.C (retrieveActionArg): make it work also when action
9928         is not a pseudo-action.
9929         (getActionName): simplify a bit
9930         (helpText):
9931
9932 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9933
9934         * lyxfunc.C (verboseDispatch): new families of methods with
9935         several ways to specify a command and a bool to indicate whether
9936         the command name and shortcut should be displayed in minibuffer
9937         (eventually, we could extend that to a finer bitmask like
9938         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9939         (dispatch): the pristine dispatch command which just, well,
9940         dispatchs! Note it still sets its result to minibuffer; I'm not
9941         sure we want that.
9942
9943         * lyxfunc.h: remove setHintMessage
9944
9945         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9946
9947 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9948
9949         * BufferView_pimpl.C (specialChar): delete new inset if we have
9950         not been able to insert it.
9951
9952         * kbmap.C: revert to using int instead of kb_action, since all we
9953         are dealing with is pseudo-actions.
9954
9955         * LyXAction.C (searchActionArg): change to return int instead of
9956         kb_action, since the result is a pseudoaction.
9957
9958 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9959
9960         * buffer.C (insertErtContents): Fix (partially) the font bug.
9961
9962 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9963
9964         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9965         as the other one is broken on my machine!
9966
9967 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9968
9969         * commandtags.h:
9970         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9971
9972 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9973
9974         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9975         reflect their actual use. Provide compatibility code for older lyxrc
9976         files.
9977
9978         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9979         FL_NORMAL_STYLE.
9980         change names of popup font variables in line with the changes to lyxrc.C
9981
9982 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9983
9984         * buffer.C (asciiParagraph): avoid outputing a word twice after
9985         an inset.
9986
9987         * lyxrc.C (getDescription): document that document_path and
9988         template_path can be empty.
9989
9990 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9991
9992         * LaTeXFeatures.C (getMacros):
9993         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9994
9995         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9996
9997         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9998         getPackages.
9999         (getPackages): rename feature "floats" to "float". Use an array to
10000         iterate over 'simple' features (i.e. just a \usepackage). Add
10001         handling of "amsmath" (renamed from "amsstyle").
10002
10003 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10004
10005         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10006         features list.
10007
10008 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10009
10010         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10011         FuncStaus::FuncStatus & FuncStaus::some_method().
10012
10013 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10014
10015         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10016         of the func_satus stuff. Edited and massaged in various ways by
10017         JMarc.
10018
10019         * lyxfunc.C (getStatus): use FuncStatus
10020
10021 2002-01-08  Juergen Vigna  <jug@sad.it>
10022
10023         * text.C (nextBreakPoint): use function Inset::isChar().
10024
10025         * paragraph.C (TeXOnePar): use function
10026         Inset::forceDefaultParagraphs.
10027
10028         * buffer.C (latexParagraphs): use function
10029         Inset::forceDefaultParagraphs.
10030
10031 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10032
10033         * lyx_gui.C (init): set the style of the menu popups to
10034         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10035
10036 2002-01-07  Juergen Vigna  <jug@sad.it>
10037
10038         * text.C (setHeightOfRow): small fix
10039         (prepareToPrint): don't look at alignment if we don't have the place
10040         for doing it.
10041
10042 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10043
10044         * box.C: New file. Move the Box methods and functions out of box.h,
10045         following Lars' suggestion.
10046
10047 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10048
10049         * box.h: #include "support/LOstream.h", needed for inlined function.
10050
10051         * lyxtextclass.C:
10052         * lyxtextclasslist.C: added some using std declarations.
10053
10054 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * box.h: make signed dimensions to allow insets wider than
10057           the screen (bug #162)
10058
10059         * BufferView_pimpl.C: add some insetHit debug
10060
10061 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * vc-backend.C: add FIXME
10064
10065 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * lyxfunc.C (getStatus): enable code for showing math font status
10068         in toolbar/menu.
10069
10070 2002-01-07  Juergen Vigna  <jug@sad.it>
10071
10072         * text.C (nextBreakPoint): removed debug output not needed anymore.
10073
10074 2002-01-06  Juergen Vigna  <jug@sad.it>
10075
10076         * text.C (nextBreakPoint): fixed up this function we had this bug
10077         since ever but now hopefully we break row better.
10078         (insertChar): we have to check if an inset is the next char as it
10079         could now happen that a large inset is causing a break.
10080
10081 2002-01-05  Juergen Vigna  <jug@sad.it>
10082
10083         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10084         if it doesn't like to be drawed.
10085
10086 2002-01-04  Juergen Vigna  <jug@sad.it>
10087
10088         * BufferView2.C (lockInset): forgot to set a cursor.
10089
10090         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10091
10092 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10093
10094         * FormMathsPanel.C:
10095         * FormMathsPanel.h
10096         * MathsSymbols.C:
10097         * form_maths_panel.C:
10098         * form_maths_panel.h:
10099         * form_maths_panel.fd: implemented sub- and super- buttons in math
10100         panel.
10101
10102         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10103         (or ^ space) to be used as in TeX (req'd by André).
10104
10105         * lyxfunc.C: Allow ^ and _ again to be used both as
10106         super/subscript (mathed) and as themselves (in text).
10107
10108 2002-01-03  Allan Rae  <rae@lyx.org>
10109
10110         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10111         "LyX" or the filename of the current buffer if it has one.  This is a
10112         modified form of John Levon's patch.
10113
10114         * XFormsView.C (setWindowTitle): also set icon title.
10115
10116         * LyXView.h (setWindowTitle): signature changed.
10117         * XFormsView.h (setWindowTitle): ditto.
10118
10119 2002-01-02  Juergen Vigna  <jug@sad.it>
10120
10121         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10122
10123 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10124
10125         * screen.C (topCursorVisible): introduce a temp var for
10126         text->cursor.row(), handle the case where this row is null. (kindo
10127         hachish)
10128
10129         * text2.C (setCursor): add a couple of asserts.
10130
10131         * paragraph.h (inset_iterator): add -> operator
10132
10133         * paragraph.[Ch] (autoDeleteInsets): remove member function
10134
10135         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10136         cursor pos correctly and handle inset deletion by itself.
10137         (insertErrors): move iterator declaration out of for expression
10138
10139         * lyxtextclass.C: add <algorithm>
10140
10141         * Makefile.am: added the new files to sources, removed layout.C
10142
10143         * layout.C: removed file
10144
10145         * layout.h: remove LYX_DUMMY_LAYOUT
10146
10147         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10148         layout.
10149
10150         * lyxlayout.[Ch]:
10151         * lyxtextclass.[Ch]:
10152         * lyxtextclasslist.[Ch]: new files
10153
10154         * include order changes to a lot of files, also changes because of
10155         the six new files.
10156
10157 2001-12-27  Juergen Vigna  <jug@sad.it>
10158
10159         * buffer.C (asciiParagraph): more fixes.
10160
10161         * tabular.C (ascii): make ascii export support export of only the
10162         data separated by a column-delimiter.
10163         (ascii): better support for ascii export.
10164
10165         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10166
10167 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10168
10169         * tabular_funcs.C: use a "using std::getline" instead of the
10170         previous fix from Angus (necessary for cxx + lyxstring)
10171
10172 2001-12-24  Juergen Vigna  <jug@sad.it>
10173
10174         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10175
10176         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10177         problems. First check a minipage also if we have some ert-contents
10178         (not only on par->size(), second set the right depth of the paragraph
10179         on the relink to the root-paragraph-list!
10180
10181         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10182         which then did not anymore update the main paragraphs on undo/redo!
10183
10184 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10187         code. Support all font-changing funcs (even those which are not in
10188         menu currently). Support for reporting font settings in
10189         mathed (disabled until Andre provides a function on mathed's side).
10190
10191         * func_status.h (toggle): small helper function to set toggle
10192         state on a flag.
10193
10194 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10195
10196         * tabular_funcs.C: getline -> std::getline
10197
10198 2001-12-21  Juergen Vigna  <jug@sad.it>
10199
10200         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10201         accessed and could be 0 (I couldn't generate this but it seems
10202         Michael could!).
10203
10204 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10205
10206         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10207         * tabular_funcs.h: here and include iosfwd
10208
10209 2001-12-20  Juergen Vigna  <jug@sad.it>
10210
10211         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10212         inside inset but undo_par was.
10213
10214 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10215
10216         * Thesaurus.C: always include <config.h> in sources.
10217
10218         * Painter.h:
10219         * lyxlookup.h:
10220         * box.h: do not include <config.h> in header files
10221
10222         * text.C (paintLastRow): remove unused variable
10223
10224         * text.C (transformChar):
10225         (insertChar):
10226         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10227
10228         * Painter.C (text):
10229         * font.C (width): rewrite to use uppercase() instead of
10230         islower/toupper.
10231
10232         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10233
10234 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * lyxfind.C: clean up of find failure position change
10237
10238 2001-12-20  Juergen Vigna  <jug@sad.it>
10239
10240         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10241
10242         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10243         (TeXRow): added to LaTeX a single tabular row.
10244         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10245         (Latex): simplified and finally good LT-h/f support.
10246         (various_functions): just small adaptions for LT-h/f support.
10247
10248         * tabular_funcs.[hC]: added and moved here all not classfunctions
10249         of LyXTabular.
10250
10251 2001-12-19  Juergen Vigna  <jug@sad.it>
10252
10253         * tabular.[Ch]: better support for longtabular options (not finished
10254         yet!)
10255
10256 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10257
10258         * text.C (paintLastRow): use the label font instead of the font of
10259         the last character to compute the size of *_BOX. This makes more
10260         sense and avoids a crash with empty paragraphs.
10261         Use Painter::rectangle to draw EMPTY_BOX.
10262
10263 2001-12-19  Juergen Vigna  <jug@sad.it>
10264
10265         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10266         the paragraphs if the replaced paragraph is not the first one!
10267         Tried to delete not used paragraphs but does not work yet so for
10268         now it's inside #ifdef's and by default off!
10269
10270 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10271
10272         * MenuBackend.C: include "lyx_main.h" instead of declaring
10273         lastfiles (actually was declared as LastFiles* instead of a
10274         scoped_ptr).
10275
10276 2001-12-17  Juergen Vigna  <jug@sad.it>
10277
10278         * tabular.C (AppendColumn): applied John's fix
10279
10280 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * BufferView.h:
10283         * BufferView.C:
10284         * BufferView_pimpl.h:
10285         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10286
10287         * Makefile.am:
10288         * box.h: new start of class for above
10289
10290         * lyxfunc.C: ignore space-only minibuffer dispatches.
10291           Show the command name when it doesn't exist
10292
10293         * minibuffer.C: don't add empty lines to the history
10294
10295         * minibuffer.C: add a space on dropdown completion
10296
10297 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10298
10299         * text.C: fix line above/below drawing in insets
10300
10301 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * lyxlength.C (LyXLength): Initialize private variables.
10304
10305 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10306
10307         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10308         when inserting error insets.
10309
10310 2001-12-13  Juergen Vigna  <jug@sad.it>
10311
10312         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10313         actually sometimes the before-paragraph.
10314         (setUndo): don't clear the redostack if we're not actually undoing!
10315
10316 2001-12-06  Juergen Vigna  <jug@sad.it>
10317
10318         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10319         and fixed redoing of main paragraph, so we can use it now ;)
10320
10321         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10322
10323 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10324
10325         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10326         Juergen's request
10327
10328 2001-12-13  André Pönitz <poenitz@gmx.net>
10329
10330         * undostack.[Ch]:
10331         * undo_func.C: minor cleanup
10332
10333 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10334
10335         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10336         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10337         font in urw-fonts package which is marked as -urw-fontspecific and
10338         does not work (incidentally, changing the encoding in the
10339         fonts.dir of this package to -adobe-fontspecific fixes the
10340         problem).
10341
10342         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10343         is a crash when undoing first paragraph (Juergen, please take a
10344         look). THis does not mean the undo fix is wrong, just that it
10345         uncovers problems.
10346
10347         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10348         the (Paragraph*) version when needed instead of duplicating the
10349         code.
10350
10351         * text.C (workWidth): use Inset::parOwner to find out where the
10352         inset has been inserted. This is a huge performance gain for large
10353         documents with lots of insets. If Inset::parOwner is not set, fall
10354         back on the brute force method
10355
10356         * paragraph_pimpl.C (insertInset):
10357         * paragraph.C (Paragraph):
10358         (cutIntoMinibuffer): set parOwner of insets when
10359         inserting/removing them
10360
10361         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10362
10363 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10364
10365         * commandtags.h:
10366         * LyXAction.C:
10367         * lyx_main.C:
10368         * lyxfunc.C:
10369         * mathed/formulabase.C:
10370         * mathed/math_cursor.[Ch]:
10371         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10372
10373
10374 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10375
10376         * lyxlength.[Ch] (operator!=): new function
10377
10378 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10379
10380         * text.C (workWidth): use Inset::parOwner to find out where the
10381         inset has been inserted. This is a huge performance gain for large
10382         documents with lots of insets. If Inset::parOwner is not set, fall
10383         back on the brute force method
10384
10385         * paragraph_pimpl.C (insertInset):
10386         * paragraph.C (Paragraph):
10387         (cutIntoMinibuffer): set parOwner of insets when
10388         inserting/removing them
10389
10390         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10391
10392 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10393
10394         * tabular-old.C (getTokenValue):
10395         * tabular.C (getTokenValue):
10396         (write_attribute): new versions for LyXLength
10397         (everywhere): adjust the use of widths
10398
10399         * tabular.h: change the type of widths from string to LyXLength
10400
10401 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10402
10403         * paragraph.C: fixed missing line number count when exporting
10404         Environments to LaTeX file
10405
10406         * buffer.C: added informational message for checking line numbers.
10407
10408 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409
10410         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10411         paragraph, do the 'double space' part, but not the 'empty
10412         paragraph' one.
10413
10414         * text.C (workWidth): small optimization
10415         (getLengthMarkerHeight): use minimal size for negative lengths.
10416
10417 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10418
10419         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10420
10421         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10422
10423 2001-12-11  André Pönitz <poenitz@gmx.net>
10424
10425         * FontLoader.C:
10426         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10427
10428 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * text2.C: keep selection on a setFont()
10431
10432 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * lyx_cb.C: another bv->text misuse, from insert label
10435
10436 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * kbsequence.h:
10439         * kbsequence.C: re-instate nmodifier mask
10440
10441 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10442
10443         * lyx_main.h: make lyxGUI private.
10444
10445 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * lyxfind.C: place the cursor correctly on failed search
10448
10449 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10450
10451         * text.C (getLengthMarkerHeight): for small heights, the arrows
10452         are not always on top/bottom of the text
10453         (drawLengthMarker): smaller arrows; take the left margin in
10454         account; draw also vfills.
10455         (paintFirstRow):
10456         (paintLastRow): remove special code for vfill and standard spaces,
10457         since everything is handled in drawLengthMarker now.
10458
10459 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * buffer.C (insertErtContents): try to handle font and language
10462         interaction a bit better.g
10463
10464         * ColorHandler.C (updateColor): change the hash to cover the whole
10465         LColor enum, ws cleanup
10466         (getGCLinepars): ditto
10467         (getGCLinepars): only lookup in the linecache once.
10468
10469 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10470
10471         * iterators.C (operator++): Make the iterator more robust
10472
10473         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10474         (John's patch)
10475         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10476
10477 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * lyxtext.h:
10480         * text.C: better added space drawing
10481
10482 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * LyXView.C:
10485         * BufferView2.C: fix layout combo update on inset unlock
10486
10487 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * Makefile.am: don't compile unused files
10490
10491 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10492
10493         * lyxfunc.C:
10494         * commandtags.h:
10495         * LyXAction.C: remove old LFUN_LAYOUTNO
10496
10497 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * paragraph_pimpl.h:
10500         * paragraph_pimpl.C: isTextAt() doesn't need font param
10501
10502 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * lyxlex.h:
10505         * lyxlex.C: little cleanup
10506
10507 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * BufferView_pimpl.C: fix insertAscii for insets
10510
10511 2001-12-05  Juergen Vigna  <jug@sad.it>
10512
10513         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10514         set the right font on the "multi" paragraph paste!
10515
10516 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * trans_decl.h:
10519         * trans_mgr.[Ch]:
10520         * trans.[Ch]:
10521         * lyxgluelength.C:
10522         * lyxlength.C: remove out-commented code.
10523
10524         * BufferView_pimpl:
10525         * CutAndPaste.C:
10526         * DepTable.C:
10527         * buffer.C:
10528         * chset.C:
10529         * lastfiles.C:
10530         * lyxlex.C:
10531         * lyxlex_pimpl.C:
10532         * lyxserver.C:
10533         * screen.C:
10534         * tabular-old.C:
10535         * tabular.C:
10536         * text.C:
10537         * trans_mgr.C:
10538         * vc-backend.C: change "while(" to "while ("
10539
10540         * lyxlength.[Ch]: add zero function to check if length is zero or
10541         not
10542         * lyxgluelength.C: use it
10543
10544 2001-12-05  Allan Rae  <rae@lyx.org>
10545
10546         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10547         Works for 2.95.3, from what I understand of Garst's reports this should
10548         work for other g++ versions.  We're screwed if the abs(int) definition
10549         changed between bugfix releases of gcc.
10550
10551 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10552
10553         * text.C: fix chapter label offset !
10554
10555 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * lyxtext.h:
10558         * text.C: fix hfill at end of line, clean up
10559
10560 2001-12-04  Juergen Vigna  <jug@sad.it>
10561
10562         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10563         that we force an update of the inset and it's owners if neccessary.
10564
10565 2001-12-03  Juergen Vigna  <jug@sad.it>
10566
10567         * text.C (rowLast): simplified code
10568
10569 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * lyxfunc.C: fix show options on timeout
10572
10573 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * screen.C (topCursorVisible): scroll half a page when the cursor
10576         reached top of bottom of screen
10577
10578 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10579
10580         * minibuffer.C: deactivate on loss of focus
10581
10582 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * vspace.[Ch] (operator!=): add operator.
10585
10586 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * BufferView_pimpl.C: refuse to open an inset when
10589         there's a selection.
10590
10591 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * BufferView_pimpl.C: allow to click on RHS of full row insets
10594
10595 2001-11-30  Juergen Vigna  <jug@sad.it>
10596
10597         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10598         insets for undo reasons.
10599
10600 2001-11-28  André Pönitz <poenitz@gmx.net>
10601
10602         * vspace.[Ch]: cosmetical changes
10603
10604 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * LyXAction.h:
10607         * LyXAction.C:
10608         * lyxfunc.h:
10609         * lyxfunc.C:
10610         * kbmap.h:
10611         * kbmap.C:
10612         * lyxrc.C:
10613         * kbsequence.h:
10614         * kbsequence.C: part re-write of old kb code
10615
10616         * Painter.C:
10617         * WorkArea.C: remove Lgb_bug_find_hack
10618
10619 2001-11-30  José Matos <jamatos@fep.up.pt>
10620
10621         * buffer.C (makeDocBookFile): add a comment to point a hack.
10622         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10623         Fixed a double write of labels.
10624
10625 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10626
10627         * LaTeX.C:
10628         * LaTeX.h Fixed bug in LaTeX class where it would not
10629         re-run latex if no depfiles were changed, but the .dvi was removed.
10630
10631 2001-11-28  André Pönitz <poenitz@gmx.net>
10632
10633         * all the files from the change on 2001/11/26:
10634         use lyx::layout_type instead of LyXTextClass::size_type
10635         use lyx::textclass_type instead of LyXTextClassList::size_type
10636
10637 2001-11-29  Juergen Vigna  <jug@sad.it>
10638
10639         * text.C: added support for paragraph::isFreeSpacing()
10640
10641         * buffer.C: same as above
10642
10643         * paragraph.h: inserted isFreeSpacing() function to enable
10644         FreeSpacing inside InsetERT.
10645
10646         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10647         of the paragraph's in the cut/copy buffer to 0!
10648
10649         * text2.C (removeRow): remove the assert as it can!
10650
10651         * lyxtext.h: added helper function firstRow returning firstrow and
10652         made firstrow private again.
10653
10654         * BufferView2.C (lockInset): don't relock if we're already locked!
10655
10656         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10657         the only paragraph.
10658         (removeRow): added Assert::(firstrow)
10659
10660         * debug.C: forgot to add INSETTEXT here.
10661
10662 2001-11-28  Juergen Vigna  <jug@sad.it>
10663
10664         * sp_spell.C (initialize): changed error text to more general
10665         spellchecker command use (not only ispell!)
10666
10667         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10668
10669         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10670
10671 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10672
10673         * vspace.C: initialise lyxgluelength on failure
10674
10675 2001-11-28  Allan Rae  <rae@lyx.org>
10676
10677         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10678         declaration & definition that looks like a function declaration.
10679
10680 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10681
10682         * BufferView2.C (copy):
10683         (copyEnvironment): do not clear the selection when doing a copy.
10684
10685         * text.C (paintFirstRow): compilation fix
10686
10687 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10688
10689         * tabular.C (Latex): correct line count when writing latex.
10690
10691 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * paragraph_pimpl.h:
10694         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10695           bug a bit
10696
10697 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10698
10699         * text.C:
10700         * LColor.h:
10701         * LColor.C: change vfillline->added_space
10702
10703         * text.C: add markers and text for added space
10704
10705         * vspace.C: fix comment
10706
10707 2001-11-28  André Pönitz <poenitz@gmx.net>
10708
10709         * paragraph.C: whitespace changes
10710         * all the other files from the change on 2001/11/26:
10711         change *::pos_type into lyx::pos_type
10712
10713 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10714
10715         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10716         language of the document when inserting error insets.
10717
10718 2001-11-26  André Pönitz <poenitz@gmx.net>
10719
10720         * BufferView_pimpl.[Ch]:
10721         *       CutAndPaste.C:
10722         * buffer.[Ch]:
10723         * lyxcursor.[Ch]:
10724         * lyxfind.C:
10725         * lyxfunc.C:
10726         * lyxrow.[Ch]:
10727         * paragraph.[Ch]:
10728         * paragraph_pimpl.[Ch]:
10729         * sp_spell.C:
10730         * text.C:
10731         * text2.C: reduce header dependencies, introduce type for positions
10732
10733 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * <various>: change to use Alert.h
10736
10737 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10738
10739         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10740         when encountering an unknown token.
10741         (readLyXformat2): Show an error message if there were unknown tokens.
10742
10743 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * BufferView2.C:
10746         * BufferView_pimpl.C:
10747         * buffer.C:
10748         * paragraph.h:
10749         * text.C:
10750         * text2.C: use par->isInset()
10751
10752 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * paragraph_pimpl.h:
10755         * paragraph_pimpl.C: cleanup
10756
10757 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10758
10759         * text2.C (removeRow):
10760         * text.C (setHeightOfRow): remove useless (and costly) call to
10761         getRow.
10762
10763 2001-11-20  Allan Rae  <rae@lyx.org>
10764
10765         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10766         Now need Inset*::checkInsertChar() to return true for appropriate
10767         cases so that the characters in the minibuffer will actually be
10768         inserted.
10769
10770 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10771
10772         * text.C: change the order of the includes.
10773         (workWidth): initialize it at once.
10774         (workWidth): make maxw unsigned
10775         (setHeightOfRow): remove unused variable (inset)
10776         (selectSelectedWord): remove unused variable (inset)
10777         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10778
10779 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10780
10781         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10782         server is not running.
10783         (openConnection):
10784         (closeConnection): add debug info when server is disabled.
10785
10786         * ColorHandler.C (getGCForeground): send debug message to GUI
10787         channel.
10788
10789         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10790
10791         * kbmap.C (bind): modify because return conventions of
10792         kb_sequence::parse have changed.
10793
10794         * kbsequence.C (parse): only ignore spaces and not any stupid
10795         control character. This avoids tests like s[i] <= ' ', which are
10796         guaranteed to fail with 8bit characters and signed chars.
10797         Change return code to string::npos when there have been no error
10798         (0 was a bad idea when error is at first character)
10799
10800 2001-11-14  José Matos  <jamatos@fep.up.pt>
10801
10802         * buffer.h:
10803         * buffer.C (simpleDocBookOnePar): removed unused argument.
10804
10805 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10806
10807         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10808         insets which are part of a word. Paragraph::isLetter takes care of
10809         that now. Use Paragraph::isInset to identify insets.
10810         (selectSelectedWord): do not test for hyphenation break.
10811
10812         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10813         that protected spaces are considered as spaces.
10814
10815         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10816         Inset::isLetter.
10817
10818 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * lyxserver.h:
10821         * lyxserver.C: fix it. and small cleanup.
10822
10823 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * BufferView_pimpl.C: use inline helpers
10826
10827         * LaTeXFeatures.h:
10828         * LaTeXFeatures.C: fix typos
10829
10830         * Spacing.h:
10831         * Spacing.C: move spacing_string into class
10832
10833         * ToolbarDefaults.C: move stuff into namespace anon
10834
10835         * layout.h: update enum
10836
10837         * lyxfunc.C: use better debug
10838
10839         * minibuffer.h: fix typo
10840
10841         * debug.h:
10842         * debug.C:
10843         * WorkArea.C: add and use Debug::WORKAREA
10844
10845         * lyxtext.h:
10846         * text.C:
10847         * text2.C: code re-organisation, inline helpers
10848
10849 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10850
10851         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10852         std::vector.empty().
10853
10854 2001-11-09  Allan Rae  <rae@lyx.org>
10855
10856         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10857         '\n's after tables.  Tabular and ERT inset work now makes this no
10858         longer necessary.
10859
10860 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * minibuffer.h:
10863         * minibuffer.C: fix crash, improve drop-down completion
10864
10865 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * lyxserver.h:
10868         * lyxserver.C: invalidate fd's when doing endPipe()
10869
10870 2001-11-08  José Matos  <jamatos@fep.up.pt>
10871
10872         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10873         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10874
10875         * paragraph.h:
10876         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10877
10878 2001-11-07  José Matos  <jamatos@fep.up.pt>
10879
10880         * buffer.h:
10881         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10882         const qualifier.
10883
10884         * buffer.C (sgmlOpenTag):
10885         * buffer.C (sgmlCloseTag): removed debug info.
10886
10887         * buffer.h (sgmlOpenTag):
10888         * buffer.h (sgmlCloseTag): made public.
10889
10890 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10891
10892         * buffer.C (saveParamsAsDefaults):
10893         * lyx_cb.C (MenuLayoutSave): remove
10894
10895         * LyXAction.C (init):
10896         * commandtags.h:
10897         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10898
10899 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10900
10901         * buffer.C (setPaperStuff): removed from here...
10902
10903         * bufferparams.C (setPaperStuff): ... and moved there.
10904
10905 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10906
10907         * minibuffer.h:
10908         * minibuffer.C:
10909         * XFormsView.C: add support for drop-down completion
10910
10911 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10912
10913         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10914         commands.
10915
10916 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10917
10918         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10919         disabled.
10920
10921 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * lyx_main.C: change ref to known bugs
10924
10925 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10926
10927         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10928         to work around older babel problems.
10929
10930 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10931
10932         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10933
10934 2001-10-24  Juergen Vigna  <jug@sad.it>
10935
10936         * tabular-old.C (ReadOld): below variable changes reflected.
10937
10938         * tabular.[Ch]: added ltType struct for longtable header/footer
10939         defines and changed all instances where they are used. Added
10940         future support for double top/bottom rows.
10941
10942 2001-10-24  José Matos  <jamatos@fep.up.pt>
10943
10944         * buffer.h (docbookHandleCaption):
10945         * buffer.C (docbookHandleCaption): removed unused function.
10946         (makeDocBookFile): moved docbook supported version to v4.1.
10947
10948 2001-10-24  José Matos  <jamatos@fep.up.pt>
10949
10950         * tabular.h:
10951         * tabular.C (docbookRow): new function to export docbook code of a row.
10952         (DocBook): now honors the longtable flags.
10953
10954 2001-10-23  José Matos  <jamatos@fep.up.pt>
10955
10956         * LaTeXFeatures.h:
10957         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10958         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10959
10960         * buffer.C (makeLinuxDocFile):
10961         (makeDocBookFile): reworked the preamble, more clean, and with
10962         support for lyx defined entities. Changed the document declaration
10963         to be more XML friendly.
10964
10965         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10966         if we need to output XML that should be done with a filter.
10967
10968 2001-10-22  Juergen Vigna  <jug@sad.it>
10969
10970         * sp_pspell.h (class PSpell): add alive function needed in the
10971         controller to see if the spellchecker could be started.
10972
10973 2001-10-22  Juergen Vigna  <jug@sad.it>
10974
10975         * buffer.C (insertStringAsLines): modify the font for inserting
10976         chars in certain conditions by calling checkInsertChar(font).
10977
10978 2001-10-19  Juergen Vigna  <jug@sad.it>
10979
10980         * text.C (workWidth): use getRow instead of wrong algorithm.
10981         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10982
10983 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * lyxserver.h:
10986         * lyxserver.C:
10987         * lyx_main.h:
10988         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10989
10990 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10991
10992         * text.C (workWidth): do not search for the exact row when
10993         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10994         optimization for big documents.
10995
10996 2001-10-18  Juergen Vigna  <jug@sad.it>
10997
10998         * text.C (workWidth): new function with added Inset * parameter.
10999
11000 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11001
11002         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11003
11004         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11005         change return type of getColumnNearX.
11006
11007
11008         * text.C (changeRegionCase): use uppercase/lowercase instead of
11009         toupper/tolower.
11010         (leftMargin):
11011         (rightMargin): simplify code by factoring out the uses of
11012         textclasslist.
11013         (labelFill):
11014         (numberOfHfills):
11015         (setHeightOfRow):
11016         (appendParagraph): use Paragraph::size_type
11017
11018 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11019
11020         * vspace.C (asLatexString): add a missing break
11021
11022 2001-10-15  Herbert Voss  <voss@perce.de>
11023
11024         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11025
11026 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11027
11028         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11029         is not available.
11030
11031 2001-10-10  André Pönitz <poenitz@gmx.net>
11032
11033         * lyxfunc.C: removed greek_kb_flag.
11034
11035 2001-10-10  Herbert Voss  <voss@perce.de>
11036
11037         * lyx_main.C: delete global string help_lyxdir.
11038
11039 2001-10-09  Herbert Voss  <voss@perce.de>
11040
11041         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11042
11043         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11044
11045         * lyx_main.C: added global string help_lyxdir.
11046
11047         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11048
11049 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11050
11051         * lyxrc.C (set_font_norm_type): support iso8859-4
11052
11053 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11054
11055         * LaTeX.C (deplog): add another regex for MikTeX
11056
11057 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11058
11059         * lyxrc.C (set_font_norm_type): support iso8859-3
11060
11061 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11062
11063         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11064
11065         * LaTeXFeatures.C: remove special case of french and index
11066
11067         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11068         before \begin{document}). This solves several incompatibilities.
11069
11070 2001-10-03  Garst Reese  <reese@isn.net>
11071
11072         * lyx_cb.C: change CheckTex error msg.
11073
11074 2001-10-03  José Matos  <jamatos@fep.up.pt>
11075
11076         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11077
11078 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11079
11080         * .cvsignore: update
11081
11082         * lyx_main.C (commandLineVersionInfo): use new style version info.
11083
11084         * buffer.C (writeFile):
11085         (makeLaTeXFile):
11086         (makeLinuxDocFile):
11087         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11088
11089         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11090
11091         * version.h: update to use stuff in version.C
11092
11093         * version.C.in: new file. Contains version information determined
11094         at compile time. This is a merging of version.h and
11095         version_info.h.in.
11096
11097 2001-10-03  Juergen Vigna  <jug@sad.it>
11098
11099         * BufferView_pimpl.C (update): don't change "dirty" status in
11100         updateInset call.
11101
11102 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11103
11104         * WorkArea.C (c-tor): re-position version string slightly.
11105
11106 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11107
11108         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11109         revert to previous code.
11110
11111         WorkArea.[Ch]: (show, destroySplash): methods removed.
11112
11113         WorkArea.C: rework code so that it's an amalgam of the codes before and
11114         after the splash screen was moved to WorkArea.
11115
11116 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * lyxrc.C (read):
11119         * vspace.C (inPixels):
11120         (lyx_advance):
11121         * kbmap.C (bind):
11122         * buffer.C (insertStringAsLines):
11123         (asciiParagraph): fix types to be large enough
11124
11125         * lyxlex_pimpl.h: change member status from short to int
11126
11127         * layout.h: fix type of endlabeltype
11128
11129         * kbmap.C (bind):
11130         * kbsequence.C (parse): change return type to string::size_type
11131
11132         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11133         variable
11134
11135         * Bullet.C (bulletSize):
11136         (bulletEntry): do not use short ints as parameters
11137
11138         * BufferView2.C (insertLyXFile): change a char to an int.
11139
11140         * WorkArea.C (WorkArea): remove unneeded floats in computation
11141
11142 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11143
11144         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11145
11146         * paragraph.C (asString): Do not ignore newline/hfill chars when
11147         copying to the clipboard.
11148
11149 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11150
11151         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11152         after a multi-line inset.
11153
11154 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11155
11156         * paragraph.C (validate): Set NeedLyXFootnoteCode
11157
11158 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11159
11160         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11161         and decrease-error to decrease.
11162
11163 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11164
11165         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11166         it more readable (should be equivalent)
11167
11168 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11169
11170         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11171
11172 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11173
11174         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11175         of a cursor (row, etc.) after a character has been deleted
11176         (deleteEmptyParagraphMechanism): call the method above on _all_
11177         cursors held by the LyXText when a double space has been
11178         detected/deleted.
11179
11180 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11181
11182         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11183         pixmap.
11184         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11185
11186         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11187         background. Use greyOut() and the new show() methods to toggle between
11188         the foreground and background. Add code to remove the splash after
11189         its initial showing.
11190
11191         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11192         (create_forms): no longer call Dialogs::showSplash.
11193
11194 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11195
11196         * .cvsignore: add version_info.h
11197
11198 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11199
11200         * version_info.h.in: new file
11201
11202         * Makefile.am: add version_info.h.in
11203
11204         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11205         version_info.h instead of VERSION_INFO
11206
11207 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11208
11209         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11210         The ERT inset now returns string().
11211
11212 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11213
11214         * lyxtext.h, text.C (selectNextWord): renamed as
11215         selectNextWordToSpellcheck.
11216
11217         * text.C (selectNextWordToSpellcheck): Modified to not select
11218         words inside an ERT inset.
11219
11220 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11221
11222         * lyx_cb.C (MenuLayoutSave): change a bit the question
11223
11224         * sp_base.h: include <sys/types.h>
11225
11226 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11227
11228         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11229
11230 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11231
11232         * several files: fix typos in user-visible strings
11233
11234 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11235
11236         * text2.C (pasteSelection): do not set the selection, since it
11237         will be cleared later. Actually, the intent was to fix the way the
11238         selection was set, but I figured rmoving the code was just as good.
11239
11240 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11241
11242         * FontLoader.C (available): Check if font is available without
11243         loading the font.
11244
11245 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11246
11247         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11248
11249 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11250
11251         * lyxrc.[Ch]: added display_graphics variable and associated code.
11252
11253 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11254
11255         * bufferparams.C (hasClassDefaults): new method. Returns true if
11256         the buffer parameters correspond to known class defaults
11257
11258 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11259
11260         * XFormsView.C (show): set minimum size to the main window.
11261
11262 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11263
11264         * text2.C (copySelection):
11265         (cutSelection):
11266         * lyxfind.C (LyXReplace):
11267         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11268         LyXText::selectionAsString.
11269
11270         * paragraph.C (asString): add "label" argument to the second form
11271
11272         * text2.C (selectionAsString): add "label" argument and pass it to
11273         Paragraph::asString.
11274
11275 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11276
11277         * lyx_main.C (commandLineHelp): remove version information
11278
11279 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11280
11281         * lyx_main.C: add -version commandline option
11282
11283 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11284
11285         * paragraph.h: make the optional constructor arg required instead.
11286         some modifications to other files because of this.
11287
11288         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11289
11290         * lyxserver.C (C_LyXComm_callback): make it static
11291
11292         * lyx_main.C (error_handler): make it static
11293
11294         * lyx_gui.C (LyX_XErrHandler): make it static
11295
11296         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11297
11298         * WorkArea.C: make the extern "C" methods static.
11299
11300         * Makefile.am (lyx_LDADD): simplify
11301
11302 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11303
11304         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11305         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11306
11307         * LyXAction.C (init):
11308         * lyxfunc.C (dispatch): associated code removal.
11309
11310 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11311
11312         * lyxfont.h (isSymbolFont): shut off warning
11313
11314         * text.C (setHeightOfRow):
11315         (getVisibleRow): fix crash with empty paragraphs which have a
11316         bottom line
11317
11318 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11319
11320         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11321         code.
11322
11323 2001-09-04  José Matos  <jamatos@fep.up.pt>
11324         * buffer.C
11325         * buffer.h
11326         * tabular.C (docbook): rename docBook method to docbook.
11327
11328 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11329
11330         * Makefile.am: add dependencies to main.o.
11331
11332 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11333
11334         * FontLoader.C (available): Return false if !lyxrc.use_gui
11335
11336 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11337
11338         * FontInfo.C (query):
11339         * converter.C (view):
11340         * importer.C (Import):
11341         * exporter.C (Export): Can not -> cannot.
11342
11343 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * BufferView_pimpl.C: allow to create index inset even if
11346           string is empty
11347
11348 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11349
11350         * buffer.C (getLists): replace boost::tie code with an explicit pair
11351         as boost::tie can break some compilers.
11352
11353         * iterators.h: Added a std:: declaration to the return type of
11354         ParIterator::size.
11355
11356 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11359           case.
11360
11361 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11362
11363         * iterators.[Ch]: New files. Provide paragraph iterators.
11364
11365         * buffer.C (changeLanguage): Use paragraph iterators.
11366         (isMultiLingual): ditto
11367
11368         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11369
11370 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11371
11372         * FontLoader.C: Support for cmr font.
11373
11374 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11375
11376         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11377         (available): New method.
11378
11379         * FontInfo.C (getFontname): Use scalable fonts even when
11380         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11381         found.
11382
11383 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11384
11385         * converter.C (Formats::view): reverted! Incorrect fix.
11386
11387 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11388
11389         * converter.C (Formats::view): only output the -paper option
11390         if the dvi viewer is xdvi, thereby fixing bug #233429.
11391
11392 2001-08-23  Herbert Voss  <voss@perce>
11393
11394         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11395
11396 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11397
11398         * Spacing.h (Spacing): Set space to Default on in the default
11399         constructor.
11400
11401 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11402
11403         * vc-backend.h (RCS::versionString): add RCS to version
11404         (CVS::versionString): add CVS to version
11405
11406         * vc-backend.C (scanMaster): do not add CVS to version.
11407         (scanMaster): do not add RCS to version
11408
11409         * lyxvc.C (versionString): new method
11410
11411         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11412
11413 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * Spacing.C (set): initialize fval
11416
11417 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11418
11419         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11420         " or \.
11421
11422 2001-08-16  Juergen Vigna  <jug@sad.it>
11423
11424         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11425
11426 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * BufferView_pimpl.C:
11429         * figureForm.C:
11430         * lyxtext.h:
11431         * text2.C: setParagraph takes linespacing now
11432
11433 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * LyxAction.C: add internal LFUN_CITATION_INSERT
11436
11437         * LyXView.C: actually apply fix
11438
11439         * bufferlist.C: fix open non-existent file
11440
11441         * lyxfind.C: fix indentation
11442
11443         * lyxfunc.C: remove unneeded assert, fix typo
11444
11445 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * MenuBackend.C: use "Floatname List"
11448
11449 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11450
11451         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11452         when converting LaTeX layout to insetERT.
11453         Generate a non-collapsed float when reading old float
11454
11455 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11456
11457         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11458         ERT insets.
11459
11460 2001-08-13  Juergen Vigna  <jug@sad.it>
11461
11462         * text.C (fill): return 0 instead of 20 as this seems to be the more
11463         correct value.
11464
11465 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11466
11467         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11468         lyxrc.font_norm.
11469
11470 2001-08-13  Juergen Vigna  <jug@sad.it>
11471
11472         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11473         casesensitive off.
11474         (SearchBackward): comment out the unlocking of the inset_owner this
11475         should not be needed!
11476
11477 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11478
11479         * Many files: Remove inherit_language, and add latex_language
11480
11481         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11482         collapsible insets.
11483
11484 2001-08-10  Juergen Vigna  <jug@sad.it>
11485
11486         * text.C (prepareToPrint): fixed hfill-width in draw!
11487
11488         * BufferView2.C (selectLastWord): save the selection cursor as this
11489         now is cleared in the function LyXText::clearSelection!
11490
11491 2001-08-08  Juergen Vigna  <jug@sad.it>
11492
11493         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11494         BACKSPACE type functions.
11495
11496         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11497         is only cutted from the document but not put in the cut-buffer, where
11498         still the old stuff should be.
11499
11500         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11501
11502         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11503
11504         * tabular.C (SetWidthOfCell): fixed special case where the width
11505         was not updated!
11506         (LeftLine): handle '|' in align_special.
11507         (RightLine): ditto
11508         (LeftAlreadyDrawed): ditto
11509         (SetWidthOfCell): ditto
11510
11511 2001-08-07  Juergen Vigna  <jug@sad.it>
11512
11513         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11514
11515 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11518         * lyxlex.[hC]: ditto
11519
11520 2001-08-06  Juergen Vigna  <jug@sad.it>
11521
11522         * text.C (getVisibleRow): fix up row clearing a bit.
11523
11524 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11525
11526         * minibuffer.C: make sure the X server sees the changes in the input.
11527
11528 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11529
11530         * paragraph.C (getFont): split into...
11531         (getLabelFont): this
11532         (getLayoutFont): and this
11533         * paragraph_pimpl.C (realizeFont): calling this
11534
11535         * text2.C (getFont): split into...
11536         (getLayoutFont): this
11537         (getLabelFont): and this
11538         (realizeFont): all three calling this
11539
11540         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11541         files where used.
11542
11543 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11544
11545         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11546
11547 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11548
11549         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11550         layouts from the Quote inset insertion.
11551
11552 2001-08-03  Juergen Vigna  <jug@sad.it>
11553
11554         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11555
11556         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11557         only if status not is already CHANGED_IN_DRAW (second level).
11558
11559         * text.C (draw): don't set the need_break_row when inside an
11560         InsetText LyXText.
11561
11562 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11563
11564         * buffer.C (parseSingleLyXformat2Token): handle more latex
11565         conversion cases.
11566
11567         * bufferview_funcs.[hC]: change function names to
11568         begin with small char, adjust other files.
11569
11570 2001-08-02  André Pönitz <poenitz@gmx.net>
11571
11572         * lyxfunc.C:
11573         BufferView_pimpl.C: remove broken special code for math-greek
11574
11575 2001-08-02  Juergen Vigna  <jug@sad.it>
11576
11577         * BufferView_pimpl.C (update): redone this function so that we
11578         update the text again if there was a CHANGE_IN_DRAW.
11579
11580         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11581         (drawFromTo): added a new internal bool which is used by draw() and
11582         redraw() function.
11583         (general): some cursor drawing problems fixed.
11584
11585 2001-08-01  Juergen Vigna  <jug@sad.it>
11586
11587         * lyxfind.C (LyXFind): fixed
11588         (SearchForward): ditto
11589         (SearchBackward): ditto
11590
11591         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11592         spurius drawing of the cursor in the main area.
11593
11594         * text2.C (status): small fix which could lead to a segfault!
11595         (clearSelection): remove unneeded BufferView param.
11596
11597 2001-08-01  André Pönitz <poenitz@gmx.net>
11598
11599         * lyxfunc.C: small change due to changed mathed interface
11600
11601 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11602
11603         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11604
11605 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * lyxfunc.c: fail gracefully if file doesn't exist
11608
11609         * LyXSendto.C:
11610         * buffer.C:
11611         * lyxfunc.C:
11612         * BufferView_pimpl.C: IsDirWriteable() proto changed
11613
11614         * LyXView.C: fix updateWindowTitle() to store the last title
11615
11616 2001-07-31  Juergen Vigna  <jug@sad.it>
11617
11618         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11619         the font (wrong since using of Paragraph::highestFontInRange).
11620
11621         * paragraph.C (highestFontInRange): added a default_size parameter.
11622
11623         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11624         (setHeightOfRow): reformat
11625
11626 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * converter.[hC] + affected files: move to (inital-char)lowercase
11629         function names.
11630
11631         * ParagraphParameters.C (ParagraphParameters): remove commented code
11632
11633         * PainterBase.[Ch]: remove commented code
11634
11635         * LaTeXFeatures.h: add "bool floats" for float.sty
11636
11637         * LaTeXFeatures.C (LaTeXFeatures): init floats
11638         (require): handle float
11639         (getPackages): do it with floats
11640
11641 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11642
11643         * BufferView_pimpl.C (Dispatch): improve handling of
11644         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11645
11646         * commandtags.h: #include lyxfont.h here temporarily to avoid
11647         keybinding bug.
11648
11649         * bufferlist.h: include LString.h here.
11650
11651 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11652
11653         * text2.C (getStringToIndex): new method.
11654
11655 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11656
11657         * *: Reduced header file dependencies all over.
11658
11659 2001-07-30  Baruch Even  <baruch@lyx.org>
11660
11661         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11662
11663 2001-07-29  Baruch Even  <baruch@lyx.org>
11664
11665         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11666
11667 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * ParameterStruct.h (endif): add a default constructor to make
11670         sure that all variables is initialized.
11671
11672         * ParagraphParameters.C (ParagraphParameters): adjust
11673
11674 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11675
11676         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11677         index; also, check that there is something to index, and that it
11678         does not span over several paragraphs.
11679         (doubleClick): use WHOLE_WORD_STRICT for double click.
11680
11681         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11682
11683         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11684         scheme.
11685
11686 2001-07-26  Baruch Even  <baruch@lyx.org>
11687
11688         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11689         an InsetFig figure, backwards compatible reading of old figure code.
11690
11691 2001-07-27  Juergen Vigna  <jug@sad.it>
11692
11693         * text2.C: font.realize function adaption.
11694
11695         * text.C (draw): add a warnings lyxerr text if needed.
11696
11697         * layout.C: font.realize function adaption.
11698
11699         * language.C: add inherit_language and implement it's handlings
11700
11701         * bufferview_funcs.C (StyleReset): remove language parameter from
11702         font creation (should be language_inherit now).
11703
11704         * bufferparams.C (writeFile): handle ignore_language.
11705
11706         * paragraph.C (getFontSettings): the language has to be resolved
11707         otherwise we have problems in LyXFont!
11708
11709         * lyxfont.C (lyxWriteChanges): added document_language parameter
11710         (update): removed unneeded language parameter
11711
11712         * paragraph.C (validate): fixed wrong output of color-package when
11713         using interface colors for certain fonts in certain environments,
11714         which should not seen as that on the final output.
11715
11716 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * BufferView_pimpl.C:
11719         * Thesaurus.h:
11720         * Thesaurus.C:
11721         * Makefile.am:
11722         * commandtags.h:
11723         * LyXAction.C: add thesaurus support
11724
11725         * lyxfind.h:
11726         * lyxfind.C: add "once" parameter, for thesaurus, to not
11727           move to the next match
11728
11729 2001-07-26  Juergen Vigna  <jug@sad.it>
11730
11731         * lyxfont.C (realize): honor ignore_language too!
11732         (resolved): ditto.
11733
11734         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11735
11736         * text.C (draw): one place more for ignore_language to not draw
11737         itself!
11738
11739 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11740
11741         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11742
11743 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11746         the minipage conversion problem.
11747
11748 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11749
11750         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11751         insert an inset.
11752
11753 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11754
11755         * BufferView.h: don't forward declare WorkArea
11756
11757         * BufferView.C: don't include WorkArea.h
11758
11759 2001-07-25  André Pönitz <poenitz@gmx.net>
11760
11761         * commandtags.h:
11762         * LyXAction.C:
11763         * lyxfunc.C:  new LFUN 'math-space'
11764
11765         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11766
11767 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11768
11769         * text2.C (toggleInset): call open/close
11770
11771 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * lyxfunc.C (dispatch): add debug for the disabled case
11774
11775         * font.C (buttonText): make similar to rectText
11776
11777         * buffer.C (readInset): comment out parsing of insetlist and
11778         insttheorem
11779
11780         * PainterBase.C (rectText): small correction
11781
11782         * BufferView_pimpl.C: comment out insettheorem and insetlist
11783         * LyXAction.C: ditto
11784         * commandtags.h: ditto
11785
11786 2001-07-24  Juergen Vigna  <jug@sad.it>
11787
11788         * text.C (draw): honor the ignore_language.
11789
11790         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11791
11792 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11793
11794         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11795         char inset.
11796
11797 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11798
11799         * lyxtext.h: remove unused (and unimplemented) methods
11800
11801 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11802
11803         * text.C (getVisibleRow): honor background color
11804
11805         * PainterBase.h:
11806         * Painter.h: remove default color argument for fillRectangle
11807
11808         * text.C (backgroundColor): new method
11809
11810 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * text.C (getVisibleRow): adjust
11813
11814         * font.[Ch] (rectText): new method, metrics
11815         (buttonText): new method, metrics
11816
11817         * PainterBase.[hC]: make rectText and buttonText always draw and take
11818         fewer paramteres.
11819
11820 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11821
11822         * ToolbarDefaults.C (read):
11823         * MenuBackend.C (read): allow escaping in all strings
11824
11825         * BufferView_pimpl.C (insertAndEditInset): new method.
11826         (Dispatch): use insertAndEditInset whenever appropriate.
11827
11828         * BufferView_pimpl.C (insertNote): removed
11829
11830         * BufferView_pimpl.C (smartQuote): new method, moved from
11831         BufferView; if an insetquote cannot be inserted, insert a '"'
11832         character instead.
11833
11834         * BufferView2.C: remove insertCorrectQuote();
11835
11836         * lyxfunc.C (getStatus): Add support for all remaingin
11837         inset-insert lfuns.
11838
11839         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11840
11841         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11842         command (necessary to pass " as parameter of self-insert.
11843
11844         * text.C (selectWordWhenUnderCursor):
11845         (selectWord): add word_location parameter
11846         (selectWordWhenUnderCursor): same + remove special code for word
11847         boundary.
11848         (selectNextWord): use kind() to guess type of insetspecialchar,
11849         not latex().
11850
11851         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11852         (insertErtContents): create ert insets as collapsed.
11853         (readInset): better compatibility code for Info inset.
11854
11855 2001-07-20  Juergen Vigna  <jug@sad.it>
11856
11857         * lyxfunc.C (dispatch): use always LyXFind now!
11858
11859         * text2.C (init): add a reinit flag so that the LyXText can be
11860         reinited instead of deleted and reallocated (used in InsetText).
11861
11862         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11863
11864         * text.C: ditto
11865
11866         * text2.C: ditto
11867
11868 2001-07-18  Juergen Vigna  <jug@sad.it>
11869
11870         * text.C (selectNextWord): handle insets inside inset by calling
11871         always the bv->text functions so that we can go up the_locking_inset!
11872
11873         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11874         in strange locations when inside an inset!
11875
11876         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11877         handling to include insets.
11878
11879         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11880
11881 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11882
11883         * LyXAction.C (init):
11884         * commandtags.h:
11885         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11886         LIGATURE_BREAK, since the name is so stupid.
11887
11888 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11891         InsetInfos.
11892
11893         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11894
11895         * sp_form.[Ch]: remove.
11896
11897         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11898
11899         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11900         InsetInfo.
11901
11902         * src/buffer.C (readInset): ditto.
11903
11904 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11905
11906         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11907         menuSeparator(), endOfSentenceDot(), ldots() and
11908         hyphenationPoint(), which are therefore removed.
11909         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11910
11911         * LyXAction.C (init):
11912         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11913
11914         * paragraph.C (getWord): removed.
11915
11916         * BufferView_pimpl.C (Dispatch): use last word or selection for
11917         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11918
11919         * lyx_main.C (queryUserLyXDir): do not ask before creating
11920         user_dir, except if it has been named explicitely.
11921
11922 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11925         a document of zero size.
11926
11927 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11930         approriately in the c-tor and in require().
11931         (getPackages): output the appropriate LaTeX for natbib support.
11932
11933         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11934         variables "use_natbib" and "use_numerical_citations" when reading the
11935         LyX file.
11936         (readInset): read the various natbib cite commands.
11937         (validate): white-space change.
11938
11939         * bufferparams.[Ch]: new variables "bool use_natbib" and
11940         "bool use_numerical_citations".
11941         (writeFile): output them in the LyX file.
11942
11943 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11944
11945         * lyxfunc.C (getStatus): add support for all the inset insertion
11946         commands.
11947
11948         * text2.C (insertInset):
11949         * paragraph.C (insetAllowed):
11950         * BufferView_pimpl.C (insertInset): update to take in account the
11951         renaming of insertInsetAllowed
11952
11953         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11954
11955         * text2.C (getInset): new method. returns inset at cursor position.
11956
11957         * BufferView_pimpl.C (Dispatch): changes because of this.
11958
11959         * LyXAction.C (init): rename open-stuff to inset-toggle.
11960
11961         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11962
11963         * text2.C (toggleInset): renamed from openStuff; use
11964         Inset::open().
11965
11966 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11967
11968         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11969
11970         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11971
11972 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11973
11974         * buffer.C (readLyXformat2): Add filename to the error dialog
11975
11976 2001-07-18  Juergen Vigna  <jug@sad.it>
11977
11978         * tabular.C (GetCellNumber): put an assert here instead of the check!
11979
11980 2001-07-17  Juergen Vigna  <jug@sad.it>
11981
11982         * BufferView_pimpl.C (toggleSelection): adapted too.
11983
11984         * text.C (selectNextWord): adapted for use with insets.
11985         (selectSelectedWord): ditto
11986
11987 2001-07-17  Juergen Vigna  <jug@sad.it>
11988
11989         * sp_spell.C (PSpell): fix initialitation order.
11990
11991 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11992
11993         * paragraph.C: spacing
11994
11995 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11996
11997         * sp_spell.C: repair language selection for pspell
11998
11999 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * lyxfunc.h: change more methods to begin with lower char.
12002
12003 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12004
12005         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12006         for unknown layouts.
12007
12008 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12009
12010         * buffer.C (readLyXformat2): Generate an error dialog if there are
12011         unknown layouts.
12012
12013 2001-07-16  Juergen Vigna  <jug@sad.it>
12014
12015         * sp_spell.C: always compile ISpell part.
12016
12017         * lyxrc.C: added use_pspell entry and it's handling.
12018
12019 2001-07-13  Juergen Vigna  <jug@sad.it>
12020
12021         * sp_spell.C: removed double includes.
12022
12023 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12024
12025         Consistent use of Lsstream.h:
12026         * Lsstream.h: added using std::stringstream for consistencies sake.
12027
12028         * buffer.C: removed using std::stringstream
12029
12030         * lyxfont.C (stateText):
12031         * paragraph.C (asString):
12032         * text.C (selectNextWord, selectSelectedWord):
12033         * text2.C (setCounter):
12034         * vspace.C (asString, asLatexString):
12035         std::ostringstream -> ostringstream.
12036
12037 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12038
12039         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12040         * commandtags.h: add LFUN_HELP_ABOUTLYX
12041         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12042
12043 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12044
12045         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12046         cursorToggle()
12047         * lyx_gui_misc.C: remove spellchecker
12048         * lyxfunc.C: showSpellchecker
12049         * sp_base.h: added
12050         * sp_ispell.h: added
12051         * sp_pspell.h: added
12052         * sp_spell.C: added
12053         * sp_form.[Ch]: removed
12054         * spellchecker.[Ch]: removed
12055
12056 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12057
12058         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12059         is set.
12060         (simpleTeXSpecialChars): Simply print the input character without
12061         any special translation if pass_thru is set.
12062
12063         * layout.h: Added bool pass_thru to layout class for being able to
12064         implement pass through of a paragraph for Literate Programming.
12065
12066         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12067         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12068         * layout.C (Read): add "passthru" to list of layout tags and add
12069         code to set the pass_thru boolean when it is read.
12070
12071 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12072
12073         * trans_decl.h: remove allowed from KmodInfo
12074
12075         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12076         remove allowed code
12077         (Load): adjust
12078
12079         * paragraph_pimpl.C (erase): use boost::prior
12080
12081         * Painter.C (text): use data() instead of c_str() when length is
12082         also provided.
12083         * WorkArea.C (putClipboard): ditto
12084         * font.h (width): ditto
12085
12086         * BufferView2.C: use it-> instead of (*it). for iterators
12087         * texrow.C: ditto
12088         * paragraph_pimpl.C: ditto
12089         * paragraph.C: ditto
12090         * minibuffer.C: ditto
12091         * language.C: ditto
12092         * kbmap.C: ditto
12093         * encoding.C: ditto
12094         * counters.C: ditto
12095         * converter.C: ditto
12096         * chset.C: ditto
12097         * Variables.C: ditto
12098         * TextCache.C: ditto
12099         * MenuBackend.C: ditto
12100         * LyXAction.C: ditto
12101         * LColor.C: ditto
12102         * FloatList.C: ditto
12103         * DepTable.C: ditto
12104         * ColorHandler.C (LyXColorHandler): ditto
12105
12106 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12107
12108         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12109
12110         * text2.C (openStuff): reintroduce this method (which had been
12111         nuked in NEW_INSETS frenzy).
12112
12113         * lyxfunc.C (Dispatch): when an action has not been handled, use
12114         its name in the error message, not its number.
12115
12116         * paragraph.C (inInset): change method name to begin with lowercase.
12117
12118         * undo_funcs.C:
12119         * text2.C: updates because of this.
12120
12121 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12122
12123         * ToolbarDefaults.C (add): add spaces in error message
12124
12125 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12128         (readLyXformat2): rename return_par to first_par, use lyxlex's
12129         pushToken and remove the manual push handling.
12130         (parseSingleLyXformat2Token): add another ert comp. variable:
12131         in_tabular, rename return_par to first_par. handle newlines better
12132
12133 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12134
12135         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12136
12137 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12138
12139         * text2.C (getParFromID): removed
12140
12141         * buffer.C (getParFromID): new method moved form lyxtext.
12142         * BufferView2.C (insertErrors): adjust
12143         (setCursorFromRow): adjust
12144         * BufferView_pimpl.C (restorePosition): adjust
12145         * lyxfunc.C (Dispatch): adjust
12146         * undo_funcs.C (textUndo): adjust
12147         (textRedo): adjust
12148         (textHandleUndo): adjust
12149         (textHandleUndo): adjust
12150
12151 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12152
12153         * buffer.C: up' the LYX_FORMAT
12154
12155         * lyxfont.h: turn NO_LATEX on as default
12156
12157         * buffer.C (insertErtContents): new methods of tex style compability.
12158         (parseSingleLyXformat2Token): use it several places.
12159         * tabular.C (OldFormatRead): and here
12160
12161 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * text2.C: remove some commented code.
12164         reindent file.
12165
12166         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12167         * trans.C: changes because of the above.
12168
12169 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12170
12171         * text2.C (setCounter): Fix counters bug with bibliography layout.
12172
12173 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12174
12175         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12176         own member functions
12177         (simpleTeXSpecialChars): ditto
12178
12179 2001-07-06  Juergen Vigna  <jug@sad.it>
12180
12181         * a lot of files: changed the access to LyXText::status and the
12182         call of undo-functions.
12183
12184         * undo.[Ch]: added a inset_id to the undo informations.
12185
12186         * undo_funcs.[Ch]: added and moved here all undo functions.
12187
12188         * lyxtext.h: give the status enum a weight, made status_ a private
12189         variable and made accessor functions for it, removed the whole bunch
12190         of undo-functions as they are now in their own file, make some
12191         functions publically available. Added function ownerParagraph with
12192         int parameter.
12193
12194         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12195         made InInset() a const function, added getParFromID() function.
12196
12197         * buffer.[Ch]: added const version for inset_iterator functions,
12198         added getInsetFromID() function.
12199
12200         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12201         changed undo functions for new version.
12202
12203 2001-07-05  Juergen Vigna  <jug@sad.it>
12204
12205         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12206         unknow mechanism does not call the proper constructor but only this
12207         one also if I request the other!?
12208
12209 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12212
12213         * text2.C (LyXText): use initialization lists.
12214
12215         * lyxtext.h (Selection): initialize set_ and mark_
12216         (init): remove method
12217
12218 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12219
12220         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12221
12222 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * screen.[Ch]: change method names to begin with lowercase
12225
12226         * BufferView_pimpl.C (updateScrollbar): simplify further and
12227         hopefully make it a bit faster.
12228
12229 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12230
12231         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12232         calling directly xforms functions.
12233
12234         * Painter.C (Painter):
12235         * lyx_cb.C (MenuWrite):
12236         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12237         fl_display.
12238
12239         * lyx_gui.C: remove bogus guiruntime extern declaration.
12240
12241 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12244         in NEW_INSETS
12245         (redoDrawingOfParagraph): ditto
12246         (redoParagraphs): ditto
12247         (cutSelection): don't create a object for CutAndPaste use the
12248         static method directly
12249         (pasteSelection): ditto
12250
12251         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12252         LyXview (+ rename)
12253
12254 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * modifications to some other files because of this.
12257
12258         * Makefile.am (lyx_SOURCES): add XFormsView
12259
12260         * XFormsView.[Ch]: new files
12261
12262         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12263         the main window. Move the gui dependent stuff to XFormsView
12264
12265 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12266
12267         * tabular.C (GetCellInset): update cur_cell also in the row/col
12268         version of this function.
12269
12270         * lyxfunc.C: no need to include figure_form.h here.
12271
12272         * FontLoader.h:
12273         * lyxfunc.h:
12274         * lyxscreen.h:
12275         * text2.C:
12276         * lyxvc.C: no need to include forms.h here.
12277
12278 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12279
12280         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12281
12282         * lyxfunc.C (Dispatch):
12283         * Spacing.C (set):
12284         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12285         constructor argument.
12286
12287 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12288
12289         * paragraph.C (Paragraph): dont't clear, and just set layout.
12290         (makeSameLayout): use params's copy contructor.
12291
12292         * ParagraphParameters.[Ch] (makeSame): delete method
12293
12294 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * Variables.[Ch]: fix indentation, rename set to isSet
12297
12298 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12299
12300         * lyxfunc.C (Dispatch): fix typo
12301
12302 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12303
12304         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12305         upper_bound.
12306
12307         * bufferlist.C: include assert.h for emergencyWrite().
12308
12309 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12312           give up at last (bug #425202) !
12313
12314 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * lyx_gui_misc.C:
12317         * sp_form.h:
12318         * sp_form.C:
12319         * spellchecker.h:
12320         * spellchecker.C: strip spellchecker options and bring up
12321           preferences tab instead
12322
12323 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12324
12325         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12326         the istringstream constructor
12327
12328 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12329
12330         * paragraph.C (getLayout): fix return value
12331
12332         * paragraph.h: do not declare getLayout as inline.
12333
12334         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12335
12336 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * lyxcursor.h (operator<): new func
12339         (operator>): new func
12340         (operator>=): new func
12341         (operator<=): new func
12342
12343         * text.C (changeCase): use selection.start and selection.end
12344         (changeRegionCase): require from to be <= to. Require par to be a
12345         valid paragraph.
12346
12347         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12348
12349 2001-06-27  Juergen Vigna  <jug@sad.it>
12350
12351         * text.C (cursorLeftOneWord): changed to return the cursor and added
12352         overlay with BufferView * parameter which calls this one.
12353         (getWord): added
12354         (selectWord): use new getWord function.
12355         (changeCase): renamed from changeWordCase as and extended to work
12356         also on selections.
12357
12358         * lyxtext.h: added enum word_location
12359
12360         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12361         changeCase as this operates now also on selections.
12362
12363 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12364
12365         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12366
12367         * many files: send debug output to Debug::INFO instead of
12368         Debug::ANY.
12369
12370         * converter.C (View):
12371         (Convert):
12372         (Move): send debug output to Debug::FILES instead of console.
12373
12374 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12375
12376         * lyxfunc.C (getStatus): use func_status
12377
12378         * func_status.h: new header, describing the results of
12379         LyXFunc::getStatus;
12380
12381         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12382         LFUN_MATH_HALIGN.
12383
12384 2001-06-25  The LyX Project  <jug@sad.it>
12385
12386         * buffer.C (sgmlOpenTag):
12387         (sgmlCloseTag):
12388         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12389
12390 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * text2.C: remove some dead code
12393
12394         * tabular.C (GetCellInset): store the last cell checked (gotten)
12395
12396         * tabular.h: add the helper for the speedup
12397
12398         * lyxtext.h: remove some dead code
12399
12400 2001-06-26  The LyX Project  <Asger>
12401
12402         * paragraph.C: Change export to LaTeX of alignment to
12403         \begin{center} and family for better roundtrip work with reLyX.
12404
12405         * Tune the math drawing a bit.
12406
12407 2001-06-25  The LyX Project  <Asger>
12408
12409         * LColor.C (LColor): New color for math background. New color
12410         for buttons.
12411
12412 2001-06-25  The LyX Project  <jug@sad.it>
12413
12414         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12415
12416         * lyxfunc.C (Open):
12417         * bufferlist.C (newFile): do not restrict to files ending with
12418         .lyx
12419
12420         * BufferView_pimpl.C (MenuInsertLyXFile):
12421
12422 2001-06-24  The LyX Project  <jug@sad.it>
12423
12424         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12425         of compare_no_case
12426
12427 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12428
12429         * lyxtext.h: rename most methods to begin with a small char.
12430         Lots of changes because of this.
12431
12432         * paragraph.C (Paragraph): do not call fitToSize
12433         (erase): call Pimpl::erase
12434         (insertChar): call Pimpl::insertChar
12435         (insertInset): call Pipl::insertInset
12436         (breakParagraph): do not call fitToSize
12437         (breakParagraphConservative): do not call fitToSize
12438         (fitToSize): remove method
12439
12440         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12441
12442 2001-06-24  The LyX Project  <Asger>
12443
12444         * Fix Qt compilation^2
12445
12446 2001-06-24  The LyX Project  <jug@sad.it>
12447
12448         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12449         depthHook(getDepth()-1).
12450
12451         * paragraph.h:
12452         * ParagraphParameters.h:
12453         * ParameterStruct.h: change type of depth to unsigned int ==
12454         depth_type. Many adaptations to other files before of that.
12455
12456 2001-06-24  The LyX Project  <Asger>
12457
12458         * Fix Qt compilation.
12459
12460 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12461
12462         * paragraph.h: renamed several methods to begin with small letter.
12463         several changes to many parts of the code because of this.
12464
12465 2001-06-23  The LyX Project  <jug@sad.it>
12466
12467         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12468         rewritten to discard all double spaces when KeepEmpty is off
12469         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12470         to only handle newlines but not fiddle with spaces and friends.
12471
12472         * lyxfunc.C (MenuNew): when doing 'new from template', use
12473         template_path as default directory
12474
12475 2001-06-23  The LyX Project  <Asger>
12476
12477         * Clean-up of header file includes all over
12478         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12479
12480 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12481
12482         * paragraph.h: renamed from lyxparagraph.h
12483
12484 2001-06-23  Asger  <lyx@violet.home.sad.it>
12485
12486         * Buffer.h: Removed Buffer::resize
12487         * BufferList.h: Removed BufferList::resize
12488         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12489         the document lazily when we change the width, or the font settings.
12490
12491 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12494
12495 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * buffer.h: remove out of date comment
12498
12499 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * lyxscreen.h:
12502         * screen.C: fix "theoretical" GC leak
12503
12504 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12505
12506         * LaTeX.C (scanAuxFile):
12507         (deplog): remove trailing \r when reading stream (useful under
12508         win32)
12509
12510 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12511
12512         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12513         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12514         and BufferView::theLockingInset(Inset*), so should use them and not
12515         access bv_->text->the_locking_inset directly.
12516
12517         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12518
12519 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * Makefile.am:
12522         * tex-defs.h: remove old unused file
12523
12524 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * BufferView_pimpl.C: fix typo, remove minibuffer message
12527           when buffer has loaded
12528
12529 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12530
12531         * lyxfunc.C (Dispatch): use stringstream
12532         (MenuNew): use stringstream
12533         (Open): use stringstream
12534
12535         * importer.C (Import): use stringstream
12536
12537         * bufferview_funcs.C (CurrentState): use stringstream
12538
12539         * LaTeX.C (run): use stringstream
12540
12541         * BufferView_pimpl.C (savePosition): use stringstream
12542         (restorePosition): use stringstream
12543         (MenuInsertLyXFile): use stringstream
12544
12545 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12546
12547         * BufferView.C:
12548         * Bullet.C:
12549         * ColorHandler.C:
12550         * FontInfo.C:
12551         * FontLoader.C:
12552         * LColor.C:
12553         * LaTeXFeatures.C:
12554         * Painter.C:
12555         * gettext.C:
12556         * lyx_gui_misc.C:
12557         * lyxserver.C:
12558         * vspace.C: removed // -*- C++ -*- as first line.
12559
12560         * lyxfind.h:
12561         * version.h: added // -*- C++ -*- as first line.
12562
12563 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12564
12565         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12566
12567         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12568         of string
12569
12570 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12573         of floats.
12574
12575 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12576
12577         * gettext.C: include LString.h even when --disable-nls is on.
12578
12579 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12580
12581         * converter.h (Get): changed argument type from int to
12582         FormatList::size_type to avoid unnecessary conversion.
12583
12584         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12585         before using it.
12586
12587 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12588
12589         * gettext.h: include LString.h even when --disable-nls is on.
12590
12591 2001-06-07  Juergen Vigna  <jug@sad.it>
12592
12593         * text.C (BreakAgain): subst spaces with tabs.
12594
12595         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12596         (resizeInsetsLyXText): set force on resizeLyXText.
12597
12598 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12599
12600         * gettext.h (gettext_init):
12601         (locale_init): use a real definition instead of a macro
12602
12603 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * Bufferview_pimpl.C:
12606         * LColor.h:
12607         * LColor.C: further lcolor tidies
12608
12609 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * BufferView_pimpl.C (updateScrollbar): simplify.
12612
12613         * BufferView2.C: don't include insets/insetinfo.h, change
12614         prototype for insertInset and call the Pimpl version. let
12615         updateInset call Pimpl version.
12616
12617         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12618         gotoInset to BufferView::Pimpl
12619
12620 2001-06-01  Juergen Vigna  <jug@sad.it>
12621
12622         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12623         inside a LockingInset (is the update needed at all?).
12624
12625 2001-05-31  Juergen Vigna  <jug@sad.it>
12626
12627         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12628         here not the old one otherwise how should we compare it afterwards
12629         if it's the same!
12630
12631 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12632
12633         * lyxfont.C:
12634         * tabular.C:
12635         * tabular-old.C:
12636         * FontInfo.C: bring C functions into global namespace when
12637         necessary
12638
12639 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12640
12641         * LString.h: make sure config.h has been loaded before LString.h.
12642
12643         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12644         (one for each char read by EatLine!).
12645
12646         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12647         variables.
12648
12649 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12652         to the same as the par we break from
12653
12654 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12657
12658         * MenuBackend.C (expand): also create menu entries for wide
12659         versions of the floats.
12660
12661         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12662
12663         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12664
12665         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12666         frontends/Makefile.am
12667
12668         * text2.C: adjust
12669         * text.C: adjust
12670
12671
12672         * tabular.C (getTokenValue): add std::
12673
12674         * tabular-old.C (getTokenValue): add std::
12675         (getTokenValue): ditto
12676         (getTokenValue): ditto
12677
12678         * screen.C (ToggleSelection): adjust
12679
12680         * lyxtext.h: put selection cursors inside a Selection struct.
12681
12682         * lyxfunc.C (moveCursorUpdate): adjust
12683
12684         * lyxfont.C (latexWriteStartChanges): add std::
12685
12686         * lyxfind.C: adjust
12687
12688         * font.h: delete with(char const *, LyXFont const &)
12689
12690         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12691
12692         * FontInfo.C (getFontname): add std::
12693
12694         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12695         (workAreaButtonPress): adjust
12696         (tripleClick): adjust
12697         (update): adjust
12698         (moveCursorUpdate): adjust
12699         (Dispatch): adjust
12700
12701         * BufferView2.C (gotoInset): adjust
12702
12703 2001-05-30  Juergen Vigna  <jug@sad.it>
12704
12705         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12706         to check pspell I add this as default as I now have new pspell
12707         libraries and they seem to use this.
12708
12709 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * text2.C (CutSelection): make the cursor valid before the call to
12712         ClearSelection.
12713
12714 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12715
12716         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12717         relied on 0 terminated strings and other horrors. Bug found due to
12718         the new assert in lyxstring!
12719
12720         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12721         KP_ keys.
12722
12723 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12726         to latinkeys.bind.
12727
12728         * lyxfunc.C (processKeySym): change method of getting to the
12729         self-insert char.
12730
12731         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12732         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12733         * BufferView_pimpl.[Ch]: here as private methods.
12734
12735 2001-05-28  Juergen Vigna  <jug@sad.it>
12736
12737         * text.C (SetHeightOfRow): added the update() call again as it is
12738         needed to initialize inset dimensions!
12739
12740 2001-05-16  Juergen Vigna  <jug@sad.it>
12741
12742         * text2.C (SetCharFont): Add new function with BufferView * and
12743         bool toggleall parameters for setting insets internal fonts.
12744         (SetFont): Freeze the undo as we may change fonts in Insets and
12745         all this change should be inside only one Undo!
12746
12747         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12748         setting font's in insets as for them we have the SetFont function!
12749
12750 2001-05-15  Juergen Vigna  <jug@sad.it>
12751
12752         * text2.C (ClearSelection): to be sure we REALLY don't have any
12753         selection anymore!
12754
12755         * tabular.C (TeXCellPreamble): fixed the left border problem for
12756         multicolumn cells.
12757
12758 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12759
12760         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12761         dependancy file
12762
12763 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12766         LFUN_BREAKPARAGRAPH.
12767
12768         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12769         help test to "internal only", similar for LFUN_INSERT_URL
12770
12771         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12772         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12773         auto_region_delete and deadkeys.
12774
12775 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12776
12777         * LColor.h:
12778         * LColor.C: remove some dead entries, tidy a little
12779
12780 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12783         commented code.
12784         (Dispatch): implement LFUN_ESCAPE
12785
12786         * commandtags.h: add LFUN_ESCAPE
12787
12788         * LyXAction.C (init): add entry for LFUN_ESCAPE
12789
12790         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12791         Remove commented code.
12792         (insertNote): moved here
12793         (open_new_inset): moved here
12794
12795         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12796         BufferView_pimpl
12797
12798 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12799
12800         * kbmap.C (findbinding): clean it up and make it work correctly.
12801
12802         * lyx_main.C (init): do not pass argc and argv as parameters
12803
12804 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12805
12806         * buffer.C: fix path for OS/2 & Win32
12807
12808         * lyx_gui.C:
12809         * lyx_main:
12810         * lyx_main.C: Added os:: class.
12811
12812         * os2_defines.h: update
12813
12814 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12817         better by trying again with reduced state.
12818
12819 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12820
12821         * lyxrc.C (read): print error about invalid key sequence only when
12822         debugging (because not all latinX keysyms are known to some X
12823         servers)
12824
12825         * kbsequence.C (getiso): add a few std:: qualifiers
12826         (getiso): comment out extra return statement.
12827
12828 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12831         handling.
12832         (Dispatch): enhance the accent inset a bit. (not perfect)
12833
12834 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12837
12838 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12839
12840         * bufferlist.C (emergencyWrite): fix assert() call
12841
12842 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12843
12844         * text.C (InsertChar): Added trivial patch to only send the "you
12845         can not do multiple spaces this way" message once during a
12846         session.
12847
12848 2001-05-08  Baruch Even  <baruch@lyx.org>
12849
12850         * Makefile.am: Changed order of libraries to get LyX to link properly
12851         with the gnome frontend.
12852
12853 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12854
12855         * LaTeXFeatures.h: add a std:: qualifier
12856
12857 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * paragraph.C (String): use stringstream
12860
12861 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * paragraph.C (writeFile): remove footflag arg
12864
12865         * buffer.C (makeLaTeXFile): use stringstream
12866         (latexParagraphs): remove footnot gurba
12867
12868         * LaTeXFeatures.C (getPackages): use stringstream
12869         (getMacros): likewise
12870         (getTClassPreamble): likewise
12871         (getFloatDefinitions): new method
12872
12873         * paragraph.C (writeFile): reindent
12874         (Erase): reindent
12875
12876         * WorkArea.h: revert the xpos + etc changes.
12877
12878         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12879
12880         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12881
12882         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12883         (pasteSelection): likewise
12884         * text2.C (CreateUndo): likewise
12885
12886 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * minibuffer.C (peek_event): temporarily reduce the functionality
12889         of the minibuffer (to allow args on lfuns)
12890
12891         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12892         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12893
12894         * buffer.C (readInset): add compability reading of old float
12895         lists, add reading of new style float list.
12896         (readInset): avoid reevaluation of inscmd.getCmdName()
12897         (getLists): reindent
12898
12899         * MenuBackend.C (MenuItem): implement parsing of
12900         md_floatlistinsert and md_floatinsert.
12901         (expand::LastFiles): move initalizaton of iterators out of loop,
12902         avoid reevaluation.
12903         (expand::Documents): introduce typdedef vector<string> Strings,
12904         and use it.
12905         (expand::ExportFormats): introduce typedef vector<Format const *>
12906         Formats, and use it.
12907         (expand): implement FloatListInsert and FloatInsert.
12908
12909         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12910         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12911         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12912
12913         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12914         handling.
12915         (Dispatch::LFUN_FLOAT_LIST): implement
12916
12917 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12918
12919         * LaTeX.C (run): Fix problem with --export code.
12920
12921 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12922
12923         * BufferView.[Ch] (workarea): removed.
12924         (getClipboard) new method; wrapper for workarea()->getClipboard()
12925
12926         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12927         bug.
12928
12929         * WorkArea.h (width, height, xpos, ypos): These methods all
12930         returned the dimensions of the work_area sub-area of WorkArea,
12931         resulting in a position error if the WorkArea were resized. Now
12932         return the dimensions of the entire WorkArea.
12933
12934         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12935
12936 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12937
12938         * LaTeX.C (deplog): correct the syntax of regex reg1
12939
12940 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * undo.C: remove !NEW_INSETS cruft
12943
12944 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * text2.C: remove !NEW_INSETS cruft
12947
12948         * text.C: remove !NEW_INSETS cruft
12949
12950         * tabular.C: remove !NEW_INSETS cruft
12951
12952         * spellchecker.C: remove !NEW_INSETS cruft
12953
12954         * lyxtext.h: remove !NEW_INSETS cruft
12955
12956         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12957
12958         * lyxfunc.C: remove !NEW_INSETS cruft
12959
12960         * lyxfind.C: remove !NEW_INSETS cruft
12961
12962         * lyx_cb.C: remove !NEW_INSETS cruft
12963
12964         * figureForm.C: remove  !NEW_INSETS cruft
12965
12966         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12967
12968         * buffer.[Ch]: remove !NEW_INSETS cruft
12969
12970         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12971
12972         * CutAndPaste.C: remove !NEW_INSETS cruft
12973
12974         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12975
12976         * BufferView2.C: remove !NEW_INSETS cruft
12977
12978         * BufferView.h: remove !NEW_INSETS cruft
12979
12980 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12981
12982         * Lsstream.h: include LString.h before the sstream headers to
12983         fix problem with gcc 2.95.3 and lyxstring
12984
12985 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12986
12987         * lyx_main.C: add using directives when needed for C functions
12988         declared in std:: namespace.
12989
12990 2001-04-27  Juergen Vigna  <jug@sad.it>
12991
12992         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12993         (SetHeightOfRow): comment out the update call should not be needed!
12994
12995 2001-04-13  Juergen Vigna  <jug@sad.it>
12996
12997         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12998         (LyXTabular): tried to minimize operator= operations (and realized
12999         hopfully Lars wish).
13000
13001 2001-04-27  Juergen Vigna  <jug@sad.it>
13002
13003         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13004
13005 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13006
13007         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13008
13009         * buffer.C (readInset): hack to make listof algorithm work
13010
13011         * BufferView_pimpl.C: hack to make listof algorithm work
13012
13013 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * LyXAction.C: removed all !NEW_INSETS cruft
13016         (init): moved lfun_item in method
13017
13018         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13019
13020 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13021
13022         * BufferView2.C (theLockingInset): white space.
13023
13024 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13025
13026         * minibuffer.C: include <iostream>
13027
13028         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13029
13030         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13031
13032         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13033
13034         * text.[Ch] (TransposeChars): new method
13035
13036 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13037
13038         * call message directly through LyXView instead of through LyXFunc
13039         * BufferView2.C: adjust
13040         * BufferView_pimpl.C: adjust
13041         * FontLoader.C: adjust
13042         * buffer.C: adjust
13043         * bufferview_funcs.C: adjust
13044         * converter.C: adjust
13045         * figureForm.C: adjust
13046         * importer.C: adjust
13047         * lyx_cb.C: adjust
13048         * lyx_gui_misc.C: adjust
13049         * lyxfunc.C: adjust
13050         * lyxvc.C: adjust
13051         * text2.C: adjust
13052         + more files in subdirs
13053
13054         * lyxparagraph.h (size): move up int file
13055         (GetLayout): ditto
13056
13057         * adjust all uses of Assert to lyx::Assert.
13058
13059         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13060         lyxfunctional in namespace lyx
13061         * layout.C (hasLayout): ditto
13062         (GetLayout): ditto
13063         (GetLayout): ditto
13064         (delete_layout): ditto
13065         (NumberOfClass): ditto
13066         * converter.C (GetFormat): ditto
13067         (GetNumber): ditto
13068         (Add): ditto
13069         (Delete): ditto
13070         (SetViewer): ditto
13071         * bufferlist.C (getFileNames): ditto
13072         (emergencyWriteAll): ditto
13073         (exists): ditto
13074         (getBuffer): ditto
13075         * MenuBackend.C (hasSubmenu): ditto
13076         (hasMenu): ditto
13077         (getMenu): ditto
13078         * BufferView_pimpl.C (getInsetByCode): ditto
13079
13080 2001-04-18  Juergen Vigna  <jug@sad.it>
13081
13082         * vspace.C (asLatexString): fixed the 100% problem.
13083
13084 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13085
13086         * lyxfunc.C (Dispatch):
13087         * minibuffer.C:
13088         * minibuffer.h: add a few std:: qualifiers
13089
13090 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * minibuffer.[Ch]: reimplement so that commands is initiated and
13093         run from lyxfunc, simplified som handling, and made the completion
13094         and history code for complete. wip.
13095
13096         * lyxfunc.C (processKeySym): call message
13097         (miniDispatch): new temporary method
13098         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13099         (LFUN_MESSAGE): implement
13100         (LFUN_MESSAGE_PUSH): implement
13101         (LFUN_MESSAGE_POP): implement
13102         (initMiniBuffer): the initial/defualt minibuffer message.
13103
13104         * lyxfont.[Ch]: inline some more getters
13105
13106         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13107
13108         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13109
13110         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13111         (AutoSave): use LFUN_MESSAGE
13112         (Reconfigure): ditto
13113
13114         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13115
13116         * figureForm.C: use LFUN_MESSAGE
13117
13118         * converter.C (runLaTeX): use LFUN_MESSAGE
13119
13120         * bufferview_funcs.C: use LFUN_MESSAGE
13121         (Melt): ditto
13122         (changeDepth): ditto
13123
13124         * bufferparams.h: use boost::
13125
13126         * bufferlist.h: inherit privately from noncopyable
13127
13128         * bufferlist.C (loadLyXFile): remove some commented code.
13129
13130         * buffer.C (runChktex): use LFUN_MESSAGE
13131
13132         * ShareContainer.h: inherit privately from noncopyable
13133
13134         * ParagraphParameters.[hC] (depth): inline it.
13135
13136         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13137         methods.
13138         (message): new method
13139         (messagePush): ditto
13140         (messagePop): ditto
13141         (show): init minibuffer
13142         (showState): direct call
13143
13144         * LaTeX.[Ch]: inherit privately from noncopyable
13145         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13146         instead of WriteStatus.
13147
13148         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13149
13150         * BufferView_pimpl.C (buffer): don't init minibuffer
13151         (workAreaButtonPress): use LFUN_MESSAGE
13152         (workAreaButtonRelease): ditto
13153         (savePosition): ditto
13154         (restorePosition): ditto
13155         (MenuInsertLyXFile): ditto
13156         (workAreaExpose): don't init minibuffer
13157         (update): remove commented code, simplify
13158
13159         * BufferView2.C (openStuff): use LFUN_MESSAGE
13160         (toggleFloat): ditto
13161         (menuUndo): ditto
13162         (menuRedo): ditto
13163         (copyEnvironment): ditto
13164         (pasteEnvironment): ditto
13165         (copy): ditto
13166         (cut): ditto
13167         (paste): ditto
13168         (gotoInset): ditto
13169         (updateInset): remove some commented code
13170
13171         * lastfiles.h: inherit privately from noncopyable
13172         * layout.h: ditto
13173         * lyx_gui.h: ditto
13174         * lyx_main.h: ditto
13175         * lyxlex.h: ditto
13176         * lyxlex_pimpl.h: ditto
13177
13178         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13179         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13180         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13181
13182         * LyXAction.h: inherit privately from noncopyable, add methods
13183         func_begin, func_end, returning iterators to the func map.
13184
13185         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13186         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13187         (func_begin): new method
13188         (func_end): new method
13189
13190         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13191         and not)
13192         (copySelection): ditto
13193         (pasteSelection): ditto
13194
13195         * BufferView.C: whitespace change
13196         * BufferView.h: inherit privately from noncopyable
13197
13198 2001-04-16  Allan Rae  <rae@lyx.org>
13199
13200         * tabular-old.C (l_getline):
13201         * spellchecker.C (sc_check_word):
13202         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13203         an unrecognised preprocessor directive.  So ensure they're wrapped.
13204
13205 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13206
13207         * src/exporter.C (Export): Give an error message when path to file
13208         contains spaces.
13209
13210 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13211
13212         * LaTeX.C (deplog): Always check that foundfile exists.
13213
13214 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13215
13216         * lyx_main.h:
13217         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13218
13219 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * tabular.[Ch] (getLabelList): implement new method
13222
13223         * minibuffer.h: comment ouf setTiimer
13224
13225         * minibuffer.C (ExecutingCB): constify res
13226         (peek_event): constify s
13227         (Set): constify ntext
13228         (Init): constify nicename
13229
13230         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13231
13232         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13233         (savePosition): use two params to Minibuffer::Set
13234         (restorePosition): ditto
13235
13236 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13237
13238         * lyx_main.C: include language.h
13239
13240         * Makefile.am (lyx_main.o): add language.h
13241
13242 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * exporter.C:
13245         * paragraph.C:
13246         * screen.C:
13247         * tabular.C:
13248         * CutAndPaste.C: include gettext.h
13249
13250         * lyxfont.h: remove old hack with ON and OFF.
13251
13252         * lyxparagraph.h:
13253         * lyxfont.h: do not include language.h...
13254
13255         * BufferView2.C:
13256         * LaTeXFeatures.C:
13257         * Painter.C:
13258         * bufferview_funcs.C:
13259         * font.C:
13260         * lyxfont.C:
13261         * text.C:
13262         * text2.C:
13263         * trans_mgr.C:
13264         * paragraph.C: ... but do it here instead
13265
13266 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13267
13268         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13269
13270         * tabular.C: small reformat
13271
13272         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13273         NEW_INSETS version
13274         (GetChar): ditto
13275         (BreakParagraph): ditto
13276         (SetOnlyLayout): ditto
13277         (SetLayout): ditto
13278
13279         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13280         with one arg less.
13281
13282         * lastfiles.C: removed most using decl, add std:: where needed
13283
13284         * buffer.C: ws changes
13285
13286         * MenuBackend.C (class compare_format): put into anon namespace
13287         (expand): constify label, names, action, action2
13288         (expand):
13289
13290         * text.C (SingleWidth): constify font
13291         (IsBoundary): constify rtl2
13292         (GetVisibleRow): constify ww
13293
13294         * LaTeX.C (deplog): constify logfile
13295
13296         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13297         start_x, end_x
13298         (workAreaExpose): constify widthChange, heightChange
13299
13300         * lyxrow.C (par): moved
13301         (height): moved
13302         (next): moved
13303         * lyxrow.h: as inlines here
13304
13305         * lyxfont.h (shape): moved from lyxfont.C
13306         (emph): moved from lyxfont.C
13307
13308         * lyxfont.C (LyXFont): use initialization list for all
13309         constructors
13310         (shape): move to lyxfont.h as inline
13311         (emph): move to lyxfont.h as inline
13312
13313
13314 2001-04-04  Juergen Vigna  <jug@sad.it>
13315
13316         * vspace.C: had to include stdio.h for use of sscanf
13317
13318 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13319
13320         * BufferView.h:
13321         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13322         independent of xforms.
13323
13324 2001-04-02  Juergen Vigna  <jug@sad.it>
13325
13326         * spellchecker.C: fixed namespace placing!
13327
13328 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13329
13330         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13331         the LyXParagraph * is 0.
13332
13333 2001-03-29  Juergen Vigna  <jug@sad.it>
13334
13335         * vspace.C: added support for %, c%, p%, l%.
13336         (stringFromUnit): added helper function.
13337         (asLatexString): changed to give right results for the %-values.
13338
13339         * buffer.C: convert the widthp in a width%.
13340
13341 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13342
13343         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13344         figureForm.[Ch].
13345
13346         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13347         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13348
13349         * lyx_cb.[Ch]: see above.
13350
13351         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13352         form1.[Ch].
13353
13354         * form1.[Ch]:
13355         * lyx.[Ch]: replaced by figure_form.[Ch].
13356
13357         * lyx_gui.C:
13358         * lyx_gui_misc.C:
13359         * lyxfunc.C: changed headers associated with above changes.
13360
13361 2001-03-27  Juergen Vigna  <jug@sad.it>
13362
13363         * BufferView_pimpl.C: set the temporary cursor right!
13364
13365 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13366
13367         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13368
13369 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13370
13371         * LString.h: removed "using std::getline"!
13372
13373         * BufferView_pimpl.C (Dispatch): changes due to changes in
13374         InsetInclude::Params.
13375
13376         * buffer.C (tag_name): removed redundant break statements as they were
13377         producing lots of warnings with my compiler.
13378
13379 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * LString.h: add "using std::getline" when using the real <string>.
13382
13383 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13384
13385         * buffer.C: removed bitset usage.
13386         PAR_TAG moved to an anonymous name space.
13387         (tag_name): new funtion, also in the anonymous namespace.
13388         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13389         (makeDocBookFile): clean code. Completed transition from string arrays
13390         to string vectors.
13391         (SimpleDocBookOnePar): code clean.
13392
13393 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13394
13395         * tabular.C: add some comments.
13396
13397 2001-03-22  Juergen Vigna  <jug@sad.it>
13398
13399         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13400         compatibility read a bit and fixed bug with minipage in different
13401         depth.
13402
13403 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13404
13405         * buffer.C (pop_tag): removed.
13406         (push_tag): removed.
13407         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13408         array replaced with vector. Added support for CDATA sections.
13409         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13410         at any nest level.
13411         (makeDocBookFile): XML conformant declaration of CDATA section,
13412         fixed bug related to <emphasis> in the first paragraph char.
13413         (sgmlOpenTag): exclude empty tags.
13414         (sgmlCloseTag): ditto.
13415
13416         * buffer.h (pop_tag): removed.
13417         (push_tag): removed.
13418
13419 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13420
13421         * language.h (Languages): added size_type and size().
13422
13423 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13424
13425         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13426         response on compability reading of minipages. One probliem is that
13427         the old usage of minipages was «flertydig»
13428
13429         * several files here and in subdirs: don't use static at file
13430         scope use anon namespaces instead.
13431
13432 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13433
13434         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13435         LaTeX output. This is necessary for Literate document
13436         processing.
13437
13438 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13439
13440         * buffer.C: insert hfill when needed.
13441
13442         * tabular.C (l_getline): use string::erase, small whitespace change.
13443
13444         * BufferView_pimpl.C: try the anon namespace.
13445         * WorkArea.C: ditto
13446
13447 2001-03-16  Juergen Vigna  <jug@sad.it>
13448
13449         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13450         otherwise it won't open options-dialogs.
13451
13452         * buffer.C: honor pextraWidth(p) on converting minipages.
13453
13454         * tabular.C (l_getline): changed the functions to strip trailing \r.
13455
13456 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * BufferView_pimpl.C:
13459         * minibuffer..C: added "using SigC::slot" declaration.
13460
13461 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13462
13463         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13464
13465         * text2.C: ditto
13466
13467         * text.C: ditto
13468
13469         * paragraph.C: ditto
13470
13471         * lyxtext.h: NO_PEXTRA
13472
13473         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13474
13475         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13476         * ParameterStruct.h: ditto
13477         * ParagraphParameters.h: ditto
13478         * lyxparagraph.h: ditto
13479
13480 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13481
13482         * buffer.C: add compability for minipage alignment.
13483         (latexParagraphs): remove unwanted pextra check.
13484
13485         * several files: remove CXX_WORKING_NAMESPACES
13486
13487         * buffer.C (pop_tag): tie is in namespace boost
13488
13489         * BufferView.h: noncopyable is in namespace boost
13490         * lyxlex.h: ditto
13491         * lyx_main.h: ditto
13492         * lyx_gui.h: ditto
13493         * layout.h: ditto
13494         * lastfiles.h: ditto
13495         * bufferlist.h: ditto
13496         * ShareContainer.h: ditto
13497         * LyXView.h: ditto
13498         * LyXAction.h: ditto
13499         * LaTeX.h: ditto
13500
13501 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13502
13503         * Merging changes from BRANCH_MVC back into HEAD.
13504
13505         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13506
13507 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * BufferView_pimpl.C: change from intl.C
13510
13511         * combox.h:
13512         * combox.C:
13513         * Makefile.am: move combox.*
13514
13515         * form1.h:
13516         * form1.C:
13517         * lyx_gui.C:
13518         * intl.h:
13519         * intl.C: remove dialog (covered by prefs)
13520
13521 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13522
13523         * lyxfunc.C (Dispatch): removed redundant break statement.
13524
13525 2001-03-14  Juergen Vigna  <jug@sad.it>
13526
13527         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13528
13529 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13530
13531         * buffer.C: add hack to fix compability reading of minipages.
13532
13533 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13534
13535         * buffer.C (getLists): Cleanup.
13536
13537 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13538
13539         * lyxfont.C (update): don't honor toggleall on font size.
13540
13541 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * bmtable.c:
13544         * bmtable.h:
13545         * Makefile.am: moved to frontends/xforms/
13546
13547         * lyx_gui_misc.C:
13548         * lyxfunc.C:
13549         * BufferView_pimpl.C: changes for moved mathpanel
13550
13551 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * gettext.h: fix gettext_init() in --disable-nls
13554
13555 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13558
13559 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * lyx.C:
13562         * lyx.h: strip external form
13563
13564 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13565
13566         * BufferView_pimpl.C: add comment, destroySplash()
13567
13568 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13569
13570         * BufferView_pimpl.C:
13571         * LyXAction.C:
13572         * buffer.C:
13573         * commandtags.h:
13574         * lyxfunc.C: use re-worked insetinclude
13575
13576 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13577
13578         * buffer.C: add using std::stringstream.
13579
13580         * lyx_cb.C: readd using std::ios.
13581
13582         * buffer.C: add using std::map.
13583
13584         * BufferView_pimpl.C: add using std::vector.
13585
13586         * ShareContainer.h: add std:: to swap.
13587
13588         * buffer.h: add some typedefs
13589         * buffer.C (getLists): use them
13590         (getLists): renamed from getTocList.
13591         add a counter for the different float types and use it in the
13592         generated string.
13593         (getLists): use the same counter for the NEW_INSETS and the "non"
13594         NEW_INSETS
13595
13596         * lyx_cb.h: remove unused items, includes, using etc.
13597
13598         * ShareContainer.h: remove some commented code, add more comments
13599         and "documentation".
13600
13601 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13602
13603         * buffer.C (getTocList): make the list also when NEW_INSETS is
13604         defined.
13605
13606         * buffer.h: remove TocType
13607
13608         * buffer.C (getTocList): change to return a map<string,
13609         vector<TocItem> >, implement for dynamic number of list.
13610
13611         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13612         * text2.C (PasteSelection): adjust
13613         * CutAndPaste.C (pasteSelection): adjust
13614
13615         * FloatList.C (FloatList): update from the new_insets branch.
13616         * Floating.[Ch]: ditto
13617         * LaTeXFeatures.C: ditto
13618         * buffer.C: ditto
13619         * lyxlex_pimpl.C: ditto
13620
13621         * paragraph.C (Last): remove when NEW_INSETS is defined.
13622
13623         * other file: changes because of the above.
13624
13625 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13626
13627         * lyxparagraph.h: rename next to next_, previous to previous_,
13628         make them private for NEW_INSETS. Rename Next() to next(),
13629         Previous() to previous().
13630
13631         * other files: changes because of the above.
13632
13633 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13634
13635         * BufferView.h:
13636         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13637         problem.
13638
13639 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * main.C (main): pass lyx_localedir to gettext_init().
13642
13643         * gettext.h: remove locale_init and gettext_init macros
13644
13645         * gettext.C (locale_init): new function
13646         (gettext_init): new function
13647
13648         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13649         setlocale().
13650
13651 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13652
13653         * Moved credits to frontends:
13654         * credits.[Ch]: removed
13655         * credits_form.[Ch]: removed
13656         * lyx_gui_misc.C: remove credits stuff
13657         * Makefile.am:
13658
13659 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13660
13661         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13662
13663         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13664         unneeded destructor.
13665
13666         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13667         a standalone pointer again.
13668
13669         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13670
13671 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * Makefile.am:
13674         * filedlg.h:
13675         * filedlg.C:
13676         * LyXAction.C:
13677         * ToolbarDefaults.C:
13678         * bufferlist.C:
13679         * commandtags.h:
13680         * form1.C:
13681         * form1.h:
13682         * lyx_cb.C:
13683         * lyx_cb.h:
13684         * lyxfunc.h:
13685         * lyxfunc.C:
13686         * BufferView_pimpl.C: use new file dialog in GUII
13687
13688         * lyx_cb.h:
13689         * lyx_cb.C: remove LayoutsCB to Toolbar
13690
13691 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * ShareContainer.h (get): add std:: qualifier
13694
13695 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * ShareContainer.h: define a proper ShareContainer::value_type
13698         type (and use typename to please compaq cxx)
13699
13700 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13701
13702         * lyxparagraph.h: move serveral local vars to
13703         ParameterStruct/ParagraphParameters., use ShareContainer in
13704         FontTable., make vars in FontTable private and add getter and
13705         setter.
13706
13707         * paragraph.C: changes because of the above.
13708
13709         * lyxfont.h: remove copy constructor and copy assignment. (the
13710         default ones is ok), move number inside FontBits. move inlines to
13711         lyxfont.C
13712
13713         * lyxfont.C: add number to initializaton of statics, move several
13714         inlines here. constify several local vars. some whitespace
13715         cleanup. Dont hide outerscope variables.
13716
13717         * Spacing.h: add two new constructors to match the set methods.
13718
13719         * ShareContainer.h: new file, will perhaps be moved to support
13720
13721         * ParameterStruct.h: new file
13722
13723         * ParagraphParameters.h: new file
13724
13725         * ParagraphParameters.C: new file
13726
13727         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13728         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13729
13730         * BufferView_pimpl.C: ParagraphParameter changes.
13731         * buffer.C: Likewise.
13732         * bufferview_funcs.C: Likewise.
13733         * text.C: Likewise.
13734         * text2.C: Likewise.
13735
13736 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * lyxfind.C (LyXReplace): do not redefine default argument in
13739         implementation.
13740         (IsStringInText): ditto
13741         (SearchForward): ditto
13742         (SearchBackward): ditto
13743
13744 2001-03-06  Juergen Vigna  <jug@sad.it>
13745
13746         * lyxfind.C (IsStringInText): put parentes around expressions.
13747
13748 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13749
13750         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13751
13752 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13753
13754         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13755
13756         * stl_string_fwd.h: add comment
13757
13758         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13759
13760         * tabular.h:
13761         * tabular.C: remove unused DocBook methods
13762
13763         * intl.C:
13764         * language.C:
13765         * paragraph.C:
13766         * buffer.C:
13767         killed DO_USE_DEFAULT_LANGUAGE
13768
13769 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13770
13771         * lyx_gui.C: do not include language.h.
13772
13773         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13774         arguments in function implementation.
13775
13776 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13777
13778         * BufferView_pimpl.C: add <ctime>
13779
13780 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13781
13782         * BufferView_pimpl.C: add using std::find_if
13783
13784 2001-02-27  José Matos  <jamatos@fep.up.pt>
13785
13786         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13787         by OnlyPath.
13788
13789 2001-02-11  José Matos  <jamatos@fep.up.pt>
13790
13791         * buffer.C (makeDocBookFile): command styles now have a parameter as
13792         "title" by default.
13793
13794 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13795
13796         * layout_forms.[Ch]: removed
13797         * lyx_cb.[Ch]: out character
13798         * lyx_gui.C: out character
13799         * lyx_gui_misc.C: out character
13800         * bufferview_funcs.C: : out character,
13801         added toggleall as parameter in ToggleAndShow
13802
13803 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13804
13805         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13806
13807         * text2.C (SetCurrentFont): Disable number property at boundary.
13808
13809 2001-02-26  Juergen Vigna  <jug@sad.it>
13810
13811         * lyxfunc.C (getStatus): added a string argument override function so
13812         that this is correctly called from LyXFunc::Dispatch if it contains a
13813         do_not_use_argument which is used!
13814         (Dispatch): added check for "custom" export and call appropriate func.
13815
13816 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13817
13818         * lyxrc.C: Add language_command_local, language_use_babel and
13819         language_global_options.
13820
13821         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13822
13823         * buffer.C (makeLaTeXFile): Use language_use_babel and
13824         language_global_options.
13825
13826 2001-02-23  Juergen Vigna  <jug@sad.it>
13827
13828         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13829         which works with LyXText and putted it inside BufferView. Here now we
13830         only call for that part the BufferView::Dispatch() function.
13831
13832         * BufferView.C (Dispatch): added.
13833
13834         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13835         functions which needs to use a LyXText over from LyXFunc.
13836         (MenuInsertLyXFile): added
13837         (getInsetByCode): added
13838         (moveCursorUpdate): added
13839         (static TEXT): added
13840
13841 2001-02-22  Juergen Vigna  <jug@sad.it>
13842
13843         * BufferView_pimpl.C (update): call a status update to see if LyXText
13844         needs it.
13845
13846 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13847
13848         * vc-backend.C (revert): implement for CVS
13849         (getLog): implement for CVS
13850
13851 2001-02-20  Juergen Vigna  <jug@sad.it>
13852
13853         * text2.C (ClearSelection): added BufferView param for inset_owner call
13854
13855         * lyxfunc.C (TEXT): added this function and use it instead of
13856         directly owner->view()-text of getLyXText().
13857
13858 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13859
13860         * src/layout_forms.C: out preamble
13861         * src/layout_forms.h: out preamble
13862         * src/lyx_cb.C: out preamble
13863         * src/lyx_cb.h: out preamble
13864         * src/lyx_gui.C: out preamble
13865         * src/lyx_gui_misc.C: out preamble
13866         * src/lyxfunc.C: connect with guii preamble
13867
13868 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13869
13870         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13871
13872 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13873
13874         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13875         whether to run bibtex.
13876
13877 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13878
13879         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13880
13881 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13882
13883         * Makefile.am (lyx_SOURCES): removed bibforms.h
13884
13885         * vspace.h: doxygen
13886
13887         * text.C (GetVisibleRow): make several local vars const
13888
13889         * tabular.C: small cleanup.
13890
13891         * lyxserver.C (callback): use compare instead of strncmp
13892
13893         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13894         inlines to after class or to paragraph.C
13895
13896         * lyxfont.h: remove friend operator!=
13897
13898         * converter.h: move friend bool operator< to non friend and after
13899         class def.
13900
13901         * combox.h: small cleanup
13902
13903         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13904         to inlines after class def.
13905
13906         * buffer.C (pop_tag): use string operations instead of strcmp
13907
13908         * bmtable.c: doxygen, small cleanup
13909
13910         * LaTeX.h: remove friend operator==
13911
13912 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13913
13914         * screen.C:
13915         * lyxrc.[Ch]:
13916         * lyxfunc.C:
13917         * lyxfont.[Ch]:
13918         * lyx_cb.C:
13919         * intl.[Ch]:
13920         * commandtags.h:
13921         * buffer.C:
13922         * WorkArea.[Ch]:
13923         * LyXAction.C:
13924         * BufferView_pimpl.C:
13925         * BufferView.[Ch]: remove cruft
13926
13927 2001-02-14  Juergen Vigna  <jug@sad.it>
13928
13929         * lyxfunc.C: removed #if 0 unused code
13930
13931         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13932
13933         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13934
13935         * text2.C (SetSelection): added a BufferView * parameter
13936
13937 2001-02-13  Juergen Vigna  <jug@sad.it>
13938
13939         * lyxfunc.C (Dispatch): fixed protected blank problem.
13940         * BufferView2.C (protectedBlank): added LyxText * parameter.
13941
13942         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13943         (AppendColumn): same as above for column_info.
13944
13945         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13946         (moveCursorUpdate): use a LyXText param for support of InsetText.
13947
13948         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13949         (tripleClick): ditto
13950
13951         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13952
13953         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13954
13955         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13956
13957         * text2.C (SetSelection): set correct update status if inset_owner
13958         (ToggleFree): ditto
13959
13960 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13961
13962         * tabular.C: remove some commented code.
13963
13964 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * BufferView_pimpl.C: call hideSplash()
13967
13968         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13969
13970         * include_form.h:
13971         * bibforms.h: remove
13972
13973         * lyxfunc.C:
13974         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13975           add LFUN_CHILD_CREATE
13976
13977         * counters.h: fix tiny typo
13978
13979         * lyx_cb.C:
13980         * lyx.h:
13981         * lyx_gui.C:
13982         * lyx.C: move splash to frontends/xforms/
13983
13984         * lyx_gui_misc.C: move Include and Bibform to frontends
13985
13986         * lyxvc.h: clarify comment
13987
13988         * vspace.C: tiny housekeeping
13989
13990 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13991
13992         * text.C (PrepareToPrint): RTL Fix.
13993
13994         * paragraph.C (GetUChar): New method.
13995         (String):  Use GetUChar.
13996
13997         * buffer.C (asciiParagraph): Use GetUChar.
13998
13999 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14000
14001         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14002
14003 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14004
14005         * buffer.h:
14006         * buffer.C: rename to getLogName(), handle
14007           build log / latex log nicely
14008
14009 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * MenuBackend.C:
14012         * MenuBackend.h: remove support for reference menuitem type.
14013
14014 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14015
14016         * BufferView_pimpl.C: housekeeping
14017         * BufferView_pimpl.h:
14018         * LyXView.h:
14019         * Makefile.am:
14020         * Timeout.C:
14021         * Timeout.h:
14022         * minibuffer.h: move Timeout GUI-I
14023
14024 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14025
14026         * lyxrc.C (read): Update converters data-structures.
14027
14028 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14029
14030         * LaTeX.h (operator!=): add operator != for Aux_Info
14031
14032 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14033
14034         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14035
14036         * LaTeXLog.C: deleted, useful code moved to Buffer
14037
14038         * buffer.h:
14039         * buffer.C: new function getLatexLogName()
14040
14041         * lyx_gui_misc.C:
14042         * lyx_gui.C:
14043         * lyxvc.C:
14044         * lyxvc.h:
14045         * lyxfunc.C: use frontends for LaTeX and VC logs
14046
14047 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14048
14049         * LaTeX.h: yet another std:: that Allan forgot.
14050
14051         * Variables.C (set): renamed from isset(), because this clashes
14052         with some HP-UX macros (grr).
14053
14054 2001-02-06  Allan Rae  <rae@lyx.org>
14055
14056         * LaTeX.h: Another bug fix.  Missing std:: this time.
14057
14058 2001-02-04  Allan Rae  <rae@lyx.org>
14059
14060         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14061         floats problem. I've left it commented out because it's not quite
14062         correct.  It should also test that the current object is a table or
14063         figure inset.  But I haven't gotten around to figuring out how to do
14064         that.  I *think* it'll be something like: "table" == inset.type()
14065
14066         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14067         bool.
14068
14069 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14070
14071         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14072         all the citation/databases/styles in the auxilary file.
14073         (run): Rerun latex if there was a babel language error.
14074
14075 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14076
14077         * text.C (Backspace): Preserve the font when changing newline char
14078         with a space.
14079         (BreakParagraph): If the cursor is before a space, delete the space.
14080
14081         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14082
14083 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14084
14085         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14086         new argument (code).
14087         (ChangeCitationsIfUnique): New method.
14088
14089         * paragraph.C (GetPositionOfInset): Handle bibkey.
14090
14091 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * BufferView_pimpl.h: change type of Position::par_pos to
14094         LyXParagraph::size_type.
14095
14096 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14097
14098         * BufferView_pimpl.C (savePosition, restorePosition): Write
14099         messages to minibuffer.
14100
14101 2001-01-28  José Matos  <jamatos@fep.up.pt>
14102
14103         * buffer.C (makeDocBookFile): adds support for document language.
14104         A silly restriction on the name of LatexCommand types where removed.
14105         Added support for CDATA sections, allows to chars unescaped, used
14106         among others in code, to avoid escape < and >.
14107
14108 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14109
14110         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14111         saved positions instrad of a stack. Furthermore, a position is
14112         stored using paragraph id/paragraph position.
14113
14114         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14115         Remove LFUN_REF_BACK.
14116
14117 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14118
14119         * converter.C (dvipdfm_options): New method.
14120
14121 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14122
14123         * vspace.C (isValidLength): Fix for empty input string.
14124
14125 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * LyXAction.C (init): change description of LFUN_FIGURE to
14128         "Insert Graphics"
14129
14130 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14131
14132         * LaTeX.C: add using directive
14133
14134 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * MenuBackend.C (expand): Fix the sorting of the formats.
14137
14138 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * lyx_main.C: tiny error message fix
14141
14142 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14145         calling fl_initialize(). This fixes the problem with ',' as
14146         decimal separator in text files.
14147
14148 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * trans.C (process): Fix the keymap bug.
14151
14152 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14153
14154         * LaTeX.C (scanAuxFiles): New method. Provides support for
14155         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14156         (scanLogFile) Scan for "run BibTeX" messages.
14157
14158         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14159         OT1 font encoding. Also, load the aecompl package if the ae
14160         package is loaded.
14161
14162         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14163
14164 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * texrow.C (increasePos): turn two error messages into debug
14167         messages.
14168
14169 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14170
14171         * LaTeX.C (scanAux): Handle the \@input macro.
14172         (runBibTeX): Use scanAux().
14173
14174         * language.C (latex_options_): New field.
14175
14176         * LaTeXFeatures.C (getMacros): Add language macros.
14177
14178         * buffer.C (makeLaTeXFile): Small fix.
14179
14180 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14183
14184         * text2.C: add a using directive.
14185
14186 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14187
14188         * BufferView2.C:
14189         * lyx_gui_misc.h:
14190         * lyxfr1.C:
14191         * lyxfunc.C: kill LyXBell.
14192
14193 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14194
14195         * text.C (IsBoundary): Remove the error message
14196
14197         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14198
14199         * lyxrc.C (setDefaults): Correct initialization value for
14200         font_norm_type.
14201
14202 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14203
14204         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14205         gotoError().
14206
14207         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14208         and GotoNextNote().
14209
14210         * src/LyXAction.C: Added reference-next.
14211
14212         * text.C (InsertChar): Use contains instead of strchr.
14213
14214         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14215
14216 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14217
14218         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14219         alignment commands (when needed).
14220
14221         * text.C (InsertChar): Add ':' to number separator chars.