]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
selection patch
[lyx.git] / src / ChangeLog
1 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * textcursor.[Ch] (selStart,selEnd): add new methods 
4         remove selection::start, end, use LyXCursor::operator<
5         * lyxcursor.[Ch] (operator<): add
6         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
7         * BufferView.[Ch] (unsetXSel): add
8         * text2.C (clearSelection): use unsetXSel,adjust
9         * text.C: adjust
10         * text3.C: adjust
11         * rowpainter.C: adjust
12         * bufferview_funcs.C (put_selection_at): adjust
13
14 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
15
16         * BufferView_pimpl.C: small coord. correction
17
18 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
21         dragging over the splash screen.
22
23 2003-12-11  Angus Leeming  <leeming@lyx.org>
24
25         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
26         as it is now handled in LyXText::dispatch.
27
28         * text3.C (doInsertInset): remove a level of nesting.
29
30 2003-12-11  Angus Leeming  <leeming@lyx.org>
31
32         * factory.C (createInset): changes due to the changed interface to
33         InsetCommandMailer::string2params.
34
35 2003-12-10  Angus Leeming  <leeming@lyx.org>
36
37         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
38         'dialog-show-new-inset <inset name>'
39
40 2003-12-10  Angus Leeming  <leeming@lyx.org>
41
42         * buffer.C: up the format to 227.
43
44         * factory.C: the box inset is now identified simply by 'Box'.
45
46 2003-12-10  Angus Leeming  <leeming@lyx.org>
47
48         * buffer.C: up the format to 226.
49
50         * factory.C: the note inset is now identified simply by 'Note'.
51
52 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
53
54         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
55         when a pit is enough. Standarize a couple of loops. 
56
57 2003-12-05  Angus Leeming  <leeming@lyx.org>
58
59         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
60         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
61         data to the re-worked "log" dialog.
62
63 2003-12-03  André Pönitz  <poenitz@gmx.net>
64
65         * PosIterator.C:
66         * iterators.C:
67         * lyxtext.h:
68         * output_latex.C:
69         * paragraph_funcs.C:
70         * text.C:
71         * text2.C: use Inset::getText instead of Inset::getParagraph
72
73 2003-12-03  André Pönitz  <poenitz@gmx.net>
74
75         * buffer.[Ch]:
76         * lyxtext.h:
77         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
78         InsetText::read() as LyXText::read()
79         
80 2003-12-02  Angus Leeming  <leeming@lyx.org>
81
82         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
83         type. Add a comment in the implementation that the function uses
84         the stream's bad() function rather than fail() as the std::streams
85         would do.
86
87 2003-12-02  André Pönitz  <poenitz@gmx.net>
88
89         * lyxlex.[Ch]: make interface more similar to std::stream
90
91         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
92
93 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
94
95         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
96
97 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
98
99         * vspace.[Ch]: remove VSpace::NONE
100
101 2003-12-01  André Pönitz  <poenitz@gmx.net>
102
103         * buffer.[Ch]:
104         * lyxtext.h: move ParagraphList member to LyXText
105         rename LyXText::ownerParagraphs to LyXText::paragraph
106
107         * CutAndPaste.C:
108         * bufferview_funcs.C:
109         * iterators.[Ch]:
110         * lyx_cb.C:
111         * paragraph.C:
112         * rowpainter.C:
113         * tabular.C:
114         * text.C:
115         * text2.C:
116         * text3.C: adjust
117
118         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
119
120         * undo.C: fix cursor positioning 
121
122 2003-12-01  John Levon  <levon@movementarian.org>
123
124         * BufferView_pimpl.C: fix a crash on exit with
125         a buffer open
126
127 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
128
129         * BranchList.C: fix setSelected() method.
130
131 2003-11-28  André Pönitz  <poenitz@gmx.net>
132
133         * ParagraphParameters.[Ch]:
134         * ParameterStruct.h: remove space above/below from Paragraph to
135          InsetVSpace
136
137         * BufferView_pimpl.C:
138         * factory.C:
139         * lyxfunc.C:
140         * lyxtext.h:
141         * output_latex.C:
142         * paragraph.C:
143         * paragraph_funcs.C:
144         * rowpainter.[Ch]:
145         * text.C:
146         * text2.C:
147         * text3.C: adjust
148
149 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
150
151         * factory.C: Syntax change for CharStyles
152
153 2003-11-28  André Pönitz  <poenitz@gmx.net>
154
155         * BufferView.[Ch]:
156         * BufferView.[Ch]:
157         * buffer.[Ch]:
158         * buffer.[Ch]: move LyXText member
159
160 2003-11-28  André Pönitz  <poenitz@gmx.net>
161
162         * BufferView.[Ch]: make LyXText * text a private member
163
164         * BufferView_pimpl.C:
165         * cursor.C:
166         * iterators.C:
167         * lyx_cb.C:
168         * lyxfind.C:
169         * lyxtext.h:
170         * rowpainter.[Ch]:
171         * text.C:
172         * text2.C:
173         * undo.C: adjust
174
175         * output_plaintext.C: cleanup
176
177 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
178
179         * buffer.C: 
180         * lyxtextclass.[Ch]: parametrize SGML document header
181
182 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * converter.[Ch]:
185         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
186         getFlavor().
187
188 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
189
190         * text2.C (setFont): rework using PosIterator (no more recursive)
191         (setCharFont): no more needed 
192         (setLayout): no more selection cursors fiddling (done by redoCursor)
193         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
194         destroy remaining ones)
195
196 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
197
198         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
199         * lyxtext.h: ditto
200         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
201         selection cursors
202         * lyxfunc.C: adjust
203         * text3.C: adjust + re-allow multi par depth changes
204         * textcursor.C: simplify a bit
205
206 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
207
208         * src/buffer.C:
209         * src/lyxlayout.C:
210         * src/lyxlayout.h:
211         * src/lyxtext.h:
212         * src/output_docbook.C:
213         * src/output_latex.C:
214         * src/paragraph.C:
215         * src/paragraph.h:
216         * src/sgml.C:
217         * src/sgml.h:
218         * src/text2.C: Introducing a number of tags parametrizing various
219         XML formats that we may want to support
220
221 2003-11-25  André Pönitz  <poenitz@gmx.net>
222
223         * InsetList.[Ch] (begein, end): inline as suggested by profiler
224
225         * lyxtext.h (leftMargin/rightMargin): simplify interface
226
227         * rowpainter.C:
228         * text.C:
229         * text2.C:
230         * text3.C: adjust
231
232 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
233
234         * lyxfunc.C (dispatch): propogate the bibtex databases from the
235         master file to any child files. Fixes bug 546.
236
237 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
240
241 2003-11-24  André Pönitz  <poenitz@gmx.net>
242
243         * rowpainter.C: simplification
244
245         * text2.C (updateCounters): remove call to redoParagraph on 
246         changed labels as this is far too expensive.
247
248 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
249
250         * converter.C (convert): fix a crash: this function gets
251         called with buffer == 0 from importer code.
252
253 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
254
255         * text3.C (cursorPrevious): make sure that we do not compare
256         iterators form different containers.
257         (cursorNext): ditto
258
259         * rowpainter.C (paintSelection): make sure that we do not compare
260         iterators from different containers.
261
262         * text3.C (dispatch): [PRIOR] make sure that we do not compare
263         iterators from different ParagraphList containers.
264         [NEXT] ditto
265
266         * text2.C (LyXText): change order of initialization slightly
267         (operator=): new function. copy all variables except cache_par_
268         (moveUp): make sure that we do not compare iterators from
269         different ParagraphList constainers.
270         (moveDown): ditto
271
272         * text.C (firstPar): new function
273         (lastPar): new function
274         (endPar): new function
275
276         * lyxtext.h: move things around and group public functions, public
277         variables, private functions, private variables
278
279 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
280
281         * factory.C: change call to InsetERT constructor to avoid
282         additional invocation of method status
283         * text2.C (toggleInset): remove redundant update() call
284         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
285         instead of a Bufferview pointer
286
287 2003-11-21  André Pönitz  <poenitz@gmx.net>
288
289         * rowpainter.C: simplification
290
291 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
292
293         * text3.C (dispatch): make possible to extend a word/row selection
294         with the mouse
295
296 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
297
298         * lyxtext.h: x0_,y0_ -> xo_,yo_
299         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
300         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
301         * rowpainter.C (paintRows): paint full paragraphs
302
303 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
304
305         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
306         screen coordinates)
307
308 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * lyxtext.h: add x0_, y0_
311         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
312         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
313
314 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * text2.C (setCursorIntern): move the x_target update here *
317         * text3.C: change some bv() to true/false in calls to
318         cursorUp/Down/Right/Left
319         * cursor.C: use helper function.
320
321 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
322
323         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
324         * paragraph_funcs.[Ch]: correct comment
325         * rowpainter.C: do not paint selections away from bv->cursor()
326         Fix a long standing selection painting bug.
327         * text3.C: generalize mouse-selection code to LyXTexts other that
328         top one
329         * textcursor.C: do not use y coords if we can use par offsets
330
331 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
332
333         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
334         cursor position after e.g. inset insert)
335
336 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
337
338         * lyxfind.C (replace): adjust to locking removal + some
339         code simplification
340
341 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
342
343         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
344         of the path
345
346 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
347
348         * lyxlayout.[Ch]:
349         * output_docbook.C: XML sanitation: new layout
350         parameters InnerTag and CommandDepth
351
352 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
353
354         * BufferView_pimpl.C:
355         * factory.C:
356         * text3.C: Fix the insertion and modification of button-style
357         insets
358
359 2003-11-13  André Pönitz  <poenitz@gmx.net>
360
361         * InsetList.[Ch]: remove deleteLyXText
362
363         * paragraph.[Ch]: cache beginOfBody position
364
365         * Bidi.C:
366         * text.C:
367         * text2.C:
368         * text3.C: remove superfluous update() calls
369
370         * vspace.C: cleanup
371
372 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
373
374         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
375         * BufferView.C (fitLockedInsetCursor): remove
376         * cursor.[Ch] (getDim): add
377         * text.C (getRowNearY): add faster version
378         * text3.C: remove some update calls
379
380 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
381
382         * LaTeXFeatures.C:
383         * LyXAction.C:
384         * MenuBackend.C:
385         * MenuBackend.h:
386         * dispatchresult.h:
387         * factory.C:
388         * lfuns.h:
389         * lyxfunc.C:
390         * lyxtextclass.C:
391         * lyxtextclass.h:
392         * text3.C: The Character Style /XML short element patch.
393
394 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
395
396         * text3.C:
397         * factory.C: Small step to solving 'unable to insert some insets'
398         problem
399
400 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
401
402         * cursor.[Ch] (updatePos): new function for updating the y
403         position of the tip inset
404         * bufferview_funcs.C (put_selection_at):
405         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
406
407 2003-11-11  André Pönitz  <poenitz@gmx.net>
408
409         * text.C: remove big comment on invalid Paragraph pointers as it is
410         not valid anymore
411
412 2003-11-11  André Pönitz  <poenitz@gmx.net>
413
414         * text_funcs.[Ch]: merge with ...
415
416         * text.C: ... this
417
418         * lyxtext.h:
419         * text2.C:
420         * text3.C: adjust
421
422         * Makefile.am: remove text_funcs.[Ch]
423
424 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
425
426         * cursor.C (getPos): return absolute cached y coord
427
428         * BufferView_pimpl.C (fitCursor): new simplistic code
429         (workAreaDispatch): add a fitCursor call
430
431 2003-11-10  André Pönitz  <poenitz@gmx.net>
432
433         * BufferView.[Ch]:
434         * BufferView_pimpl.[Ch]: merge update() and updateInset()
435
436 2003-11-10  André Pönitz  <poenitz@gmx.net>
437
438         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
439         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
440         indicate that the cursor needs to leave an inset
441
442         * lyxtext.h: remove inset locking
443
444         * cursor.[Ch]: re-implement functionality provided by inset locking
445
446         * BufferView.[Ch]:
447         * BufferView_pimpl.[Ch]:
448         * LyXAction.C:
449         * bufferview_funcs.[Ch]:
450         * factory.C:
451         * funcrequest.[Ch]:
452         * iterators.C:
453         * lyx_cb.C:
454         * lyxfind.C:
455         * lyxfunc.C:
456         * text.C:
457         * text2.C:
458         * text3.C:
459         * undo.C: adjust
460
461 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
462
463         * PosIterator.[Ch]: replace the stack with a vector, add inset
464         accesor
465         * iterators.[C]: adjust
466
467 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
468
469         * lyxfind.C (replaceAll): mark the buffer dirty if something was
470         replaced
471         * paragraph_funcs.C (readParToken): put the correct id in the
472         error item, not the id of the top paragraph
473
474 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
475
476         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
477         * bufferview_funcs.C (put_selection_at): use the above
478
479 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
480
481         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
482
483 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * output_linuxdoc.h:
486         * output_plaintext.h:
487         * output.h:
488         * output_docbook.h: add #include statements
489
490 2003-11-05  José Matos  <jamatos@lyx.org>
491
492         * output_docbook.[Ch]:
493         * output_latex.[Ch]:
494         * output_linuxdoc.[Ch]:
495         * output_plaintext.[Ch]: New files for output formats.
496         * output.[Ch]: New file for helper functions.
497
498         * buffer.[Ch]:
499         * paragraph_funcs.[Ch]: output functions moved to new files.
500
501         * outputparams.h: rename of latexrunparams.h
502
503         * LaTeX.[Ch]:
504         * buffer.[Ch]:
505         * bufferlist.[Ch]:
506         * converter.[Ch]:
507         * exporter.C:
508         * paragraph.[Ch]:
509         * paragraph_funcs.[Ch]:
510         * paragraph_pimpl.[Ch]:
511         * tabular.[Ch]: rename ascii to plaintext
512         and LatexRunParams to OutputParams.
513
514 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
515
516         * iterators.[Ch] (text): require bv argument
517         * undo.C (recordUndo):
518         * lyxfunc.C (dispatch):
519         * bufferview_funcs.C (put_selection_at): adjust
520
521 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
522
523         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
524
525 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
526
527         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
528         nestings
529
530 2003-11-04  André Pönitz  <poenitz@gmx.net>
531
532         * cursor.[Ch]: restructure
533
534         * BufferView.[Ch]:
535         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
536
537         * iterators.[Ch] (asCursor): remove
538
539         * lfuns.h: remove LFUN_INSET_EDIT
540
541         * lyxfunc.C:
542         * tabular.C:
543         * text.C:
544         * text2.C:
545         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
546
547 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
548
549         * lyxfind.[Ch]: complete overhaul
550         * BufferView_pimpl.C:
551         * lyxfunc.C: adjust
552         * paragraph.[Ch] (insert): add
553
554 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
555
556         * BufferView.[Ch]:
557         * lyxtext.h:
558         * text.C: remove dead spellcheck code
559
560 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
561
562         * dispatchresult.h: add a val setter
563
564         * cursor.C (dispatch): use a tempvar for data_[i]
565
566 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
567
568         * PosIterator.[Ch]: compile fix
569
570 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
571
572         * text.C (cursorPar): deactivate the cursor cache
573
574 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
575
576         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
577
578 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
579
580         * text3.C (dispatch): adjust for new DisptchResult semantics.
581
582         * lyxfunc.C (dispatch): handle update when return from
583         Cursor::dispatch, adjust for new DispatchResult semantics.
584
585         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
586         DispatchResult(true) mean to not update. Add class functions for
587         setting dispatched and update, as well as reading.
588
589         * cursor.C (dispatch): don't handle update here
590
591 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
592
593         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
594         * trans_mgr.C: adjust
595
596         * paragraph_funcs.C (readParToken): exception safety
597
598         * lyxvc.h: store the vcs pointer in a scoped_ptr
599         * lyxvc.C: adjust
600
601         * lyxsocket.C (serverCallback): exception safety
602
603         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
604
605         * ispell.C (clone): make it return a auto_ptr
606
607         * factory.C (createInset): exception safety
608         (readInset): exception safety
609
610         * bufferlist.C (newBuffer): exception safety
611
612         * Thesaurus.C (Thesaurus): use initialization for aik_
613
614         * MenuBackend.C (expandToc): exception safety.
615
616 2003-11-03  André Pönitz  <poenitz@gmx.net>
617
618         * buffer.C:
619         * buffer.h:
620         * bufferview_funcs.C: remove getInsetFromId()
621
622         * lyxcursor.[Ch]:
623         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
624
625         * lyxfunc.C:
626         * text2.C:
627         * text3.C: adjust
628
629 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
630
631         * PosIterator.C (distance, advance): new
632         * bufferview_funcs.[Ch] (put_selection_at): new
633         * iterators.[Ch] (lockPath): new
634
635 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
636
637         * iterators.[Ch] (asPosIterator): added
638         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
639         * PosIterator.[Ch]: added
640
641 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
642
643         * text3.C:
644         * lyxfunc.C:
645         * cursor.C (dispatch):
646         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
647
648         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
649         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
650         contructor, add a class function dispatched. Remove operator>=
651
652 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
653
654         * debug.C: only use the default constructor for debugstream
655         (lyxerr) here.
656
657         * main.C (main): include debug.h and setup the lyxerr streambuf
658         here.
659
660 2003-10-31  José Matos  <jamatos@lyx.org>
661
662         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
663
664         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
665         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
666         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
667         * paragraph_pimpl.C (simpleTeXSpecialC):
668         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
669         add LatexRunParams argument.
670
671         * exporter.C (Export): change call accordingly.
672
673         * latexrunparams.h: add new member to take care of the other backends.
674 2003-10-30  José Matos  <jamatos@lyx.org>
675
676         * buffer.C (makeLinuxDocFile, makeDocBookFile):
677         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
678         factorise code for paragraph output.
679         * buffer.[Ch]:
680         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
681         move functions.
682
683 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
684
685         * text3.C (dispatch):
686         * lyxfunc.C (dispatch):
687         * cursor.C (dispatch):
688         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
689
690         * dispatchresult.h: make the dispatch_result_t ctor explicit
691
692 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
693
694         * sgml.[Ch]:
695         * buffer.C: small refactoring of docbook stuff
696
697 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
698
699         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
700         meaning.
701
702 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
703
704         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
705         operator dispatch_result_t, and operators for == != and >=
706
707         * cursor.C (dispatch): adjust for operator dispatch_result_t
708         removal. comment out call to update
709
710         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
711
712 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
713
714         * text3.C:
715         * text2.C:
716         * text.C:
717         * lyxtext.h:
718         * lyxfunc.C:
719         * cursor.C:
720         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
721         (dispatch):
722
723         * dispatchresult.h: new file, DispatchResult broken out of
724         insets/insetbase.h
725
726         * Makefile.am (lyx_SOURCES): add dispatchresult.h
727
728 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
729
730         * text.C (rowBreakPoint): put a hack inside #if 0
731
732 2003-10-28  André Pönitz  <poenitz@gmx.net>
733
734         * lyxtext.h:
735         * metricsinfo.C:
736         * paragraph_funcs.C:
737         * rowpainter.C:
738         * text.C:
739         * text2.C: general cleanup (lots of small stuff)
740
741 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
742
743         * text2.C (cursorEnd): simple fix to the "end key goes to one
744         before the end on last row" bug
745
746 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
747
748         * text.C (backspace): fix the "zombie characters"
749
750 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
751
752         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
753
754 2003-10-27  André Pönitz  <poenitz@gmx.net>
755
756         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
757
758         * factory.C: handle new InsetPagebreak, InsetLine
759
760         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
761         and move handling into new InsetPagebreak, InsetLine
762
763         * BufferView_pimpl.C:
764         * LyXAction.C:
765         * ParagraphParameters.C:
766         * ParameterStruct.h:
767         * lyxfunc.C:
768         * lyxtext.h:
769         * paragraph.C:
770         * paragraph.h:
771         * paragraph_funcs.C:
772         * paragraph_pimpl.C:
773         * rowpainter.C:
774         * text.C:
775         * text2.C:
776         * text3.C: adjust
777
778 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
779
780         * text.C:
781         * lyxrow_funcs.[Ch]:
782         * Bidi.C:
783         * paragraph.C:
784         * lyxtext.h:
785         * rowpainter.C:
786         * text2.C:
787         * text3.C: remove lastPos uses in favour of Row::endpos
788
789 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
790
791         * undo.C (performUndoOrRedo): fix two crashes by setting a
792         cursor by hand and reordering some calls. Use bv->lockInset instead
793         of inset->edit because the latter loses cursor information
794
795 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
796
797         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
798         by Martin
799         (rowBreakPoint): fix width. change point to point + 1.
800         Add a missing check.
801
802 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
803
804         * MenuBackend.C:
805         * lyxfunc.C: fix (at least partly) the problems
806         with the Nav menu and headers inside branch insets
807         reported by Kayvan
808
809 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
810
811         * paragraph.C (getChar): add strong asserts
812
813         * lyxrow_funcs.C (lastPos): remove hideous hack
814
815         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
816         (fill): adjust to that (avoid an infinite loop)
817
818 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
819
820         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
821
822 2003-10-23  André Pönitz  <poenitz@gmx.net>
823
824         * RowList_fwd.h: change list<> to vector<> to gain speed
825         after suggestion from Alfredo
826
827 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
828
829         * lyxtext.h: move the bidi stuff from here...
830         * text.C: and here
831         * text2.C: and here
832         * Bidi.[Ch]: ... to here
833
834 2003-10-23  André Pönitz  <poenitz@gmx.net>
835
836         * lyxtext.h:
837         * text.C (isLastRow, isFirstRow): new functions
838
839         * paragraph.h: new width cache member
840
841         * rowpainter.C: replace RowList::iterator with Row & where possible
842
843         * lyxfunc.C: replace several view()->text with a single call
844
845         * toc.C: fix 'unused' warning
846
847 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
848
849         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
850         when woring with stream::pos_type
851         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
852
853 2003-10-22  André Pönitz  <poenitz@gmx.net>
854
855         * lyxtext.h:
856         * text.C: use Row & instead of RowList::iterator
857
858         * lyxrow.h: rename end() to endpos()
859
860         * rowpainter.C:
861         * text.C:
862         * text2.C: adjust
863
864 2003-10-22  Angus Leeming  <leeming@lyx.org>
865
866         * buffer.[Ch] (fully_loaded): new member function, returning true
867         only when the file has been loaded fully.
868         Used to prevent the premature generation of previews and by the
869         citation inset to prevent computation of the natbib-style label.
870
871         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
872         templates are all set up.
873
874         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
875
876 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
877
878         * text.C: fixed an "oops" in the "is a bit silly"
879         bug fix
880
881 2003-10-21  André Pönitz  <poenitz@gmx.net>
882
883         * FuncStatus.[Ch]: small stuff, whitespace
884
885         * lyxfont.[Ch]: operator<<() for debug reasons
886
887         * lyxfunc.C:
888         * lyxrow_funcs.C:
889         * lyxtext.h: whitespace, spelling
890
891         * paragraph.C: naming of variables
892
893         * text.C:
894         * text2.C: small stuff
895
896
897 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
898
899         * text.C: (1) finish off the inset display() work;
900         (2) fix the "is a bit silly" bug (accessing char
901         past end of par).
902
903 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
904
905         * text.C: re-introduce display() for insets, fixing the
906         various bugs (stretch of line above, math inset
907         positioning, ...)
908
909 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * text.C (rightMargin): remove spurious semicolon
912
913         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
914         1415)
915
916 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
917
918         * text3.C: fix one crash due to wrong cursor def
919
920 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
921
922         * vc-backend.C (scanMaster): make the regex static
923
924         * LaTeX.C (scanAuxFile): make the regexs static
925
926         * text3.C (doInsertInset, dispatch, dispatch):
927         * text2.C (cursorUp, cursorDown):
928         * text.C (selectNextWordToSpellcheck):
929         * BufferView_pimpl.C (dispatch):
930         * lyxfunc.C (dispatch):  localDispatch -> dispatch
931
932 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         * lyxsocket.C: include <cerrno>
935
936 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
937
938         * lyxfunc.C (dispatch): remove textcache stuff
939
940         * bufferlist.C (release): remove textcache stuff
941         (closeAll): ditto
942
943         * TextCache.C: delete file
944         * TextCache.h: delete file
945
946         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
947
948         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
949         delete of the bv_->text.
950         (resizeCurrentBuffer): remove texcache stuff
951         (workAreaResize): ditto
952
953 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
954
955         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
956         action.
957
958 2003-10-16  André Pönitz  <poenitz@gmx.net>
959
960         * lyxrow.[Ch]:
961         * paragraph.h:
962         * rowpainter.C:
963         * text.C:
964         * text2.C:
965         * text3.C: speed up by storing y positions per paragraph plus per-row
966         offset instead of having a 'full' y position in the row.
967
968 2003-10-15  André Pönitz  <poenitz@gmx.net>
969
970         * iterators.[Ch]:
971         * iterators.[Ch]:
972         * undo.[Ch]: make undo aware of inner insets
973
974 2003-10-14  Angus Leeming  <leeming@lyx.org>
975
976         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
977         static member functions LyX::ref() and LyX::cref.
978         (lastfiles): new accessor functions for the new lastfiles_ member var.
979         (addLyXView, views_): add a new LyXView to the list of views_.
980         (updateInset): loop over all LyXViews to call their own updateInset
981         member function, returning a pointer to the Buffer owning the inset.
982
983         * BufferView_pimpl.C (loadLyXFile):
984         * MenuBackend.C (expandLastfiles):
985         * bufferlist.C (MenuWrite, QuitLyX):
986         lastfiles is no longer a global variable.
987         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
988
989         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
990         static function. Access through LyX::cref().emergencyCleanup().
991
992 2003-10-14  André Pönitz  <poenitz@gmx.net>
993
994         * iterators.[Ch]: new direct access to innermost LyXText and Inset
995
996         * undo.[Ch]: restoring part of 'undo in insets'
997
998         * Makefile.am:
999         * undo_funcs.[Ch]: merge with undo.[Ch]
1000
1001         * tabular.C: small cleansing stuff
1002
1003 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1004
1005         * paragraph_funcs.C (readParToken): report unknown insets as error
1006         boxes. Use the outer paragraph as location (also for unknown
1007         tokens).
1008
1009         * factory.C (readInset): do not abort on reading an unknown inset.
1010         Eat it and return 0.
1011
1012 2003-10-13  Angus Leeming  <leeming@lyx.org>
1013
1014         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1015
1016         * lyxrc.C: displayTranslator is now a function,
1017         declared in GraphicsTypes.h.
1018
1019 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1020
1021         * format.C: new placeholder $$a to pass the socket address.
1022
1023         * bufferlist.[Ch]: new function getBufferFromTmp.
1024
1025         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1026           files in the temporary dir.
1027
1028 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1029
1030         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1031
1032         * Makefile.am: add lyxsocket.[Ch].
1033
1034         * lyx_main.C (error_handler): handle SIGPIPE.
1035
1036 2003-10-13  André Pönitz  <poenitz@gmx.net>
1037
1038         * BufferView_pimpl.C:
1039         * lyxtext.h:
1040         * text.C:
1041         * text2.C:
1042         * text3.C:
1043         * undo_funcs.[Ch]: use paroffset_type instead of
1044           ParagraphList::iterators to prevent multiple conversion
1045           (and get a more robust interface)
1046
1047 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1048
1049         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1050         * lyxtext.h: ditto
1051         * text3.C (dispatch): ditto
1052
1053 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1054
1055         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1056         move the onlyfile, use onlyfile instead of foundfile in a couple
1057         of places.
1058
1059         * DepTable.C (update): flush the error stream a bit more
1060
1061 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1062
1063         * lyxserver.C (callback): adjust
1064
1065         * lyxfunc.C (getStatus): add a missing brace in commented code
1066         (ensureBufferClean): reindent
1067         (dispatch): delete version taking a string
1068
1069 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1070
1071         * LaTeX.C (deplog): move found file handlig from here...
1072         (handleFoundFile): .. to new function here.
1073         (deplog): make sure to discover several files mentioned on the
1074         same log line.
1075
1076 2003-10-10  André Pönitz  <poenitz@gmx.net>
1077
1078         * lyxfunc.C:
1079         * lyxtext.h:
1080         * tabular.C:
1081         * text.C:
1082         * text2.C:
1083         * text3.C: fix some of the tabular crashes
1084
1085 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1086
1087         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1088
1089         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1090
1091 2003-10-09  André Pönitz  <poenitz@gmx.net>
1092
1093         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1094
1095         * BufferView.C:
1096         * BufferView_pimpl.C:
1097         * bufferview_funcs.C:
1098         * lyx_cb.C:
1099         * lyxcursor.C:
1100         * lyxfind.C:
1101         * lyxfunc.C:
1102         * lyxtext.h:
1103         * text.C:
1104         * text2.C:
1105         * text3.C:
1106         * text_funcs.[Ch]:
1107         * textcursor.[Ch]:
1108         * undo_funcs.C: adjust
1109
1110 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1111
1112         * text2.C (incrementItemDepth): new function, use a backtracking
1113         algorithm to discover the correct item depth.
1114         (resetEnumCounterIfNeeded): new function, use a backtracking
1115         algorithm to discover if counter reset is needed.
1116         (setCounter): use them. Simplify a bit. Add different labels for
1117         different item depths for itemize.
1118
1119         * paragraph.C (Paragraph): remove initialization of enumdepth
1120         (operator=): ditto
1121
1122         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1123         enumerate and itemize. Change the type of itemdepth to signed char.
1124
1125 2003-10-08  André Pönitz  <poenitz@gmx.net>
1126
1127         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1128           thing assignable.
1129         * text.C:
1130         * text2.C: adjust
1131
1132         * tabular.[Ch]: fix crash after 'row-insert'
1133
1134 2003-10-08  Angus Leeming  <leeming@lyx.org>
1135
1136         Fix doxygen warnings.
1137
1138         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1139         Remove CutAndPaste:: prefix from header file declaration.
1140
1141         * LColor.h (fill): remove LColor:: prefix from declaration.
1142
1143         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1144         use lyx::depth_type rather than Paragraph::depth_type so that
1145         header file and .C file match.
1146
1147         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1148
1149         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1150         * aspell.C: \file aspell_local.C -> \file aspell.C
1151         * gettext.C: \file gettext.C -> \file src/gettext.C
1152         * gettext.h: \file gettext.h -> \file src/gettext.h
1153         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1154         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1155         * text.C: \file text.C -> \file src/text.C
1156
1157         * toc.C: move comment so that doxygen is not confused.
1158
1159 2003-10-07  Angus Leeming  <leeming@lyx.org>
1160
1161         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1162
1163 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1164
1165         * aspell.C:
1166         * aspell_local.h: add forgotten std::string's.
1167
1168 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1169
1170         * LaTeXFeatures.C:
1171         * LyXAction.C:
1172         * factory.C:
1173         * lfuns.h:
1174         * lyxfunc.C:
1175         * text3.C: The Box patch. Fancybox support, minipage, parbox
1176
1177 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1178
1179         * CutAndPaste.h:
1180         * DepTable.h:
1181         * FloatList.h:
1182         * LaTeXFeatures.h:
1183         * ParagraphParameters.h:
1184         * TextCache.h:
1185         * Thesaurus.h:
1186         * bufferlist.h:
1187         * exporter.h:
1188         * importer.h:
1189         * lastfiles.h:
1190         * lyxfind.h:
1191         * lyxfont.h:
1192         * lyxlex.h:
1193         * lyxtextclasslist.h:
1194         * messages.h:
1195         * paragraph.h:
1196         * paragraph_pimpl.C:
1197         * textcursor.h: add <string> and other small fixes to make Lars'
1198         std::string patch compile with STLport.
1199
1200 2003-10-06  Angus Leeming  <leeming@lyx.org>
1201
1202         * LColor.h: Add missing #include <string>.
1203
1204 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1205
1206         * All most all file in all subdirs: Make <string> be the prefered
1207         way of getting to std::string, add using declarations.
1208
1209 2003-10-06  André Pönitz  <poenitz@gmx.net>
1210
1211         * metricsinfo.C: initialize LyXFont before changing attribute.
1212         (fixes the 'math in \emph is upright' bug)
1213
1214 2003-10-06  André Pönitz  <poenitz@gmx.net>
1215
1216         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1217
1218 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1219
1220         * graph.C:
1221         * paragraph_pimpl.C: Small fixes to build using STLport
1222
1223 2003-10-02  André Pönitz  <poenitz@gmx.net>
1224
1225         * lyxfunc.C:
1226         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1227
1228 2003-10-01  André Pönitz  <poenitz@gmx.net>
1229
1230         * factory.C: assert early
1231
1232 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1233
1234         * lyx_main.C: remove the global debug object
1235
1236         * debug.h: adjust for new debugstream
1237
1238         * debug.C: adjust for new debugstream and keep the global debug
1239         object here.
1240
1241 2003-09-22  Angus Leeming  <leeming@lyx.org>
1242
1243         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1244         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1245         an incomplete class LyXFont.
1246
1247 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1248
1249         * factory.C: bug fix in branches
1250
1251 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1252
1253         * lyxfunc.C (processKeySym): adjust
1254         (dispatch): adjust
1255         (dispatch): change arg name from ev to func, adjust
1256         (sendDispatchMessage): ditto
1257
1258         * lyx_main.C (defaultKeyBindings): adjust keybindings
1259         (deadKeyBindings): ditto
1260
1261         * kbsequence.C (addkey): return a FuncRequest
1262
1263         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1264
1265         * kbmap.C (bind): take a FuncRequest as arg, adjust
1266         (read): adjust
1267         (lookup): adjust
1268         (defkey): change to take a FuncRequest as arg, adjust
1269         (findbinding): take a FuncRequest as arg, adjust.
1270
1271         * funcrequest.h (operator=): added
1272
1273         * funcrequest.C (FuncRequest): default kb_action changed from
1274         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1275
1276         * buffer.C (dispatch): simplify
1277         (dispatch): adjust to take a FuncRequest as arg, adjust
1278
1279         * boost.C (assertion_failed): change assertion message slightly
1280
1281         * ToolbarBackend.C (read): simplify
1282
1283         * MenuBackend.C (binding): adjust call to findbinding, add a
1284         message if no binding is found.
1285         (read): simplify
1286         (expandToc): correct by adding a empty FuncRequest
1287
1288         * LyXAction.C: include <boost/assert.hpp>
1289         (isPseudoAction): delete function
1290         (LookupFunc): change name to...
1291         (lookupFunc): this. change return type to FuncRequest.
1292         (getActionName): take kb_action as arg, simplify
1293         (funcHasFlag): add an assert, simplify.
1294
1295 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1296
1297         * toc.C (action): return a FuncRequest, simplify
1298
1299         * lyxfunc.C (processKeySym): adjust
1300         (getStatus): delete version that takes an int.
1301         (getStatus): adjust
1302         (dispatch): delete version that takes action as int
1303         (dispatch): adjust
1304         (sendDispatchMessage): simplify and adjust
1305
1306         * funcrequest.C (getArg): take unsigned int as arg
1307
1308         * ToolbarBackend.C (read): adjust
1309         (add): delete version that takes func as a string.
1310         (getIton): take a FuncRequest as arg
1311
1312         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1313         action.
1314
1315         * MenuBackend.C (MenuItem): add a new construct that only takes a
1316         Kind, simplify the constructor use for submenus.
1317         (add): adjust
1318         (expandLastfiles): adjust
1319         (expandDocuments): adjust
1320         (expandFormats): adjust
1321         (expandFloatListInsert): adjust
1322         (expandFloatInsert): adjust
1323         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1324
1325         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1326         Remove class variables lyx_pseudo_map and lyx_arg_map
1327
1328         * LyXAction.C (searchActionArg): delete function
1329         (getPseudoAction): delete function
1330         (retrieveActionArg): delete function
1331         (LookupFunc): make it return kb_action, simplify.
1332         (getActionName): simplify
1333
1334         * factory.C (createInset): fix new bug
1335
1336 2003-09-19  Angus Leeming  <leeming@lyx.org>
1337
1338         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1339         masterFilename_ parameter in the include inset.
1340
1341         * factory.C (createInset): changes due to the changes to InsetInclude.
1342
1343 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1344
1345         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1346
1347 2003-09-18  Angus Leeming  <leeming@lyx.org>
1348
1349         * buffer.C:
1350         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1351         Inset::fillWithBibKeys.
1352         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1353
1354 2003-09-18  Angus Leeming  <leeming@lyx.org>
1355
1356         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1357         variables.
1358         (ctor): pass and store a 'Buffer const &'
1359         (buffer): new member function.
1360
1361         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1362         '*this' to the LaTeXFeatures ctor.
1363
1364 2003-09-18  Angus Leeming  <leeming@lyx.org>
1365
1366         * LColor.h:
1367         * lyxfont.C:
1368         * lyxfont.h:
1369         * lyxtext.h:
1370         * text.C: rename EnumLColor as LColor_color.
1371
1372 2003-09-18  Angus Leeming  <leeming@lyx.org>
1373
1374         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1375         remove #include "insets/insetbase.h" from cursor.h.
1376
1377 2003-09-18  Angus Leeming  <leeming@lyx.org>
1378
1379         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1380         InsetOld_code to remove #include "inset.h".
1381
1382         * iterators.C: add #include "insets/inset.h"
1383
1384 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1385
1386         * BufferView.C: remove more locking stuff that apparently doesn't
1387         do anything sensible.
1388
1389 2003-09-16  André Pönitz  <poenitz@gmx.net>
1390
1391         * paragraph.[Ch]:
1392         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1393           performance boost.
1394
1395 2003-09-16  Angus Leeming  <leeming@lyx.org>
1396
1397         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1398
1399         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1400         arg/return type.
1401
1402         * paragraph.h: remove #include "lyxfont.h". Forward declare
1403         LyXFont_size.
1404
1405 2003-09-16  Angus Leeming  <leeming@lyx.org>
1406
1407         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1408         of support/textutils.h.
1409         (isWord): move the contents of support/textutils.h's IsWordChar here.
1410
1411         * buffer.C:
1412         * lyxfind.C:
1413         * rowpainter.C:
1414         * text.C:
1415         * text2.C: add #include "paragraph.h".
1416
1417         * rowpainter.C:
1418         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1419
1420 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1421
1422         * main.C:
1423         * lyx_main.C:
1424         * lyx_cb.C:
1425         * buffer.C:
1426         * LaTeX.C: use namespace alias for lyx::support::os
1427
1428 2003-09-16  Angus Leeming  <leeming@lyx.org>
1429
1430         * bufferparams.C:
1431         * bufferview_funcs.C:
1432         * factory.C:
1433         * lyxfunc.C:
1434         * paragraph_pimpl.C:
1435         * rowpainter.C:
1436         * text.C: add #include "LColor.h".
1437
1438 2003-09-16  Angus Leeming  <leeming@lyx.org>
1439
1440         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1441         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1442         return LyXFont &.
1443         Store the FontBits::color variable as an int rather than as an
1444         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1445         file.
1446
1447         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1448         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1449         string calls together.
1450
1451         * lyxrc.C: add #include "LColor.h".
1452
1453 2003-09-15  Angus Leeming  <leeming@lyx.org>
1454
1455         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1456         a cow_ptr.
1457
1458 2003-09-15  Angus Leeming  <leeming@lyx.org>
1459
1460         * LColor.h: add an EnumLColor wrapper for LColor::color.
1461
1462         * lyxfont.[Ch] (color, setColor, realColor):
1463         * lyxtext.h, text.C (backgroundColor):
1464         pass EnumLColor args to/from the functions, rather than LColor::color
1465         ones.
1466
1467         * lyxfont.h:
1468         * lyxtext.h: forward declare EnumLColor.
1469
1470         * lyx_main.C: add #include "LColor.h".
1471
1472 2003-09-15  Angus Leeming  <leeming@lyx.org>
1473
1474         * .cvsignore: add lyx-gtk.
1475
1476 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1477
1478         * Chktex.C
1479         * LaTeX.C
1480         * LaTeXFeatures.C
1481         * ParagraphParameters.C
1482         * Spacing.C
1483         * buffer.C
1484         * bufferparams.C
1485         * bufferview_funcs.C
1486         * chset.C
1487         * counters.C
1488         * funcrequest.C
1489         * lyxfont.C
1490         * lyxgluelength.C
1491         * lyxlength.C
1492         * paragraph.C
1493         * paragraph_funcs.C
1494         * text3.C
1495         * vc-backend.C: remove usage of STRCONV
1496
1497 2003-09-15  Angus Leeming  <leeming@lyx.org>
1498
1499         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1500         explicitly define the color passed to the painter.
1501
1502 2003-09-15  Angus Leeming  <leeming@lyx.org>
1503
1504         * bufferparams.C (BufferParams): reorder member initializers to avoid
1505         compiler warning.
1506
1507 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1508
1509         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1510         * text.C (updateRowPositions): remove an unusual nop
1511
1512 2003-09-12  André Pönitz  <poenitz@gmx.net>
1513
1514         * BufferView_pimpl.C:
1515         * Bullet.C:
1516         * layout.h:
1517         * lyxfunc.C:
1518         * lyxlayout.[Ch]:
1519         * lyxtextclass.C:
1520         * rowpainter.C:
1521         * text.C:
1522         * text2.C:
1523         * Counters.[Ch]: finish the 'automatic counters' job
1524
1525 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1526
1527         * aspell.C: include <boost/assert.cpp> (compile fix)
1528
1529 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1530
1531         * boost.C (assertion_failed): use lyx::support::abort instead of
1532         assert.
1533
1534 2003-09-10  Angus Leeming  <leeming@lyx.org>
1535
1536         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1537         with their _fwd progeny.
1538
1539 2003-09-09  Angus Leeming  <leeming@lyx.org>
1540
1541         134 files throughtout the source tree: replace 'using namespace abc;'
1542         directives with the appropriate 'using abc::xyz;' declarations.
1543
1544 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1545
1546         * boost.C (emergencyCleanup): moved here from LAssert.c
1547         (assertion_failed): new function, called by BOOST_ASSERT
1548
1549         * several files: change Assert to BOOST_ASSERT
1550
1551 2003-09-09  Angus Leeming  <leeming@lyx.org>
1552
1553         * buffer.[Ch]: Add an Impl class and move Buffer's member
1554         variables into it. As a result move several header files out of
1555         buffer.h.
1556
1557         Add header files to lots of .C files all over the tree as a result.
1558
1559 2003-09-09  Angus Leeming  <leeming@lyx.org>
1560
1561         * buffer.[Ch]: make Buffer's member variables private. Add
1562         accessor functions.
1563
1564         Lots of changes all over the tree as a result.
1565
1566 2003-09-08  Angus Leeming  <leeming@lyx.org>
1567
1568         * graph.C: #include <config.h>.
1569
1570 2003-09-08  Angus Leeming  <leeming@lyx.org>
1571
1572         * BranchList.C:
1573         * BufferView.C:
1574         * BufferView_pimpl.C:
1575         * CutAndPaste.C:
1576         * DepTable.C:
1577         * LaTeX.C:
1578         * LaTeXFeatures.C:
1579         * LyXAction.C:
1580         * MenuBackend.C:
1581         * TextCache.C:
1582         * aspell.C:
1583         * buffer.C:
1584         * bufferlist.C:
1585         * changes.C:
1586         * chset.C:
1587         * converter.C:
1588         * counters.C:
1589         * debug.C:
1590         * graph.C:
1591         * ispell.C:
1592         * lyx_cb.C:
1593         * lyxfind.C:
1594         * lyxfunc.C:
1595         * lyxlex_pimpl.C:
1596         * lyxrc.C:
1597         * lyxrow.C:
1598         * paragraph.C:
1599         * rowpainter.C:
1600         * texrow.C:
1601         * text.C:
1602         * text2.C:
1603         * toc.C: remove redundant using directives.
1604
1605 2003-09-07  Angus Leeming  <leeming@lyx.org>
1606
1607         * LaTeXFeatures.h: remove #include "support/types.h".
1608         * ToolbarBackend.h: remove #include <algorithm>.
1609         * changes.h: remove #include <ctime>.
1610         * debug.h: remove #include <iosfwd>.
1611         * graph.h: remove #include "support/std_string.h".
1612         * lyx_main.h: remove #include <csignal>.
1613         * lyxlex_pimpl.h: remove #include <fstream>.
1614         * sgml.h: remove #include <algorithm>, <utility>.
1615         * toc.h: remove #include "support/std_ostream.h".
1616         Add #include <iosfwd>.
1617
1618 2003-09-07  Angus Leeming  <leeming@lyx.org>
1619
1620         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1621
1622         * converter.h: forward declare LatexRunParams.
1623         * encoding.h: remove #include "lyxrc.h".
1624         * lyxtext.h: remove #include "LColor.h".
1625         * lyxtextclass.h: remove #include "support/types.h".
1626         * trans.h: remove #include "tex-accent.h".
1627         * trans_mgr.h: remove #include "tex-accent.h".
1628         * insets/inset.h: remove #include "support/types.h", <vector>.
1629         * insets/insetcollapsable.h: remove #include "LColor.h".
1630         * insets/insetinclude.h: remove #include "dimension.h".
1631         * insets/insetlatexaccent.h: remove #include "dimension.h".
1632         * insets/insetoptarg.h:: remove #include "insettext.h".
1633         * insets/insettext.h: remove #include "dimension.h",
1634         <boost/shared_ptr.hpp>
1635
1636         * insets/renderers.h: add #include "dimension.h".
1637         * insets/updatableinset.h: add #include "support/types.h".
1638
1639         * many .C files: Associated changes.
1640
1641 2003-09-06  Angus Leeming  <leeming@lyx.org>
1642
1643         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1644         one, inside testInvariant.
1645
1646         * PrinterParams.C: new file.
1647         * PrinterParams.[Ch]: move the function bodies out of line.
1648
1649 2003-09-06  Angus Leeming  <leeming@lyx.org>
1650
1651         * ParagraphParameters.h: forward declare ParameterStruct rather than
1652         including its header file.
1653         (depth): moved out-of-line.
1654
1655 2003-09-06  Angus Leeming  <leeming@lyx.org>
1656
1657         * BufferView_pimpl.h:
1658         * kbmap.h:
1659         * kbsequence.h:
1660         * lyxfunc.h: forward declare LyXKeySym rather than
1661         #include "frontends/LyXKeySym.h".
1662
1663         * BufferView_pimpl.C:
1664         * kbmap.C:
1665         * kbsequence.C:
1666         * lyxfunc.C: associated changes.
1667
1668 2003-09-06  Angus Leeming  <leeming@lyx.org>
1669
1670         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1671         As a result, can remove the #include "insets/inset.h" from BufferView.h
1672
1673 2003-09-06  Angus Leeming  <leeming@lyx.org>
1674
1675         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1676         As a result, can remove the #include "insets/inset.h" from BufferView.h
1677
1678 2003-09-06  Angus Leeming  <leeming@lyx.org>
1679
1680         * buffer_funcs.C:
1681         * buffer.h:
1682         * bufferlist.C:
1683         * BufferView.C:
1684         * bufferview_funcs.C:
1685         * BufferView_pimpl.C:
1686         * CutAndPaste.C:
1687         * lyx_cb.C:
1688         * lyxfunc.C:
1689         * paragraph.h:
1690         * ParagraphParameters.C:
1691         * tabular.C:
1692         * text3.C:
1693         * toc.C:
1694         * undo_funcs.C:
1695         * frontends/controllers/ControlDocument.C:
1696         * insets/insetcaption.C: rearrange the #includes into some sort of
1697         coherent order.
1698
1699         * buffer.h: remove #includes ErrorList.h, undo.h
1700
1701 2003-09-06  Angus Leeming  <leeming@lyx.org>
1702
1703         * support/types.h: add a 'depth_type' typedef, used to store the
1704         nesting depth of a paragraph.
1705
1706         * paragraph.h:
1707         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1708         defining explicitly.
1709
1710         * buffer.h:
1711         * paragraph_funcs.h:
1712         * ParagraphParameters.h:
1713         * sgml.h: use lyx::depth_type rather than Paragraph or
1714         ParameterStruct's depth_type.
1715
1716         * buffer.h
1717         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1718
1719         * BufferView.C:
1720         * BufferView_pimpl.C:
1721         * CutAndPaste.C:
1722         * ParagraphParameters.C:
1723         * buffer_funcs.C:
1724         * bufferlist.C:
1725         * bufferview_funcs.C:
1726         * lyx_cb.C:
1727         * lyxfunc.C:
1728         * tabular.C:
1729         * text3.C:
1730         * toc.C:
1731         * undo_funcs.C:
1732         * frontends/LyXView.C:
1733         * frontends/controllers/ControlDocument.C:
1734         * frontends/controllers/ControlErrorList.C:
1735         * insets/insetbibitem.C:
1736         * insets/insetbranch.C:
1737         * insets/insetcaption.C:
1738         * insets/insetcollapsable.C:
1739         * insets/insetenv.C:
1740         * insets/insetert.C:
1741         * insets/insetfloat.C:
1742         * insets/insetfoot.C:
1743         * insets/insetfootlike.C:
1744         * insets/insetnewline.C:
1745         * insets/insetquotes.C:
1746         * insets/insettabular.C:
1747         * insets/insettext.C:
1748         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1749
1750         * frontends/controllers/ControlChanges.C: #include "changes.h".
1751
1752 2003-09-06  Angus Leeming  <leeming@lyx.org>
1753
1754         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1755         than #including paragraph.h.
1756
1757         * ParagraphList.h:
1758         * RowList.h: deleted. Superfluous.
1759
1760         * CutAndPaste.h:
1761         * iterators.h:
1762         * lyxcursor.h:
1763         * lyxtext.h:
1764         * text_funcs.h:
1765         * undo.h:
1766         * undo_funcs.h:
1767         * insets/inset.h:
1768         * insets/insettext.h: use ParagraphList_fwd.h rather than
1769         ParagraphList.h.
1770
1771         * paragraph.h: don't forward declare ParagraphList.
1772
1773         * buffer.h:
1774         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1775         rather than ParagraphList.h. paragraph.h is still needed for the
1776         Paragraph::depth_type parameters.
1777
1778         * textcursor.h: enable it to compile stand-alone in light of the
1779         above changes.
1780
1781         * bufferview_funcs.C:
1782         * iterators.C:
1783         * lyxfunc.C:
1784         * lyxrow_funcs.C:
1785         * paragraph.C:
1786         * rowpainter.C:
1787         * text.C:
1788         * text2.C:
1789         * text3.C:
1790         * text_funcs.C:
1791         * textcursor.C:
1792         * undo.C:
1793         * frontends/controllers/ControlParagraph.C:
1794         * frontends/controllers/ControlTabular.C:
1795         * insets/insetmarginal.C:
1796         * insets/insetminipage.C:
1797         * insets/insetnote.C:
1798         * insets/insetoptarg.C: add header files needed to compile again.
1799
1800 2003-09-06  Angus Leeming  <leeming@lyx.org>
1801
1802         * RowList_fwd.h: new file, forward-declaring Row rather than
1803         #including lyxrow.h.
1804
1805         * lyxrow_funcs.h:
1806         * lyxtext.h:
1807         * paragraph.h:
1808         * insets/insettext.h: use it instead of RowList.h
1809
1810         * bufferview_funcs.C:
1811         * lyxfunc.C:
1812         * lyxrow_funcs.C:
1813         * paragraph.C:
1814         * rowpainter.C:
1815         * text.C:
1816         * text2.C:
1817         * text3.C: #include "RowList.h".
1818
1819 2003-09-05  Angus Leeming  <leeming@lyx.org>
1820
1821         * factory.C (createInset):
1822         * vspace.C (c-tor): replace sscanf call with an istringstream.
1823         * ispell.C: re-add missing HP/UX headers.
1824         * lyxserver.C: re-add missing  os2 headers.
1825
1826 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1827
1828         * BranchList.C:
1829         * graph.C:
1830         * ispell.C:
1831         * lastfiles.C:
1832         * lyx_cb.C:
1833         * lyxserver.C:
1834         * texrow.C:
1835         * text3.C: re-add missing system headers, needed for 2.95.2.
1836
1837 2003-09-05  Angus Leeming  <leeming@lyx.org>
1838
1839         Changes most place everywhere due to the removal of using directives
1840         from support/std_sstream.h.
1841
1842 2003-09-05  Angus Leeming  <leeming@lyx.org>
1843
1844         Replace LString.h with support/std_string.h,
1845         Lsstream.h with support/std_sstream.h,
1846         support/LIstream.h with support/std_istream.h,
1847         support/LOstream.h with support/std_ostream.h.
1848
1849         Changes resulting throughout the tree.
1850
1851 2003-09-05  Angus Leeming  <leeming@lyx.org>
1852
1853         * sgml.h: ensure that the header file can be compiled stand-alone.
1854         * *.C: strip out redundant #includes. (320 in total.)
1855
1856 2003-09-04  Angus Leeming  <leeming@lyx.org>
1857
1858         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1859         here (from getPackages).
1860
1861         * debug.[Ch]: add a new EXTERNAL tag.
1862
1863 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1864
1865         * text2.C (cursorEnd): simplify
1866         (setCursor): adjust
1867         (getColumnNearX): adjust
1868
1869         * text.C (computeBidiTables): adjust
1870         (fill): adjust
1871
1872         * rowpainter.C (paintChars): adjust
1873         (paintSelection): adjust
1874         (paintChangeBar): adjust
1875         (paintText): adjust
1876
1877         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1878         lastPos instead.
1879         (numberOfSeparators): adjust
1880
1881 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1882
1883         * LyXAction.C:
1884         * box.[Ch]:
1885         * lfuns.h:
1886         * lyxfunc.C:
1887         * text3.C: Restricts the mouse click functionality
1888         of insets like bibtex, include, toc and floatlist to the visible
1889         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1890         up the dialogs. Cursor has to be in front of the inset (i.e.
1891         start of row) for this to function.
1892
1893 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1894
1895         * bufferview_funcs.C (currentState): output row information
1896
1897 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1898
1899         * bufferview_funcs.C (currentState): output paragraph position
1900
1901 2003-09-04  Angus Leeming  <leeming@lyx.org>
1902
1903         * FloatList.h: move out #include "Floating.h".
1904         * LaTeX.h: move out #include "DepTable.h".
1905         * LyXAction.h: move out #include "funcrequest.h".
1906         * buffer.h: move out #include "author.h", "iterators.h".
1907         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1908         * lyx_main.h: move out #include "errorlist.h".
1909         * lyxfunc.h: move out #include "FuncStatus.h".
1910         * lyxtext: move out #include "lyxcursor.h".
1911         * paragraph_pimpl.h: move out #include "counters.h".
1912
1913 2003-09-03  Angus Leeming  <leeming@lyx.org>
1914
1915         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1916         preamble_snippets list, enabling us to add snippets to the preamble
1917         only if the snippet was not there already.
1918
1919 2003-09-04  Angus Leeming  <leeming@lyx.org>
1920
1921         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1922
1923 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1924
1925         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1926         update
1927
1928 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1929
1930         * BranchList.C: point fix, earlier forgotten
1931
1932 2003-09-02  Angus Leeming  <leeming@lyx.org>
1933
1934         * box.C (contains): renamed from 'contained' after a fantastic
1935         amount of hot air.
1936
1937 2003-09-02  John Levon  <levon@movementarian.org>
1938
1939         * BufferView.C:
1940         * lyxcursor.h:
1941         * lyxcursor.C:
1942         * lyxfunc.C:
1943         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1944
1945 2003-09-02  John Levon  <levon@movementarian.org>
1946
1947         * text2.C: simplification of cursorEnd(), including partial
1948         fix for bug 1376
1949
1950 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1951
1952         * buffer.C (readFile): add a space
1953
1954 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1955
1956         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1957
1958 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1959
1960         * buffer.C (readFile): new function, take a filename and a
1961         ParagraphList::iterator
1962         (readFile): adjust
1963         (readFile): adjust, make it private. don't use setStream, make
1964         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1965         always contain the filename.
1966
1967         * BufferView.C (insertLyXFile): simplify and make it work for
1968         gzipped files.
1969
1970 2003-08-30  John Levon  <levon@movementarian.org>
1971
1972         * Makefile.am: fix dist (from Kayvan)
1973
1974 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * most files: change to use const Buffer refs
1977
1978 2003-08-27  André Pönitz  <poenitz@gmx.net>
1979
1980         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1981         on top of ownerPar().
1982
1983 2003-08-27  John Levon  <levon@movementarian.org>
1984
1985         * funcrequest.C: properly initialise POD members
1986
1987 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1988
1989         * lyxtext.h (top_y): move top_y from here
1990         * text.C:
1991         * text2.C:
1992         * text3.C:
1993         * BufferView.[Ch]:
1994         * BufferView_pimpl.[Ch]: to here
1995         * frontends/screen.C:
1996         * insets/insettabular.C:
1997         * insets/insettext.C: adjust
1998         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1999
2000 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2001
2002         * BufferView.[Ch]:
2003         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2004
2005 2003-08-26  André Pönitz  <poenitz@gmx.net>
2006
2007         * paragraph_func.[Ch] (outerPar): new function
2008
2009         * paragraph.C:
2010         * paragraph_funcs.C:
2011         * paragraph_funcs.h:
2012         * paragraph_pimpl.C:
2013         * text2.C: remove Inset::par_owner
2014
2015 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2016
2017         * lyxrow_funcs.C:
2018         * lyxtext.h:
2019         * text.C:
2020         * text2.C: eliminates the needFullRow/display() stuff
2021         altogether, putting the logic in metrics/draw in the insets.
2022
2023 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2024
2025         * text2.C (redoParagraphInternal, redoParagraphs):
2026         * text.C (redoParagraph): add a call to updateRowPositions at the
2027         end of each 'metrics-like' call. Remove all others.
2028         (getRow): remove the 'y-computing' version.
2029         (getRowNearY): do not compute nor return the real y. Solve the
2030         'y < 0' problem and simplify.
2031
2032 2003-08-22  Angus Leeming  <leeming@lyx.org>
2033
2034         * *.[Ch]: clean-up of licence and author blurbs.
2035         Also move config.h out of a few .h files and into a few .C files.
2036
2037 2003-08-22  André Pönitz  <poenitz@gmx.net>
2038
2039         * lyxrow.[Ch]: add x_ and *fill_ members
2040
2041         * lyxtext.h:
2042         * text.C:
2043         * rowpainter.C:
2044         * text2.C: adjust/remove prepareToPrint() calls
2045
2046 2003-08-22  André Pönitz  <poenitz@gmx.net>
2047
2048         * lyxrow.[Ch]: add  end_ member
2049
2050         * lyxrow_funcs.C: use LyXRow::end_
2051
2052         * lyxtext.h (singleWidth): add LyXFont parameter
2053
2054         * rowpainter.C:
2055         * text2.C: adjust LyXText::singleWidth() calls
2056
2057         * text.C (redoParagraph): simplify row breaking logic
2058
2059
2060 2003-08-19  André Pönitz  <poenitz@gmx.net>
2061
2062         * funcrequest.C: initialize button_ member
2063
2064         * text3.C:
2065         * rowpainter.[Ch]: interface consolidation
2066
2067 2003-08-18  André Pönitz  <poenitz@gmx.net>
2068
2069         * BufferView.C:
2070         * BufferView_pimpl.C:
2071         * lyxfind.C:
2072         * paragraph_funcs.C:
2073         * rowpainter.C:
2074         * text3.C: remove LyXScreen::draw() and fitCursor calls
2075
2076         * BranchList.h: remove spurious semicolons
2077
2078         * MenuBackend.C: fix branchlist related crash
2079
2080 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2081
2082         * BranchList.[Ch]:
2083         * InsetList.[Ch]:
2084         * LColor.[Ch]:
2085         * LyXAction.C:
2086         * Makefile.am:
2087         * MenuBackend.[Ch]:
2088         * bufferparams.[Ch]:
2089         * factory.C:
2090         * lfuns.h:
2091         * lyxfunc.C:
2092         * text3.C: implements the 'branch inset'
2093         idea. This allows the output of various versions of a document
2094         from a single source version, selectively outputing or suppressing
2095         output of parts of the text.
2096         This implementation contains a 'branch list editor' in a separate
2097         tab of the document settings dialog. Branches are user definable
2098         and have a "display colour" to distinguish them on-screen.
2099
2100         ColorHandler was somewhat cleaned up.
2101         (1) make possible a dynamically growing LColor list by allowing
2102         the graphic context cache to grow along (vector);
2103         (2) eliminate an IMHO unnecessary step in colour allocation.
2104
2105 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2106
2107         * BufferView_pimpl.C: compile fix
2108
2109 2003-08-15  André Pönitz  <poenitz@gmx.net>
2110
2111         * rowpainter.C: remove extra metrics calls
2112
2113         * lyxtext.h: merge the two constructors into a single one,
2114           pass reference to owner's par list
2115
2116         * BufferView_pimpl.C:
2117         * text.C:
2118         * text2.C: adjust
2119
2120 2003-08-15  André Pönitz  <poenitz@gmx.net>
2121
2122         * lyxrow_funcs.[Ch]:
2123         * lyxtext.h:
2124         * paragraph.h:
2125         * paragraph_funcs.C:
2126         * rowpainter.C:
2127         * text.C:
2128         * text2.C:
2129         * text3.C:
2130         * text_funcs.C: split LyXText::rowlist_ into individual
2131         Paragraph::rows_ chunks
2132
2133         * BufferView.[Ch]:
2134         * BufferView_pimpl.[Ch]:
2135         * lyxfind.C:
2136         * lyxtext.h:
2137         * text3.C: remove toggleSelection()
2138
2139 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2140
2141         * bufferlist.C: beautify two alerts (shorter text of buttons)
2142         * buffer.C: Remove redundant ' ' from message
2143         * tabular.h:
2144         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2145         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2146         rename VALIGN_CENTER to VALIGN_MIDDLE
2147
2148 2003-08-11  André Pönitz  <poenitz@gmx.net>
2149
2150         * lyxtext.h (getPar):
2151         * text.C: new function
2152
2153 2003-08-11  André Pönitz  <poenitz@gmx.net>
2154
2155         * Makefile.am:
2156         * tracer.[Ch]: remove unneeded files
2157
2158         * InsetList.[Ch]: remove resizeInsetsLyXText()
2159
2160         * lyxtext.h:
2161         * text.C:
2162         * text2.C:
2163         * text3.C: merge insertParagraphs() and appendParagraph()
2164         remove breakAgain(), update()
2165
2166         * BufferView_pimpl.[Ch]:
2167         * bufferview_funcs.[Ch]:
2168         * lyxfunc.C:
2169         * paragraph.[Ch]:
2170         * rowpainter.C:
2171         * tabular.C: adjust after text & InsetList changes.
2172
2173 2003-08-08  André Pönitz  <poenitz@gmx.net>
2174
2175         * text.C (insertChar, backspace): replace rowlist fiddling
2176         with rebreak of full par
2177
2178         * lyxtext.h:
2179         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2180         checkParagraph, updateInset): removed
2181
2182 2003-08-07  André Pönitz  <poenitz@gmx.net>
2183
2184         * paragraph.C:
2185         * text3.C: merge some LFUN handlers, remove dead code
2186
2187 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2190
2191 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2192
2193         * text2.C (DEPM): fix part of bug 1255 and 1256
2194
2195 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2196
2197         * BufferView_pimpl.C (workAreaDispatch): change to use
2198         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2199         that are no mouse related.
2200
2201 2003-08-05  André Pönitz  <poenitz@gmx.net>
2202
2203         * BufferView.[Ch]:
2204         * BufferView_pimpl.[Ch]:
2205         * bufferview_funcs.C:
2206         * text2.C:
2207         * text3.C: rip out "deep update"
2208
2209         * textcursor.[Ch] (last_sel_cursor): remove unused member
2210
2211 2003-08-04  André Pönitz  <poenitz@gmx.net>
2212
2213         * BufferView.[Ch]:
2214         * BufferView_pimpl.[Ch]:
2215         * ParagraphParameters.C:
2216         * bufferview_funcs.C:
2217         * lyx_cb.C:
2218         * lyxfind.C:
2219         * lyxfunc.C:
2220         * text.C:
2221         * text2.C:
2222         * text3.C: replace "complicated" BufferView::update(...) calls with
2223         simpler ones.
2224
2225         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2226
2227 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2228
2229         * Makefile.am (lyx_SOURCES): add paper.h
2230
2231 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2232
2233         * Makefile.am: move things around so that both lyx-qt and
2234         lyx-xforms can be built (according to --with-frontend). Then lyx
2235         is a symbolic link to lyx-[firstfrontend]
2236
2237 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2238
2239         * Always use std::endl with lyxerr
2240
2241 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2242
2243         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2244
2245 2003-08-01  André Pönitz  <poenitz@gmx.net>
2246
2247         * BufferView.[Ch]:
2248         * BufferView_pimpl.[Ch]:
2249         * lyxfunc.C:
2250         * text3.C: merge BufferView::repaint() and BufferView::update()
2251
2252 2003-08-01  José Matos  <jamatos@lyx.org>
2253
2254         * buffer.[Ch]: file_format is no longer a buffer data element.
2255
2256 2003-08-01  André Pönitz  <poenitz@gmx.net>
2257
2258         * BufferView.C:
2259         * lyxtext.h:
2260         * text.C:
2261         * text2.C: make redoParagraph more independent of current cursor
2262
2263         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2264         * text.C:
2265         * text2.C: remove unneeded members
2266
2267 2003-07-30  André Pönitz  <poenitz@gmx.net>
2268
2269         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2270
2271         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2272           create a single function...
2273
2274         * paragraph_funcs.C (moveItem): ... here.
2275
2276         * text.C:
2277           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2278
2279 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2280
2281         * LColor.[Ch]: Add comment and greyedout logical colors.
2282
2283 2003-07-30  André Pönitz  <poenitz@gmx.net>
2284
2285         * tabular.C: don't use Assert too heavily. This crashes where it
2286           shouldn't
2287
2288 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2291         is disabled (bug 1232)
2292
2293 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2294
2295         * factory.C: limited 'arg' scope
2296
2297 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2298
2299         * factory.C: fixed Note submenu issues
2300
2301 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2302
2303         * factory.C: submenu for Note/Comment/Greyedout
2304
2305 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2306
2307         * lyx_main.C (LyX):
2308         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2309
2310 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2311
2312         * LaTeXFeatures.C:
2313         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2314         greyedout. Patch provided by Jürgen Spitzmüller.
2315
2316 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2317
2318         * kbmap.C (read): fix error message when reading bind files
2319
2320 2003-07-29  Angus Leeming  <leeming@lyx.org>
2321
2322         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2323         certainly does not do what it purports to do. I am doing it, and
2324         us, a favour by killing it.
2325
2326 2003-07-28  José Matos  <jamatos@lyx.org>
2327
2328         * buffer.C (readBody, do_writeFile):
2329         * paragraph.C(readParagraph): \end_document replaces \the_end.
2330
2331 2003-07-29  André Pönitz  <poenitz@gmx.net>
2332
2333         * BufferView.[Ch]:
2334         * BufferView_pimpl.[Ch]:
2335         * lyxfunc.C:
2336         * text2.C:
2337         * text3.C:
2338         * textcursor.[Ch]: remove toggleToggle & Co
2339
2340 2003-07-28  José Matos  <jamatos@fep.up.pt>
2341
2342         * buffer.C (readParagraph):
2343         * params_func (readParToken, readParagraph):
2344         * paragraph.C (write): \layout -> \begin_layout.
2345
2346 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2347
2348         * lyxlex_pimpl.C (setFile): clean up slightly.
2349
2350         * bufferparams.h: add compressed var
2351
2352         * buffer_funcs.C (readFile): adjust for LyXLex change
2353         (newFile): ditto + simplify
2354
2355         * buffer.C (writeFile): handle writing of compressed files
2356
2357         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2358         Check if the file is compressed and set a bufferparm if so.
2359
2360         * Makefile.am (lyx_LDADD): remove explicit -lz
2361
2362 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2363
2364         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2365         makeDocBookFile): put the real LyX version in the first line of
2366         the file
2367
2368         * version.h:
2369         * version.C.in: remove lyx_docversion
2370
2371         * tabular.C (write_attribute): add a template-based version to
2372         write enums properly
2373
2374 2003-07-28  André Pönitz  <poenitz@gmx.net>
2375
2376         * lyxtext.h:
2377         * text.C:
2378         * text2.C:
2379         * text3.C: use doubles again for x-coordinates. They are needed.
2380
2381 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2382
2383         * messages.C (getLocaleDir): use lyx_localedir()
2384
2385         * lyxlex_pimpl.C (setFile): compress stuff
2386
2387         * buffer.C (writeFile): add some compression stuff
2388         (do_writeFile): new func, dont call expliti close... will this
2389         breake anything?
2390
2391         * Makefile.am (lyx_LDADD): add -lz
2392
2393 2003-07-28  José Matos  <jamatos@fep.up.pt>
2394
2395         * buffer.C: increment file format.
2396         * paragraph_funcs (readParagraph, readParToken):
2397         * paragraph.C (readParagraph): add \end_layout.
2398
2399 2003-07-27  Angus Leeming  <leeming@lyx.org>
2400
2401         * Makefile.am: remove special casing for configure-time setting of
2402         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2403
2404         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2405         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2406
2407 2003-07-26  André Pönitz  <poenitz@gmx.net>
2408
2409         * paragraph_func.[Ch]:
2410         * paragraph.C (realizeFont): inline it whereever it is used
2411
2412         * rowpainter.C:
2413         * text.C:
2414         * text2.C:
2415         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2416
2417
2418 2003-07-26  André Pönitz  <poenitz@gmx.net>
2419
2420         *       lyxtext.h:
2421         * text.C:
2422         * text2.C: get rid of LyXText::need_break_row
2423
2424 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2425
2426         * toc.[Ch]: put namespace toc inside namespace lyx
2427
2428         * MenuBackend.C (expandToc2): adjust for lyx::toc
2429         (expandToc): ditto
2430
2431         * lyxfunc.C (dispatch): adjust for lyx::find
2432
2433         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2434         lyx::find instead. Reorganize a bit.
2435         (LyXReplace): rename to replace
2436         (LyXFind): rename to find
2437
2438         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2439         (dispatch): ditto
2440
2441 2003-07-26  André Pönitz  <poenitz@gmx.net>
2442
2443         * text.C (setHeightOfRow): restrict scope of temporary variable
2444
2445         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2446           code (never has been used?)
2447
2448 2003-07-27  Asger Alstrup  <alstrup@local>
2449
2450         * text.C (fill): Optimise algorithm to exploit that we can reuse
2451         the LyXFont for many characters.
2452         (setHeightOfRow): Same thing.
2453         (rowBreakPoint): Same thing.
2454
2455 2003-07-26  Asger Alstrup  <alstrup@local>
2456
2457         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2458
2459         * text.C (singleWidth): Spurious font copying in hot-spot
2460         singleWidth avoided. Reorder tests for arabic for efficiency.
2461
2462         * text.C (fill): handle empty paragraphs better.
2463
2464 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2465
2466         * ispell.C:
2467         * encoding.h: add includes
2468
2469         * lyxrc.C: remove reading of bind files
2470
2471         * lyx_main.C (init): setup bindings and menus only if we have a
2472         gui.
2473
2474         * kbmap.C (read): new method. Do the actual reading of bind
2475         files.
2476
2477         * converter.C (dvipdfm_options):
2478         * bufferparams.C:
2479         * lyxrc.C (read):
2480         (output): adapt PAPER_* enums.
2481
2482         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2483
2484         * bufferparams.h: remove paper-related enums from there
2485
2486         * paper.h: New file. A trivial header file to hold paper-related
2487         enums. It should later expand to contain many paper-related
2488         horrors access.
2489
2490         * lyxrc.C: declare extern displayTranslator
2491
2492 2003-07-27  José Matos  <jamatos@fep.up.pt>
2493
2494         * tabular.[Ch] (linuxdoc): add support for tables and figures
2495         (linuxdoc).
2496
2497 2003-07-27  José Matos  <jamatos@fep.up.pt>
2498
2499         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2500         consistency in both functions.
2501         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2502
2503 2003-07-26  Asger Alstrup  <alstrup@local>
2504
2505         * rowpainter.C (paintRows): Change algorithm to work directly on
2506         the insets rather than asking every character in the document
2507         whether its an inset.
2508
2509 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2510
2511         * buffer.C (openFileWrite): factorize some code
2512
2513 2003-07-26  Angus Leeming  <leeming@lyx.org>
2514
2515         * lyx_cb.C:
2516         * lyx_main.[Ch]: replace occurances of system_tempdir with
2517         os::getTmpDir().
2518
2519 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * rename Inset to InsetOld
2522
2523 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2524
2525         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2526         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2527         which I think is a bit clearer. EDIT is gone, since it was
2528         premature optimisation, and broken for mathed anyway.
2529         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2530         with cursor positioning in insets as well (math insets still do not
2531         work, but that's a different story anyway.) It mysteriously
2532         crashes sometimes with undo in the first paragraph, but I'm fairly
2533         confident that this is a compiler bug.
2534
2535 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2536
2537         * paragraph.C (Paragraph): adjust for new clone return type
2538         (operator==): ditto
2539         (copyIntoMinibuffer): ditto
2540
2541 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2542
2543         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2544         by not having a special case, and always doing a full rebreak of
2545         the document after undo.
2546
2547 2003-07-23  Angus Leeming  <leeming@lyx.org>
2548
2549         * factory.C (createInset): InsetExternal::setParams now takes a
2550         Buffer const * arg.
2551
2552 2003-07-23  Angus Leeming  <leeming@lyx.org>
2553
2554         * factory.C (createInset): changed interface to the external and
2555         graphics mailers' string2params functions.
2556
2557 2003-07-23  Angus Leeming  <leeming@lyx.org>
2558
2559         * factory.C (createInset): pass a
2560         Buffer const * parameter to InsetExternalMailer's string2params.
2561
2562 2003-07-22  John Levon  <levon@movementarian.org>
2563
2564         * Thesaurus.h: include the right aiksaurus header
2565
2566 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2567
2568         * MenuBackend.C (expand): check menu shortcuts unconditionally
2569
2570 2003-07-21  Angus Leeming  <leeming@lyx.org>
2571
2572         * factory.C (createInset): pass a
2573         buffer_path parameter to InsetGraphicsMailer's string2params.
2574
2575 2003-07-21  Angus Leeming  <leeming@lyx.org>
2576
2577         * BufferView_pimpl.C (buffer):
2578         * buffer.C (d-tor):
2579         * lyx_main.C (LyX):
2580         * lyxfunc.C (dispatch):
2581         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2582         rather than the grfx shortcut.
2583
2584 2003-07-21  André Pönitz  <poenitz@gmx.net>
2585
2586         * rowpainter.C: remove unused variables
2587
2588         * tabular_funcs.C:
2589         * tabular_funcs.h: move to tabular.C
2590         * Makefile.am: adjust
2591
2592         * tabular.[Ch]: basic optical cleaning
2593
2594         * author.h: pass references, not values
2595
2596 2003-07-18  André Pönitz  <poenitz@gmx.net>
2597
2598         * lyxtext.h:
2599         * metricsinfo.C:
2600         * metricsinfo.h:
2601         * rowpainter.C:
2602         * text.C:
2603         * text2.C:
2604         * text3.C: two-phase drawing for InsetText and InsetTabular
2605         some float -> int changes.
2606
2607 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * lyx_main.C: fix the fix
2610
2611 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2612
2613         * lyx_main.C: fix a crash in batch mode if no files specified
2614         * converter.C: ws
2615
2616 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2617
2618         * format.[Ch] (papersize): moved to BufferParams
2619         * converter.[Ch] (dvips_options): moved to BufferParams
2620         (dvipdfm_options): moved to anon namespace
2621         * bufferparams.[Ch]: added above functions.
2622
2623 2003-07-17  André Pönitz  <poenitz@gmx.net>
2624
2625         * lyxtext.h:
2626         * rowpainter.C:
2627         * text2.C: don't call inset->update() anymore
2628
2629         * metricsinfo.[Ch]: add convenience constructor
2630
2631 2003-07-16  André Pönitz  <poenitz@gmx.net>
2632
2633         * lyxcursor.[Ch]:
2634         * lyxfunc.[Ch]:
2635         * text.C:
2636         * text2.C: replace the LyXCursor::irow_ member with
2637          on-demand computation of the value
2638
2639 2003-07-16  John Levon  <levon@movementarian.org>
2640
2641         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2642
2643 2003-07-15  André Pönitz  <poenitz@gmx.net>
2644
2645         * text.C:
2646         * text2.C: remove no more needed refresh_row
2647
2648 2003-07-15  André Pönitz  <poenitz@gmx.net>
2649
2650         * lyxtext.h:
2651         * rowpainter.C:
2652         * text2.C:
2653         * text3.C: refresh_status tristate -> need_update bool
2654
2655 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2656
2657         * lyxtext.h (init): remove reinit argument (act as if always true)
2658         * text2.C: adjust to that
2659
2660 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2661
2662         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2663         * text3.C: use it to delete selections in some cases
2664         (bugs 441, 673, 702, 954).
2665
2666 2003-07-14  André Pönitz  <poenitz@gmx.net>
2667
2668         * rowpainter.[Ch]: reduce interface
2669
2670 2003-07-14  André Pönitz  <poenitz@gmx.net>
2671
2672         * BufferView_pimpl.C:
2673         * text2.C: adjust after removing unused BufferView * argument
2674
2675 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * text2.C (init): fix a crash fired on resize
2678
2679 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * buffer.[Ch]: added new closing signal
2682         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2683         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2684         BufferView::Pimpl via the closing the signal
2685
2686 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2687
2688         * buffer.[Ch]: take out all bv-related from buffer
2689         * BufferView.C:
2690         * BufferView_pimpl.[Ch]: connect to new signals
2691         * CutAndPaste.C: removed useless asserts
2692         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2693         * lyxvc.[Ch]:
2694         * vc-backend.[Ch]:
2695         * lyxfunc.C: moved view-related funciontality from vc here
2696         * paragraph.C: removed outdated comments
2697         * text.C: ws
2698
2699 2003-07-10  André Pönitz  <poenitz@gmx.net>
2700
2701         * BufferView_pimpl.C:
2702         * tabular.h:
2703         * tabular_funcs.C:
2704         * text.C:
2705         * text2.C: remove InsetText::InnerCache, clean up consequences
2706
2707 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2708
2709         * ispell.C: fix two typos in error messages
2710
2711 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2712
2713         * Extend Note inset to other forms of annotation like Comment
2714         and Greyedout. Right button click gives dialog.
2715
2716         Files modified or added (+):
2717
2718         * insetnote.[Ch]
2719         * FormNote.[Ch]      +
2720         * ControlNote.[Ch]   +
2721         * form_note.fd       +
2722         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2723         frontends/controllers
2724         * xforms/Dialogs.C
2725         * factory.C
2726
2727 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2728
2729         * aspell.C: add missing namespace lyx::support
2730
2731 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2732
2733         * BufferView.[Ch] (newFile): Add
2734         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2735         * LaTeX.[Ch] (message): added this signal and use it
2736         * buffer.[Ch] (busy, message): added these signals and use them
2737         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2738         * converter.C:
2739         * exporter.C:
2740         * format.C:
2741         * importer.C: use buffer signals instead of direct bv calling
2742         * lyx_cb.[Ch] (ShowMessage): removed
2743         * lyx_main.C:
2744         * lyxfunc.C:
2745         * paragraph_funcs.C:
2746         * text2.C: use buffer signals
2747
2748 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2749
2750         * introduce namespace lyx::graphics
2751
2752 2003-07-02  André Pönitz  <poenitz@gmx.net>
2753
2754         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2755
2756 2003-07-01  André Pönitz  <poenitz@gmx.net>
2757
2758         * text.C:
2759         * text2.C:
2760         * text3.C:
2761         * text_funcs.[Ch]:
2762         * textcursor.h:
2763         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2764           text*.C to text_func.C
2765
2766 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2767
2768         * introduce namespace lyx::support
2769
2770 2003-06-30  André Pönitz  <poenitz@gmx.net>
2771
2772         * Chktex.C:
2773         * funcrequest.C:
2774         * lyxtext.h:
2775         * text.C: re-enable --with-included-string
2776
2777 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * textcursor.C: add <config.h>
2780
2781         * text.C (getWord): remove const from word_location arg
2782
2783         * lyxvc.C (getLogFile): fix const type order
2784
2785         * lyxtext.h: remove const from word_location arg, add arg name
2786
2787         * lyxlayout.h: currect type on labeltype.
2788
2789         * importer.C: correct \file
2790
2791         * converter.C (intToFormat): use std:: on ret val, ws changes
2792
2793         * bufferlist.h: correct \file
2794
2795         * buffer.C (makeLinuxDocFile): fix const type order
2796         (makeDocBookFile): ditto
2797         (fillWithBibKeys): use std:: on stdlib args.
2798
2799         * CutAndPaste.C: fix authors.
2800         (availableSelections): use std:: on return vector
2801
2802 2003-06-27  André Pönitz  <poenitz@gmx.net>
2803
2804         * BufferView_pimpl.C:
2805         * bufferview_funcs.C:
2806         * lyxcursor.C:
2807         * lyxcursor.h:
2808         * lyxfunc.C:
2809         * lyxtext.h:
2810         * rowpainter.C:
2811         * text.C:
2812         * text2.C:
2813         * text3.C: remove LyXCursor::row_ member
2814
2815         * lyxtext.h:
2816         * text.C: rename fullRebreak() to partialRebreak() and implement
2817           a fullRebreak() that really bereks fully
2818
2819         * textcursor.h: new struct for cursor-related data
2820
2821 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2822
2823         * lyx_main.C (LyX): get full path of document loaded on the
2824         command line
2825
2826 2003-06-26  André Pönitz  <poenitz@gmx.net>
2827
2828         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2829           remove unused/broken operator>,<,>=.
2830
2831         *       text.C: remove only use of broken operator<= in an Assert().
2832
2833 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2834
2835         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2836         moved errorlist_.clear to showErrorList
2837
2838 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2839
2840         * converter.C (scanLog, runLaTeX):
2841         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2842         move the bv->showErrorList call to the callers
2843         * lyxfunc.C: i.e. here...
2844         * text2.C: and here
2845         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2846         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2847         namespace, the second to...
2848         * buffer_funcs (BufferFormat, parseErrors): added
2849         * errorlist.C (ErrorList(TeXErrors const &)): removed
2850
2851 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2852
2853         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2854
2855 2003-06-24  "Garst R. Reese" <reese@isn.net>
2856
2857         * debug.C: fix typo
2858
2859 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2860
2861         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2862
2863         * version.C.in: change docversion to 1.4
2864
2865 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * buffer.C: fix a bug just introduced
2868
2869 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2870
2871         * buffer.[Ch]: added the parseError signal and use it, removed
2872         sgmlError
2873         * BufferView.[Ch] (addError): moved to ...
2874         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2875         to the Buffer::parseError signal to catch (guess what) parse errors
2876         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2877
2878 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2881         ability to create a buffer and to return an existing one from
2882         the list. Moved these functions to...
2883         * buffer_funcs.[Ch]: added
2884         * BufferView.[Ch] (loadLyXFile): added
2885         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2886         job removed from bufferlist::loadLyXFile.
2887         * buffer.C (setReadOnly): make it work without view
2888         (i.e added an if (users))
2889
2890 2003-06-19  Angus Leeming  <leeming@lyx.org>
2891
2892         * lfuns.h:
2893         * LyXAction.C (init):
2894         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2895         with LFUN_DIALOG_SHOW <name> <data>.
2896
2897 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2898
2899         * CutAndPaste.C (availableSelections): small compilation fix for
2900         ancient (gcc 2.9x) compilers
2901
2902 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * text3.C (cursorNext): add tmp var
2905
2906         * text2.C (updateCounters): for function calling out of for clause
2907         (replaceSelectionWithString): ditto
2908         (insertStringAsParagraphs): ditto
2909         (getColumnNearX): add tmp var
2910         (setCursorFromCoordinates): add tmp var
2911         (cursorDownParagraph): add tmp var
2912         (deleteEmptyParagraphMechanism): add tmp var
2913
2914         * text.C (insertChar): add tmp var
2915
2916         * rowpainter.C (paintDepthBar): add tmp var
2917
2918         * CutAndPaste.C (availableSelections): potentially check all
2919         paragraphs in a cut to fill the shown strings.
2920
2921 2003-06-18  André Pönitz  <poenitz@gmx.net>
2922
2923         * kbmap.[Ch]: use vector<> instead of list<>
2924
2925 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2926
2927         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2928         pasteSelection with index
2929
2930         * text2.C (pasteSelection): modify, call pasteSelection with index
2931
2932         * paragraph.C (asString): reimplement version with no interval to
2933         call the one with interval.
2934
2935         * lyxtext.h: add index arg to pasteSelection
2936
2937         * MenuBackend.C (MenuItem): handle PasteRecent
2938         (Menu::read::Menutags): add md_pasterecent
2939         (read): handle it
2940         (expandPasteRecent): new function
2941         (expand): use it
2942
2943         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2944
2945         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2946         the limited stack
2947         (availableSelections): new function
2948
2949 2003-06-17  Angus Leeming  <leeming@lyx.org>
2950
2951         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2952
2953 2003-06-17  Angus Leeming  <leeming@lyx.org>
2954
2955         * lfuns.h:
2956         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2957
2958         * lyxfunc.C (dispatch): invoke it.
2959
2960 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2961
2962         * iterators.C (operator++, ParPosition): reintroduce some
2963         const_cast for the benefit of older compilers.
2964
2965 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2966
2967         * text3.C (dispatch): do not modify clipboard when doing
2968         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2969         LFUN_DELETE_SKIP on a selection selection
2970
2971 2003-06-16  André Pönitz  <poenitz@gmx.net>
2972
2973         * BufferView.C:
2974         * buffer.C:
2975         * buffer.h:
2976         * paragraph.C:
2977         * tabular.[Ch]: IU of clone() and getLabelList();
2978
2979 2003-06-13  André Pönitz  <poenitz@gmx.net>
2980
2981         * tabular.h: compactification
2982
2983 2003-06-12  André Pönitz  <poenitz@gmx.net>
2984
2985         * tabular.C:
2986         * tabular.h:
2987         * tabular_funcs.h: some renaming plus whitespace
2988
2989 2003-06-12  André Pönitz  <poenitz@gmx.net>
2990
2991         * BufferView.C:
2992         * BufferView_pimpl.C:
2993         * CutAndPaste.C:
2994         * buffer.C:
2995         * iterators.[Ch]:
2996         * lyxfunc.C:
2997         * text.C:
2998         * toc.C: Return a Paragraph & for ParIterator::operator*()
2999
3000 2003-06-11  John Levon  <levon@movementarian.org>
3001
3002         * lyx_main.C:
3003         * ToolbarBackend.h:
3004         * ToolbarBackend.C: add "Toolbars" section and
3005         put the flags there
3006
3007 2003-06-10  Angus Leeming  <leeming@lyx.org>
3008
3009         * lfuns.h:
3010         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3011
3012         * lyxfunc.C (dispatch): invoke it.
3013
3014 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * main.C: protect <ios> with HAVE_IOS
3017         (main): protect sync_with_stdio with HAVE_IOS
3018
3019 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3020
3021         * text2.C (cutSelection): adjust
3022         (pasteSelection): adjust
3023
3024         * messages.C: handle get of empty string
3025
3026         * main.C (main): use sync_with_stdio(false)
3027
3028         * lyxfunc.C (dispatch): adjust
3029
3030         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3031         (WriteAs): remove unneeded BufferView arg.
3032
3033         * bufferparams.h: use correct types on papersize, papersize2 and
3034         paperpackage.
3035
3036         * bufferparams.C (readToken): adjust for type
3037         (writeLaTeX): add missing cases to switch.
3038
3039         * bufferlist.C (quitWriteBuffer): adjust
3040         (close): adjust
3041
3042         * buffer.C (asciiParagraph): remove some commented code.
3043
3044         * CutAndPaste.C: remove current_view extern variable.
3045         (cutSelection): add BufferParams arg.
3046         (eraseSelection): add BufferParams arg.
3047         (pasteSelection): add Buffer const & arg
3048
3049 2003-06-07  John Levon  <levon@movementarian.org>
3050
3051         * buffer.C:
3052         * paragraph_funcs.C:
3053         * paragraph_pimpl.C:
3054         * text.C:
3055         * text2.C:
3056         * paragraph.h:
3057         * paragraph.C: allow InsetERT to freely space lines,
3058         and some consolidation of code
3059
3060 2003-06-06  José Matos  <jamatos@fep.up.pt>
3061
3062         * buffer.C (makeDocBookFile): fix bug #821
3063
3064 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3065
3066         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3067
3068 2003-06-04  Angus Leeming  <leeming@lyx.org>
3069
3070         * buffer.C: bump format to 224.
3071
3072 2003-06-05  André Pönitz  <poenitz@gmx.net>
3073
3074         * text2.C (redoParagraphs): remove two const_cast<>
3075
3076 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3077
3078         * ParagraphList.h: remove last remnants of NO_STD_LIST
3079
3080 2003-06-03  Angus Leeming  <leeming@lyx.org>
3081
3082         * factory.C (createInset): small change to the way InsetExternal's params
3083         are set.
3084
3085 2003-06-04  André Pönitz  <poenitz@gmx.net>
3086
3087         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3088
3089         * paragraph_pimpl.h:
3090         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3091
3092         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3093
3094         * undo_funcs.C: make some simple cases of undo work again
3095
3096 2003-06-03  John Levon  <levon@movementarian.org>
3097
3098         * ispell.C: HPUX doesn't have sys/select.h
3099         (from Albert Chin)
3100
3101 2003-06-03  John Levon  <levon@movementarian.org>
3102
3103         * CutAndPaste.C: update tabular and include inset
3104         buffer references
3105
3106         * buffer.h:
3107         * paragraph.h:
3108         * paragraph.C: remove owningBuffer(), don't pass Buffer
3109         to clone()
3110
3111         * factory.C: insetGraphicsParams changed
3112
3113 2003-06-02  John Levon  <levon@movementarian.org>
3114
3115         * LyXAction.C:
3116         * factory.C:
3117         * lfuns.h:
3118         * lyxfunc.C:
3119         * text3.C: remove insetparent
3120
3121 2003-06-02  John Levon  <levon@movementarian.org>
3122
3123         * buffer.h:
3124         * buffer.C: fix inset_iterator.end(), move out of line
3125         (bug 1149)
3126
3127 2003-06-01  John Levon  <levon@movementarian.org>
3128
3129         * text3.C: use a proper cut/paste when doing inset
3130         insert (from Jürgen Spitzmüller)
3131
3132 2003-06-01  John Levon  <levon@movementarian.org>
3133
3134         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3135
3136 2003-05-30  André Pönitz  <poenitz@gmx.net>
3137
3138         * rowpainter.C: unify second drawing phase
3139
3140 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * trans_mgr.C: remove one case of current_view
3143
3144         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3145
3146         * paragraph_funcs.h: remove paragraph.h include
3147
3148         * paragraph.h: delete NO_STD_LIST stuff
3149
3150         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3151
3152         * buffer.h: remove paragraph.h include
3153
3154         * ParagraphList.C: delete file
3155
3156         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3157
3158         * toc.C (getTocList): adjust
3159
3160         * paragraph_pimpl.C (validate): adjust
3161
3162         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3163
3164         * paragraph.C (Paragraph): adjust
3165         (getPositionOfInset): use const_iterator, adjust
3166         (bibitem): use const_iterator, adjust
3167         (setInsetOwner): adjust
3168
3169         * iterators.C (operator++): adjust
3170
3171         * InsetList.[Ch]: Replace selfmade iterator with standard
3172         vector::iterator also introduce const_iterator. Remove getPos,
3173         getInset and setInset from InsetTable. Adjust accordingly.
3174
3175         * BufferView.C (lockInset): adjust
3176         (ChangeInsets): adjust
3177
3178         * tabular.[Ch]: delete commented same_id functions
3179
3180 2003-05-28  John Levon  <levon@movementarian.org>
3181
3182         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3183
3184 2003-05-28  André Pönitz  <poenitz@gmx.net>
3185
3186         * metricsinfo.[Ch]: remove 'fullredraw' member
3187
3188 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3189
3190         * lyxtextclass.C (operator): remove caching.
3191
3192 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * text3.C: adjust
3195
3196         * text2.C (cursorBottom): adjust
3197         (setCounter): use ParagraphList::find, adjust
3198
3199         * text.C (workWidth): use ParagraphList::find, adjust
3200
3201         * lyxcursor.C (LyXCursor): adjust
3202
3203         * buffer.C (inset_iterator): adjust
3204
3205         * ParagraphList.h: make iterator(value_type) private, make
3206         ParagraphList a friend of iterator.
3207
3208         * ParagraphList.C (find): new function
3209
3210         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3211
3212 2003-05-27  André Pönitz  <poenitz@gmx.net>
3213
3214         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3215
3216 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3217
3218         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3219
3220 2003-05-26  John Levon  <levon@movementarian.org>
3221
3222         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3223
3224 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3225
3226         * remove same_id from function signatures, adjust.
3227
3228 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3229
3230         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3231
3232         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3233
3234         * paragraph.C (Paragraph): get rid of same_ids parameter
3235
3236         * ParagraphList.C (insert): adjust
3237         (push_back): adjust
3238
3239 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3240
3241         * paragraph_funcs.C (breakParagraph): adjust
3242         (breakParagraphConservative): adjust
3243
3244         * buffer.C (readParagraph): adjust
3245
3246         * ParagraphList.C (insert): take a reference instead of a pointer
3247         (insert): adjust
3248
3249         * paragraph.[Ch] (id): new function
3250
3251         * bufferlist.C (newFile): adjust
3252
3253         * ParagraphList.C (ParagraphList): adjust
3254         (assign): adjust
3255         (push_back): take a reference instead of a pointer.
3256
3257         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3258
3259         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3260         instead.
3261
3262         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3263         set else use old code.
3264
3265         * ParagraphList.C: remove all NO_NEXT code and only compile this
3266         code of NO_STD_LIST is set.
3267
3268 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3269
3270         * BufferView_pimpl.C:
3271         * TextCache.C:
3272         * TextCache.h:
3273         * bufferlist.C:
3274         * errorlist.h:
3275         * format.C:
3276         * format.h:
3277         * graph.C:
3278         * lyxfunc.C:
3279         * lyxrc.C:
3280         * graphics/GraphicsConverter.C:
3281         * graphics/PreviewLoader.C: header adjustment
3282
3283 2003-05-23  Angus Leeming  <leeming@lyx.org>
3284
3285         * LaTeXFeatures.[Ch] (useBabel): new method.
3286         * bufferparams.C (writeLaTeX): use it.
3287
3288 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3289
3290         * ParagraphList.h (set): remove unused function.
3291
3292 2003-05-23  André Pönitz  <poenitz@gmx.net>
3293
3294         * BufferView.C:
3295         * BufferView_pimpl.C:
3296         * buffer.C:
3297         * buffer.h:
3298         * lyxfunc.C:
3299         * undo_funcs.C: setUndo reworked
3300
3301         * iterators.[Ch]: add access to topmost ParagraphList
3302
3303         * lyxtext.[Ch] (workWidth): add a const
3304
3305 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3306
3307         * texrow.[Ch] (increasePos): remove function
3308         * exporter.C (export): removed unused var and outdated comment
3309
3310 2003-05-23  Angus Leeming  <leeming@lyx.org>
3311
3312         * latexrunparams.h: rename fragile as moving_arg.
3313         * paragraph.C (simpleTeXOnePar): ditto.
3314         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3315
3316 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3317
3318         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3319         (createUndo): ditto
3320         (textUndoOrRedo): comment out a currently unused var.
3321
3322         * paragraph.h (NO_NEXT): enable NO_NEXT
3323
3324         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3325
3326         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3327
3328         * exporter.C (Export): adjust for removeAutoInsets removal.
3329
3330         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3331
3332         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3333
3334         * BufferView.[Ch] (removeAutoInsets): delete function
3335
3336 2003-05-22  Angus Leeming  <leeming@lyx.org>
3337
3338         * latexrunparams.h: add a free_spacing variable.
3339
3340         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3341         to pass moving_arg, as the data is stored in runparams.fragile.
3342
3343         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3344         to Inset::latexOptional or to simpleTeXOnePar.
3345
3346         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3347         free_spacing arg to Inset::latexOptional.
3348
3349         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3350         free_spacing arg.
3351
3352 2003-05-22  Angus Leeming  <leeming@lyx.org>
3353
3354         * latexrunparams.h: add fragile and use_babel variables.
3355
3356         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3357         * buffer.C (makeLaTeXFile): store this returned value in
3358         runparams.use_babel, thus passing it to the inset::latex methods.
3359
3360         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3361         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3362
3363         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3364         longer has a fragile arg, as it is stored in runparams.fragile.
3365
3366         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3367         moving_arg parameter as the data is stored in runparams.fragile.
3368
3369         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3370         a fragile parameter as the data is stored in runparams.fragile.
3371
3372 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3373
3374         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3375
3376 2003-05-22  Angus Leeming  <leeming@lyx.org>
3377
3378         * latexrunparams.h: add a 'bool nice' which defaults to false.
3379
3380         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3381         now encapsulated within runparams.
3382
3383         * bufferlist.C (updateIncludedTeXfiles):
3384         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3385
3386 2003-05-22  Angus Leeming  <leeming@lyx.org>
3387
3388         * latexrunparams.h: new file containing struct LatexRunParams.
3389         * Makefile.am: add new file.
3390
3391         * LaTeX.[Ch] (c-tor, run):
3392         * buffer.[Ch] (makeLaTeXFile):
3393         * bufferlist.[Ch] (updateIncludedTeXfiles):
3394         * converter.C (convert, scanLog):
3395         * converter.[Ch] (runLaTeX):
3396         * exporter.C (Export):
3397         * paragraph.[Ch] (simpleTeXOnePar):
3398         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3399         * paragraph_funcs.[Ch] (latexParagraphs):
3400         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3401         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3402         pass around a LatexRunParams parameter.
3403
3404 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * paragraph.[Ch]: remove unused constructor
3407
3408         * ParagraphList.C (erase): new function, taking two iterators
3409
3410 2003-05-22  André Pönitz  <poenitz@gmx.net>
3411
3412         * undo_funcs.C: remove duplicated code
3413
3414         * iterator.[Ch]: operator=
3415
3416 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * tabular.C (SetMultiColumn): ws changes
3419
3420         * rowpainter.C (paintFirst): get rid of a ->previous
3421
3422         * lyx_cb.C (getPossibleLabel): parlist simplification
3423
3424         * BufferView.C (ChangeInsets): simplify slightly.
3425
3426 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3427
3428         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3429         * lfuns.h: new LFUN_SPACE
3430         * lyxfunc.C: protected space has a new lfun
3431         * paragraph_funcs.C: read new space insets
3432         * text3.C:
3433         * factory.C: handle new space insets
3434
3435 2003-05-22  André Pönitz  <poenitz@gmx.net>
3436
3437         * BufferView.C:
3438         * BufferView_pimpl.C:
3439         * buffer.[Ch]:
3440         * lyxfunc.C:
3441         * undo_funcs.C: return a ParIterator from getParFromID.
3442
3443         * iterators.[Ch]: add two const's
3444
3445 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * toc.C (getTocList): adjust
3448
3449         * iterators.[Ch]: rework for parlist
3450
3451         * buffer.C (par_iterator_begin): adjust
3452         (par_iterator_end): adjust
3453
3454         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3455
3456         * BufferView.C (removeAutoInsets): adjust
3457         (ChangeInsets): adjust
3458
3459 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3460
3461         * text.C (top_y): fix bug 1110
3462
3463 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3464
3465         * errorlist.[Ch]: added
3466         * buffer.C:
3467         * BufferView.[Ch]:
3468         * BufferView_pimpl.C:
3469         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3470         instead
3471
3472 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * Makefile.am: ensure that lyx is relinked upon changes to the
3475         various "convenience" libs.
3476
3477 2003-05-20  Angus Leeming  <leeming@lyx.org>
3478
3479         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3480         files are compiled in alphabetical order again.
3481
3482         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3483
3484 2003-05-19  Angus Leeming  <leeming@lyx.org>
3485
3486         * gettext.[Ch]: remove "char const * _(char const *)".
3487
3488 2003-05-19  André Pönitz  <poenitz@gmx.net>
3489
3490         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3491
3492         * Makefile.am:
3493         * BufferView.C:
3494         * DepTable.h:
3495         * LaTeXFeatures.C:
3496         * buffer.C:
3497         * lyxfont.C:
3498         * lyxlex.h:
3499         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3500
3501 2003-05-19  André Pönitz  <poenitz@gmx.net>
3502
3503         * buffer.C:
3504         * lyxlayout.[Ch]:
3505         * lyxtextclass.[Ch]:
3506         * paragraph.C:
3507         * paragraph_funcs.[Ch]:
3508         * text2.C:
3509         * text3.C: more insetenv work
3510
3511 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * ParagraphParameters.C (params2string): small bug fixed
3514
3515 2003-05-16  André Pönitz  <poenitz@gmx.net>
3516
3517         * debug.C:
3518         * bufferview_funcs.C: patch from Kornel Benko to prevent
3519           crash when _(...) is called twice in a statement
3520
3521 2003-05-16  André Pönitz  <poenitz@gmx.net>
3522
3523         * BufferView.C:
3524         * lyxfunc.C:
3525         * text.C:
3526         * text2.C:
3527         * text3.C:
3528         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3529
3530 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3531
3532         * lyx_main.C (init): remove spurious static_cast
3533
3534 2003-05-14  André Pönitz  <poenitz@gmx.net>
3535
3536         * BufferView.C: fix format string
3537
3538 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * BufferView.[Ch] (insertErrors): removed
3541         * BufferView.[Ch] (showErrorList): added
3542         * buffer.C (runChkTeX):
3543         * converter.C (scanLog): call showErrorList instead of inserterrors
3544
3545 2003-05-13  André Pönitz  <poenitz@gmx.net>
3546
3547         * BufferView_pimpl.C:
3548         * buffer.C:
3549         * bufferview_func.C:
3550         * MenuBackend.C:
3551         * lyxfunc.C:
3552         * lyxrc.C:
3553         * tex-accent.C:
3554         * text3.C:
3555         * toc.C:
3556         * tabular_funcs.h: tostr() from its own header
3557
3558         * ParagraphParameters.C:
3559         * ToolbarBackend.C:
3560         * bufferparams.C:
3561         * format.C:
3562         * lyxlex_pimpl.C:
3563         * text3.C: STRCONV()
3564
3565 2003-05-12  André Pönitz  <poenitz@gmx.net>
3566
3567         * BufferView.C:
3568         * BufferView_pimpl.C:
3569         * CutAndPaste.C:
3570         * LaTeX.C:
3571         * LaTeXFeatures.C:
3572         * ParagraphParameters.C:
3573         * buffer.C:
3574         * bufferlist.C:
3575         * bufferparams.C:
3576         * bufferview_funcs.C:
3577         * converter.C:
3578         * counters.C:
3579         * debug.C:
3580         * exporter.C:
3581         * format.C:
3582         * importer.C:
3583         * lyx_cb.C:
3584         * lyx_main.C:
3585         * lyxfont.C:
3586         * lyxfunc.C:
3587         * lyxvc.C:
3588         * paragraph.C:
3589         * paragraph_funcs.C:
3590         * tabular.C:
3591         * tabular_funcs.C:
3592         * text2.C:
3593         * text3.C:  boost::format -> bformat  all over the place
3594
3595
3596 2003-05-09  André Pönitz  <poenitz@gmx.net>
3597
3598         * LColor.[Ch]: Pimpl the #include <map> away
3599
3600 2003-05-09  John Levon  <levon@movementarian.org>
3601
3602         * bufferlist.C: never remove emergency saves
3603
3604 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * Makefile.am: better lib building
3607
3608 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3609
3610         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3611         instead.
3612         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3613         (simpleTeXSpecialChars): adjust
3614         (simpleTeXSpecialChars): adjust
3615         * paragraph.C (simpleTeXOnePar): adjust
3616         * buffer.C (makeLaTeXFile): adjust
3617
3618         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3619
3620         * text2.C (changeDepth): parlist cleanup
3621         (getColumnNearX): ditto
3622
3623         * rowpainter.C (getLabelFont): parlist cleanup
3624
3625         * bufferlist.C (newFile): parlist cleanup
3626
3627         * CutAndPaste.C (eraseSelection): parlist cleanup
3628
3629         * BufferView_pimpl.C (trackChanges): parlist cleanup
3630         (dispatch): ditto
3631
3632         * BufferView.C (lockInset): parlist cleanup.
3633         (ChangeInsets): ditto
3634
3635 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3636
3637         * CutAndPaste.h: Update file header.
3638
3639         * CutAndPaste.C: Update file header.
3640         Store the parts cut out of the Document in a limited_stack.
3641         (copySelection): adjust
3642         (pasteSelection): new function, takes the index in the limited stack.
3643         (nrOfParagraphs): adjust
3644         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3645         simplify error inset insertion.
3646         (checkPastePossible): adjust
3647
3648 2003-05-06  John Levon  <levon@movementarian.org>
3649
3650         * text2.C: don't cast wrap inset to float
3651
3652 2003-05-05  André Pönitz  <poenitz@gmx.net>
3653
3654         * iterator.C:
3655         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3656
3657         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3658           few naked Paragraph *.
3659
3660 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3661
3662         * bufferparams.C: Output warning if a document with missing
3663         TeX document class is loaded
3664         * exporter.C: Disable TeX exports if the document class is missing
3665         * lyxtextclass.C:
3666         * lyxtextclass.h:
3667         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3668         isTeXClassAvailable()
3669
3670 2003-05-03  John Levon  <levon@movementarian.org>
3671
3672         * BufferView.h:
3673         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3674         explicit cursor show/hide
3675
3676         * BufferView_pimpl.h:
3677         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3678         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3679
3680         * lyxfunc.C: hide cursor before dispatching.
3681
3682         * lyx_cb.C:
3683         * lyxfind.C:
3684         * text.C:
3685         * text3.C: remove explicit cursor hides
3686
3687 2003-05-02  André Pönitz  <poenitz@gmx.net>
3688
3689         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3690
3691         * undo_funcs.C:
3692         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3693           linked lists
3694
3695         * text2.C: tiny whitespace
3696
3697 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * undo_funcs.C: almost only ws changes.
3700
3701         * ParagraphList.C (splice): just return if pl is empty.
3702
3703 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * ParagraphList.C (splice): new function.
3706
3707         * CutAndPaste.C (pasteSelection): use it
3708
3709 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3710
3711         * CutAndPaste.C (pasteSelection): remove the last next and
3712         previous from this file.
3713
3714 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * CutAndPaste.C (pasteSelection): more clean up, user proper
3717         ParagraphList functions for pasteing.
3718
3719         * ParagraphList.C (insert): new function, three arg insert
3720
3721 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * ParagraphList.C (insert): new function, three arg insert
3724
3725         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3726         not on paragraphs.
3727
3728 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3731
3732 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3735
3736 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3739         (copySelection): clean up a bit.
3740         (pasteSelection): use make_pair
3741
3742         * ParagraphList.C (ParagraphList): implement copy constructor
3743         (operator=): implement, base on copy constructor.
3744         (assign): new func
3745
3746         * paragraph.C (erase): return a bool
3747
3748         * paragraph_pimpl.C (erasePos): remove function, move contents...
3749         (erase): ... here. Return a bool.
3750         (erase): call erase instead of erasePos.
3751
3752 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3753
3754         * ParagraphList.h: define PitPosPair
3755         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3756         ParagraphList, fix a bug on pasting multiple pars
3757         * text2.C: change interface to C&P
3758
3759 2003-04-30  André Pönitz  <poenitz@gmx.net>
3760
3761         * undo_func.C: revert part of yesterday's patch 2
3762
3763 2003-04-30  John Levon  <levon@movementarian.org>
3764
3765         * LColor.C: s/tabular/table/
3766
3767 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * text3.C (dispatch): do not convert iterator -> pointer
3770         * undo_funcs.C (setCursorParUndo): ditto
3771         * text_funcs.C (transposeChars): ditto
3772
3773         * text2.C (setLayout): ws changes only
3774
3775         * text.C (breakParagraph): do not convert iterator -> pointer
3776         (insertChar): ditto
3777         (acceptChange): ditto
3778         (rejectChange): ditto
3779         (changeCase): ditto
3780         (Delete): ditto
3781         (backspace): ditto
3782
3783         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3784         pointer
3785
3786 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3787
3788         * text3.C (gotoInset): YABG (yet another bad getChar)
3789
3790 2003-04-29  André Pönitz  <poenitz@gmx.net>
3791
3792         * paragraph.h: make operator= private unimplemented as long as
3793           it is unusable
3794
3795         * ParagraphList.C: whitespace
3796
3797         * paragraph.[Ch]:
3798         * paragraph_pimpl.[Ch]:
3799         * paragraph_funcs.C:
3800         * CutAndPaste.C:
3801         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3802
3803         * text2.C:
3804           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3805
3806 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3807
3808         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3809         * paragraph.[Ch] (erase):
3810         * paragraph_pimpl.[Ch] (erase): change return type and value
3811         * text2.C (cutSelection): some rework
3812
3813 2003-04-28  John Levon  <levon@movementarian.org>
3814
3815         * bufferlist.C: changes for unsaved changes dialog
3816
3817 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3818
3819         * bufferlist.C (newFile): set language (messages_) for new
3820         documents also.
3821
3822         * buffer.C (readFile): ws changes only.
3823
3824 2003-04-28  André Pönitz  <poenitz@gmx.net>
3825
3826         * undo_funcs.C:
3827         * lyxfunc.C:
3828         * buffer.[Ch]:
3829         * BufferView_pimpl.C:
3830         * BufferView.C: getParFromID related ParagraphList::iterator changes
3831
3832 2003-04-28  André Pönitz  <poenitz@gmx.net>
3833
3834         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3835           Changes
3836
3837 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * messages.C: remove one more localedir class variable.
3840
3841 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * messages.C (getLocaleDir): singleton generation function
3844         (Pimpl): use it.
3845         (Messages): add a default constructor.
3846
3847         * main.C (main): do not setup localedir here, do not call
3848         gettext_init.
3849
3850         * gettext.C (_): use it.
3851         (gettext_init): delete funciton
3852
3853 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * gettext.C (getLyXMessages): new singleton generating function.
3856
3857         * buffer.C (updateDocLang): adjust
3858
3859         * Makefile.am (messages.o): add target
3860         (main.o): remove target
3861
3862 2003-04-27  John Levon  <levon@movementarian.org>
3863
3864         * bufferlist.C:
3865         * lyx_cb.C:
3866         * lyxfunc.C:
3867         * lyxvc.C: specify cancel button in Alert::prompt
3868
3869 2003-04-26  John Levon  <levon@movementarian.org>
3870
3871         * text3.C:
3872         * lyxfunc.C:
3873         * lfuns.h:
3874         * LyXAction.C: add LFUN_INSET_SETTINGS
3875
3876         * lyxfunc.C: don't enable tabular-feature when there's
3877         just any locking inset
3878
3879 2003-04-26  John Levon  <levon@movementarian.org>
3880
3881         * bufferlist.C: re-add Cancel to buffer close question
3882
3883         * lyxfunc.C: fix import UI a bit
3884
3885 2003-04-25  John Levon  <levon@movementarian.org>
3886
3887         * gettext.C: remove the broken asserts for now
3888
3889 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3890
3891         * messages.C: make case where setlocale cannot comply work better.
3892
3893         * buffer.C (updateDocLang): new function
3894         (changeLanguage): use it
3895         (readFile): use it
3896
3897         * text2.C (setCounter): use B_ a bit.
3898
3899         * lyxlayout.C (Read): be sure to trim the label strings.
3900
3901         * messages.C (Messages): fix typo in comment
3902
3903         * buffer.C (readFile): set message_ after file is loaded.
3904         (makeDocBookFile): remove double return
3905         (changeLanguage): reset message_ upon language change.
3906         (B_): new func, use this to get translated buffer strings.
3907
3908         * main.C: add myself and Jean Marc as authors.
3909
3910 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * messages.[hC]: pimplify Messages, and three different pimpls to be
3913         used in different circumstances.
3914
3915         * gettext.[Ch]: change for use with new message code.
3916
3917 2003-04-24 André Pönitz <poenitz@gmx.net>
3918
3919         * factory.C: support for eqref
3920
3921 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * messages.[Ch]: add missing char
3924
3925         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3926
3927         * messages.[Ch]: New files
3928
3929 2003-04-18  John Levon  <levon@movementarian.org>
3930
3931         * BufferView.h:
3932         * BufferView.C:
3933         * BufferView_pimpl.C:
3934         * lfuns.h:
3935         * LyXAction.C:
3936         * lyxtext.h:
3937         * text2.C: remove layout-copy/paste (bug 778)
3938
3939 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3940
3941         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3942
3943 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3944
3945         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3946         if they succeed. Act accordingly.
3947
3948 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3949
3950         * text2.C (setCharFont): adjust
3951         (setCounter): adjust
3952         (insertStringAsLines): adjust
3953
3954         * text.C (leftMargin): adjust
3955         (setHeightOfRow): adjust
3956
3957         * rowpainter.C (paintFirst): adjust
3958         (paintLast): adjust
3959
3960         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3961         (outerHook): ditto
3962         (isFirstInSequence): ditto
3963         (getEndLabel): ditto
3964         (outerFont): adjust
3965
3966         * paragraph.C (getParLanguage): comment out some hard stuff.
3967
3968         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3969         (sgmlError): ditto
3970         (simpleDocBookOnePar): ditto
3971         (makeDocBookFile): use ParagraphList::iterator
3972
3973         * CutAndPaste.C (pasteSelection): adjust
3974
3975 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * text2.C (getFont): adjust
3978         (getLayoutFont): adjust
3979         (getLabelFont): adjust
3980
3981         * paragraph_funcs.C (TeXOnePar): adjust
3982
3983         * buffer.C (simpleLinuxDocOnePar): adjust
3984         (simpleDocBookOnePar): adjust
3985
3986         * CutAndPaste.C (pasteSelection): adjust
3987
3988         * BufferView.C (getEncoding): adjust
3989
3990         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3991
3992 2003-04-16  John Levon  <levon@movementarian.org>
3993
3994         * lyxfind.C: use parlist stuff for search/changes
3995
3996 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3999
4000         * text2.C (deleteEmptyParagraphMechanism): adjust
4001
4002         * text2.[Ch] (ownerParagraph): delete func (both of them
4003
4004 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4007
4008 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * ParagraphList.C: prepare for NO_NEXT
4011
4012 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4013
4014         * text2.C (getFont): adjust
4015         (getLayoutFont): adjust
4016         (getLabelFont): adjust
4017
4018         * paragraph.C (getFont): adjust
4019         (getLabelFont): adjust
4020         (getLayoutFont): adjust
4021
4022         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4023
4024 2003-04-15  John Levon  <levon@movementarian.org>
4025
4026         From Angus Leeming
4027
4028         * lyx_main.C: handle Include in .ui files
4029
4030 2003-04-15  John Levon  <levon@movementarian.org>
4031
4032         * MenuBackend.C: make the doc files length shorter
4033
4034         * ToolbarBackend.h:
4035         * ToolbarBackend.C: handle toolbar placement flags,
4036         Minibuffer
4037
4038 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4041         adjust
4042
4043         * paragraph_funcs.C (TeXOnePar): adjust
4044
4045         * paragraph.C (getLabelFont): add outerfont arg, adjust
4046         (getLayoutFont): ditto
4047         (simpleTeXOnePar): adjust
4048
4049         * paragraph_pimpl.C (realizeFont): delete func
4050
4051 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4052
4053         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4054         row argument, constify cur argument.
4055
4056 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * text2.C (getFont): adjust
4059         (getLayoutFont): adjust
4060         (getLabelFont): adjust
4061
4062         * paragraph_funcs.C (TeXOnePar): adjust
4063         (outerFont): new func...
4064         (realizeFont): ...moved out from here, changed this to facilitate
4065         transition
4066
4067         * paragraph.C (getFont): take outerfont as arg, adjust
4068         (simpleTeXOnePar): add outerfont arg, adjust
4069
4070         * buffer.C (simpleLinuxDocOnePar): adjust
4071         (simpleDocBookOnePar): adjust
4072
4073         * CutAndPaste.C (pasteSelection): adjust
4074
4075         * BufferView.C (getEncoding): adjust
4076
4077 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4078
4079         * text2.C (setCharFont): adjust
4080         (setCounter): adjust
4081
4082         * text.C (leftMargin): adjust
4083         (setHeightOfRow): adjust
4084
4085         * rowpainter.C (paintFirst): adjust
4086         (paintLast): adjust
4087
4088         * paragraph_pimpl.C (realizeFont): adjust
4089
4090         * paragraph.C (isFirstInSequence): move from here...
4091         * paragraph_funcs.C (isFirstInSequence): ...to here
4092
4093         * paragraph.C (outerHook): move from here...
4094         * paragraph_funcs.C (outerHook): ...to here
4095
4096         * paragraph.C (depthHook): move from here...
4097         * paragraph_funcs.C (depthHook): ...to here
4098
4099         * paragraph.C (getEndLabel): move from here...
4100         * paragraph_funcs.C (getEndLabel): ...to here
4101
4102         * text2.C (realizeFont): move from here...
4103         * paragraph_funcs.C (realizeFont): ...to here
4104
4105 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4106
4107         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4108
4109 2003-04-14  Angus Leeming  <leeming@lyx.org>
4110
4111         * LColor.[Ch]: scrap LColor mathcursor.
4112
4113 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * lyxlex.[Ch] (text): delete function
4116         * trans.C (Load): adjust
4117         * paragraph_funcs.C (readParToken): adjust
4118
4119 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4122         vector<char> instead of a char[].
4123
4124         * lyxlex_pimpl.C (getString): adjust
4125         (next): adjust
4126         (lex): use getString
4127         (eatLine): adjust
4128         (nextToken): adjust
4129
4130         * lyxlex.C (text): use pimpl_->getString()
4131         (getBool): ditto
4132         (findToken): ditto
4133
4134 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4137         (makeFontEntriesLayoutSpecific): temp var for par.size()
4138         (setLayout): temp var for ownerParagraphs().end()
4139         (fullRebreak): temp var for rows().end()
4140         (selectionAsString): temp var for boost::next(startpit), realize
4141         that the while really is a regular for loop.
4142         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4143         setCursor in one place.
4144         (setParagraph): temp vr for ownerParagraphs().end()
4145         (updateCounters): make the while loop a for loop
4146         (cutSelection): temp var for ownerParagraphs().end()
4147         (updateInset): make the do {} while() a regular for loop
4148         (getCursorX): use temp vars
4149         (setCurrentFont): use temp vars
4150         (getColumnNearX): use temp vars
4151
4152 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4153
4154         * text.C (transformChar): use temp var for getChar
4155         (computeBidiTables): use temp var for row->par()
4156         (fill): move temp vars for row->par() and pit->layout() earlier in
4157         the function.
4158         (labelFill): use temp var for row->par()
4159         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4160         asc and desc, realize that pit never changes and that firstpit is
4161         just a duplicate and not needed. Exchange rit->par() with pit in a
4162         lot of places.
4163         (breakAgain): use a temp var for boost::next(rit)
4164         (breakAgainOneRow): ditto
4165         (breakParagraph): use a temp var for rows().begin()
4166         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4167         (cursorRightOneWord): use temp var for cursor.par() and
4168         cursor.pos(), remove usage of tmpcursor.
4169         (cursorLeftOneWord): use temp var for cursor.par() and
4170         cursor.pos() only set cur at end of function.
4171
4172 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * text.C, text2.C: exchange all usage of Paragraph::next with
4175         boost::next(ParagraphList::iterator)
4176
4177         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4178
4179         * text2.C (cursorTop): simplify implementation
4180         (cursorBottom): ditto
4181         (setParagraph): use ParagraphList::iterator
4182         (setCurrentFont): adjust
4183         (getColumnNearX): adjust
4184         (cursorRight): adjust
4185         (cursorLeft): remove usage of Paragraph::previous
4186         (cursorUpParagraph): ditto
4187         (deleteEmptyParagraphMechanism): slight cleanup
4188
4189         * text.C (isBoundary): take a Paragraph const & instead of a
4190         pointer as arg.
4191         (addressBreakPoint): ditto
4192         (leftMargin): remove usage of Paragraph::previous.
4193         (setHeightOfRow): ditto
4194         (cursorLeftOneWord): ditto
4195         (selectNextWordToSpellcheck): ditto
4196         (Delete): ditto
4197         (backspace): ditto
4198         (breakParagraph): remove one usage of Paragraph::next
4199         (redoParagraph): ditto
4200         (acceptChange): ditto
4201         (insertChar): adjust
4202         (rowBreakPoint): adjust
4203
4204         * bufferview_funcs.C (toggleAndShow): adjust
4205
4206 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4209         methods to access it.
4210         * lyxtext.h:
4211         * text.C: Added updateRowPositions to compute all row positions.
4212         Make top_y and getRowNearY() to use the cached y position
4213
4214 2003-04-11  John Levon  <levon@movementarian.org>
4215
4216         * text.C (rowBreakPoint): reintroduce the labelEnd
4217         checks, code copied from the row fill stuff. Deep voodoo.
4218
4219         * text.C (fill): add a comment and debugging for the
4220         next poor soul.
4221
4222 2003-04-11  John Levon  <levon@movementarian.org>
4223
4224         * text.C: make sure fullrow insets get wrapped to the next line,
4225         even when they're in a manual label
4226
4227 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4228
4229         * text2.C (insertParagraph): make it take ParagraphList::iterator
4230         as arg.
4231         (setLayout): make it return ParagraphList::iterator
4232         (redoParagraphs): ditto
4233         (setCounter): ditto
4234         (checkParagraph): ditto
4235
4236         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4237
4238         * text2.C: adjust several funcs.
4239         (realizeFont): take a ParagraphList::iterator as arg.
4240         (getLayoutFont): ditto
4241         (getLabelFont): ditto
4242         (setCharFont): ditto
4243
4244         * text.C: adjust several funcs.
4245
4246 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * text.C (selectNextWordToSpellcheck): don't accidentally
4249         skip insets
4250
4251 2003-04-10  John Levon  <levon@movementarian.org>
4252
4253         * ToolbarBackend.C (getIcon): special handling for
4254         LFUN_MATH_DELIM
4255
4256 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * text2.C (cursorRight): a getChar assert fixed
4259
4260 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * text2.C (getFont): change to take a ParagraphList::iterator
4263         instead of Paragraph*
4264         Adjust several functions.
4265
4266         * text.C (transformChar): change to take a ParagraphList::iterator
4267         instead of Paragraph*
4268         (singleWidth): ditto
4269         Adjust several functions.
4270
4271         * rowpainter.C: adjust several functions
4272         * rowpainter.h:store a ParagraphList::iterator and not a
4273         Paragraph&.
4274
4275
4276 2003-04-09  John Levon  <levon@movementarian.org>
4277
4278         * lyxfunc.C:
4279         * lfuns.h:
4280         * LyXAction.h:
4281         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4282         and the "help" bits as well
4283
4284 2003-04-09  John Levon  <levon@movementarian.org>
4285
4286         * ToolbarBackend.h:
4287         * ToolbarBackend.C: allow multiple toolbars
4288
4289 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4290
4291         * undo_funcs.C (setCursorParUndo): adjust
4292
4293         * text_funcs.C (transposeChars): adjust
4294
4295         * text3.C (gotoNextInset): adjust
4296         (dispatch): adjust
4297
4298         * text2.C (setLayout): adjust
4299         (changeDepth): adjust
4300         (setFont): adjust
4301         (redoParagraphs): adjust
4302         (selectionAsString): adjust
4303         (setParagraph): adjust
4304         (insertInset): adjust
4305         (cutSelection): adjust
4306         (copySelection): adjust
4307         (pasteSelection): adjust
4308         (insertStringAsLines): adjust
4309         (updateInset): adjust
4310         (setCursor): change to take a ParagraphList::iterator parameter
4311         (setCursorIntern): change to take a ParagraphList::iterator parameter
4312         (setCurrentFont): adjust
4313         (cursorLeft): adjust
4314         (cursorRight): adjust
4315         (deleteEmptyParagraphMechanism): adjust
4316
4317         * text.C (breakParagraph): adjust
4318         (insertChar): adjust
4319         (acceptChange): adjust
4320         (rejectChange): adjust
4321         (selectNextWordToSpellcheck): adjust
4322         (changeCase): adjust
4323         (Delete): adjust
4324         (backspace): adjust
4325
4326         * lyxfind.C (SearchForward): adjust
4327         (SearchBackward): adjust
4328         (nextChange): adjust
4329
4330         * lyxcursor.C (par): adjust
4331
4332         * lyxcursor.h: store a ParagraphList::iterator instead of a
4333         Paragraph*
4334
4335         * lyx_cb.C (getPossibleLabel): adjust
4336
4337         * bufferview_funcs.C (toggleAndShow): adjust
4338
4339         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4340         (dispatch): adjust
4341
4342         * BufferView.C (removeAutoInsets): adjust
4343         (lockedInsetStoreUndo): adjust
4344
4345 2003-04-09  John Levon  <levon@movementarian.org>
4346
4347         * ToolbarBackend.C: try icon without argument
4348         if with argument fails
4349
4350 2003-04-08  John Levon  <levon@movementarian.org>
4351
4352         * ToolbarBackend.h:
4353         * ToolbarBackend.C: add getIcon(), handle tooltip,
4354         and change from "Icon" to "Item".
4355
4356 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * BufferView.C (lockInset): another bad getchar crunched
4359
4360 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4363         again)
4364
4365 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4366
4367         * lyxfind.C (searchForward, searchBackwards): bug 782
4368
4369 2003-04-07  John Levon  <levon@movementarian.org>
4370
4371         * paragraph.C: remove dead comment
4372
4373         * text.C: remove troublesome depth-fiddling code
4374         in leftMargin() and rightMargin() (bug 1017)
4375
4376         * text.C: fix breaking of rows in nested lists
4377         (bug 1004)
4378
4379         * text2.C (updateCounters): fix up depth values
4380         (bug 1013)
4381
4382 2003-04-07  John Levon  <levon@movementarian.org>
4383
4384         * BufferView_pimpl.C: clear message when doc finishes resizing,
4385         and after a mouse event
4386
4387         * lyxfunc.C: clear message after exiting inset
4388
4389 2003-04-07  John Levon  <levon@movementarian.org>
4390
4391         * bufferview_funcs.C: show math status not outside
4392         status in the statusbar
4393
4394 2003-04-07  John Levon  <levon@movementarian.org>
4395
4396         * lyxfunc.C: note status changed after a depth change
4397
4398 2003-04-04  Angus Leeming  <leeming@lyx.org>
4399
4400         * LaTeX.h: move AuxInfo operator==, != out of line.
4401         Remove LaTeX virtual destructor; nothing derives from it.
4402         Move operator()() out of public area and rename it startscript().
4403         Change protected for private.
4404
4405 2003-04-04  Angus Leeming  <leeming@lyx.org>
4406
4407         * lyxfunc.C:
4408         * text2.C: remove unneeded #includes.
4409
4410 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4411
4412         * text2.C (dEPM): fix the heigth of the next row
4413
4414 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4415
4416         * text.C: squashed an invalid getChar requester + some ws changes
4417
4418 2003-04-03  John Levon  <levon@movementarian.org>
4419
4420         * bufferview_funcs.h:
4421         * bufferview_funcs.C:
4422         * lyxfunc.C:
4423         * lyxtext.h:
4424         * text2.C: make getStatus work for the env depth lfuns
4425
4426 2003-04-03  John Levon  <levon@movementarian.org>
4427
4428         * bufferview_funcs.h:
4429         * bufferview_funcs.C:
4430         * lyxfunc.C:
4431         * lyxtext.h:
4432         * text2.C: parlistize decDepth(), by merging it with incDepth()
4433
4434 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * lyxrow.h: store a ParagraphList::iterator instead of a
4437         Paragraph* and adjust other class functions to suit.
4438
4439         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4440         above.
4441
4442 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * text2.C (setCursor): do not anchor to cursor row for the time being
4445
4446 2003-04-02  John Levon  <levon@movementarian.org>
4447
4448         * LyXAction.C:
4449         * lfuns.h:
4450         * lyx_main.C:
4451         * lyxtext.h:
4452         * text.C:
4453         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4454
4455 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4456
4457         * paragraph.h: make ParagraphList and ParagraphList::iterator
4458         friends of Paragraph.
4459
4460         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4461
4462         * ParagraphList.C: Use the private next_ and previous_ from
4463         Paragraph.
4464
4465 2003-04-01  John Levon  <levon@movementarian.org>
4466
4467         * ToolbarBackend.h:
4468         * ToolbarBackend.C:
4469         * Makefile.am: rename, remove defaults gunk
4470
4471         * MenuBackend.h:
4472         * MenuBackend.C: remove defaults gunk
4473
4474         * Languages.h:
4475         * Languages.C: remove defaults gunk
4476
4477         * lyx_main.h:
4478         * lyx_main.C: error out if files couldn't be found.
4479
4480 2003-04-02  John Levon  <levon@movementarian.org>
4481
4482         * text2.C: make incDepth() use parlist
4483
4484 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4485
4486         * undo_funcs.C (firstUndoParagraph): adjust
4487
4488         * text3.C (gotoInset): adjust
4489         (dispatch): adjust, and rewrite loop.
4490
4491         * text2.C (init): adjust, and rewrite loop.
4492         (redoParagraphs): adjust
4493         (updateInset): adjust, and rewrite loop.
4494         (deleteEmptyParagraphMechanism): adjust
4495
4496         * tabular.C (LyXTabular): adjust
4497         (SetMultiColumn): adjust
4498         (TeXRow): adjust
4499
4500         * lyxtext.[Ch] (ownerParagraph): delete function
4501         (ownerParagraphs): new function returns a ParagraphList.
4502
4503         * BufferView.C (removeAutoInsets): adjust
4504         (insertErrors): adjust
4505         (setCursorFromRow): adjust
4506
4507 2003-04-01  Angus Leeming  <leeming@lyx.org>
4508
4509         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4510         in the frontends.
4511
4512 2003-04-02  John Levon  <levon@movementarian.org>
4513
4514         * lyxtext.h:
4515         * text.C:
4516         * Makefile.am:
4517         * text_funcs.h:
4518         * text_funcs.C: make transposeChars a free function
4519
4520         * lyxrow_funcs.C: remove wrong comment
4521
4522 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4523
4524         * lyxtext.h: adjust
4525         * rowpainter.C: adjust
4526         * text.C: adjust
4527         * text2.C: adjust
4528         * text3.C: adjust
4529
4530         * lyxrow_funcs. [Ch]: new files
4531
4532         * lyxrow.[Ch]: remove next and previous pointers
4533         (next,previous): remove accessor functions
4534         (isParEnd): move to lyxrow_funcs
4535         (lastPos): move to lyxrow_funcs
4536         (nextRowIsAllInset): move to lyxrow_funcs
4537         (lastPrintablePos): move to lyxrow_funcs
4538         (numberOfSeparators): move to lyxrow_funcs
4539         (numberOfHfills): move to lyxrow_funcs
4540         (numberOfLabelHfills): move to lyxrow_funcs
4541         (hfillExpansion): move to lyxrow_funcs
4542
4543         * lyxfunc.C: adjust
4544
4545         * bufferview_funcs.C (toggleAndShow): adjust
4546
4547         * RowList.h: Remove class RowList from file leave just a
4548         std::list<Row>.
4549
4550         * RowList.C: delete file
4551
4552         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4553         and lyxrow_funcs.h
4554
4555 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * text3.C (cursorPrevious): adjust
4558         (cursorNext): adjust
4559         (dispatch): adjust
4560
4561         * text2.C (redoHeightOfParagraph): adjust
4562         (redoDrawingOfParagraph): adjust
4563         (setCursor): adjust
4564
4565         * text.C (breakParagraph): adjust
4566         (insertChar): adjust
4567         (backspace): adjust
4568
4569         * rowpainter.C (RowPainter): adjust
4570         (leftMargin): simplify and adjust
4571         (most rowpainter functions): adjust.
4572
4573         * rowpainter.h: store the row as RowList::iterator not as Row*
4574
4575         * lyxcursor.C (row): taka RowList::iterator as arg
4576         (irow): ditto
4577
4578         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4579         of Row*.
4580
4581 2003-04-01  Angus Leeming  <leeming@lyx.org>
4582
4583         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4584         stuff like bool Bool.
4585
4586 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4587
4588         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4589         rewrite a loop
4590
4591 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4594         RowList::iterator.
4595
4596         * lyxtext.h (rows): drop one version and leve a const variant that
4597         returns a RowList::iterator.
4598
4599 2003-03-31  Angus Leeming  <leeming@lyx.org>
4600
4601         * text.C (fill): ensure that the signature is the same as that in the
4602         header file.
4603
4604 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * text2.C (redoParagraphs): adjust
4607         (updateCounters): adjust
4608         (checkParagraph): adjust
4609         (getColumnNearX): adjust and reformat a bit.
4610
4611         * text.C (top_y): adjust
4612         (workWidth): adjust
4613         (leftMargin): adjust
4614         (prepareToPrint): adjust
4615         (getRow): adjust
4616         (getRowNearY): adjust
4617
4618         * lyxtext.h: make rowlist_ mutable.
4619
4620         * RowList.h: add const_iterator
4621         * RowList.C: adjust for RowList::const_iterator.
4622
4623         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4624         adjust.
4625
4626 2003-03-31  John Levon  <levon@movementarian.org>
4627
4628         * lyxrc.h:
4629         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4630
4631         * lyx_main.C: set default fonts from using lyx_gui funcs
4632
4633         * exporter.C: pdf_mode moved from lyxrc
4634
4635         * lyx_cb.C:
4636         * lyxfunc.C: changes from above
4637
4638 2003-03-31  John Levon  <levon@movementarian.org>
4639
4640         * lyx_main.C: fix to the last fix
4641
4642 2003-03-31  John Levon  <levon@movementarian.org>
4643
4644         * bufferlist.C: "Load original" -> "Load Original"
4645
4646         * converter.C:
4647         * exporter.C:
4648         * importer.C:
4649         * lyx_main.C:
4650         * format.C: more Alert cleanups
4651
4652 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * text2.C (removeParagraph): make it take a RowList::iterator as
4655         arg, adjust.
4656         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4657         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4658
4659         * text.C (anchor_row): make it take a RowList::iterator as arg,
4660         adjust.
4661         (computeBidiTables): make it take a const reference to Row instead
4662         of Row pointer, adjust.
4663         (leftMargin): make it take a RowList::iterator as arg, adjust.
4664         (rowBreakPoint): adjust
4665         (breakAgainOneRow): make it take a RowList::iterator as arg,
4666         adjust.
4667         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4668
4669         * bufferview_funcs.C (toggleAndShow): adjust
4670
4671 2003-03-30  John Levon  <levon@movementarian.org>
4672
4673         * Makefile.am:
4674         * BoostFormat.h:
4675         * boost-inst.C: moved to support
4676
4677         * several files: changes as a result
4678
4679 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * text2.C (LyXText): adjust.
4682         (init): adjust
4683         (removeRow): make it take a RowList::iterator as arg, adjust.
4684         (fullRebreak): adjust
4685         (deleteEmptyParagraphMechanism): adjust
4686         (clearPaint): adjust
4687         (postPaint): adjust
4688
4689         * text.C (top_y): adjust
4690         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4691         (breakAgain): make it take a RowList::iterator as arg, adjust.
4692         (breakParagraph): adjust
4693         (insertChar): adjust
4694         (backspace): adjust
4695
4696         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4697         need_break_row, and refresh_row.
4698
4699         * text3.C (dispatch): adjust
4700
4701         * text2.C (checkParagraph): adjust
4702         (setCursor): adjust
4703         (setCursorFromCoordinates): adjust
4704
4705         * text.C (top_y): adjust
4706         (workWidth): adjust
4707         (getRow): make it return a RowList::iterator, adjust
4708         (getRowNearY): make it return a RowList::iterator, adjust
4709
4710         * text2.C (init): adjust
4711         (insertRow): remove function
4712         (insertParagraph): adjust
4713         (redoParagraphs): adjust
4714         (fullRebreak): adjust
4715         (updateCounters): adjust
4716
4717         * text.C (top_y): rewrite to use RowList iterators.
4718         (top_y): adjust
4719         (setHeightOfRow): rewrite to sue RowList iterators.
4720         (appendParagraph): adjust
4721         (breakAgain): adjust
4722         (breakAgainOneRow): adjust
4723         (breakParagraph): adjust
4724         (getRow): adjust
4725         (getRowNearY): adjust, and remove commented code.
4726
4727         * lyxtext.h (firstRow): delete function
4728         (lastRow): delete function
4729         (rows): new function (const and non-const versions.)
4730         (insertRow): delete function
4731
4732         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4733
4734 2003-03-29  John Levon  <levon@movementarian.org>
4735
4736         * BufferView_pimpl.C: always update scrollbar top
4737         because pasting text when we're anchored could mean we
4738         miss an update altogether
4739
4740 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * text2.C (init): use rowlist_.end() and not 0.
4743         (insertRow): change to take a RowList::iterator as arg, adjust
4744         for this.
4745         (insertParagraph): change to take a RowList::iterator as arg,
4746         adjust for this.
4747         (redoParagraphs): remove some debug msgs.
4748
4749         * text.C (appendParagraph): change to take a RowList::iterator
4750         arg, adjust for this.
4751         (breakAgain): add an assert
4752         (breakAgainOneRow): ditto
4753
4754 2003-03-29  John Levon  <levon@movementarian.org>
4755
4756         * text2.C: do not clear selection after inc/decDepth
4757         (bug 550)
4758
4759 2003-03-29  John Levon  <levon@movementarian.org>
4760
4761         * BufferView.C:
4762         * buffer.C: fix broken strerrors according to Lars
4763
4764 2003-03-29  John Levon  <levon@movementarian.org>
4765
4766         * converters.C: more Alert cleanups
4767
4768 2003-03-29  John Levon  <levon@movementarian.org>
4769
4770         * bufferview_funcs.C: remove pointless Alert
4771
4772         * buffer.C: fix confusing error message when
4773         a template is chmoded 000
4774
4775 2003-03-29  John Levon  <levon@movementarian.org>
4776
4777         * BufferView.C:
4778         * BufferView.h:
4779         * BufferView_pimpl.C: Alert fixes
4780
4781         * Makefile.am:
4782         * tabular.C:
4783         * tabular-old.C: remove unused table compat reading
4784
4785 2003-03-29  John Levon  <levon@movementarian.org>
4786
4787         * BufferView.C:
4788         * buffer.C:
4789         * lyx_cb.h:
4790         * lyx_cb.C: more Alert cleanups
4791
4792         * lyxfunc.C: don't allow chktex if not latex document
4793
4794 2003-03-29  John Levon  <levon@movementarian.org>
4795
4796         * lyx_cb.C:
4797         * BufferView.C:
4798         * buffer.C: warnings pushed down from support/,
4799         kill err_alert
4800
4801 2003-03-29  John Levon  <levon@movementarian.org>
4802
4803         * lyxfunc.C: safety check for C-r (revert)
4804
4805 2003-03-29  John Levon  <levon@movementarian.org>
4806
4807         * bufferlist.h:
4808         * bufferlist.C: several UI fixes using Alert::prompt.
4809         Fix the pointless looping quit code. Fix stupid revert
4810         behaviour (bug 938)
4811
4812         * lyxvc.h:
4813         * lyxvc.C:
4814         * lyx_cb.C: use Alert::prompt
4815
4816         * lyx_main.C: remove a silly question
4817
4818         * lyxfunc.C: remove a couple of silly questions,
4819         use Alert::prompt
4820
4821 2003-03-28  John Levon  <levon@movementarian.org>
4822
4823         * text2.C: fix bug 974 (End on empty par)
4824
4825 2003-03-28  John Levon  <levon@movementarian.org>
4826
4827         * BufferView_pimpl.C:
4828         * LyXAction.C:
4829         * lfuns.h: remove do-nothing math greek lfuns
4830
4831 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * lyxgluelength.h (isValidGlueLength): add default arg on
4834         parameter 2. Remove default arg from friend in class.
4835
4836         * lyxlength.h (isValidLength): add default arg on parameter 2.
4837         Remove default arg from friend in class.
4838
4839         * text2.C (LyXText): adjust, initialize refresh_row.
4840         (init): adjust
4841         (removeRow): adjust
4842         (insertRow): adjust
4843         (insertParagraph): adjst
4844         (redoParagraphs): adjust
4845         (fullRebreak): adjust
4846         (updateCounters): adjust
4847         (deleteEmptyParagraphMechanism): first attempt at fixing a
4848         crashing bug.
4849
4850         * text.C (top_y): adjust
4851         (setHeightOfRow): adjust
4852         (getRow): adjust
4853         (getRowNearY): adjust
4854
4855         * lyxtext.h: include RowList.h
4856         (~LyXText): not needed anymore, deleted.
4857         (firstRow): modify for RowList
4858         (lastRow): new function
4859         Delete firstrow and lastrow class variables, add a Rowlist
4860         rowlist_ class variable.
4861
4862         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4863         paragraph is empty.
4864
4865         * RowList.C (insert): fix case where it == begin().
4866
4867 2003-03-26  Angus Leeming  <leeming@lyx.org>
4868
4869         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4870         the thesaurus dialog.
4871
4872 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4875
4876         * RowList.[Ch]: new files
4877
4878         * ParagraphList.C (erase): handle the case where it == begin
4879         correctly.
4880
4881 2003-03-25  John Levon  <levon@movementarian.org>
4882
4883         * Makefile.am:
4884         * aspell_local.h:
4885         * aspell.C: add new aspell support
4886
4887         * lyxrc.h:
4888         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4889         have it accessible.
4890
4891 2003-03-25  Angus Leeming  <leeming@lyx.org>
4892
4893         * lfuns.h:
4894         * LyXAction.C (init): new LFUN_INSET_INSERT.
4895
4896         * BufferView_pimpl.C (dispatch): split out part of the
4897         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4898
4899         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4900         LFUN_INSET_APPLY.
4901
4902 2003-03-25  Angus Leeming  <leeming@lyx.org>
4903
4904         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4905
4906 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4907
4908         * text2.C:
4909         * text3.C: remove useless row->height(0)
4910
4911 2003-03-25  John Levon  <levon@movementarian.org>
4912
4913         * lyxtext.h:
4914         * text2.C:
4915         * text3.C: rename the refreshing stuff to better names
4916
4917 2003-03-24  John Levon  <levon@movementarian.org>
4918
4919         * BufferView_pimpl.h:
4920         * BufferView_pimpl.C: update layout choice on a mouse
4921         press/release
4922
4923 2003-03-23  John Levon  <levon@movementarian.org>
4924
4925         * Makefile.am: fix commandtags.h reference
4926
4927 2003-03-22  John Levon  <levon@movementarian.org>
4928
4929         * BufferView_pimpl.C:
4930         * lyxtext.h:
4931         * rowpainter.C:
4932         * rowpainter.h:
4933         * text.C:
4934         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4935
4936 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4937
4938         * lyxtext.h:
4939         * text.C: take the rtl methods out of line
4940
4941 2003-03-21 André Pönitz <poenitz@gmx.net>
4942
4943         * metricsinfo.[Ch]: new files containing structures to be passed around
4944         during the two-phase-drawing...
4945
4946 2003-03-21 André Pönitz <poenitz@gmx.net>
4947
4948         * lyxtextclass.C: read 'environment' tag.
4949
4950 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * text2.C (removeRow): fix bug 964
4953
4954 2003-03-20  John Levon  <levon@movementarian.org>
4955
4956         * rowpainter.C:
4957         * text.C:
4958         * text2.C: paint cleanups. Inset::update() dropped font
4959         parameter
4960
4961 2003-03-19  John Levon  <levon@movementarian.org>
4962
4963         * lyxfunc.C: only fitcursor/markDirty if available()
4964
4965 2003-03-19  John Levon  <levon@movementarian.org>
4966
4967         * commandtags.h: rename to ...
4968
4969         * lfuns.h: ... this, and renumber / cleanup
4970
4971 2003-03-19  John Levon  <levon@movementarian.org>
4972
4973         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4974         fit the cursor after an lfun
4975
4976         * BufferView.h:
4977         * BufferView.C:
4978         * BufferView_pimpl.h:
4979         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4980
4981         * LyXAction.C: layout-character should have ReadOnly
4982
4983         * ParagraphParameters.C:
4984         * buffer.C:
4985         * bufferview_funcs.C:
4986         * lyx_cb.C:
4987         * lyxfind.C:
4988         * lyxtext.h:
4989         * text.C:
4990         * text2.C:
4991         * text3.C:
4992         * undo_funcs.C: changes from above
4993
4994 2003-03-18  John Levon  <levon@movementarian.org>
4995
4996         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4997         remove it from update()
4998
4999         * lyxfunc.C: update layout choice after an lfun
5000
5001         * text3.C: remove extra updateLayoutChoice()s
5002
5003 2003-03-18  John Levon  <levon@movementarian.org>
5004
5005         * text.C: top_y change means full repaint, fix
5006         a drawing bug with cursor movement
5007
5008 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5009
5010         * lyxtext.h:
5011         * text.C:
5012         * text2.C: anchor row on setCursor
5013
5014 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5015
5016         * lyxtext.h: remove almost all mutable keywords
5017         * text.C:
5018         * text2.C:
5019         * text3.C: remove const keywords accordingly
5020
5021 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5024         anon namespace
5025         (TeXEnvironment): ditto
5026         (TeXOnePar): ditto
5027
5028 2003-03-17  John Levon  <levon@movementarian.org>
5029
5030         * text.C (rowBreakPoint): remove attempt to fix displayed
5031         math insets inside a manual label
5032
5033 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5034
5035         * lyxtext.h: remove BufferView* as first arg from almost all class
5036         functions.
5037         * other files: adjust.
5038
5039 2003-03-17  John Levon  <levon@movementarian.org>
5040
5041         * lyxtext.h:
5042         * undo_funcs.C:
5043         * text2.C: more paint cleanups
5044
5045         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5046
5047         * rowpainter.h:
5048         * rowpainter.C: remove "smart" background painting code
5049
5050 2003-03-16  John Levon  <levon@movementarian.org>
5051
5052         * lyxtext.h:
5053         * text.C:
5054         * text2.C:
5055         * text3.C: add helper functions for setting refresh_row/y
5056
5057 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5058
5059         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5060         newline inset which *can* get inserted in the pass_thru layouts.
5061         This is primarily for literate documents.
5062
5063 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5064
5065         * buffer.C: increment LYX_FORMAT to 223
5066
5067 2003-03-14 André Pönitz <poenitz@gmx.net>
5068
5069         * textclass.h: prepare for environment handling, ws changes
5070         * lyxlayout.C: read latexheader and latexfooter tags
5071
5072 2003-03-14  John Levon  <levon@movementarian.org>
5073
5074         * text2.C: rewrite ::status() a bit
5075
5076 2003-03-13  John Levon  <levon@movementarian.org>
5077
5078         * lyxtext.h: add some docs
5079
5080 2003-03-13  John Levon  <levon@movementarian.org>
5081
5082         * lyxtext.h:
5083         * text.C:
5084         * text2.C:
5085         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5086
5087 2003-03-13  John Levon  <levon@movementarian.org>
5088
5089         * text3.C: fix appendix redrawing
5090
5091 2003-03-13  John Levon  <levon@movementarian.org>
5092
5093         * text.C (setHeightOfRow):
5094         * rowpainter.h:
5095         * rowpainter.C: make appendix mark have the text
5096           "Appendix" so the user knows what it is
5097
5098         * LColor.h:
5099         * LColor.C: s/appendixline/appendix/ from above
5100
5101 2003-03-13  John Levon  <levon@movementarian.org>
5102
5103         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5104
5105         * text.C: fix a getChar(pos) bug properly
5106
5107 2003-03-13  Angus Leeming  <leeming@lyx.org>
5108
5109         * commandtags.h:
5110         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5111         Probably only temporary. Let's see how things pan out.
5112
5113         * BufferView.C (unlockInset):
5114         * BufferView_pimpl.C (fitCursor):
5115         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5116
5117         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5118         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5119
5120         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5121         new functions that convert ParagraphParameters to and from a string.
5122
5123         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5124         BufferView::Pimpl's dispatch.
5125         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5126
5127 2003-03-13 André Pönitz <poenitz@gmx.net>
5128
5129         * lyxfunc.C:
5130         * text3.C:
5131         * factory.C: make it aware of InsetEnv
5132
5133 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * text2.C (setCursor): never ask for one past last
5136         (setCursor): add some debugging messages.
5137
5138         * text.C (singleWidth): never ask for one past last
5139         (singleWidth): ditto
5140         (leftMargin): ditto
5141         (rightMargin): ditto
5142         (rowBreakPoint): ditto
5143         (setHeightOfRow): ditto
5144         (prepareToPrint): ditto
5145
5146         * rowpainter.C (paintBackground): never ask for one past last
5147         (paintText): never ask for one past last
5148
5149         * paragraph_pimpl.C (getChar): make the assert stricter, never
5150         allow the one past last pos to be taken
5151
5152         * paragraph.C (getChar): ws changes only
5153
5154         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5155         (numberOfSeparators): ditto
5156         (numberOfHfills): ditto
5157
5158 2003-03-12  John Levon  <levon@movementarian.org>
5159
5160         * author.h:
5161         * author.C:
5162         * bufferparams.h:
5163         * bufferparams.C:
5164         * paragraph_funcs.C: fix per-buffer authorlists
5165
5166 2003-03-12  John Levon  <levon@movementarian.org>
5167
5168         * text.C: fix newline in right address
5169
5170 2003-03-12  Angus Leeming  <leeming@lyx.org>
5171
5172         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5173         duplicate those in LyXFunc::dispatch.
5174
5175         * commandtags.h:
5176         * LyXAction.C:
5177         * ToolbarDefaults.C:
5178         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5179         Add LFUN_FONTFREE_UPDATE.
5180
5181         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5182         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5183
5184         * bufferview_func.[Ch]: several new functions to facilliate
5185         transfer of data to and from the character dialog.
5186
5187 2003-03-12  John Levon  <levon@movementarian.org>
5188
5189         * buffer.C:
5190         * paragraph.h:
5191         * paragraph.C:
5192         * paragraph_funcs.C:
5193         * paragraph_pimpl.C:
5194         * sgml.C:
5195         * tabular.C:
5196         * text.C:
5197         * text3.C: remove META_NEWLINE in favour of an inset
5198
5199         * rowpainter.h:
5200         * rowpainter.C: remove paintNewline (done by inset)
5201
5202 2003-03-12  John Levon  <levon@movementarian.org>
5203
5204         * paragraph_pimpl.C: complain about bad getChar()s
5205         for a while at least
5206
5207 2003-03-12  John Levon  <levon@movementarian.org>
5208
5209         * buffer.h:
5210         * buffer.C: move paragraph read into a separate function,
5211         a little renaming to reflect that.
5212
5213         * bufferparams.h:
5214         * bufferparams.C: remove the author_ids map, not necessary now
5215
5216         * factory.h:
5217         * factory.C: moved Buffer::readInset to here
5218
5219         * paragraph_funcs.h:
5220         * paragraph_funcs.C: readParagraph free function moved from
5221         buffer.C
5222
5223         * tabular.C: name change
5224
5225 2003-03-12  John Levon  <levon@movementarian.org>
5226
5227         * buffer.C:
5228         * ParagraphParameters.C: move par params input to
5229         a read() method
5230
5231         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5232         behave like a normal read from the stream wrt reading
5233         a line vs. a \\token
5234
5235 2003-03-12  John Levon  <levon@movementarian.org>
5236
5237         * paragraph.C:
5238         * ParagraphParameters.h:
5239         * ParagraphParameters.C: move output code to a
5240         ::write() method
5241
5242 2003-03-12  John Levon  <levon@movementarian.org>
5243
5244         * BufferView.C (insertLyXFile):
5245         * buffer.h:
5246         * buffer.C:
5247         * tabular.C: use a parlist iterator for creating the
5248           document.
5249
5250 2003-03-12  John Levon  <levon@movementarian.org>
5251
5252         * buffer.C: make current_change static local not
5253           static file-scope
5254
5255 2003-03-12  John Levon  <levon@movementarian.org>
5256
5257         * buffer.C: fix insertStringAsLines for change tracking
5258
5259 2003-03-12  John Levon  <levon@movementarian.org>
5260
5261         * BufferView.C:
5262         * tabular.C:
5263         * buffer.h:
5264         * buffer.C:
5265         * bufferparams.h:
5266         * bufferparams.C: move author list into params. Rename some
5267           functions. Move the header reading into a separate token
5268           loop. Move the header token reading into BufferParams.
5269
5270 2003-03-12  John Levon  <levon@movementarian.org>
5271
5272         * changes.C: put debug inside lyxerr.debugging() checks
5273
5274 2003-03-11 André Pönitz <poenitz@gmx.net>
5275
5276         * factory.C: make it aware of InsetHFill
5277
5278 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5279
5280         * buffer.C (latexParagraphs): move function from here...
5281         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5282         args.
5283
5284 2003-03-10  Angus Leeming  <leeming@lyx.org>
5285
5286         * LyXAction.C (init): fix bug in poplating array with multiple entries
5287         with the same LFUN (spotted by JMarc).
5288
5289 2003-03-10  John Levon  <levon@movementarian.org>
5290
5291         * text.C:
5292         * text2.C: move getColumnNearX() near its
5293         only call site
5294
5295 2003-03-10  John Levon  <levon@movementarian.org>
5296
5297         * text.C: fix break before a minipage
5298
5299 2003-03-10  John Levon  <levon@movementarian.org>
5300
5301         * text.C: fix the last commit
5302
5303 2003-03-09  John Levon  <levon@movementarian.org>
5304
5305         * lyxtext.h:
5306         * text.C:
5307         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5308         bug 365 (don't break before insets unless needed). Don't
5309         return a value > last under any circumstances.
5310
5311 2003-03-09  Angus Leeming  <leeming@lyx.org>
5312
5313         * BufferView_pimpl.C (trackChanges, dispatch): call
5314         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5315
5316 2003-03-09  Angus Leeming  <leeming@lyx.org>
5317
5318         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5319         than Dialogs::showAboutlyx().
5320
5321 2003-03-09  Angus Leeming  <leeming@lyx.org>
5322
5323         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5324         than Dialogs::showTabularCreate().
5325
5326 2003-03-09  John Levon  <levon@movementarian.org>
5327
5328         * lyxtext.h:
5329         * text.C:
5330         * text2.C: 3rd arg to nextBreakPoint was always the same.
5331           Use references.
5332
5333 2003-03-08  John Levon  <levon@movementarian.org>
5334
5335         * lyxrow.C:
5336         * paragraph.C:
5337         * paragraph.h:
5338         * rowpainter.C:
5339         * text.C:
5340         * text2.C: Remove the "main" bit from the "main body"
5341           notion.
5342
5343 2003-03-08  John Levon  <levon@movementarian.org>
5344
5345         * text.C (leftMargin): The left margin of an empty
5346         manual label paragraph should not include the label width
5347         string length.
5348
5349         * text.C (prepareToPrint): don't attempt to measure hfills
5350         for empty manual label paragraphs - the answer should be 0
5351
5352 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5353
5354         * CutAndPaste.C: remove commented code and reindent.
5355
5356 2003-03-08  John Levon  <levon@movementarian.org>
5357
5358         * lyxfunc.h:
5359         * lyxfunc.C: move reloadBuffer()
5360
5361         * BufferView.h:
5362         * BufferView.C: to here
5363
5364         * lyxvc.C: add comment
5365
5366         * vc-backend.h:
5367         * vc-backend.C: call bv->reload() to avoid
5368           getStatus() check on MENURELOAD
5369
5370 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5371
5372         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5373         to an old format .dep file.
5374
5375 2003-03-07  Angus Leeming  <leeming@lyx.org>
5376
5377         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5378         when the LFUN_MOUSE_RELEASE should have been handled by
5379         inset->localDispatch.
5380
5381 2003-03-07  Angus Leeming  <leeming@lyx.org>
5382
5383         * BufferView_pimpl.C (dispatch):
5384         * LyXAction.C (init):
5385         * ToolbarDefaults.C (init):
5386         * commandtags.h:
5387         * lyxfunc.C (getStatus):
5388         remove LFUN_INSET_GRAPHICS.
5389
5390         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5391
5392 2003-03-07  Angus Leeming  <leeming@lyx.org>
5393
5394         * commandtags.h:
5395         * LyXAction.C (init):
5396         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5397
5398         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5399
5400         * commandtags.h:
5401         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5402
5403         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5404         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5405
5406 2003-03-07  Angus Leeming  <leeming@lyx.org>
5407
5408         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5409         remove "ert".
5410
5411 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * ParagraphList.C (front): new function
5414         (back): implement
5415
5416 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5417
5418         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5419         and top_row_offset_. removed var first_y.
5420         * text.C (top_y):
5421         * text2.C (LyXText, removeRow):
5422         * text3.C:
5423         * BufferView_pimpl.C:
5424         use these methods instead of using first_y
5425
5426 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * text2.C (pasteSelection): adjust for checkPastePossible
5429
5430         * CutAndPaste.C: remove Paragraph * buf and replace with
5431         ParagraphList paragraphs.
5432         (DeleteBuffer): delete
5433         (cutSelection): change the tc type to textclass_type
5434         (copySelection): change the tc type to textclass_type
5435         (copySelection): adjust for ParagraphList
5436         (pasteSelection): change the tc type to textclass_type
5437         (pasteSelection): adjust for Paragraphlist
5438         (nrOfParagraphs): simplify for ParagraphList
5439         (checkPastePossible): simplify for ParagraphList
5440         (checkPastePossible): remove unused arg
5441
5442         * ParagraphList.C (insert): handle the case where there are no
5443         paragraphs yet.
5444
5445         * CutAndPaste.h: make CutAndPaste a namespace.
5446
5447         * text3.C (dispatch): adjust
5448
5449         * text.C (breakParagraph): add a ParagraphList as arg
5450
5451         * paragraph_funcs.C (breakParagraph): change to take a
5452         BufferParams and a ParagraphList as args.
5453         (breakParagraphConservative): ditto
5454         (mergeParagraph): ditto
5455         (TeXDeeper): add a ParagraphList arg
5456         (TeXEnvironment): ditto
5457         (TeXOnePar): ditto
5458
5459         * buffer.C (readLyXformat2): adjust
5460         (insertStringAsLines): adjust
5461         (latexParagraphs): adjust
5462
5463         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5464         (cutSelection): adjust
5465         (pasteSelection): adjust
5466
5467         * BufferView_pimpl.C (insertInset): adjust
5468
5469 2003-03-05  Angus Leeming  <leeming@lyx.org>
5470
5471         * commandtags.h:
5472         * LyXAction.C (init):
5473         * BufferView_pimpl.C (dispatch):
5474         * lyxfunc.C (getStatus):
5475         remove LFUN_CHILD_INSERT.
5476
5477         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5478
5479 2003-03-05  Angus Leeming  <leeming@lyx.org>
5480
5481         * commandtags.h:
5482         * LyXAction.C (init):
5483         * src/factory.C (createInset):
5484         * lyxfunc.C (getStatus):
5485         * text3.C (dispatch):
5486         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5487
5488         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5489
5490 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5491
5492         * ParagraphList.C (insert): handle insert right before end()
5493         (erase): fix cases where it can be first or last paragraph.
5494
5495 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5498         Paragraph::next and Paragraph::previous
5499         (TeXOnePar): ditto
5500
5501         * text.C (breakParagraph): adjust
5502
5503         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5504         BufferParams& as arg.
5505         (breakParagraph): use ParagraphList::insert
5506         (breakParagraphConservative): take a Buffer* instead of a
5507         BufferParams& as arg.
5508         (breakParagraphConservative): use ParagraphList::insert.
5509
5510         * buffer.C (insertStringAsLines): un-const it
5511         (insertStringAsLines): adjust
5512
5513         * ParagraphList.C (insert): new function
5514
5515         * CutAndPaste.C (pasteSelection): adjust
5516
5517         * text.C (backspace): adjust
5518
5519         * tabular.C (SetMultiColumn): adjust
5520
5521         * CutAndPaste.C (cutSelection): adjust
5522         (pasteSelection): adjust
5523
5524         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5525         Buffer const * as arg
5526
5527         * ParagraphList.C (erase): new function
5528         * paragraph_funcs.C (mergeParagraph): use it
5529         (mergeParagraph): make it take a Buffer* instead of a
5530         BufferParams* as arg
5531
5532         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5533         as arg
5534         (breakParagraphConservative): ditto
5535
5536         * paragraph.h: remove the breakParagraph friend
5537
5538         * paragraph.C (eraseIntern): new function
5539         (setChange): new function
5540
5541         * paragraph_funcs.C (mergeParagraph): make it take a
5542         ParagraphList::iterator instead of a Paragraph *, adjust
5543         accordingly.
5544
5545         * paragraph.h: move an #endif so that the change tracking stuff
5546         also works in the NO_NEXT case.
5547
5548 2003-03-04  Angus Leeming  <leeming@lyx.org>
5549
5550         * commandtags.h:
5551         * LyXAction.C: new LFUN_INSET_MODIFY.
5552
5553         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5554         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5555
5556 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * several files: ws changes only
5559
5560         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5561         (TeXEnvironment): ditto
5562         (TeXDeeper): ditto
5563
5564         * buffer.C (makeLaTeXFile): adjust
5565         (latexParagraphs): make it take ParagraphList::iterator as args
5566
5567 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * buffer.C (latexParagraphs): adjust
5570
5571         * paragraph.C (TeXOnePar): move function...
5572         (optArgInset): move function...
5573         (TeXEnvironment): move function...
5574         * paragraph_pimpl.C (TeXDeeper): move function...
5575         * paragraph_funcs.C: ...here
5576
5577         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5578
5579 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * buffer.C (readInset): remove compability code for old Figure and
5582         InsetInfo insets
5583
5584 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * buffer.C: ws changes
5587         (readInset):
5588
5589         * BufferView_pimpl.C: ditto
5590         * author.C: ditto
5591         * buffer.h: ditto
5592         * bufferlist.h: ditto
5593         * changes.h: ditto
5594         * lyxfunc.C: ditto
5595
5596 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5597
5598         * converter.[Ch]: split into itself +
5599         * graph.[Ch]
5600         * format.[Ch]
5601         * Makefile.am: += graph.[Ch] + format.[Ch]
5602         * MenuBackend.C
5603         * buffer.C
5604         * exporter.C
5605         * importer.C
5606         * lyx_main.C
5607         * lyxfunc.C
5608         * lyxrc.C: added #include "format.h"
5609
5610 2003-02-27  Angus Leeming  <leeming@lyx.org>
5611
5612         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5613           a label.
5614
5615         * factory.C (createInset): add "label" to the factory.
5616
5617         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5618           string and do no more.
5619
5620 2003-02-27  Angus Leeming  <leeming@lyx.org>
5621
5622         * commandtags.h:
5623         * LyXAction.C (init):
5624         * factory.C (createInset):
5625         * BufferView_pimpl.C (dispatch):
5626           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5627
5628         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5629
5630         * lyxfunc.C (dispatch):
5631         * text3.C (dispatch): pass name to params2string.
5632
5633 2003-02-26  Angus Leeming  <leeming@lyx.org>
5634
5635         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5636           blocks together.
5637           Rearrange the ~includes. Strip out the unnecessary ones.
5638
5639         * factory.C (createInset): reformat.
5640           create new insets for the various LFUN_XYZ_APPLY lfuns.
5641
5642 2003-02-26  John Levon  <levon@movementarian.org>
5643
5644         * lyxrow.h:
5645         * lyxrow.C: add isParStart,isParEnd helpers
5646
5647         * paragraph.h: make isInserted/DeletedText take refs
5648
5649         * paragraph_funcs.h:
5650         * paragraph_funcs.C: remove #if 0'd code
5651
5652         * lyxtext.h:
5653         * text3.C:
5654         * text2.C:
5655         * text.C: use lyxrow helpers above.
5656           Move draw and paint routines to RowPainter.
5657           Make several methods use refs not pointers.
5658           Make backgroundColor() const.
5659           Add markChangeInDraw(), isInInset().
5660           Merge changeRegionCase into changeCase.
5661           Make workWidth() shouldn't-happen code into an Assert.
5662
5663         * rowpainter.h:
5664         * rowpainter.C: new class for painting a row.
5665
5666         * vspace.h:
5667         * vspace.C: make inPixels take a ref
5668
5669 2003-02-26  Angus Leeming  <leeming@lyx.org>
5670
5671         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5672         LFUN_REF_APPLY.
5673
5674 2003-02-25  John Levon  <levon@movementarian.org>
5675
5676         * ispell.C: give the forked command a more accurate name
5677
5678 2003-02-22  John Levon  <levon@movementarian.org>
5679
5680         * toc.h:
5681         * toc.C: make TocItem store an id not a Paragraph *
5682           (bug #913)
5683
5684 2003-02-21  Angus Leeming  <leeming@lyx.org>
5685
5686         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5687           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5688           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5689           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5690           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5691           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5692
5693         * BufferView_pimpl.C (dispatch):
5694         * LyXAction.C (init):
5695         * factory.C (createInset):
5696         * lyxfunc.C (getStatus, dispatch):
5697         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5698
5699 2003-02-21  Angus Leeming  <leeming@lyx.org>
5700
5701         * BufferView_pimpl.C (MenuInsertLyXFile):
5702         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5703         * lyxfunc.C (menuNew, open, doImport):
5704           no longer pass a LyXView & to fileDlg.
5705
5706 2003-02-21  Angus Leeming  <leeming@lyx.org>
5707
5708         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5709         * LyXAction.C: change, BIBKEY to BIBITEM.
5710         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5711         Change InsetBibKey to InsetBibitem.
5712         Change BIBKEY_CODE to BIBITEM_CODE.
5713         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5714         * factory.C: replace insetbib.h with insetbibitem.h.
5715         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5716         * paragraph.C: replace insetbib.h with insetbibitem.h.
5717         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5718         Change bibkey() to bibitem().
5719         * text.C: remove insetbib.h.
5720         * text2.C: replace insetbib.h with insetbibitem.h.
5721         change bibkey() to bibitem().
5722         * text3.C: remove insetbib.h.
5723         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5724
5725 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5726
5727         * lyxrc.C (output): enclose user email in quotes (in case there are
5728         several words)
5729
5730 2003-02-18  John Levon  <levon@movementarian.org>
5731
5732         * buffer.h: add std::
5733
5734 2003-02-17  John Levon  <levon@movementarian.org>
5735
5736         * SpellBase.h:
5737         * ispell.h:
5738         * ispell.C:
5739         * pspell.h:
5740         * pspell.C: reworking. Especially in ispell, a large
5741           number of clean ups and bug fixes.
5742
5743         * lyxfunc.C: fix revert to behave sensibly
5744
5745 2003-02-17 André Pönitz <poenitz@gmx.net>
5746
5747         * LyXAction.C:
5748         * commandtags.h: new LFUN_INSERT_BIBKEY
5749
5750         * layout.h:
5751         * lyxlayout.C:
5752         * buffer.C:
5753         * factory.C:
5754         * text.C:
5755         * text2.C:
5756         * text3.C:
5757         * paragraph.[Ch]:
5758         * paragraph_func.C: remove special bibkey handling
5759
5760 2003-02-17  John Levon  <levon@movementarian.org>
5761
5762         * text.C (Delete): fix case where delete at the end of
5763           the very first paragraph would not merge the pars
5764
5765 2003-02-17  John Levon  <levon@movementarian.org>
5766
5767         * lyxrow.C: fix lastPrintablePos()
5768
5769 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5770
5771         * bufferparams.C (writeLaTeX): add a std:here
5772
5773         * buffer.C: and remove a using directive there
5774
5775 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5776
5777         * buffer.C (makeLaTeXFile): move the code that generates the
5778           preamble...
5779
5780         * bufferparams.C (writeLaTeX): ... in this new method
5781
5782         * LaTeXFeatures.C (getEncodingSet): make const
5783           (getLanguages): make const
5784
5785         * MenuBackend.C (binding): returns the binding associated to this
5786           action
5787           (add): sets the status of each item by calling getStatus. Adds
5788           some intelligence.
5789           (read): add support for OptSubMenu
5790           (expand): remove extra separator at the end of expanded menu
5791
5792 2003-02-15  John Levon  <levon@movementarian.org>
5793
5794         * BufferView.C:
5795         * BufferView_pimpl.C:
5796         * bufferlist.h:
5797         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5798           inset code that had no actual effect. Remove unneeded status
5799           code.
5800
5801 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5802
5803         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5804           in preamble
5805
5806 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5807
5808         * text.C (drawLengthMarker): also draw an arrow marker for
5809           symbolic lengths (medskip...)
5810
5811 2003-02-14  John Levon  <levon@movementarian.org>
5812
5813         * tabular.h:
5814         * tabular.C: better method names
5815
5816 2003-02-14  John Levon  <levon@movementarian.org>
5817
5818         * BufferView_pimpl.C:
5819         * bufferlist.C:
5820         * buffer.C:
5821         * converter.C:
5822         * lyx_cb.C:
5823         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5824           it's a more accurate name. Remove some pointless uses.
5825
5826 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5827
5828         * text2.C (LyXText): change order of initilizers to shut off
5829           warnings
5830
5831 2003-02-14  John Levon  <levon@movementarian.org>
5832
5833         * buffer.C: use ParIterator for getParFromID()
5834
5835         * paragraph.h:
5836         * paragraph.C:
5837         * paragraph_pimpl.h:
5838         * paragraph_pimpl.C: remove unused getParFromID()
5839
5840 2003-02-14  John Levon  <levon@movementarian.org>
5841
5842         * buffer.C: remove some very old #if 0'd parse code
5843
5844 2003-02-13  John Levon  <levon@movementarian.org>
5845
5846         * text.h:
5847         * text.C:
5848         * text2.C: move hfillExpansion(), numberOfSeparators(),
5849           rowLast(), rowLastPrintable(), numberofHfills(),
5850           numberOfLabelHfills() ...
5851
5852         * lyxrow.h:
5853         * lyxrow.C: ... to member functions here.
5854
5855         * paragraph.h:
5856         * paragraph.C:
5857         * lyxtext.h:
5858         * text.C: remove LyXText::beginningOfMainBody(), and call
5859           p->beginningOfMainBody() directly. Move the check for
5860           LABEL_MANUAL into the latter.
5861
5862         * text.h:
5863         * text.C:
5864         * text2.C:
5865         * vspace.C:
5866         * BufferView.h:
5867         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5868
5869         * text.h:
5870         * text.C:
5871         * text2.C:
5872         * text3.C:
5873         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5874           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5875
5876 2003-02-13  John Levon  <levon@movementarian.org>
5877
5878         * CutAndPaste.C: remove debug
5879
5880 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5881
5882         * paragraph.C (asString): remove two unused variables
5883
5884         * lyxtextclass.C (readTitleType):
5885           (Read):
5886           (LyXTextClass): handle new members titletype_ and titlename_
5887
5888         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5889
5890 2003-02-09  John Levon  <levon@movementarian.org>
5891
5892         * buffer.h:
5893         * buffer.C: replace hand-coded list with a map for the dep clean
5894
5895 2003-02-08  John Levon  <levon@movementarian.org>
5896
5897         * LaTeX.C: consolidate code into showRunMessage() helper
5898
5899 2003-02-08  John Levon  <levon@movementarian.org>
5900
5901         * lyxfind.C:
5902         * lyxtext.h:
5903         * text2.C:
5904         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5905           and pass the size in explicitly
5906
5907         * BufferView_pimpl.h:
5908         * BufferView_pimpl.C:
5909         * BufferView.h:
5910         * BufferView.C: add getCurrentChange()
5911
5912         * BufferView_pimpl.h:
5913         * BufferView_pimpl.C: handle change lfuns
5914
5915         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5916           for changes. Mark pasted paragraphs as new.
5917
5918         * support/lyxtime.h:
5919         * support/lyxtime.C:
5920         * DepTable.C: abstract time_t as lyx::time_type
5921
5922         * LColor.h:
5923         * LColor.C: add colours for new text, deleted text, changebars
5924
5925         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5926           package use "usenames" option.
5927
5928         * commandtags.h:
5929         * lyxfunc.C:
5930         * LyXAction.C: add change lfuns
5931
5932         * Makefile.am:
5933         * author.h:
5934         * author.C: author handling
5935
5936         * buffer.h:
5937         * buffer.C: add a per-buffer author list, with first entry as
5938           current author. Handle new .lyx tokens for change tracking. Output
5939           author list to .lyx file. Output dvipost stuff to .tex preamble.
5940           Bump lyx format to 222.
5941
5942         * bufferlist.h:
5943         * bufferlist.C: add setCurrentAuthor() to reset current author details
5944           in all buffers.
5945
5946         * bufferparams.h:
5947         * bufferparams.C: add param for tracking
5948
5949         * bufferview_funcs.C: output change info in minibuffer
5950
5951         * Makefile.am:
5952         * changes.h:
5953         * changes.C: add change-tracking structure
5954
5955         * debug.h:
5956         * debug.C: add CHANGES debug flag
5957
5958         * lyxfind.h:
5959         * lyxfind.C: add code for finding the next change piece
5960
5961         * lyxrc.h:
5962         * lyxrc.C: add user_name and user_email
5963
5964         * lyxrow.h:
5965         * lyxrow.C: add a metric for the top of the text line
5966
5967         * lyxtext.h:
5968         * text.C: implement accept/rejectChange()
5969
5970         * lyxtext.h:
5971         * text.C: paint changebars. Paint new/deleted text in the chosen
5972         colours. Strike through deleted text.
5973
5974         * paragraph.h:
5975         * paragraph.C:
5976         * paragraph_pimpl.h:
5977         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5978           in the current change to the insert functions. Rework erase to
5979           mark text as deleted, adding an eraseIntern() and a range-based
5980           erase(). Implement per-paragraph change lookup and
5981           accept/reject.
5982
5983         * paragraph_funcs.C: Fixup paste for change tracking.
5984
5985         * tabular.C: mark added row/columns as new.
5986
5987         * text.C: fix rowLast() to never return -1. Don't allow
5988           spellchecking of deleted text. Track transpose changes. Don't
5989           allow paragraph break or merge where appropriate.
5990
5991         * text2.C: leave cursor at end of selection after a cut.
5992
5993 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5994
5995         * text.C (getLengthMarkerHeight):
5996         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5997         visible on screen too.
5998
5999 2003-02-07  John Levon  <levon@movementarian.org>
6000
6001         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6002
6003 2003-02-05  Angus Leeming  <leeming@lyx.org>
6004
6005         * lyxserver.C (read_ready): revert my patch of 11 September last year
6006         as it sends PC cpu through the roof. Presumably this means that
6007         the lyxserver will no longer run on an Alpha...
6008
6009 2003-01-30  Angus Leeming  <leeming@lyx.org>
6010
6011         * factory.C (createInset): create an InsetCommandParam of type "index"
6012         and use it to 'do the right thing'.
6013
6014         * text2.C (getStringToIndex): ensure that cursor position is always
6015         reset to the reset_cursor position.
6016
6017 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6018
6019         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6020         disabled.
6021
6022 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6023
6024         * bufferview.C:
6025         * lyxcb.C:
6026         * lyxfunc.C: Output messages with identical spelling, punctuation,
6027         and spaces
6028
6029 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6030
6031         * MenuBackend.C (expandFormats): List only viewable export formats
6032         in "View" menu
6033
6034         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6035         message
6036
6037         * lyxfunc.C (getStatus): Make sure that formats other than
6038         "fax" can also be disabled
6039
6040 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6041
6042         * text3.C (dispatch): put the lfuns that insert insets in 3
6043         groups, and call doInsertInset with appropriate arguments.
6044         (doInsertInset): new function, that creates an inset and inserts
6045         it according to some boolean parameters.
6046
6047 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * buffer.C (readFile): remember to pass on 'par' when calling
6050         readFile recursively.
6051
6052 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6053
6054         * MenuBackend.C (expandFormats): add "..." to import formats.
6055
6056 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6057
6058         * paragraph.C (asString): Remove XForms RTL hacks.
6059
6060 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6061         * buffer.C: fix typo
6062
6063 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * Makefile.am (LIBS): delete var
6066         (lyx_LDADD): add @LIBS@ here instead.
6067
6068 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6069
6070         * Clarify the meaning of "wheel mouse jump"
6071
6072 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6073
6074         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6075         tabular in a float
6076
6077 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6078
6079         * importer.C (Loaders): do not preallocate 3 elements in the
6080         vector, since one ends up with 6 elements otherwise
6081
6082 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6083
6084         * DepTable.C (write): write the file name as last element of the
6085         .dep file (because it may contain spaces)
6086         (read): read info in the right order
6087
6088 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6089
6090         * paragraph_pimpl.C (simpleTeXBlanks):
6091         (simpleTeXSpecialChars):
6092         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6093
6094         * tabular.C (latex): add some missing case statements. Reindent.
6095
6096         * MenuBackend.C (expandToc): remove unused variable.
6097
6098 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6099
6100         * LColor.C:
6101         * LaTeX.C:
6102         * LyXAction.C:
6103         * MenuBackend.C:
6104         * buffer.C:
6105         * exporter.C:
6106         * lyxfunc.C:
6107         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6108         and the like.
6109
6110 2003-01-05  John Levon  <levon@movementarian.org>
6111
6112         * BufferView.h:
6113         * BufferView.C: add getEncoding()
6114
6115         * kbsequence.h:
6116         * kbsequence.C: do not store last keypress
6117
6118         * lyxfunc.h:
6119         * lyxfunc.C: store last keypress here instead. Pass encoding
6120           to getISOEncoded()
6121
6122 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6123
6124         * lyx_main.C (init): remove annoying error message when following
6125         symbolic links (bug #780)
6126
6127 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6128
6129         * text.C (insertChar):
6130         * lyxrc.C (getDescription): remove extra spaces
6131
6132 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6133
6134         * lyxrc.C (getDescription): remove extra spaces
6135
6136 2002-12-20  John Levon  <levon@movementarian.org>
6137
6138         * text3.C: hack fix for page up/down across tall rows
6139
6140 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6141
6142         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6143         not been invoked
6144
6145 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6146
6147         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6148         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6149         thesaurus is not compiled in
6150
6151 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6152
6153         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6154
6155 2002-12-16  Angus Leeming  <leeming@lyx.org>
6156
6157         * lyxrc.[Ch]:
6158         * lyx_main.C (init): remove override_x_deadkeys stuff.
6159
6160 2002-12-12  John Levon  <levon@movementarian.org>
6161
6162         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6163           insert. Only remove shift modifier under strict
6164           circumstances.
6165
6166 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * MenuBackend.C (expandToc): fix crash.
6169
6170 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * MenuBackend.C (expandToc): gettext on float names.
6173
6174 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6175
6176         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6177         implement bool empty() [bug 490]
6178
6179 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6182
6183 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * several files: ws changes
6186
6187 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6188
6189         * text2.C (setCounter): clean up a bit, use boost.format.
6190         (updateCounters): initialize par upon declaration.
6191
6192         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6193         if the layout exists. We do not just store the layout any more.
6194         (SwitchLayoutsBetweenClasses): use boost.format
6195
6196 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6197
6198         * converter.C (convert): if from and to files are the same, use a
6199         temporary files as intermediary
6200
6201 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6202
6203         * commandtags.h:
6204         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6205
6206 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6207
6208         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6209
6210 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6211
6212         * tabular.C (asciiPrintCell): use string(size, char) instead of
6213         explicit loop.
6214
6215         * sgml.C (openTag): fix order of arguments to string constructor
6216         (closeTag): ditto
6217
6218         * lyxfunc.C (dispatch): use boost.format
6219
6220         * lots of files: change "c" -> 'c'
6221
6222 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6223
6224         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6225
6226 2002-11-25  Angus Leeming  <leeming@lyx.org>
6227
6228         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6229
6230         * lyx_main.C (init): compile fix.
6231
6232 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6233
6234         * lyx_cb.C (start): boost.formatify
6235         do not include <iostream>
6236
6237         * lengthcommon.C: ws only
6238
6239         * boost-inst.C,BoostFormat.h: add more explict instantations
6240
6241 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * lots of files: handle USE_BOOST_FORMAT
6244
6245 2002-11-21  John Levon  <levon@movementarian.org>
6246
6247         * pspell.C: fix compile
6248
6249 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6250
6251         * lyxfunc.C (dispatch): use boost::format
6252         (open): ditto
6253         (doImport): ditto
6254
6255         * lyxfont.C (stateText): use boost::format
6256
6257         * lyx_main.C (LyX): use boost::format
6258         (init): ditto
6259         (queryUserLyXDir): ditto
6260         (readRcFile): ditto
6261         (parse_dbg): ditto
6262         (typedef boost::function): use the recommened syntax.
6263
6264         * importer.C (Import): use boost::format
6265
6266         * debug.C (showLevel): use boost::format
6267
6268         * converter.C (view): use boost::format
6269         (convert): ditto
6270         (move): ditto
6271         (scanLog): ditto
6272
6273         * bufferview_funcs.C (currentState): use boost::format
6274
6275         * bufferlist.C (emergencyWrite): use boost::format
6276
6277         * buffer.C (readLyXformat2): use boost::format
6278         (parseSingleLyXformat2Token): ditto
6279
6280         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6281
6282         * LaTeX.C (run): use boost::format
6283
6284         * Chktex.C (scanLogFile): use boost::format
6285
6286         * BufferView_pimpl.C (savePosition): use boost::format
6287         (restorePosition): ditto
6288         (MenuInsertLyXFile): ditto
6289
6290         * BoostFormat.h: help file for explicit instation.
6291
6292 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6293
6294         * tabular.C (latex): Support for block alignment in fixed width
6295         columns.
6296
6297 2002-11-17  John Levon  <levon@movementarian.org>
6298
6299         * BufferView_pimpl.C:
6300         * lyx_cb.C:
6301         * lyxfunc.C: split filedialog into open/save
6302
6303 2002-11-08  Juergen Vigna  <jug@sad.it>
6304
6305         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6306         by my last patch (hopefully).
6307
6308 2002-11-08  John Levon  <levon@movementarian.org>
6309
6310         * iterators.h:
6311         * iterators.C:
6312         * buffer.h:
6313         * buffer.C:
6314         * paragraph.h:
6315         * paragraph.C:
6316         * toc.h:
6317         * toc.C: ParConstIterator, and use it (from Lars)
6318
6319 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6320
6321         * lyxtextclass.[Ch]: revise and add doxygen comments
6322
6323 2002-11-07  John Levon  <levon@movementarian.org>
6324
6325         * text.C: fix progress value for spellchecker
6326
6327         * toc.C: fix navigate menu for insetwrap inside minipage
6328
6329         * paragraph_funcs.C: added FIXME for suspect code
6330
6331 2002-11-07  John Levon  <levon@movementarian.org>
6332
6333         * BufferView_pimpl.C: fix redrawing of insets
6334           on buffer switch
6335
6336 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6337
6338         * text2.C (updateCounters): fix bug 668
6339
6340 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6341
6342         * text3.C (dispatch): Do not make the buffer dirty when moving the
6343         cursor.
6344
6345 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * vc-backend.C: STRCONV
6348         (scanMaster): ditto
6349
6350         * text2.C (setCounter): STRCONV
6351
6352         * paragraph.C (asString): STRCONV
6353
6354         * lyxlength.C (asString): STRCONV
6355         (asLatexString): ditto
6356
6357         * lyxgluelength.C (asString): STRCONV
6358         (asLatexString): ditto
6359
6360         * lyxfunc.C (dispatch): STRCONV
6361         (open): ditto
6362
6363         * lyxfont.C (stateText): STRCONV
6364
6365         * importer.C (Import): STRCONV
6366
6367         * counters.C (labelItem): STRCONV
6368         (numberLabel): ditto
6369         (numberLabel): remove unused ostringstream o
6370
6371         * chset.C: STRCONV
6372         (loadFile): ditto
6373
6374         * bufferview_funcs.C (currentState): STRCONV
6375
6376         * buffer.C (readFile): STRCONV
6377         (asciiParagraph): ditto
6378         (makeLaTeXFile): ditto
6379
6380         * Spacing.C (writeEnvirBegin): STRCONV
6381
6382         * LaTeXFeatures.C (getLanguages): STRCONV
6383         (getPackages): ditto
6384         (getMacros): ditto
6385         (getBabelOptions): ditto
6386         (getTClassPreamble): ditto
6387         (getLyXSGMLEntities): ditto
6388         (getIncludedFiles): ditto
6389
6390         * LaTeX.C: STRCONV
6391         (run): ditto
6392         (scanAuxFile): ditto
6393         (deplog): ditto
6394
6395         * LString.h: add the STRCONV macros
6396
6397         * BufferView_pimpl.C (savePosition): STRCONV
6398         (restorePosition): ditto
6399         (MenuInsertLyXFile): ditto
6400
6401         * vc-backend.C (scanMaster): change from submatch[...] to
6402         submatch.str(...)
6403
6404         * funcrequest.C: include config.h
6405
6406         * factory.C: include config.h
6407
6408         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6409
6410         * box.C: include config.h
6411
6412         * LaTeX.C (scanAuxFile): change from submatch[...] to
6413         submatch.str(...)
6414         (deplog): ditto
6415
6416 2002-10-25  Angus Leeming  <leeming@lyx.org>
6417
6418         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6419
6420         * ispell.[Ch] (setError): new method.
6421         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6422         Use setError() insetead of goto END.
6423
6424         * lyx_cb.C (AutoSave): move out child process into new class
6425         AutoSaveBuffer.
6426
6427 2002-10-30  John Levon  <levon@movementarian.org>
6428
6429         * text3.C: make start appendix undoable
6430
6431 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6432
6433         * lyxlength.C (inPixels): Fix returned value.
6434
6435         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6436         environment.
6437
6438 2002-10-24  Angus Leeming  <leeming@lyx.org>
6439
6440         * lyxgluelength.h: no need to forward declare BufferParams
6441         or BufferView, so don't.
6442
6443 2002-10-21  John Levon  <levon@movementarian.org>
6444
6445         * BufferView.C: menuUndo ->undo, redo
6446
6447         * BufferView.h: document, remove dead, make some methods private
6448
6449         * paragraph_funcs.h:
6450         * paragraph_funcs.C:
6451         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6452
6453         * buffer.h:
6454         * buffer.C:
6455         * sgml.h:
6456         * sgml.C: move sgml open/close tag into sgml.C
6457
6458         * bufferview_funcs.h: unused prototype
6459
6460         * lyxfunc.h:
6461         * lyxfunc.C: remove unused
6462
6463         * lyxtext.h:
6464         * text.C: remove unused
6465
6466 2002-10-21  John Levon  <levon@movementarian.org>
6467
6468         * BufferView.h:
6469         * BufferView.C:
6470         * BufferView_pimpl.h:
6471         * BufferView_pimpl.C: fix mouse wheel handling based on
6472           patch from Darren Freeman
6473
6474 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6475
6476         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6477
6478 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6479
6480         * lyxlength.C (inPixels): Fix hanfling of negative length.
6481         Fix LyXLength::MU case.
6482
6483 2002-10-16  John Levon  <levon@movementarian.org>
6484
6485         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6486
6487 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6488
6489         * converter.C (view): add support for $$i (file name) and $$p
6490         (file path) for the viewer command. If $$i is not specified, then
6491         it is appended to the command (for compatibility with old syntax)
6492
6493 2002-10-14  Juergen Vigna  <jug@sad.it>
6494
6495         * undo_funcs.C (textHandleUndo): alter the order in which the
6496         new undopar is added to the LyXText, as we have to set first
6497         the right prev/next and then add it as otherwise the rebuild of
6498         LyXText is not correct. Also reset the cursor to the right paragraph,
6499         with this IMO we could remove the hack in "redoParagraphs()".
6500
6501 2002-10-09  Angus Leeming  <leeming@lyx.org>
6502
6503         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6504         to turn off an optimisation if a new inset is to be inserted.
6505
6506 2002-10-11 André Pönitz <poenitz@gmx.net>
6507
6508         * lyxtext.h: make some functions public to allow access
6509         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6510
6511 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6512
6513         * text3.C (dispatch): when changing layout, avoid an infinite loop
6514         [bug #652]
6515
6516 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6517
6518         * lyxrc.C (read): treat a viewer or converter command of "none" as
6519         if it were empty.
6520
6521         * MenuBackend.C (expandFormats): for an update, also allow the
6522         formats that are not viewable
6523
6524         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6525         script if it is newer than the lyxrc.defaults in user directory
6526
6527 2002-10-07 André Pönitz <poenitz@gmx.net>
6528
6529         * text.C: Vitaly Lipatov's small i18n fix
6530
6531 2002-09-25  Angus Leeming  <leeming@lyx.org>
6532
6533         * ispell.h: doxygen fix.
6534
6535 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6536
6537         * buffer.h (readFile): Add a new argument to the method, to allow
6538         reading of old-format templates.
6539
6540 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6541
6542         * toc.C (getTocList): Get TOC from InsetWrap.
6543
6544 2002-09-16  John Levon  <levon@movementarian.org>
6545
6546         * lyxfunc.C: check tabular for cut/copy too
6547
6548 2002-09-12  John Levon  <levon@movementarian.org>
6549
6550         * LyXAction.C: tidy
6551
6552         * factory.h:
6553         * factory.C: add header
6554
6555         * paragraph_funcs.h:
6556         * paragraph_funcs.C: cleanup
6557
6558 2002-09-11  John Levon  <levon@movementarian.org>
6559
6560         * PrinterParams.h: odd/even default to true
6561
6562 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6563
6564         * PrinterParams.h: update printer parameters for new xforms dialog
6565
6566 2002-09-11  Angus Leeming  <leeming@lyx.org>
6567
6568         * lyxserver.C (read_ready): re-write to make it more transparent
6569         and to make it work in coherent fashion under Tru64 Unix.
6570
6571 2002-09-11  André Pönitz <poenitz@gmx.net>
6572
6573         * commandtags.h:
6574         * LyXAction.C:
6575         * text3.C: implement LFUN_WORDSEL
6576
6577 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6580         make floatlist_ a boost::shared_ptr<FloatList>
6581
6582         * lyxtextclass.C: include FloatList.h
6583         (LyXTextClass): initialize floatlist_
6584         (TextClassTags): add TC_NOFLOAT
6585         (Read): match "nofloat" to TC_NOFLOAT and use it.
6586         (readFloat): modify call to floatlist_
6587         (floats): ditto
6588         (floats): ditto
6589
6590         * FloatList.[Ch] (FloatList): remove commented out float
6591         initialization.
6592         (erase): new function
6593
6594 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6595
6596         * MenuBackend.C (expandToc): fix crash when there is no document
6597         open
6598
6599 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6600
6601         * many files: Add insetwrap.
6602
6603 2002-09-09  John Levon  <levon@movementarian.org>
6604
6605         * text2.C: remove confusing and awkward depth wraparound
6606
6607 2002-09-09  John Levon  <levon@movementarian.org>
6608
6609         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6610
6611         * buffer.h:
6612         * buffer.C: remove getIncludeonlyList()
6613
6614         * paragraph.C:
6615         * lyxfunc.C: remove headers
6616
6617 2002-09-09  Juergen Vigna  <jug@sad.it>
6618
6619         * text.C (getColumnNearX): fix form Michael this is most
6620         probably a cut&paste bug.
6621
6622 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6623
6624         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6625
6626         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6627         references, ws changes.
6628
6629         * text2.C (init): update counters after init
6630         (insertParagraph): no need to set counter on idividual paragraphs.
6631         (setCounter): access the counters object in the textclass object
6632         on in the buffer object.
6633         (updateCounters): ditto
6634
6635         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6636         shared_ptr<Counters> to avoid loading counters.h in all
6637         compilation units.
6638         (LyXTextClass): initialize ctrs_
6639         (TextClassTags): add TC_COUNTER, and ...
6640         (Read): use it here.
6641         (CounterTags): new tags
6642         (readCounter): new function
6643         (counters): new funtion
6644         (defaultLayoutName): return a const reference
6645
6646         * counters.C (Counters): remove contructor
6647         (newCounter): remove a couple of unneeded statements.
6648         (newCounter): simplify a bit.
6649         (numberLabel): some small formatting changes.
6650
6651         * buffer.[Ch]: remove all traces of counters, move the Counters
6652         object to the LyXTextClass.
6653
6654 2002-09-06  Alain Castera  <castera@in2p3.fr>
6655
6656         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6657         package to set the horizontal alignment on fixed width columns.
6658
6659         * lyx_sty.C:
6660         * lyx_sty.h: added tabularnewline macro def.
6661
6662         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6663
6664 2002-09-06  John Levon  <levon@movementarian.org>
6665
6666         * LyXAction.C: tooltips for sub/superscript
6667
6668         * MenuBackend.C: a bit more verbose
6669
6670         * lyxfunc.C: tiny clean
6671
6672         * undo_funcs.C: document undo_frozen
6673
6674 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675
6676         * counters.C (Counters): add missing algorithm counter.
6677
6678         * text2.C (setCounter): lookup the counter with layouts latexname
6679         instead of by section number.
6680         (setCounter): use a hackish way to lookup the correct enum
6681         counter.
6682         a float name->type change
6683         reset enum couners with counter name directly instead of depth value.
6684
6685         * counters.C (Counters): remove the push_backs, change to use the
6686         float type not the float name.
6687         (labelItem): remove unused string, float name->type change
6688
6689         * counters.h: don't include vector, loose the enums and sects vectors
6690
6691 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6694         (Read): add float->TC_FLOAT to textclassTags
6695         (Read): and handle it in the switch
6696         (readFloat): new function
6697
6698         * FloatList.C (FloatList): comment out the hardcoded float
6699         definitions.
6700
6701         * lyxlayout.h: ws change.
6702
6703 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6704
6705         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6706
6707 2002-09-03  Angus Leeming  <leeming@lyx.org>
6708
6709         * BufferView_pimpl.h: qualified name is not allowed in member
6710         declaration: WorkArea & Pimpl::workarea() const;
6711
6712         * factory.C: added using std::endl directive.
6713
6714         * text3.C: added using std::find and std::vector directives.
6715
6716 2002-08-29  André Pönitz <poenitz@gmx.net>
6717
6718         * lyxtext.h:
6719         * text2.C: remove unused member number_of_rows
6720
6721         * Makefile.am:
6722         * BufferView2.C: remove file, move contents to...
6723         * BufferView.C: ... here
6724
6725         * BufferView_pimpl.C:
6726         * factory.C: move more inset creation to factory
6727
6728         * vspace.C: avoid direct usage of LyXText, ws changes
6729
6730         * BufferView.[Ch]:
6731                 don't provide direct access to WorkArea, use two simple
6732                 acessors haveSelction() and workHeight() instead
6733
6734
6735 2002-08-29  John Levon  <levon@movementarian.org>
6736
6737         * BufferView_pimpl.C (dispatch): do not continue when
6738           no buffer
6739
6740 2002-08-28  André Pönitz <poenitz@gmx.net>
6741
6742         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6743
6744         * BufferView.h:
6745         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6746
6747 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6748
6749         * buffer.C: increment LYX_FORMAT to 221
6750
6751         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6752         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6753
6754         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6755
6756         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6757
6758 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6759
6760         * factory.C (createInset): use LyXTextClass::floats
6761
6762         * MenuBackend.C (expandFloatListInsert):
6763         (expandFloatInsert):
6764         (expandToc):
6765
6766         * text2.C (setCounter):
6767
6768         * LaTeXFeatures.C (useFloat):
6769         (getFloatDefinitions):
6770
6771         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6772
6773         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6774         floatlist_, with accessor floats().
6775
6776         * FloatList.h: remove global FloatList
6777
6778 2002-08-26  André Pönitz <poenitz@gmx.net>
6779
6780         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6781
6782         * BufferView.h:
6783         * BufferView2.C:
6784         * BufferView_pimpl.C:
6785         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6786
6787 2002-08-25  John Levon  <levon@movementarian.org>
6788
6789         * LyXAction.C: fix margin note description
6790
6791 2002-08-24  John Levon  <levon@movementarian.org>
6792
6793         * buffer.C:
6794         * bufferlist.C:
6795         * bufferview_funcs.C:
6796         * lyxfont.C:
6797         * undo_funcs.C: cleanups
6798
6799         * lyxfunc.C: disable CUT/COPY when no selection
6800
6801 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6802
6803         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6804         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6805
6806         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6807         Add backward compatibility to "mono", "gray" and "no".
6808
6809 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6810
6811         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6812         (and file_format >= 200).
6813
6814 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6815
6816         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6817
6818 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6819
6820         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6821
6822 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6823
6824         * BufferView_pimpl.C:
6825         * LyXAction.C:
6826         * buffer.C:
6827         * commandtags.h:
6828         * lyxfunc.C:
6829         * paragraph.[Ch]:
6830         * text2.C:
6831         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6832         inset and code to make it  work with the paragraph code. The inset
6833         can be anywhere in the paragraph, but will only do the expected
6834         thing in LaTeX if the layout file contains the parameter line
6835                         OptionalArgs    1
6836         (or more generally, a nonzero value) for that layout.
6837
6838 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * paragraph.h: remove the declaration of undefined counters class
6841         function.
6842
6843 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6844
6845         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6846         Dr. Richard Hawkins.
6847
6848 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6849
6850         * paragraph_funcs.h: remove some unneeded includes
6851
6852         * text.C (backspace): pasteParagraph now in global scipe
6853
6854         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6855         (pasteSelection): ditto
6856
6857         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6858         * paragraph_funcs.C (pasteParagraph): ... here
6859
6860 2002-08-20  André Pönitz <poenitz@gmx.net>
6861
6862         * commandtags.h: new LFUNs for swapping/copying table row/colums
6863
6864         * LyXAction.C:
6865         * lyxfunc.C: support for new lfuns
6866
6867 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * tabular.C:
6870         * buffer.[Ch]: remove NO_COMPABILITY stuff
6871
6872 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * boost.C (throw_exception): new file, with helper function for
6875         boost compiled without exceptions.
6876
6877         * paragraph.h:
6878         * lyxlength.C:
6879         * buffer.C:
6880         * ParameterStruct.h:
6881         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6882
6883         * bufferlist.C (emergencyWriteAll): use boost bind
6884
6885         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6886
6887         * text.C: include paragraph_funcs.h
6888         (breakParagraph): breakParagraph is now in global scope
6889
6890         * paragraph_funcs.[Ch]: new files
6891
6892         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6893         global scope
6894
6895         * buffer.C: include paragraph_funcs.h
6896         (insertStringAsLines): breakParagraph is now in global scope
6897
6898         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6899         paragraph_funcs.C
6900
6901         * CutAndPaste.C: include paragraph_funcs.h
6902         (cutSelection): breakParagraphConservative is now in global scope
6903         (pasteSelection): ditto
6904
6905         * buffer.h: declare oprator== and operator!= for
6906         Buffer::inset_iterator
6907
6908         * bufferlist.C (emergencyWrite): don't use fmt(...)
6909
6910         * text3.C: add using std::endl
6911
6912         * BufferView.C (moveCursorUpdate): remove default arg
6913
6914 2002-08-20  André Pönitz <poenitz@gmx.net>
6915
6916         * buffer.[Ch]: move inline functions to .C
6917
6918         * BufferView2.C:
6919         * BufferView_pimpl.C:
6920         * text.C:
6921         * buffer.[Ch]: use improved inset_iterator
6922
6923         * buffer.C:
6924         * paragraph.[Ch]: write one paragraph at a time
6925
6926 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6927
6928         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6929         style if style is not specified.
6930
6931 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6932
6933         * text2.C (setCounter): when searching for right label for a
6934         caption, make sure to recurse to parent insets (so that a caption
6935         in a minipage in a figure float works) (bug #568)
6936
6937 2002-08-20  André Pönitz <poenitz@gmx.net>
6938
6939         * text3.C: new file for LyXText::dispatch() and helpers
6940
6941         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6942
6943         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6944
6945 2002-08-19  André Pönitz <poenitz@gmx.net>
6946
6947         * lyxtext.h:
6948         * text.C: new LyXText::dispatch()
6949
6950         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6951
6952 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6953
6954         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6955
6956         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6957         Hebrew text.
6958
6959 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6960
6961         * Makefile.am: use $(variables) instead of @substitutions@
6962
6963 2002-08-15  André Pönitz <poenitz@gmx.net>
6964
6965         * lyxfunc.C:
6966         * BufferView_pimpl.C: streamlining mathed <-> outer world
6967         interaction
6968
6969         * commandtags.h:
6970         * LyXAction.C: remove unused LFUN_MATH
6971
6972 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6973
6974         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6975
6976 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * paragraph.C (Paragraph): reformat a bit
6979         (cutIntoMinibuffer): use builtin InsetList function instad of
6980         doing it manually.
6981         (getInset): ditto
6982
6983         * buffer.C: include boost/bind.hpp, add using std::for_each
6984         (writeFileAscii): use ParagraphList iterators
6985         (validate): use for_each for validate traversal of paragraphs
6986         (getBibkeyList): use ParagraphList iterators
6987         (resizeInsets): use for_each to resizeInsetsLyXText for all
6988         paragraphs.
6989         (getParFromID): use ParagraphList iterators
6990
6991         * BufferView2.C (lockInset): use paragraph list and iterators
6992
6993 2002-08-14  John Levon  <levon@movementarian.org>
6994
6995         * lyxserver.C: remove spurious xforms include
6996
6997 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6998
6999         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7000
7001 2002-08-13  André Pönitz <poenitz@gmx.net>
7002
7003         * LyXAction.[Ch]:
7004         * lyxfunc.C: further cleaning
7005
7006 2002-08-13  André Pönitz <poenitz@gmx.net>
7007
7008         * funcrequest.h: new constructor
7009
7010         * funcrequest.C: move stuff here from .h
7011
7012         * Makefile.am:
7013         * BufferView_pimpl.C:
7014         * LyXAction.C:
7015         * toc.C:
7016         * lyxfunc.C: subsequent changes
7017
7018         * lyxfunc.h: new view() member function
7019
7020         * lyxfunc.C: subsequent changes
7021
7022 2002-08-13  Angus Leeming  <leeming@lyx.org>
7023
7024         * BufferView2.C:
7025         * BufferView_pimpl.C:
7026         * buffer.C:
7027         * converter.C:
7028         * importer.C:
7029         * lyxfunc.C:
7030         * lyxvc.C:
7031         * toc.C:
7032         * vc-backend.C:
7033         changes due to the changed LyXView interface that now returns references
7034         to member variables not pointers.
7035
7036 2002-08-13  Angus Leeming  <leeming@lyx.org>
7037
7038         * WordLangTuple (word, lang_code): return references to strings,
7039         not strings.
7040
7041         * BufferView.h:
7042         * SpellBase.h:
7043         * lyxtext.h: forward-declare WordLangTuple.
7044
7045         * BufferView2.C:
7046         * ispell.C:
7047         * pspell.C:
7048         * text.C: #include "WordLangTuple.h".
7049
7050         * lyxtext.h:
7051         * text.C: (selectNextWordToSpellcheck): constify return type.
7052
7053 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7054
7055         * buffer.C:
7056         * buffer.h:
7057         * lyxtext.h:
7058         * paragraph.C:
7059         * paragraph_pimpl.h:
7060         * text.C:
7061         * text2.C:
7062         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7063         suggested by Angus.
7064         Made updateCounter always count from start of buffer, and removed
7065         second argument (par).
7066         Reverted floats number display to '#'. Perhaps I'll try again when the
7067         code base is sanitized a bit.
7068
7069 2002-08-12  Angus Leeming  <leeming@lyx.org>
7070
7071         * buffer.[Ch] (getLabelList): constify.
7072
7073 2002-08-07  André Pönitz <poenitz@gmx.net>
7074
7075         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7076
7077         * funcrequest.h: extension to keep mouse (x,y) position
7078
7079 2002-08-12  Juergen Vigna  <jug@sad.it>
7080
7081         * BufferView2.C (insertErrors): forbid undo when inserting error
7082         insets.
7083
7084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7085
7086 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7087
7088         * ParagraphList.[Ch]: new files
7089
7090         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7091
7092         * BufferView2.C (lockInset): ParagraphList changes
7093         * toc.C: ditto
7094         * text2.C: ditto
7095         * bufferlist.C: ditto
7096         * buffer.h: ditto
7097         * buffer.C: ditto
7098
7099 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7102         unused class variable counter_,
7103
7104         * paragraph.[Ch] (getFirstCounter): delete unused function
7105
7106         * counters.C: include LAssert.h
7107         (reset): add a new function with no arg, change other version to
7108         not have def. arg and to not allow empty arg.
7109
7110         * text2.C (setCounter): remove empty arg from call to Counters::reset
7111
7112 2002-08-11  John Levon  <levon@movementarian.org>
7113
7114         * Makefile.am: add WordLangTuple.h
7115
7116 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7119         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7120
7121         * insets/insettext.C: InsetList changes
7122
7123         * graphics/GraphicsSupport.C (operator()): InsetList changes
7124
7125         * toc.C (getTocList): InsetList changes
7126
7127         * paragraph_pimpl.[Ch]: InsetList changes
7128
7129         * paragraph.[Ch]: InsetList changes
7130
7131         * buffer.C (inset_iterator): InsetList changes
7132         (setParagraph): ditto
7133         * buffer.h (inset_iterator): ditto
7134         * iterators.C (operator++): ditto
7135         * iterators.h: ditto
7136
7137         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7138
7139         * InsetList.[Ch]: new files, most InsetList handling moved out of
7140         paragraph.C.
7141
7142         * BufferView2.C (removeAutoInsets): InsetList changes
7143         (lockInset): ditto
7144         (ChangeInsets): ditto
7145
7146 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7147
7148         * paragraph_pimpl.h (empty): new function
7149
7150         * paragraph.[Ch] (empty): new function
7151
7152         * other files: use the new Paragraph::empty function
7153
7154 2002-08-09  John Levon  <levon@movementarian.org>
7155
7156         * lyxtext.h: remove unused refresh_height
7157
7158 2002-08-09  John Levon  <levon@movementarian.org>
7159
7160         * Makefile.am:
7161         * sgml.h:
7162         * sgml.C:
7163         * buffer.C:
7164         * paragraph.h:
7165         * paragraph.C: move sgml char escaping out of paragraph
7166
7167         * paragraph.h:
7168         * paragraph.C: remove id setter
7169
7170         * buffer.C:
7171         * paragraph.C:
7172         * paragraph_pimpl.C: remove dead tex_code_break_column
7173
7174         * bufferview_funcs.C: small cleanup
7175
7176         * lyxfunc.C: remove dead proto
7177
7178         * lyxtext.h: make some stuff private. Remove some dead stuff.
7179
7180         * lyxgluelength.C: make as[LyX]String() readable
7181
7182 2002-08-08  John Levon  <levon@movementarian.org>
7183
7184         * LyXAction.h:
7185         * LyXAction.C:
7186         * MenuBackend.C:
7187         * ToolbarDefaults.C:
7188         * lyxfunc.C:
7189         * lyxrc.C:
7190         * toc.C: lyxaction cleanup
7191
7192 2002-08-08  John Levon  <levon@movementarian.org>
7193
7194         * BufferView2.C: small cleanup
7195
7196         * lyxfind.h:
7197         * lyxfind.C: move unnecessary header into the .C
7198
7199 2002-08-08  John Levon  <levon@movementarian.org>
7200
7201         * funcrequest.h: just tedious nonsense
7202
7203         * lyx_main.h:
7204         * lyx_main.C: cleanups
7205
7206         * buffer.C:
7207         * vspace.C: remove dead header lyx_main.h
7208
7209 2002-08-07  Angus Leeming  <leeming@lyx.org>
7210
7211         * Paragraph.[Ch]:
7212         * paragraph_pimpl.h:
7213         Forward declare class Counters in paragraph.h by moving the ctrs member
7214         variable into Paragraph::Pimpl.
7215         (counters): new method, returning a reference to pimpl_->ctrs.
7216
7217         * text2.C: ensuing changes.
7218
7219 2002-08-07  John Levon  <levon@movementarian.org>
7220
7221         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7222
7223         * BufferView_pimpl.C: announce X selection on double/triple
7224           click
7225
7226         * lyx_main.C: use correct bool in batch dispatch
7227
7228         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7229
7230 2002-08-07  André Pönitz <poenitz@gmx.net>
7231
7232         * funcrequest.h: new class to wrap a kb_action and its argument
7233
7234         * BufferView.[Ch]:
7235         * BufferView_pimpl[Ch]:
7236         * LaTeX.C:
7237         * LyXAction.[Ch]:
7238         * lyxfunc.[Ch]:
7239         * lyxrc.C: subsequent changes
7240
7241
7242 2002-08-07  John Levon  <levon@movementarian.org>
7243
7244         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7245           document options change.
7246
7247 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7248
7249         * counters.[Ch]
7250         * text2.C
7251         * paragraph.[Ch]
7252         * makefile.am: move counters functionality over from
7253         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7254
7255 2002-08-06  John Levon  <levon@movementarian.org>
7256
7257         * WordLangTuple.h: new file for word + language code tuple
7258
7259         * SpellBase.h:
7260         * pspell.h:
7261         * pspell.C:
7262         * ispell.h:
7263         * ispell.C:
7264         * lyxtext.h:
7265         * text.C:
7266         * text2.C:
7267         * BufferView.h:
7268         * BufferView2.C: use WordLangTuple
7269
7270         * layout.h:
7271         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7272
7273 2002-08-06  John Levon  <levon@movementarian.org>
7274
7275         * lyx_main.C: fix cmdline batch handling
7276
7277 2002-08-06  André Pönitz <poenitz@gmx.net>
7278
7279         * lyxrc.C: set default for show_banner to true
7280
7281 2002-08-06  John Levon  <levon@movementarian.org>
7282
7283         * pspell.C: fix a crash, and allow new aspell to work
7284
7285 2002-08-06  John Levon  <levon@movementarian.org>
7286
7287         * lyxfunc.C:
7288         * kbmap.C: small cleanup
7289
7290         * vspace.h:
7291         * vspace.C: add const
7292
7293 2002-08-05  John Levon  <levon@movementarian.org>
7294
7295         * LyXAction.C: back to tabular-insert
7296
7297 2002-08-04  John Levon  <levon@movementarian.org>
7298
7299         * BufferView.h:
7300         * BufferView.C: cosmetic change
7301
7302         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7303
7304         * bufferlist.C:
7305         * buffer.h:
7306         * buffer.C:
7307         * lyxcb.h:
7308         * lyxcb.C:
7309         * lyxserver.C:
7310         * lyxvc.C:
7311         * vc-backend.C:
7312         * BufferView2.C: purge all "Lyx" not "LyX" strings
7313
7314         * lyxcursor.h:
7315         * lyxcursor.C: attempt to add some documentation
7316
7317         * lyxfunc.C:
7318         * commandtags.h:
7319         * LyXAction.C:
7320         * ToolbarDefaults.C:
7321         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7322           merge with LFUN_TABULAR_INSERT
7323
7324         * Makefile.am:
7325         * SpellBase.h:
7326         * ispell.h:
7327         * ispell.C:
7328         * pspell.h:
7329         * pspell.C: split up i/pspell implementations into separate
7330           files, many cleanups
7331
7332         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7333
7334         * text2.C: some cleanup
7335
7336         * lyxfunc.C: don't check for isp_command == "none" any more, it
7337           didn't make any sense
7338
7339 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7340
7341         * counters.[Ch]
7342         * text2.C
7343         * paragraph.[Ch]
7344         * makefile.am: move counters functionality over
7345         from text2.C/paragraph.[Ch] to counters.[Ch], and
7346         make proper C++.
7347 2002-08-02  John Levon  <levon@movementarian.org>
7348
7349         * buffer.C: s/lyxconvert/lyx2lyx/
7350
7351 2002-08-02  Angus Leeming  <leeming@lyx.org>
7352
7353         * lyxlex.C: revert John's change as it breaks reading of the user
7354         preamble.
7355
7356 2002-08-02  Angus Leeming  <leeming@lyx.org>
7357
7358         * importer.C (Import):
7359         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7360         changes due to LyXView::view() now returning a boost::shared_ptr.
7361
7362 2002-08-02  John Levon  <levon@movementarian.org>
7363
7364         * lyxlex.C: small cleanup
7365
7366 2002-08-02  John Levon  <levon@movementarian.org>
7367
7368         * text2.C (status): small cleanup, no logic change
7369
7370 2002-08-01  John Levon  <levon@movementarian.org>
7371
7372         * buffer.h:
7373         * buffer.C (writeFile): don't output alerts, caller
7374           handles this
7375
7376         * bufferlist.C:
7377         * lyx_cb.C: from above
7378
7379         * lyxfunc.C: allow to open non-existent files
7380
7381 2002-07-31  John Levon  <levon@movementarian.org>
7382
7383         * lyxserver.C: don't let incidental errors get
7384           in the way (errno)
7385
7386 2002-07-30  John Levon  <levon@movementarian.org>
7387
7388         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7389
7390 2002-07-30  John Levon  <levon@movementarian.org>
7391
7392         * lyxserver.h:
7393         * lyxserver.C: remove I/O callback too
7394
7395 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7396
7397         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7398         log.
7399
7400 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * many files: strip,frontStrip -> trim,ltrim,rtrim
7403
7404 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7405
7406         * PrinterParams.h: remove extern containsOnly, and include
7407         support/lstrings.h instead.
7408
7409         * LaTeX.C (scanAuxFile): modify because of strip changes
7410         (deplog): ditto
7411         * buffer.C (makeLaTeXFile): ditto
7412         * bufferparams.C (writeFile): ditt
7413         * lyxfont.C (stateText): ditto
7414         * lyxserver.C (read_ready): ditto
7415         * vc-backend.C (scanMaster): ditto
7416
7417         * BufferView_pimpl.h: ws changes
7418
7419         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7420
7421 2002-07-26  André Pönitz <poenitz@gmx.net>
7422
7423         * kb_sequence.C: remove unnedred usings
7424
7425 2002-07-26  Juergen Vigna  <jug@sad.it>
7426
7427         * lyxfind.C (LyXReplace): we have to check better if the returned
7428         text is not of theLockingInset()->getLockingInset().
7429
7430 2002-07-25  Juergen Vigna  <jug@sad.it>
7431
7432         * lyxfind.C (LyXReplace): don't replace if we don't get the
7433         right LyXText.
7434
7435         * undo_funcs.C (createUndo): remove debugging code.
7436
7437 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7438
7439         * buffer.C (parseSingleLyXformat2Token): Use default placement
7440         when reading old floats.
7441
7442         * FloatList.C (FloatList): Change the default placement of figure
7443         and tables to "tbp".
7444
7445 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7446
7447         * MenuBackend.C: using std::max
7448
7449 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7450
7451         * MenuBackend.C (expandToc):
7452         (expandToc2): code moved from xforms menu frontend. It is now
7453         generic and TOCs are transparent to menu frontends.
7454
7455 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7456
7457         * toc.C (getTocList): protect against buf=0
7458
7459         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7460         Menu as first parameter. Now, this calls itself recursively to
7461         expand a whole tree (this will be useful for TOC handling)
7462         (expandFloatInsert): remove 'wide' version of floats
7463
7464         * MenuBackend.h (submenuname): returns the name of the submenu.
7465         (submenu): returns the submenu itself, provided it has been
7466         created by MenuBackend::expand
7467
7468 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7469
7470         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7471         insets which have noFontChange == true. (bug #172)
7472
7473 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7474
7475         * BufferView_pimpl.C: add connection objects and use them...
7476         (Pimpl): here.
7477
7478 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7479
7480         * MenuBackend.C (expandLastfiles):
7481         (expandDocuments):
7482         (expandFormats):
7483         (expandFloatListInsert):
7484         (expandFloatInsert):
7485         (expand): split expand in parts
7486
7487 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7488
7489         * lyx_gui.C: use lyx_gui::exit()
7490
7491 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7492
7493         * LyXAction.C: show the failing pseudo action
7494
7495 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7496
7497         * buffer.C (readFile): Run the lyxconvert script in order to read
7498         old files.
7499
7500 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7501
7502         * LyXAction.C:
7503         * commandtags.h:
7504         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7505
7506 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7507
7508         * LyXAction.C:
7509         * commandtags.h:
7510         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7511
7512 2002-07-22  Herbert Voss  <voss@lyx.org>
7513
7514         * lengthcommon.C:
7515         * lyxlength.[Ch]: add support for the vertical lengths
7516
7517 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7518
7519         * toc.[Ch]: std:: fixes
7520
7521 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7522
7523         * lyxrc.C: do not include lyx_main.h
7524
7525         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7526         for layouts
7527
7528         * lyxrc.C:
7529         * encoding.C:
7530         * bufferlist.C:
7531         * BufferView2.C: include "lyxlex.h"
7532
7533         * tabular.h:
7534         * bufferparams.h: do not #include "lyxlex.h"
7535
7536         * lyxtextclasslist.C (Add): remove method
7537         (classlist): renamed to classlist_
7538
7539         * paragraph_pimpl.C:
7540         * paragraph.C:
7541         * text2.C:
7542         * CutAndPaste.C:
7543         * bufferview_funcs.C:
7544         * bufferlist.C:
7545         * text.C:
7546         * LaTeXFeatures.C:
7547         * buffer.C:
7548         * toc.C (getTocList): use BufferParams::getLyXTextClass
7549
7550         * toc.C (getTocList): use InsetFloat::addToToc
7551
7552         * toc.[Ch]: new files, containing helper functions to handle table
7553         of contents
7554
7555         * lyxfunc.C (dispatch): no need to remove spaces around command
7556         given as a string
7557         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7558         first command of the sequence; it is not very clever, but I do not
7559         have a better idea, actually
7560
7561         * LyXAction.C (LookupFunc): make sure to remove space at the
7562         beginning and end of the command
7563
7564 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7565
7566         * MenuBackend.C (getMenubar): new method: return the menubar of
7567         this menu set
7568         (read): treat differently reading of menu and menubar (in
7569         particular, the menubar has no name now)
7570         (Menu::menubar): remove
7571
7572         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7573         saving is finished
7574
7575 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7576
7577         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7578         a bibitem inset in a RTL paragraph.
7579
7580 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7581
7582         * paragraph_pimpl.C: constify
7583
7584         * BufferView_pimpl.C:
7585         * LaTeX.C:
7586         * lyxfunc.C: fix dispatch in a nicer way
7587
7588 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7589
7590         * lyxfunc.C (dispatch):
7591         * BufferView_pimpl.C:
7592         * BufferView_pimpl.h:
7593         * BufferView.C:
7594         * BufferView.h: rename Dispatch() to dispatch()
7595
7596         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7597
7598         * lyxlayout.C (Read): honor DependsOn tag
7599
7600         * lyxlayout.[Ch] (depends_on): new method
7601
7602         * version.C.in: update lyx_docversion
7603
7604         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7605
7606         * paragraph.C (validate): remove from here...
7607         * paragraph_pimpl.C (validate): ... and move here
7608         (isTextAt): make it const
7609
7610         * buffer.C (getLists): ws cleanup
7611
7612 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7613
7614         * language.C (read): Use iso8859-1 encoding in latex_lang
7615         (this prevents LyX from crashing when using iso10646-1 encoding).
7616
7617 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7618
7619         * text2.C (toggleInset): if cursor is inside an inset, close the
7620         inset and leave cursor _after_ it
7621
7622 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7623
7624         * lyxfunc.C: move minibuffer completion handling out of here
7625
7626 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7627
7628         * BufferView_pimpl.C:
7629         * LaTeX.C: fix dispatch calls
7630
7631 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7632
7633         * text.C (drawChars): Fix Arabic text rendering.
7634
7635 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7636
7637         * LyXAction.C:
7638         * commandtags.h:
7639         * lyxfunc.C: remove message-push/pop
7640
7641         * lyxserver.C:
7642         * lyxfunc.h:
7643         * lyxfunc.C: rationalise some code by removing verboseDispatch
7644           in favour of a bool argument to dispatch()
7645
7646 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7647
7648         * lyx_main.C (init): make sure to read symlinks as absolute paths
7649
7650 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7651
7652         * lyxfunc.h:
7653         * lyxfunc.C: no need for commandshortcut to be a member
7654
7655 2002-07-15  André Pönitz <poenitz@gmx.net>
7656
7657         * converter.C: add support for $$s (scripts from lib/scripts dir)
7658         * lyx_main.C: white space
7659
7660 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7661
7662         * bufferlist.C:
7663         * lyxrc.h:
7664         * lyxrc.C: remove second exit confirmation
7665
7666 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7667
7668         * BufferView.h:
7669         * BufferView.C:
7670         * BufferView2.C:
7671         * BufferView_pimpl.h:
7672         * BufferView_pimpl.C:
7673         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7674
7675 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7676
7677         * MenuBackend.C (expand): add numeric shortcuts to document menu
7678
7679         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7680
7681 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7682
7683         * lyxfont.C (setLyXFamily):
7684         (setLyXSeries):
7685         (setLyXShape):
7686         (setLyXSize):
7687         (setLyXMisc):
7688         (lyxRead):
7689         * debug.C (value):
7690         * buffer.C (asciiParagraph): use ascii_lowercase
7691
7692 2002-07-15  Mike Fabian  <mfabian@suse.de>
7693
7694         * lyxlex_pimpl.C (search_kw):
7695         * lyxlex.C (getLongString):
7696         * converter.h (operator<):
7697         * converter.C (operator<):
7698         * buffer.C (parseSingleLyXformat2Token):
7699         (asciiParagraph):
7700         * ToolbarDefaults.C (read):
7701         * MenuBackend.C (checkShortcuts):
7702         (read):
7703         * LColor.C (getFromGUIName):
7704         (getFromLyXName): use the compare_ascii_no_case instead of
7705         compare_no_case, because in turkish, 'i' is not the lowercase
7706         version of 'I', and thus turkish locale breaks parsing of tags.
7707
7708 2002-07-16  Angus Leeming  <leeming@lyx.org>
7709
7710         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7711         now takes a Buffer const & argument.
7712
7713 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7714
7715         * BufferView.C (resize): check there's a buffer to resize
7716
7717 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * lyxfunc.C: remove dead code
7720
7721         * lyxserver.h:
7722         * lyxserver.C: use lyx_guii::set_read_callback
7723
7724 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7725
7726         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7727         an inset in a RTL paragraph.
7728
7729 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7730
7731         * lyxfunc.C: repaint after a font size update
7732
7733 2002-07-15  André Pönitz <poenitz@gmx.net>
7734
7735         * lyxlength.C: inBP should be able to return negative values
7736
7737 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7738
7739         * lyxfunc.C: use lyx_gui::update_fonts()
7740
7741 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7742
7743         * lyxfunc.C: use lyx_gui::update_color()
7744
7745 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7746
7747         * bufferlist.C:
7748         * lyxfunc.h:
7749         * lyxfunc.C:
7750         * lyxrc.h:
7751         * lyxrc.C: remove file->new asks for name option, and let
7752           buffer-new take an argument
7753
7754 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7755
7756         * BufferView_pimpl.C: remove unneeded extra repaint()
7757
7758 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7759
7760         * LyXAction.C: allow command-sequence with NoBuffer
7761
7762         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7763
7764 2002-07-10  Angus Leeming  <leeming@lyx.org>
7765
7766         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7767
7768 2002-07-09  Angus Leeming  <leeming@lyx.org>
7769
7770         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7771
7772 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7773
7774         * lengthcommon.h: whitespace
7775
7776         * lyxfunc.C: update scrollbar after goto paragraph
7777
7778         * lyxtext.h: factor out page break drawing, and fix it so
7779           page break/added space paints as selected nicely
7780
7781 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * BufferView_pimpl.C: add FIXMEs, clean up a little
7784
7785 2002-07-09  André Pönitz <poenitz@gmx.net>
7786
7787         * lyxfont.[Ch]: support for wasy symbols
7788
7789 2002-07-08  André Pönitz <poenitz@gmx.net>
7790
7791         * BufferView_pimpl.C: apply John's patch for #93.
7792
7793 2002-07-05  Angus Leeming  <leeming@lyx.org>
7794
7795         * BufferView_pimpl.C (buffer): generate previews if desired.
7796
7797         * LColor.h: add "preview" to the color enum.
7798
7799         * LColor.C (LColor): add a corresponding entry to the items array.
7800
7801         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7802         with this buffer.
7803
7804 2002-07-05  Angus Leeming  <leeming@lyx.org>
7805
7806         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7807         The body of the code is now in the method that is passed an ostream &
7808         rather than a file name.
7809         Pass an additional only_preamble parameter, useful for the forthcoming
7810         preview stuff.
7811
7812 2002-07-03  André Pönitz <poenitz@gmx.net>
7813
7814         * lyxfunc.C: simplify getStatus() a bit for math stuff
7815
7816 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7817
7818         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7819
7820 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7821
7822         * text.C (changeRegionCase): do not change case of all the
7823         document when region ends at paragraph end (bug #461)
7824
7825 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7826
7827         * paragraph.C (startTeXParParams):
7828         (endTeXParParams): add \protect when necessary
7829
7830 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7831
7832         * BufferView_pimpl.C (workAreaExpose): remove warning
7833
7834 2002-06-27  Angus Leeming  <leeming@lyx.org>
7835
7836         * Makefile.am: add lyxlayout_ptr_fwd.h.
7837
7838 2002-06-26  André Pönitz <poenitz@gmx.net>
7839
7840         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7841
7842 2002-06-25  Angus Leeming  <leeming@lyx.org>
7843
7844         * lyxfunc.C (dispatch): Comment out the call to
7845         grfx::GCache::changeDisplay. The method no longer exists now that the
7846         pixmap generation part of the graphics loader has been moved into
7847         InsetGraphics.
7848
7849 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7850
7851         * text2.C: layout as layout
7852
7853         * text.C: layout as layout
7854
7855         * tabular.C (OldFormatRead): layout as layout
7856
7857         * paragraph_pimpl.C (TeXDeeper): layout as layout
7858         (realizeFont): layout as layout
7859
7860         * paragraph.C (writeFile): layout as layout
7861         (validate): layout as layout
7862         (getFont): layout as layout
7863         (getLabelFont): layout as layout
7864         (getLayoutFont): layout as layout
7865         (breakParagraph): layout as layout
7866         (stripLeadingSpaces): layout as layout
7867         (getEndLabel): layout as layout
7868         (getMaxDepthAfter): layout as layout
7869         (applyLayout): layout as layout
7870         (TeXOnePar): layout as layout
7871         (simpleTeXOnePar): layout as layout
7872         (TeXEnvironment): layout as layout
7873         (layout): layout as layout
7874         (layout): layout as layout
7875
7876         * lyxtextclass.C (compare_name): new functor to work with
7877         shared_ptr, layout as layout
7878         (Read): layout as layout
7879         (hasLayout): layout as layout
7880         (operator): layout as layout
7881         (delete_layout): layout as layout
7882         (defaultLayout): layout as layout
7883
7884         * lyxlayout_ptr_fwd.h: new file
7885
7886         * lyxlayout.C (Read): layout as layout
7887
7888         * lyx_cb.C (MenuInsertLabel): layout as layout
7889
7890         * bufferlist.C (newFile): layout as layout
7891
7892         * buffer.C (readLyXformat2): layout as layout
7893         (parseSingleLyXformat2Token): layout as layout
7894         (insertStringAsLines): layout as layout
7895         (asciiParagraph): layout as layout
7896         (latexParagraphs): layout as layout
7897         (makeLinuxDocFile): layout as layout
7898         (simpleLinuxDocOnePar): layout as layout
7899         (makeDocBookFile): layout as layout
7900         (simpleDocBookOnePar): layout as layout
7901         (getLists): layout as layout
7902
7903         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7904
7905         * CutAndPaste.C (cutSelection): layout as layout
7906         (pasteSelection): layout as layout
7907         (SwitchLayoutsBetweenClasses): layout as layout
7908
7909         * BufferView_pimpl.C (Dispatch): layout as layout
7910         (smartQuote): layout as layout
7911
7912         * BufferView2.C (unlockInset): layout as layout
7913
7914 2002-06-24  André Pönitz <poenitz@gmx.net>
7915
7916         * lyxfunc.C: fix #487
7917
7918 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7919
7920         * lyxrc.h:
7921         * lyxrc.C:
7922         * lyxfunc.C: remove display_shortcuts, show_banner
7923
7924 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7925
7926         * Buffer_pimpl.C: oops, update on resize
7927
7928 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7929
7930         * buffer.C:
7931         * converter.C:
7932         * exporter.C:
7933         * lyxfunc.C:
7934         * BufferView.h:
7935         * BufferView.C: use repaint()
7936
7937         * BufferView_pimpl.h:
7938         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7939           as it's a clearer description. Remove superfluous
7940           redraws.
7941
7942 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7943
7944         * text.C: fix bug 488. Not ideal, but getting
7945           getWord() to work properly for the insets that
7946           matter is more difficult ...
7947
7948 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7949
7950         * BufferView_pimpl.C:
7951         * LyXAction.C:
7952         * commandtags.h:
7953         * lyxfunc.C: remove the six million index lyxfuncs to just
7954           one, and DTRT (bug 458)
7955
7956 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7957
7958         * BufferView.h:
7959         * BufferView.C:
7960         * BufferView_pimpl.h:
7961         * BufferView_pimpl.C: clean up resize() stuff,
7962           and unnecessary updateScreen()s
7963
7964 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7965
7966         * BufferView.h:
7967         * BufferView.C:
7968         * BufferView_pimpl.h:
7969         * BufferView_pimpl.C:
7970         * lyxfind.h:
7971         * lyxfind.C:
7972         * minibuffer.C: remove focus management of workarea,
7973           not needed. Use screen's greyOut()
7974
7975 2002-06-17  Herbert Voss  <voss@lyx.org>
7976
7977         * converter.C: (convert) do not post a message, when converting
7978         fails, let the calling function decide what to do in this case
7979
7980 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7981
7982         * lyxfunc.C: tidy up a little
7983
7984 2002-06-16    <alstrup@diku.dk>
7985
7986         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7987         Got rid of FORMS_H_LOCATION include. Now we are
7988         GUII.
7989
7990 2002-06-15  LyX Development team  <lyx@rilke>
7991
7992         * buffer.[Ch] (sgmlOpenTag):
7993         (sgmlCloseTag): Added support for avoiding pernicious mixed
7994         content. Return number of lines written.
7995
7996         (makeLinuxDocFile):
7997         (makeDocBookFile): Fixed calls to sgml*Tag.
7998         Simple white space clean.
7999
8000         (simpleDocBookOnePar): Simple white space clean.
8001
8002         * tabular.[Ch] (docBook): Renamed to docbook and got another
8003         argument to related with the pernicious mixed content.
8004
8005         (docbookRow): Fixed calls for docbook inset method.
8006
8007 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8008
8009         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8010         so it's X11 independent.
8011
8012         * kb*.[Ch]: ditto.
8013
8014         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8015
8016 2002-06-15  Lyx Development team  <lyx@electronia>
8017
8018         * intl.h: Renamed getTrans to getTransManager.
8019
8020 2002-06-14  Angus Leeming  <leeming@lyx.org>
8021
8022         * Makefile.am: nuke forgotten stl_string_fwd.h.
8023
8024 2002-06-12  Angus Leeming  <leeming@lyx.org>
8025
8026         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8027
8028 2002-06-13  Angus Leeming  <leeming@lyx.org>
8029
8030         * LaTeX.C:
8031         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8032
8033 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8034
8035         * kbmap.C (getiso): add support for cyrillic and greek
8036
8037 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * BufferView.h:
8040         * BufferView.C:
8041         * BufferView_pimpl.h:
8042         * BufferView_pimpl.C: move bogus scrolling logic
8043           to xforms
8044
8045 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8046
8047         * lyxfunc.C:
8048         * BufferView_pimpl.C: view->resize() change
8049
8050 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8051
8052         * BufferView_pimpl.C: topCursorVisible
8053           prototype change
8054
8055 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8056
8057         * Makefile.am:
8058         * lyx_gui.h:
8059         * lyx_gui.C: move to frontends/
8060
8061         * main.C:
8062         * lyx_main.h:
8063         * lyx_main.C: changes from above
8064
8065 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * intl.C:
8068         * intl.h:
8069         * kbmap.C:
8070         * kbsequence.C:
8071         * lyx_cb.C:
8072         * lyx_main.C: minor tidy
8073
8074 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8075
8076         * BufferView_pimpl.h:
8077         * BufferView_pimpl.C:
8078         * BufferView.h:
8079         * BufferView.C: make painter() const,
8080           remove dead code
8081
8082         * BufferView2.C: use screen() accessor
8083
8084         * lyx_main.h:
8085         * lyx_main.C: some minor cleanup
8086
8087 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8088
8089         * BufferView_pimpl.h:
8090         * BufferView_pimpl.C: remove enter/leaveView,
8091           use workHeight()
8092
8093 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * BufferView.h:
8096         * BufferView.C:
8097         * BufferView2.C:
8098         * BufferView_pimpl.h:
8099         * BufferView_pimpl.C: only construct screen once,
8100           rename
8101
8102         * lyxrc.C: remove pointless comment
8103
8104 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8105
8106         * BufferView.h:
8107         * BufferView.C: remove active() and belowMouse()
8108
8109         * BufferView_pimpl.h:
8110         * BufferView_pimpl.C: use workarea() not workarea_,
8111           and make it use a scoped_ptr instead
8112
8113 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8114
8115         * lyx_gui.C: add debug message on BadWindow
8116
8117 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8118
8119         * sp_spell.C: fdopen is not part of the C++ standard.
8120
8121         * paragraph.C (InsetIterator): use >= instead of ==
8122
8123 2002-06-07  Angus Leeming  <leeming@lyx.org>
8124
8125         Fixes needed to compile with Compaq cxx 6.5.
8126         * BufferView_pimpl.C:
8127         * DepTable.C:
8128         * buffer.C:
8129         * converter.C:
8130         * encoding.C:
8131         * lyx_gui.C:
8132         * lyx_main.C:
8133         * lyxtextclasslist.C:
8134         * minibuffer.C:
8135         * sp_spell.C:
8136         * tabular_funcs.C:
8137         * vc-backend.C:
8138         all c-library variables have been moved into namespace std. Wrap
8139         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8140
8141         * lyxlength.C:
8142         * tabular-old.C:
8143         * tabular.C:
8144         Add a using std::abs declaration.
8145
8146         * kbmap.h (modifier_pair):
8147         * paragraph.h (InsetTable, InsetList):
8148         * lyxfont.h (FontBits):
8149         type definition made public.
8150
8151         * bufferlist.C (emergencyWriteAll): the compiler complains that
8152         there is more than one possible lyx::class_fun template to choose from.
8153         I re-named the void specialisation as lyx::void_class_fun.
8154
8155         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8156
8157         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8158         the compiler is is unable to find tostr in write_attribute.
8159
8160 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8161
8162         * buffer.C (sgmlError): hide #warning
8163
8164 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8165
8166         * xtl/*: get rid of xtl, which is not in use anyway
8167
8168         * LyXAction.C (init):
8169         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8170         were unimplemented xtl experimentation
8171
8172 2002-06-04  André Pönitz <poenitz@gmx.net>
8173
8174         * lyxfunc.C: disable array operation on simple formulae
8175
8176 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8177
8178         * converter.C: constify a bit
8179
8180 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * lyx_gui.C: check xforms version correctly
8183
8184 2002-04-30  Herbert Voss  <voss@lyx.org>
8185
8186         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8187         "keep" option
8188
8189 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8190
8191         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8192           attempt to register it with a VCS)
8193
8194 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8195
8196         * lyx_main.C (init): honor variables LYX_DIR_13x and
8197         LYX_USERDIR_13x
8198
8199 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8200
8201         * buffer.h:
8202         * buffer.C:
8203         * lyx_main.C: fix a crash on bad command line,
8204           and give a useful exit status on error
8205
8206         * lyxfunc.C (doImport): allow -i lyx to work
8207
8208 2002-03-30  André Pönitz <poenitz@gmx.net>
8209
8210         * lyxfunc.C: mathed font changes
8211
8212 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8213
8214         * LaTeX.C:
8215         * importer.h:
8216         * importer.C:
8217         * lyx_sty.h:
8218         * lyx_sty.C:
8219         * lyxlex.C:
8220         * lyxrow.h:
8221         * lyxtext.h:
8222         * paragraph.h:
8223         * paragraph.C:
8224         * texrow.h:
8225         * texrow.C:
8226         * text.C:
8227         * trans_mgr.h: srcdocs, and some minor cleanups
8228
8229 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8230
8231         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8232         call getFont all the time)
8233
8234 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8235
8236         * switch from SigC signals to boost::signals
8237
8238 2002-05-29  André Pönitz <poenitz@gmx.net>
8239
8240         * paragraph_pimpl.C (getChar): don't call size() too often...
8241
8242 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8243
8244         * paragraph_pimpl.C (insertChar): do not try to update tables when
8245         appending (pos == size())
8246
8247         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8248         in order to reduce drastically the number of comparisons needed to
8249         parse a large document
8250
8251 2002-05-29  André Pönitz <poenitz@gmx.net>
8252
8253         * text.C:
8254         * text2.C:
8255         * lyxtextclass.C:
8256         * sp_pspell.h:
8257         * textclasslist.[Ch]:
8258         * sp_ispell.h: whitespace change
8259
8260 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8261
8262         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8263         lyxaction directly now.
8264
8265 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8266
8267         * trans.C:
8268         * lyxfont.C:
8269         * lyxvc.C: remove unused headers
8270
8271 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8272
8273         * Makefile.am:
8274         * buffer.h:
8275         * undostack.h:
8276         * undostack.C:
8277         * undo_funcs.h:
8278         * undo_funcs.C: some cleanups. Use shared_ptr
8279           and a template for the undo stacks.
8280
8281 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8282
8283         * BufferView_pimpl.h:
8284         * BufferView_pimpl.C:
8285         * kbmap.h:
8286         * kbmap.C:
8287         * kbsequence.h:
8288         * kbsequence.C:
8289         * lyxfunc.h:
8290         * lyxfunc.C:
8291         * text2.C: use key_state/mouse_state
8292
8293 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8294
8295         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8296         and LSubstring
8297
8298         * chset.C: change include order
8299         (loadFile): use boost regex and get rid of LRegex and LSubstring
8300
8301         * Makefile.am (BOOST_LIBS): new variable
8302         (lyx_LDADD): use it
8303
8304         * LaTeX.C: change include order.
8305         (scanAuxFile): use boost regex and get rid of LRegex and
8306         LSubstring
8307         (deplog): ditto
8308
8309 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8310
8311         * ColorHandler.h:
8312         * ColorHandler.C:
8313         * FontInfo.h:
8314         * FontInfo.C: moved to frontends/xforms/
8315
8316         * FontLoader.h:
8317         * FontLoader.C: moved into frontends for GUIIzation
8318
8319         * Makefile.am:
8320         * lyx_gui.C:
8321         * lyxfont.C:
8322         * lyxfunc.C: changes from above
8323
8324 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8325
8326         * LColor.C: remove spurious X include
8327
8328         * BufferView_pimpl.C:
8329         * Makefile.am:
8330         * font.h:
8331         * font.C:
8332         * text.C:
8333         * text2.C: move font metrics to frontends/
8334
8335 2002-05-24  Juergen Vigna  <jug@sad.it>
8336
8337         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8338         setting the undo_cursor.
8339
8340         * ParagraphParameters.h: include local includes first.
8341
8342 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * BufferView_pimpl.C:
8345         * BufferView_pimpl.h:
8346         * Makefile.am:
8347         * WorkArea.h:
8348         * WorkArea.C:
8349         * screen.C: move WorkArea into frontends/
8350
8351         * lyxscreen.h:
8352         * screen.C:
8353         * text.C:
8354         * BufferView.C:
8355         * BufferView2.C: move LyXScreen into frontends/
8356
8357         * lyxlookup.h:
8358         * lyxlookup.C:
8359         * lyx_gui.C: move lyxlookup into frontends/xforms/
8360
8361 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8362
8363         * BufferView2.C:
8364         * BufferView_pimpl.C:
8365         * FontLoader.C:
8366         * LyXView.h:
8367         * LyXView.C:
8368         * Makefile.am:
8369         * WorkArea.C:
8370         * XFormsView.h:
8371         * XFormsView.C:
8372         * buffer.C:
8373         * bufferlist.C:
8374         * bufferview_funcs.C:
8375         * converter.C:
8376         * importer.C:
8377         * lyx_cb.C:
8378         * lyx_gui.C:
8379         * lyx_main.C:
8380         * lyx_find.C:
8381         * lyxfunc.C:
8382         * lyxvc.C:
8383         * minibuffer.C:
8384         * text.C:
8385         * text2.C:
8386         * trans.C:
8387         * vc-backend.C: move LyX/XFormsView into frontends/
8388
8389 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8390
8391         * Makefile.am:
8392         * PainterBase.C:
8393         * PainterBase.h:
8394         * Painter.C:
8395         * Painter.h:
8396         * WorkArea.C:
8397         * WorkArea.h:
8398         * screen.C:
8399         * tabular.C:
8400         * text.C:
8401         * text2.C: move Painter to frontends/
8402
8403 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8404
8405         * buffer.C: comment out some some code that depend upon lyx_format
8406         < 220
8407
8408         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8409         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8410
8411         * buffer.h (NO_COMPABILITY): turn off compability
8412
8413         * ColorHandler.C: include scoped_array.hpp
8414
8415         * font.C: Use more specific smart_ptr header.
8416         * Painter.C: ditto
8417         * gettext.C: ditto
8418         * ShareContainer.h: ditto
8419         * lyx_main.h: ditto
8420         * kbmap.h: ditto
8421         * FontInfo.h: ditto
8422         * BufferView_pimpl.h: ditto
8423         * ColorHandler.h: ditto
8424
8425         * kbmap.C (defkey): change call to shared_ptr::reset
8426
8427 2002-05-21  Juergen Vigna  <jug@sad.it>
8428
8429         * buffer.C (insertErtContents): fix to insert ert asis if it is
8430         non empty. Skip it completely if it contains only whitespaces.
8431
8432 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * BufferView_pimpl.C:
8435         * BufferView2.C: clear selection on paste (bug 393)
8436
8437 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8438
8439         * DepTable.C: include ctime
8440
8441 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8442
8443         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8444
8445 2002-05-14  Juergen Vigna  <jug@sad.it>
8446
8447         * text.C (breakParagraph): fixed function to honor the keepempty
8448         layout in the right maner and also to permit the right breaking
8449         algorithm on empty or non empyt keepempty paragraphs.
8450
8451         * paragraph.C (breakParagraph): we have to check also if the par
8452         is really empty (!size()) for isempty otherwise we do the wrong
8453         paragraph break.
8454
8455 2002-05-10  Juergen Vigna  <jug@sad.it>
8456
8457         * buffer.[Ch] : The following are only changes to the ert
8458         compatibility read reading old LaTeX layout and font stuff and
8459         convert it to ERTInsets.
8460
8461         * buffer.h: added isErtInset().
8462
8463         * buffer.C (struct ErtComp): add a fromlayout bool to check
8464         if we're inside a LaTeX layout.
8465         (isErtInset): new helper function.
8466         (insertErtContents): look for other ert insets before this one
8467         and insert the contents there, so that we don't have subsequent
8468         ERT insets with nothing between them. This way we create only one
8469         inset with multiple paragraphs. Also check if we don't insert only
8470         spaces ' ' as they are ignored anyway afterwards in the .tex file
8471         so if we have only spaces we will ignore this latex part in the
8472         new file.
8473         (parseSingleLyXformat2Token \\layout): better compatibility when
8474         reading layout-latex stuff.
8475         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8476         language tag.
8477         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8478         stuff after reading the inset only get the information back from
8479         the stack.
8480
8481 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8482
8483         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8484
8485         * LaTeXFeatures.C (getBabelOptions): New method.
8486
8487 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8488
8489         * BufferView_pimpl.C (Dispatch): work around missing argument for
8490         'layout'
8491
8492 2002-05-08  Juergen Vigna  <jug@sad.it>
8493
8494         * text.C (leftMargin): handle paragraph leftindent.
8495
8496         * paragraph.C (writeFile): write the new \\leftindent tag.
8497         (validate): handle leftindent code.
8498         (TeXEnvironment): handle paragraphleftindent code again.
8499
8500         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8501
8502         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8503         for paragrap_extra indent code and new token \\leftindent.
8504         (latexParagraphs): handle the leftindent as environment.
8505
8506         * ParameterStruct.h: added leftindent support.
8507
8508         * ParagraphParameters.C (leftIndent): added support functions for
8509         the paragraph left indent.
8510
8511         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8512         more appropriate.
8513
8514 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8515
8516         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8517         inside insetERT.
8518
8519         * text.C (computeBidiTables): No bidi in insetERT.
8520
8521         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8522         in RTL documents.
8523
8524 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8525
8526         * version.C.in: pre 5
8527
8528 2002-05-02  José Matos  <jamatos@fep.up.pt>
8529         * buffer.C (makeDocBookFile): white space changes, add newline to
8530         command styles.
8531         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8532
8533         * tabular.C (docBook): fix typo.
8534
8535 2002-05-03  Juergen Vigna  <jug@sad.it>
8536
8537         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8538         change in LyXText as we can not be sure it was not freed.
8539         (drawOneRow): remove unused code.
8540
8541         * text.C (drawInset): redo the calculation of the need_break_row as
8542         it could have a row which was already freed.
8543         (draw): look at the return value of drawInset and return false if
8544         it also returned false.
8545         (paintRowText): look at the return value of draw and return false if
8546         it also returned false.
8547
8548         * lyxtext.h: added bool return type to drawInset() and draw() so that
8549         if we have a change in the row so that the rowbreak has to be redone
8550         we abort drawing as it will be called again.
8551
8552 2002-05-02  Juergen Vigna  <jug@sad.it>
8553
8554         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8555         a change in the maintext also if we're inside an inset.
8556         (Dispatch): set the cursor again after a break line and after the
8557         screen has been updated as it could be we're in a different row.
8558
8559         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8560         to set the cursor behind the pargraph with > size().
8561         (setCursor): check also for the same paragraph when checking where
8562         to put the cursor if we have a NFR inset.
8563
8564         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8565         parts of layout read further up as it still was in the wrong
8566         position.
8567
8568 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8569
8570         * screen.C (drawFromTo): change sine fullRebreak always return
8571         true.
8572
8573         * buffer.C (parseSingleLyXformat2Token): reindent some
8574
8575         * BufferView_pimpl.C (update): change since fullRebreak always
8576         return true.
8577         (Dispatch): git rid of the last hardcoded "Standard"s.
8578
8579 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8580
8581         * text2.[Ch] (fullRebreak): make it return void now that we always
8582         returned true.
8583
8584 2002-04-30  Juergen Vigna  <jug@sad.it>
8585
8586         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8587         ert compatibility check for "latex" layout.
8588
8589 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8590
8591         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8592         minipages: use col% instead of p%, and also use the current font.
8593         (makeLaTeXFile): Fix use babel condition.
8594         (parseSingleLyXformat2Token): Correct font when reading old floats.
8595
8596 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8597
8598         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8599         inserting list of floats.
8600
8601 2002-04-25  Herbert Voss  <voss@lyx.org>
8602
8603         * MenuBackend.C (expand): don't add the graphics extensions to the
8604         export menu
8605
8606 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8607
8608         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8609         non-existing layout, do not complain if it was the default layout
8610         of the original class (bug #342)
8611
8612 2002-04-24  Juergen Vigna  <jug@sad.it>
8613
8614         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8615         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8616
8617 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8618
8619         * buffer.C (getBibkeyList): If using \bibliography, return the
8620         option field with the reference itself. Enables us to provide natbib
8621         support when using \bibliography.
8622
8623 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8624
8625         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8626
8627         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8628         natbib is provided by the LaTeX class.
8629
8630 2002-04-23  Juergen Vigna  <jug@sad.it>
8631
8632         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8633         Wakeup functions.
8634
8635         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8636
8637 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8638
8639         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8640
8641         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8642         ensuremath around textordmasculine, textordfeminine and
8643         textdegree.
8644
8645 2002-04-19  Juergen Vigna  <jug@sad.it>
8646
8647         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8648         reinitializing the buffer otherwise row-dimensions may be wrong.
8649         (update): reset also the selection cursors if they do exits otherwise
8650         their x/y positions may be wrong.
8651
8652         * text2.C (cursorDown): don't enter the inset if we came from a row
8653         above and are one row over the inset.
8654
8655         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8656         really leaving an inset.
8657
8658 2002-04-18  Juergen Vigna  <jug@sad.it>
8659
8660         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8661         of the selected paragraph does not have the selected layout also if
8662         the last one had!
8663
8664         * text2.C (setLayout): fixed bug which did not change last selected
8665         paragraph.
8666
8667         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8668         changed the read and substituted \\end_float with \\end_inset!
8669
8670         * BufferView_pimpl.C (cursorPrevious):
8671         (cursorNext): fixed to make it work with rows heigher than the work
8672         area without moving the cursor only the draw of the row.
8673         (workAreaMotionNotify): fix jumping over high rows.
8674
8675 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8676
8677         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8678         Ressler.
8679
8680 2002-04-16  Juergen Vigna  <jug@sad.it>
8681
8682         * text2.C (setCursor): set also the irow().
8683         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8684         (cursorUp):
8685         (cursorDown): support for locking an inset if the x_fix value goes
8686         inside it. That way I can transverse insets too with cursor up/down.
8687
8688         * lyxrow.h: added irow helper function same as other (i) functions.
8689
8690         * BufferView_pimpl.C (cursorPrevious):
8691         (cursorNext): fixed for insets!
8692
8693 2002-04-15  Juergen Vigna  <jug@sad.it>
8694
8695         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8696         position otherwise it is wrong in some cases.
8697
8698         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8699         inside the inset before the call.
8700
8701 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8702
8703         * buffer.[Ch] (getBibkeyList): make it const.
8704
8705 2002-04-12  Juergen Vigna  <jug@sad.it>
8706
8707         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8708
8709         * text2.C (getCursorX): new helper function
8710         (setCursor): compute also ix_
8711         (setCursorFromCoordinates): set also ix.
8712
8713         * lyxcursor.h: added ix_ and helper functions.
8714
8715         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8716
8717         * buffer.C (insertStringAsLines): dont break paragraph if the this
8718         paragraph is inside an inset which does not permit it!
8719
8720         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8721         also with no chars on this paragraph.
8722         (paintRowText): only paint stuff if it's inside the workarea!
8723
8724         * paragraph.C (breakParagraph): honor keepempty flag and break the
8725         paragraph always below not above.
8726
8727         * BufferView2.C (unlockInset): update the paragraph layout on inset
8728         unlock as we changed paragraph in such a case.
8729
8730         * lyxfind.C (LyXFind): clear the former selection if not found!
8731
8732         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8733         again called in insertChar().
8734
8735         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8736         an inset which uses the whole row!
8737         (rightMargin): ditto.
8738         (insertChar): force a rebreak if we inserted an inset!
8739
8740 2002-03-28  Herbert Voss  <voss@lyx.org>
8741
8742         * lyxlength.[Ch]: add inBP() to get the right PS-point
8743         units (BigPoint). With inPixels we have rounding errors
8744
8745 2002-04-11  Juergen Vigna  <jug@sad.it>
8746
8747         * text2.C (setCursorFromCoordinates): set iy to the right value.
8748         (setCursor): add check if row->previous exists!
8749
8750         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8751         an old float_type as this was the case in the old code!
8752
8753         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8754
8755         * BufferView2.C (showLockedInsetCursor): use iy
8756         (fitLockedInsetCursor): ditto
8757
8758         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8759         locked insets as there we have the right value now.
8760
8761         * lyxcursor.C: added iy_ variable and iy functions to set to the
8762         baseline of cursor-y of the locked inset.
8763
8764         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8765         (setCursor): fixed for insets which need a full row.
8766
8767         * text.C (rowLastPrintable): don't ignore the last space when before
8768         an inset which needs a full row.
8769         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8770         as last character of a row when before a inset which needs a full row.
8771
8772 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8773
8774         * version.C.in: update date
8775
8776         * text2.C (fullRebreak): try to always return true and see what
8777         happens...
8778
8779 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8780
8781         * MenuBackend.C (expand): use Floating::listName
8782
8783         * FloatList.C (FloatList): add listName argument to the built-in
8784         floats
8785
8786         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8787         text associated with the float.
8788
8789 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8792
8793 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8794
8795         * ShareContainer.h: add a couple of missing typenames.
8796
8797 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8798
8799         * lyxrc.C (getDescription): use _() correctly rather than N_().
8800
8801 2002-03-28  Herbert Voss  <voss@lyx.org>
8802
8803         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8804         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8805
8806 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8807
8808         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8809         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8810
8811 2002-03-29  Juergen Vigna  <jug@sad.it>
8812
8813         * lyxfunc.C (dispatch): add a missing fitCursor call.
8814
8815         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8816         it was scrolled by a cursor move, so return the bool status.
8817
8818         * BufferView.C (fitCursor): return the bool flag also to the outside
8819         world as this is needed.
8820
8821         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8822
8823         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8824         call the edit() as it is not needed (and wrong) IMO.
8825         (workAreaButtonPress): set the screen_first variable before evt.
8826         unlock the inset as this may change screen_first and then we have
8827         a wrong y position for the click!
8828
8829 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8830
8831         * MenuBackend.C (expand): another translation that I missed
8832
8833 2002-03-28  Juergen Vigna  <jug@sad.it>
8834
8835         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8836
8837         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8838
8839 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8840
8841         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8842
8843         * MenuBackend.C (expand): fix export/view/update when there is no
8844         document open.
8845
8846 2002-03-27  Herbert Voss  <voss@lyx.org>
8847
8848         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8849         and text%
8850
8851 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8852
8853         * bufferview_funcs.C (currentState): only show paragraph number
8854         for is DEVEL_VERSION is set.
8855
8856         * lyxfunc.C (dispatch): put warning in INFO channel
8857
8858         * MenuBackend.C (expand): translate the name of floats
8859
8860         * FloatList.C (FloatList): mark the float names for translation
8861
8862         * converter.C (convert): use LibScriptSearch
8863
8864 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * MenuBackend.C (defaults): fix default menu (we might as well get
8867         rid of it...)
8868
8869 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8870
8871         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8872         directory.
8873
8874 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8875
8876         * lyxvc.C: reorder includes.
8877
8878 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8881           properly
8882
8883 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8884
8885         * CutAndPaste.C: change layouts earlier on paste
8886           to avoid crashing when calling getFont()
8887
8888 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8889
8890         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8891         irritating #error.
8892
8893 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8894
8895         * WorkArea.C: remove 'Pending' debug message.
8896
8897         * most files: ws cleanup
8898
8899         * buffer.[Ch]: ws changes
8900
8901         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8902
8903 2002-03-21  Juergen Vigna  <jug@sad.it>
8904
8905         * tabular.C (SetMultiColumn): collapse also the contents of the
8906         cells and set the last border right. Added a Buffer const * param.
8907
8908 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8909
8910         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8911         linking or not.
8912
8913 2002-03-19  Juergen Vigna  <jug@sad.it>
8914
8915         * text2.C (clearSelection): reset also xsel_cache.
8916
8917         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8918         where it needs to be called (John tells us to do so too :)
8919         (selectionLost): reset sel_cache.
8920
8921         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8922
8923 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8924
8925         * text2.C (setCursorIntern): put debuging code in INSETS channel
8926
8927 2002-03-19  André Pönitz <poenitz@gmx.net>
8928
8929         * lyxfunc.C: tiny whitespace change
8930
8931 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8932
8933         * ToolbarDefaults.C (init):
8934         * LyXAction.C (init):
8935         * commandtags.h:
8936         * BufferView_pimpl.C (Dispatch):
8937         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8938
8939 2002-03-19  Allan Rae  <rae@lyx.org>
8940
8941         * exporter.C (Export): removeAutoInsets before doing anything else.
8942         While I've just introduced a dependency on BufferView this really is
8943         the best place to clean the buffer otherwise you need to cleanup in
8944         a dozen places before calling export or cleanup in a dozen functions
8945         that export calls.
8946
8947         * converter.C (runLaTeX):
8948         (scanLog): Better handling of removeAutoInsets and screen updates.
8949
8950         * lyxfunc.C (dispatch): small whitespace changes
8951
8952 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8953
8954         * WorkArea.C (C_WorkAreaEvent): return a value.
8955         (event_cb): return 1 if we handled the event, 0 otherwise.
8956
8957         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8958
8959 2002-03-18  Juergen Vigna  <jug@sad.it>
8960
8961         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8962         (GetAdditionalWidth): ditto.
8963         (RightLine): ditto.
8964         (LeftLine): ditto.
8965
8966         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8967         inset if we're there actually (probably not used right now but this
8968         is the direction to go for unifying code).
8969         (paste): disable code to clear the selection.
8970
8971         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8972         inside an InsetText and move the check further up as it is in the
8973         wrong place.
8974
8975         * text2.C (pasteSelection): set a selection over the pasted text.
8976
8977 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8978
8979         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8980         and libgraphics to build on Cygwin.
8981
8982 2002-03-15  Juergen Vigna  <jug@sad.it>
8983
8984         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8985         inserting an Inset into the paragraph. I know this is not the best
8986         fix but we already use current_view in CutAndPaste so we will remove
8987         all of it's using at the same time.
8988
8989         * buffer.C (sgmlError): deactivated function till it is rewritten in
8990         the right mode, now it can create problems.
8991
8992         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8993         before accessing it.
8994
8995 2002-03-14  Juergen Vigna  <jug@sad.it>
8996
8997         * undo_funcs.C (textHandleUndo): do the right thing when updating
8998         the inset after the undo/redo.
8999
9000         * text2.C (setCursor): just some testcode for #44 not ready yet.
9001
9002         * undo_funcs.C (textHandleUndo): set the next() and previous()
9003         pointers of the paragraph to 0 before deleting otherwise we have
9004         problems with the Paragraph::[destructor].
9005
9006         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9007         on a paragraph insertion.
9008
9009 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9010
9011         * buffer.C (asciiParagraph): use += operator for char append to
9012         string.
9013
9014         * paragraph.C (getFontSettings): compare >= not just >
9015         (highestFontInRange): ditto
9016         (setFont): ditto
9017
9018 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9019
9020         * paragraph.C: change several algorithm to be more appripriate for
9021         the problem domain. This is lookip in FontList and in the InsetList.
9022
9023 2002-03-13  André Pönitz <poenitz@gmx.net>
9024
9025         * commandtags.h:
9026         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9027
9028 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9029
9030         * commandtags.h:
9031         * LyXAction.C:
9032         * lyxfunc.C:
9033         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9034
9035 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9036
9037         * Painter.C (display): anon helper function, adjust code for this
9038         change.
9039         (pixmap): remove function.
9040
9041         * Painter.h: remove private display variable.
9042
9043         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9044
9045 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9046
9047         * WorkArea.[Ch]: remove figinset_canvas cruft.
9048
9049 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9050
9051         * lyxtextclass.C (operator): add one item cache optimization.
9052
9053         * bufferlist.h: doxy changes
9054
9055         * bufferlist.C: ws changes
9056
9057         * DepTable.[Ch] (ext_exist): place const in the right spot.
9058
9059         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9060         call resizeInsets.
9061         (workAreaExpose): call resizeInsets when the with BufferView changes.
9062         (Dispatch): adjust for protectedBlank removal
9063         (specialChar): call updateInset if the insert went ok.
9064
9065         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9066         specialChar instead.
9067
9068         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9069
9070         * BufferView.h: doxy change
9071
9072         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9073
9074         * lyxtextclass.C (operator[]): remove non-const version
9075         (defaultLayout): remove non-const version
9076
9077 2002-03-12  Juergen Vigna  <jug@sad.it>
9078
9079         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9080         did resize the LyXText too.
9081
9082         * buffer.C (readLyXformat2): set layout information on newly allocated
9083         paragraphs.
9084
9085         * tabular.C (OldFormatRead): set layout information on the paragraph.
9086
9087 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9088
9089         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9090
9091 2002-03-11  Juergen Vigna  <jug@sad.it>
9092
9093         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9094         plainly wrong.
9095         (resizeCurrentBuffer): force also the insets to resize themselfes.
9096         (moveCursorUpdate): fixed up for InsetText.
9097
9098 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9099
9100         * commandtags.h:
9101         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9102         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9103         value of Dialogs::tooltipsEnabled().
9104         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9105
9106 2002-03-08  Juergen Vigna  <jug@sad.it>
9107
9108         * BufferView_pimpl.C (updateInset): update inset inside inset also
9109         if it isn't inside theLockingInset().
9110
9111 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9112
9113         * buffer.C (asciiParagraph): redo some of the word and line length
9114         handling.
9115         (getLists): look for Caption instead of caption.
9116
9117 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9118
9119         * buffer.C (Buffer): initialize niceFile to true
9120         (makeLaTeXFile):
9121         (makeLinuxDocFile):
9122         (makeDocBookFile): make sure niceFile is true on exit
9123
9124 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9127
9128 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9129
9130         * LyXSendto.C: remove.
9131         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9132         * lyx_gui.C: remove now-redundant comment.
9133         * ColorHandler.h: remove forward declaration of class WorkArea.
9134         * lyxfunc.C: remove #include "WorkArea.h".
9135
9136 2002-03-07  Juergen Vigna  <jug@sad.it>
9137
9138         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9139         got moved away with the DEPM and also set the inset_owner always
9140         right which before could have been omitted.
9141
9142 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9143
9144         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9145         wanted layout is not found.
9146
9147 2002-03-07  Juergen Vigna  <jug@sad.it>
9148
9149         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9150
9151 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9152
9153         * paragraph.C (breakParagraph): use default layout not layout of
9154         prev paragraph.
9155         (Paragraph): clear ParagraphParameters.
9156
9157 2002-03-06  Juergen Vigna  <jug@sad.it>
9158
9159         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9160         otherwise it would not be a valid lenght. Fixed a special case in
9161         the minipage compatibility read where we end the document with a
9162         minipage.
9163
9164         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9165         was set as it could be 0 for InsetTexts first entry.
9166
9167 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9168
9169         * paragraph.C (writeFile): if layout is empty write out
9170         defaultLayoutName().
9171
9172         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9173         file without named layout we set layout to defaultLayoutName().
9174
9175 2002-03-06  Juergen Vigna  <jug@sad.it>
9176
9177         * CutAndPaste.C (copySelection): set layout for new paragraph.
9178
9179         * text.C (prepareToPrint): leave ERT inset left aligned
9180         (leftMargin): don't indent paragraphs inside ERT insets
9181
9182 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9183
9184         * paragraph.C (breakParagraph): dont call clear do the work manually
9185
9186         * paragraph.[Ch] (clear): remove function
9187
9188 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9189
9190         * paragraph.C (Paragraph): dont call clear, the work has already
9191         been done.
9192
9193         * lyxtextclass.C (operator): assert if n is empty
9194
9195         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9196         work manually instead.
9197
9198 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9199
9200         * BufferView_pimpl.C: protect selectionLost against text == 0
9201
9202 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9203
9204         * text.C (breakParagraph): fix a setting layout to '0' problem.
9205
9206 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9207
9208         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9209         final location of file, for the included files, and graphics.
9210
9211 2002-03-05  Juergen Vigna  <jug@sad.it>
9212
9213         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9214
9215 2002-03-04  Juergen Vigna  <jug@sad.it>
9216
9217         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9218
9219         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9220         last column of multicolumn cells.
9221         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9222
9223 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9224
9225         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9226         file if it doesn't go to a temporary file.
9227
9228         * buffer.C (sgmlOpenTag):
9229         (sgmlCloseTag):  remove extra newline insertion.
9230
9231 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9232
9233         * text.C (getRowNearY): comment out debug msg
9234
9235 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9236
9237         * text2.C: first -> first_y
9238
9239         * text.C (getRowNearY): add some attemts at a possible
9240         optimization, not working.
9241
9242         * tabular.[Ch]: add BufferParams to several function so that newly
9243         created paragraph can be initialized to he default layotu for the
9244         buffers textclass.
9245
9246         * tabular-old.C (ReadOld): add buf->params to call of Init
9247
9248         * screen.C: rename text->first to text->first_y
9249
9250         * paragraph.C (breakParagraph): always set layout in the broken
9251         paragraph
9252
9253         * lyxtextclass.C (Read): remove lowercase
9254         (hasLayout): ditto
9255         (operator): ditto
9256         (delete_layout): ditto
9257
9258         * lyxtext.h: rename first -> first_y
9259
9260         * lyxlayout.C (Read): remove lowercase
9261         (name): ditto
9262         (setName): ditto
9263         (obsoleted_by): ditto
9264
9265         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9266
9267         * buffer.C (insertErtContents): add params are to InsetERT
9268         (parseSingleLyXformat2Token): add code to check if a paragraphs
9269         layout really exist.
9270         (parseSingleLyXformat2Token): add params to several inset
9271         constructors
9272         (asciiParagraph): remove lowercase, do the layout comparisons with
9273         no_case
9274
9275         * BufferView_pimpl.C (cursorNext): first -> first_y
9276         (resizeCurrentBuffer): first -> first_y
9277         (updateScrollbar): first -> first_y
9278         (scrollCB): first -> first_y
9279         (workAreaMotionNotify): first -> first_y
9280         (workAreaButtonPress): first -> first_y
9281         (checkInsetHit): first -> first_y
9282         (cursorPrevious): first -> first_y
9283         (cursorNext): first -> first_y
9284         (Dispatch): add buffer_->params to severl inset contructors
9285
9286 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9287
9288         * lyxlayout.C (Read): remove some debug info that I forgot.
9289
9290         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9291         clean up the code slightly.
9292         (makeLinuxDocFile): ditto
9293         (makeDocBookFile): ditto
9294
9295         * text2.C: layout as string
9296
9297         * text.C: layout as string
9298
9299         * paragraph_pimpl.C: layout as string
9300
9301         * paragraph.[Ch]: layout as string
9302
9303         * lyxtextclasslist.[Ch]: layout as string
9304
9305         * lyxtextclass.[Ch]: layout as string
9306
9307         * lyxtext.h: layout as string
9308
9309         * lyxlayout.[Ch]: layout as string
9310
9311         * lyx_cb.C: layout as string
9312
9313         * bufferview_funcs.C: layout as string
9314
9315         * bufferparams.C: layout as string
9316
9317         * buffer.C: layout as string
9318
9319         * LyXView.[Ch]: layout as string
9320
9321         * LaTeXFeatures.[Ch]: layout as string
9322
9323         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9324
9325         * BufferView_pimpl.C: change current_layout to string, remove
9326         lyx::layout_type.
9327         (Dispatch):
9328         (smartQuote):
9329         (insertInset):
9330         (workAreaButtonRelease): layout as string
9331
9332         * BufferView2.C (unlockInset): adjust
9333
9334         * vspace.C (asLatexCommand): use an explict temp variable.
9335
9336 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * Makefile.am: use FRONTEND_*
9339
9340 2002-03-01  Juergen Vigna  <jug@sad.it>
9341
9342         * tabular.C (SetWidthOfMulticolCell): changed to something better
9343         I hope but still work in progress.
9344         (recalculateMulticolumnsOfColumn): renamed function from
9345         recalculateMulticolCells as it is more appropriate now.
9346         (SetWidthOfCell): calculate multicols better.
9347
9348 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9351
9352         * lyxfunc.C (processKeySym): print sequence also if it is
9353         `deleted' (complete)
9354
9355         * kbsequence.C (print): print sequence even if it is deleted
9356         (complete would be a better word, actually).
9357
9358         * lyxfunc.C (dispatch): print complete options after a prefix key
9359
9360         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9361
9362 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9363
9364         * text2.C (setCharFont): eliminate setCharFont code duplication.
9365
9366 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9367
9368         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9369         LFUN_TABULAR_FEATURE (bug #177)
9370
9371 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9372
9373         * Makefile.am: remove figure.h
9374
9375 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9376
9377         * Bufferview_pimpl.C:
9378         * CutAndPasteC:
9379         * LaTeX.C:
9380         * LyXSendto.C:
9381         * buffer.C:
9382         * bufferlist.C:
9383         * converter.C:
9384         * language.C:
9385         * lyxfunc.C:
9386         * lyxvc.C:
9387         * paragraph.C:
9388         * text.C:
9389         * text2.C: remove #include "lyx_gui_misc.h".
9390
9391         * LaTeX.C: added #include <cstdio>
9392
9393 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9394
9395         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9396         that the paragraph following this one can have.
9397
9398         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9399
9400         * vspace.C (asLatexCommand): fix bogus gcc warning
9401
9402         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9403
9404 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9405
9406         * text2.C (setLayout): get rid of redundant code
9407
9408 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9409
9410         * text2.C (incDepth): make sure depth cannot be increased beyond
9411         reasonable values.
9412
9413 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9414
9415         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9416         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9417
9418         * PainterBase.h (image):
9419         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9420         a LyXImage const *.
9421
9422 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9423
9424         * BufferView.C:
9425         * BufferView.h:
9426         * BufferView_pimpl.C:
9427         * BufferView_pimpl.h:
9428         * LaTeXFeatures.C:
9429         * LyXAction.C:
9430         * LyXView.C:
9431         * Makefile.am:
9432         * UpdateList.h:
9433         * UpdateList.C:
9434         * buffer.C:
9435         * figure.h:
9436         * figureForm.C:
9437         * figureForm.h:
9438         * figure_form.C:
9439         * figure_form.h:
9440         * lyx_cb.C:
9441         * lyx_gui.C:
9442         * lyx_gui_misc.C:
9443         * lyxfunc.C:
9444         * sp_base.h:
9445         * sp_ispell.h:
9446         * sp_pspell.h:
9447         * sp_spell.C: remove fig inset, and the crap house of
9448           cards that follows it
9449
9450 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * Makefile.am:
9453         * lyxserver.C:
9454         * os2_defines.h:
9455         * os2_errortable.h:
9456         * nt_defines.h: move .h into support/
9457
9458         * vms_defines.h: remove
9459
9460         * WorkArea.C: add space in debug output
9461
9462         * text2.C:
9463         * paragraph.C:
9464         * buffer.C: add WITH_WARNINGS
9465
9466         * vc-backend.h:
9467         * vc-backend.C:
9468         * bufferlist.C: s/retrive/retrieve/, add docs
9469
9470         * vspace.h:
9471         * vspace.C:
9472         * kbmap.h:
9473         * lyxlength.h:
9474         * lyxgluelength.h:
9475         * length_common.h:
9476         * chset.h:
9477         * chset.C: add docs
9478
9479         * lyxgui.C: add ID to X error handler
9480
9481         * lyxtestclass.c: fix typo
9482
9483 2002-02-26  Juergen Vigna  <jug@sad.it>
9484
9485         * tabular_funcs.C (write_attribute): changed so that some default
9486         attributes are not written at all.
9487         (getTokenValue): set default values before trying to read the
9488         value so we have the return value always set as default if we don't
9489         find the token we search for.
9490
9491         * tabular.C (Write): write bools as bools not as strings!
9492
9493 2002-02-22  Juergen Vigna  <jug@sad.it>
9494
9495         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9496         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9497
9498         * text.C (leftMargin): don't add an indent for paragraphs inside
9499         tabular cells (fix #208).
9500
9501 2002-02-21  José Matos  <jamatos@fep.up.pt>
9502
9503         * tabular.C (docBook): fixed support for long tables.
9504
9505 2002-02-20  Juergen Vigna  <jug@sad.it>
9506
9507         * text2.C (getFont): get the drawing font of the Inset if this
9508         paragraph is inside an inset (only important for InsetERT for now).
9509
9510         * buffer.C (insertErtContents): use new lanugage params in ERT
9511         constructor.
9512
9513         * CutAndPaste.C: commenting out seemingly uneeded code.
9514
9515 2002-02-19  Allan Rae  <rae@lyx.org>
9516
9517         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9518         Iterators might be simple to use but they also get invalidated.
9519         (removeAutoInsets): renamed saved cursor tracking variables and added
9520         some comments to clarify what everything does.
9521
9522 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9523
9524         * Chktex.C:
9525         * LaTeX.C:
9526         * LyXSendto.C:
9527         * converter.C:
9528         * lyx_cb.C:
9529         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9530         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9531
9532         * lyxfunc.C:
9533         * vc-backend.h: remove #include "support/syscall.h"
9534
9535         * LaTeX.C:
9536         * LyXSendto.C:
9537         * converter.C: rearrange #includes in Lars' approved fashion.
9538
9539         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9540         forward declare class Timeout in the header file.
9541
9542         * XFormsView.C: changes due to the above.
9543
9544         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9545         similar to LyXView.
9546
9547         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9548         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9549
9550 2002-02-18  José Matos  <jamatos@fep.up.pt>
9551
9552         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9553         insets contents.
9554
9555 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9556
9557         * a lot of small ws changes
9558         * add a lot of using std::XXX
9559         * use std construcs some places where approp.
9560         * use some exisint stuff from lyxfunctional where approp.
9561         * Make file changes to use partial linking (lets test this now...)
9562
9563 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9564
9565         * Chktex.C:
9566         * buffer.C:
9567         remove #include "support/syscontr.h" as it's redundant. Always has been.
9568
9569         * Chktex.C:
9570         * LaTeX.C:
9571         * LyXSendto.C:
9572         * converter.C:
9573         * lyx_cb.C:
9574         * vc-backend.C:
9575         change Systemcalls::System to Systemcalls::Wait and
9576         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9577         No change of functionality, just reflects the stripped down Systemcalls
9578         class.
9579
9580 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9581
9582         * debug.[Ch]: add a GRAPHICS type to the enum.
9583
9584 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9585
9586         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9587
9588         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9589         there is an inset.
9590
9591 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9592
9593         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9594         match the changes below.
9595
9596         * text2.C (toggleInset): if there is not editable inset at cursor
9597         position, try to see if cursor is _inside_ a collapsable inset
9598         and close it.
9599
9600 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9603         document menu has a nice checkbox
9604
9605 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * lyxlength.C (asLatexString): change PW to output as percent of
9608         \textwidth.
9609
9610         * lengthcommon.C: change '%' to 't%'
9611
9612         * lyxfunc.C (dispatch): a few comments from Martin
9613
9614 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * WorkArea.h:
9617         * WorkArea.C:
9618         * BufferView_pimpl.h:
9619         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9620           the X selection.
9621
9622 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * vspace.C (inPixels): fix compiler warning
9625
9626 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * lyxfunc.C (getStatus): fix status message for disabled commands.
9629
9630 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9631
9632         * BufferView_pimpl.C: fix crash on close buffer
9633         during selection (#227)
9634
9635 2002-01-27  Herbert Voss  <voss@lyx.org>
9636
9637         * buffer.C: link old Figure to new graphic inset
9638
9639 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9640
9641         * FontLoader.C (getFontinfo): Change the latex font names in order
9642         to match the names of type1inst.
9643
9644 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9645
9646         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9647
9648         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9649         (extchanged): ditto
9650         (ext_exist): ditto
9651         (remove_files_with_extension): ditto
9652         (remove_file): ditto
9653         (write): ditto
9654
9655         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9656         document is smaller than the work area height. Do not initialize
9657         static variables to 0.
9658
9659 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9662
9663         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9664         LFUN_LAYOUT_PARAGRAPHS.
9665
9666         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9667         tabular. It is possible to provide a possible cell, which will
9668         typically be the actcell from the corresponding insettabular
9669
9670         * lyxfunc.C (getStatus): small cleanup; disable
9671         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9672         true
9673
9674 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9675
9676         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9677
9678         * paragraph.C (startTeXParParams):
9679         (endTeXParParams): new methods. The LaTeX code to
9680         start/end paragraph formatting
9681         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9682         empty (fixes bug #200)
9683
9684         * vspace.C (inPixels): adapt to the change below
9685         (inPixels): [later] more cleanups (remove unused variables)
9686
9687         * lyxlength.C (inPixels): change to use a width and a height as
9688         parameter.
9689
9690 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9693         Replaced with \paperwidth
9694
9695         * DepTable.C (insert): add std:: qualifier
9696
9697 2002-01-18  Allan Rae  <rae@lyx.org>
9698
9699         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9700         updated also?
9701
9702         * text.C (drawInset): Turned out I didn't know enough about how
9703         rebreaking worked.  This fixes most of the redraw problems.  I see
9704         an occasional cursor trail when a line is broken now and the cursor
9705         placement can seem out by a few pixels also after a rebreak.
9706
9707 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9708
9709         * buffer.C (parseSingleLyXformat2Token): update because minipage
9710         width is now a LyXLength
9711
9712         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9713
9714         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9715         math insets
9716
9717 2002-01-17  Juergen Vigna  <jug@sad.it>
9718
9719         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9720
9721         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9722         is set correctly and the inset is updated correctly.
9723
9724 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9725
9726         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9727         the beginning of the loop.
9728
9729 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * lyxrc.C: improve help for use_scalable_fonts
9732
9733 2002-01-17  Allan Rae  <rae@lyx.org>
9734
9735         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9736
9737 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9740         make sure to set their inset_owner to the right value (bug #171)
9741
9742 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9743
9744         * DepTable.h
9745         * DepTable.C: Implement mtime checking to reduce time spent doing
9746         CRCs.
9747
9748 2002-01-16  Juergen Vigna  <jug@sad.it>
9749
9750         * tabular.C (GetAdditionalHeight): one of error fixed.
9751
9752         * lyxrc.C (output): small fix in writing use_pspell.
9753
9754 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9755
9756         * sp_base.h: #include LString.h
9757
9758 2002-01-16  Allan Rae  <rae@lyx.org>
9759
9760         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9761         Can someone check this please?
9762
9763         * text.C (drawInset): It was possible that p.row would be removed by
9764         breakAgainOneRow upsetting a few other settings.  There may be another
9765         small tweak possible by setting need_break_row = 0 when p.row has been
9766         removed but I don't know enough about the logic here.
9767
9768 2002-01-15  Allan Rae  <rae@lyx.org>
9769
9770         * text.C (insertChar): removed conditional truism.
9771
9772         * BufferView2.C (removeAutoInsets): More tweaks.
9773         cur_par_prev could be a stray pointer.  Check for trailing empty line
9774         in case last line was cur_par and only had an error inset on it.
9775
9776 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9779         absolute
9780
9781         * vc-backend.C (most methods):
9782         * exporter.C (Export):
9783         * converter.C (convert):
9784         (runLaTeX):
9785         * LyXSendto.C (SendtoApplyCB):
9786         * lyxfunc.C (dispatch):
9787         (menuNew):
9788         (open):
9789         (doImport):
9790         * lyx_cb.C (AutoSave):
9791         (InsertAsciiFile):
9792         * BufferView_pimpl.C (MenuInsertLyXFile):
9793         * buffer.C (runChktex): use Buffer::filePath().
9794
9795         * buffer.h: rename filename to filename_; rename filepath to
9796         filepath_ and make it private
9797         (filePath): new method
9798
9799         * buffer.C (writeFile): use fileName()
9800         (getLatexName):
9801
9802         * lyx_main.C (init): fix starting  of LyX when the binary is a
9803         link from so,ewhere else.
9804
9805         * minibuffer.C: include <cctype> for isprint
9806
9807 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9808
9809         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9810         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9811         name clash with InsetCollapsable's width function.
9812
9813 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9814
9815         * lastfiles.C: include <iterator>
9816
9817 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9818
9819         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9820         std::count.
9821
9822         * buffer.C (makeLaTeXFile): ditto.
9823         Also make loop operation more transparent.
9824
9825 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9826
9827         * ToolbarDefaults.C: remove trailing comma closing namespace.
9828
9829         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9830
9831         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9832         as in WorkArea.
9833
9834         * trans.C (Load): comment out unused variable, allowed.
9835
9836 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9837
9838         * minibuffer.[Ch] (append_char): new method to recieve input from the
9839         drop-down completion browser. If a key was pressed, then recieve this
9840         char and append it to the existing string.
9841         (peek_event): modify the positioning data passed to the completion
9842         browser so that it can be placed above the minibuffer rather than below.
9843 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9844
9845         * LyXAction.C (init): alloe error-next for readonly documents.
9846
9847         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9848         count.
9849
9850 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * bufferlist.C (readFile): create the buffer _after_ checking that
9853         the file exists.
9854
9855         * lyxfunc.C (verboseDispatch): fix handling of arguments
9856
9857         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9858
9859         * lyxrc.C: use string::erase() instead of initializing to "".
9860
9861
9862 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * BufferView_pimpl.h:
9865         * BufferView_pimpl.C:
9866         * WorkArea.h:
9867         * WorkArea.C:
9868         * text2.C: tell X when we have made a selection for copying
9869
9870 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9871
9872         * BufferView_pimpl.C (MenuInsertLyXFile):
9873         * lyxfunc.C (menuNew):
9874         (open):
9875         (doImport): add shortcuts to directory buttons
9876
9877         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9878         open a float)
9879
9880         * lyxfunc.C (setStatusMessage):
9881         (getStatusMessage): new methods
9882         (getStatus):use setStatusMessage instead of setErrorMessage
9883         (dispatch): when function is disabled, set error message here
9884         [instead of in getStatus previously]
9885
9886         * BufferView_pimpl.C (workAreaButtonRelease): update
9887         toolbar/menubar here too.
9888
9889 2002-01-13  Allan Rae  <rae@lyx.org>
9890
9891         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9892         Now seems indestructible.  Remaining task is to audit all other
9893         code affected by deleteEmptyParagraphMechanism.  One small quirk
9894         left is that an empty document with an error in the preamble can
9895         be made to report an error but no error box appears.  I don't know
9896         where it goes.
9897         (removeAutoInsets): Improved comments.
9898
9899 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * Thesaurus.h:
9902         * Thesaurus.C: update for Aiksaurus 0.14
9903
9904 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9905
9906         * text2.C (firstParagraph): removed member function, all uses
9907         replaces with ownerParagraph
9908         (redoParagraphs): here
9909         (updateInset): here
9910         (toggleAppendix): here
9911         * BufferView2.C (insertErrors): here
9912         (setCursorFromRow): here
9913
9914 2002-01-13  Allan Rae  <rae@lyx.org>
9915
9916         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9917         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9918         There is still a way to segfault this although you may have to do this
9919         multiple times: Have an InsetERT with an unknown command in it.
9920         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9921         <down-arrow>, <Enter> again, View->DVI, BANG!
9922
9923         * text2.C (setCursor):
9924         (deleteEmptyParagraphMechanism):
9925         * lyxtext.h (setCursor):
9926         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9927         Making use of the return value may help fix other bugs.
9928
9929 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9932
9933         * LyXView.C (updateMenubar): call MenuBar::update here
9934         (updateToolbar): but not here
9935         (showState): do not update toolbar/menubar
9936
9937         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9938         should need to care about that.
9939
9940         * lyxfunc.C (verboseDispatch): simplify a bit
9941         (getStatus): have a version which takes a pseudoaction, and
9942         another which requires a (kb_action,string).
9943
9944         * LyXAction.C (retrieveActionArg): make it work also when action
9945         is not a pseudo-action.
9946         (getActionName): simplify a bit
9947         (helpText):
9948
9949 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9950
9951         * lyxfunc.C (verboseDispatch): new families of methods with
9952         several ways to specify a command and a bool to indicate whether
9953         the command name and shortcut should be displayed in minibuffer
9954         (eventually, we could extend that to a finer bitmask like
9955         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9956         (dispatch): the pristine dispatch command which just, well,
9957         dispatchs! Note it still sets its result to minibuffer; I'm not
9958         sure we want that.
9959
9960         * lyxfunc.h: remove setHintMessage
9961
9962         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9963
9964 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9965
9966         * BufferView_pimpl.C (specialChar): delete new inset if we have
9967         not been able to insert it.
9968
9969         * kbmap.C: revert to using int instead of kb_action, since all we
9970         are dealing with is pseudo-actions.
9971
9972         * LyXAction.C (searchActionArg): change to return int instead of
9973         kb_action, since the result is a pseudoaction.
9974
9975 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9976
9977         * buffer.C (insertErtContents): Fix (partially) the font bug.
9978
9979 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9980
9981         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9982         as the other one is broken on my machine!
9983
9984 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9985
9986         * commandtags.h:
9987         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9988
9989 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9990
9991         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9992         reflect their actual use. Provide compatibility code for older lyxrc
9993         files.
9994
9995         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9996         FL_NORMAL_STYLE.
9997         change names of popup font variables in line with the changes to lyxrc.C
9998
9999 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10000
10001         * buffer.C (asciiParagraph): avoid outputing a word twice after
10002         an inset.
10003
10004         * lyxrc.C (getDescription): document that document_path and
10005         template_path can be empty.
10006
10007 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10008
10009         * LaTeXFeatures.C (getMacros):
10010         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10011
10012         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10013
10014         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10015         getPackages.
10016         (getPackages): rename feature "floats" to "float". Use an array to
10017         iterate over 'simple' features (i.e. just a \usepackage). Add
10018         handling of "amsmath" (renamed from "amsstyle").
10019
10020 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10021
10022         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10023         features list.
10024
10025 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10026
10027         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10028         FuncStaus::FuncStatus & FuncStaus::some_method().
10029
10030 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10031
10032         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10033         of the func_satus stuff. Edited and massaged in various ways by
10034         JMarc.
10035
10036         * lyxfunc.C (getStatus): use FuncStatus
10037
10038 2002-01-08  Juergen Vigna  <jug@sad.it>
10039
10040         * text.C (nextBreakPoint): use function Inset::isChar().
10041
10042         * paragraph.C (TeXOnePar): use function
10043         Inset::forceDefaultParagraphs.
10044
10045         * buffer.C (latexParagraphs): use function
10046         Inset::forceDefaultParagraphs.
10047
10048 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10049
10050         * lyx_gui.C (init): set the style of the menu popups to
10051         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10052
10053 2002-01-07  Juergen Vigna  <jug@sad.it>
10054
10055         * text.C (setHeightOfRow): small fix
10056         (prepareToPrint): don't look at alignment if we don't have the place
10057         for doing it.
10058
10059 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10060
10061         * box.C: New file. Move the Box methods and functions out of box.h,
10062         following Lars' suggestion.
10063
10064 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10065
10066         * box.h: #include "support/LOstream.h", needed for inlined function.
10067
10068         * lyxtextclass.C:
10069         * lyxtextclasslist.C: added some using std declarations.
10070
10071 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10072
10073         * box.h: make signed dimensions to allow insets wider than
10074           the screen (bug #162)
10075
10076         * BufferView_pimpl.C: add some insetHit debug
10077
10078 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * vc-backend.C: add FIXME
10081
10082 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10083
10084         * lyxfunc.C (getStatus): enable code for showing math font status
10085         in toolbar/menu.
10086
10087 2002-01-07  Juergen Vigna  <jug@sad.it>
10088
10089         * text.C (nextBreakPoint): removed debug output not needed anymore.
10090
10091 2002-01-06  Juergen Vigna  <jug@sad.it>
10092
10093         * text.C (nextBreakPoint): fixed up this function we had this bug
10094         since ever but now hopefully we break row better.
10095         (insertChar): we have to check if an inset is the next char as it
10096         could now happen that a large inset is causing a break.
10097
10098 2002-01-05  Juergen Vigna  <jug@sad.it>
10099
10100         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10101         if it doesn't like to be drawed.
10102
10103 2002-01-04  Juergen Vigna  <jug@sad.it>
10104
10105         * BufferView2.C (lockInset): forgot to set a cursor.
10106
10107         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10108
10109 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10110
10111         * FormMathsPanel.C:
10112         * FormMathsPanel.h
10113         * MathsSymbols.C:
10114         * form_maths_panel.C:
10115         * form_maths_panel.h:
10116         * form_maths_panel.fd: implemented sub- and super- buttons in math
10117         panel.
10118
10119         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10120         (or ^ space) to be used as in TeX (req'd by André).
10121
10122         * lyxfunc.C: Allow ^ and _ again to be used both as
10123         super/subscript (mathed) and as themselves (in text).
10124
10125 2002-01-03  Allan Rae  <rae@lyx.org>
10126
10127         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10128         "LyX" or the filename of the current buffer if it has one.  This is a
10129         modified form of John Levon's patch.
10130
10131         * XFormsView.C (setWindowTitle): also set icon title.
10132
10133         * LyXView.h (setWindowTitle): signature changed.
10134         * XFormsView.h (setWindowTitle): ditto.
10135
10136 2002-01-02  Juergen Vigna  <jug@sad.it>
10137
10138         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10139
10140 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10141
10142         * screen.C (topCursorVisible): introduce a temp var for
10143         text->cursor.row(), handle the case where this row is null. (kindo
10144         hachish)
10145
10146         * text2.C (setCursor): add a couple of asserts.
10147
10148         * paragraph.h (inset_iterator): add -> operator
10149
10150         * paragraph.[Ch] (autoDeleteInsets): remove member function
10151
10152         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10153         cursor pos correctly and handle inset deletion by itself.
10154         (insertErrors): move iterator declaration out of for expression
10155
10156         * lyxtextclass.C: add <algorithm>
10157
10158         * Makefile.am: added the new files to sources, removed layout.C
10159
10160         * layout.C: removed file
10161
10162         * layout.h: remove LYX_DUMMY_LAYOUT
10163
10164         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10165         layout.
10166
10167         * lyxlayout.[Ch]:
10168         * lyxtextclass.[Ch]:
10169         * lyxtextclasslist.[Ch]: new files
10170
10171         * include order changes to a lot of files, also changes because of
10172         the six new files.
10173
10174 2001-12-27  Juergen Vigna  <jug@sad.it>
10175
10176         * buffer.C (asciiParagraph): more fixes.
10177
10178         * tabular.C (ascii): make ascii export support export of only the
10179         data separated by a column-delimiter.
10180         (ascii): better support for ascii export.
10181
10182         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10183
10184 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10185
10186         * tabular_funcs.C: use a "using std::getline" instead of the
10187         previous fix from Angus (necessary for cxx + lyxstring)
10188
10189 2001-12-24  Juergen Vigna  <jug@sad.it>
10190
10191         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10192
10193         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10194         problems. First check a minipage also if we have some ert-contents
10195         (not only on par->size(), second set the right depth of the paragraph
10196         on the relink to the root-paragraph-list!
10197
10198         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10199         which then did not anymore update the main paragraphs on undo/redo!
10200
10201 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10202
10203         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10204         code. Support all font-changing funcs (even those which are not in
10205         menu currently). Support for reporting font settings in
10206         mathed (disabled until Andre provides a function on mathed's side).
10207
10208         * func_status.h (toggle): small helper function to set toggle
10209         state on a flag.
10210
10211 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10212
10213         * tabular_funcs.C: getline -> std::getline
10214
10215 2001-12-21  Juergen Vigna  <jug@sad.it>
10216
10217         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10218         accessed and could be 0 (I couldn't generate this but it seems
10219         Michael could!).
10220
10221 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10222
10223         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10224         * tabular_funcs.h: here and include iosfwd
10225
10226 2001-12-20  Juergen Vigna  <jug@sad.it>
10227
10228         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10229         inside inset but undo_par was.
10230
10231 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * Thesaurus.C: always include <config.h> in sources.
10234
10235         * Painter.h:
10236         * lyxlookup.h:
10237         * box.h: do not include <config.h> in header files
10238
10239         * text.C (paintLastRow): remove unused variable
10240
10241         * text.C (transformChar):
10242         (insertChar):
10243         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10244
10245         * Painter.C (text):
10246         * font.C (width): rewrite to use uppercase() instead of
10247         islower/toupper.
10248
10249         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10250
10251 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * lyxfind.C: clean up of find failure position change
10254
10255 2001-12-20  Juergen Vigna  <jug@sad.it>
10256
10257         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10258
10259         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10260         (TeXRow): added to LaTeX a single tabular row.
10261         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10262         (Latex): simplified and finally good LT-h/f support.
10263         (various_functions): just small adaptions for LT-h/f support.
10264
10265         * tabular_funcs.[hC]: added and moved here all not classfunctions
10266         of LyXTabular.
10267
10268 2001-12-19  Juergen Vigna  <jug@sad.it>
10269
10270         * tabular.[Ch]: better support for longtabular options (not finished
10271         yet!)
10272
10273 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10274
10275         * text.C (paintLastRow): use the label font instead of the font of
10276         the last character to compute the size of *_BOX. This makes more
10277         sense and avoids a crash with empty paragraphs.
10278         Use Painter::rectangle to draw EMPTY_BOX.
10279
10280 2001-12-19  Juergen Vigna  <jug@sad.it>
10281
10282         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10283         the paragraphs if the replaced paragraph is not the first one!
10284         Tried to delete not used paragraphs but does not work yet so for
10285         now it's inside #ifdef's and by default off!
10286
10287 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * MenuBackend.C: include "lyx_main.h" instead of declaring
10290         lastfiles (actually was declared as LastFiles* instead of a
10291         scoped_ptr).
10292
10293 2001-12-17  Juergen Vigna  <jug@sad.it>
10294
10295         * tabular.C (AppendColumn): applied John's fix
10296
10297 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10298
10299         * BufferView.h:
10300         * BufferView.C:
10301         * BufferView_pimpl.h:
10302         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10303
10304         * Makefile.am:
10305         * box.h: new start of class for above
10306
10307         * lyxfunc.C: ignore space-only minibuffer dispatches.
10308           Show the command name when it doesn't exist
10309
10310         * minibuffer.C: don't add empty lines to the history
10311
10312         * minibuffer.C: add a space on dropdown completion
10313
10314 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10315
10316         * text.C: fix line above/below drawing in insets
10317
10318 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10319
10320         * lyxlength.C (LyXLength): Initialize private variables.
10321
10322 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10323
10324         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10325         when inserting error insets.
10326
10327 2001-12-13  Juergen Vigna  <jug@sad.it>
10328
10329         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10330         actually sometimes the before-paragraph.
10331         (setUndo): don't clear the redostack if we're not actually undoing!
10332
10333 2001-12-06  Juergen Vigna  <jug@sad.it>
10334
10335         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10336         and fixed redoing of main paragraph, so we can use it now ;)
10337
10338         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10339
10340 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10341
10342         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10343         Juergen's request
10344
10345 2001-12-13  André Pönitz <poenitz@gmx.net>
10346
10347         * undostack.[Ch]:
10348         * undo_func.C: minor cleanup
10349
10350 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10353         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10354         font in urw-fonts package which is marked as -urw-fontspecific and
10355         does not work (incidentally, changing the encoding in the
10356         fonts.dir of this package to -adobe-fontspecific fixes the
10357         problem).
10358
10359         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10360         is a crash when undoing first paragraph (Juergen, please take a
10361         look). THis does not mean the undo fix is wrong, just that it
10362         uncovers problems.
10363
10364         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10365         the (Paragraph*) version when needed instead of duplicating the
10366         code.
10367
10368         * text.C (workWidth): use Inset::parOwner to find out where the
10369         inset has been inserted. This is a huge performance gain for large
10370         documents with lots of insets. If Inset::parOwner is not set, fall
10371         back on the brute force method
10372
10373         * paragraph_pimpl.C (insertInset):
10374         * paragraph.C (Paragraph):
10375         (cutIntoMinibuffer): set parOwner of insets when
10376         inserting/removing them
10377
10378         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10379
10380 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10381
10382         * commandtags.h:
10383         * LyXAction.C:
10384         * lyx_main.C:
10385         * lyxfunc.C:
10386         * mathed/formulabase.C:
10387         * mathed/math_cursor.[Ch]:
10388         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10389
10390
10391 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10392
10393         * lyxlength.[Ch] (operator!=): new function
10394
10395 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10396
10397         * text.C (workWidth): use Inset::parOwner to find out where the
10398         inset has been inserted. This is a huge performance gain for large
10399         documents with lots of insets. If Inset::parOwner is not set, fall
10400         back on the brute force method
10401
10402         * paragraph_pimpl.C (insertInset):
10403         * paragraph.C (Paragraph):
10404         (cutIntoMinibuffer): set parOwner of insets when
10405         inserting/removing them
10406
10407         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10408
10409 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10410
10411         * tabular-old.C (getTokenValue):
10412         * tabular.C (getTokenValue):
10413         (write_attribute): new versions for LyXLength
10414         (everywhere): adjust the use of widths
10415
10416         * tabular.h: change the type of widths from string to LyXLength
10417
10418 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10419
10420         * paragraph.C: fixed missing line number count when exporting
10421         Environments to LaTeX file
10422
10423         * buffer.C: added informational message for checking line numbers.
10424
10425 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10426
10427         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10428         paragraph, do the 'double space' part, but not the 'empty
10429         paragraph' one.
10430
10431         * text.C (workWidth): small optimization
10432         (getLengthMarkerHeight): use minimal size for negative lengths.
10433
10434 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10435
10436         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10437
10438         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10439
10440 2001-12-11  André Pönitz <poenitz@gmx.net>
10441
10442         * FontLoader.C:
10443         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10444
10445 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * text2.C: keep selection on a setFont()
10448
10449 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * lyx_cb.C: another bv->text misuse, from insert label
10452
10453 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * kbsequence.h:
10456         * kbsequence.C: re-instate nmodifier mask
10457
10458 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10459
10460         * lyx_main.h: make lyxGUI private.
10461
10462 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * lyxfind.C: place the cursor correctly on failed search
10465
10466 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10467
10468         * text.C (getLengthMarkerHeight): for small heights, the arrows
10469         are not always on top/bottom of the text
10470         (drawLengthMarker): smaller arrows; take the left margin in
10471         account; draw also vfills.
10472         (paintFirstRow):
10473         (paintLastRow): remove special code for vfill and standard spaces,
10474         since everything is handled in drawLengthMarker now.
10475
10476 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10477
10478         * buffer.C (insertErtContents): try to handle font and language
10479         interaction a bit better.g
10480
10481         * ColorHandler.C (updateColor): change the hash to cover the whole
10482         LColor enum, ws cleanup
10483         (getGCLinepars): ditto
10484         (getGCLinepars): only lookup in the linecache once.
10485
10486 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10487
10488         * iterators.C (operator++): Make the iterator more robust
10489
10490         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10491         (John's patch)
10492         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10493
10494 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * lyxtext.h:
10497         * text.C: better added space drawing
10498
10499 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10500
10501         * LyXView.C:
10502         * BufferView2.C: fix layout combo update on inset unlock
10503
10504 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * Makefile.am: don't compile unused files
10507
10508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * lyxfunc.C:
10511         * commandtags.h:
10512         * LyXAction.C: remove old LFUN_LAYOUTNO
10513
10514 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * paragraph_pimpl.h:
10517         * paragraph_pimpl.C: isTextAt() doesn't need font param
10518
10519 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10520
10521         * lyxlex.h:
10522         * lyxlex.C: little cleanup
10523
10524 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * BufferView_pimpl.C: fix insertAscii for insets
10527
10528 2001-12-05  Juergen Vigna  <jug@sad.it>
10529
10530         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10531         set the right font on the "multi" paragraph paste!
10532
10533 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10534
10535         * trans_decl.h:
10536         * trans_mgr.[Ch]:
10537         * trans.[Ch]:
10538         * lyxgluelength.C:
10539         * lyxlength.C: remove out-commented code.
10540
10541         * BufferView_pimpl:
10542         * CutAndPaste.C:
10543         * DepTable.C:
10544         * buffer.C:
10545         * chset.C:
10546         * lastfiles.C:
10547         * lyxlex.C:
10548         * lyxlex_pimpl.C:
10549         * lyxserver.C:
10550         * screen.C:
10551         * tabular-old.C:
10552         * tabular.C:
10553         * text.C:
10554         * trans_mgr.C:
10555         * vc-backend.C: change "while(" to "while ("
10556
10557         * lyxlength.[Ch]: add zero function to check if length is zero or
10558         not
10559         * lyxgluelength.C: use it
10560
10561 2001-12-05  Allan Rae  <rae@lyx.org>
10562
10563         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10564         Works for 2.95.3, from what I understand of Garst's reports this should
10565         work for other g++ versions.  We're screwed if the abs(int) definition
10566         changed between bugfix releases of gcc.
10567
10568 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10569
10570         * text.C: fix chapter label offset !
10571
10572 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * lyxtext.h:
10575         * text.C: fix hfill at end of line, clean up
10576
10577 2001-12-04  Juergen Vigna  <jug@sad.it>
10578
10579         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10580         that we force an update of the inset and it's owners if neccessary.
10581
10582 2001-12-03  Juergen Vigna  <jug@sad.it>
10583
10584         * text.C (rowLast): simplified code
10585
10586 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * lyxfunc.C: fix show options on timeout
10589
10590 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10591
10592         * screen.C (topCursorVisible): scroll half a page when the cursor
10593         reached top of bottom of screen
10594
10595 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * minibuffer.C: deactivate on loss of focus
10598
10599 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * vspace.[Ch] (operator!=): add operator.
10602
10603 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * BufferView_pimpl.C: refuse to open an inset when
10606         there's a selection.
10607
10608 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * BufferView_pimpl.C: allow to click on RHS of full row insets
10611
10612 2001-11-30  Juergen Vigna  <jug@sad.it>
10613
10614         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10615         insets for undo reasons.
10616
10617 2001-11-28  André Pönitz <poenitz@gmx.net>
10618
10619         * vspace.[Ch]: cosmetical changes
10620
10621 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * LyXAction.h:
10624         * LyXAction.C:
10625         * lyxfunc.h:
10626         * lyxfunc.C:
10627         * kbmap.h:
10628         * kbmap.C:
10629         * lyxrc.C:
10630         * kbsequence.h:
10631         * kbsequence.C: part re-write of old kb code
10632
10633         * Painter.C:
10634         * WorkArea.C: remove Lgb_bug_find_hack
10635
10636 2001-11-30  José Matos <jamatos@fep.up.pt>
10637
10638         * buffer.C (makeDocBookFile): add a comment to point a hack.
10639         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10640         Fixed a double write of labels.
10641
10642 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10643
10644         * LaTeX.C:
10645         * LaTeX.h Fixed bug in LaTeX class where it would not
10646         re-run latex if no depfiles were changed, but the .dvi was removed.
10647
10648 2001-11-28  André Pönitz <poenitz@gmx.net>
10649
10650         * all the files from the change on 2001/11/26:
10651         use lyx::layout_type instead of LyXTextClass::size_type
10652         use lyx::textclass_type instead of LyXTextClassList::size_type
10653
10654 2001-11-29  Juergen Vigna  <jug@sad.it>
10655
10656         * text.C: added support for paragraph::isFreeSpacing()
10657
10658         * buffer.C: same as above
10659
10660         * paragraph.h: inserted isFreeSpacing() function to enable
10661         FreeSpacing inside InsetERT.
10662
10663         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10664         of the paragraph's in the cut/copy buffer to 0!
10665
10666         * text2.C (removeRow): remove the assert as it can!
10667
10668         * lyxtext.h: added helper function firstRow returning firstrow and
10669         made firstrow private again.
10670
10671         * BufferView2.C (lockInset): don't relock if we're already locked!
10672
10673         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10674         the only paragraph.
10675         (removeRow): added Assert::(firstrow)
10676
10677         * debug.C: forgot to add INSETTEXT here.
10678
10679 2001-11-28  Juergen Vigna  <jug@sad.it>
10680
10681         * sp_spell.C (initialize): changed error text to more general
10682         spellchecker command use (not only ispell!)
10683
10684         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10685
10686         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10687
10688 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * vspace.C: initialise lyxgluelength on failure
10691
10692 2001-11-28  Allan Rae  <rae@lyx.org>
10693
10694         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10695         declaration & definition that looks like a function declaration.
10696
10697 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10698
10699         * BufferView2.C (copy):
10700         (copyEnvironment): do not clear the selection when doing a copy.
10701
10702         * text.C (paintFirstRow): compilation fix
10703
10704 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10705
10706         * tabular.C (Latex): correct line count when writing latex.
10707
10708 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * paragraph_pimpl.h:
10711         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10712           bug a bit
10713
10714 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * text.C:
10717         * LColor.h:
10718         * LColor.C: change vfillline->added_space
10719
10720         * text.C: add markers and text for added space
10721
10722         * vspace.C: fix comment
10723
10724 2001-11-28  André Pönitz <poenitz@gmx.net>
10725
10726         * paragraph.C: whitespace changes
10727         * all the other files from the change on 2001/11/26:
10728         change *::pos_type into lyx::pos_type
10729
10730 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10731
10732         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10733         language of the document when inserting error insets.
10734
10735 2001-11-26  André Pönitz <poenitz@gmx.net>
10736
10737         * BufferView_pimpl.[Ch]:
10738         *       CutAndPaste.C:
10739         * buffer.[Ch]:
10740         * lyxcursor.[Ch]:
10741         * lyxfind.C:
10742         * lyxfunc.C:
10743         * lyxrow.[Ch]:
10744         * paragraph.[Ch]:
10745         * paragraph_pimpl.[Ch]:
10746         * sp_spell.C:
10747         * text.C:
10748         * text2.C: reduce header dependencies, introduce type for positions
10749
10750 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * <various>: change to use Alert.h
10753
10754 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10755
10756         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10757         when encountering an unknown token.
10758         (readLyXformat2): Show an error message if there were unknown tokens.
10759
10760 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * BufferView2.C:
10763         * BufferView_pimpl.C:
10764         * buffer.C:
10765         * paragraph.h:
10766         * text.C:
10767         * text2.C: use par->isInset()
10768
10769 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * paragraph_pimpl.h:
10772         * paragraph_pimpl.C: cleanup
10773
10774 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10775
10776         * text2.C (removeRow):
10777         * text.C (setHeightOfRow): remove useless (and costly) call to
10778         getRow.
10779
10780 2001-11-20  Allan Rae  <rae@lyx.org>
10781
10782         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10783         Now need Inset*::checkInsertChar() to return true for appropriate
10784         cases so that the characters in the minibuffer will actually be
10785         inserted.
10786
10787 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10788
10789         * text.C: change the order of the includes.
10790         (workWidth): initialize it at once.
10791         (workWidth): make maxw unsigned
10792         (setHeightOfRow): remove unused variable (inset)
10793         (selectSelectedWord): remove unused variable (inset)
10794         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10795
10796 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10797
10798         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10799         server is not running.
10800         (openConnection):
10801         (closeConnection): add debug info when server is disabled.
10802
10803         * ColorHandler.C (getGCForeground): send debug message to GUI
10804         channel.
10805
10806         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10807
10808         * kbmap.C (bind): modify because return conventions of
10809         kb_sequence::parse have changed.
10810
10811         * kbsequence.C (parse): only ignore spaces and not any stupid
10812         control character. This avoids tests like s[i] <= ' ', which are
10813         guaranteed to fail with 8bit characters and signed chars.
10814         Change return code to string::npos when there have been no error
10815         (0 was a bad idea when error is at first character)
10816
10817 2001-11-14  José Matos  <jamatos@fep.up.pt>
10818
10819         * buffer.h:
10820         * buffer.C (simpleDocBookOnePar): removed unused argument.
10821
10822 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10823
10824         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10825         insets which are part of a word. Paragraph::isLetter takes care of
10826         that now. Use Paragraph::isInset to identify insets.
10827         (selectSelectedWord): do not test for hyphenation break.
10828
10829         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10830         that protected spaces are considered as spaces.
10831
10832         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10833         Inset::isLetter.
10834
10835 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * lyxserver.h:
10838         * lyxserver.C: fix it. and small cleanup.
10839
10840 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * BufferView_pimpl.C: use inline helpers
10843
10844         * LaTeXFeatures.h:
10845         * LaTeXFeatures.C: fix typos
10846
10847         * Spacing.h:
10848         * Spacing.C: move spacing_string into class
10849
10850         * ToolbarDefaults.C: move stuff into namespace anon
10851
10852         * layout.h: update enum
10853
10854         * lyxfunc.C: use better debug
10855
10856         * minibuffer.h: fix typo
10857
10858         * debug.h:
10859         * debug.C:
10860         * WorkArea.C: add and use Debug::WORKAREA
10861
10862         * lyxtext.h:
10863         * text.C:
10864         * text2.C: code re-organisation, inline helpers
10865
10866 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10867
10868         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10869         std::vector.empty().
10870
10871 2001-11-09  Allan Rae  <rae@lyx.org>
10872
10873         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10874         '\n's after tables.  Tabular and ERT inset work now makes this no
10875         longer necessary.
10876
10877 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * minibuffer.h:
10880         * minibuffer.C: fix crash, improve drop-down completion
10881
10882 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * lyxserver.h:
10885         * lyxserver.C: invalidate fd's when doing endPipe()
10886
10887 2001-11-08  José Matos  <jamatos@fep.up.pt>
10888
10889         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10890         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10891
10892         * paragraph.h:
10893         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10894
10895 2001-11-07  José Matos  <jamatos@fep.up.pt>
10896
10897         * buffer.h:
10898         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10899         const qualifier.
10900
10901         * buffer.C (sgmlOpenTag):
10902         * buffer.C (sgmlCloseTag): removed debug info.
10903
10904         * buffer.h (sgmlOpenTag):
10905         * buffer.h (sgmlCloseTag): made public.
10906
10907 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10908
10909         * buffer.C (saveParamsAsDefaults):
10910         * lyx_cb.C (MenuLayoutSave): remove
10911
10912         * LyXAction.C (init):
10913         * commandtags.h:
10914         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10915
10916 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10917
10918         * buffer.C (setPaperStuff): removed from here...
10919
10920         * bufferparams.C (setPaperStuff): ... and moved there.
10921
10922 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10923
10924         * minibuffer.h:
10925         * minibuffer.C:
10926         * XFormsView.C: add support for drop-down completion
10927
10928 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10929
10930         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10931         commands.
10932
10933 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10934
10935         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10936         disabled.
10937
10938 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * lyx_main.C: change ref to known bugs
10941
10942 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10943
10944         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10945         to work around older babel problems.
10946
10947 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10948
10949         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10950
10951 2001-10-24  Juergen Vigna  <jug@sad.it>
10952
10953         * tabular-old.C (ReadOld): below variable changes reflected.
10954
10955         * tabular.[Ch]: added ltType struct for longtable header/footer
10956         defines and changed all instances where they are used. Added
10957         future support for double top/bottom rows.
10958
10959 2001-10-24  José Matos  <jamatos@fep.up.pt>
10960
10961         * buffer.h (docbookHandleCaption):
10962         * buffer.C (docbookHandleCaption): removed unused function.
10963         (makeDocBookFile): moved docbook supported version to v4.1.
10964
10965 2001-10-24  José Matos  <jamatos@fep.up.pt>
10966
10967         * tabular.h:
10968         * tabular.C (docbookRow): new function to export docbook code of a row.
10969         (DocBook): now honors the longtable flags.
10970
10971 2001-10-23  José Matos  <jamatos@fep.up.pt>
10972
10973         * LaTeXFeatures.h:
10974         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10975         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10976
10977         * buffer.C (makeLinuxDocFile):
10978         (makeDocBookFile): reworked the preamble, more clean, and with
10979         support for lyx defined entities. Changed the document declaration
10980         to be more XML friendly.
10981
10982         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10983         if we need to output XML that should be done with a filter.
10984
10985 2001-10-22  Juergen Vigna  <jug@sad.it>
10986
10987         * sp_pspell.h (class PSpell): add alive function needed in the
10988         controller to see if the spellchecker could be started.
10989
10990 2001-10-22  Juergen Vigna  <jug@sad.it>
10991
10992         * buffer.C (insertStringAsLines): modify the font for inserting
10993         chars in certain conditions by calling checkInsertChar(font).
10994
10995 2001-10-19  Juergen Vigna  <jug@sad.it>
10996
10997         * text.C (workWidth): use getRow instead of wrong algorithm.
10998         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10999
11000 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11001
11002         * lyxserver.h:
11003         * lyxserver.C:
11004         * lyx_main.h:
11005         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11006
11007 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11008
11009         * text.C (workWidth): do not search for the exact row when
11010         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11011         optimization for big documents.
11012
11013 2001-10-18  Juergen Vigna  <jug@sad.it>
11014
11015         * text.C (workWidth): new function with added Inset * parameter.
11016
11017 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11018
11019         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11020
11021         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11022         change return type of getColumnNearX.
11023
11024
11025         * text.C (changeRegionCase): use uppercase/lowercase instead of
11026         toupper/tolower.
11027         (leftMargin):
11028         (rightMargin): simplify code by factoring out the uses of
11029         textclasslist.
11030         (labelFill):
11031         (numberOfHfills):
11032         (setHeightOfRow):
11033         (appendParagraph): use Paragraph::size_type
11034
11035 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11036
11037         * vspace.C (asLatexString): add a missing break
11038
11039 2001-10-15  Herbert Voss  <voss@perce.de>
11040
11041         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11042
11043 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11044
11045         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11046         is not available.
11047
11048 2001-10-10  André Pönitz <poenitz@gmx.net>
11049
11050         * lyxfunc.C: removed greek_kb_flag.
11051
11052 2001-10-10  Herbert Voss  <voss@perce.de>
11053
11054         * lyx_main.C: delete global string help_lyxdir.
11055
11056 2001-10-09  Herbert Voss  <voss@perce.de>
11057
11058         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11059
11060         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11061
11062         * lyx_main.C: added global string help_lyxdir.
11063
11064         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11065
11066 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11067
11068         * lyxrc.C (set_font_norm_type): support iso8859-4
11069
11070 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11071
11072         * LaTeX.C (deplog): add another regex for MikTeX
11073
11074 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11075
11076         * lyxrc.C (set_font_norm_type): support iso8859-3
11077
11078 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11079
11080         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11081
11082         * LaTeXFeatures.C: remove special case of french and index
11083
11084         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11085         before \begin{document}). This solves several incompatibilities.
11086
11087 2001-10-03  Garst Reese  <reese@isn.net>
11088
11089         * lyx_cb.C: change CheckTex error msg.
11090
11091 2001-10-03  José Matos  <jamatos@fep.up.pt>
11092
11093         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11094
11095 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11096
11097         * .cvsignore: update
11098
11099         * lyx_main.C (commandLineVersionInfo): use new style version info.
11100
11101         * buffer.C (writeFile):
11102         (makeLaTeXFile):
11103         (makeLinuxDocFile):
11104         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11105
11106         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11107
11108         * version.h: update to use stuff in version.C
11109
11110         * version.C.in: new file. Contains version information determined
11111         at compile time. This is a merging of version.h and
11112         version_info.h.in.
11113
11114 2001-10-03  Juergen Vigna  <jug@sad.it>
11115
11116         * BufferView_pimpl.C (update): don't change "dirty" status in
11117         updateInset call.
11118
11119 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11120
11121         * WorkArea.C (c-tor): re-position version string slightly.
11122
11123 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11124
11125         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11126         revert to previous code.
11127
11128         WorkArea.[Ch]: (show, destroySplash): methods removed.
11129
11130         WorkArea.C: rework code so that it's an amalgam of the codes before and
11131         after the splash screen was moved to WorkArea.
11132
11133 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11134
11135         * lyxrc.C (read):
11136         * vspace.C (inPixels):
11137         (lyx_advance):
11138         * kbmap.C (bind):
11139         * buffer.C (insertStringAsLines):
11140         (asciiParagraph): fix types to be large enough
11141
11142         * lyxlex_pimpl.h: change member status from short to int
11143
11144         * layout.h: fix type of endlabeltype
11145
11146         * kbmap.C (bind):
11147         * kbsequence.C (parse): change return type to string::size_type
11148
11149         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11150         variable
11151
11152         * Bullet.C (bulletSize):
11153         (bulletEntry): do not use short ints as parameters
11154
11155         * BufferView2.C (insertLyXFile): change a char to an int.
11156
11157         * WorkArea.C (WorkArea): remove unneeded floats in computation
11158
11159 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11160
11161         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11162
11163         * paragraph.C (asString): Do not ignore newline/hfill chars when
11164         copying to the clipboard.
11165
11166 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11167
11168         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11169         after a multi-line inset.
11170
11171 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11172
11173         * paragraph.C (validate): Set NeedLyXFootnoteCode
11174
11175 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11176
11177         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11178         and decrease-error to decrease.
11179
11180 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11181
11182         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11183         it more readable (should be equivalent)
11184
11185 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11186
11187         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11188
11189 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11190
11191         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11192         of a cursor (row, etc.) after a character has been deleted
11193         (deleteEmptyParagraphMechanism): call the method above on _all_
11194         cursors held by the LyXText when a double space has been
11195         detected/deleted.
11196
11197 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11198
11199         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11200         pixmap.
11201         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11202
11203         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11204         background. Use greyOut() and the new show() methods to toggle between
11205         the foreground and background. Add code to remove the splash after
11206         its initial showing.
11207
11208         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11209         (create_forms): no longer call Dialogs::showSplash.
11210
11211 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11212
11213         * .cvsignore: add version_info.h
11214
11215 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11216
11217         * version_info.h.in: new file
11218
11219         * Makefile.am: add version_info.h.in
11220
11221         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11222         version_info.h instead of VERSION_INFO
11223
11224 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11225
11226         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11227         The ERT inset now returns string().
11228
11229 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11230
11231         * lyxtext.h, text.C (selectNextWord): renamed as
11232         selectNextWordToSpellcheck.
11233
11234         * text.C (selectNextWordToSpellcheck): Modified to not select
11235         words inside an ERT inset.
11236
11237 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11238
11239         * lyx_cb.C (MenuLayoutSave): change a bit the question
11240
11241         * sp_base.h: include <sys/types.h>
11242
11243 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11244
11245         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11246
11247 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11248
11249         * several files: fix typos in user-visible strings
11250
11251 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11252
11253         * text2.C (pasteSelection): do not set the selection, since it
11254         will be cleared later. Actually, the intent was to fix the way the
11255         selection was set, but I figured rmoving the code was just as good.
11256
11257 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11258
11259         * FontLoader.C (available): Check if font is available without
11260         loading the font.
11261
11262 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11263
11264         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11265
11266 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11267
11268         * lyxrc.[Ch]: added display_graphics variable and associated code.
11269
11270 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11271
11272         * bufferparams.C (hasClassDefaults): new method. Returns true if
11273         the buffer parameters correspond to known class defaults
11274
11275 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11276
11277         * XFormsView.C (show): set minimum size to the main window.
11278
11279 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11280
11281         * text2.C (copySelection):
11282         (cutSelection):
11283         * lyxfind.C (LyXReplace):
11284         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11285         LyXText::selectionAsString.
11286
11287         * paragraph.C (asString): add "label" argument to the second form
11288
11289         * text2.C (selectionAsString): add "label" argument and pass it to
11290         Paragraph::asString.
11291
11292 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11293
11294         * lyx_main.C (commandLineHelp): remove version information
11295
11296 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11297
11298         * lyx_main.C: add -version commandline option
11299
11300 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * paragraph.h: make the optional constructor arg required instead.
11303         some modifications to other files because of this.
11304
11305         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11306
11307         * lyxserver.C (C_LyXComm_callback): make it static
11308
11309         * lyx_main.C (error_handler): make it static
11310
11311         * lyx_gui.C (LyX_XErrHandler): make it static
11312
11313         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11314
11315         * WorkArea.C: make the extern "C" methods static.
11316
11317         * Makefile.am (lyx_LDADD): simplify
11318
11319 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11322         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11323
11324         * LyXAction.C (init):
11325         * lyxfunc.C (dispatch): associated code removal.
11326
11327 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11328
11329         * lyxfont.h (isSymbolFont): shut off warning
11330
11331         * text.C (setHeightOfRow):
11332         (getVisibleRow): fix crash with empty paragraphs which have a
11333         bottom line
11334
11335 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11336
11337         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11338         code.
11339
11340 2001-09-04  José Matos  <jamatos@fep.up.pt>
11341         * buffer.C
11342         * buffer.h
11343         * tabular.C (docbook): rename docBook method to docbook.
11344
11345 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11346
11347         * Makefile.am: add dependencies to main.o.
11348
11349 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11350
11351         * FontLoader.C (available): Return false if !lyxrc.use_gui
11352
11353 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11354
11355         * FontInfo.C (query):
11356         * converter.C (view):
11357         * importer.C (Import):
11358         * exporter.C (Export): Can not -> cannot.
11359
11360 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * BufferView_pimpl.C: allow to create index inset even if
11363           string is empty
11364
11365 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11366
11367         * buffer.C (getLists): replace boost::tie code with an explicit pair
11368         as boost::tie can break some compilers.
11369
11370         * iterators.h: Added a std:: declaration to the return type of
11371         ParIterator::size.
11372
11373 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11376           case.
11377
11378 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11379
11380         * iterators.[Ch]: New files. Provide paragraph iterators.
11381
11382         * buffer.C (changeLanguage): Use paragraph iterators.
11383         (isMultiLingual): ditto
11384
11385         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11386
11387 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11388
11389         * FontLoader.C: Support for cmr font.
11390
11391 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11392
11393         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11394         (available): New method.
11395
11396         * FontInfo.C (getFontname): Use scalable fonts even when
11397         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11398         found.
11399
11400 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11401
11402         * converter.C (Formats::view): reverted! Incorrect fix.
11403
11404 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11405
11406         * converter.C (Formats::view): only output the -paper option
11407         if the dvi viewer is xdvi, thereby fixing bug #233429.
11408
11409 2001-08-23  Herbert Voss  <voss@perce>
11410
11411         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11412
11413 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11414
11415         * Spacing.h (Spacing): Set space to Default on in the default
11416         constructor.
11417
11418 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11419
11420         * vc-backend.h (RCS::versionString): add RCS to version
11421         (CVS::versionString): add CVS to version
11422
11423         * vc-backend.C (scanMaster): do not add CVS to version.
11424         (scanMaster): do not add RCS to version
11425
11426         * lyxvc.C (versionString): new method
11427
11428         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11429
11430 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * Spacing.C (set): initialize fval
11433
11434 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11435
11436         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11437         " or \.
11438
11439 2001-08-16  Juergen Vigna  <jug@sad.it>
11440
11441         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11442
11443 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11444
11445         * BufferView_pimpl.C:
11446         * figureForm.C:
11447         * lyxtext.h:
11448         * text2.C: setParagraph takes linespacing now
11449
11450 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * LyxAction.C: add internal LFUN_CITATION_INSERT
11453
11454         * LyXView.C: actually apply fix
11455
11456         * bufferlist.C: fix open non-existent file
11457
11458         * lyxfind.C: fix indentation
11459
11460         * lyxfunc.C: remove unneeded assert, fix typo
11461
11462 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * MenuBackend.C: use "Floatname List"
11465
11466 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11467
11468         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11469         when converting LaTeX layout to insetERT.
11470         Generate a non-collapsed float when reading old float
11471
11472 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11473
11474         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11475         ERT insets.
11476
11477 2001-08-13  Juergen Vigna  <jug@sad.it>
11478
11479         * text.C (fill): return 0 instead of 20 as this seems to be the more
11480         correct value.
11481
11482 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11483
11484         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11485         lyxrc.font_norm.
11486
11487 2001-08-13  Juergen Vigna  <jug@sad.it>
11488
11489         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11490         casesensitive off.
11491         (SearchBackward): comment out the unlocking of the inset_owner this
11492         should not be needed!
11493
11494 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11495
11496         * Many files: Remove inherit_language, and add latex_language
11497
11498         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11499         collapsible insets.
11500
11501 2001-08-10  Juergen Vigna  <jug@sad.it>
11502
11503         * text.C (prepareToPrint): fixed hfill-width in draw!
11504
11505         * BufferView2.C (selectLastWord): save the selection cursor as this
11506         now is cleared in the function LyXText::clearSelection!
11507
11508 2001-08-08  Juergen Vigna  <jug@sad.it>
11509
11510         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11511         BACKSPACE type functions.
11512
11513         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11514         is only cutted from the document but not put in the cut-buffer, where
11515         still the old stuff should be.
11516
11517         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11518
11519         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11520
11521         * tabular.C (SetWidthOfCell): fixed special case where the width
11522         was not updated!
11523         (LeftLine): handle '|' in align_special.
11524         (RightLine): ditto
11525         (LeftAlreadyDrawed): ditto
11526         (SetWidthOfCell): ditto
11527
11528 2001-08-07  Juergen Vigna  <jug@sad.it>
11529
11530         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11531
11532 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11535         * lyxlex.[hC]: ditto
11536
11537 2001-08-06  Juergen Vigna  <jug@sad.it>
11538
11539         * text.C (getVisibleRow): fix up row clearing a bit.
11540
11541 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * minibuffer.C: make sure the X server sees the changes in the input.
11544
11545 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11546
11547         * paragraph.C (getFont): split into...
11548         (getLabelFont): this
11549         (getLayoutFont): and this
11550         * paragraph_pimpl.C (realizeFont): calling this
11551
11552         * text2.C (getFont): split into...
11553         (getLayoutFont): this
11554         (getLabelFont): and this
11555         (realizeFont): all three calling this
11556
11557         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11558         files where used.
11559
11560 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11561
11562         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11563
11564 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11565
11566         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11567         layouts from the Quote inset insertion.
11568
11569 2001-08-03  Juergen Vigna  <jug@sad.it>
11570
11571         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11572
11573         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11574         only if status not is already CHANGED_IN_DRAW (second level).
11575
11576         * text.C (draw): don't set the need_break_row when inside an
11577         InsetText LyXText.
11578
11579 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11580
11581         * buffer.C (parseSingleLyXformat2Token): handle more latex
11582         conversion cases.
11583
11584         * bufferview_funcs.[hC]: change function names to
11585         begin with small char, adjust other files.
11586
11587 2001-08-02  André Pönitz <poenitz@gmx.net>
11588
11589         * lyxfunc.C:
11590         BufferView_pimpl.C: remove broken special code for math-greek
11591
11592 2001-08-02  Juergen Vigna  <jug@sad.it>
11593
11594         * BufferView_pimpl.C (update): redone this function so that we
11595         update the text again if there was a CHANGE_IN_DRAW.
11596
11597         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11598         (drawFromTo): added a new internal bool which is used by draw() and
11599         redraw() function.
11600         (general): some cursor drawing problems fixed.
11601
11602 2001-08-01  Juergen Vigna  <jug@sad.it>
11603
11604         * lyxfind.C (LyXFind): fixed
11605         (SearchForward): ditto
11606         (SearchBackward): ditto
11607
11608         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11609         spurius drawing of the cursor in the main area.
11610
11611         * text2.C (status): small fix which could lead to a segfault!
11612         (clearSelection): remove unneeded BufferView param.
11613
11614 2001-08-01  André Pönitz <poenitz@gmx.net>
11615
11616         * lyxfunc.C: small change due to changed mathed interface
11617
11618 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11619
11620         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11621
11622 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * lyxfunc.c: fail gracefully if file doesn't exist
11625
11626         * LyXSendto.C:
11627         * buffer.C:
11628         * lyxfunc.C:
11629         * BufferView_pimpl.C: IsDirWriteable() proto changed
11630
11631         * LyXView.C: fix updateWindowTitle() to store the last title
11632
11633 2001-07-31  Juergen Vigna  <jug@sad.it>
11634
11635         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11636         the font (wrong since using of Paragraph::highestFontInRange).
11637
11638         * paragraph.C (highestFontInRange): added a default_size parameter.
11639
11640         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11641         (setHeightOfRow): reformat
11642
11643 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * converter.[hC] + affected files: move to (inital-char)lowercase
11646         function names.
11647
11648         * ParagraphParameters.C (ParagraphParameters): remove commented code
11649
11650         * PainterBase.[Ch]: remove commented code
11651
11652         * LaTeXFeatures.h: add "bool floats" for float.sty
11653
11654         * LaTeXFeatures.C (LaTeXFeatures): init floats
11655         (require): handle float
11656         (getPackages): do it with floats
11657
11658 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11659
11660         * BufferView_pimpl.C (Dispatch): improve handling of
11661         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11662
11663         * commandtags.h: #include lyxfont.h here temporarily to avoid
11664         keybinding bug.
11665
11666         * bufferlist.h: include LString.h here.
11667
11668 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11669
11670         * text2.C (getStringToIndex): new method.
11671
11672 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11673
11674         * *: Reduced header file dependencies all over.
11675
11676 2001-07-30  Baruch Even  <baruch@lyx.org>
11677
11678         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11679
11680 2001-07-29  Baruch Even  <baruch@lyx.org>
11681
11682         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11683
11684 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11685
11686         * ParameterStruct.h (endif): add a default constructor to make
11687         sure that all variables is initialized.
11688
11689         * ParagraphParameters.C (ParagraphParameters): adjust
11690
11691 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11692
11693         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11694         index; also, check that there is something to index, and that it
11695         does not span over several paragraphs.
11696         (doubleClick): use WHOLE_WORD_STRICT for double click.
11697
11698         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11699
11700         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11701         scheme.
11702
11703 2001-07-26  Baruch Even  <baruch@lyx.org>
11704
11705         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11706         an InsetFig figure, backwards compatible reading of old figure code.
11707
11708 2001-07-27  Juergen Vigna  <jug@sad.it>
11709
11710         * text2.C: font.realize function adaption.
11711
11712         * text.C (draw): add a warnings lyxerr text if needed.
11713
11714         * layout.C: font.realize function adaption.
11715
11716         * language.C: add inherit_language and implement it's handlings
11717
11718         * bufferview_funcs.C (StyleReset): remove language parameter from
11719         font creation (should be language_inherit now).
11720
11721         * bufferparams.C (writeFile): handle ignore_language.
11722
11723         * paragraph.C (getFontSettings): the language has to be resolved
11724         otherwise we have problems in LyXFont!
11725
11726         * lyxfont.C (lyxWriteChanges): added document_language parameter
11727         (update): removed unneeded language parameter
11728
11729         * paragraph.C (validate): fixed wrong output of color-package when
11730         using interface colors for certain fonts in certain environments,
11731         which should not seen as that on the final output.
11732
11733 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * BufferView_pimpl.C:
11736         * Thesaurus.h:
11737         * Thesaurus.C:
11738         * Makefile.am:
11739         * commandtags.h:
11740         * LyXAction.C: add thesaurus support
11741
11742         * lyxfind.h:
11743         * lyxfind.C: add "once" parameter, for thesaurus, to not
11744           move to the next match
11745
11746 2001-07-26  Juergen Vigna  <jug@sad.it>
11747
11748         * lyxfont.C (realize): honor ignore_language too!
11749         (resolved): ditto.
11750
11751         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11752
11753         * text.C (draw): one place more for ignore_language to not draw
11754         itself!
11755
11756 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11757
11758         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11759
11760 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11761
11762         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11763         the minipage conversion problem.
11764
11765 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11766
11767         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11768         insert an inset.
11769
11770 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * BufferView.h: don't forward declare WorkArea
11773
11774         * BufferView.C: don't include WorkArea.h
11775
11776 2001-07-25  André Pönitz <poenitz@gmx.net>
11777
11778         * commandtags.h:
11779         * LyXAction.C:
11780         * lyxfunc.C:  new LFUN 'math-space'
11781
11782         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11783
11784 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * text2.C (toggleInset): call open/close
11787
11788 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * lyxfunc.C (dispatch): add debug for the disabled case
11791
11792         * font.C (buttonText): make similar to rectText
11793
11794         * buffer.C (readInset): comment out parsing of insetlist and
11795         insttheorem
11796
11797         * PainterBase.C (rectText): small correction
11798
11799         * BufferView_pimpl.C: comment out insettheorem and insetlist
11800         * LyXAction.C: ditto
11801         * commandtags.h: ditto
11802
11803 2001-07-24  Juergen Vigna  <jug@sad.it>
11804
11805         * text.C (draw): honor the ignore_language.
11806
11807         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11808
11809 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11810
11811         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11812         char inset.
11813
11814 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11815
11816         * lyxtext.h: remove unused (and unimplemented) methods
11817
11818 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11819
11820         * text.C (getVisibleRow): honor background color
11821
11822         * PainterBase.h:
11823         * Painter.h: remove default color argument for fillRectangle
11824
11825         * text.C (backgroundColor): new method
11826
11827 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * text.C (getVisibleRow): adjust
11830
11831         * font.[Ch] (rectText): new method, metrics
11832         (buttonText): new method, metrics
11833
11834         * PainterBase.[hC]: make rectText and buttonText always draw and take
11835         fewer paramteres.
11836
11837 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11838
11839         * ToolbarDefaults.C (read):
11840         * MenuBackend.C (read): allow escaping in all strings
11841
11842         * BufferView_pimpl.C (insertAndEditInset): new method.
11843         (Dispatch): use insertAndEditInset whenever appropriate.
11844
11845         * BufferView_pimpl.C (insertNote): removed
11846
11847         * BufferView_pimpl.C (smartQuote): new method, moved from
11848         BufferView; if an insetquote cannot be inserted, insert a '"'
11849         character instead.
11850
11851         * BufferView2.C: remove insertCorrectQuote();
11852
11853         * lyxfunc.C (getStatus): Add support for all remaingin
11854         inset-insert lfuns.
11855
11856         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11857
11858         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11859         command (necessary to pass " as parameter of self-insert.
11860
11861         * text.C (selectWordWhenUnderCursor):
11862         (selectWord): add word_location parameter
11863         (selectWordWhenUnderCursor): same + remove special code for word
11864         boundary.
11865         (selectNextWord): use kind() to guess type of insetspecialchar,
11866         not latex().
11867
11868         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11869         (insertErtContents): create ert insets as collapsed.
11870         (readInset): better compatibility code for Info inset.
11871
11872 2001-07-20  Juergen Vigna  <jug@sad.it>
11873
11874         * lyxfunc.C (dispatch): use always LyXFind now!
11875
11876         * text2.C (init): add a reinit flag so that the LyXText can be
11877         reinited instead of deleted and reallocated (used in InsetText).
11878
11879         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11880
11881         * text.C: ditto
11882
11883         * text2.C: ditto
11884
11885 2001-07-18  Juergen Vigna  <jug@sad.it>
11886
11887         * text.C (selectNextWord): handle insets inside inset by calling
11888         always the bv->text functions so that we can go up the_locking_inset!
11889
11890         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11891         in strange locations when inside an inset!
11892
11893         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11894         handling to include insets.
11895
11896         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11897
11898 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11899
11900         * LyXAction.C (init):
11901         * commandtags.h:
11902         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11903         LIGATURE_BREAK, since the name is so stupid.
11904
11905 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11906
11907         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11908         InsetInfos.
11909
11910         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11911
11912         * sp_form.[Ch]: remove.
11913
11914         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11915
11916         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11917         InsetInfo.
11918
11919         * src/buffer.C (readInset): ditto.
11920
11921 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11922
11923         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11924         menuSeparator(), endOfSentenceDot(), ldots() and
11925         hyphenationPoint(), which are therefore removed.
11926         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11927
11928         * LyXAction.C (init):
11929         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11930
11931         * paragraph.C (getWord): removed.
11932
11933         * BufferView_pimpl.C (Dispatch): use last word or selection for
11934         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11935
11936         * lyx_main.C (queryUserLyXDir): do not ask before creating
11937         user_dir, except if it has been named explicitely.
11938
11939 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11940
11941         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11942         a document of zero size.
11943
11944 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11945
11946         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11947         approriately in the c-tor and in require().
11948         (getPackages): output the appropriate LaTeX for natbib support.
11949
11950         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11951         variables "use_natbib" and "use_numerical_citations" when reading the
11952         LyX file.
11953         (readInset): read the various natbib cite commands.
11954         (validate): white-space change.
11955
11956         * bufferparams.[Ch]: new variables "bool use_natbib" and
11957         "bool use_numerical_citations".
11958         (writeFile): output them in the LyX file.
11959
11960 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11961
11962         * lyxfunc.C (getStatus): add support for all the inset insertion
11963         commands.
11964
11965         * text2.C (insertInset):
11966         * paragraph.C (insetAllowed):
11967         * BufferView_pimpl.C (insertInset): update to take in account the
11968         renaming of insertInsetAllowed
11969
11970         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11971
11972         * text2.C (getInset): new method. returns inset at cursor position.
11973
11974         * BufferView_pimpl.C (Dispatch): changes because of this.
11975
11976         * LyXAction.C (init): rename open-stuff to inset-toggle.
11977
11978         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11979
11980         * text2.C (toggleInset): renamed from openStuff; use
11981         Inset::open().
11982
11983 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11984
11985         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11986
11987         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11988
11989 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11990
11991         * buffer.C (readLyXformat2): Add filename to the error dialog
11992
11993 2001-07-18  Juergen Vigna  <jug@sad.it>
11994
11995         * tabular.C (GetCellNumber): put an assert here instead of the check!
11996
11997 2001-07-17  Juergen Vigna  <jug@sad.it>
11998
11999         * BufferView_pimpl.C (toggleSelection): adapted too.
12000
12001         * text.C (selectNextWord): adapted for use with insets.
12002         (selectSelectedWord): ditto
12003
12004 2001-07-17  Juergen Vigna  <jug@sad.it>
12005
12006         * sp_spell.C (PSpell): fix initialitation order.
12007
12008 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * paragraph.C: spacing
12011
12012 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12013
12014         * sp_spell.C: repair language selection for pspell
12015
12016 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * lyxfunc.h: change more methods to begin with lower char.
12019
12020 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12021
12022         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12023         for unknown layouts.
12024
12025 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12026
12027         * buffer.C (readLyXformat2): Generate an error dialog if there are
12028         unknown layouts.
12029
12030 2001-07-16  Juergen Vigna  <jug@sad.it>
12031
12032         * sp_spell.C: always compile ISpell part.
12033
12034         * lyxrc.C: added use_pspell entry and it's handling.
12035
12036 2001-07-13  Juergen Vigna  <jug@sad.it>
12037
12038         * sp_spell.C: removed double includes.
12039
12040 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12041
12042         Consistent use of Lsstream.h:
12043         * Lsstream.h: added using std::stringstream for consistencies sake.
12044
12045         * buffer.C: removed using std::stringstream
12046
12047         * lyxfont.C (stateText):
12048         * paragraph.C (asString):
12049         * text.C (selectNextWord, selectSelectedWord):
12050         * text2.C (setCounter):
12051         * vspace.C (asString, asLatexString):
12052         std::ostringstream -> ostringstream.
12053
12054 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12055
12056         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12057         * commandtags.h: add LFUN_HELP_ABOUTLYX
12058         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12059
12060 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12061
12062         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12063         cursorToggle()
12064         * lyx_gui_misc.C: remove spellchecker
12065         * lyxfunc.C: showSpellchecker
12066         * sp_base.h: added
12067         * sp_ispell.h: added
12068         * sp_pspell.h: added
12069         * sp_spell.C: added
12070         * sp_form.[Ch]: removed
12071         * spellchecker.[Ch]: removed
12072
12073 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12074
12075         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12076         is set.
12077         (simpleTeXSpecialChars): Simply print the input character without
12078         any special translation if pass_thru is set.
12079
12080         * layout.h: Added bool pass_thru to layout class for being able to
12081         implement pass through of a paragraph for Literate Programming.
12082
12083         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12084         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12085         * layout.C (Read): add "passthru" to list of layout tags and add
12086         code to set the pass_thru boolean when it is read.
12087
12088 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * trans_decl.h: remove allowed from KmodInfo
12091
12092         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12093         remove allowed code
12094         (Load): adjust
12095
12096         * paragraph_pimpl.C (erase): use boost::prior
12097
12098         * Painter.C (text): use data() instead of c_str() when length is
12099         also provided.
12100         * WorkArea.C (putClipboard): ditto
12101         * font.h (width): ditto
12102
12103         * BufferView2.C: use it-> instead of (*it). for iterators
12104         * texrow.C: ditto
12105         * paragraph_pimpl.C: ditto
12106         * paragraph.C: ditto
12107         * minibuffer.C: ditto
12108         * language.C: ditto
12109         * kbmap.C: ditto
12110         * encoding.C: ditto
12111         * counters.C: ditto
12112         * converter.C: ditto
12113         * chset.C: ditto
12114         * Variables.C: ditto
12115         * TextCache.C: ditto
12116         * MenuBackend.C: ditto
12117         * LyXAction.C: ditto
12118         * LColor.C: ditto
12119         * FloatList.C: ditto
12120         * DepTable.C: ditto
12121         * ColorHandler.C (LyXColorHandler): ditto
12122
12123 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12124
12125         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12126
12127         * text2.C (openStuff): reintroduce this method (which had been
12128         nuked in NEW_INSETS frenzy).
12129
12130         * lyxfunc.C (Dispatch): when an action has not been handled, use
12131         its name in the error message, not its number.
12132
12133         * paragraph.C (inInset): change method name to begin with lowercase.
12134
12135         * undo_funcs.C:
12136         * text2.C: updates because of this.
12137
12138 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12139
12140         * ToolbarDefaults.C (add): add spaces in error message
12141
12142 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12143
12144         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12145         (readLyXformat2): rename return_par to first_par, use lyxlex's
12146         pushToken and remove the manual push handling.
12147         (parseSingleLyXformat2Token): add another ert comp. variable:
12148         in_tabular, rename return_par to first_par. handle newlines better
12149
12150 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12151
12152         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12153
12154 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * text2.C (getParFromID): removed
12157
12158         * buffer.C (getParFromID): new method moved form lyxtext.
12159         * BufferView2.C (insertErrors): adjust
12160         (setCursorFromRow): adjust
12161         * BufferView_pimpl.C (restorePosition): adjust
12162         * lyxfunc.C (Dispatch): adjust
12163         * undo_funcs.C (textUndo): adjust
12164         (textRedo): adjust
12165         (textHandleUndo): adjust
12166         (textHandleUndo): adjust
12167
12168 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12169
12170         * buffer.C: up' the LYX_FORMAT
12171
12172         * lyxfont.h: turn NO_LATEX on as default
12173
12174         * buffer.C (insertErtContents): new methods of tex style compability.
12175         (parseSingleLyXformat2Token): use it several places.
12176         * tabular.C (OldFormatRead): and here
12177
12178 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * text2.C: remove some commented code.
12181         reindent file.
12182
12183         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12184         * trans.C: changes because of the above.
12185
12186 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12187
12188         * text2.C (setCounter): Fix counters bug with bibliography layout.
12189
12190 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12193         own member functions
12194         (simpleTeXSpecialChars): ditto
12195
12196 2001-07-06  Juergen Vigna  <jug@sad.it>
12197
12198         * a lot of files: changed the access to LyXText::status and the
12199         call of undo-functions.
12200
12201         * undo.[Ch]: added a inset_id to the undo informations.
12202
12203         * undo_funcs.[Ch]: added and moved here all undo functions.
12204
12205         * lyxtext.h: give the status enum a weight, made status_ a private
12206         variable and made accessor functions for it, removed the whole bunch
12207         of undo-functions as they are now in their own file, make some
12208         functions publically available. Added function ownerParagraph with
12209         int parameter.
12210
12211         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12212         made InInset() a const function, added getParFromID() function.
12213
12214         * buffer.[Ch]: added const version for inset_iterator functions,
12215         added getInsetFromID() function.
12216
12217         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12218         changed undo functions for new version.
12219
12220 2001-07-05  Juergen Vigna  <jug@sad.it>
12221
12222         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12223         unknow mechanism does not call the proper constructor but only this
12224         one also if I request the other!?
12225
12226 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12227
12228         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12229
12230         * text2.C (LyXText): use initialization lists.
12231
12232         * lyxtext.h (Selection): initialize set_ and mark_
12233         (init): remove method
12234
12235 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12236
12237         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12238
12239 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12240
12241         * screen.[Ch]: change method names to begin with lowercase
12242
12243         * BufferView_pimpl.C (updateScrollbar): simplify further and
12244         hopefully make it a bit faster.
12245
12246 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12247
12248         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12249         calling directly xforms functions.
12250
12251         * Painter.C (Painter):
12252         * lyx_cb.C (MenuWrite):
12253         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12254         fl_display.
12255
12256         * lyx_gui.C: remove bogus guiruntime extern declaration.
12257
12258 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12261         in NEW_INSETS
12262         (redoDrawingOfParagraph): ditto
12263         (redoParagraphs): ditto
12264         (cutSelection): don't create a object for CutAndPaste use the
12265         static method directly
12266         (pasteSelection): ditto
12267
12268         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12269         LyXview (+ rename)
12270
12271 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12272
12273         * modifications to some other files because of this.
12274
12275         * Makefile.am (lyx_SOURCES): add XFormsView
12276
12277         * XFormsView.[Ch]: new files
12278
12279         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12280         the main window. Move the gui dependent stuff to XFormsView
12281
12282 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * tabular.C (GetCellInset): update cur_cell also in the row/col
12285         version of this function.
12286
12287         * lyxfunc.C: no need to include figure_form.h here.
12288
12289         * FontLoader.h:
12290         * lyxfunc.h:
12291         * lyxscreen.h:
12292         * text2.C:
12293         * lyxvc.C: no need to include forms.h here.
12294
12295 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12296
12297         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12298
12299         * lyxfunc.C (Dispatch):
12300         * Spacing.C (set):
12301         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12302         constructor argument.
12303
12304 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * paragraph.C (Paragraph): dont't clear, and just set layout.
12307         (makeSameLayout): use params's copy contructor.
12308
12309         * ParagraphParameters.[Ch] (makeSame): delete method
12310
12311 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * Variables.[Ch]: fix indentation, rename set to isSet
12314
12315 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * lyxfunc.C (Dispatch): fix typo
12318
12319 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12320
12321         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12322         upper_bound.
12323
12324         * bufferlist.C: include assert.h for emergencyWrite().
12325
12326 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12329           give up at last (bug #425202) !
12330
12331 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12332
12333         * lyx_gui_misc.C:
12334         * sp_form.h:
12335         * sp_form.C:
12336         * spellchecker.h:
12337         * spellchecker.C: strip spellchecker options and bring up
12338           preferences tab instead
12339
12340 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12341
12342         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12343         the istringstream constructor
12344
12345 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12346
12347         * paragraph.C (getLayout): fix return value
12348
12349         * paragraph.h: do not declare getLayout as inline.
12350
12351         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12352
12353 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12354
12355         * lyxcursor.h (operator<): new func
12356         (operator>): new func
12357         (operator>=): new func
12358         (operator<=): new func
12359
12360         * text.C (changeCase): use selection.start and selection.end
12361         (changeRegionCase): require from to be <= to. Require par to be a
12362         valid paragraph.
12363
12364         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12365
12366 2001-06-27  Juergen Vigna  <jug@sad.it>
12367
12368         * text.C (cursorLeftOneWord): changed to return the cursor and added
12369         overlay with BufferView * parameter which calls this one.
12370         (getWord): added
12371         (selectWord): use new getWord function.
12372         (changeCase): renamed from changeWordCase as and extended to work
12373         also on selections.
12374
12375         * lyxtext.h: added enum word_location
12376
12377         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12378         changeCase as this operates now also on selections.
12379
12380 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12381
12382         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12383
12384         * many files: send debug output to Debug::INFO instead of
12385         Debug::ANY.
12386
12387         * converter.C (View):
12388         (Convert):
12389         (Move): send debug output to Debug::FILES instead of console.
12390
12391 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12392
12393         * lyxfunc.C (getStatus): use func_status
12394
12395         * func_status.h: new header, describing the results of
12396         LyXFunc::getStatus;
12397
12398         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12399         LFUN_MATH_HALIGN.
12400
12401 2001-06-25  The LyX Project  <jug@sad.it>
12402
12403         * buffer.C (sgmlOpenTag):
12404         (sgmlCloseTag):
12405         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12406
12407 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12408
12409         * text2.C: remove some dead code
12410
12411         * tabular.C (GetCellInset): store the last cell checked (gotten)
12412
12413         * tabular.h: add the helper for the speedup
12414
12415         * lyxtext.h: remove some dead code
12416
12417 2001-06-26  The LyX Project  <Asger>
12418
12419         * paragraph.C: Change export to LaTeX of alignment to
12420         \begin{center} and family for better roundtrip work with reLyX.
12421
12422         * Tune the math drawing a bit.
12423
12424 2001-06-25  The LyX Project  <Asger>
12425
12426         * LColor.C (LColor): New color for math background. New color
12427         for buttons.
12428
12429 2001-06-25  The LyX Project  <jug@sad.it>
12430
12431         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12432
12433         * lyxfunc.C (Open):
12434         * bufferlist.C (newFile): do not restrict to files ending with
12435         .lyx
12436
12437         * BufferView_pimpl.C (MenuInsertLyXFile):
12438
12439 2001-06-24  The LyX Project  <jug@sad.it>
12440
12441         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12442         of compare_no_case
12443
12444 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * lyxtext.h: rename most methods to begin with a small char.
12447         Lots of changes because of this.
12448
12449         * paragraph.C (Paragraph): do not call fitToSize
12450         (erase): call Pimpl::erase
12451         (insertChar): call Pimpl::insertChar
12452         (insertInset): call Pipl::insertInset
12453         (breakParagraph): do not call fitToSize
12454         (breakParagraphConservative): do not call fitToSize
12455         (fitToSize): remove method
12456
12457         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12458
12459 2001-06-24  The LyX Project  <Asger>
12460
12461         * Fix Qt compilation^2
12462
12463 2001-06-24  The LyX Project  <jug@sad.it>
12464
12465         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12466         depthHook(getDepth()-1).
12467
12468         * paragraph.h:
12469         * ParagraphParameters.h:
12470         * ParameterStruct.h: change type of depth to unsigned int ==
12471         depth_type. Many adaptations to other files before of that.
12472
12473 2001-06-24  The LyX Project  <Asger>
12474
12475         * Fix Qt compilation.
12476
12477 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12478
12479         * paragraph.h: renamed several methods to begin with small letter.
12480         several changes to many parts of the code because of this.
12481
12482 2001-06-23  The LyX Project  <jug@sad.it>
12483
12484         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12485         rewritten to discard all double spaces when KeepEmpty is off
12486         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12487         to only handle newlines but not fiddle with spaces and friends.
12488
12489         * lyxfunc.C (MenuNew): when doing 'new from template', use
12490         template_path as default directory
12491
12492 2001-06-23  The LyX Project  <Asger>
12493
12494         * Clean-up of header file includes all over
12495         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12496
12497 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12498
12499         * paragraph.h: renamed from lyxparagraph.h
12500
12501 2001-06-23  Asger  <lyx@violet.home.sad.it>
12502
12503         * Buffer.h: Removed Buffer::resize
12504         * BufferList.h: Removed BufferList::resize
12505         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12506         the document lazily when we change the width, or the font settings.
12507
12508 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12511
12512 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * buffer.h: remove out of date comment
12515
12516 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * lyxscreen.h:
12519         * screen.C: fix "theoretical" GC leak
12520
12521 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12522
12523         * LaTeX.C (scanAuxFile):
12524         (deplog): remove trailing \r when reading stream (useful under
12525         win32)
12526
12527 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12528
12529         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12530         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12531         and BufferView::theLockingInset(Inset*), so should use them and not
12532         access bv_->text->the_locking_inset directly.
12533
12534         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12535
12536 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * Makefile.am:
12539         * tex-defs.h: remove old unused file
12540
12541 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * BufferView_pimpl.C: fix typo, remove minibuffer message
12544           when buffer has loaded
12545
12546 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12547
12548         * lyxfunc.C (Dispatch): use stringstream
12549         (MenuNew): use stringstream
12550         (Open): use stringstream
12551
12552         * importer.C (Import): use stringstream
12553
12554         * bufferview_funcs.C (CurrentState): use stringstream
12555
12556         * LaTeX.C (run): use stringstream
12557
12558         * BufferView_pimpl.C (savePosition): use stringstream
12559         (restorePosition): use stringstream
12560         (MenuInsertLyXFile): use stringstream
12561
12562 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12563
12564         * BufferView.C:
12565         * Bullet.C:
12566         * ColorHandler.C:
12567         * FontInfo.C:
12568         * FontLoader.C:
12569         * LColor.C:
12570         * LaTeXFeatures.C:
12571         * Painter.C:
12572         * gettext.C:
12573         * lyx_gui_misc.C:
12574         * lyxserver.C:
12575         * vspace.C: removed // -*- C++ -*- as first line.
12576
12577         * lyxfind.h:
12578         * version.h: added // -*- C++ -*- as first line.
12579
12580 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12581
12582         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12583
12584         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12585         of string
12586
12587 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12588
12589         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12590         of floats.
12591
12592 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12593
12594         * gettext.C: include LString.h even when --disable-nls is on.
12595
12596 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12597
12598         * converter.h (Get): changed argument type from int to
12599         FormatList::size_type to avoid unnecessary conversion.
12600
12601         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12602         before using it.
12603
12604 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12605
12606         * gettext.h: include LString.h even when --disable-nls is on.
12607
12608 2001-06-07  Juergen Vigna  <jug@sad.it>
12609
12610         * text.C (BreakAgain): subst spaces with tabs.
12611
12612         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12613         (resizeInsetsLyXText): set force on resizeLyXText.
12614
12615 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12616
12617         * gettext.h (gettext_init):
12618         (locale_init): use a real definition instead of a macro
12619
12620 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12621
12622         * Bufferview_pimpl.C:
12623         * LColor.h:
12624         * LColor.C: further lcolor tidies
12625
12626 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * BufferView_pimpl.C (updateScrollbar): simplify.
12629
12630         * BufferView2.C: don't include insets/insetinfo.h, change
12631         prototype for insertInset and call the Pimpl version. let
12632         updateInset call Pimpl version.
12633
12634         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12635         gotoInset to BufferView::Pimpl
12636
12637 2001-06-01  Juergen Vigna  <jug@sad.it>
12638
12639         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12640         inside a LockingInset (is the update needed at all?).
12641
12642 2001-05-31  Juergen Vigna  <jug@sad.it>
12643
12644         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12645         here not the old one otherwise how should we compare it afterwards
12646         if it's the same!
12647
12648 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12649
12650         * lyxfont.C:
12651         * tabular.C:
12652         * tabular-old.C:
12653         * FontInfo.C: bring C functions into global namespace when
12654         necessary
12655
12656 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12657
12658         * LString.h: make sure config.h has been loaded before LString.h.
12659
12660         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12661         (one for each char read by EatLine!).
12662
12663         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12664         variables.
12665
12666 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12669         to the same as the par we break from
12670
12671 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12674
12675         * MenuBackend.C (expand): also create menu entries for wide
12676         versions of the floats.
12677
12678         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12679
12680         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12681
12682         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12683         frontends/Makefile.am
12684
12685         * text2.C: adjust
12686         * text.C: adjust
12687
12688
12689         * tabular.C (getTokenValue): add std::
12690
12691         * tabular-old.C (getTokenValue): add std::
12692         (getTokenValue): ditto
12693         (getTokenValue): ditto
12694
12695         * screen.C (ToggleSelection): adjust
12696
12697         * lyxtext.h: put selection cursors inside a Selection struct.
12698
12699         * lyxfunc.C (moveCursorUpdate): adjust
12700
12701         * lyxfont.C (latexWriteStartChanges): add std::
12702
12703         * lyxfind.C: adjust
12704
12705         * font.h: delete with(char const *, LyXFont const &)
12706
12707         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12708
12709         * FontInfo.C (getFontname): add std::
12710
12711         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12712         (workAreaButtonPress): adjust
12713         (tripleClick): adjust
12714         (update): adjust
12715         (moveCursorUpdate): adjust
12716         (Dispatch): adjust
12717
12718         * BufferView2.C (gotoInset): adjust
12719
12720 2001-05-30  Juergen Vigna  <jug@sad.it>
12721
12722         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12723         to check pspell I add this as default as I now have new pspell
12724         libraries and they seem to use this.
12725
12726 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12727
12728         * text2.C (CutSelection): make the cursor valid before the call to
12729         ClearSelection.
12730
12731 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12732
12733         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12734         relied on 0 terminated strings and other horrors. Bug found due to
12735         the new assert in lyxstring!
12736
12737         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12738         KP_ keys.
12739
12740 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12741
12742         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12743         to latinkeys.bind.
12744
12745         * lyxfunc.C (processKeySym): change method of getting to the
12746         self-insert char.
12747
12748         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12749         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12750         * BufferView_pimpl.[Ch]: here as private methods.
12751
12752 2001-05-28  Juergen Vigna  <jug@sad.it>
12753
12754         * text.C (SetHeightOfRow): added the update() call again as it is
12755         needed to initialize inset dimensions!
12756
12757 2001-05-16  Juergen Vigna  <jug@sad.it>
12758
12759         * text2.C (SetCharFont): Add new function with BufferView * and
12760         bool toggleall parameters for setting insets internal fonts.
12761         (SetFont): Freeze the undo as we may change fonts in Insets and
12762         all this change should be inside only one Undo!
12763
12764         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12765         setting font's in insets as for them we have the SetFont function!
12766
12767 2001-05-15  Juergen Vigna  <jug@sad.it>
12768
12769         * text2.C (ClearSelection): to be sure we REALLY don't have any
12770         selection anymore!
12771
12772         * tabular.C (TeXCellPreamble): fixed the left border problem for
12773         multicolumn cells.
12774
12775 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12776
12777         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12778         dependancy file
12779
12780 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12783         LFUN_BREAKPARAGRAPH.
12784
12785         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12786         help test to "internal only", similar for LFUN_INSERT_URL
12787
12788         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12789         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12790         auto_region_delete and deadkeys.
12791
12792 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12793
12794         * LColor.h:
12795         * LColor.C: remove some dead entries, tidy a little
12796
12797 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12798
12799         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12800         commented code.
12801         (Dispatch): implement LFUN_ESCAPE
12802
12803         * commandtags.h: add LFUN_ESCAPE
12804
12805         * LyXAction.C (init): add entry for LFUN_ESCAPE
12806
12807         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12808         Remove commented code.
12809         (insertNote): moved here
12810         (open_new_inset): moved here
12811
12812         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12813         BufferView_pimpl
12814
12815 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12816
12817         * kbmap.C (findbinding): clean it up and make it work correctly.
12818
12819         * lyx_main.C (init): do not pass argc and argv as parameters
12820
12821 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12822
12823         * buffer.C: fix path for OS/2 & Win32
12824
12825         * lyx_gui.C:
12826         * lyx_main:
12827         * lyx_main.C: Added os:: class.
12828
12829         * os2_defines.h: update
12830
12831 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12834         better by trying again with reduced state.
12835
12836 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12837
12838         * lyxrc.C (read): print error about invalid key sequence only when
12839         debugging (because not all latinX keysyms are known to some X
12840         servers)
12841
12842         * kbsequence.C (getiso): add a few std:: qualifiers
12843         (getiso): comment out extra return statement.
12844
12845 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12846
12847         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12848         handling.
12849         (Dispatch): enhance the accent inset a bit. (not perfect)
12850
12851 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12854
12855 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12856
12857         * bufferlist.C (emergencyWrite): fix assert() call
12858
12859 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12860
12861         * text.C (InsertChar): Added trivial patch to only send the "you
12862         can not do multiple spaces this way" message once during a
12863         session.
12864
12865 2001-05-08  Baruch Even  <baruch@lyx.org>
12866
12867         * Makefile.am: Changed order of libraries to get LyX to link properly
12868         with the gnome frontend.
12869
12870 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12871
12872         * LaTeXFeatures.h: add a std:: qualifier
12873
12874 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * paragraph.C (String): use stringstream
12877
12878 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * paragraph.C (writeFile): remove footflag arg
12881
12882         * buffer.C (makeLaTeXFile): use stringstream
12883         (latexParagraphs): remove footnot gurba
12884
12885         * LaTeXFeatures.C (getPackages): use stringstream
12886         (getMacros): likewise
12887         (getTClassPreamble): likewise
12888         (getFloatDefinitions): new method
12889
12890         * paragraph.C (writeFile): reindent
12891         (Erase): reindent
12892
12893         * WorkArea.h: revert the xpos + etc changes.
12894
12895         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12896
12897         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12898
12899         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12900         (pasteSelection): likewise
12901         * text2.C (CreateUndo): likewise
12902
12903 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * minibuffer.C (peek_event): temporarily reduce the functionality
12906         of the minibuffer (to allow args on lfuns)
12907
12908         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12909         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12910
12911         * buffer.C (readInset): add compability reading of old float
12912         lists, add reading of new style float list.
12913         (readInset): avoid reevaluation of inscmd.getCmdName()
12914         (getLists): reindent
12915
12916         * MenuBackend.C (MenuItem): implement parsing of
12917         md_floatlistinsert and md_floatinsert.
12918         (expand::LastFiles): move initalizaton of iterators out of loop,
12919         avoid reevaluation.
12920         (expand::Documents): introduce typdedef vector<string> Strings,
12921         and use it.
12922         (expand::ExportFormats): introduce typedef vector<Format const *>
12923         Formats, and use it.
12924         (expand): implement FloatListInsert and FloatInsert.
12925
12926         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12927         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12928         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12929
12930         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12931         handling.
12932         (Dispatch::LFUN_FLOAT_LIST): implement
12933
12934 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12935
12936         * LaTeX.C (run): Fix problem with --export code.
12937
12938 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12939
12940         * BufferView.[Ch] (workarea): removed.
12941         (getClipboard) new method; wrapper for workarea()->getClipboard()
12942
12943         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12944         bug.
12945
12946         * WorkArea.h (width, height, xpos, ypos): These methods all
12947         returned the dimensions of the work_area sub-area of WorkArea,
12948         resulting in a position error if the WorkArea were resized. Now
12949         return the dimensions of the entire WorkArea.
12950
12951         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12952
12953 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12954
12955         * LaTeX.C (deplog): correct the syntax of regex reg1
12956
12957 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12958
12959         * undo.C: remove !NEW_INSETS cruft
12960
12961 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * text2.C: remove !NEW_INSETS cruft
12964
12965         * text.C: remove !NEW_INSETS cruft
12966
12967         * tabular.C: remove !NEW_INSETS cruft
12968
12969         * spellchecker.C: remove !NEW_INSETS cruft
12970
12971         * lyxtext.h: remove !NEW_INSETS cruft
12972
12973         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12974
12975         * lyxfunc.C: remove !NEW_INSETS cruft
12976
12977         * lyxfind.C: remove !NEW_INSETS cruft
12978
12979         * lyx_cb.C: remove !NEW_INSETS cruft
12980
12981         * figureForm.C: remove  !NEW_INSETS cruft
12982
12983         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12984
12985         * buffer.[Ch]: remove !NEW_INSETS cruft
12986
12987         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12988
12989         * CutAndPaste.C: remove !NEW_INSETS cruft
12990
12991         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12992
12993         * BufferView2.C: remove !NEW_INSETS cruft
12994
12995         * BufferView.h: remove !NEW_INSETS cruft
12996
12997 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12998
12999         * Lsstream.h: include LString.h before the sstream headers to
13000         fix problem with gcc 2.95.3 and lyxstring
13001
13002 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13003
13004         * lyx_main.C: add using directives when needed for C functions
13005         declared in std:: namespace.
13006
13007 2001-04-27  Juergen Vigna  <jug@sad.it>
13008
13009         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13010         (SetHeightOfRow): comment out the update call should not be needed!
13011
13012 2001-04-13  Juergen Vigna  <jug@sad.it>
13013
13014         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13015         (LyXTabular): tried to minimize operator= operations (and realized
13016         hopfully Lars wish).
13017
13018 2001-04-27  Juergen Vigna  <jug@sad.it>
13019
13020         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13021
13022 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13023
13024         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13025
13026         * buffer.C (readInset): hack to make listof algorithm work
13027
13028         * BufferView_pimpl.C: hack to make listof algorithm work
13029
13030 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * LyXAction.C: removed all !NEW_INSETS cruft
13033         (init): moved lfun_item in method
13034
13035         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13036
13037 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13038
13039         * BufferView2.C (theLockingInset): white space.
13040
13041 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13042
13043         * minibuffer.C: include <iostream>
13044
13045         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13046
13047         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13048
13049         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13050
13051         * text.[Ch] (TransposeChars): new method
13052
13053 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13054
13055         * call message directly through LyXView instead of through LyXFunc
13056         * BufferView2.C: adjust
13057         * BufferView_pimpl.C: adjust
13058         * FontLoader.C: adjust
13059         * buffer.C: adjust
13060         * bufferview_funcs.C: adjust
13061         * converter.C: adjust
13062         * figureForm.C: adjust
13063         * importer.C: adjust
13064         * lyx_cb.C: adjust
13065         * lyx_gui_misc.C: adjust
13066         * lyxfunc.C: adjust
13067         * lyxvc.C: adjust
13068         * text2.C: adjust
13069         + more files in subdirs
13070
13071         * lyxparagraph.h (size): move up int file
13072         (GetLayout): ditto
13073
13074         * adjust all uses of Assert to lyx::Assert.
13075
13076         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13077         lyxfunctional in namespace lyx
13078         * layout.C (hasLayout): ditto
13079         (GetLayout): ditto
13080         (GetLayout): ditto
13081         (delete_layout): ditto
13082         (NumberOfClass): ditto
13083         * converter.C (GetFormat): ditto
13084         (GetNumber): ditto
13085         (Add): ditto
13086         (Delete): ditto
13087         (SetViewer): ditto
13088         * bufferlist.C (getFileNames): ditto
13089         (emergencyWriteAll): ditto
13090         (exists): ditto
13091         (getBuffer): ditto
13092         * MenuBackend.C (hasSubmenu): ditto
13093         (hasMenu): ditto
13094         (getMenu): ditto
13095         * BufferView_pimpl.C (getInsetByCode): ditto
13096
13097 2001-04-18  Juergen Vigna  <jug@sad.it>
13098
13099         * vspace.C (asLatexString): fixed the 100% problem.
13100
13101 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * lyxfunc.C (Dispatch):
13104         * minibuffer.C:
13105         * minibuffer.h: add a few std:: qualifiers
13106
13107 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * minibuffer.[Ch]: reimplement so that commands is initiated and
13110         run from lyxfunc, simplified som handling, and made the completion
13111         and history code for complete. wip.
13112
13113         * lyxfunc.C (processKeySym): call message
13114         (miniDispatch): new temporary method
13115         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13116         (LFUN_MESSAGE): implement
13117         (LFUN_MESSAGE_PUSH): implement
13118         (LFUN_MESSAGE_POP): implement
13119         (initMiniBuffer): the initial/defualt minibuffer message.
13120
13121         * lyxfont.[Ch]: inline some more getters
13122
13123         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13124
13125         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13126
13127         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13128         (AutoSave): use LFUN_MESSAGE
13129         (Reconfigure): ditto
13130
13131         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13132
13133         * figureForm.C: use LFUN_MESSAGE
13134
13135         * converter.C (runLaTeX): use LFUN_MESSAGE
13136
13137         * bufferview_funcs.C: use LFUN_MESSAGE
13138         (Melt): ditto
13139         (changeDepth): ditto
13140
13141         * bufferparams.h: use boost::
13142
13143         * bufferlist.h: inherit privately from noncopyable
13144
13145         * bufferlist.C (loadLyXFile): remove some commented code.
13146
13147         * buffer.C (runChktex): use LFUN_MESSAGE
13148
13149         * ShareContainer.h: inherit privately from noncopyable
13150
13151         * ParagraphParameters.[hC] (depth): inline it.
13152
13153         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13154         methods.
13155         (message): new method
13156         (messagePush): ditto
13157         (messagePop): ditto
13158         (show): init minibuffer
13159         (showState): direct call
13160
13161         * LaTeX.[Ch]: inherit privately from noncopyable
13162         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13163         instead of WriteStatus.
13164
13165         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13166
13167         * BufferView_pimpl.C (buffer): don't init minibuffer
13168         (workAreaButtonPress): use LFUN_MESSAGE
13169         (workAreaButtonRelease): ditto
13170         (savePosition): ditto
13171         (restorePosition): ditto
13172         (MenuInsertLyXFile): ditto
13173         (workAreaExpose): don't init minibuffer
13174         (update): remove commented code, simplify
13175
13176         * BufferView2.C (openStuff): use LFUN_MESSAGE
13177         (toggleFloat): ditto
13178         (menuUndo): ditto
13179         (menuRedo): ditto
13180         (copyEnvironment): ditto
13181         (pasteEnvironment): ditto
13182         (copy): ditto
13183         (cut): ditto
13184         (paste): ditto
13185         (gotoInset): ditto
13186         (updateInset): remove some commented code
13187
13188         * lastfiles.h: inherit privately from noncopyable
13189         * layout.h: ditto
13190         * lyx_gui.h: ditto
13191         * lyx_main.h: ditto
13192         * lyxlex.h: ditto
13193         * lyxlex_pimpl.h: ditto
13194
13195         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13196         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13197         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13198
13199         * LyXAction.h: inherit privately from noncopyable, add methods
13200         func_begin, func_end, returning iterators to the func map.
13201
13202         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13203         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13204         (func_begin): new method
13205         (func_end): new method
13206
13207         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13208         and not)
13209         (copySelection): ditto
13210         (pasteSelection): ditto
13211
13212         * BufferView.C: whitespace change
13213         * BufferView.h: inherit privately from noncopyable
13214
13215 2001-04-16  Allan Rae  <rae@lyx.org>
13216
13217         * tabular-old.C (l_getline):
13218         * spellchecker.C (sc_check_word):
13219         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13220         an unrecognised preprocessor directive.  So ensure they're wrapped.
13221
13222 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13223
13224         * src/exporter.C (Export): Give an error message when path to file
13225         contains spaces.
13226
13227 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13228
13229         * LaTeX.C (deplog): Always check that foundfile exists.
13230
13231 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13232
13233         * lyx_main.h:
13234         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13235
13236 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * tabular.[Ch] (getLabelList): implement new method
13239
13240         * minibuffer.h: comment ouf setTiimer
13241
13242         * minibuffer.C (ExecutingCB): constify res
13243         (peek_event): constify s
13244         (Set): constify ntext
13245         (Init): constify nicename
13246
13247         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13248
13249         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13250         (savePosition): use two params to Minibuffer::Set
13251         (restorePosition): ditto
13252
13253 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13254
13255         * lyx_main.C: include language.h
13256
13257         * Makefile.am (lyx_main.o): add language.h
13258
13259 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13260
13261         * exporter.C:
13262         * paragraph.C:
13263         * screen.C:
13264         * tabular.C:
13265         * CutAndPaste.C: include gettext.h
13266
13267         * lyxfont.h: remove old hack with ON and OFF.
13268
13269         * lyxparagraph.h:
13270         * lyxfont.h: do not include language.h...
13271
13272         * BufferView2.C:
13273         * LaTeXFeatures.C:
13274         * Painter.C:
13275         * bufferview_funcs.C:
13276         * font.C:
13277         * lyxfont.C:
13278         * text.C:
13279         * text2.C:
13280         * trans_mgr.C:
13281         * paragraph.C: ... but do it here instead
13282
13283 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13286
13287         * tabular.C: small reformat
13288
13289         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13290         NEW_INSETS version
13291         (GetChar): ditto
13292         (BreakParagraph): ditto
13293         (SetOnlyLayout): ditto
13294         (SetLayout): ditto
13295
13296         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13297         with one arg less.
13298
13299         * lastfiles.C: removed most using decl, add std:: where needed
13300
13301         * buffer.C: ws changes
13302
13303         * MenuBackend.C (class compare_format): put into anon namespace
13304         (expand): constify label, names, action, action2
13305         (expand):
13306
13307         * text.C (SingleWidth): constify font
13308         (IsBoundary): constify rtl2
13309         (GetVisibleRow): constify ww
13310
13311         * LaTeX.C (deplog): constify logfile
13312
13313         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13314         start_x, end_x
13315         (workAreaExpose): constify widthChange, heightChange
13316
13317         * lyxrow.C (par): moved
13318         (height): moved
13319         (next): moved
13320         * lyxrow.h: as inlines here
13321
13322         * lyxfont.h (shape): moved from lyxfont.C
13323         (emph): moved from lyxfont.C
13324
13325         * lyxfont.C (LyXFont): use initialization list for all
13326         constructors
13327         (shape): move to lyxfont.h as inline
13328         (emph): move to lyxfont.h as inline
13329
13330
13331 2001-04-04  Juergen Vigna  <jug@sad.it>
13332
13333         * vspace.C: had to include stdio.h for use of sscanf
13334
13335 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13336
13337         * BufferView.h:
13338         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13339         independent of xforms.
13340
13341 2001-04-02  Juergen Vigna  <jug@sad.it>
13342
13343         * spellchecker.C: fixed namespace placing!
13344
13345 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13346
13347         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13348         the LyXParagraph * is 0.
13349
13350 2001-03-29  Juergen Vigna  <jug@sad.it>
13351
13352         * vspace.C: added support for %, c%, p%, l%.
13353         (stringFromUnit): added helper function.
13354         (asLatexString): changed to give right results for the %-values.
13355
13356         * buffer.C: convert the widthp in a width%.
13357
13358 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13359
13360         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13361         figureForm.[Ch].
13362
13363         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13364         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13365
13366         * lyx_cb.[Ch]: see above.
13367
13368         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13369         form1.[Ch].
13370
13371         * form1.[Ch]:
13372         * lyx.[Ch]: replaced by figure_form.[Ch].
13373
13374         * lyx_gui.C:
13375         * lyx_gui_misc.C:
13376         * lyxfunc.C: changed headers associated with above changes.
13377
13378 2001-03-27  Juergen Vigna  <jug@sad.it>
13379
13380         * BufferView_pimpl.C: set the temporary cursor right!
13381
13382 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13383
13384         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13385
13386 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13387
13388         * LString.h: removed "using std::getline"!
13389
13390         * BufferView_pimpl.C (Dispatch): changes due to changes in
13391         InsetInclude::Params.
13392
13393         * buffer.C (tag_name): removed redundant break statements as they were
13394         producing lots of warnings with my compiler.
13395
13396 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * LString.h: add "using std::getline" when using the real <string>.
13399
13400 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13401
13402         * buffer.C: removed bitset usage.
13403         PAR_TAG moved to an anonymous name space.
13404         (tag_name): new funtion, also in the anonymous namespace.
13405         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13406         (makeDocBookFile): clean code. Completed transition from string arrays
13407         to string vectors.
13408         (SimpleDocBookOnePar): code clean.
13409
13410 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13411
13412         * tabular.C: add some comments.
13413
13414 2001-03-22  Juergen Vigna  <jug@sad.it>
13415
13416         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13417         compatibility read a bit and fixed bug with minipage in different
13418         depth.
13419
13420 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13421
13422         * buffer.C (pop_tag): removed.
13423         (push_tag): removed.
13424         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13425         array replaced with vector. Added support for CDATA sections.
13426         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13427         at any nest level.
13428         (makeDocBookFile): XML conformant declaration of CDATA section,
13429         fixed bug related to <emphasis> in the first paragraph char.
13430         (sgmlOpenTag): exclude empty tags.
13431         (sgmlCloseTag): ditto.
13432
13433         * buffer.h (pop_tag): removed.
13434         (push_tag): removed.
13435
13436 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13437
13438         * language.h (Languages): added size_type and size().
13439
13440 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13441
13442         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13443         response on compability reading of minipages. One probliem is that
13444         the old usage of minipages was «flertydig»
13445
13446         * several files here and in subdirs: don't use static at file
13447         scope use anon namespaces instead.
13448
13449 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13450
13451         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13452         LaTeX output. This is necessary for Literate document
13453         processing.
13454
13455 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13456
13457         * buffer.C: insert hfill when needed.
13458
13459         * tabular.C (l_getline): use string::erase, small whitespace change.
13460
13461         * BufferView_pimpl.C: try the anon namespace.
13462         * WorkArea.C: ditto
13463
13464 2001-03-16  Juergen Vigna  <jug@sad.it>
13465
13466         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13467         otherwise it won't open options-dialogs.
13468
13469         * buffer.C: honor pextraWidth(p) on converting minipages.
13470
13471         * tabular.C (l_getline): changed the functions to strip trailing \r.
13472
13473 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13474
13475         * BufferView_pimpl.C:
13476         * minibuffer..C: added "using SigC::slot" declaration.
13477
13478 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13479
13480         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13481
13482         * text2.C: ditto
13483
13484         * text.C: ditto
13485
13486         * paragraph.C: ditto
13487
13488         * lyxtext.h: NO_PEXTRA
13489
13490         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13491
13492         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13493         * ParameterStruct.h: ditto
13494         * ParagraphParameters.h: ditto
13495         * lyxparagraph.h: ditto
13496
13497 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13498
13499         * buffer.C: add compability for minipage alignment.
13500         (latexParagraphs): remove unwanted pextra check.
13501
13502         * several files: remove CXX_WORKING_NAMESPACES
13503
13504         * buffer.C (pop_tag): tie is in namespace boost
13505
13506         * BufferView.h: noncopyable is in namespace boost
13507         * lyxlex.h: ditto
13508         * lyx_main.h: ditto
13509         * lyx_gui.h: ditto
13510         * layout.h: ditto
13511         * lastfiles.h: ditto
13512         * bufferlist.h: ditto
13513         * ShareContainer.h: ditto
13514         * LyXView.h: ditto
13515         * LyXAction.h: ditto
13516         * LaTeX.h: ditto
13517
13518 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13519
13520         * Merging changes from BRANCH_MVC back into HEAD.
13521
13522         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13523
13524 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13525
13526         * BufferView_pimpl.C: change from intl.C
13527
13528         * combox.h:
13529         * combox.C:
13530         * Makefile.am: move combox.*
13531
13532         * form1.h:
13533         * form1.C:
13534         * lyx_gui.C:
13535         * intl.h:
13536         * intl.C: remove dialog (covered by prefs)
13537
13538 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13539
13540         * lyxfunc.C (Dispatch): removed redundant break statement.
13541
13542 2001-03-14  Juergen Vigna  <jug@sad.it>
13543
13544         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13545
13546 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13547
13548         * buffer.C: add hack to fix compability reading of minipages.
13549
13550 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13551
13552         * buffer.C (getLists): Cleanup.
13553
13554 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13555
13556         * lyxfont.C (update): don't honor toggleall on font size.
13557
13558 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13559
13560         * bmtable.c:
13561         * bmtable.h:
13562         * Makefile.am: moved to frontends/xforms/
13563
13564         * lyx_gui_misc.C:
13565         * lyxfunc.C:
13566         * BufferView_pimpl.C: changes for moved mathpanel
13567
13568 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13569
13570         * gettext.h: fix gettext_init() in --disable-nls
13571
13572 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13573
13574         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13575
13576 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * lyx.C:
13579         * lyx.h: strip external form
13580
13581 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13582
13583         * BufferView_pimpl.C: add comment, destroySplash()
13584
13585 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13586
13587         * BufferView_pimpl.C:
13588         * LyXAction.C:
13589         * buffer.C:
13590         * commandtags.h:
13591         * lyxfunc.C: use re-worked insetinclude
13592
13593 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13594
13595         * buffer.C: add using std::stringstream.
13596
13597         * lyx_cb.C: readd using std::ios.
13598
13599         * buffer.C: add using std::map.
13600
13601         * BufferView_pimpl.C: add using std::vector.
13602
13603         * ShareContainer.h: add std:: to swap.
13604
13605         * buffer.h: add some typedefs
13606         * buffer.C (getLists): use them
13607         (getLists): renamed from getTocList.
13608         add a counter for the different float types and use it in the
13609         generated string.
13610         (getLists): use the same counter for the NEW_INSETS and the "non"
13611         NEW_INSETS
13612
13613         * lyx_cb.h: remove unused items, includes, using etc.
13614
13615         * ShareContainer.h: remove some commented code, add more comments
13616         and "documentation".
13617
13618 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13619
13620         * buffer.C (getTocList): make the list also when NEW_INSETS is
13621         defined.
13622
13623         * buffer.h: remove TocType
13624
13625         * buffer.C (getTocList): change to return a map<string,
13626         vector<TocItem> >, implement for dynamic number of list.
13627
13628         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13629         * text2.C (PasteSelection): adjust
13630         * CutAndPaste.C (pasteSelection): adjust
13631
13632         * FloatList.C (FloatList): update from the new_insets branch.
13633         * Floating.[Ch]: ditto
13634         * LaTeXFeatures.C: ditto
13635         * buffer.C: ditto
13636         * lyxlex_pimpl.C: ditto
13637
13638         * paragraph.C (Last): remove when NEW_INSETS is defined.
13639
13640         * other file: changes because of the above.
13641
13642 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13643
13644         * lyxparagraph.h: rename next to next_, previous to previous_,
13645         make them private for NEW_INSETS. Rename Next() to next(),
13646         Previous() to previous().
13647
13648         * other files: changes because of the above.
13649
13650 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13651
13652         * BufferView.h:
13653         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13654         problem.
13655
13656 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13657
13658         * main.C (main): pass lyx_localedir to gettext_init().
13659
13660         * gettext.h: remove locale_init and gettext_init macros
13661
13662         * gettext.C (locale_init): new function
13663         (gettext_init): new function
13664
13665         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13666         setlocale().
13667
13668 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13669
13670         * Moved credits to frontends:
13671         * credits.[Ch]: removed
13672         * credits_form.[Ch]: removed
13673         * lyx_gui_misc.C: remove credits stuff
13674         * Makefile.am:
13675
13676 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13677
13678         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13679
13680         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13681         unneeded destructor.
13682
13683         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13684         a standalone pointer again.
13685
13686         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13687
13688 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13689
13690         * Makefile.am:
13691         * filedlg.h:
13692         * filedlg.C:
13693         * LyXAction.C:
13694         * ToolbarDefaults.C:
13695         * bufferlist.C:
13696         * commandtags.h:
13697         * form1.C:
13698         * form1.h:
13699         * lyx_cb.C:
13700         * lyx_cb.h:
13701         * lyxfunc.h:
13702         * lyxfunc.C:
13703         * BufferView_pimpl.C: use new file dialog in GUII
13704
13705         * lyx_cb.h:
13706         * lyx_cb.C: remove LayoutsCB to Toolbar
13707
13708 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13709
13710         * ShareContainer.h (get): add std:: qualifier
13711
13712 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * ShareContainer.h: define a proper ShareContainer::value_type
13715         type (and use typename to please compaq cxx)
13716
13717 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13718
13719         * lyxparagraph.h: move serveral local vars to
13720         ParameterStruct/ParagraphParameters., use ShareContainer in
13721         FontTable., make vars in FontTable private and add getter and
13722         setter.
13723
13724         * paragraph.C: changes because of the above.
13725
13726         * lyxfont.h: remove copy constructor and copy assignment. (the
13727         default ones is ok), move number inside FontBits. move inlines to
13728         lyxfont.C
13729
13730         * lyxfont.C: add number to initializaton of statics, move several
13731         inlines here. constify several local vars. some whitespace
13732         cleanup. Dont hide outerscope variables.
13733
13734         * Spacing.h: add two new constructors to match the set methods.
13735
13736         * ShareContainer.h: new file, will perhaps be moved to support
13737
13738         * ParameterStruct.h: new file
13739
13740         * ParagraphParameters.h: new file
13741
13742         * ParagraphParameters.C: new file
13743
13744         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13745         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13746
13747         * BufferView_pimpl.C: ParagraphParameter changes.
13748         * buffer.C: Likewise.
13749         * bufferview_funcs.C: Likewise.
13750         * text.C: Likewise.
13751         * text2.C: Likewise.
13752
13753 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13754
13755         * lyxfind.C (LyXReplace): do not redefine default argument in
13756         implementation.
13757         (IsStringInText): ditto
13758         (SearchForward): ditto
13759         (SearchBackward): ditto
13760
13761 2001-03-06  Juergen Vigna  <jug@sad.it>
13762
13763         * lyxfind.C (IsStringInText): put parentes around expressions.
13764
13765 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13766
13767         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13768
13769 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13770
13771         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13772
13773         * stl_string_fwd.h: add comment
13774
13775         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13776
13777         * tabular.h:
13778         * tabular.C: remove unused DocBook methods
13779
13780         * intl.C:
13781         * language.C:
13782         * paragraph.C:
13783         * buffer.C:
13784         killed DO_USE_DEFAULT_LANGUAGE
13785
13786 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13787
13788         * lyx_gui.C: do not include language.h.
13789
13790         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13791         arguments in function implementation.
13792
13793 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13794
13795         * BufferView_pimpl.C: add <ctime>
13796
13797 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13798
13799         * BufferView_pimpl.C: add using std::find_if
13800
13801 2001-02-27  José Matos  <jamatos@fep.up.pt>
13802
13803         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13804         by OnlyPath.
13805
13806 2001-02-11  José Matos  <jamatos@fep.up.pt>
13807
13808         * buffer.C (makeDocBookFile): command styles now have a parameter as
13809         "title" by default.
13810
13811 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13812
13813         * layout_forms.[Ch]: removed
13814         * lyx_cb.[Ch]: out character
13815         * lyx_gui.C: out character
13816         * lyx_gui_misc.C: out character
13817         * bufferview_funcs.C: : out character,
13818         added toggleall as parameter in ToggleAndShow
13819
13820 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13821
13822         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13823
13824         * text2.C (SetCurrentFont): Disable number property at boundary.
13825
13826 2001-02-26  Juergen Vigna  <jug@sad.it>
13827
13828         * lyxfunc.C (getStatus): added a string argument override function so
13829         that this is correctly called from LyXFunc::Dispatch if it contains a
13830         do_not_use_argument which is used!
13831         (Dispatch): added check for "custom" export and call appropriate func.
13832
13833 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13834
13835         * lyxrc.C: Add language_command_local, language_use_babel and
13836         language_global_options.
13837
13838         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13839
13840         * buffer.C (makeLaTeXFile): Use language_use_babel and
13841         language_global_options.
13842
13843 2001-02-23  Juergen Vigna  <jug@sad.it>
13844
13845         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13846         which works with LyXText and putted it inside BufferView. Here now we
13847         only call for that part the BufferView::Dispatch() function.
13848
13849         * BufferView.C (Dispatch): added.
13850
13851         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13852         functions which needs to use a LyXText over from LyXFunc.
13853         (MenuInsertLyXFile): added
13854         (getInsetByCode): added
13855         (moveCursorUpdate): added
13856         (static TEXT): added
13857
13858 2001-02-22  Juergen Vigna  <jug@sad.it>
13859
13860         * BufferView_pimpl.C (update): call a status update to see if LyXText
13861         needs it.
13862
13863 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13864
13865         * vc-backend.C (revert): implement for CVS
13866         (getLog): implement for CVS
13867
13868 2001-02-20  Juergen Vigna  <jug@sad.it>
13869
13870         * text2.C (ClearSelection): added BufferView param for inset_owner call
13871
13872         * lyxfunc.C (TEXT): added this function and use it instead of
13873         directly owner->view()-text of getLyXText().
13874
13875 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13876
13877         * src/layout_forms.C: out preamble
13878         * src/layout_forms.h: out preamble
13879         * src/lyx_cb.C: out preamble
13880         * src/lyx_cb.h: out preamble
13881         * src/lyx_gui.C: out preamble
13882         * src/lyx_gui_misc.C: out preamble
13883         * src/lyxfunc.C: connect with guii preamble
13884
13885 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13886
13887         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13888
13889 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13890
13891         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13892         whether to run bibtex.
13893
13894 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13897
13898 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13899
13900         * Makefile.am (lyx_SOURCES): removed bibforms.h
13901
13902         * vspace.h: doxygen
13903
13904         * text.C (GetVisibleRow): make several local vars const
13905
13906         * tabular.C: small cleanup.
13907
13908         * lyxserver.C (callback): use compare instead of strncmp
13909
13910         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13911         inlines to after class or to paragraph.C
13912
13913         * lyxfont.h: remove friend operator!=
13914
13915         * converter.h: move friend bool operator< to non friend and after
13916         class def.
13917
13918         * combox.h: small cleanup
13919
13920         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13921         to inlines after class def.
13922
13923         * buffer.C (pop_tag): use string operations instead of strcmp
13924
13925         * bmtable.c: doxygen, small cleanup
13926
13927         * LaTeX.h: remove friend operator==
13928
13929 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13930
13931         * screen.C:
13932         * lyxrc.[Ch]:
13933         * lyxfunc.C:
13934         * lyxfont.[Ch]:
13935         * lyx_cb.C:
13936         * intl.[Ch]:
13937         * commandtags.h:
13938         * buffer.C:
13939         * WorkArea.[Ch]:
13940         * LyXAction.C:
13941         * BufferView_pimpl.C:
13942         * BufferView.[Ch]: remove cruft
13943
13944 2001-02-14  Juergen Vigna  <jug@sad.it>
13945
13946         * lyxfunc.C: removed #if 0 unused code
13947
13948         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13949
13950         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13951
13952         * text2.C (SetSelection): added a BufferView * parameter
13953
13954 2001-02-13  Juergen Vigna  <jug@sad.it>
13955
13956         * lyxfunc.C (Dispatch): fixed protected blank problem.
13957         * BufferView2.C (protectedBlank): added LyxText * parameter.
13958
13959         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13960         (AppendColumn): same as above for column_info.
13961
13962         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13963         (moveCursorUpdate): use a LyXText param for support of InsetText.
13964
13965         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13966         (tripleClick): ditto
13967
13968         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13969
13970         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13971
13972         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13973
13974         * text2.C (SetSelection): set correct update status if inset_owner
13975         (ToggleFree): ditto
13976
13977 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13978
13979         * tabular.C: remove some commented code.
13980
13981 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13982
13983         * BufferView_pimpl.C: call hideSplash()
13984
13985         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13986
13987         * include_form.h:
13988         * bibforms.h: remove
13989
13990         * lyxfunc.C:
13991         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13992           add LFUN_CHILD_CREATE
13993
13994         * counters.h: fix tiny typo
13995
13996         * lyx_cb.C:
13997         * lyx.h:
13998         * lyx_gui.C:
13999         * lyx.C: move splash to frontends/xforms/
14000
14001         * lyx_gui_misc.C: move Include and Bibform to frontends
14002
14003         * lyxvc.h: clarify comment
14004
14005         * vspace.C: tiny housekeeping
14006
14007 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14008
14009         * text.C (PrepareToPrint): RTL Fix.
14010
14011         * paragraph.C (GetUChar): New method.
14012         (String):  Use GetUChar.
14013
14014         * buffer.C (asciiParagraph): Use GetUChar.
14015
14016 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14017
14018         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14019
14020 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14021
14022         * buffer.h:
14023         * buffer.C: rename to getLogName(), handle
14024           build log / latex log nicely
14025
14026 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14027
14028         * MenuBackend.C:
14029         * MenuBackend.h: remove support for reference menuitem type.
14030
14031 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14032
14033         * BufferView_pimpl.C: housekeeping
14034         * BufferView_pimpl.h:
14035         * LyXView.h:
14036         * Makefile.am:
14037         * Timeout.C:
14038         * Timeout.h:
14039         * minibuffer.h: move Timeout GUI-I
14040
14041 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14042
14043         * lyxrc.C (read): Update converters data-structures.
14044
14045 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14046
14047         * LaTeX.h (operator!=): add operator != for Aux_Info
14048
14049 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14050
14051         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14052
14053         * LaTeXLog.C: deleted, useful code moved to Buffer
14054
14055         * buffer.h:
14056         * buffer.C: new function getLatexLogName()
14057
14058         * lyx_gui_misc.C:
14059         * lyx_gui.C:
14060         * lyxvc.C:
14061         * lyxvc.h:
14062         * lyxfunc.C: use frontends for LaTeX and VC logs
14063
14064 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14065
14066         * LaTeX.h: yet another std:: that Allan forgot.
14067
14068         * Variables.C (set): renamed from isset(), because this clashes
14069         with some HP-UX macros (grr).
14070
14071 2001-02-06  Allan Rae  <rae@lyx.org>
14072
14073         * LaTeX.h: Another bug fix.  Missing std:: this time.
14074
14075 2001-02-04  Allan Rae  <rae@lyx.org>
14076
14077         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14078         floats problem. I've left it commented out because it's not quite
14079         correct.  It should also test that the current object is a table or
14080         figure inset.  But I haven't gotten around to figuring out how to do
14081         that.  I *think* it'll be something like: "table" == inset.type()
14082
14083         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14084         bool.
14085
14086 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14087
14088         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14089         all the citation/databases/styles in the auxilary file.
14090         (run): Rerun latex if there was a babel language error.
14091
14092 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14093
14094         * text.C (Backspace): Preserve the font when changing newline char
14095         with a space.
14096         (BreakParagraph): If the cursor is before a space, delete the space.
14097
14098         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14099
14100 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14101
14102         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14103         new argument (code).
14104         (ChangeCitationsIfUnique): New method.
14105
14106         * paragraph.C (GetPositionOfInset): Handle bibkey.
14107
14108 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * BufferView_pimpl.h: change type of Position::par_pos to
14111         LyXParagraph::size_type.
14112
14113 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14114
14115         * BufferView_pimpl.C (savePosition, restorePosition): Write
14116         messages to minibuffer.
14117
14118 2001-01-28  José Matos  <jamatos@fep.up.pt>
14119
14120         * buffer.C (makeDocBookFile): adds support for document language.
14121         A silly restriction on the name of LatexCommand types where removed.
14122         Added support for CDATA sections, allows to chars unescaped, used
14123         among others in code, to avoid escape < and >.
14124
14125 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14126
14127         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14128         saved positions instrad of a stack. Furthermore, a position is
14129         stored using paragraph id/paragraph position.
14130
14131         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14132         Remove LFUN_REF_BACK.
14133
14134 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * converter.C (dvipdfm_options): New method.
14137
14138 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14139
14140         * vspace.C (isValidLength): Fix for empty input string.
14141
14142 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * LyXAction.C (init): change description of LFUN_FIGURE to
14145         "Insert Graphics"
14146
14147 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * LaTeX.C: add using directive
14150
14151 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14152
14153         * MenuBackend.C (expand): Fix the sorting of the formats.
14154
14155 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14156
14157         * lyx_main.C: tiny error message fix
14158
14159 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14162         calling fl_initialize(). This fixes the problem with ',' as
14163         decimal separator in text files.
14164
14165 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14166
14167         * trans.C (process): Fix the keymap bug.
14168
14169 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14170
14171         * LaTeX.C (scanAuxFiles): New method. Provides support for
14172         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14173         (scanLogFile) Scan for "run BibTeX" messages.
14174
14175         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14176         OT1 font encoding. Also, load the aecompl package if the ae
14177         package is loaded.
14178
14179         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14180
14181 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14182
14183         * texrow.C (increasePos): turn two error messages into debug
14184         messages.
14185
14186 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14187
14188         * LaTeX.C (scanAux): Handle the \@input macro.
14189         (runBibTeX): Use scanAux().
14190
14191         * language.C (latex_options_): New field.
14192
14193         * LaTeXFeatures.C (getMacros): Add language macros.
14194
14195         * buffer.C (makeLaTeXFile): Small fix.
14196
14197 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14198
14199         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14200
14201         * text2.C: add a using directive.
14202
14203 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14204
14205         * BufferView2.C:
14206         * lyx_gui_misc.h:
14207         * lyxfr1.C:
14208         * lyxfunc.C: kill LyXBell.
14209
14210 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14211
14212         * text.C (IsBoundary): Remove the error message
14213
14214         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14215
14216         * lyxrc.C (setDefaults): Correct initialization value for
14217         font_norm_type.
14218
14219 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14220
14221         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14222         gotoError().
14223
14224         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14225         and GotoNextNote().
14226
14227         * src/LyXAction.C: Added reference-next.
14228
14229         * text.C (InsertChar): Use contains instead of strchr.
14230
14231         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14232
14233 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14236         alignment commands (when needed).
14237
14238         * text.C (InsertChar): Add ':' to number separator chars.