]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
08f1da8beca054a9cf02e8e6bc9f85e21e59641e
[lyx.git] / src / ChangeLog
1
2 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3
4         * factory.C: Syntax change for CharStyles
5
6 2003-11-28  André Pönitz  <poenitz@gmx.net>
7
8         * BufferView.[Ch]:
9         * BufferView.[Ch]:
10         * buffer.[Ch]:
11         * buffer.[Ch]: move LyXText member
12
13 2003-11-28  André Pönitz  <poenitz@gmx.net>
14
15         * BufferView.[Ch]: make LyXText * text a private member
16
17         * BufferView_pimpl.C:
18         * cursor.C:
19         * iterators.C:
20         * lyx_cb.C:
21         * lyxfind.C:
22         * lyxtext.h:
23         * rowpainter.[Ch]:
24         * text.C:
25         * text2.C:
26         * undo.C: adjust
27
28         * output_plaintext.C: cleanup
29
30 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
31
32         * buffer.C: 
33         * lyxtextclass.[Ch]: parametrize SGML document header
34
35 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
36
37         * converter.[Ch]:
38         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
39         getFlavor().
40
41 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
42
43         * text2.C (setFont): rework using PosIterator (no more recursive)
44         (setCharFont): no more needed 
45         (setLayout): no more selection cursors fiddling (done by redoCursor)
46         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
47         destroy remaining ones)
48
49 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
50
51         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
52         * lyxtext.h: ditto
53         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
54         selection cursors
55         * lyxfunc.C: adjust
56         * text3.C: adjust + re-allow multi par depth changes
57         * textcursor.C: simplify a bit
58
59 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * src/buffer.C:
62         * src/lyxlayout.C:
63         * src/lyxlayout.h:
64         * src/lyxtext.h:
65         * src/output_docbook.C:
66         * src/output_latex.C:
67         * src/paragraph.C:
68         * src/paragraph.h:
69         * src/sgml.C:
70         * src/sgml.h:
71         * src/text2.C: Introducing a number of tags parametrizing various
72         XML formats that we may want to support
73
74 2003-11-25  André Pönitz  <poenitz@gmx.net>
75
76         * InsetList.[Ch] (begein, end): inline as suggested by profiler
77
78         * lyxtext.h (leftMargin/rightMargin): simplify interface
79
80         * rowpainter.C:
81         * text.C:
82         * text2.C:
83         * text3.C: adjust
84
85 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
86
87         * lyxfunc.C (dispatch): propogate the bibtex databases from the
88         master file to any child files. Fixes bug 546.
89
90 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
91
92         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
93
94 2003-11-24  André Pönitz  <poenitz@gmx.net>
95
96         * rowpainter.C: simplification
97
98         * text2.C (updateCounters): remove call to redoParagraph on 
99         changed labels as this is far too expensive.
100
101 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
102
103         * converter.C (convert): fix a crash: this function gets
104         called with buffer == 0 from importer code.
105
106 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
107
108         * text3.C (cursorPrevious): make sure that we do not compare
109         iterators form different containers.
110         (cursorNext): ditto
111
112         * rowpainter.C (paintSelection): make sure that we do not compare
113         iterators from different containers.
114
115         * text3.C (dispatch): [PRIOR] make sure that we do not compare
116         iterators from different ParagraphList containers.
117         [NEXT] ditto
118
119         * text2.C (LyXText): change order of initialization slightly
120         (operator=): new function. copy all variables except cache_par_
121         (moveUp): make sure that we do not compare iterators from
122         different ParagraphList constainers.
123         (moveDown): ditto
124
125         * text.C (firstPar): new function
126         (lastPar): new function
127         (endPar): new function
128
129         * lyxtext.h: move things around and group public functions, public
130         variables, private functions, private variables
131
132 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
133
134         * factory.C: change call to InsetERT constructor to avoid
135         additional invocation of method status
136         * text2.C (toggleInset): remove redundant update() call
137         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
138         instead of a Bufferview pointer
139
140 2003-11-21  André Pönitz  <poenitz@gmx.net>
141
142         * rowpainter.C: simplification
143
144 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
145
146         * text3.C (dispatch): make possible to extend a word/row selection
147         with the mouse
148
149 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
150
151         * lyxtext.h: x0_,y0_ -> xo_,yo_
152         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
153         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
154         * rowpainter.C (paintRows): paint full paragraphs
155
156 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
157
158         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
159         screen coordinates)
160
161 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
162
163         * lyxtext.h: add x0_, y0_
164         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
165         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
166
167 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
168
169         * text2.C (setCursorIntern): move the x_target update here *
170         * text3.C: change some bv() to true/false in calls to
171         cursorUp/Down/Right/Left
172         * cursor.C: use helper function.
173
174 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
175
176         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
177         * paragraph_funcs.[Ch]: correct comment
178         * rowpainter.C: do not paint selections away from bv->cursor()
179         Fix a long standing selection painting bug.
180         * text3.C: generalize mouse-selection code to LyXTexts other that
181         top one
182         * textcursor.C: do not use y coords if we can use par offsets
183
184 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
185
186         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
187         cursor position after e.g. inset insert)
188
189 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
190
191         * lyxfind.C (replace): adjust to locking removal + some
192         code simplification
193
194 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
195
196         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
197         of the path
198
199 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
200
201         * lyxlayout.[Ch]:
202         * output_docbook.C: XML sanitation: new layout
203         parameters InnerTag and CommandDepth
204
205 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * BufferView_pimpl.C:
208         * factory.C:
209         * text3.C: Fix the insertion and modification of button-style
210         insets
211
212 2003-11-13  André Pönitz  <poenitz@gmx.net>
213
214         * InsetList.[Ch]: remove deleteLyXText
215
216         * paragraph.[Ch]: cache beginOfBody position
217
218         * Bidi.C:
219         * text.C:
220         * text2.C:
221         * text3.C: remove superfluous update() calls
222
223         * vspace.C: cleanup
224
225 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
226
227         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
228         * BufferView.C (fitLockedInsetCursor): remove
229         * cursor.[Ch] (getDim): add
230         * text.C (getRowNearY): add faster version
231         * text3.C: remove some update calls
232
233 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
234
235         * LaTeXFeatures.C:
236         * LyXAction.C:
237         * MenuBackend.C:
238         * MenuBackend.h:
239         * dispatchresult.h:
240         * factory.C:
241         * lfuns.h:
242         * lyxfunc.C:
243         * lyxtextclass.C:
244         * lyxtextclass.h:
245         * text3.C: The Character Style /XML short element patch.
246
247 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
248
249         * text3.C:
250         * factory.C: Small step to solving 'unable to insert some insets'
251         problem
252
253 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
254
255         * cursor.[Ch] (updatePos): new function for updating the y
256         position of the tip inset
257         * bufferview_funcs.C (put_selection_at):
258         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
259
260 2003-11-11  André Pönitz  <poenitz@gmx.net>
261
262         * text.C: remove big comment on invalid Paragraph pointers as it is
263         not valid anymore
264
265 2003-11-11  André Pönitz  <poenitz@gmx.net>
266
267         * text_funcs.[Ch]: merge with ...
268
269         * text.C: ... this
270
271         * lyxtext.h:
272         * text2.C:
273         * text3.C: adjust
274
275         * Makefile.am: remove text_funcs.[Ch]
276
277 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
278
279         * cursor.C (getPos): return absolute cached y coord
280
281         * BufferView_pimpl.C (fitCursor): new simplistic code
282         (workAreaDispatch): add a fitCursor call
283
284 2003-11-10  André Pönitz  <poenitz@gmx.net>
285
286         * BufferView.[Ch]:
287         * BufferView_pimpl.[Ch]: merge update() and updateInset()
288
289 2003-11-10  André Pönitz  <poenitz@gmx.net>
290
291         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
292         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
293         indicate that the cursor needs to leave an inset
294
295         * lyxtext.h: remove inset locking
296
297         * cursor.[Ch]: re-implement functionality provided by inset locking
298
299         * BufferView.[Ch]:
300         * BufferView_pimpl.[Ch]:
301         * LyXAction.C:
302         * bufferview_funcs.[Ch]:
303         * factory.C:
304         * funcrequest.[Ch]:
305         * iterators.C:
306         * lyx_cb.C:
307         * lyxfind.C:
308         * lyxfunc.C:
309         * text.C:
310         * text2.C:
311         * text3.C:
312         * undo.C: adjust
313
314 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
315
316         * PosIterator.[Ch]: replace the stack with a vector, add inset
317         accesor
318         * iterators.[C]: adjust
319
320 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
321
322         * lyxfind.C (replaceAll): mark the buffer dirty if something was
323         replaced
324         * paragraph_funcs.C (readParToken): put the correct id in the
325         error item, not the id of the top paragraph
326
327 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
328
329         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
330         * bufferview_funcs.C (put_selection_at): use the above
331
332 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
333
334         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
335
336 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * output_linuxdoc.h:
339         * output_plaintext.h:
340         * output.h:
341         * output_docbook.h: add #include statements
342
343 2003-11-05  José Matos  <jamatos@lyx.org>
344
345         * output_docbook.[Ch]:
346         * output_latex.[Ch]:
347         * output_linuxdoc.[Ch]:
348         * output_plaintext.[Ch]: New files for output formats.
349         * output.[Ch]: New file for helper functions.
350
351         * buffer.[Ch]:
352         * paragraph_funcs.[Ch]: output functions moved to new files.
353
354         * outputparams.h: rename of latexrunparams.h
355
356         * LaTeX.[Ch]:
357         * buffer.[Ch]:
358         * bufferlist.[Ch]:
359         * converter.[Ch]:
360         * exporter.C:
361         * paragraph.[Ch]:
362         * paragraph_funcs.[Ch]:
363         * paragraph_pimpl.[Ch]:
364         * tabular.[Ch]: rename ascii to plaintext
365         and LatexRunParams to OutputParams.
366
367 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
368
369         * iterators.[Ch] (text): require bv argument
370         * undo.C (recordUndo):
371         * lyxfunc.C (dispatch):
372         * bufferview_funcs.C (put_selection_at): adjust
373
374 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
375
376         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
377
378 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
379
380         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
381         nestings
382
383 2003-11-04  André Pönitz  <poenitz@gmx.net>
384
385         * cursor.[Ch]: restructure
386
387         * BufferView.[Ch]:
388         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
389
390         * iterators.[Ch] (asCursor): remove
391
392         * lfuns.h: remove LFUN_INSET_EDIT
393
394         * lyxfunc.C:
395         * tabular.C:
396         * text.C:
397         * text2.C:
398         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
399
400 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
401
402         * lyxfind.[Ch]: complete overhaul
403         * BufferView_pimpl.C:
404         * lyxfunc.C: adjust
405         * paragraph.[Ch] (insert): add
406
407 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
408
409         * BufferView.[Ch]:
410         * lyxtext.h:
411         * text.C: remove dead spellcheck code
412
413 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
414
415         * dispatchresult.h: add a val setter
416
417         * cursor.C (dispatch): use a tempvar for data_[i]
418
419 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
420
421         * PosIterator.[Ch]: compile fix
422
423 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
424
425         * text.C (cursorPar): deactivate the cursor cache
426
427 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
428
429         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
430
431 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
432
433         * text3.C (dispatch): adjust for new DisptchResult semantics.
434
435         * lyxfunc.C (dispatch): handle update when return from
436         Cursor::dispatch, adjust for new DispatchResult semantics.
437
438         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
439         DispatchResult(true) mean to not update. Add class functions for
440         setting dispatched and update, as well as reading.
441
442         * cursor.C (dispatch): don't handle update here
443
444 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
445
446         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
447         * trans_mgr.C: adjust
448
449         * paragraph_funcs.C (readParToken): exception safety
450
451         * lyxvc.h: store the vcs pointer in a scoped_ptr
452         * lyxvc.C: adjust
453
454         * lyxsocket.C (serverCallback): exception safety
455
456         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
457
458         * ispell.C (clone): make it return a auto_ptr
459
460         * factory.C (createInset): exception safety
461         (readInset): exception safety
462
463         * bufferlist.C (newBuffer): exception safety
464
465         * Thesaurus.C (Thesaurus): use initialization for aik_
466
467         * MenuBackend.C (expandToc): exception safety.
468
469 2003-11-03  André Pönitz  <poenitz@gmx.net>
470
471         * buffer.C:
472         * buffer.h:
473         * bufferview_funcs.C: remove getInsetFromId()
474
475         * lyxcursor.[Ch]:
476         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
477
478         * lyxfunc.C:
479         * text2.C:
480         * text3.C: adjust
481
482 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
483
484         * PosIterator.C (distance, advance): new
485         * bufferview_funcs.[Ch] (put_selection_at): new
486         * iterators.[Ch] (lockPath): new
487
488 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
489
490         * iterators.[Ch] (asPosIterator): added
491         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
492         * PosIterator.[Ch]: added
493
494 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
495
496         * text3.C:
497         * lyxfunc.C:
498         * cursor.C (dispatch):
499         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
500
501         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
502         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
503         contructor, add a class function dispatched. Remove operator>=
504
505 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
506
507         * debug.C: only use the default constructor for debugstream
508         (lyxerr) here.
509
510         * main.C (main): include debug.h and setup the lyxerr streambuf
511         here.
512
513 2003-10-31  José Matos  <jamatos@lyx.org>
514
515         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
516
517         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
518         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
519         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
520         * paragraph_pimpl.C (simpleTeXSpecialC):
521         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
522         add LatexRunParams argument.
523
524         * exporter.C (Export): change call accordingly.
525
526         * latexrunparams.h: add new member to take care of the other backends.
527 2003-10-30  José Matos  <jamatos@lyx.org>
528
529         * buffer.C (makeLinuxDocFile, makeDocBookFile):
530         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
531         factorise code for paragraph output.
532         * buffer.[Ch]:
533         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
534         move functions.
535
536 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
537
538         * text3.C (dispatch):
539         * lyxfunc.C (dispatch):
540         * cursor.C (dispatch):
541         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
542
543         * dispatchresult.h: make the dispatch_result_t ctor explicit
544
545 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
546
547         * sgml.[Ch]:
548         * buffer.C: small refactoring of docbook stuff
549
550 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
551
552         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
553         meaning.
554
555 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
556
557         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
558         operator dispatch_result_t, and operators for == != and >=
559
560         * cursor.C (dispatch): adjust for operator dispatch_result_t
561         removal. comment out call to update
562
563         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
564
565 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
566
567         * text3.C:
568         * text2.C:
569         * text.C:
570         * lyxtext.h:
571         * lyxfunc.C:
572         * cursor.C:
573         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
574         (dispatch):
575
576         * dispatchresult.h: new file, DispatchResult broken out of
577         insets/insetbase.h
578
579         * Makefile.am (lyx_SOURCES): add dispatchresult.h
580
581 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
582
583         * text.C (rowBreakPoint): put a hack inside #if 0
584
585 2003-10-28  André Pönitz  <poenitz@gmx.net>
586
587         * lyxtext.h:
588         * metricsinfo.C:
589         * paragraph_funcs.C:
590         * rowpainter.C:
591         * text.C:
592         * text2.C: general cleanup (lots of small stuff)
593
594 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
595
596         * text2.C (cursorEnd): simple fix to the "end key goes to one
597         before the end on last row" bug
598
599 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
600
601         * text.C (backspace): fix the "zombie characters"
602
603 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
604
605         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
606
607 2003-10-27  André Pönitz  <poenitz@gmx.net>
608
609         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
610
611         * factory.C: handle new InsetPagebreak, InsetLine
612
613         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
614         and move handling into new InsetPagebreak, InsetLine
615
616         * BufferView_pimpl.C:
617         * LyXAction.C:
618         * ParagraphParameters.C:
619         * ParameterStruct.h:
620         * lyxfunc.C:
621         * lyxtext.h:
622         * paragraph.C:
623         * paragraph.h:
624         * paragraph_funcs.C:
625         * paragraph_pimpl.C:
626         * rowpainter.C:
627         * text.C:
628         * text2.C:
629         * text3.C: adjust
630
631 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
632
633         * text.C:
634         * lyxrow_funcs.[Ch]:
635         * Bidi.C:
636         * paragraph.C:
637         * lyxtext.h:
638         * rowpainter.C:
639         * text2.C:
640         * text3.C: remove lastPos uses in favour of Row::endpos
641
642 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
643
644         * undo.C (performUndoOrRedo): fix two crashes by setting a
645         cursor by hand and reordering some calls. Use bv->lockInset instead
646         of inset->edit because the latter loses cursor information
647
648 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
649
650         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
651         by Martin
652         (rowBreakPoint): fix width. change point to point + 1.
653         Add a missing check.
654
655 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
656
657         * MenuBackend.C:
658         * lyxfunc.C: fix (at least partly) the problems
659         with the Nav menu and headers inside branch insets
660         reported by Kayvan
661
662 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
663
664         * paragraph.C (getChar): add strong asserts
665
666         * lyxrow_funcs.C (lastPos): remove hideous hack
667
668         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
669         (fill): adjust to that (avoid an infinite loop)
670
671 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
672
673         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
674
675 2003-10-23  André Pönitz  <poenitz@gmx.net>
676
677         * RowList_fwd.h: change list<> to vector<> to gain speed
678         after suggestion from Alfredo
679
680 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
681
682         * lyxtext.h: move the bidi stuff from here...
683         * text.C: and here
684         * text2.C: and here
685         * Bidi.[Ch]: ... to here
686
687 2003-10-23  André Pönitz  <poenitz@gmx.net>
688
689         * lyxtext.h:
690         * text.C (isLastRow, isFirstRow): new functions
691
692         * paragraph.h: new width cache member
693
694         * rowpainter.C: replace RowList::iterator with Row & where possible
695
696         * lyxfunc.C: replace several view()->text with a single call
697
698         * toc.C: fix 'unused' warning
699
700 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
701
702         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
703         when woring with stream::pos_type
704         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
705
706 2003-10-22  André Pönitz  <poenitz@gmx.net>
707
708         * lyxtext.h:
709         * text.C: use Row & instead of RowList::iterator
710
711         * lyxrow.h: rename end() to endpos()
712
713         * rowpainter.C:
714         * text.C:
715         * text2.C: adjust
716
717 2003-10-22  Angus Leeming  <leeming@lyx.org>
718
719         * buffer.[Ch] (fully_loaded): new member function, returning true
720         only when the file has been loaded fully.
721         Used to prevent the premature generation of previews and by the
722         citation inset to prevent computation of the natbib-style label.
723
724         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
725         templates are all set up.
726
727         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
728
729 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
730
731         * text.C: fixed an "oops" in the "is a bit silly"
732         bug fix
733
734 2003-10-21  André Pönitz  <poenitz@gmx.net>
735
736         * FuncStatus.[Ch]: small stuff, whitespace
737
738         * lyxfont.[Ch]: operator<<() for debug reasons
739
740         * lyxfunc.C:
741         * lyxrow_funcs.C:
742         * lyxtext.h: whitespace, spelling
743
744         * paragraph.C: naming of variables
745
746         * text.C:
747         * text2.C: small stuff
748
749
750 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
751
752         * text.C: (1) finish off the inset display() work;
753         (2) fix the "is a bit silly" bug (accessing char
754         past end of par).
755
756 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
757
758         * text.C: re-introduce display() for insets, fixing the
759         various bugs (stretch of line above, math inset
760         positioning, ...)
761
762 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * text.C (rightMargin): remove spurious semicolon
765
766         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
767         1415)
768
769 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
770
771         * text3.C: fix one crash due to wrong cursor def
772
773 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
774
775         * vc-backend.C (scanMaster): make the regex static
776
777         * LaTeX.C (scanAuxFile): make the regexs static
778
779         * text3.C (doInsertInset, dispatch, dispatch):
780         * text2.C (cursorUp, cursorDown):
781         * text.C (selectNextWordToSpellcheck):
782         * BufferView_pimpl.C (dispatch):
783         * lyxfunc.C (dispatch):  localDispatch -> dispatch
784
785 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * lyxsocket.C: include <cerrno>
788
789 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
790
791         * lyxfunc.C (dispatch): remove textcache stuff
792
793         * bufferlist.C (release): remove textcache stuff
794         (closeAll): ditto
795
796         * TextCache.C: delete file
797         * TextCache.h: delete file
798
799         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
800
801         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
802         delete of the bv_->text.
803         (resizeCurrentBuffer): remove texcache stuff
804         (workAreaResize): ditto
805
806 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
807
808         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
809         action.
810
811 2003-10-16  André Pönitz  <poenitz@gmx.net>
812
813         * lyxrow.[Ch]:
814         * paragraph.h:
815         * rowpainter.C:
816         * text.C:
817         * text2.C:
818         * text3.C: speed up by storing y positions per paragraph plus per-row
819         offset instead of having a 'full' y position in the row.
820
821 2003-10-15  André Pönitz  <poenitz@gmx.net>
822
823         * iterators.[Ch]:
824         * iterators.[Ch]:
825         * undo.[Ch]: make undo aware of inner insets
826
827 2003-10-14  Angus Leeming  <leeming@lyx.org>
828
829         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
830         static member functions LyX::ref() and LyX::cref.
831         (lastfiles): new accessor functions for the new lastfiles_ member var.
832         (addLyXView, views_): add a new LyXView to the list of views_.
833         (updateInset): loop over all LyXViews to call their own updateInset
834         member function, returning a pointer to the Buffer owning the inset.
835
836         * BufferView_pimpl.C (loadLyXFile):
837         * MenuBackend.C (expandLastfiles):
838         * bufferlist.C (MenuWrite, QuitLyX):
839         lastfiles is no longer a global variable.
840         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
841
842         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
843         static function. Access through LyX::cref().emergencyCleanup().
844
845 2003-10-14  André Pönitz  <poenitz@gmx.net>
846
847         * iterators.[Ch]: new direct access to innermost LyXText and Inset
848
849         * undo.[Ch]: restoring part of 'undo in insets'
850
851         * Makefile.am:
852         * undo_funcs.[Ch]: merge with undo.[Ch]
853
854         * tabular.C: small cleansing stuff
855
856 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
857
858         * paragraph_funcs.C (readParToken): report unknown insets as error
859         boxes. Use the outer paragraph as location (also for unknown
860         tokens).
861
862         * factory.C (readInset): do not abort on reading an unknown inset.
863         Eat it and return 0.
864
865 2003-10-13  Angus Leeming  <leeming@lyx.org>
866
867         * lyx_main.C (LyX): remove call to setDisplayTranslator().
868
869         * lyxrc.C: displayTranslator is now a function,
870         declared in GraphicsTypes.h.
871
872 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
873
874         * format.C: new placeholder $$a to pass the socket address.
875
876         * bufferlist.[Ch]: new function getBufferFromTmp.
877
878         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
879           files in the temporary dir.
880
881 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
882
883         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
884
885         * Makefile.am: add lyxsocket.[Ch].
886
887         * lyx_main.C (error_handler): handle SIGPIPE.
888
889 2003-10-13  André Pönitz  <poenitz@gmx.net>
890
891         * BufferView_pimpl.C:
892         * lyxtext.h:
893         * text.C:
894         * text2.C:
895         * text3.C:
896         * undo_funcs.[Ch]: use paroffset_type instead of
897           ParagraphList::iterators to prevent multiple conversion
898           (and get a more robust interface)
899
900 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
901
902         * lyxfunc.C (dispatch): RESULT -> dispatch_result
903         * lyxtext.h: ditto
904         * text3.C (dispatch): ditto
905
906 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
907
908         * LaTeX.C (handleFoundFile): move the static to smaller scope,
909         move the onlyfile, use onlyfile instead of foundfile in a couple
910         of places.
911
912         * DepTable.C (update): flush the error stream a bit more
913
914 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
915
916         * lyxserver.C (callback): adjust
917
918         * lyxfunc.C (getStatus): add a missing brace in commented code
919         (ensureBufferClean): reindent
920         (dispatch): delete version taking a string
921
922 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
923
924         * LaTeX.C (deplog): move found file handlig from here...
925         (handleFoundFile): .. to new function here.
926         (deplog): make sure to discover several files mentioned on the
927         same log line.
928
929 2003-10-10  André Pönitz  <poenitz@gmx.net>
930
931         * lyxfunc.C:
932         * lyxtext.h:
933         * tabular.C:
934         * text.C:
935         * text2.C:
936         * text3.C: fix some of the tabular crashes
937
938 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
939
940         * MenuBackend.C (binding): put debug message into Debug::KBMAP
941
942         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
943
944 2003-10-09  André Pönitz  <poenitz@gmx.net>
945
946         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
947
948         * BufferView.C:
949         * BufferView_pimpl.C:
950         * bufferview_funcs.C:
951         * lyx_cb.C:
952         * lyxcursor.C:
953         * lyxfind.C:
954         * lyxfunc.C:
955         * lyxtext.h:
956         * text.C:
957         * text2.C:
958         * text3.C:
959         * text_funcs.[Ch]:
960         * textcursor.[Ch]:
961         * undo_funcs.C: adjust
962
963 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
964
965         * text2.C (incrementItemDepth): new function, use a backtracking
966         algorithm to discover the correct item depth.
967         (resetEnumCounterIfNeeded): new function, use a backtracking
968         algorithm to discover if counter reset is needed.
969         (setCounter): use them. Simplify a bit. Add different labels for
970         different item depths for itemize.
971
972         * paragraph.C (Paragraph): remove initialization of enumdepth
973         (operator=): ditto
974
975         * paragraph.h: get rid of enumdepth, and use itemdepth both for
976         enumerate and itemize. Change the type of itemdepth to signed char.
977
978 2003-10-08  André Pönitz  <poenitz@gmx.net>
979
980         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
981           thing assignable.
982         * text.C:
983         * text2.C: adjust
984
985         * tabular.[Ch]: fix crash after 'row-insert'
986
987 2003-10-08  Angus Leeming  <leeming@lyx.org>
988
989         Fix doxygen warnings.
990
991         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
992         Remove CutAndPaste:: prefix from header file declaration.
993
994         * LColor.h (fill): remove LColor:: prefix from declaration.
995
996         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
997         use lyx::depth_type rather than Paragraph::depth_type so that
998         header file and .C file match.
999
1000         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1001
1002         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1003         * aspell.C: \file aspell_local.C -> \file aspell.C
1004         * gettext.C: \file gettext.C -> \file src/gettext.C
1005         * gettext.h: \file gettext.h -> \file src/gettext.h
1006         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1007         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1008         * text.C: \file text.C -> \file src/text.C
1009
1010         * toc.C: move comment so that doxygen is not confused.
1011
1012 2003-10-07  Angus Leeming  <leeming@lyx.org>
1013
1014         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1015
1016 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1017
1018         * aspell.C:
1019         * aspell_local.h: add forgotten std::string's.
1020
1021 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1022
1023         * LaTeXFeatures.C:
1024         * LyXAction.C:
1025         * factory.C:
1026         * lfuns.h:
1027         * lyxfunc.C:
1028         * text3.C: The Box patch. Fancybox support, minipage, parbox
1029
1030 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1031
1032         * CutAndPaste.h:
1033         * DepTable.h:
1034         * FloatList.h:
1035         * LaTeXFeatures.h:
1036         * ParagraphParameters.h:
1037         * TextCache.h:
1038         * Thesaurus.h:
1039         * bufferlist.h:
1040         * exporter.h:
1041         * importer.h:
1042         * lastfiles.h:
1043         * lyxfind.h:
1044         * lyxfont.h:
1045         * lyxlex.h:
1046         * lyxtextclasslist.h:
1047         * messages.h:
1048         * paragraph.h:
1049         * paragraph_pimpl.C:
1050         * textcursor.h: add <string> and other small fixes to make Lars'
1051         std::string patch compile with STLport.
1052
1053 2003-10-06  Angus Leeming  <leeming@lyx.org>
1054
1055         * LColor.h: Add missing #include <string>.
1056
1057 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1058
1059         * All most all file in all subdirs: Make <string> be the prefered
1060         way of getting to std::string, add using declarations.
1061
1062 2003-10-06  André Pönitz  <poenitz@gmx.net>
1063
1064         * metricsinfo.C: initialize LyXFont before changing attribute.
1065         (fixes the 'math in \emph is upright' bug)
1066
1067 2003-10-06  André Pönitz  <poenitz@gmx.net>
1068
1069         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1070
1071 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1072
1073         * graph.C:
1074         * paragraph_pimpl.C: Small fixes to build using STLport
1075
1076 2003-10-02  André Pönitz  <poenitz@gmx.net>
1077
1078         * lyxfunc.C:
1079         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1080
1081 2003-10-01  André Pönitz  <poenitz@gmx.net>
1082
1083         * factory.C: assert early
1084
1085 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1086
1087         * lyx_main.C: remove the global debug object
1088
1089         * debug.h: adjust for new debugstream
1090
1091         * debug.C: adjust for new debugstream and keep the global debug
1092         object here.
1093
1094 2003-09-22  Angus Leeming  <leeming@lyx.org>
1095
1096         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1097         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1098         an incomplete class LyXFont.
1099
1100 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1101
1102         * factory.C: bug fix in branches
1103
1104 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1105
1106         * lyxfunc.C (processKeySym): adjust
1107         (dispatch): adjust
1108         (dispatch): change arg name from ev to func, adjust
1109         (sendDispatchMessage): ditto
1110
1111         * lyx_main.C (defaultKeyBindings): adjust keybindings
1112         (deadKeyBindings): ditto
1113
1114         * kbsequence.C (addkey): return a FuncRequest
1115
1116         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1117
1118         * kbmap.C (bind): take a FuncRequest as arg, adjust
1119         (read): adjust
1120         (lookup): adjust
1121         (defkey): change to take a FuncRequest as arg, adjust
1122         (findbinding): take a FuncRequest as arg, adjust.
1123
1124         * funcrequest.h (operator=): added
1125
1126         * funcrequest.C (FuncRequest): default kb_action changed from
1127         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1128
1129         * buffer.C (dispatch): simplify
1130         (dispatch): adjust to take a FuncRequest as arg, adjust
1131
1132         * boost.C (assertion_failed): change assertion message slightly
1133
1134         * ToolbarBackend.C (read): simplify
1135
1136         * MenuBackend.C (binding): adjust call to findbinding, add a
1137         message if no binding is found.
1138         (read): simplify
1139         (expandToc): correct by adding a empty FuncRequest
1140
1141         * LyXAction.C: include <boost/assert.hpp>
1142         (isPseudoAction): delete function
1143         (LookupFunc): change name to...
1144         (lookupFunc): this. change return type to FuncRequest.
1145         (getActionName): take kb_action as arg, simplify
1146         (funcHasFlag): add an assert, simplify.
1147
1148 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1149
1150         * toc.C (action): return a FuncRequest, simplify
1151
1152         * lyxfunc.C (processKeySym): adjust
1153         (getStatus): delete version that takes an int.
1154         (getStatus): adjust
1155         (dispatch): delete version that takes action as int
1156         (dispatch): adjust
1157         (sendDispatchMessage): simplify and adjust
1158
1159         * funcrequest.C (getArg): take unsigned int as arg
1160
1161         * ToolbarBackend.C (read): adjust
1162         (add): delete version that takes func as a string.
1163         (getIton): take a FuncRequest as arg
1164
1165         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1166         action.
1167
1168         * MenuBackend.C (MenuItem): add a new construct that only takes a
1169         Kind, simplify the constructor use for submenus.
1170         (add): adjust
1171         (expandLastfiles): adjust
1172         (expandDocuments): adjust
1173         (expandFormats): adjust
1174         (expandFloatListInsert): adjust
1175         (expandFloatInsert): adjust
1176         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1177
1178         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1179         Remove class variables lyx_pseudo_map and lyx_arg_map
1180
1181         * LyXAction.C (searchActionArg): delete function
1182         (getPseudoAction): delete function
1183         (retrieveActionArg): delete function
1184         (LookupFunc): make it return kb_action, simplify.
1185         (getActionName): simplify
1186
1187         * factory.C (createInset): fix new bug
1188
1189 2003-09-19  Angus Leeming  <leeming@lyx.org>
1190
1191         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1192         masterFilename_ parameter in the include inset.
1193
1194         * factory.C (createInset): changes due to the changes to InsetInclude.
1195
1196 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1197
1198         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1199
1200 2003-09-18  Angus Leeming  <leeming@lyx.org>
1201
1202         * buffer.C:
1203         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1204         Inset::fillWithBibKeys.
1205         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1206
1207 2003-09-18  Angus Leeming  <leeming@lyx.org>
1208
1209         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1210         variables.
1211         (ctor): pass and store a 'Buffer const &'
1212         (buffer): new member function.
1213
1214         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1215         '*this' to the LaTeXFeatures ctor.
1216
1217 2003-09-18  Angus Leeming  <leeming@lyx.org>
1218
1219         * LColor.h:
1220         * lyxfont.C:
1221         * lyxfont.h:
1222         * lyxtext.h:
1223         * text.C: rename EnumLColor as LColor_color.
1224
1225 2003-09-18  Angus Leeming  <leeming@lyx.org>
1226
1227         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1228         remove #include "insets/insetbase.h" from cursor.h.
1229
1230 2003-09-18  Angus Leeming  <leeming@lyx.org>
1231
1232         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1233         InsetOld_code to remove #include "inset.h".
1234
1235         * iterators.C: add #include "insets/inset.h"
1236
1237 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1238
1239         * BufferView.C: remove more locking stuff that apparently doesn't
1240         do anything sensible.
1241
1242 2003-09-16  André Pönitz  <poenitz@gmx.net>
1243
1244         * paragraph.[Ch]:
1245         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1246           performance boost.
1247
1248 2003-09-16  Angus Leeming  <leeming@lyx.org>
1249
1250         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1251
1252         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1253         arg/return type.
1254
1255         * paragraph.h: remove #include "lyxfont.h". Forward declare
1256         LyXFont_size.
1257
1258 2003-09-16  Angus Leeming  <leeming@lyx.org>
1259
1260         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1261         of support/textutils.h.
1262         (isWord): move the contents of support/textutils.h's IsWordChar here.
1263
1264         * buffer.C:
1265         * lyxfind.C:
1266         * rowpainter.C:
1267         * text.C:
1268         * text2.C: add #include "paragraph.h".
1269
1270         * rowpainter.C:
1271         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1272
1273 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1274
1275         * main.C:
1276         * lyx_main.C:
1277         * lyx_cb.C:
1278         * buffer.C:
1279         * LaTeX.C: use namespace alias for lyx::support::os
1280
1281 2003-09-16  Angus Leeming  <leeming@lyx.org>
1282
1283         * bufferparams.C:
1284         * bufferview_funcs.C:
1285         * factory.C:
1286         * lyxfunc.C:
1287         * paragraph_pimpl.C:
1288         * rowpainter.C:
1289         * text.C: add #include "LColor.h".
1290
1291 2003-09-16  Angus Leeming  <leeming@lyx.org>
1292
1293         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1294         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1295         return LyXFont &.
1296         Store the FontBits::color variable as an int rather than as an
1297         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1298         file.
1299
1300         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1301         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1302         string calls together.
1303
1304         * lyxrc.C: add #include "LColor.h".
1305
1306 2003-09-15  Angus Leeming  <leeming@lyx.org>
1307
1308         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1309         a cow_ptr.
1310
1311 2003-09-15  Angus Leeming  <leeming@lyx.org>
1312
1313         * LColor.h: add an EnumLColor wrapper for LColor::color.
1314
1315         * lyxfont.[Ch] (color, setColor, realColor):
1316         * lyxtext.h, text.C (backgroundColor):
1317         pass EnumLColor args to/from the functions, rather than LColor::color
1318         ones.
1319
1320         * lyxfont.h:
1321         * lyxtext.h: forward declare EnumLColor.
1322
1323         * lyx_main.C: add #include "LColor.h".
1324
1325 2003-09-15  Angus Leeming  <leeming@lyx.org>
1326
1327         * .cvsignore: add lyx-gtk.
1328
1329 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1330
1331         * Chktex.C
1332         * LaTeX.C
1333         * LaTeXFeatures.C
1334         * ParagraphParameters.C
1335         * Spacing.C
1336         * buffer.C
1337         * bufferparams.C
1338         * bufferview_funcs.C
1339         * chset.C
1340         * counters.C
1341         * funcrequest.C
1342         * lyxfont.C
1343         * lyxgluelength.C
1344         * lyxlength.C
1345         * paragraph.C
1346         * paragraph_funcs.C
1347         * text3.C
1348         * vc-backend.C: remove usage of STRCONV
1349
1350 2003-09-15  Angus Leeming  <leeming@lyx.org>
1351
1352         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1353         explicitly define the color passed to the painter.
1354
1355 2003-09-15  Angus Leeming  <leeming@lyx.org>
1356
1357         * bufferparams.C (BufferParams): reorder member initializers to avoid
1358         compiler warning.
1359
1360 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1361
1362         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1363         * text.C (updateRowPositions): remove an unusual nop
1364
1365 2003-09-12  André Pönitz  <poenitz@gmx.net>
1366
1367         * BufferView_pimpl.C:
1368         * Bullet.C:
1369         * layout.h:
1370         * lyxfunc.C:
1371         * lyxlayout.[Ch]:
1372         * lyxtextclass.C:
1373         * rowpainter.C:
1374         * text.C:
1375         * text2.C:
1376         * Counters.[Ch]: finish the 'automatic counters' job
1377
1378 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1379
1380         * aspell.C: include <boost/assert.cpp> (compile fix)
1381
1382 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1383
1384         * boost.C (assertion_failed): use lyx::support::abort instead of
1385         assert.
1386
1387 2003-09-10  Angus Leeming  <leeming@lyx.org>
1388
1389         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1390         with their _fwd progeny.
1391
1392 2003-09-09  Angus Leeming  <leeming@lyx.org>
1393
1394         134 files throughtout the source tree: replace 'using namespace abc;'
1395         directives with the appropriate 'using abc::xyz;' declarations.
1396
1397 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1398
1399         * boost.C (emergencyCleanup): moved here from LAssert.c
1400         (assertion_failed): new function, called by BOOST_ASSERT
1401
1402         * several files: change Assert to BOOST_ASSERT
1403
1404 2003-09-09  Angus Leeming  <leeming@lyx.org>
1405
1406         * buffer.[Ch]: Add an Impl class and move Buffer's member
1407         variables into it. As a result move several header files out of
1408         buffer.h.
1409
1410         Add header files to lots of .C files all over the tree as a result.
1411
1412 2003-09-09  Angus Leeming  <leeming@lyx.org>
1413
1414         * buffer.[Ch]: make Buffer's member variables private. Add
1415         accessor functions.
1416
1417         Lots of changes all over the tree as a result.
1418
1419 2003-09-08  Angus Leeming  <leeming@lyx.org>
1420
1421         * graph.C: #include <config.h>.
1422
1423 2003-09-08  Angus Leeming  <leeming@lyx.org>
1424
1425         * BranchList.C:
1426         * BufferView.C:
1427         * BufferView_pimpl.C:
1428         * CutAndPaste.C:
1429         * DepTable.C:
1430         * LaTeX.C:
1431         * LaTeXFeatures.C:
1432         * LyXAction.C:
1433         * MenuBackend.C:
1434         * TextCache.C:
1435         * aspell.C:
1436         * buffer.C:
1437         * bufferlist.C:
1438         * changes.C:
1439         * chset.C:
1440         * converter.C:
1441         * counters.C:
1442         * debug.C:
1443         * graph.C:
1444         * ispell.C:
1445         * lyx_cb.C:
1446         * lyxfind.C:
1447         * lyxfunc.C:
1448         * lyxlex_pimpl.C:
1449         * lyxrc.C:
1450         * lyxrow.C:
1451         * paragraph.C:
1452         * rowpainter.C:
1453         * texrow.C:
1454         * text.C:
1455         * text2.C:
1456         * toc.C: remove redundant using directives.
1457
1458 2003-09-07  Angus Leeming  <leeming@lyx.org>
1459
1460         * LaTeXFeatures.h: remove #include "support/types.h".
1461         * ToolbarBackend.h: remove #include <algorithm>.
1462         * changes.h: remove #include <ctime>.
1463         * debug.h: remove #include <iosfwd>.
1464         * graph.h: remove #include "support/std_string.h".
1465         * lyx_main.h: remove #include <csignal>.
1466         * lyxlex_pimpl.h: remove #include <fstream>.
1467         * sgml.h: remove #include <algorithm>, <utility>.
1468         * toc.h: remove #include "support/std_ostream.h".
1469         Add #include <iosfwd>.
1470
1471 2003-09-07  Angus Leeming  <leeming@lyx.org>
1472
1473         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1474
1475         * converter.h: forward declare LatexRunParams.
1476         * encoding.h: remove #include "lyxrc.h".
1477         * lyxtext.h: remove #include "LColor.h".
1478         * lyxtextclass.h: remove #include "support/types.h".
1479         * trans.h: remove #include "tex-accent.h".
1480         * trans_mgr.h: remove #include "tex-accent.h".
1481         * insets/inset.h: remove #include "support/types.h", <vector>.
1482         * insets/insetcollapsable.h: remove #include "LColor.h".
1483         * insets/insetinclude.h: remove #include "dimension.h".
1484         * insets/insetlatexaccent.h: remove #include "dimension.h".
1485         * insets/insetoptarg.h:: remove #include "insettext.h".
1486         * insets/insettext.h: remove #include "dimension.h",
1487         <boost/shared_ptr.hpp>
1488
1489         * insets/renderers.h: add #include "dimension.h".
1490         * insets/updatableinset.h: add #include "support/types.h".
1491
1492         * many .C files: Associated changes.
1493
1494 2003-09-06  Angus Leeming  <leeming@lyx.org>
1495
1496         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1497         one, inside testInvariant.
1498
1499         * PrinterParams.C: new file.
1500         * PrinterParams.[Ch]: move the function bodies out of line.
1501
1502 2003-09-06  Angus Leeming  <leeming@lyx.org>
1503
1504         * ParagraphParameters.h: forward declare ParameterStruct rather than
1505         including its header file.
1506         (depth): moved out-of-line.
1507
1508 2003-09-06  Angus Leeming  <leeming@lyx.org>
1509
1510         * BufferView_pimpl.h:
1511         * kbmap.h:
1512         * kbsequence.h:
1513         * lyxfunc.h: forward declare LyXKeySym rather than
1514         #include "frontends/LyXKeySym.h".
1515
1516         * BufferView_pimpl.C:
1517         * kbmap.C:
1518         * kbsequence.C:
1519         * lyxfunc.C: associated changes.
1520
1521 2003-09-06  Angus Leeming  <leeming@lyx.org>
1522
1523         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1524         As a result, can remove the #include "insets/inset.h" from BufferView.h
1525
1526 2003-09-06  Angus Leeming  <leeming@lyx.org>
1527
1528         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1529         As a result, can remove the #include "insets/inset.h" from BufferView.h
1530
1531 2003-09-06  Angus Leeming  <leeming@lyx.org>
1532
1533         * buffer_funcs.C:
1534         * buffer.h:
1535         * bufferlist.C:
1536         * BufferView.C:
1537         * bufferview_funcs.C:
1538         * BufferView_pimpl.C:
1539         * CutAndPaste.C:
1540         * lyx_cb.C:
1541         * lyxfunc.C:
1542         * paragraph.h:
1543         * ParagraphParameters.C:
1544         * tabular.C:
1545         * text3.C:
1546         * toc.C:
1547         * undo_funcs.C:
1548         * frontends/controllers/ControlDocument.C:
1549         * insets/insetcaption.C: rearrange the #includes into some sort of
1550         coherent order.
1551
1552         * buffer.h: remove #includes ErrorList.h, undo.h
1553
1554 2003-09-06  Angus Leeming  <leeming@lyx.org>
1555
1556         * support/types.h: add a 'depth_type' typedef, used to store the
1557         nesting depth of a paragraph.
1558
1559         * paragraph.h:
1560         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1561         defining explicitly.
1562
1563         * buffer.h:
1564         * paragraph_funcs.h:
1565         * ParagraphParameters.h:
1566         * sgml.h: use lyx::depth_type rather than Paragraph or
1567         ParameterStruct's depth_type.
1568
1569         * buffer.h
1570         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1571
1572         * BufferView.C:
1573         * BufferView_pimpl.C:
1574         * CutAndPaste.C:
1575         * ParagraphParameters.C:
1576         * buffer_funcs.C:
1577         * bufferlist.C:
1578         * bufferview_funcs.C:
1579         * lyx_cb.C:
1580         * lyxfunc.C:
1581         * tabular.C:
1582         * text3.C:
1583         * toc.C:
1584         * undo_funcs.C:
1585         * frontends/LyXView.C:
1586         * frontends/controllers/ControlDocument.C:
1587         * frontends/controllers/ControlErrorList.C:
1588         * insets/insetbibitem.C:
1589         * insets/insetbranch.C:
1590         * insets/insetcaption.C:
1591         * insets/insetcollapsable.C:
1592         * insets/insetenv.C:
1593         * insets/insetert.C:
1594         * insets/insetfloat.C:
1595         * insets/insetfoot.C:
1596         * insets/insetfootlike.C:
1597         * insets/insetnewline.C:
1598         * insets/insetquotes.C:
1599         * insets/insettabular.C:
1600         * insets/insettext.C:
1601         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1602
1603         * frontends/controllers/ControlChanges.C: #include "changes.h".
1604
1605 2003-09-06  Angus Leeming  <leeming@lyx.org>
1606
1607         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1608         than #including paragraph.h.
1609
1610         * ParagraphList.h:
1611         * RowList.h: deleted. Superfluous.
1612
1613         * CutAndPaste.h:
1614         * iterators.h:
1615         * lyxcursor.h:
1616         * lyxtext.h:
1617         * text_funcs.h:
1618         * undo.h:
1619         * undo_funcs.h:
1620         * insets/inset.h:
1621         * insets/insettext.h: use ParagraphList_fwd.h rather than
1622         ParagraphList.h.
1623
1624         * paragraph.h: don't forward declare ParagraphList.
1625
1626         * buffer.h:
1627         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1628         rather than ParagraphList.h. paragraph.h is still needed for the
1629         Paragraph::depth_type parameters.
1630
1631         * textcursor.h: enable it to compile stand-alone in light of the
1632         above changes.
1633
1634         * bufferview_funcs.C:
1635         * iterators.C:
1636         * lyxfunc.C:
1637         * lyxrow_funcs.C:
1638         * paragraph.C:
1639         * rowpainter.C:
1640         * text.C:
1641         * text2.C:
1642         * text3.C:
1643         * text_funcs.C:
1644         * textcursor.C:
1645         * undo.C:
1646         * frontends/controllers/ControlParagraph.C:
1647         * frontends/controllers/ControlTabular.C:
1648         * insets/insetmarginal.C:
1649         * insets/insetminipage.C:
1650         * insets/insetnote.C:
1651         * insets/insetoptarg.C: add header files needed to compile again.
1652
1653 2003-09-06  Angus Leeming  <leeming@lyx.org>
1654
1655         * RowList_fwd.h: new file, forward-declaring Row rather than
1656         #including lyxrow.h.
1657
1658         * lyxrow_funcs.h:
1659         * lyxtext.h:
1660         * paragraph.h:
1661         * insets/insettext.h: use it instead of RowList.h
1662
1663         * bufferview_funcs.C:
1664         * lyxfunc.C:
1665         * lyxrow_funcs.C:
1666         * paragraph.C:
1667         * rowpainter.C:
1668         * text.C:
1669         * text2.C:
1670         * text3.C: #include "RowList.h".
1671
1672 2003-09-05  Angus Leeming  <leeming@lyx.org>
1673
1674         * factory.C (createInset):
1675         * vspace.C (c-tor): replace sscanf call with an istringstream.
1676         * ispell.C: re-add missing HP/UX headers.
1677         * lyxserver.C: re-add missing  os2 headers.
1678
1679 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1680
1681         * BranchList.C:
1682         * graph.C:
1683         * ispell.C:
1684         * lastfiles.C:
1685         * lyx_cb.C:
1686         * lyxserver.C:
1687         * texrow.C:
1688         * text3.C: re-add missing system headers, needed for 2.95.2.
1689
1690 2003-09-05  Angus Leeming  <leeming@lyx.org>
1691
1692         Changes most place everywhere due to the removal of using directives
1693         from support/std_sstream.h.
1694
1695 2003-09-05  Angus Leeming  <leeming@lyx.org>
1696
1697         Replace LString.h with support/std_string.h,
1698         Lsstream.h with support/std_sstream.h,
1699         support/LIstream.h with support/std_istream.h,
1700         support/LOstream.h with support/std_ostream.h.
1701
1702         Changes resulting throughout the tree.
1703
1704 2003-09-05  Angus Leeming  <leeming@lyx.org>
1705
1706         * sgml.h: ensure that the header file can be compiled stand-alone.
1707         * *.C: strip out redundant #includes. (320 in total.)
1708
1709 2003-09-04  Angus Leeming  <leeming@lyx.org>
1710
1711         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1712         here (from getPackages).
1713
1714         * debug.[Ch]: add a new EXTERNAL tag.
1715
1716 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1717
1718         * text2.C (cursorEnd): simplify
1719         (setCursor): adjust
1720         (getColumnNearX): adjust
1721
1722         * text.C (computeBidiTables): adjust
1723         (fill): adjust
1724
1725         * rowpainter.C (paintChars): adjust
1726         (paintSelection): adjust
1727         (paintChangeBar): adjust
1728         (paintText): adjust
1729
1730         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1731         lastPos instead.
1732         (numberOfSeparators): adjust
1733
1734 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1735
1736         * LyXAction.C:
1737         * box.[Ch]:
1738         * lfuns.h:
1739         * lyxfunc.C:
1740         * text3.C: Restricts the mouse click functionality
1741         of insets like bibtex, include, toc and floatlist to the visible
1742         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1743         up the dialogs. Cursor has to be in front of the inset (i.e.
1744         start of row) for this to function.
1745
1746 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1747
1748         * bufferview_funcs.C (currentState): output row information
1749
1750 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1751
1752         * bufferview_funcs.C (currentState): output paragraph position
1753
1754 2003-09-04  Angus Leeming  <leeming@lyx.org>
1755
1756         * FloatList.h: move out #include "Floating.h".
1757         * LaTeX.h: move out #include "DepTable.h".
1758         * LyXAction.h: move out #include "funcrequest.h".
1759         * buffer.h: move out #include "author.h", "iterators.h".
1760         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1761         * lyx_main.h: move out #include "errorlist.h".
1762         * lyxfunc.h: move out #include "FuncStatus.h".
1763         * lyxtext: move out #include "lyxcursor.h".
1764         * paragraph_pimpl.h: move out #include "counters.h".
1765
1766 2003-09-03  Angus Leeming  <leeming@lyx.org>
1767
1768         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1769         preamble_snippets list, enabling us to add snippets to the preamble
1770         only if the snippet was not there already.
1771
1772 2003-09-04  Angus Leeming  <leeming@lyx.org>
1773
1774         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1775
1776 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1777
1778         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1779         update
1780
1781 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1782
1783         * BranchList.C: point fix, earlier forgotten
1784
1785 2003-09-02  Angus Leeming  <leeming@lyx.org>
1786
1787         * box.C (contains): renamed from 'contained' after a fantastic
1788         amount of hot air.
1789
1790 2003-09-02  John Levon  <levon@movementarian.org>
1791
1792         * BufferView.C:
1793         * lyxcursor.h:
1794         * lyxcursor.C:
1795         * lyxfunc.C:
1796         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1797
1798 2003-09-02  John Levon  <levon@movementarian.org>
1799
1800         * text2.C: simplification of cursorEnd(), including partial
1801         fix for bug 1376
1802
1803 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1804
1805         * buffer.C (readFile): add a space
1806
1807 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1808
1809         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1810
1811 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1812
1813         * buffer.C (readFile): new function, take a filename and a
1814         ParagraphList::iterator
1815         (readFile): adjust
1816         (readFile): adjust, make it private. don't use setStream, make
1817         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1818         always contain the filename.
1819
1820         * BufferView.C (insertLyXFile): simplify and make it work for
1821         gzipped files.
1822
1823 2003-08-30  John Levon  <levon@movementarian.org>
1824
1825         * Makefile.am: fix dist (from Kayvan)
1826
1827 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1828
1829         * most files: change to use const Buffer refs
1830
1831 2003-08-27  André Pönitz  <poenitz@gmx.net>
1832
1833         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1834         on top of ownerPar().
1835
1836 2003-08-27  John Levon  <levon@movementarian.org>
1837
1838         * funcrequest.C: properly initialise POD members
1839
1840 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1841
1842         * lyxtext.h (top_y): move top_y from here
1843         * text.C:
1844         * text2.C:
1845         * text3.C:
1846         * BufferView.[Ch]:
1847         * BufferView_pimpl.[Ch]: to here
1848         * frontends/screen.C:
1849         * insets/insettabular.C:
1850         * insets/insettext.C: adjust
1851         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1852
1853 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1854
1855         * BufferView.[Ch]:
1856         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1857
1858 2003-08-26  André Pönitz  <poenitz@gmx.net>
1859
1860         * paragraph_func.[Ch] (outerPar): new function
1861
1862         * paragraph.C:
1863         * paragraph_funcs.C:
1864         * paragraph_funcs.h:
1865         * paragraph_pimpl.C:
1866         * text2.C: remove Inset::par_owner
1867
1868 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1869
1870         * lyxrow_funcs.C:
1871         * lyxtext.h:
1872         * text.C:
1873         * text2.C: eliminates the needFullRow/display() stuff
1874         altogether, putting the logic in metrics/draw in the insets.
1875
1876 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1877
1878         * text2.C (redoParagraphInternal, redoParagraphs):
1879         * text.C (redoParagraph): add a call to updateRowPositions at the
1880         end of each 'metrics-like' call. Remove all others.
1881         (getRow): remove the 'y-computing' version.
1882         (getRowNearY): do not compute nor return the real y. Solve the
1883         'y < 0' problem and simplify.
1884
1885 2003-08-22  Angus Leeming  <leeming@lyx.org>
1886
1887         * *.[Ch]: clean-up of licence and author blurbs.
1888         Also move config.h out of a few .h files and into a few .C files.
1889
1890 2003-08-22  André Pönitz  <poenitz@gmx.net>
1891
1892         * lyxrow.[Ch]: add x_ and *fill_ members
1893
1894         * lyxtext.h:
1895         * text.C:
1896         * rowpainter.C:
1897         * text2.C: adjust/remove prepareToPrint() calls
1898
1899 2003-08-22  André Pönitz  <poenitz@gmx.net>
1900
1901         * lyxrow.[Ch]: add  end_ member
1902
1903         * lyxrow_funcs.C: use LyXRow::end_
1904
1905         * lyxtext.h (singleWidth): add LyXFont parameter
1906
1907         * rowpainter.C:
1908         * text2.C: adjust LyXText::singleWidth() calls
1909
1910         * text.C (redoParagraph): simplify row breaking logic
1911
1912
1913 2003-08-19  André Pönitz  <poenitz@gmx.net>
1914
1915         * funcrequest.C: initialize button_ member
1916
1917         * text3.C:
1918         * rowpainter.[Ch]: interface consolidation
1919
1920 2003-08-18  André Pönitz  <poenitz@gmx.net>
1921
1922         * BufferView.C:
1923         * BufferView_pimpl.C:
1924         * lyxfind.C:
1925         * paragraph_funcs.C:
1926         * rowpainter.C:
1927         * text3.C: remove LyXScreen::draw() and fitCursor calls
1928
1929         * BranchList.h: remove spurious semicolons
1930
1931         * MenuBackend.C: fix branchlist related crash
1932
1933 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1934
1935         * BranchList.[Ch]:
1936         * InsetList.[Ch]:
1937         * LColor.[Ch]:
1938         * LyXAction.C:
1939         * Makefile.am:
1940         * MenuBackend.[Ch]:
1941         * bufferparams.[Ch]:
1942         * factory.C:
1943         * lfuns.h:
1944         * lyxfunc.C:
1945         * text3.C: implements the 'branch inset'
1946         idea. This allows the output of various versions of a document
1947         from a single source version, selectively outputing or suppressing
1948         output of parts of the text.
1949         This implementation contains a 'branch list editor' in a separate
1950         tab of the document settings dialog. Branches are user definable
1951         and have a "display colour" to distinguish them on-screen.
1952
1953         ColorHandler was somewhat cleaned up.
1954         (1) make possible a dynamically growing LColor list by allowing
1955         the graphic context cache to grow along (vector);
1956         (2) eliminate an IMHO unnecessary step in colour allocation.
1957
1958 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1959
1960         * BufferView_pimpl.C: compile fix
1961
1962 2003-08-15  André Pönitz  <poenitz@gmx.net>
1963
1964         * rowpainter.C: remove extra metrics calls
1965
1966         * lyxtext.h: merge the two constructors into a single one,
1967           pass reference to owner's par list
1968
1969         * BufferView_pimpl.C:
1970         * text.C:
1971         * text2.C: adjust
1972
1973 2003-08-15  André Pönitz  <poenitz@gmx.net>
1974
1975         * lyxrow_funcs.[Ch]:
1976         * lyxtext.h:
1977         * paragraph.h:
1978         * paragraph_funcs.C:
1979         * rowpainter.C:
1980         * text.C:
1981         * text2.C:
1982         * text3.C:
1983         * text_funcs.C: split LyXText::rowlist_ into individual
1984         Paragraph::rows_ chunks
1985
1986         * BufferView.[Ch]:
1987         * BufferView_pimpl.[Ch]:
1988         * lyxfind.C:
1989         * lyxtext.h:
1990         * text3.C: remove toggleSelection()
1991
1992 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1993
1994         * bufferlist.C: beautify two alerts (shorter text of buttons)
1995         * buffer.C: Remove redundant ' ' from message
1996         * tabular.h:
1997         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1998         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1999         rename VALIGN_CENTER to VALIGN_MIDDLE
2000
2001 2003-08-11  André Pönitz  <poenitz@gmx.net>
2002
2003         * lyxtext.h (getPar):
2004         * text.C: new function
2005
2006 2003-08-11  André Pönitz  <poenitz@gmx.net>
2007
2008         * Makefile.am:
2009         * tracer.[Ch]: remove unneeded files
2010
2011         * InsetList.[Ch]: remove resizeInsetsLyXText()
2012
2013         * lyxtext.h:
2014         * text.C:
2015         * text2.C:
2016         * text3.C: merge insertParagraphs() and appendParagraph()
2017         remove breakAgain(), update()
2018
2019         * BufferView_pimpl.[Ch]:
2020         * bufferview_funcs.[Ch]:
2021         * lyxfunc.C:
2022         * paragraph.[Ch]:
2023         * rowpainter.C:
2024         * tabular.C: adjust after text & InsetList changes.
2025
2026 2003-08-08  André Pönitz  <poenitz@gmx.net>
2027
2028         * text.C (insertChar, backspace): replace rowlist fiddling
2029         with rebreak of full par
2030
2031         * lyxtext.h:
2032         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2033         checkParagraph, updateInset): removed
2034
2035 2003-08-07  André Pönitz  <poenitz@gmx.net>
2036
2037         * paragraph.C:
2038         * text3.C: merge some LFUN handlers, remove dead code
2039
2040 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2041
2042         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2043
2044 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2045
2046         * text2.C (DEPM): fix part of bug 1255 and 1256
2047
2048 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2049
2050         * BufferView_pimpl.C (workAreaDispatch): change to use
2051         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2052         that are no mouse related.
2053
2054 2003-08-05  André Pönitz  <poenitz@gmx.net>
2055
2056         * BufferView.[Ch]:
2057         * BufferView_pimpl.[Ch]:
2058         * bufferview_funcs.C:
2059         * text2.C:
2060         * text3.C: rip out "deep update"
2061
2062         * textcursor.[Ch] (last_sel_cursor): remove unused member
2063
2064 2003-08-04  André Pönitz  <poenitz@gmx.net>
2065
2066         * BufferView.[Ch]:
2067         * BufferView_pimpl.[Ch]:
2068         * ParagraphParameters.C:
2069         * bufferview_funcs.C:
2070         * lyx_cb.C:
2071         * lyxfind.C:
2072         * lyxfunc.C:
2073         * text.C:
2074         * text2.C:
2075         * text3.C: replace "complicated" BufferView::update(...) calls with
2076         simpler ones.
2077
2078         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2079
2080 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2081
2082         * Makefile.am (lyx_SOURCES): add paper.h
2083
2084 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2085
2086         * Makefile.am: move things around so that both lyx-qt and
2087         lyx-xforms can be built (according to --with-frontend). Then lyx
2088         is a symbolic link to lyx-[firstfrontend]
2089
2090 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2091
2092         * Always use std::endl with lyxerr
2093
2094 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2095
2096         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2097
2098 2003-08-01  André Pönitz  <poenitz@gmx.net>
2099
2100         * BufferView.[Ch]:
2101         * BufferView_pimpl.[Ch]:
2102         * lyxfunc.C:
2103         * text3.C: merge BufferView::repaint() and BufferView::update()
2104
2105 2003-08-01  José Matos  <jamatos@lyx.org>
2106
2107         * buffer.[Ch]: file_format is no longer a buffer data element.
2108
2109 2003-08-01  André Pönitz  <poenitz@gmx.net>
2110
2111         * BufferView.C:
2112         * lyxtext.h:
2113         * text.C:
2114         * text2.C: make redoParagraph more independent of current cursor
2115
2116         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2117         * text.C:
2118         * text2.C: remove unneeded members
2119
2120 2003-07-30  André Pönitz  <poenitz@gmx.net>
2121
2122         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2123
2124         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2125           create a single function...
2126
2127         * paragraph_funcs.C (moveItem): ... here.
2128
2129         * text.C:
2130           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2131
2132 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2133
2134         * LColor.[Ch]: Add comment and greyedout logical colors.
2135
2136 2003-07-30  André Pönitz  <poenitz@gmx.net>
2137
2138         * tabular.C: don't use Assert too heavily. This crashes where it
2139           shouldn't
2140
2141 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2142
2143         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2144         is disabled (bug 1232)
2145
2146 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2147
2148         * factory.C: limited 'arg' scope
2149
2150 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2151
2152         * factory.C: fixed Note submenu issues
2153
2154 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2155
2156         * factory.C: submenu for Note/Comment/Greyedout
2157
2158 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2159
2160         * lyx_main.C (LyX):
2161         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2162
2163 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2164
2165         * LaTeXFeatures.C:
2166         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2167         greyedout. Patch provided by Jürgen Spitzmüller.
2168
2169 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2170
2171         * kbmap.C (read): fix error message when reading bind files
2172
2173 2003-07-29  Angus Leeming  <leeming@lyx.org>
2174
2175         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2176         certainly does not do what it purports to do. I am doing it, and
2177         us, a favour by killing it.
2178
2179 2003-07-28  José Matos  <jamatos@lyx.org>
2180
2181         * buffer.C (readBody, do_writeFile):
2182         * paragraph.C(readParagraph): \end_document replaces \the_end.
2183
2184 2003-07-29  André Pönitz  <poenitz@gmx.net>
2185
2186         * BufferView.[Ch]:
2187         * BufferView_pimpl.[Ch]:
2188         * lyxfunc.C:
2189         * text2.C:
2190         * text3.C:
2191         * textcursor.[Ch]: remove toggleToggle & Co
2192
2193 2003-07-28  José Matos  <jamatos@fep.up.pt>
2194
2195         * buffer.C (readParagraph):
2196         * params_func (readParToken, readParagraph):
2197         * paragraph.C (write): \layout -> \begin_layout.
2198
2199 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * lyxlex_pimpl.C (setFile): clean up slightly.
2202
2203         * bufferparams.h: add compressed var
2204
2205         * buffer_funcs.C (readFile): adjust for LyXLex change
2206         (newFile): ditto + simplify
2207
2208         * buffer.C (writeFile): handle writing of compressed files
2209
2210         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2211         Check if the file is compressed and set a bufferparm if so.
2212
2213         * Makefile.am (lyx_LDADD): remove explicit -lz
2214
2215 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2216
2217         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2218         makeDocBookFile): put the real LyX version in the first line of
2219         the file
2220
2221         * version.h:
2222         * version.C.in: remove lyx_docversion
2223
2224         * tabular.C (write_attribute): add a template-based version to
2225         write enums properly
2226
2227 2003-07-28  André Pönitz  <poenitz@gmx.net>
2228
2229         * lyxtext.h:
2230         * text.C:
2231         * text2.C:
2232         * text3.C: use doubles again for x-coordinates. They are needed.
2233
2234 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2235
2236         * messages.C (getLocaleDir): use lyx_localedir()
2237
2238         * lyxlex_pimpl.C (setFile): compress stuff
2239
2240         * buffer.C (writeFile): add some compression stuff
2241         (do_writeFile): new func, dont call expliti close... will this
2242         breake anything?
2243
2244         * Makefile.am (lyx_LDADD): add -lz
2245
2246 2003-07-28  José Matos  <jamatos@fep.up.pt>
2247
2248         * buffer.C: increment file format.
2249         * paragraph_funcs (readParagraph, readParToken):
2250         * paragraph.C (readParagraph): add \end_layout.
2251
2252 2003-07-27  Angus Leeming  <leeming@lyx.org>
2253
2254         * Makefile.am: remove special casing for configure-time setting of
2255         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2256
2257         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2258         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2259
2260 2003-07-26  André Pönitz  <poenitz@gmx.net>
2261
2262         * paragraph_func.[Ch]:
2263         * paragraph.C (realizeFont): inline it whereever it is used
2264
2265         * rowpainter.C:
2266         * text.C:
2267         * text2.C:
2268         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2269
2270
2271 2003-07-26  André Pönitz  <poenitz@gmx.net>
2272
2273         *       lyxtext.h:
2274         * text.C:
2275         * text2.C: get rid of LyXText::need_break_row
2276
2277 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2278
2279         * toc.[Ch]: put namespace toc inside namespace lyx
2280
2281         * MenuBackend.C (expandToc2): adjust for lyx::toc
2282         (expandToc): ditto
2283
2284         * lyxfunc.C (dispatch): adjust for lyx::find
2285
2286         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2287         lyx::find instead. Reorganize a bit.
2288         (LyXReplace): rename to replace
2289         (LyXFind): rename to find
2290
2291         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2292         (dispatch): ditto
2293
2294 2003-07-26  André Pönitz  <poenitz@gmx.net>
2295
2296         * text.C (setHeightOfRow): restrict scope of temporary variable
2297
2298         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2299           code (never has been used?)
2300
2301 2003-07-27  Asger Alstrup  <alstrup@local>
2302
2303         * text.C (fill): Optimise algorithm to exploit that we can reuse
2304         the LyXFont for many characters.
2305         (setHeightOfRow): Same thing.
2306         (rowBreakPoint): Same thing.
2307
2308 2003-07-26  Asger Alstrup  <alstrup@local>
2309
2310         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2311
2312         * text.C (singleWidth): Spurious font copying in hot-spot
2313         singleWidth avoided. Reorder tests for arabic for efficiency.
2314
2315         * text.C (fill): handle empty paragraphs better.
2316
2317 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2318
2319         * ispell.C:
2320         * encoding.h: add includes
2321
2322         * lyxrc.C: remove reading of bind files
2323
2324         * lyx_main.C (init): setup bindings and menus only if we have a
2325         gui.
2326
2327         * kbmap.C (read): new method. Do the actual reading of bind
2328         files.
2329
2330         * converter.C (dvipdfm_options):
2331         * bufferparams.C:
2332         * lyxrc.C (read):
2333         (output): adapt PAPER_* enums.
2334
2335         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2336
2337         * bufferparams.h: remove paper-related enums from there
2338
2339         * paper.h: New file. A trivial header file to hold paper-related
2340         enums. It should later expand to contain many paper-related
2341         horrors access.
2342
2343         * lyxrc.C: declare extern displayTranslator
2344
2345 2003-07-27  José Matos  <jamatos@fep.up.pt>
2346
2347         * tabular.[Ch] (linuxdoc): add support for tables and figures
2348         (linuxdoc).
2349
2350 2003-07-27  José Matos  <jamatos@fep.up.pt>
2351
2352         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2353         consistency in both functions.
2354         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2355
2356 2003-07-26  Asger Alstrup  <alstrup@local>
2357
2358         * rowpainter.C (paintRows): Change algorithm to work directly on
2359         the insets rather than asking every character in the document
2360         whether its an inset.
2361
2362 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2363
2364         * buffer.C (openFileWrite): factorize some code
2365
2366 2003-07-26  Angus Leeming  <leeming@lyx.org>
2367
2368         * lyx_cb.C:
2369         * lyx_main.[Ch]: replace occurances of system_tempdir with
2370         os::getTmpDir().
2371
2372 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * rename Inset to InsetOld
2375
2376 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2377
2378         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2379         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2380         which I think is a bit clearer. EDIT is gone, since it was
2381         premature optimisation, and broken for mathed anyway.
2382         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2383         with cursor positioning in insets as well (math insets still do not
2384         work, but that's a different story anyway.) It mysteriously
2385         crashes sometimes with undo in the first paragraph, but I'm fairly
2386         confident that this is a compiler bug.
2387
2388 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2389
2390         * paragraph.C (Paragraph): adjust for new clone return type
2391         (operator==): ditto
2392         (copyIntoMinibuffer): ditto
2393
2394 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2395
2396         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2397         by not having a special case, and always doing a full rebreak of
2398         the document after undo.
2399
2400 2003-07-23  Angus Leeming  <leeming@lyx.org>
2401
2402         * factory.C (createInset): InsetExternal::setParams now takes a
2403         Buffer const * arg.
2404
2405 2003-07-23  Angus Leeming  <leeming@lyx.org>
2406
2407         * factory.C (createInset): changed interface to the external and
2408         graphics mailers' string2params functions.
2409
2410 2003-07-23  Angus Leeming  <leeming@lyx.org>
2411
2412         * factory.C (createInset): pass a
2413         Buffer const * parameter to InsetExternalMailer's string2params.
2414
2415 2003-07-22  John Levon  <levon@movementarian.org>
2416
2417         * Thesaurus.h: include the right aiksaurus header
2418
2419 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2420
2421         * MenuBackend.C (expand): check menu shortcuts unconditionally
2422
2423 2003-07-21  Angus Leeming  <leeming@lyx.org>
2424
2425         * factory.C (createInset): pass a
2426         buffer_path parameter to InsetGraphicsMailer's string2params.
2427
2428 2003-07-21  Angus Leeming  <leeming@lyx.org>
2429
2430         * BufferView_pimpl.C (buffer):
2431         * buffer.C (d-tor):
2432         * lyx_main.C (LyX):
2433         * lyxfunc.C (dispatch):
2434         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2435         rather than the grfx shortcut.
2436
2437 2003-07-21  André Pönitz  <poenitz@gmx.net>
2438
2439         * rowpainter.C: remove unused variables
2440
2441         * tabular_funcs.C:
2442         * tabular_funcs.h: move to tabular.C
2443         * Makefile.am: adjust
2444
2445         * tabular.[Ch]: basic optical cleaning
2446
2447         * author.h: pass references, not values
2448
2449 2003-07-18  André Pönitz  <poenitz@gmx.net>
2450
2451         * lyxtext.h:
2452         * metricsinfo.C:
2453         * metricsinfo.h:
2454         * rowpainter.C:
2455         * text.C:
2456         * text2.C:
2457         * text3.C: two-phase drawing for InsetText and InsetTabular
2458         some float -> int changes.
2459
2460 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2461
2462         * lyx_main.C: fix the fix
2463
2464 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2465
2466         * lyx_main.C: fix a crash in batch mode if no files specified
2467         * converter.C: ws
2468
2469 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2470
2471         * format.[Ch] (papersize): moved to BufferParams
2472         * converter.[Ch] (dvips_options): moved to BufferParams
2473         (dvipdfm_options): moved to anon namespace
2474         * bufferparams.[Ch]: added above functions.
2475
2476 2003-07-17  André Pönitz  <poenitz@gmx.net>
2477
2478         * lyxtext.h:
2479         * rowpainter.C:
2480         * text2.C: don't call inset->update() anymore
2481
2482         * metricsinfo.[Ch]: add convenience constructor
2483
2484 2003-07-16  André Pönitz  <poenitz@gmx.net>
2485
2486         * lyxcursor.[Ch]:
2487         * lyxfunc.[Ch]:
2488         * text.C:
2489         * text2.C: replace the LyXCursor::irow_ member with
2490          on-demand computation of the value
2491
2492 2003-07-16  John Levon  <levon@movementarian.org>
2493
2494         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2495
2496 2003-07-15  André Pönitz  <poenitz@gmx.net>
2497
2498         * text.C:
2499         * text2.C: remove no more needed refresh_row
2500
2501 2003-07-15  André Pönitz  <poenitz@gmx.net>
2502
2503         * lyxtext.h:
2504         * rowpainter.C:
2505         * text2.C:
2506         * text3.C: refresh_status tristate -> need_update bool
2507
2508 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * lyxtext.h (init): remove reinit argument (act as if always true)
2511         * text2.C: adjust to that
2512
2513 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2514
2515         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2516         * text3.C: use it to delete selections in some cases
2517         (bugs 441, 673, 702, 954).
2518
2519 2003-07-14  André Pönitz  <poenitz@gmx.net>
2520
2521         * rowpainter.[Ch]: reduce interface
2522
2523 2003-07-14  André Pönitz  <poenitz@gmx.net>
2524
2525         * BufferView_pimpl.C:
2526         * text2.C: adjust after removing unused BufferView * argument
2527
2528 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2529
2530         * text2.C (init): fix a crash fired on resize
2531
2532 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2533
2534         * buffer.[Ch]: added new closing signal
2535         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2536         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2537         BufferView::Pimpl via the closing the signal
2538
2539 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2540
2541         * buffer.[Ch]: take out all bv-related from buffer
2542         * BufferView.C:
2543         * BufferView_pimpl.[Ch]: connect to new signals
2544         * CutAndPaste.C: removed useless asserts
2545         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2546         * lyxvc.[Ch]:
2547         * vc-backend.[Ch]:
2548         * lyxfunc.C: moved view-related funciontality from vc here
2549         * paragraph.C: removed outdated comments
2550         * text.C: ws
2551
2552 2003-07-10  André Pönitz  <poenitz@gmx.net>
2553
2554         * BufferView_pimpl.C:
2555         * tabular.h:
2556         * tabular_funcs.C:
2557         * text.C:
2558         * text2.C: remove InsetText::InnerCache, clean up consequences
2559
2560 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2561
2562         * ispell.C: fix two typos in error messages
2563
2564 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2565
2566         * Extend Note inset to other forms of annotation like Comment
2567         and Greyedout. Right button click gives dialog.
2568
2569         Files modified or added (+):
2570
2571         * insetnote.[Ch]
2572         * FormNote.[Ch]      +
2573         * ControlNote.[Ch]   +
2574         * form_note.fd       +
2575         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2576         frontends/controllers
2577         * xforms/Dialogs.C
2578         * factory.C
2579
2580 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2581
2582         * aspell.C: add missing namespace lyx::support
2583
2584 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2585
2586         * BufferView.[Ch] (newFile): Add
2587         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2588         * LaTeX.[Ch] (message): added this signal and use it
2589         * buffer.[Ch] (busy, message): added these signals and use them
2590         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2591         * converter.C:
2592         * exporter.C:
2593         * format.C:
2594         * importer.C: use buffer signals instead of direct bv calling
2595         * lyx_cb.[Ch] (ShowMessage): removed
2596         * lyx_main.C:
2597         * lyxfunc.C:
2598         * paragraph_funcs.C:
2599         * text2.C: use buffer signals
2600
2601 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * introduce namespace lyx::graphics
2604
2605 2003-07-02  André Pönitz  <poenitz@gmx.net>
2606
2607         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2608
2609 2003-07-01  André Pönitz  <poenitz@gmx.net>
2610
2611         * text.C:
2612         * text2.C:
2613         * text3.C:
2614         * text_funcs.[Ch]:
2615         * textcursor.h:
2616         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2617           text*.C to text_func.C
2618
2619 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * introduce namespace lyx::support
2622
2623 2003-06-30  André Pönitz  <poenitz@gmx.net>
2624
2625         * Chktex.C:
2626         * funcrequest.C:
2627         * lyxtext.h:
2628         * text.C: re-enable --with-included-string
2629
2630 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2631
2632         * textcursor.C: add <config.h>
2633
2634         * text.C (getWord): remove const from word_location arg
2635
2636         * lyxvc.C (getLogFile): fix const type order
2637
2638         * lyxtext.h: remove const from word_location arg, add arg name
2639
2640         * lyxlayout.h: currect type on labeltype.
2641
2642         * importer.C: correct \file
2643
2644         * converter.C (intToFormat): use std:: on ret val, ws changes
2645
2646         * bufferlist.h: correct \file
2647
2648         * buffer.C (makeLinuxDocFile): fix const type order
2649         (makeDocBookFile): ditto
2650         (fillWithBibKeys): use std:: on stdlib args.
2651
2652         * CutAndPaste.C: fix authors.
2653         (availableSelections): use std:: on return vector
2654
2655 2003-06-27  André Pönitz  <poenitz@gmx.net>
2656
2657         * BufferView_pimpl.C:
2658         * bufferview_funcs.C:
2659         * lyxcursor.C:
2660         * lyxcursor.h:
2661         * lyxfunc.C:
2662         * lyxtext.h:
2663         * rowpainter.C:
2664         * text.C:
2665         * text2.C:
2666         * text3.C: remove LyXCursor::row_ member
2667
2668         * lyxtext.h:
2669         * text.C: rename fullRebreak() to partialRebreak() and implement
2670           a fullRebreak() that really bereks fully
2671
2672         * textcursor.h: new struct for cursor-related data
2673
2674 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2675
2676         * lyx_main.C (LyX): get full path of document loaded on the
2677         command line
2678
2679 2003-06-26  André Pönitz  <poenitz@gmx.net>
2680
2681         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2682           remove unused/broken operator>,<,>=.
2683
2684         *       text.C: remove only use of broken operator<= in an Assert().
2685
2686 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2687
2688         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2689         moved errorlist_.clear to showErrorList
2690
2691 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * converter.C (scanLog, runLaTeX):
2694         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2695         move the bv->showErrorList call to the callers
2696         * lyxfunc.C: i.e. here...
2697         * text2.C: and here
2698         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2699         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2700         namespace, the second to...
2701         * buffer_funcs (BufferFormat, parseErrors): added
2702         * errorlist.C (ErrorList(TeXErrors const &)): removed
2703
2704 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2705
2706         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2707
2708 2003-06-24  "Garst R. Reese" <reese@isn.net>
2709
2710         * debug.C: fix typo
2711
2712 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2713
2714         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2715
2716         * version.C.in: change docversion to 1.4
2717
2718 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * buffer.C: fix a bug just introduced
2721
2722 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2723
2724         * buffer.[Ch]: added the parseError signal and use it, removed
2725         sgmlError
2726         * BufferView.[Ch] (addError): moved to ...
2727         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2728         to the Buffer::parseError signal to catch (guess what) parse errors
2729         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2730
2731 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2732
2733         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2734         ability to create a buffer and to return an existing one from
2735         the list. Moved these functions to...
2736         * buffer_funcs.[Ch]: added
2737         * BufferView.[Ch] (loadLyXFile): added
2738         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2739         job removed from bufferlist::loadLyXFile.
2740         * buffer.C (setReadOnly): make it work without view
2741         (i.e added an if (users))
2742
2743 2003-06-19  Angus Leeming  <leeming@lyx.org>
2744
2745         * lfuns.h:
2746         * LyXAction.C (init):
2747         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2748         with LFUN_DIALOG_SHOW <name> <data>.
2749
2750 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2751
2752         * CutAndPaste.C (availableSelections): small compilation fix for
2753         ancient (gcc 2.9x) compilers
2754
2755 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2756
2757         * text3.C (cursorNext): add tmp var
2758
2759         * text2.C (updateCounters): for function calling out of for clause
2760         (replaceSelectionWithString): ditto
2761         (insertStringAsParagraphs): ditto
2762         (getColumnNearX): add tmp var
2763         (setCursorFromCoordinates): add tmp var
2764         (cursorDownParagraph): add tmp var
2765         (deleteEmptyParagraphMechanism): add tmp var
2766
2767         * text.C (insertChar): add tmp var
2768
2769         * rowpainter.C (paintDepthBar): add tmp var
2770
2771         * CutAndPaste.C (availableSelections): potentially check all
2772         paragraphs in a cut to fill the shown strings.
2773
2774 2003-06-18  André Pönitz  <poenitz@gmx.net>
2775
2776         * kbmap.[Ch]: use vector<> instead of list<>
2777
2778 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2779
2780         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2781         pasteSelection with index
2782
2783         * text2.C (pasteSelection): modify, call pasteSelection with index
2784
2785         * paragraph.C (asString): reimplement version with no interval to
2786         call the one with interval.
2787
2788         * lyxtext.h: add index arg to pasteSelection
2789
2790         * MenuBackend.C (MenuItem): handle PasteRecent
2791         (Menu::read::Menutags): add md_pasterecent
2792         (read): handle it
2793         (expandPasteRecent): new function
2794         (expand): use it
2795
2796         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2797
2798         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2799         the limited stack
2800         (availableSelections): new function
2801
2802 2003-06-17  Angus Leeming  <leeming@lyx.org>
2803
2804         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2805
2806 2003-06-17  Angus Leeming  <leeming@lyx.org>
2807
2808         * lfuns.h:
2809         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2810
2811         * lyxfunc.C (dispatch): invoke it.
2812
2813 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2814
2815         * iterators.C (operator++, ParPosition): reintroduce some
2816         const_cast for the benefit of older compilers.
2817
2818 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2819
2820         * text3.C (dispatch): do not modify clipboard when doing
2821         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2822         LFUN_DELETE_SKIP on a selection selection
2823
2824 2003-06-16  André Pönitz  <poenitz@gmx.net>
2825
2826         * BufferView.C:
2827         * buffer.C:
2828         * buffer.h:
2829         * paragraph.C:
2830         * tabular.[Ch]: IU of clone() and getLabelList();
2831
2832 2003-06-13  André Pönitz  <poenitz@gmx.net>
2833
2834         * tabular.h: compactification
2835
2836 2003-06-12  André Pönitz  <poenitz@gmx.net>
2837
2838         * tabular.C:
2839         * tabular.h:
2840         * tabular_funcs.h: some renaming plus whitespace
2841
2842 2003-06-12  André Pönitz  <poenitz@gmx.net>
2843
2844         * BufferView.C:
2845         * BufferView_pimpl.C:
2846         * CutAndPaste.C:
2847         * buffer.C:
2848         * iterators.[Ch]:
2849         * lyxfunc.C:
2850         * text.C:
2851         * toc.C: Return a Paragraph & for ParIterator::operator*()
2852
2853 2003-06-11  John Levon  <levon@movementarian.org>
2854
2855         * lyx_main.C:
2856         * ToolbarBackend.h:
2857         * ToolbarBackend.C: add "Toolbars" section and
2858         put the flags there
2859
2860 2003-06-10  Angus Leeming  <leeming@lyx.org>
2861
2862         * lfuns.h:
2863         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2864
2865         * lyxfunc.C (dispatch): invoke it.
2866
2867 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * main.C: protect <ios> with HAVE_IOS
2870         (main): protect sync_with_stdio with HAVE_IOS
2871
2872 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2873
2874         * text2.C (cutSelection): adjust
2875         (pasteSelection): adjust
2876
2877         * messages.C: handle get of empty string
2878
2879         * main.C (main): use sync_with_stdio(false)
2880
2881         * lyxfunc.C (dispatch): adjust
2882
2883         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2884         (WriteAs): remove unneeded BufferView arg.
2885
2886         * bufferparams.h: use correct types on papersize, papersize2 and
2887         paperpackage.
2888
2889         * bufferparams.C (readToken): adjust for type
2890         (writeLaTeX): add missing cases to switch.
2891
2892         * bufferlist.C (quitWriteBuffer): adjust
2893         (close): adjust
2894
2895         * buffer.C (asciiParagraph): remove some commented code.
2896
2897         * CutAndPaste.C: remove current_view extern variable.
2898         (cutSelection): add BufferParams arg.
2899         (eraseSelection): add BufferParams arg.
2900         (pasteSelection): add Buffer const & arg
2901
2902 2003-06-07  John Levon  <levon@movementarian.org>
2903
2904         * buffer.C:
2905         * paragraph_funcs.C:
2906         * paragraph_pimpl.C:
2907         * text.C:
2908         * text2.C:
2909         * paragraph.h:
2910         * paragraph.C: allow InsetERT to freely space lines,
2911         and some consolidation of code
2912
2913 2003-06-06  José Matos  <jamatos@fep.up.pt>
2914
2915         * buffer.C (makeDocBookFile): fix bug #821
2916
2917 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2918
2919         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2920
2921 2003-06-04  Angus Leeming  <leeming@lyx.org>
2922
2923         * buffer.C: bump format to 224.
2924
2925 2003-06-05  André Pönitz  <poenitz@gmx.net>
2926
2927         * text2.C (redoParagraphs): remove two const_cast<>
2928
2929 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2930
2931         * ParagraphList.h: remove last remnants of NO_STD_LIST
2932
2933 2003-06-03  Angus Leeming  <leeming@lyx.org>
2934
2935         * factory.C (createInset): small change to the way InsetExternal's params
2936         are set.
2937
2938 2003-06-04  André Pönitz  <poenitz@gmx.net>
2939
2940         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2941
2942         * paragraph_pimpl.h:
2943         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2944
2945         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2946
2947         * undo_funcs.C: make some simple cases of undo work again
2948
2949 2003-06-03  John Levon  <levon@movementarian.org>
2950
2951         * ispell.C: HPUX doesn't have sys/select.h
2952         (from Albert Chin)
2953
2954 2003-06-03  John Levon  <levon@movementarian.org>
2955
2956         * CutAndPaste.C: update tabular and include inset
2957         buffer references
2958
2959         * buffer.h:
2960         * paragraph.h:
2961         * paragraph.C: remove owningBuffer(), don't pass Buffer
2962         to clone()
2963
2964         * factory.C: insetGraphicsParams changed
2965
2966 2003-06-02  John Levon  <levon@movementarian.org>
2967
2968         * LyXAction.C:
2969         * factory.C:
2970         * lfuns.h:
2971         * lyxfunc.C:
2972         * text3.C: remove insetparent
2973
2974 2003-06-02  John Levon  <levon@movementarian.org>
2975
2976         * buffer.h:
2977         * buffer.C: fix inset_iterator.end(), move out of line
2978         (bug 1149)
2979
2980 2003-06-01  John Levon  <levon@movementarian.org>
2981
2982         * text3.C: use a proper cut/paste when doing inset
2983         insert (from Jürgen Spitzmüller)
2984
2985 2003-06-01  John Levon  <levon@movementarian.org>
2986
2987         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2988
2989 2003-05-30  André Pönitz  <poenitz@gmx.net>
2990
2991         * rowpainter.C: unify second drawing phase
2992
2993 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2994
2995         * trans_mgr.C: remove one case of current_view
2996
2997         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2998
2999         * paragraph_funcs.h: remove paragraph.h include
3000
3001         * paragraph.h: delete NO_STD_LIST stuff
3002
3003         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3004
3005         * buffer.h: remove paragraph.h include
3006
3007         * ParagraphList.C: delete file
3008
3009         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3010
3011         * toc.C (getTocList): adjust
3012
3013         * paragraph_pimpl.C (validate): adjust
3014
3015         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3016
3017         * paragraph.C (Paragraph): adjust
3018         (getPositionOfInset): use const_iterator, adjust
3019         (bibitem): use const_iterator, adjust
3020         (setInsetOwner): adjust
3021
3022         * iterators.C (operator++): adjust
3023
3024         * InsetList.[Ch]: Replace selfmade iterator with standard
3025         vector::iterator also introduce const_iterator. Remove getPos,
3026         getInset and setInset from InsetTable. Adjust accordingly.
3027
3028         * BufferView.C (lockInset): adjust
3029         (ChangeInsets): adjust
3030
3031         * tabular.[Ch]: delete commented same_id functions
3032
3033 2003-05-28  John Levon  <levon@movementarian.org>
3034
3035         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3036
3037 2003-05-28  André Pönitz  <poenitz@gmx.net>
3038
3039         * metricsinfo.[Ch]: remove 'fullredraw' member
3040
3041 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3042
3043         * lyxtextclass.C (operator): remove caching.
3044
3045 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * text3.C: adjust
3048
3049         * text2.C (cursorBottom): adjust
3050         (setCounter): use ParagraphList::find, adjust
3051
3052         * text.C (workWidth): use ParagraphList::find, adjust
3053
3054         * lyxcursor.C (LyXCursor): adjust
3055
3056         * buffer.C (inset_iterator): adjust
3057
3058         * ParagraphList.h: make iterator(value_type) private, make
3059         ParagraphList a friend of iterator.
3060
3061         * ParagraphList.C (find): new function
3062
3063         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3064
3065 2003-05-27  André Pönitz  <poenitz@gmx.net>
3066
3067         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3068
3069 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3070
3071         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3072
3073 2003-05-26  John Levon  <levon@movementarian.org>
3074
3075         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3076
3077 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3078
3079         * remove same_id from function signatures, adjust.
3080
3081 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3082
3083         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3084
3085         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3086
3087         * paragraph.C (Paragraph): get rid of same_ids parameter
3088
3089         * ParagraphList.C (insert): adjust
3090         (push_back): adjust
3091
3092 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * paragraph_funcs.C (breakParagraph): adjust
3095         (breakParagraphConservative): adjust
3096
3097         * buffer.C (readParagraph): adjust
3098
3099         * ParagraphList.C (insert): take a reference instead of a pointer
3100         (insert): adjust
3101
3102         * paragraph.[Ch] (id): new function
3103
3104         * bufferlist.C (newFile): adjust
3105
3106         * ParagraphList.C (ParagraphList): adjust
3107         (assign): adjust
3108         (push_back): take a reference instead of a pointer.
3109
3110         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3111
3112         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3113         instead.
3114
3115         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3116         set else use old code.
3117
3118         * ParagraphList.C: remove all NO_NEXT code and only compile this
3119         code of NO_STD_LIST is set.
3120
3121 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3122
3123         * BufferView_pimpl.C:
3124         * TextCache.C:
3125         * TextCache.h:
3126         * bufferlist.C:
3127         * errorlist.h:
3128         * format.C:
3129         * format.h:
3130         * graph.C:
3131         * lyxfunc.C:
3132         * lyxrc.C:
3133         * graphics/GraphicsConverter.C:
3134         * graphics/PreviewLoader.C: header adjustment
3135
3136 2003-05-23  Angus Leeming  <leeming@lyx.org>
3137
3138         * LaTeXFeatures.[Ch] (useBabel): new method.
3139         * bufferparams.C (writeLaTeX): use it.
3140
3141 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * ParagraphList.h (set): remove unused function.
3144
3145 2003-05-23  André Pönitz  <poenitz@gmx.net>
3146
3147         * BufferView.C:
3148         * BufferView_pimpl.C:
3149         * buffer.C:
3150         * buffer.h:
3151         * lyxfunc.C:
3152         * undo_funcs.C: setUndo reworked
3153
3154         * iterators.[Ch]: add access to topmost ParagraphList
3155
3156         * lyxtext.[Ch] (workWidth): add a const
3157
3158 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3159
3160         * texrow.[Ch] (increasePos): remove function
3161         * exporter.C (export): removed unused var and outdated comment
3162
3163 2003-05-23  Angus Leeming  <leeming@lyx.org>
3164
3165         * latexrunparams.h: rename fragile as moving_arg.
3166         * paragraph.C (simpleTeXOnePar): ditto.
3167         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3168
3169 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3170
3171         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3172         (createUndo): ditto
3173         (textUndoOrRedo): comment out a currently unused var.
3174
3175         * paragraph.h (NO_NEXT): enable NO_NEXT
3176
3177         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3178
3179         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3180
3181         * exporter.C (Export): adjust for removeAutoInsets removal.
3182
3183         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3184
3185         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3186
3187         * BufferView.[Ch] (removeAutoInsets): delete function
3188
3189 2003-05-22  Angus Leeming  <leeming@lyx.org>
3190
3191         * latexrunparams.h: add a free_spacing variable.
3192
3193         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3194         to pass moving_arg, as the data is stored in runparams.fragile.
3195
3196         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3197         to Inset::latexOptional or to simpleTeXOnePar.
3198
3199         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3200         free_spacing arg to Inset::latexOptional.
3201
3202         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3203         free_spacing arg.
3204
3205 2003-05-22  Angus Leeming  <leeming@lyx.org>
3206
3207         * latexrunparams.h: add fragile and use_babel variables.
3208
3209         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3210         * buffer.C (makeLaTeXFile): store this returned value in
3211         runparams.use_babel, thus passing it to the inset::latex methods.
3212
3213         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3214         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3215
3216         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3217         longer has a fragile arg, as it is stored in runparams.fragile.
3218
3219         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3220         moving_arg parameter as the data is stored in runparams.fragile.
3221
3222         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3223         a fragile parameter as the data is stored in runparams.fragile.
3224
3225 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3226
3227         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3228
3229 2003-05-22  Angus Leeming  <leeming@lyx.org>
3230
3231         * latexrunparams.h: add a 'bool nice' which defaults to false.
3232
3233         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3234         now encapsulated within runparams.
3235
3236         * bufferlist.C (updateIncludedTeXfiles):
3237         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3238
3239 2003-05-22  Angus Leeming  <leeming@lyx.org>
3240
3241         * latexrunparams.h: new file containing struct LatexRunParams.
3242         * Makefile.am: add new file.
3243
3244         * LaTeX.[Ch] (c-tor, run):
3245         * buffer.[Ch] (makeLaTeXFile):
3246         * bufferlist.[Ch] (updateIncludedTeXfiles):
3247         * converter.C (convert, scanLog):
3248         * converter.[Ch] (runLaTeX):
3249         * exporter.C (Export):
3250         * paragraph.[Ch] (simpleTeXOnePar):
3251         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3252         * paragraph_funcs.[Ch] (latexParagraphs):
3253         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3254         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3255         pass around a LatexRunParams parameter.
3256
3257 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3258
3259         * paragraph.[Ch]: remove unused constructor
3260
3261         * ParagraphList.C (erase): new function, taking two iterators
3262
3263 2003-05-22  André Pönitz  <poenitz@gmx.net>
3264
3265         * undo_funcs.C: remove duplicated code
3266
3267         * iterator.[Ch]: operator=
3268
3269 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3270
3271         * tabular.C (SetMultiColumn): ws changes
3272
3273         * rowpainter.C (paintFirst): get rid of a ->previous
3274
3275         * lyx_cb.C (getPossibleLabel): parlist simplification
3276
3277         * BufferView.C (ChangeInsets): simplify slightly.
3278
3279 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3280
3281         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3282         * lfuns.h: new LFUN_SPACE
3283         * lyxfunc.C: protected space has a new lfun
3284         * paragraph_funcs.C: read new space insets
3285         * text3.C:
3286         * factory.C: handle new space insets
3287
3288 2003-05-22  André Pönitz  <poenitz@gmx.net>
3289
3290         * BufferView.C:
3291         * BufferView_pimpl.C:
3292         * buffer.[Ch]:
3293         * lyxfunc.C:
3294         * undo_funcs.C: return a ParIterator from getParFromID.
3295
3296         * iterators.[Ch]: add two const's
3297
3298 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3299
3300         * toc.C (getTocList): adjust
3301
3302         * iterators.[Ch]: rework for parlist
3303
3304         * buffer.C (par_iterator_begin): adjust
3305         (par_iterator_end): adjust
3306
3307         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3308
3309         * BufferView.C (removeAutoInsets): adjust
3310         (ChangeInsets): adjust
3311
3312 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3313
3314         * text.C (top_y): fix bug 1110
3315
3316 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3317
3318         * errorlist.[Ch]: added
3319         * buffer.C:
3320         * BufferView.[Ch]:
3321         * BufferView_pimpl.C:
3322         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3323         instead
3324
3325 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * Makefile.am: ensure that lyx is relinked upon changes to the
3328         various "convenience" libs.
3329
3330 2003-05-20  Angus Leeming  <leeming@lyx.org>
3331
3332         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3333         files are compiled in alphabetical order again.
3334
3335         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3336
3337 2003-05-19  Angus Leeming  <leeming@lyx.org>
3338
3339         * gettext.[Ch]: remove "char const * _(char const *)".
3340
3341 2003-05-19  André Pönitz  <poenitz@gmx.net>
3342
3343         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3344
3345         * Makefile.am:
3346         * BufferView.C:
3347         * DepTable.h:
3348         * LaTeXFeatures.C:
3349         * buffer.C:
3350         * lyxfont.C:
3351         * lyxlex.h:
3352         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3353
3354 2003-05-19  André Pönitz  <poenitz@gmx.net>
3355
3356         * buffer.C:
3357         * lyxlayout.[Ch]:
3358         * lyxtextclass.[Ch]:
3359         * paragraph.C:
3360         * paragraph_funcs.[Ch]:
3361         * text2.C:
3362         * text3.C: more insetenv work
3363
3364 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3365
3366         * ParagraphParameters.C (params2string): small bug fixed
3367
3368 2003-05-16  André Pönitz  <poenitz@gmx.net>
3369
3370         * debug.C:
3371         * bufferview_funcs.C: patch from Kornel Benko to prevent
3372           crash when _(...) is called twice in a statement
3373
3374 2003-05-16  André Pönitz  <poenitz@gmx.net>
3375
3376         * BufferView.C:
3377         * lyxfunc.C:
3378         * text.C:
3379         * text2.C:
3380         * text3.C:
3381         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3382
3383 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3384
3385         * lyx_main.C (init): remove spurious static_cast
3386
3387 2003-05-14  André Pönitz  <poenitz@gmx.net>
3388
3389         * BufferView.C: fix format string
3390
3391 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3392
3393         * BufferView.[Ch] (insertErrors): removed
3394         * BufferView.[Ch] (showErrorList): added
3395         * buffer.C (runChkTeX):
3396         * converter.C (scanLog): call showErrorList instead of inserterrors
3397
3398 2003-05-13  André Pönitz  <poenitz@gmx.net>
3399
3400         * BufferView_pimpl.C:
3401         * buffer.C:
3402         * bufferview_func.C:
3403         * MenuBackend.C:
3404         * lyxfunc.C:
3405         * lyxrc.C:
3406         * tex-accent.C:
3407         * text3.C:
3408         * toc.C:
3409         * tabular_funcs.h: tostr() from its own header
3410
3411         * ParagraphParameters.C:
3412         * ToolbarBackend.C:
3413         * bufferparams.C:
3414         * format.C:
3415         * lyxlex_pimpl.C:
3416         * text3.C: STRCONV()
3417
3418 2003-05-12  André Pönitz  <poenitz@gmx.net>
3419
3420         * BufferView.C:
3421         * BufferView_pimpl.C:
3422         * CutAndPaste.C:
3423         * LaTeX.C:
3424         * LaTeXFeatures.C:
3425         * ParagraphParameters.C:
3426         * buffer.C:
3427         * bufferlist.C:
3428         * bufferparams.C:
3429         * bufferview_funcs.C:
3430         * converter.C:
3431         * counters.C:
3432         * debug.C:
3433         * exporter.C:
3434         * format.C:
3435         * importer.C:
3436         * lyx_cb.C:
3437         * lyx_main.C:
3438         * lyxfont.C:
3439         * lyxfunc.C:
3440         * lyxvc.C:
3441         * paragraph.C:
3442         * paragraph_funcs.C:
3443         * tabular.C:
3444         * tabular_funcs.C:
3445         * text2.C:
3446         * text3.C:  boost::format -> bformat  all over the place
3447
3448
3449 2003-05-09  André Pönitz  <poenitz@gmx.net>
3450
3451         * LColor.[Ch]: Pimpl the #include <map> away
3452
3453 2003-05-09  John Levon  <levon@movementarian.org>
3454
3455         * bufferlist.C: never remove emergency saves
3456
3457 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * Makefile.am: better lib building
3460
3461 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3464         instead.
3465         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3466         (simpleTeXSpecialChars): adjust
3467         (simpleTeXSpecialChars): adjust
3468         * paragraph.C (simpleTeXOnePar): adjust
3469         * buffer.C (makeLaTeXFile): adjust
3470
3471         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3472
3473         * text2.C (changeDepth): parlist cleanup
3474         (getColumnNearX): ditto
3475
3476         * rowpainter.C (getLabelFont): parlist cleanup
3477
3478         * bufferlist.C (newFile): parlist cleanup
3479
3480         * CutAndPaste.C (eraseSelection): parlist cleanup
3481
3482         * BufferView_pimpl.C (trackChanges): parlist cleanup
3483         (dispatch): ditto
3484
3485         * BufferView.C (lockInset): parlist cleanup.
3486         (ChangeInsets): ditto
3487
3488 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3489
3490         * CutAndPaste.h: Update file header.
3491
3492         * CutAndPaste.C: Update file header.
3493         Store the parts cut out of the Document in a limited_stack.
3494         (copySelection): adjust
3495         (pasteSelection): new function, takes the index in the limited stack.
3496         (nrOfParagraphs): adjust
3497         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3498         simplify error inset insertion.
3499         (checkPastePossible): adjust
3500
3501 2003-05-06  John Levon  <levon@movementarian.org>
3502
3503         * text2.C: don't cast wrap inset to float
3504
3505 2003-05-05  André Pönitz  <poenitz@gmx.net>
3506
3507         * iterator.C:
3508         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3509
3510         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3511           few naked Paragraph *.
3512
3513 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3514
3515         * bufferparams.C: Output warning if a document with missing
3516         TeX document class is loaded
3517         * exporter.C: Disable TeX exports if the document class is missing
3518         * lyxtextclass.C:
3519         * lyxtextclass.h:
3520         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3521         isTeXClassAvailable()
3522
3523 2003-05-03  John Levon  <levon@movementarian.org>
3524
3525         * BufferView.h:
3526         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3527         explicit cursor show/hide
3528
3529         * BufferView_pimpl.h:
3530         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3531         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3532
3533         * lyxfunc.C: hide cursor before dispatching.
3534
3535         * lyx_cb.C:
3536         * lyxfind.C:
3537         * text.C:
3538         * text3.C: remove explicit cursor hides
3539
3540 2003-05-02  André Pönitz  <poenitz@gmx.net>
3541
3542         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3543
3544         * undo_funcs.C:
3545         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3546           linked lists
3547
3548         * text2.C: tiny whitespace
3549
3550 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3551
3552         * undo_funcs.C: almost only ws changes.
3553
3554         * ParagraphList.C (splice): just return if pl is empty.
3555
3556 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * ParagraphList.C (splice): new function.
3559
3560         * CutAndPaste.C (pasteSelection): use it
3561
3562 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * CutAndPaste.C (pasteSelection): remove the last next and
3565         previous from this file.
3566
3567 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * CutAndPaste.C (pasteSelection): more clean up, user proper
3570         ParagraphList functions for pasteing.
3571
3572         * ParagraphList.C (insert): new function, three arg insert
3573
3574 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * ParagraphList.C (insert): new function, three arg insert
3577
3578         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3579         not on paragraphs.
3580
3581 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3584
3585 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3586
3587         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3588
3589 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3592         (copySelection): clean up a bit.
3593         (pasteSelection): use make_pair
3594
3595         * ParagraphList.C (ParagraphList): implement copy constructor
3596         (operator=): implement, base on copy constructor.
3597         (assign): new func
3598
3599         * paragraph.C (erase): return a bool
3600
3601         * paragraph_pimpl.C (erasePos): remove function, move contents...
3602         (erase): ... here. Return a bool.
3603         (erase): call erase instead of erasePos.
3604
3605 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3606
3607         * ParagraphList.h: define PitPosPair
3608         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3609         ParagraphList, fix a bug on pasting multiple pars
3610         * text2.C: change interface to C&P
3611
3612 2003-04-30  André Pönitz  <poenitz@gmx.net>
3613
3614         * undo_func.C: revert part of yesterday's patch 2
3615
3616 2003-04-30  John Levon  <levon@movementarian.org>
3617
3618         * LColor.C: s/tabular/table/
3619
3620 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3621
3622         * text3.C (dispatch): do not convert iterator -> pointer
3623         * undo_funcs.C (setCursorParUndo): ditto
3624         * text_funcs.C (transposeChars): ditto
3625
3626         * text2.C (setLayout): ws changes only
3627
3628         * text.C (breakParagraph): do not convert iterator -> pointer
3629         (insertChar): ditto
3630         (acceptChange): ditto
3631         (rejectChange): ditto
3632         (changeCase): ditto
3633         (Delete): ditto
3634         (backspace): ditto
3635
3636         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3637         pointer
3638
3639 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3640
3641         * text3.C (gotoInset): YABG (yet another bad getChar)
3642
3643 2003-04-29  André Pönitz  <poenitz@gmx.net>
3644
3645         * paragraph.h: make operator= private unimplemented as long as
3646           it is unusable
3647
3648         * ParagraphList.C: whitespace
3649
3650         * paragraph.[Ch]:
3651         * paragraph_pimpl.[Ch]:
3652         * paragraph_funcs.C:
3653         * CutAndPaste.C:
3654         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3655
3656         * text2.C:
3657           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3658
3659 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3660
3661         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3662         * paragraph.[Ch] (erase):
3663         * paragraph_pimpl.[Ch] (erase): change return type and value
3664         * text2.C (cutSelection): some rework
3665
3666 2003-04-28  John Levon  <levon@movementarian.org>
3667
3668         * bufferlist.C: changes for unsaved changes dialog
3669
3670 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3671
3672         * bufferlist.C (newFile): set language (messages_) for new
3673         documents also.
3674
3675         * buffer.C (readFile): ws changes only.
3676
3677 2003-04-28  André Pönitz  <poenitz@gmx.net>
3678
3679         * undo_funcs.C:
3680         * lyxfunc.C:
3681         * buffer.[Ch]:
3682         * BufferView_pimpl.C:
3683         * BufferView.C: getParFromID related ParagraphList::iterator changes
3684
3685 2003-04-28  André Pönitz  <poenitz@gmx.net>
3686
3687         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3688           Changes
3689
3690 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * messages.C: remove one more localedir class variable.
3693
3694 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3695
3696         * messages.C (getLocaleDir): singleton generation function
3697         (Pimpl): use it.
3698         (Messages): add a default constructor.
3699
3700         * main.C (main): do not setup localedir here, do not call
3701         gettext_init.
3702
3703         * gettext.C (_): use it.
3704         (gettext_init): delete funciton
3705
3706 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * gettext.C (getLyXMessages): new singleton generating function.
3709
3710         * buffer.C (updateDocLang): adjust
3711
3712         * Makefile.am (messages.o): add target
3713         (main.o): remove target
3714
3715 2003-04-27  John Levon  <levon@movementarian.org>
3716
3717         * bufferlist.C:
3718         * lyx_cb.C:
3719         * lyxfunc.C:
3720         * lyxvc.C: specify cancel button in Alert::prompt
3721
3722 2003-04-26  John Levon  <levon@movementarian.org>
3723
3724         * text3.C:
3725         * lyxfunc.C:
3726         * lfuns.h:
3727         * LyXAction.C: add LFUN_INSET_SETTINGS
3728
3729         * lyxfunc.C: don't enable tabular-feature when there's
3730         just any locking inset
3731
3732 2003-04-26  John Levon  <levon@movementarian.org>
3733
3734         * bufferlist.C: re-add Cancel to buffer close question
3735
3736         * lyxfunc.C: fix import UI a bit
3737
3738 2003-04-25  John Levon  <levon@movementarian.org>
3739
3740         * gettext.C: remove the broken asserts for now
3741
3742 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * messages.C: make case where setlocale cannot comply work better.
3745
3746         * buffer.C (updateDocLang): new function
3747         (changeLanguage): use it
3748         (readFile): use it
3749
3750         * text2.C (setCounter): use B_ a bit.
3751
3752         * lyxlayout.C (Read): be sure to trim the label strings.
3753
3754         * messages.C (Messages): fix typo in comment
3755
3756         * buffer.C (readFile): set message_ after file is loaded.
3757         (makeDocBookFile): remove double return
3758         (changeLanguage): reset message_ upon language change.
3759         (B_): new func, use this to get translated buffer strings.
3760
3761         * main.C: add myself and Jean Marc as authors.
3762
3763 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * messages.[hC]: pimplify Messages, and three different pimpls to be
3766         used in different circumstances.
3767
3768         * gettext.[Ch]: change for use with new message code.
3769
3770 2003-04-24 André Pönitz <poenitz@gmx.net>
3771
3772         * factory.C: support for eqref
3773
3774 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3775
3776         * messages.[Ch]: add missing char
3777
3778         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3779
3780         * messages.[Ch]: New files
3781
3782 2003-04-18  John Levon  <levon@movementarian.org>
3783
3784         * BufferView.h:
3785         * BufferView.C:
3786         * BufferView_pimpl.C:
3787         * lfuns.h:
3788         * LyXAction.C:
3789         * lyxtext.h:
3790         * text2.C: remove layout-copy/paste (bug 778)
3791
3792 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3793
3794         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3795
3796 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3797
3798         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3799         if they succeed. Act accordingly.
3800
3801 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3802
3803         * text2.C (setCharFont): adjust
3804         (setCounter): adjust
3805         (insertStringAsLines): adjust
3806
3807         * text.C (leftMargin): adjust
3808         (setHeightOfRow): adjust
3809
3810         * rowpainter.C (paintFirst): adjust
3811         (paintLast): adjust
3812
3813         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3814         (outerHook): ditto
3815         (isFirstInSequence): ditto
3816         (getEndLabel): ditto
3817         (outerFont): adjust
3818
3819         * paragraph.C (getParLanguage): comment out some hard stuff.
3820
3821         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3822         (sgmlError): ditto
3823         (simpleDocBookOnePar): ditto
3824         (makeDocBookFile): use ParagraphList::iterator
3825
3826         * CutAndPaste.C (pasteSelection): adjust
3827
3828 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * text2.C (getFont): adjust
3831         (getLayoutFont): adjust
3832         (getLabelFont): adjust
3833
3834         * paragraph_funcs.C (TeXOnePar): adjust
3835
3836         * buffer.C (simpleLinuxDocOnePar): adjust
3837         (simpleDocBookOnePar): adjust
3838
3839         * CutAndPaste.C (pasteSelection): adjust
3840
3841         * BufferView.C (getEncoding): adjust
3842
3843         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3844
3845 2003-04-16  John Levon  <levon@movementarian.org>
3846
3847         * lyxfind.C: use parlist stuff for search/changes
3848
3849 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3852
3853         * text2.C (deleteEmptyParagraphMechanism): adjust
3854
3855         * text2.[Ch] (ownerParagraph): delete func (both of them
3856
3857 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3858
3859         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3860
3861 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3862
3863         * ParagraphList.C: prepare for NO_NEXT
3864
3865 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * text2.C (getFont): adjust
3868         (getLayoutFont): adjust
3869         (getLabelFont): adjust
3870
3871         * paragraph.C (getFont): adjust
3872         (getLabelFont): adjust
3873         (getLayoutFont): adjust
3874
3875         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3876
3877 2003-04-15  John Levon  <levon@movementarian.org>
3878
3879         From Angus Leeming
3880
3881         * lyx_main.C: handle Include in .ui files
3882
3883 2003-04-15  John Levon  <levon@movementarian.org>
3884
3885         * MenuBackend.C: make the doc files length shorter
3886
3887         * ToolbarBackend.h:
3888         * ToolbarBackend.C: handle toolbar placement flags,
3889         Minibuffer
3890
3891 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3894         adjust
3895
3896         * paragraph_funcs.C (TeXOnePar): adjust
3897
3898         * paragraph.C (getLabelFont): add outerfont arg, adjust
3899         (getLayoutFont): ditto
3900         (simpleTeXOnePar): adjust
3901
3902         * paragraph_pimpl.C (realizeFont): delete func
3903
3904 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3905
3906         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3907         row argument, constify cur argument.
3908
3909 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * text2.C (getFont): adjust
3912         (getLayoutFont): adjust
3913         (getLabelFont): adjust
3914
3915         * paragraph_funcs.C (TeXOnePar): adjust
3916         (outerFont): new func...
3917         (realizeFont): ...moved out from here, changed this to facilitate
3918         transition
3919
3920         * paragraph.C (getFont): take outerfont as arg, adjust
3921         (simpleTeXOnePar): add outerfont arg, adjust
3922
3923         * buffer.C (simpleLinuxDocOnePar): adjust
3924         (simpleDocBookOnePar): adjust
3925
3926         * CutAndPaste.C (pasteSelection): adjust
3927
3928         * BufferView.C (getEncoding): adjust
3929
3930 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * text2.C (setCharFont): adjust
3933         (setCounter): adjust
3934
3935         * text.C (leftMargin): adjust
3936         (setHeightOfRow): adjust
3937
3938         * rowpainter.C (paintFirst): adjust
3939         (paintLast): adjust
3940
3941         * paragraph_pimpl.C (realizeFont): adjust
3942
3943         * paragraph.C (isFirstInSequence): move from here...
3944         * paragraph_funcs.C (isFirstInSequence): ...to here
3945
3946         * paragraph.C (outerHook): move from here...
3947         * paragraph_funcs.C (outerHook): ...to here
3948
3949         * paragraph.C (depthHook): move from here...
3950         * paragraph_funcs.C (depthHook): ...to here
3951
3952         * paragraph.C (getEndLabel): move from here...
3953         * paragraph_funcs.C (getEndLabel): ...to here
3954
3955         * text2.C (realizeFont): move from here...
3956         * paragraph_funcs.C (realizeFont): ...to here
3957
3958 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3961
3962 2003-04-14  Angus Leeming  <leeming@lyx.org>
3963
3964         * LColor.[Ch]: scrap LColor mathcursor.
3965
3966 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3967
3968         * lyxlex.[Ch] (text): delete function
3969         * trans.C (Load): adjust
3970         * paragraph_funcs.C (readParToken): adjust
3971
3972 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3973
3974         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3975         vector<char> instead of a char[].
3976
3977         * lyxlex_pimpl.C (getString): adjust
3978         (next): adjust
3979         (lex): use getString
3980         (eatLine): adjust
3981         (nextToken): adjust
3982
3983         * lyxlex.C (text): use pimpl_->getString()
3984         (getBool): ditto
3985         (findToken): ditto
3986
3987 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3990         (makeFontEntriesLayoutSpecific): temp var for par.size()
3991         (setLayout): temp var for ownerParagraphs().end()
3992         (fullRebreak): temp var for rows().end()
3993         (selectionAsString): temp var for boost::next(startpit), realize
3994         that the while really is a regular for loop.
3995         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3996         setCursor in one place.
3997         (setParagraph): temp vr for ownerParagraphs().end()
3998         (updateCounters): make the while loop a for loop
3999         (cutSelection): temp var for ownerParagraphs().end()
4000         (updateInset): make the do {} while() a regular for loop
4001         (getCursorX): use temp vars
4002         (setCurrentFont): use temp vars
4003         (getColumnNearX): use temp vars
4004
4005 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * text.C (transformChar): use temp var for getChar
4008         (computeBidiTables): use temp var for row->par()
4009         (fill): move temp vars for row->par() and pit->layout() earlier in
4010         the function.
4011         (labelFill): use temp var for row->par()
4012         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4013         asc and desc, realize that pit never changes and that firstpit is
4014         just a duplicate and not needed. Exchange rit->par() with pit in a
4015         lot of places.
4016         (breakAgain): use a temp var for boost::next(rit)
4017         (breakAgainOneRow): ditto
4018         (breakParagraph): use a temp var for rows().begin()
4019         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4020         (cursorRightOneWord): use temp var for cursor.par() and
4021         cursor.pos(), remove usage of tmpcursor.
4022         (cursorLeftOneWord): use temp var for cursor.par() and
4023         cursor.pos() only set cur at end of function.
4024
4025 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * text.C, text2.C: exchange all usage of Paragraph::next with
4028         boost::next(ParagraphList::iterator)
4029
4030         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4031
4032         * text2.C (cursorTop): simplify implementation
4033         (cursorBottom): ditto
4034         (setParagraph): use ParagraphList::iterator
4035         (setCurrentFont): adjust
4036         (getColumnNearX): adjust
4037         (cursorRight): adjust
4038         (cursorLeft): remove usage of Paragraph::previous
4039         (cursorUpParagraph): ditto
4040         (deleteEmptyParagraphMechanism): slight cleanup
4041
4042         * text.C (isBoundary): take a Paragraph const & instead of a
4043         pointer as arg.
4044         (addressBreakPoint): ditto
4045         (leftMargin): remove usage of Paragraph::previous.
4046         (setHeightOfRow): ditto
4047         (cursorLeftOneWord): ditto
4048         (selectNextWordToSpellcheck): ditto
4049         (Delete): ditto
4050         (backspace): ditto
4051         (breakParagraph): remove one usage of Paragraph::next
4052         (redoParagraph): ditto
4053         (acceptChange): ditto
4054         (insertChar): adjust
4055         (rowBreakPoint): adjust
4056
4057         * bufferview_funcs.C (toggleAndShow): adjust
4058
4059 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4060
4061         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4062         methods to access it.
4063         * lyxtext.h:
4064         * text.C: Added updateRowPositions to compute all row positions.
4065         Make top_y and getRowNearY() to use the cached y position
4066
4067 2003-04-11  John Levon  <levon@movementarian.org>
4068
4069         * text.C (rowBreakPoint): reintroduce the labelEnd
4070         checks, code copied from the row fill stuff. Deep voodoo.
4071
4072         * text.C (fill): add a comment and debugging for the
4073         next poor soul.
4074
4075 2003-04-11  John Levon  <levon@movementarian.org>
4076
4077         * text.C: make sure fullrow insets get wrapped to the next line,
4078         even when they're in a manual label
4079
4080 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * text2.C (insertParagraph): make it take ParagraphList::iterator
4083         as arg.
4084         (setLayout): make it return ParagraphList::iterator
4085         (redoParagraphs): ditto
4086         (setCounter): ditto
4087         (checkParagraph): ditto
4088
4089         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4090
4091         * text2.C: adjust several funcs.
4092         (realizeFont): take a ParagraphList::iterator as arg.
4093         (getLayoutFont): ditto
4094         (getLabelFont): ditto
4095         (setCharFont): ditto
4096
4097         * text.C: adjust several funcs.
4098
4099 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4100
4101         * text.C (selectNextWordToSpellcheck): don't accidentally
4102         skip insets
4103
4104 2003-04-10  John Levon  <levon@movementarian.org>
4105
4106         * ToolbarBackend.C (getIcon): special handling for
4107         LFUN_MATH_DELIM
4108
4109 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4110
4111         * text2.C (cursorRight): a getChar assert fixed
4112
4113 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * text2.C (getFont): change to take a ParagraphList::iterator
4116         instead of Paragraph*
4117         Adjust several functions.
4118
4119         * text.C (transformChar): change to take a ParagraphList::iterator
4120         instead of Paragraph*
4121         (singleWidth): ditto
4122         Adjust several functions.
4123
4124         * rowpainter.C: adjust several functions
4125         * rowpainter.h:store a ParagraphList::iterator and not a
4126         Paragraph&.
4127
4128
4129 2003-04-09  John Levon  <levon@movementarian.org>
4130
4131         * lyxfunc.C:
4132         * lfuns.h:
4133         * LyXAction.h:
4134         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4135         and the "help" bits as well
4136
4137 2003-04-09  John Levon  <levon@movementarian.org>
4138
4139         * ToolbarBackend.h:
4140         * ToolbarBackend.C: allow multiple toolbars
4141
4142 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4143
4144         * undo_funcs.C (setCursorParUndo): adjust
4145
4146         * text_funcs.C (transposeChars): adjust
4147
4148         * text3.C (gotoNextInset): adjust
4149         (dispatch): adjust
4150
4151         * text2.C (setLayout): adjust
4152         (changeDepth): adjust
4153         (setFont): adjust
4154         (redoParagraphs): adjust
4155         (selectionAsString): adjust
4156         (setParagraph): adjust
4157         (insertInset): adjust
4158         (cutSelection): adjust
4159         (copySelection): adjust
4160         (pasteSelection): adjust
4161         (insertStringAsLines): adjust
4162         (updateInset): adjust
4163         (setCursor): change to take a ParagraphList::iterator parameter
4164         (setCursorIntern): change to take a ParagraphList::iterator parameter
4165         (setCurrentFont): adjust
4166         (cursorLeft): adjust
4167         (cursorRight): adjust
4168         (deleteEmptyParagraphMechanism): adjust
4169
4170         * text.C (breakParagraph): adjust
4171         (insertChar): adjust
4172         (acceptChange): adjust
4173         (rejectChange): adjust
4174         (selectNextWordToSpellcheck): adjust
4175         (changeCase): adjust
4176         (Delete): adjust
4177         (backspace): adjust
4178
4179         * lyxfind.C (SearchForward): adjust
4180         (SearchBackward): adjust
4181         (nextChange): adjust
4182
4183         * lyxcursor.C (par): adjust
4184
4185         * lyxcursor.h: store a ParagraphList::iterator instead of a
4186         Paragraph*
4187
4188         * lyx_cb.C (getPossibleLabel): adjust
4189
4190         * bufferview_funcs.C (toggleAndShow): adjust
4191
4192         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4193         (dispatch): adjust
4194
4195         * BufferView.C (removeAutoInsets): adjust
4196         (lockedInsetStoreUndo): adjust
4197
4198 2003-04-09  John Levon  <levon@movementarian.org>
4199
4200         * ToolbarBackend.C: try icon without argument
4201         if with argument fails
4202
4203 2003-04-08  John Levon  <levon@movementarian.org>
4204
4205         * ToolbarBackend.h:
4206         * ToolbarBackend.C: add getIcon(), handle tooltip,
4207         and change from "Icon" to "Item".
4208
4209 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4210
4211         * BufferView.C (lockInset): another bad getchar crunched
4212
4213 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4216         again)
4217
4218 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4219
4220         * lyxfind.C (searchForward, searchBackwards): bug 782
4221
4222 2003-04-07  John Levon  <levon@movementarian.org>
4223
4224         * paragraph.C: remove dead comment
4225
4226         * text.C: remove troublesome depth-fiddling code
4227         in leftMargin() and rightMargin() (bug 1017)
4228
4229         * text.C: fix breaking of rows in nested lists
4230         (bug 1004)
4231
4232         * text2.C (updateCounters): fix up depth values
4233         (bug 1013)
4234
4235 2003-04-07  John Levon  <levon@movementarian.org>
4236
4237         * BufferView_pimpl.C: clear message when doc finishes resizing,
4238         and after a mouse event
4239
4240         * lyxfunc.C: clear message after exiting inset
4241
4242 2003-04-07  John Levon  <levon@movementarian.org>
4243
4244         * bufferview_funcs.C: show math status not outside
4245         status in the statusbar
4246
4247 2003-04-07  John Levon  <levon@movementarian.org>
4248
4249         * lyxfunc.C: note status changed after a depth change
4250
4251 2003-04-04  Angus Leeming  <leeming@lyx.org>
4252
4253         * LaTeX.h: move AuxInfo operator==, != out of line.
4254         Remove LaTeX virtual destructor; nothing derives from it.
4255         Move operator()() out of public area and rename it startscript().
4256         Change protected for private.
4257
4258 2003-04-04  Angus Leeming  <leeming@lyx.org>
4259
4260         * lyxfunc.C:
4261         * text2.C: remove unneeded #includes.
4262
4263 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4264
4265         * text2.C (dEPM): fix the heigth of the next row
4266
4267 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4268
4269         * text.C: squashed an invalid getChar requester + some ws changes
4270
4271 2003-04-03  John Levon  <levon@movementarian.org>
4272
4273         * bufferview_funcs.h:
4274         * bufferview_funcs.C:
4275         * lyxfunc.C:
4276         * lyxtext.h:
4277         * text2.C: make getStatus work for the env depth lfuns
4278
4279 2003-04-03  John Levon  <levon@movementarian.org>
4280
4281         * bufferview_funcs.h:
4282         * bufferview_funcs.C:
4283         * lyxfunc.C:
4284         * lyxtext.h:
4285         * text2.C: parlistize decDepth(), by merging it with incDepth()
4286
4287 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * lyxrow.h: store a ParagraphList::iterator instead of a
4290         Paragraph* and adjust other class functions to suit.
4291
4292         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4293         above.
4294
4295 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4296
4297         * text2.C (setCursor): do not anchor to cursor row for the time being
4298
4299 2003-04-02  John Levon  <levon@movementarian.org>
4300
4301         * LyXAction.C:
4302         * lfuns.h:
4303         * lyx_main.C:
4304         * lyxtext.h:
4305         * text.C:
4306         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4307
4308 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * paragraph.h: make ParagraphList and ParagraphList::iterator
4311         friends of Paragraph.
4312
4313         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4314
4315         * ParagraphList.C: Use the private next_ and previous_ from
4316         Paragraph.
4317
4318 2003-04-01  John Levon  <levon@movementarian.org>
4319
4320         * ToolbarBackend.h:
4321         * ToolbarBackend.C:
4322         * Makefile.am: rename, remove defaults gunk
4323
4324         * MenuBackend.h:
4325         * MenuBackend.C: remove defaults gunk
4326
4327         * Languages.h:
4328         * Languages.C: remove defaults gunk
4329
4330         * lyx_main.h:
4331         * lyx_main.C: error out if files couldn't be found.
4332
4333 2003-04-02  John Levon  <levon@movementarian.org>
4334
4335         * text2.C: make incDepth() use parlist
4336
4337 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * undo_funcs.C (firstUndoParagraph): adjust
4340
4341         * text3.C (gotoInset): adjust
4342         (dispatch): adjust, and rewrite loop.
4343
4344         * text2.C (init): adjust, and rewrite loop.
4345         (redoParagraphs): adjust
4346         (updateInset): adjust, and rewrite loop.
4347         (deleteEmptyParagraphMechanism): adjust
4348
4349         * tabular.C (LyXTabular): adjust
4350         (SetMultiColumn): adjust
4351         (TeXRow): adjust
4352
4353         * lyxtext.[Ch] (ownerParagraph): delete function
4354         (ownerParagraphs): new function returns a ParagraphList.
4355
4356         * BufferView.C (removeAutoInsets): adjust
4357         (insertErrors): adjust
4358         (setCursorFromRow): adjust
4359
4360 2003-04-01  Angus Leeming  <leeming@lyx.org>
4361
4362         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4363         in the frontends.
4364
4365 2003-04-02  John Levon  <levon@movementarian.org>
4366
4367         * lyxtext.h:
4368         * text.C:
4369         * Makefile.am:
4370         * text_funcs.h:
4371         * text_funcs.C: make transposeChars a free function
4372
4373         * lyxrow_funcs.C: remove wrong comment
4374
4375 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4376
4377         * lyxtext.h: adjust
4378         * rowpainter.C: adjust
4379         * text.C: adjust
4380         * text2.C: adjust
4381         * text3.C: adjust
4382
4383         * lyxrow_funcs. [Ch]: new files
4384
4385         * lyxrow.[Ch]: remove next and previous pointers
4386         (next,previous): remove accessor functions
4387         (isParEnd): move to lyxrow_funcs
4388         (lastPos): move to lyxrow_funcs
4389         (nextRowIsAllInset): move to lyxrow_funcs
4390         (lastPrintablePos): move to lyxrow_funcs
4391         (numberOfSeparators): move to lyxrow_funcs
4392         (numberOfHfills): move to lyxrow_funcs
4393         (numberOfLabelHfills): move to lyxrow_funcs
4394         (hfillExpansion): move to lyxrow_funcs
4395
4396         * lyxfunc.C: adjust
4397
4398         * bufferview_funcs.C (toggleAndShow): adjust
4399
4400         * RowList.h: Remove class RowList from file leave just a
4401         std::list<Row>.
4402
4403         * RowList.C: delete file
4404
4405         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4406         and lyxrow_funcs.h
4407
4408 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * text3.C (cursorPrevious): adjust
4411         (cursorNext): adjust
4412         (dispatch): adjust
4413
4414         * text2.C (redoHeightOfParagraph): adjust
4415         (redoDrawingOfParagraph): adjust
4416         (setCursor): adjust
4417
4418         * text.C (breakParagraph): adjust
4419         (insertChar): adjust
4420         (backspace): adjust
4421
4422         * rowpainter.C (RowPainter): adjust
4423         (leftMargin): simplify and adjust
4424         (most rowpainter functions): adjust.
4425
4426         * rowpainter.h: store the row as RowList::iterator not as Row*
4427
4428         * lyxcursor.C (row): taka RowList::iterator as arg
4429         (irow): ditto
4430
4431         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4432         of Row*.
4433
4434 2003-04-01  Angus Leeming  <leeming@lyx.org>
4435
4436         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4437         stuff like bool Bool.
4438
4439 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4440
4441         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4442         rewrite a loop
4443
4444 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4445
4446         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4447         RowList::iterator.
4448
4449         * lyxtext.h (rows): drop one version and leve a const variant that
4450         returns a RowList::iterator.
4451
4452 2003-03-31  Angus Leeming  <leeming@lyx.org>
4453
4454         * text.C (fill): ensure that the signature is the same as that in the
4455         header file.
4456
4457 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4458
4459         * text2.C (redoParagraphs): adjust
4460         (updateCounters): adjust
4461         (checkParagraph): adjust
4462         (getColumnNearX): adjust and reformat a bit.
4463
4464         * text.C (top_y): adjust
4465         (workWidth): adjust
4466         (leftMargin): adjust
4467         (prepareToPrint): adjust
4468         (getRow): adjust
4469         (getRowNearY): adjust
4470
4471         * lyxtext.h: make rowlist_ mutable.
4472
4473         * RowList.h: add const_iterator
4474         * RowList.C: adjust for RowList::const_iterator.
4475
4476         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4477         adjust.
4478
4479 2003-03-31  John Levon  <levon@movementarian.org>
4480
4481         * lyxrc.h:
4482         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4483
4484         * lyx_main.C: set default fonts from using lyx_gui funcs
4485
4486         * exporter.C: pdf_mode moved from lyxrc
4487
4488         * lyx_cb.C:
4489         * lyxfunc.C: changes from above
4490
4491 2003-03-31  John Levon  <levon@movementarian.org>
4492
4493         * lyx_main.C: fix to the last fix
4494
4495 2003-03-31  John Levon  <levon@movementarian.org>
4496
4497         * bufferlist.C: "Load original" -> "Load Original"
4498
4499         * converter.C:
4500         * exporter.C:
4501         * importer.C:
4502         * lyx_main.C:
4503         * format.C: more Alert cleanups
4504
4505 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * text2.C (removeParagraph): make it take a RowList::iterator as
4508         arg, adjust.
4509         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4510         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4511
4512         * text.C (anchor_row): make it take a RowList::iterator as arg,
4513         adjust.
4514         (computeBidiTables): make it take a const reference to Row instead
4515         of Row pointer, adjust.
4516         (leftMargin): make it take a RowList::iterator as arg, adjust.
4517         (rowBreakPoint): adjust
4518         (breakAgainOneRow): make it take a RowList::iterator as arg,
4519         adjust.
4520         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4521
4522         * bufferview_funcs.C (toggleAndShow): adjust
4523
4524 2003-03-30  John Levon  <levon@movementarian.org>
4525
4526         * Makefile.am:
4527         * BoostFormat.h:
4528         * boost-inst.C: moved to support
4529
4530         * several files: changes as a result
4531
4532 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * text2.C (LyXText): adjust.
4535         (init): adjust
4536         (removeRow): make it take a RowList::iterator as arg, adjust.
4537         (fullRebreak): adjust
4538         (deleteEmptyParagraphMechanism): adjust
4539         (clearPaint): adjust
4540         (postPaint): adjust
4541
4542         * text.C (top_y): adjust
4543         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4544         (breakAgain): make it take a RowList::iterator as arg, adjust.
4545         (breakParagraph): adjust
4546         (insertChar): adjust
4547         (backspace): adjust
4548
4549         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4550         need_break_row, and refresh_row.
4551
4552         * text3.C (dispatch): adjust
4553
4554         * text2.C (checkParagraph): adjust
4555         (setCursor): adjust
4556         (setCursorFromCoordinates): adjust
4557
4558         * text.C (top_y): adjust
4559         (workWidth): adjust
4560         (getRow): make it return a RowList::iterator, adjust
4561         (getRowNearY): make it return a RowList::iterator, adjust
4562
4563         * text2.C (init): adjust
4564         (insertRow): remove function
4565         (insertParagraph): adjust
4566         (redoParagraphs): adjust
4567         (fullRebreak): adjust
4568         (updateCounters): adjust
4569
4570         * text.C (top_y): rewrite to use RowList iterators.
4571         (top_y): adjust
4572         (setHeightOfRow): rewrite to sue RowList iterators.
4573         (appendParagraph): adjust
4574         (breakAgain): adjust
4575         (breakAgainOneRow): adjust
4576         (breakParagraph): adjust
4577         (getRow): adjust
4578         (getRowNearY): adjust, and remove commented code.
4579
4580         * lyxtext.h (firstRow): delete function
4581         (lastRow): delete function
4582         (rows): new function (const and non-const versions.)
4583         (insertRow): delete function
4584
4585         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4586
4587 2003-03-29  John Levon  <levon@movementarian.org>
4588
4589         * BufferView_pimpl.C: always update scrollbar top
4590         because pasting text when we're anchored could mean we
4591         miss an update altogether
4592
4593 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * text2.C (init): use rowlist_.end() and not 0.
4596         (insertRow): change to take a RowList::iterator as arg, adjust
4597         for this.
4598         (insertParagraph): change to take a RowList::iterator as arg,
4599         adjust for this.
4600         (redoParagraphs): remove some debug msgs.
4601
4602         * text.C (appendParagraph): change to take a RowList::iterator
4603         arg, adjust for this.
4604         (breakAgain): add an assert
4605         (breakAgainOneRow): ditto
4606
4607 2003-03-29  John Levon  <levon@movementarian.org>
4608
4609         * text2.C: do not clear selection after inc/decDepth
4610         (bug 550)
4611
4612 2003-03-29  John Levon  <levon@movementarian.org>
4613
4614         * BufferView.C:
4615         * buffer.C: fix broken strerrors according to Lars
4616
4617 2003-03-29  John Levon  <levon@movementarian.org>
4618
4619         * converters.C: more Alert cleanups
4620
4621 2003-03-29  John Levon  <levon@movementarian.org>
4622
4623         * bufferview_funcs.C: remove pointless Alert
4624
4625         * buffer.C: fix confusing error message when
4626         a template is chmoded 000
4627
4628 2003-03-29  John Levon  <levon@movementarian.org>
4629
4630         * BufferView.C:
4631         * BufferView.h:
4632         * BufferView_pimpl.C: Alert fixes
4633
4634         * Makefile.am:
4635         * tabular.C:
4636         * tabular-old.C: remove unused table compat reading
4637
4638 2003-03-29  John Levon  <levon@movementarian.org>
4639
4640         * BufferView.C:
4641         * buffer.C:
4642         * lyx_cb.h:
4643         * lyx_cb.C: more Alert cleanups
4644
4645         * lyxfunc.C: don't allow chktex if not latex document
4646
4647 2003-03-29  John Levon  <levon@movementarian.org>
4648
4649         * lyx_cb.C:
4650         * BufferView.C:
4651         * buffer.C: warnings pushed down from support/,
4652         kill err_alert
4653
4654 2003-03-29  John Levon  <levon@movementarian.org>
4655
4656         * lyxfunc.C: safety check for C-r (revert)
4657
4658 2003-03-29  John Levon  <levon@movementarian.org>
4659
4660         * bufferlist.h:
4661         * bufferlist.C: several UI fixes using Alert::prompt.
4662         Fix the pointless looping quit code. Fix stupid revert
4663         behaviour (bug 938)
4664
4665         * lyxvc.h:
4666         * lyxvc.C:
4667         * lyx_cb.C: use Alert::prompt
4668
4669         * lyx_main.C: remove a silly question
4670
4671         * lyxfunc.C: remove a couple of silly questions,
4672         use Alert::prompt
4673
4674 2003-03-28  John Levon  <levon@movementarian.org>
4675
4676         * text2.C: fix bug 974 (End on empty par)
4677
4678 2003-03-28  John Levon  <levon@movementarian.org>
4679
4680         * BufferView_pimpl.C:
4681         * LyXAction.C:
4682         * lfuns.h: remove do-nothing math greek lfuns
4683
4684 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * lyxgluelength.h (isValidGlueLength): add default arg on
4687         parameter 2. Remove default arg from friend in class.
4688
4689         * lyxlength.h (isValidLength): add default arg on parameter 2.
4690         Remove default arg from friend in class.
4691
4692         * text2.C (LyXText): adjust, initialize refresh_row.
4693         (init): adjust
4694         (removeRow): adjust
4695         (insertRow): adjust
4696         (insertParagraph): adjst
4697         (redoParagraphs): adjust
4698         (fullRebreak): adjust
4699         (updateCounters): adjust
4700         (deleteEmptyParagraphMechanism): first attempt at fixing a
4701         crashing bug.
4702
4703         * text.C (top_y): adjust
4704         (setHeightOfRow): adjust
4705         (getRow): adjust
4706         (getRowNearY): adjust
4707
4708         * lyxtext.h: include RowList.h
4709         (~LyXText): not needed anymore, deleted.
4710         (firstRow): modify for RowList
4711         (lastRow): new function
4712         Delete firstrow and lastrow class variables, add a Rowlist
4713         rowlist_ class variable.
4714
4715         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4716         paragraph is empty.
4717
4718         * RowList.C (insert): fix case where it == begin().
4719
4720 2003-03-26  Angus Leeming  <leeming@lyx.org>
4721
4722         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4723         the thesaurus dialog.
4724
4725 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4728
4729         * RowList.[Ch]: new files
4730
4731         * ParagraphList.C (erase): handle the case where it == begin
4732         correctly.
4733
4734 2003-03-25  John Levon  <levon@movementarian.org>
4735
4736         * Makefile.am:
4737         * aspell_local.h:
4738         * aspell.C: add new aspell support
4739
4740         * lyxrc.h:
4741         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4742         have it accessible.
4743
4744 2003-03-25  Angus Leeming  <leeming@lyx.org>
4745
4746         * lfuns.h:
4747         * LyXAction.C (init): new LFUN_INSET_INSERT.
4748
4749         * BufferView_pimpl.C (dispatch): split out part of the
4750         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4751
4752         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4753         LFUN_INSET_APPLY.
4754
4755 2003-03-25  Angus Leeming  <leeming@lyx.org>
4756
4757         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4758
4759 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4760
4761         * text2.C:
4762         * text3.C: remove useless row->height(0)
4763
4764 2003-03-25  John Levon  <levon@movementarian.org>
4765
4766         * lyxtext.h:
4767         * text2.C:
4768         * text3.C: rename the refreshing stuff to better names
4769
4770 2003-03-24  John Levon  <levon@movementarian.org>
4771
4772         * BufferView_pimpl.h:
4773         * BufferView_pimpl.C: update layout choice on a mouse
4774         press/release
4775
4776 2003-03-23  John Levon  <levon@movementarian.org>
4777
4778         * Makefile.am: fix commandtags.h reference
4779
4780 2003-03-22  John Levon  <levon@movementarian.org>
4781
4782         * BufferView_pimpl.C:
4783         * lyxtext.h:
4784         * rowpainter.C:
4785         * rowpainter.h:
4786         * text.C:
4787         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4788
4789 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * lyxtext.h:
4792         * text.C: take the rtl methods out of line
4793
4794 2003-03-21 André Pönitz <poenitz@gmx.net>
4795
4796         * metricsinfo.[Ch]: new files containing structures to be passed around
4797         during the two-phase-drawing...
4798
4799 2003-03-21 André Pönitz <poenitz@gmx.net>
4800
4801         * lyxtextclass.C: read 'environment' tag.
4802
4803 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4804
4805         * text2.C (removeRow): fix bug 964
4806
4807 2003-03-20  John Levon  <levon@movementarian.org>
4808
4809         * rowpainter.C:
4810         * text.C:
4811         * text2.C: paint cleanups. Inset::update() dropped font
4812         parameter
4813
4814 2003-03-19  John Levon  <levon@movementarian.org>
4815
4816         * lyxfunc.C: only fitcursor/markDirty if available()
4817
4818 2003-03-19  John Levon  <levon@movementarian.org>
4819
4820         * commandtags.h: rename to ...
4821
4822         * lfuns.h: ... this, and renumber / cleanup
4823
4824 2003-03-19  John Levon  <levon@movementarian.org>
4825
4826         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4827         fit the cursor after an lfun
4828
4829         * BufferView.h:
4830         * BufferView.C:
4831         * BufferView_pimpl.h:
4832         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4833
4834         * LyXAction.C: layout-character should have ReadOnly
4835
4836         * ParagraphParameters.C:
4837         * buffer.C:
4838         * bufferview_funcs.C:
4839         * lyx_cb.C:
4840         * lyxfind.C:
4841         * lyxtext.h:
4842         * text.C:
4843         * text2.C:
4844         * text3.C:
4845         * undo_funcs.C: changes from above
4846
4847 2003-03-18  John Levon  <levon@movementarian.org>
4848
4849         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4850         remove it from update()
4851
4852         * lyxfunc.C: update layout choice after an lfun
4853
4854         * text3.C: remove extra updateLayoutChoice()s
4855
4856 2003-03-18  John Levon  <levon@movementarian.org>
4857
4858         * text.C: top_y change means full repaint, fix
4859         a drawing bug with cursor movement
4860
4861 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4862
4863         * lyxtext.h:
4864         * text.C:
4865         * text2.C: anchor row on setCursor
4866
4867 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * lyxtext.h: remove almost all mutable keywords
4870         * text.C:
4871         * text2.C:
4872         * text3.C: remove const keywords accordingly
4873
4874 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4875
4876         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4877         anon namespace
4878         (TeXEnvironment): ditto
4879         (TeXOnePar): ditto
4880
4881 2003-03-17  John Levon  <levon@movementarian.org>
4882
4883         * text.C (rowBreakPoint): remove attempt to fix displayed
4884         math insets inside a manual label
4885
4886 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * lyxtext.h: remove BufferView* as first arg from almost all class
4889         functions.
4890         * other files: adjust.
4891
4892 2003-03-17  John Levon  <levon@movementarian.org>
4893
4894         * lyxtext.h:
4895         * undo_funcs.C:
4896         * text2.C: more paint cleanups
4897
4898         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4899
4900         * rowpainter.h:
4901         * rowpainter.C: remove "smart" background painting code
4902
4903 2003-03-16  John Levon  <levon@movementarian.org>
4904
4905         * lyxtext.h:
4906         * text.C:
4907         * text2.C:
4908         * text3.C: add helper functions for setting refresh_row/y
4909
4910 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4911
4912         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4913         newline inset which *can* get inserted in the pass_thru layouts.
4914         This is primarily for literate documents.
4915
4916 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4917
4918         * buffer.C: increment LYX_FORMAT to 223
4919
4920 2003-03-14 André Pönitz <poenitz@gmx.net>
4921
4922         * textclass.h: prepare for environment handling, ws changes
4923         * lyxlayout.C: read latexheader and latexfooter tags
4924
4925 2003-03-14  John Levon  <levon@movementarian.org>
4926
4927         * text2.C: rewrite ::status() a bit
4928
4929 2003-03-13  John Levon  <levon@movementarian.org>
4930
4931         * lyxtext.h: add some docs
4932
4933 2003-03-13  John Levon  <levon@movementarian.org>
4934
4935         * lyxtext.h:
4936         * text.C:
4937         * text2.C:
4938         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4939
4940 2003-03-13  John Levon  <levon@movementarian.org>
4941
4942         * text3.C: fix appendix redrawing
4943
4944 2003-03-13  John Levon  <levon@movementarian.org>
4945
4946         * text.C (setHeightOfRow):
4947         * rowpainter.h:
4948         * rowpainter.C: make appendix mark have the text
4949           "Appendix" so the user knows what it is
4950
4951         * LColor.h:
4952         * LColor.C: s/appendixline/appendix/ from above
4953
4954 2003-03-13  John Levon  <levon@movementarian.org>
4955
4956         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4957
4958         * text.C: fix a getChar(pos) bug properly
4959
4960 2003-03-13  Angus Leeming  <leeming@lyx.org>
4961
4962         * commandtags.h:
4963         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4964         Probably only temporary. Let's see how things pan out.
4965
4966         * BufferView.C (unlockInset):
4967         * BufferView_pimpl.C (fitCursor):
4968         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4969
4970         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4971         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4972
4973         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4974         new functions that convert ParagraphParameters to and from a string.
4975
4976         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4977         BufferView::Pimpl's dispatch.
4978         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4979
4980 2003-03-13 André Pönitz <poenitz@gmx.net>
4981
4982         * lyxfunc.C:
4983         * text3.C:
4984         * factory.C: make it aware of InsetEnv
4985
4986 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * text2.C (setCursor): never ask for one past last
4989         (setCursor): add some debugging messages.
4990
4991         * text.C (singleWidth): never ask for one past last
4992         (singleWidth): ditto
4993         (leftMargin): ditto
4994         (rightMargin): ditto
4995         (rowBreakPoint): ditto
4996         (setHeightOfRow): ditto
4997         (prepareToPrint): ditto
4998
4999         * rowpainter.C (paintBackground): never ask for one past last
5000         (paintText): never ask for one past last
5001
5002         * paragraph_pimpl.C (getChar): make the assert stricter, never
5003         allow the one past last pos to be taken
5004
5005         * paragraph.C (getChar): ws changes only
5006
5007         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5008         (numberOfSeparators): ditto
5009         (numberOfHfills): ditto
5010
5011 2003-03-12  John Levon  <levon@movementarian.org>
5012
5013         * author.h:
5014         * author.C:
5015         * bufferparams.h:
5016         * bufferparams.C:
5017         * paragraph_funcs.C: fix per-buffer authorlists
5018
5019 2003-03-12  John Levon  <levon@movementarian.org>
5020
5021         * text.C: fix newline in right address
5022
5023 2003-03-12  Angus Leeming  <leeming@lyx.org>
5024
5025         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5026         duplicate those in LyXFunc::dispatch.
5027
5028         * commandtags.h:
5029         * LyXAction.C:
5030         * ToolbarDefaults.C:
5031         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5032         Add LFUN_FONTFREE_UPDATE.
5033
5034         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5035         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5036
5037         * bufferview_func.[Ch]: several new functions to facilliate
5038         transfer of data to and from the character dialog.
5039
5040 2003-03-12  John Levon  <levon@movementarian.org>
5041
5042         * buffer.C:
5043         * paragraph.h:
5044         * paragraph.C:
5045         * paragraph_funcs.C:
5046         * paragraph_pimpl.C:
5047         * sgml.C:
5048         * tabular.C:
5049         * text.C:
5050         * text3.C: remove META_NEWLINE in favour of an inset
5051
5052         * rowpainter.h:
5053         * rowpainter.C: remove paintNewline (done by inset)
5054
5055 2003-03-12  John Levon  <levon@movementarian.org>
5056
5057         * paragraph_pimpl.C: complain about bad getChar()s
5058         for a while at least
5059
5060 2003-03-12  John Levon  <levon@movementarian.org>
5061
5062         * buffer.h:
5063         * buffer.C: move paragraph read into a separate function,
5064         a little renaming to reflect that.
5065
5066         * bufferparams.h:
5067         * bufferparams.C: remove the author_ids map, not necessary now
5068
5069         * factory.h:
5070         * factory.C: moved Buffer::readInset to here
5071
5072         * paragraph_funcs.h:
5073         * paragraph_funcs.C: readParagraph free function moved from
5074         buffer.C
5075
5076         * tabular.C: name change
5077
5078 2003-03-12  John Levon  <levon@movementarian.org>
5079
5080         * buffer.C:
5081         * ParagraphParameters.C: move par params input to
5082         a read() method
5083
5084         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5085         behave like a normal read from the stream wrt reading
5086         a line vs. a \\token
5087
5088 2003-03-12  John Levon  <levon@movementarian.org>
5089
5090         * paragraph.C:
5091         * ParagraphParameters.h:
5092         * ParagraphParameters.C: move output code to a
5093         ::write() method
5094
5095 2003-03-12  John Levon  <levon@movementarian.org>
5096
5097         * BufferView.C (insertLyXFile):
5098         * buffer.h:
5099         * buffer.C:
5100         * tabular.C: use a parlist iterator for creating the
5101           document.
5102
5103 2003-03-12  John Levon  <levon@movementarian.org>
5104
5105         * buffer.C: make current_change static local not
5106           static file-scope
5107
5108 2003-03-12  John Levon  <levon@movementarian.org>
5109
5110         * buffer.C: fix insertStringAsLines for change tracking
5111
5112 2003-03-12  John Levon  <levon@movementarian.org>
5113
5114         * BufferView.C:
5115         * tabular.C:
5116         * buffer.h:
5117         * buffer.C:
5118         * bufferparams.h:
5119         * bufferparams.C: move author list into params. Rename some
5120           functions. Move the header reading into a separate token
5121           loop. Move the header token reading into BufferParams.
5122
5123 2003-03-12  John Levon  <levon@movementarian.org>
5124
5125         * changes.C: put debug inside lyxerr.debugging() checks
5126
5127 2003-03-11 André Pönitz <poenitz@gmx.net>
5128
5129         * factory.C: make it aware of InsetHFill
5130
5131 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5132
5133         * buffer.C (latexParagraphs): move function from here...
5134         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5135         args.
5136
5137 2003-03-10  Angus Leeming  <leeming@lyx.org>
5138
5139         * LyXAction.C (init): fix bug in poplating array with multiple entries
5140         with the same LFUN (spotted by JMarc).
5141
5142 2003-03-10  John Levon  <levon@movementarian.org>
5143
5144         * text.C:
5145         * text2.C: move getColumnNearX() near its
5146         only call site
5147
5148 2003-03-10  John Levon  <levon@movementarian.org>
5149
5150         * text.C: fix break before a minipage
5151
5152 2003-03-10  John Levon  <levon@movementarian.org>
5153
5154         * text.C: fix the last commit
5155
5156 2003-03-09  John Levon  <levon@movementarian.org>
5157
5158         * lyxtext.h:
5159         * text.C:
5160         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5161         bug 365 (don't break before insets unless needed). Don't
5162         return a value > last under any circumstances.
5163
5164 2003-03-09  Angus Leeming  <leeming@lyx.org>
5165
5166         * BufferView_pimpl.C (trackChanges, dispatch): call
5167         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5168
5169 2003-03-09  Angus Leeming  <leeming@lyx.org>
5170
5171         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5172         than Dialogs::showAboutlyx().
5173
5174 2003-03-09  Angus Leeming  <leeming@lyx.org>
5175
5176         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5177         than Dialogs::showTabularCreate().
5178
5179 2003-03-09  John Levon  <levon@movementarian.org>
5180
5181         * lyxtext.h:
5182         * text.C:
5183         * text2.C: 3rd arg to nextBreakPoint was always the same.
5184           Use references.
5185
5186 2003-03-08  John Levon  <levon@movementarian.org>
5187
5188         * lyxrow.C:
5189         * paragraph.C:
5190         * paragraph.h:
5191         * rowpainter.C:
5192         * text.C:
5193         * text2.C: Remove the "main" bit from the "main body"
5194           notion.
5195
5196 2003-03-08  John Levon  <levon@movementarian.org>
5197
5198         * text.C (leftMargin): The left margin of an empty
5199         manual label paragraph should not include the label width
5200         string length.
5201
5202         * text.C (prepareToPrint): don't attempt to measure hfills
5203         for empty manual label paragraphs - the answer should be 0
5204
5205 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * CutAndPaste.C: remove commented code and reindent.
5208
5209 2003-03-08  John Levon  <levon@movementarian.org>
5210
5211         * lyxfunc.h:
5212         * lyxfunc.C: move reloadBuffer()
5213
5214         * BufferView.h:
5215         * BufferView.C: to here
5216
5217         * lyxvc.C: add comment
5218
5219         * vc-backend.h:
5220         * vc-backend.C: call bv->reload() to avoid
5221           getStatus() check on MENURELOAD
5222
5223 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5224
5225         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5226         to an old format .dep file.
5227
5228 2003-03-07  Angus Leeming  <leeming@lyx.org>
5229
5230         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5231         when the LFUN_MOUSE_RELEASE should have been handled by
5232         inset->localDispatch.
5233
5234 2003-03-07  Angus Leeming  <leeming@lyx.org>
5235
5236         * BufferView_pimpl.C (dispatch):
5237         * LyXAction.C (init):
5238         * ToolbarDefaults.C (init):
5239         * commandtags.h:
5240         * lyxfunc.C (getStatus):
5241         remove LFUN_INSET_GRAPHICS.
5242
5243         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5244
5245 2003-03-07  Angus Leeming  <leeming@lyx.org>
5246
5247         * commandtags.h:
5248         * LyXAction.C (init):
5249         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5250
5251         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5252
5253         * commandtags.h:
5254         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5255
5256         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5257         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5258
5259 2003-03-07  Angus Leeming  <leeming@lyx.org>
5260
5261         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5262         remove "ert".
5263
5264 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * ParagraphList.C (front): new function
5267         (back): implement
5268
5269 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5272         and top_row_offset_. removed var first_y.
5273         * text.C (top_y):
5274         * text2.C (LyXText, removeRow):
5275         * text3.C:
5276         * BufferView_pimpl.C:
5277         use these methods instead of using first_y
5278
5279 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * text2.C (pasteSelection): adjust for checkPastePossible
5282
5283         * CutAndPaste.C: remove Paragraph * buf and replace with
5284         ParagraphList paragraphs.
5285         (DeleteBuffer): delete
5286         (cutSelection): change the tc type to textclass_type
5287         (copySelection): change the tc type to textclass_type
5288         (copySelection): adjust for ParagraphList
5289         (pasteSelection): change the tc type to textclass_type
5290         (pasteSelection): adjust for Paragraphlist
5291         (nrOfParagraphs): simplify for ParagraphList
5292         (checkPastePossible): simplify for ParagraphList
5293         (checkPastePossible): remove unused arg
5294
5295         * ParagraphList.C (insert): handle the case where there are no
5296         paragraphs yet.
5297
5298         * CutAndPaste.h: make CutAndPaste a namespace.
5299
5300         * text3.C (dispatch): adjust
5301
5302         * text.C (breakParagraph): add a ParagraphList as arg
5303
5304         * paragraph_funcs.C (breakParagraph): change to take a
5305         BufferParams and a ParagraphList as args.
5306         (breakParagraphConservative): ditto
5307         (mergeParagraph): ditto
5308         (TeXDeeper): add a ParagraphList arg
5309         (TeXEnvironment): ditto
5310         (TeXOnePar): ditto
5311
5312         * buffer.C (readLyXformat2): adjust
5313         (insertStringAsLines): adjust
5314         (latexParagraphs): adjust
5315
5316         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5317         (cutSelection): adjust
5318         (pasteSelection): adjust
5319
5320         * BufferView_pimpl.C (insertInset): adjust
5321
5322 2003-03-05  Angus Leeming  <leeming@lyx.org>
5323
5324         * commandtags.h:
5325         * LyXAction.C (init):
5326         * BufferView_pimpl.C (dispatch):
5327         * lyxfunc.C (getStatus):
5328         remove LFUN_CHILD_INSERT.
5329
5330         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5331
5332 2003-03-05  Angus Leeming  <leeming@lyx.org>
5333
5334         * commandtags.h:
5335         * LyXAction.C (init):
5336         * src/factory.C (createInset):
5337         * lyxfunc.C (getStatus):
5338         * text3.C (dispatch):
5339         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5340
5341         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5342
5343 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * ParagraphList.C (insert): handle insert right before end()
5346         (erase): fix cases where it can be first or last paragraph.
5347
5348 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5351         Paragraph::next and Paragraph::previous
5352         (TeXOnePar): ditto
5353
5354         * text.C (breakParagraph): adjust
5355
5356         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5357         BufferParams& as arg.
5358         (breakParagraph): use ParagraphList::insert
5359         (breakParagraphConservative): take a Buffer* instead of a
5360         BufferParams& as arg.
5361         (breakParagraphConservative): use ParagraphList::insert.
5362
5363         * buffer.C (insertStringAsLines): un-const it
5364         (insertStringAsLines): adjust
5365
5366         * ParagraphList.C (insert): new function
5367
5368         * CutAndPaste.C (pasteSelection): adjust
5369
5370         * text.C (backspace): adjust
5371
5372         * tabular.C (SetMultiColumn): adjust
5373
5374         * CutAndPaste.C (cutSelection): adjust
5375         (pasteSelection): adjust
5376
5377         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5378         Buffer const * as arg
5379
5380         * ParagraphList.C (erase): new function
5381         * paragraph_funcs.C (mergeParagraph): use it
5382         (mergeParagraph): make it take a Buffer* instead of a
5383         BufferParams* as arg
5384
5385         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5386         as arg
5387         (breakParagraphConservative): ditto
5388
5389         * paragraph.h: remove the breakParagraph friend
5390
5391         * paragraph.C (eraseIntern): new function
5392         (setChange): new function
5393
5394         * paragraph_funcs.C (mergeParagraph): make it take a
5395         ParagraphList::iterator instead of a Paragraph *, adjust
5396         accordingly.
5397
5398         * paragraph.h: move an #endif so that the change tracking stuff
5399         also works in the NO_NEXT case.
5400
5401 2003-03-04  Angus Leeming  <leeming@lyx.org>
5402
5403         * commandtags.h:
5404         * LyXAction.C: new LFUN_INSET_MODIFY.
5405
5406         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5407         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5408
5409 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * several files: ws changes only
5412
5413         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5414         (TeXEnvironment): ditto
5415         (TeXDeeper): ditto
5416
5417         * buffer.C (makeLaTeXFile): adjust
5418         (latexParagraphs): make it take ParagraphList::iterator as args
5419
5420 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * buffer.C (latexParagraphs): adjust
5423
5424         * paragraph.C (TeXOnePar): move function...
5425         (optArgInset): move function...
5426         (TeXEnvironment): move function...
5427         * paragraph_pimpl.C (TeXDeeper): move function...
5428         * paragraph_funcs.C: ...here
5429
5430         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5431
5432 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * buffer.C (readInset): remove compability code for old Figure and
5435         InsetInfo insets
5436
5437 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * buffer.C: ws changes
5440         (readInset):
5441
5442         * BufferView_pimpl.C: ditto
5443         * author.C: ditto
5444         * buffer.h: ditto
5445         * bufferlist.h: ditto
5446         * changes.h: ditto
5447         * lyxfunc.C: ditto
5448
5449 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5450
5451         * converter.[Ch]: split into itself +
5452         * graph.[Ch]
5453         * format.[Ch]
5454         * Makefile.am: += graph.[Ch] + format.[Ch]
5455         * MenuBackend.C
5456         * buffer.C
5457         * exporter.C
5458         * importer.C
5459         * lyx_main.C
5460         * lyxfunc.C
5461         * lyxrc.C: added #include "format.h"
5462
5463 2003-02-27  Angus Leeming  <leeming@lyx.org>
5464
5465         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5466           a label.
5467
5468         * factory.C (createInset): add "label" to the factory.
5469
5470         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5471           string and do no more.
5472
5473 2003-02-27  Angus Leeming  <leeming@lyx.org>
5474
5475         * commandtags.h:
5476         * LyXAction.C (init):
5477         * factory.C (createInset):
5478         * BufferView_pimpl.C (dispatch):
5479           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5480
5481         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5482
5483         * lyxfunc.C (dispatch):
5484         * text3.C (dispatch): pass name to params2string.
5485
5486 2003-02-26  Angus Leeming  <leeming@lyx.org>
5487
5488         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5489           blocks together.
5490           Rearrange the ~includes. Strip out the unnecessary ones.
5491
5492         * factory.C (createInset): reformat.
5493           create new insets for the various LFUN_XYZ_APPLY lfuns.
5494
5495 2003-02-26  John Levon  <levon@movementarian.org>
5496
5497         * lyxrow.h:
5498         * lyxrow.C: add isParStart,isParEnd helpers
5499
5500         * paragraph.h: make isInserted/DeletedText take refs
5501
5502         * paragraph_funcs.h:
5503         * paragraph_funcs.C: remove #if 0'd code
5504
5505         * lyxtext.h:
5506         * text3.C:
5507         * text2.C:
5508         * text.C: use lyxrow helpers above.
5509           Move draw and paint routines to RowPainter.
5510           Make several methods use refs not pointers.
5511           Make backgroundColor() const.
5512           Add markChangeInDraw(), isInInset().
5513           Merge changeRegionCase into changeCase.
5514           Make workWidth() shouldn't-happen code into an Assert.
5515
5516         * rowpainter.h:
5517         * rowpainter.C: new class for painting a row.
5518
5519         * vspace.h:
5520         * vspace.C: make inPixels take a ref
5521
5522 2003-02-26  Angus Leeming  <leeming@lyx.org>
5523
5524         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5525         LFUN_REF_APPLY.
5526
5527 2003-02-25  John Levon  <levon@movementarian.org>
5528
5529         * ispell.C: give the forked command a more accurate name
5530
5531 2003-02-22  John Levon  <levon@movementarian.org>
5532
5533         * toc.h:
5534         * toc.C: make TocItem store an id not a Paragraph *
5535           (bug #913)
5536
5537 2003-02-21  Angus Leeming  <leeming@lyx.org>
5538
5539         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5540           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5541           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5542           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5543           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5544           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5545
5546         * BufferView_pimpl.C (dispatch):
5547         * LyXAction.C (init):
5548         * factory.C (createInset):
5549         * lyxfunc.C (getStatus, dispatch):
5550         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5551
5552 2003-02-21  Angus Leeming  <leeming@lyx.org>
5553
5554         * BufferView_pimpl.C (MenuInsertLyXFile):
5555         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5556         * lyxfunc.C (menuNew, open, doImport):
5557           no longer pass a LyXView & to fileDlg.
5558
5559 2003-02-21  Angus Leeming  <leeming@lyx.org>
5560
5561         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5562         * LyXAction.C: change, BIBKEY to BIBITEM.
5563         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5564         Change InsetBibKey to InsetBibitem.
5565         Change BIBKEY_CODE to BIBITEM_CODE.
5566         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5567         * factory.C: replace insetbib.h with insetbibitem.h.
5568         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5569         * paragraph.C: replace insetbib.h with insetbibitem.h.
5570         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5571         Change bibkey() to bibitem().
5572         * text.C: remove insetbib.h.
5573         * text2.C: replace insetbib.h with insetbibitem.h.
5574         change bibkey() to bibitem().
5575         * text3.C: remove insetbib.h.
5576         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5577
5578 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5579
5580         * lyxrc.C (output): enclose user email in quotes (in case there are
5581         several words)
5582
5583 2003-02-18  John Levon  <levon@movementarian.org>
5584
5585         * buffer.h: add std::
5586
5587 2003-02-17  John Levon  <levon@movementarian.org>
5588
5589         * SpellBase.h:
5590         * ispell.h:
5591         * ispell.C:
5592         * pspell.h:
5593         * pspell.C: reworking. Especially in ispell, a large
5594           number of clean ups and bug fixes.
5595
5596         * lyxfunc.C: fix revert to behave sensibly
5597
5598 2003-02-17 André Pönitz <poenitz@gmx.net>
5599
5600         * LyXAction.C:
5601         * commandtags.h: new LFUN_INSERT_BIBKEY
5602
5603         * layout.h:
5604         * lyxlayout.C:
5605         * buffer.C:
5606         * factory.C:
5607         * text.C:
5608         * text2.C:
5609         * text3.C:
5610         * paragraph.[Ch]:
5611         * paragraph_func.C: remove special bibkey handling
5612
5613 2003-02-17  John Levon  <levon@movementarian.org>
5614
5615         * text.C (Delete): fix case where delete at the end of
5616           the very first paragraph would not merge the pars
5617
5618 2003-02-17  John Levon  <levon@movementarian.org>
5619
5620         * lyxrow.C: fix lastPrintablePos()
5621
5622 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5623
5624         * bufferparams.C (writeLaTeX): add a std:here
5625
5626         * buffer.C: and remove a using directive there
5627
5628 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5629
5630         * buffer.C (makeLaTeXFile): move the code that generates the
5631           preamble...
5632
5633         * bufferparams.C (writeLaTeX): ... in this new method
5634
5635         * LaTeXFeatures.C (getEncodingSet): make const
5636           (getLanguages): make const
5637
5638         * MenuBackend.C (binding): returns the binding associated to this
5639           action
5640           (add): sets the status of each item by calling getStatus. Adds
5641           some intelligence.
5642           (read): add support for OptSubMenu
5643           (expand): remove extra separator at the end of expanded menu
5644
5645 2003-02-15  John Levon  <levon@movementarian.org>
5646
5647         * BufferView.C:
5648         * BufferView_pimpl.C:
5649         * bufferlist.h:
5650         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5651           inset code that had no actual effect. Remove unneeded status
5652           code.
5653
5654 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5655
5656         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5657           in preamble
5658
5659 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5660
5661         * text.C (drawLengthMarker): also draw an arrow marker for
5662           symbolic lengths (medskip...)
5663
5664 2003-02-14  John Levon  <levon@movementarian.org>
5665
5666         * tabular.h:
5667         * tabular.C: better method names
5668
5669 2003-02-14  John Levon  <levon@movementarian.org>
5670
5671         * BufferView_pimpl.C:
5672         * bufferlist.C:
5673         * buffer.C:
5674         * converter.C:
5675         * lyx_cb.C:
5676         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5677           it's a more accurate name. Remove some pointless uses.
5678
5679 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5680
5681         * text2.C (LyXText): change order of initilizers to shut off
5682           warnings
5683
5684 2003-02-14  John Levon  <levon@movementarian.org>
5685
5686         * buffer.C: use ParIterator for getParFromID()
5687
5688         * paragraph.h:
5689         * paragraph.C:
5690         * paragraph_pimpl.h:
5691         * paragraph_pimpl.C: remove unused getParFromID()
5692
5693 2003-02-14  John Levon  <levon@movementarian.org>
5694
5695         * buffer.C: remove some very old #if 0'd parse code
5696
5697 2003-02-13  John Levon  <levon@movementarian.org>
5698
5699         * text.h:
5700         * text.C:
5701         * text2.C: move hfillExpansion(), numberOfSeparators(),
5702           rowLast(), rowLastPrintable(), numberofHfills(),
5703           numberOfLabelHfills() ...
5704
5705         * lyxrow.h:
5706         * lyxrow.C: ... to member functions here.
5707
5708         * paragraph.h:
5709         * paragraph.C:
5710         * lyxtext.h:
5711         * text.C: remove LyXText::beginningOfMainBody(), and call
5712           p->beginningOfMainBody() directly. Move the check for
5713           LABEL_MANUAL into the latter.
5714
5715         * text.h:
5716         * text.C:
5717         * text2.C:
5718         * vspace.C:
5719         * BufferView.h:
5720         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5721
5722         * text.h:
5723         * text.C:
5724         * text2.C:
5725         * text3.C:
5726         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5727           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5728
5729 2003-02-13  John Levon  <levon@movementarian.org>
5730
5731         * CutAndPaste.C: remove debug
5732
5733 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5734
5735         * paragraph.C (asString): remove two unused variables
5736
5737         * lyxtextclass.C (readTitleType):
5738           (Read):
5739           (LyXTextClass): handle new members titletype_ and titlename_
5740
5741         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5742
5743 2003-02-09  John Levon  <levon@movementarian.org>
5744
5745         * buffer.h:
5746         * buffer.C: replace hand-coded list with a map for the dep clean
5747
5748 2003-02-08  John Levon  <levon@movementarian.org>
5749
5750         * LaTeX.C: consolidate code into showRunMessage() helper
5751
5752 2003-02-08  John Levon  <levon@movementarian.org>
5753
5754         * lyxfind.C:
5755         * lyxtext.h:
5756         * text2.C:
5757         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5758           and pass the size in explicitly
5759
5760         * BufferView_pimpl.h:
5761         * BufferView_pimpl.C:
5762         * BufferView.h:
5763         * BufferView.C: add getCurrentChange()
5764
5765         * BufferView_pimpl.h:
5766         * BufferView_pimpl.C: handle change lfuns
5767
5768         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5769           for changes. Mark pasted paragraphs as new.
5770
5771         * support/lyxtime.h:
5772         * support/lyxtime.C:
5773         * DepTable.C: abstract time_t as lyx::time_type
5774
5775         * LColor.h:
5776         * LColor.C: add colours for new text, deleted text, changebars
5777
5778         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5779           package use "usenames" option.
5780
5781         * commandtags.h:
5782         * lyxfunc.C:
5783         * LyXAction.C: add change lfuns
5784
5785         * Makefile.am:
5786         * author.h:
5787         * author.C: author handling
5788
5789         * buffer.h:
5790         * buffer.C: add a per-buffer author list, with first entry as
5791           current author. Handle new .lyx tokens for change tracking. Output
5792           author list to .lyx file. Output dvipost stuff to .tex preamble.
5793           Bump lyx format to 222.
5794
5795         * bufferlist.h:
5796         * bufferlist.C: add setCurrentAuthor() to reset current author details
5797           in all buffers.
5798
5799         * bufferparams.h:
5800         * bufferparams.C: add param for tracking
5801
5802         * bufferview_funcs.C: output change info in minibuffer
5803
5804         * Makefile.am:
5805         * changes.h:
5806         * changes.C: add change-tracking structure
5807
5808         * debug.h:
5809         * debug.C: add CHANGES debug flag
5810
5811         * lyxfind.h:
5812         * lyxfind.C: add code for finding the next change piece
5813
5814         * lyxrc.h:
5815         * lyxrc.C: add user_name and user_email
5816
5817         * lyxrow.h:
5818         * lyxrow.C: add a metric for the top of the text line
5819
5820         * lyxtext.h:
5821         * text.C: implement accept/rejectChange()
5822
5823         * lyxtext.h:
5824         * text.C: paint changebars. Paint new/deleted text in the chosen
5825         colours. Strike through deleted text.
5826
5827         * paragraph.h:
5828         * paragraph.C:
5829         * paragraph_pimpl.h:
5830         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5831           in the current change to the insert functions. Rework erase to
5832           mark text as deleted, adding an eraseIntern() and a range-based
5833           erase(). Implement per-paragraph change lookup and
5834           accept/reject.
5835
5836         * paragraph_funcs.C: Fixup paste for change tracking.
5837
5838         * tabular.C: mark added row/columns as new.
5839
5840         * text.C: fix rowLast() to never return -1. Don't allow
5841           spellchecking of deleted text. Track transpose changes. Don't
5842           allow paragraph break or merge where appropriate.
5843
5844         * text2.C: leave cursor at end of selection after a cut.
5845
5846 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5847
5848         * text.C (getLengthMarkerHeight):
5849         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5850         visible on screen too.
5851
5852 2003-02-07  John Levon  <levon@movementarian.org>
5853
5854         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5855
5856 2003-02-05  Angus Leeming  <leeming@lyx.org>
5857
5858         * lyxserver.C (read_ready): revert my patch of 11 September last year
5859         as it sends PC cpu through the roof. Presumably this means that
5860         the lyxserver will no longer run on an Alpha...
5861
5862 2003-01-30  Angus Leeming  <leeming@lyx.org>
5863
5864         * factory.C (createInset): create an InsetCommandParam of type "index"
5865         and use it to 'do the right thing'.
5866
5867         * text2.C (getStringToIndex): ensure that cursor position is always
5868         reset to the reset_cursor position.
5869
5870 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5871
5872         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5873         disabled.
5874
5875 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5876
5877         * bufferview.C:
5878         * lyxcb.C:
5879         * lyxfunc.C: Output messages with identical spelling, punctuation,
5880         and spaces
5881
5882 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5883
5884         * MenuBackend.C (expandFormats): List only viewable export formats
5885         in "View" menu
5886
5887         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5888         message
5889
5890         * lyxfunc.C (getStatus): Make sure that formats other than
5891         "fax" can also be disabled
5892
5893 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5894
5895         * text3.C (dispatch): put the lfuns that insert insets in 3
5896         groups, and call doInsertInset with appropriate arguments.
5897         (doInsertInset): new function, that creates an inset and inserts
5898         it according to some boolean parameters.
5899
5900 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * buffer.C (readFile): remember to pass on 'par' when calling
5903         readFile recursively.
5904
5905 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5906
5907         * MenuBackend.C (expandFormats): add "..." to import formats.
5908
5909 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5910
5911         * paragraph.C (asString): Remove XForms RTL hacks.
5912
5913 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5914         * buffer.C: fix typo
5915
5916 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * Makefile.am (LIBS): delete var
5919         (lyx_LDADD): add @LIBS@ here instead.
5920
5921 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5922
5923         * Clarify the meaning of "wheel mouse jump"
5924
5925 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5926
5927         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5928         tabular in a float
5929
5930 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5931
5932         * importer.C (Loaders): do not preallocate 3 elements in the
5933         vector, since one ends up with 6 elements otherwise
5934
5935 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5936
5937         * DepTable.C (write): write the file name as last element of the
5938         .dep file (because it may contain spaces)
5939         (read): read info in the right order
5940
5941 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5942
5943         * paragraph_pimpl.C (simpleTeXBlanks):
5944         (simpleTeXSpecialChars):
5945         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5946
5947         * tabular.C (latex): add some missing case statements. Reindent.
5948
5949         * MenuBackend.C (expandToc): remove unused variable.
5950
5951 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5952
5953         * LColor.C:
5954         * LaTeX.C:
5955         * LyXAction.C:
5956         * MenuBackend.C:
5957         * buffer.C:
5958         * exporter.C:
5959         * lyxfunc.C:
5960         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5961         and the like.
5962
5963 2003-01-05  John Levon  <levon@movementarian.org>
5964
5965         * BufferView.h:
5966         * BufferView.C: add getEncoding()
5967
5968         * kbsequence.h:
5969         * kbsequence.C: do not store last keypress
5970
5971         * lyxfunc.h:
5972         * lyxfunc.C: store last keypress here instead. Pass encoding
5973           to getISOEncoded()
5974
5975 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5976
5977         * lyx_main.C (init): remove annoying error message when following
5978         symbolic links (bug #780)
5979
5980 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5981
5982         * text.C (insertChar):
5983         * lyxrc.C (getDescription): remove extra spaces
5984
5985 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5986
5987         * lyxrc.C (getDescription): remove extra spaces
5988
5989 2002-12-20  John Levon  <levon@movementarian.org>
5990
5991         * text3.C: hack fix for page up/down across tall rows
5992
5993 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5994
5995         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5996         not been invoked
5997
5998 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5999
6000         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6001         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6002         thesaurus is not compiled in
6003
6004 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6005
6006         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6007
6008 2002-12-16  Angus Leeming  <leeming@lyx.org>
6009
6010         * lyxrc.[Ch]:
6011         * lyx_main.C (init): remove override_x_deadkeys stuff.
6012
6013 2002-12-12  John Levon  <levon@movementarian.org>
6014
6015         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6016           insert. Only remove shift modifier under strict
6017           circumstances.
6018
6019 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6020
6021         * MenuBackend.C (expandToc): fix crash.
6022
6023 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * MenuBackend.C (expandToc): gettext on float names.
6026
6027 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6028
6029         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6030         implement bool empty() [bug 490]
6031
6032 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6035
6036 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * several files: ws changes
6039
6040 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * text2.C (setCounter): clean up a bit, use boost.format.
6043         (updateCounters): initialize par upon declaration.
6044
6045         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6046         if the layout exists. We do not just store the layout any more.
6047         (SwitchLayoutsBetweenClasses): use boost.format
6048
6049 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6050
6051         * converter.C (convert): if from and to files are the same, use a
6052         temporary files as intermediary
6053
6054 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6055
6056         * commandtags.h:
6057         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6058
6059 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6060
6061         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6062
6063 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * tabular.C (asciiPrintCell): use string(size, char) instead of
6066         explicit loop.
6067
6068         * sgml.C (openTag): fix order of arguments to string constructor
6069         (closeTag): ditto
6070
6071         * lyxfunc.C (dispatch): use boost.format
6072
6073         * lots of files: change "c" -> 'c'
6074
6075 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6076
6077         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6078
6079 2002-11-25  Angus Leeming  <leeming@lyx.org>
6080
6081         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6082
6083         * lyx_main.C (init): compile fix.
6084
6085 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * lyx_cb.C (start): boost.formatify
6088         do not include <iostream>
6089
6090         * lengthcommon.C: ws only
6091
6092         * boost-inst.C,BoostFormat.h: add more explict instantations
6093
6094 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * lots of files: handle USE_BOOST_FORMAT
6097
6098 2002-11-21  John Levon  <levon@movementarian.org>
6099
6100         * pspell.C: fix compile
6101
6102 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6103
6104         * lyxfunc.C (dispatch): use boost::format
6105         (open): ditto
6106         (doImport): ditto
6107
6108         * lyxfont.C (stateText): use boost::format
6109
6110         * lyx_main.C (LyX): use boost::format
6111         (init): ditto
6112         (queryUserLyXDir): ditto
6113         (readRcFile): ditto
6114         (parse_dbg): ditto
6115         (typedef boost::function): use the recommened syntax.
6116
6117         * importer.C (Import): use boost::format
6118
6119         * debug.C (showLevel): use boost::format
6120
6121         * converter.C (view): use boost::format
6122         (convert): ditto
6123         (move): ditto
6124         (scanLog): ditto
6125
6126         * bufferview_funcs.C (currentState): use boost::format
6127
6128         * bufferlist.C (emergencyWrite): use boost::format
6129
6130         * buffer.C (readLyXformat2): use boost::format
6131         (parseSingleLyXformat2Token): ditto
6132
6133         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6134
6135         * LaTeX.C (run): use boost::format
6136
6137         * Chktex.C (scanLogFile): use boost::format
6138
6139         * BufferView_pimpl.C (savePosition): use boost::format
6140         (restorePosition): ditto
6141         (MenuInsertLyXFile): ditto
6142
6143         * BoostFormat.h: help file for explicit instation.
6144
6145 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6146
6147         * tabular.C (latex): Support for block alignment in fixed width
6148         columns.
6149
6150 2002-11-17  John Levon  <levon@movementarian.org>
6151
6152         * BufferView_pimpl.C:
6153         * lyx_cb.C:
6154         * lyxfunc.C: split filedialog into open/save
6155
6156 2002-11-08  Juergen Vigna  <jug@sad.it>
6157
6158         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6159         by my last patch (hopefully).
6160
6161 2002-11-08  John Levon  <levon@movementarian.org>
6162
6163         * iterators.h:
6164         * iterators.C:
6165         * buffer.h:
6166         * buffer.C:
6167         * paragraph.h:
6168         * paragraph.C:
6169         * toc.h:
6170         * toc.C: ParConstIterator, and use it (from Lars)
6171
6172 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6173
6174         * lyxtextclass.[Ch]: revise and add doxygen comments
6175
6176 2002-11-07  John Levon  <levon@movementarian.org>
6177
6178         * text.C: fix progress value for spellchecker
6179
6180         * toc.C: fix navigate menu for insetwrap inside minipage
6181
6182         * paragraph_funcs.C: added FIXME for suspect code
6183
6184 2002-11-07  John Levon  <levon@movementarian.org>
6185
6186         * BufferView_pimpl.C: fix redrawing of insets
6187           on buffer switch
6188
6189 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6190
6191         * text2.C (updateCounters): fix bug 668
6192
6193 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6194
6195         * text3.C (dispatch): Do not make the buffer dirty when moving the
6196         cursor.
6197
6198 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * vc-backend.C: STRCONV
6201         (scanMaster): ditto
6202
6203         * text2.C (setCounter): STRCONV
6204
6205         * paragraph.C (asString): STRCONV
6206
6207         * lyxlength.C (asString): STRCONV
6208         (asLatexString): ditto
6209
6210         * lyxgluelength.C (asString): STRCONV
6211         (asLatexString): ditto
6212
6213         * lyxfunc.C (dispatch): STRCONV
6214         (open): ditto
6215
6216         * lyxfont.C (stateText): STRCONV
6217
6218         * importer.C (Import): STRCONV
6219
6220         * counters.C (labelItem): STRCONV
6221         (numberLabel): ditto
6222         (numberLabel): remove unused ostringstream o
6223
6224         * chset.C: STRCONV
6225         (loadFile): ditto
6226
6227         * bufferview_funcs.C (currentState): STRCONV
6228
6229         * buffer.C (readFile): STRCONV
6230         (asciiParagraph): ditto
6231         (makeLaTeXFile): ditto
6232
6233         * Spacing.C (writeEnvirBegin): STRCONV
6234
6235         * LaTeXFeatures.C (getLanguages): STRCONV
6236         (getPackages): ditto
6237         (getMacros): ditto
6238         (getBabelOptions): ditto
6239         (getTClassPreamble): ditto
6240         (getLyXSGMLEntities): ditto
6241         (getIncludedFiles): ditto
6242
6243         * LaTeX.C: STRCONV
6244         (run): ditto
6245         (scanAuxFile): ditto
6246         (deplog): ditto
6247
6248         * LString.h: add the STRCONV macros
6249
6250         * BufferView_pimpl.C (savePosition): STRCONV
6251         (restorePosition): ditto
6252         (MenuInsertLyXFile): ditto
6253
6254         * vc-backend.C (scanMaster): change from submatch[...] to
6255         submatch.str(...)
6256
6257         * funcrequest.C: include config.h
6258
6259         * factory.C: include config.h
6260
6261         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6262
6263         * box.C: include config.h
6264
6265         * LaTeX.C (scanAuxFile): change from submatch[...] to
6266         submatch.str(...)
6267         (deplog): ditto
6268
6269 2002-10-25  Angus Leeming  <leeming@lyx.org>
6270
6271         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6272
6273         * ispell.[Ch] (setError): new method.
6274         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6275         Use setError() insetead of goto END.
6276
6277         * lyx_cb.C (AutoSave): move out child process into new class
6278         AutoSaveBuffer.
6279
6280 2002-10-30  John Levon  <levon@movementarian.org>
6281
6282         * text3.C: make start appendix undoable
6283
6284 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6285
6286         * lyxlength.C (inPixels): Fix returned value.
6287
6288         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6289         environment.
6290
6291 2002-10-24  Angus Leeming  <leeming@lyx.org>
6292
6293         * lyxgluelength.h: no need to forward declare BufferParams
6294         or BufferView, so don't.
6295
6296 2002-10-21  John Levon  <levon@movementarian.org>
6297
6298         * BufferView.C: menuUndo ->undo, redo
6299
6300         * BufferView.h: document, remove dead, make some methods private
6301
6302         * paragraph_funcs.h:
6303         * paragraph_funcs.C:
6304         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6305
6306         * buffer.h:
6307         * buffer.C:
6308         * sgml.h:
6309         * sgml.C: move sgml open/close tag into sgml.C
6310
6311         * bufferview_funcs.h: unused prototype
6312
6313         * lyxfunc.h:
6314         * lyxfunc.C: remove unused
6315
6316         * lyxtext.h:
6317         * text.C: remove unused
6318
6319 2002-10-21  John Levon  <levon@movementarian.org>
6320
6321         * BufferView.h:
6322         * BufferView.C:
6323         * BufferView_pimpl.h:
6324         * BufferView_pimpl.C: fix mouse wheel handling based on
6325           patch from Darren Freeman
6326
6327 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6328
6329         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6330
6331 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6332
6333         * lyxlength.C (inPixels): Fix hanfling of negative length.
6334         Fix LyXLength::MU case.
6335
6336 2002-10-16  John Levon  <levon@movementarian.org>
6337
6338         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6339
6340 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6341
6342         * converter.C (view): add support for $$i (file name) and $$p
6343         (file path) for the viewer command. If $$i is not specified, then
6344         it is appended to the command (for compatibility with old syntax)
6345
6346 2002-10-14  Juergen Vigna  <jug@sad.it>
6347
6348         * undo_funcs.C (textHandleUndo): alter the order in which the
6349         new undopar is added to the LyXText, as we have to set first
6350         the right prev/next and then add it as otherwise the rebuild of
6351         LyXText is not correct. Also reset the cursor to the right paragraph,
6352         with this IMO we could remove the hack in "redoParagraphs()".
6353
6354 2002-10-09  Angus Leeming  <leeming@lyx.org>
6355
6356         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6357         to turn off an optimisation if a new inset is to be inserted.
6358
6359 2002-10-11 André Pönitz <poenitz@gmx.net>
6360
6361         * lyxtext.h: make some functions public to allow access
6362         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6363
6364 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6365
6366         * text3.C (dispatch): when changing layout, avoid an infinite loop
6367         [bug #652]
6368
6369 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6370
6371         * lyxrc.C (read): treat a viewer or converter command of "none" as
6372         if it were empty.
6373
6374         * MenuBackend.C (expandFormats): for an update, also allow the
6375         formats that are not viewable
6376
6377         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6378         script if it is newer than the lyxrc.defaults in user directory
6379
6380 2002-10-07 André Pönitz <poenitz@gmx.net>
6381
6382         * text.C: Vitaly Lipatov's small i18n fix
6383
6384 2002-09-25  Angus Leeming  <leeming@lyx.org>
6385
6386         * ispell.h: doxygen fix.
6387
6388 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6389
6390         * buffer.h (readFile): Add a new argument to the method, to allow
6391         reading of old-format templates.
6392
6393 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6394
6395         * toc.C (getTocList): Get TOC from InsetWrap.
6396
6397 2002-09-16  John Levon  <levon@movementarian.org>
6398
6399         * lyxfunc.C: check tabular for cut/copy too
6400
6401 2002-09-12  John Levon  <levon@movementarian.org>
6402
6403         * LyXAction.C: tidy
6404
6405         * factory.h:
6406         * factory.C: add header
6407
6408         * paragraph_funcs.h:
6409         * paragraph_funcs.C: cleanup
6410
6411 2002-09-11  John Levon  <levon@movementarian.org>
6412
6413         * PrinterParams.h: odd/even default to true
6414
6415 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6416
6417         * PrinterParams.h: update printer parameters for new xforms dialog
6418
6419 2002-09-11  Angus Leeming  <leeming@lyx.org>
6420
6421         * lyxserver.C (read_ready): re-write to make it more transparent
6422         and to make it work in coherent fashion under Tru64 Unix.
6423
6424 2002-09-11  André Pönitz <poenitz@gmx.net>
6425
6426         * commandtags.h:
6427         * LyXAction.C:
6428         * text3.C: implement LFUN_WORDSEL
6429
6430 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6433         make floatlist_ a boost::shared_ptr<FloatList>
6434
6435         * lyxtextclass.C: include FloatList.h
6436         (LyXTextClass): initialize floatlist_
6437         (TextClassTags): add TC_NOFLOAT
6438         (Read): match "nofloat" to TC_NOFLOAT and use it.
6439         (readFloat): modify call to floatlist_
6440         (floats): ditto
6441         (floats): ditto
6442
6443         * FloatList.[Ch] (FloatList): remove commented out float
6444         initialization.
6445         (erase): new function
6446
6447 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6448
6449         * MenuBackend.C (expandToc): fix crash when there is no document
6450         open
6451
6452 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6453
6454         * many files: Add insetwrap.
6455
6456 2002-09-09  John Levon  <levon@movementarian.org>
6457
6458         * text2.C: remove confusing and awkward depth wraparound
6459
6460 2002-09-09  John Levon  <levon@movementarian.org>
6461
6462         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6463
6464         * buffer.h:
6465         * buffer.C: remove getIncludeonlyList()
6466
6467         * paragraph.C:
6468         * lyxfunc.C: remove headers
6469
6470 2002-09-09  Juergen Vigna  <jug@sad.it>
6471
6472         * text.C (getColumnNearX): fix form Michael this is most
6473         probably a cut&paste bug.
6474
6475 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6478
6479         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6480         references, ws changes.
6481
6482         * text2.C (init): update counters after init
6483         (insertParagraph): no need to set counter on idividual paragraphs.
6484         (setCounter): access the counters object in the textclass object
6485         on in the buffer object.
6486         (updateCounters): ditto
6487
6488         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6489         shared_ptr<Counters> to avoid loading counters.h in all
6490         compilation units.
6491         (LyXTextClass): initialize ctrs_
6492         (TextClassTags): add TC_COUNTER, and ...
6493         (Read): use it here.
6494         (CounterTags): new tags
6495         (readCounter): new function
6496         (counters): new funtion
6497         (defaultLayoutName): return a const reference
6498
6499         * counters.C (Counters): remove contructor
6500         (newCounter): remove a couple of unneeded statements.
6501         (newCounter): simplify a bit.
6502         (numberLabel): some small formatting changes.
6503
6504         * buffer.[Ch]: remove all traces of counters, move the Counters
6505         object to the LyXTextClass.
6506
6507 2002-09-06  Alain Castera  <castera@in2p3.fr>
6508
6509         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6510         package to set the horizontal alignment on fixed width columns.
6511
6512         * lyx_sty.C:
6513         * lyx_sty.h: added tabularnewline macro def.
6514
6515         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6516
6517 2002-09-06  John Levon  <levon@movementarian.org>
6518
6519         * LyXAction.C: tooltips for sub/superscript
6520
6521         * MenuBackend.C: a bit more verbose
6522
6523         * lyxfunc.C: tiny clean
6524
6525         * undo_funcs.C: document undo_frozen
6526
6527 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * counters.C (Counters): add missing algorithm counter.
6530
6531         * text2.C (setCounter): lookup the counter with layouts latexname
6532         instead of by section number.
6533         (setCounter): use a hackish way to lookup the correct enum
6534         counter.
6535         a float name->type change
6536         reset enum couners with counter name directly instead of depth value.
6537
6538         * counters.C (Counters): remove the push_backs, change to use the
6539         float type not the float name.
6540         (labelItem): remove unused string, float name->type change
6541
6542         * counters.h: don't include vector, loose the enums and sects vectors
6543
6544 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6545
6546         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6547         (Read): add float->TC_FLOAT to textclassTags
6548         (Read): and handle it in the switch
6549         (readFloat): new function
6550
6551         * FloatList.C (FloatList): comment out the hardcoded float
6552         definitions.
6553
6554         * lyxlayout.h: ws change.
6555
6556 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6557
6558         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6559
6560 2002-09-03  Angus Leeming  <leeming@lyx.org>
6561
6562         * BufferView_pimpl.h: qualified name is not allowed in member
6563         declaration: WorkArea & Pimpl::workarea() const;
6564
6565         * factory.C: added using std::endl directive.
6566
6567         * text3.C: added using std::find and std::vector directives.
6568
6569 2002-08-29  André Pönitz <poenitz@gmx.net>
6570
6571         * lyxtext.h:
6572         * text2.C: remove unused member number_of_rows
6573
6574         * Makefile.am:
6575         * BufferView2.C: remove file, move contents to...
6576         * BufferView.C: ... here
6577
6578         * BufferView_pimpl.C:
6579         * factory.C: move more inset creation to factory
6580
6581         * vspace.C: avoid direct usage of LyXText, ws changes
6582
6583         * BufferView.[Ch]:
6584                 don't provide direct access to WorkArea, use two simple
6585                 acessors haveSelction() and workHeight() instead
6586
6587
6588 2002-08-29  John Levon  <levon@movementarian.org>
6589
6590         * BufferView_pimpl.C (dispatch): do not continue when
6591           no buffer
6592
6593 2002-08-28  André Pönitz <poenitz@gmx.net>
6594
6595         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6596
6597         * BufferView.h:
6598         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6599
6600 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6601
6602         * buffer.C: increment LYX_FORMAT to 221
6603
6604         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6605         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6606
6607         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6608
6609         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6610
6611 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6612
6613         * factory.C (createInset): use LyXTextClass::floats
6614
6615         * MenuBackend.C (expandFloatListInsert):
6616         (expandFloatInsert):
6617         (expandToc):
6618
6619         * text2.C (setCounter):
6620
6621         * LaTeXFeatures.C (useFloat):
6622         (getFloatDefinitions):
6623
6624         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6625
6626         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6627         floatlist_, with accessor floats().
6628
6629         * FloatList.h: remove global FloatList
6630
6631 2002-08-26  André Pönitz <poenitz@gmx.net>
6632
6633         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6634
6635         * BufferView.h:
6636         * BufferView2.C:
6637         * BufferView_pimpl.C:
6638         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6639
6640 2002-08-25  John Levon  <levon@movementarian.org>
6641
6642         * LyXAction.C: fix margin note description
6643
6644 2002-08-24  John Levon  <levon@movementarian.org>
6645
6646         * buffer.C:
6647         * bufferlist.C:
6648         * bufferview_funcs.C:
6649         * lyxfont.C:
6650         * undo_funcs.C: cleanups
6651
6652         * lyxfunc.C: disable CUT/COPY when no selection
6653
6654 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6655
6656         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6657         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6658
6659         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6660         Add backward compatibility to "mono", "gray" and "no".
6661
6662 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6663
6664         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6665         (and file_format >= 200).
6666
6667 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6668
6669         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6670
6671 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6672
6673         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6674
6675 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6676
6677         * BufferView_pimpl.C:
6678         * LyXAction.C:
6679         * buffer.C:
6680         * commandtags.h:
6681         * lyxfunc.C:
6682         * paragraph.[Ch]:
6683         * text2.C:
6684         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6685         inset and code to make it  work with the paragraph code. The inset
6686         can be anywhere in the paragraph, but will only do the expected
6687         thing in LaTeX if the layout file contains the parameter line
6688                         OptionalArgs    1
6689         (or more generally, a nonzero value) for that layout.
6690
6691 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * paragraph.h: remove the declaration of undefined counters class
6694         function.
6695
6696 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6697
6698         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6699         Dr. Richard Hawkins.
6700
6701 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6702
6703         * paragraph_funcs.h: remove some unneeded includes
6704
6705         * text.C (backspace): pasteParagraph now in global scipe
6706
6707         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6708         (pasteSelection): ditto
6709
6710         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6711         * paragraph_funcs.C (pasteParagraph): ... here
6712
6713 2002-08-20  André Pönitz <poenitz@gmx.net>
6714
6715         * commandtags.h: new LFUNs for swapping/copying table row/colums
6716
6717         * LyXAction.C:
6718         * lyxfunc.C: support for new lfuns
6719
6720 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * tabular.C:
6723         * buffer.[Ch]: remove NO_COMPABILITY stuff
6724
6725 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * boost.C (throw_exception): new file, with helper function for
6728         boost compiled without exceptions.
6729
6730         * paragraph.h:
6731         * lyxlength.C:
6732         * buffer.C:
6733         * ParameterStruct.h:
6734         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6735
6736         * bufferlist.C (emergencyWriteAll): use boost bind
6737
6738         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6739
6740         * text.C: include paragraph_funcs.h
6741         (breakParagraph): breakParagraph is now in global scope
6742
6743         * paragraph_funcs.[Ch]: new files
6744
6745         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6746         global scope
6747
6748         * buffer.C: include paragraph_funcs.h
6749         (insertStringAsLines): breakParagraph is now in global scope
6750
6751         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6752         paragraph_funcs.C
6753
6754         * CutAndPaste.C: include paragraph_funcs.h
6755         (cutSelection): breakParagraphConservative is now in global scope
6756         (pasteSelection): ditto
6757
6758         * buffer.h: declare oprator== and operator!= for
6759         Buffer::inset_iterator
6760
6761         * bufferlist.C (emergencyWrite): don't use fmt(...)
6762
6763         * text3.C: add using std::endl
6764
6765         * BufferView.C (moveCursorUpdate): remove default arg
6766
6767 2002-08-20  André Pönitz <poenitz@gmx.net>
6768
6769         * buffer.[Ch]: move inline functions to .C
6770
6771         * BufferView2.C:
6772         * BufferView_pimpl.C:
6773         * text.C:
6774         * buffer.[Ch]: use improved inset_iterator
6775
6776         * buffer.C:
6777         * paragraph.[Ch]: write one paragraph at a time
6778
6779 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6780
6781         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6782         style if style is not specified.
6783
6784 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6785
6786         * text2.C (setCounter): when searching for right label for a
6787         caption, make sure to recurse to parent insets (so that a caption
6788         in a minipage in a figure float works) (bug #568)
6789
6790 2002-08-20  André Pönitz <poenitz@gmx.net>
6791
6792         * text3.C: new file for LyXText::dispatch() and helpers
6793
6794         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6795
6796         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6797
6798 2002-08-19  André Pönitz <poenitz@gmx.net>
6799
6800         * lyxtext.h:
6801         * text.C: new LyXText::dispatch()
6802
6803         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6804
6805 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6806
6807         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6808
6809         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6810         Hebrew text.
6811
6812 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6813
6814         * Makefile.am: use $(variables) instead of @substitutions@
6815
6816 2002-08-15  André Pönitz <poenitz@gmx.net>
6817
6818         * lyxfunc.C:
6819         * BufferView_pimpl.C: streamlining mathed <-> outer world
6820         interaction
6821
6822         * commandtags.h:
6823         * LyXAction.C: remove unused LFUN_MATH
6824
6825 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6828
6829 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6830
6831         * paragraph.C (Paragraph): reformat a bit
6832         (cutIntoMinibuffer): use builtin InsetList function instad of
6833         doing it manually.
6834         (getInset): ditto
6835
6836         * buffer.C: include boost/bind.hpp, add using std::for_each
6837         (writeFileAscii): use ParagraphList iterators
6838         (validate): use for_each for validate traversal of paragraphs
6839         (getBibkeyList): use ParagraphList iterators
6840         (resizeInsets): use for_each to resizeInsetsLyXText for all
6841         paragraphs.
6842         (getParFromID): use ParagraphList iterators
6843
6844         * BufferView2.C (lockInset): use paragraph list and iterators
6845
6846 2002-08-14  John Levon  <levon@movementarian.org>
6847
6848         * lyxserver.C: remove spurious xforms include
6849
6850 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6851
6852         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6853
6854 2002-08-13  André Pönitz <poenitz@gmx.net>
6855
6856         * LyXAction.[Ch]:
6857         * lyxfunc.C: further cleaning
6858
6859 2002-08-13  André Pönitz <poenitz@gmx.net>
6860
6861         * funcrequest.h: new constructor
6862
6863         * funcrequest.C: move stuff here from .h
6864
6865         * Makefile.am:
6866         * BufferView_pimpl.C:
6867         * LyXAction.C:
6868         * toc.C:
6869         * lyxfunc.C: subsequent changes
6870
6871         * lyxfunc.h: new view() member function
6872
6873         * lyxfunc.C: subsequent changes
6874
6875 2002-08-13  Angus Leeming  <leeming@lyx.org>
6876
6877         * BufferView2.C:
6878         * BufferView_pimpl.C:
6879         * buffer.C:
6880         * converter.C:
6881         * importer.C:
6882         * lyxfunc.C:
6883         * lyxvc.C:
6884         * toc.C:
6885         * vc-backend.C:
6886         changes due to the changed LyXView interface that now returns references
6887         to member variables not pointers.
6888
6889 2002-08-13  Angus Leeming  <leeming@lyx.org>
6890
6891         * WordLangTuple (word, lang_code): return references to strings,
6892         not strings.
6893
6894         * BufferView.h:
6895         * SpellBase.h:
6896         * lyxtext.h: forward-declare WordLangTuple.
6897
6898         * BufferView2.C:
6899         * ispell.C:
6900         * pspell.C:
6901         * text.C: #include "WordLangTuple.h".
6902
6903         * lyxtext.h:
6904         * text.C: (selectNextWordToSpellcheck): constify return type.
6905
6906 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6907
6908         * buffer.C:
6909         * buffer.h:
6910         * lyxtext.h:
6911         * paragraph.C:
6912         * paragraph_pimpl.h:
6913         * text.C:
6914         * text2.C:
6915         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6916         suggested by Angus.
6917         Made updateCounter always count from start of buffer, and removed
6918         second argument (par).
6919         Reverted floats number display to '#'. Perhaps I'll try again when the
6920         code base is sanitized a bit.
6921
6922 2002-08-12  Angus Leeming  <leeming@lyx.org>
6923
6924         * buffer.[Ch] (getLabelList): constify.
6925
6926 2002-08-07  André Pönitz <poenitz@gmx.net>
6927
6928         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6929
6930         * funcrequest.h: extension to keep mouse (x,y) position
6931
6932 2002-08-12  Juergen Vigna  <jug@sad.it>
6933
6934         * BufferView2.C (insertErrors): forbid undo when inserting error
6935         insets.
6936
6937         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6938
6939 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6940
6941         * ParagraphList.[Ch]: new files
6942
6943         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6944
6945         * BufferView2.C (lockInset): ParagraphList changes
6946         * toc.C: ditto
6947         * text2.C: ditto
6948         * bufferlist.C: ditto
6949         * buffer.h: ditto
6950         * buffer.C: ditto
6951
6952 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6955         unused class variable counter_,
6956
6957         * paragraph.[Ch] (getFirstCounter): delete unused function
6958
6959         * counters.C: include LAssert.h
6960         (reset): add a new function with no arg, change other version to
6961         not have def. arg and to not allow empty arg.
6962
6963         * text2.C (setCounter): remove empty arg from call to Counters::reset
6964
6965 2002-08-11  John Levon  <levon@movementarian.org>
6966
6967         * Makefile.am: add WordLangTuple.h
6968
6969 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6970
6971         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6972         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6973
6974         * insets/insettext.C: InsetList changes
6975
6976         * graphics/GraphicsSupport.C (operator()): InsetList changes
6977
6978         * toc.C (getTocList): InsetList changes
6979
6980         * paragraph_pimpl.[Ch]: InsetList changes
6981
6982         * paragraph.[Ch]: InsetList changes
6983
6984         * buffer.C (inset_iterator): InsetList changes
6985         (setParagraph): ditto
6986         * buffer.h (inset_iterator): ditto
6987         * iterators.C (operator++): ditto
6988         * iterators.h: ditto
6989
6990         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6991
6992         * InsetList.[Ch]: new files, most InsetList handling moved out of
6993         paragraph.C.
6994
6995         * BufferView2.C (removeAutoInsets): InsetList changes
6996         (lockInset): ditto
6997         (ChangeInsets): ditto
6998
6999 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * paragraph_pimpl.h (empty): new function
7002
7003         * paragraph.[Ch] (empty): new function
7004
7005         * other files: use the new Paragraph::empty function
7006
7007 2002-08-09  John Levon  <levon@movementarian.org>
7008
7009         * lyxtext.h: remove unused refresh_height
7010
7011 2002-08-09  John Levon  <levon@movementarian.org>
7012
7013         * Makefile.am:
7014         * sgml.h:
7015         * sgml.C:
7016         * buffer.C:
7017         * paragraph.h:
7018         * paragraph.C: move sgml char escaping out of paragraph
7019
7020         * paragraph.h:
7021         * paragraph.C: remove id setter
7022
7023         * buffer.C:
7024         * paragraph.C:
7025         * paragraph_pimpl.C: remove dead tex_code_break_column
7026
7027         * bufferview_funcs.C: small cleanup
7028
7029         * lyxfunc.C: remove dead proto
7030
7031         * lyxtext.h: make some stuff private. Remove some dead stuff.
7032
7033         * lyxgluelength.C: make as[LyX]String() readable
7034
7035 2002-08-08  John Levon  <levon@movementarian.org>
7036
7037         * LyXAction.h:
7038         * LyXAction.C:
7039         * MenuBackend.C:
7040         * ToolbarDefaults.C:
7041         * lyxfunc.C:
7042         * lyxrc.C:
7043         * toc.C: lyxaction cleanup
7044
7045 2002-08-08  John Levon  <levon@movementarian.org>
7046
7047         * BufferView2.C: small cleanup
7048
7049         * lyxfind.h:
7050         * lyxfind.C: move unnecessary header into the .C
7051
7052 2002-08-08  John Levon  <levon@movementarian.org>
7053
7054         * funcrequest.h: just tedious nonsense
7055
7056         * lyx_main.h:
7057         * lyx_main.C: cleanups
7058
7059         * buffer.C:
7060         * vspace.C: remove dead header lyx_main.h
7061
7062 2002-08-07  Angus Leeming  <leeming@lyx.org>
7063
7064         * Paragraph.[Ch]:
7065         * paragraph_pimpl.h:
7066         Forward declare class Counters in paragraph.h by moving the ctrs member
7067         variable into Paragraph::Pimpl.
7068         (counters): new method, returning a reference to pimpl_->ctrs.
7069
7070         * text2.C: ensuing changes.
7071
7072 2002-08-07  John Levon  <levon@movementarian.org>
7073
7074         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7075
7076         * BufferView_pimpl.C: announce X selection on double/triple
7077           click
7078
7079         * lyx_main.C: use correct bool in batch dispatch
7080
7081         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7082
7083 2002-08-07  André Pönitz <poenitz@gmx.net>
7084
7085         * funcrequest.h: new class to wrap a kb_action and its argument
7086
7087         * BufferView.[Ch]:
7088         * BufferView_pimpl[Ch]:
7089         * LaTeX.C:
7090         * LyXAction.[Ch]:
7091         * lyxfunc.[Ch]:
7092         * lyxrc.C: subsequent changes
7093
7094
7095 2002-08-07  John Levon  <levon@movementarian.org>
7096
7097         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7098           document options change.
7099
7100 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7101
7102         * counters.[Ch]
7103         * text2.C
7104         * paragraph.[Ch]
7105         * makefile.am: move counters functionality over from
7106         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7107
7108 2002-08-06  John Levon  <levon@movementarian.org>
7109
7110         * WordLangTuple.h: new file for word + language code tuple
7111
7112         * SpellBase.h:
7113         * pspell.h:
7114         * pspell.C:
7115         * ispell.h:
7116         * ispell.C:
7117         * lyxtext.h:
7118         * text.C:
7119         * text2.C:
7120         * BufferView.h:
7121         * BufferView2.C: use WordLangTuple
7122
7123         * layout.h:
7124         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7125
7126 2002-08-06  John Levon  <levon@movementarian.org>
7127
7128         * lyx_main.C: fix cmdline batch handling
7129
7130 2002-08-06  André Pönitz <poenitz@gmx.net>
7131
7132         * lyxrc.C: set default for show_banner to true
7133
7134 2002-08-06  John Levon  <levon@movementarian.org>
7135
7136         * pspell.C: fix a crash, and allow new aspell to work
7137
7138 2002-08-06  John Levon  <levon@movementarian.org>
7139
7140         * lyxfunc.C:
7141         * kbmap.C: small cleanup
7142
7143         * vspace.h:
7144         * vspace.C: add const
7145
7146 2002-08-05  John Levon  <levon@movementarian.org>
7147
7148         * LyXAction.C: back to tabular-insert
7149
7150 2002-08-04  John Levon  <levon@movementarian.org>
7151
7152         * BufferView.h:
7153         * BufferView.C: cosmetic change
7154
7155         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7156
7157         * bufferlist.C:
7158         * buffer.h:
7159         * buffer.C:
7160         * lyxcb.h:
7161         * lyxcb.C:
7162         * lyxserver.C:
7163         * lyxvc.C:
7164         * vc-backend.C:
7165         * BufferView2.C: purge all "Lyx" not "LyX" strings
7166
7167         * lyxcursor.h:
7168         * lyxcursor.C: attempt to add some documentation
7169
7170         * lyxfunc.C:
7171         * commandtags.h:
7172         * LyXAction.C:
7173         * ToolbarDefaults.C:
7174         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7175           merge with LFUN_TABULAR_INSERT
7176
7177         * Makefile.am:
7178         * SpellBase.h:
7179         * ispell.h:
7180         * ispell.C:
7181         * pspell.h:
7182         * pspell.C: split up i/pspell implementations into separate
7183           files, many cleanups
7184
7185         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7186
7187         * text2.C: some cleanup
7188
7189         * lyxfunc.C: don't check for isp_command == "none" any more, it
7190           didn't make any sense
7191
7192 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7193
7194         * counters.[Ch]
7195         * text2.C
7196         * paragraph.[Ch]
7197         * makefile.am: move counters functionality over
7198         from text2.C/paragraph.[Ch] to counters.[Ch], and
7199         make proper C++.
7200 2002-08-02  John Levon  <levon@movementarian.org>
7201
7202         * buffer.C: s/lyxconvert/lyx2lyx/
7203
7204 2002-08-02  Angus Leeming  <leeming@lyx.org>
7205
7206         * lyxlex.C: revert John's change as it breaks reading of the user
7207         preamble.
7208
7209 2002-08-02  Angus Leeming  <leeming@lyx.org>
7210
7211         * importer.C (Import):
7212         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7213         changes due to LyXView::view() now returning a boost::shared_ptr.
7214
7215 2002-08-02  John Levon  <levon@movementarian.org>
7216
7217         * lyxlex.C: small cleanup
7218
7219 2002-08-02  John Levon  <levon@movementarian.org>
7220
7221         * text2.C (status): small cleanup, no logic change
7222
7223 2002-08-01  John Levon  <levon@movementarian.org>
7224
7225         * buffer.h:
7226         * buffer.C (writeFile): don't output alerts, caller
7227           handles this
7228
7229         * bufferlist.C:
7230         * lyx_cb.C: from above
7231
7232         * lyxfunc.C: allow to open non-existent files
7233
7234 2002-07-31  John Levon  <levon@movementarian.org>
7235
7236         * lyxserver.C: don't let incidental errors get
7237           in the way (errno)
7238
7239 2002-07-30  John Levon  <levon@movementarian.org>
7240
7241         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7242
7243 2002-07-30  John Levon  <levon@movementarian.org>
7244
7245         * lyxserver.h:
7246         * lyxserver.C: remove I/O callback too
7247
7248 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7249
7250         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7251         log.
7252
7253 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * many files: strip,frontStrip -> trim,ltrim,rtrim
7256
7257 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * PrinterParams.h: remove extern containsOnly, and include
7260         support/lstrings.h instead.
7261
7262         * LaTeX.C (scanAuxFile): modify because of strip changes
7263         (deplog): ditto
7264         * buffer.C (makeLaTeXFile): ditto
7265         * bufferparams.C (writeFile): ditt
7266         * lyxfont.C (stateText): ditto
7267         * lyxserver.C (read_ready): ditto
7268         * vc-backend.C (scanMaster): ditto
7269
7270         * BufferView_pimpl.h: ws changes
7271
7272         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7273
7274 2002-07-26  André Pönitz <poenitz@gmx.net>
7275
7276         * kb_sequence.C: remove unnedred usings
7277
7278 2002-07-26  Juergen Vigna  <jug@sad.it>
7279
7280         * lyxfind.C (LyXReplace): we have to check better if the returned
7281         text is not of theLockingInset()->getLockingInset().
7282
7283 2002-07-25  Juergen Vigna  <jug@sad.it>
7284
7285         * lyxfind.C (LyXReplace): don't replace if we don't get the
7286         right LyXText.
7287
7288         * undo_funcs.C (createUndo): remove debugging code.
7289
7290 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7291
7292         * buffer.C (parseSingleLyXformat2Token): Use default placement
7293         when reading old floats.
7294
7295         * FloatList.C (FloatList): Change the default placement of figure
7296         and tables to "tbp".
7297
7298 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7299
7300         * MenuBackend.C: using std::max
7301
7302 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7303
7304         * MenuBackend.C (expandToc):
7305         (expandToc2): code moved from xforms menu frontend. It is now
7306         generic and TOCs are transparent to menu frontends.
7307
7308 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7309
7310         * toc.C (getTocList): protect against buf=0
7311
7312         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7313         Menu as first parameter. Now, this calls itself recursively to
7314         expand a whole tree (this will be useful for TOC handling)
7315         (expandFloatInsert): remove 'wide' version of floats
7316
7317         * MenuBackend.h (submenuname): returns the name of the submenu.
7318         (submenu): returns the submenu itself, provided it has been
7319         created by MenuBackend::expand
7320
7321 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7322
7323         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7324         insets which have noFontChange == true. (bug #172)
7325
7326 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7327
7328         * BufferView_pimpl.C: add connection objects and use them...
7329         (Pimpl): here.
7330
7331 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7332
7333         * MenuBackend.C (expandLastfiles):
7334         (expandDocuments):
7335         (expandFormats):
7336         (expandFloatListInsert):
7337         (expandFloatInsert):
7338         (expand): split expand in parts
7339
7340 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7341
7342         * lyx_gui.C: use lyx_gui::exit()
7343
7344 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7345
7346         * LyXAction.C: show the failing pseudo action
7347
7348 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7349
7350         * buffer.C (readFile): Run the lyxconvert script in order to read
7351         old files.
7352
7353 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7354
7355         * LyXAction.C:
7356         * commandtags.h:
7357         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7358
7359 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * LyXAction.C:
7362         * commandtags.h:
7363         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7364
7365 2002-07-22  Herbert Voss  <voss@lyx.org>
7366
7367         * lengthcommon.C:
7368         * lyxlength.[Ch]: add support for the vertical lengths
7369
7370 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7371
7372         * toc.[Ch]: std:: fixes
7373
7374 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7375
7376         * lyxrc.C: do not include lyx_main.h
7377
7378         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7379         for layouts
7380
7381         * lyxrc.C:
7382         * encoding.C:
7383         * bufferlist.C:
7384         * BufferView2.C: include "lyxlex.h"
7385
7386         * tabular.h:
7387         * bufferparams.h: do not #include "lyxlex.h"
7388
7389         * lyxtextclasslist.C (Add): remove method
7390         (classlist): renamed to classlist_
7391
7392         * paragraph_pimpl.C:
7393         * paragraph.C:
7394         * text2.C:
7395         * CutAndPaste.C:
7396         * bufferview_funcs.C:
7397         * bufferlist.C:
7398         * text.C:
7399         * LaTeXFeatures.C:
7400         * buffer.C:
7401         * toc.C (getTocList): use BufferParams::getLyXTextClass
7402
7403         * toc.C (getTocList): use InsetFloat::addToToc
7404
7405         * toc.[Ch]: new files, containing helper functions to handle table
7406         of contents
7407
7408         * lyxfunc.C (dispatch): no need to remove spaces around command
7409         given as a string
7410         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7411         first command of the sequence; it is not very clever, but I do not
7412         have a better idea, actually
7413
7414         * LyXAction.C (LookupFunc): make sure to remove space at the
7415         beginning and end of the command
7416
7417 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7418
7419         * MenuBackend.C (getMenubar): new method: return the menubar of
7420         this menu set
7421         (read): treat differently reading of menu and menubar (in
7422         particular, the menubar has no name now)
7423         (Menu::menubar): remove
7424
7425         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7426         saving is finished
7427
7428 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7429
7430         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7431         a bibitem inset in a RTL paragraph.
7432
7433 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7434
7435         * paragraph_pimpl.C: constify
7436
7437         * BufferView_pimpl.C:
7438         * LaTeX.C:
7439         * lyxfunc.C: fix dispatch in a nicer way
7440
7441 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7442
7443         * lyxfunc.C (dispatch):
7444         * BufferView_pimpl.C:
7445         * BufferView_pimpl.h:
7446         * BufferView.C:
7447         * BufferView.h: rename Dispatch() to dispatch()
7448
7449         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7450
7451         * lyxlayout.C (Read): honor DependsOn tag
7452
7453         * lyxlayout.[Ch] (depends_on): new method
7454
7455         * version.C.in: update lyx_docversion
7456
7457         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7458
7459         * paragraph.C (validate): remove from here...
7460         * paragraph_pimpl.C (validate): ... and move here
7461         (isTextAt): make it const
7462
7463         * buffer.C (getLists): ws cleanup
7464
7465 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7466
7467         * language.C (read): Use iso8859-1 encoding in latex_lang
7468         (this prevents LyX from crashing when using iso10646-1 encoding).
7469
7470 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7471
7472         * text2.C (toggleInset): if cursor is inside an inset, close the
7473         inset and leave cursor _after_ it
7474
7475 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7476
7477         * lyxfunc.C: move minibuffer completion handling out of here
7478
7479 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7480
7481         * BufferView_pimpl.C:
7482         * LaTeX.C: fix dispatch calls
7483
7484 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7485
7486         * text.C (drawChars): Fix Arabic text rendering.
7487
7488 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7489
7490         * LyXAction.C:
7491         * commandtags.h:
7492         * lyxfunc.C: remove message-push/pop
7493
7494         * lyxserver.C:
7495         * lyxfunc.h:
7496         * lyxfunc.C: rationalise some code by removing verboseDispatch
7497           in favour of a bool argument to dispatch()
7498
7499 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7500
7501         * lyx_main.C (init): make sure to read symlinks as absolute paths
7502
7503 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7504
7505         * lyxfunc.h:
7506         * lyxfunc.C: no need for commandshortcut to be a member
7507
7508 2002-07-15  André Pönitz <poenitz@gmx.net>
7509
7510         * converter.C: add support for $$s (scripts from lib/scripts dir)
7511         * lyx_main.C: white space
7512
7513 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7514
7515         * bufferlist.C:
7516         * lyxrc.h:
7517         * lyxrc.C: remove second exit confirmation
7518
7519 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7520
7521         * BufferView.h:
7522         * BufferView.C:
7523         * BufferView2.C:
7524         * BufferView_pimpl.h:
7525         * BufferView_pimpl.C:
7526         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7527
7528 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7529
7530         * MenuBackend.C (expand): add numeric shortcuts to document menu
7531
7532         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7533
7534 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7535
7536         * lyxfont.C (setLyXFamily):
7537         (setLyXSeries):
7538         (setLyXShape):
7539         (setLyXSize):
7540         (setLyXMisc):
7541         (lyxRead):
7542         * debug.C (value):
7543         * buffer.C (asciiParagraph): use ascii_lowercase
7544
7545 2002-07-15  Mike Fabian  <mfabian@suse.de>
7546
7547         * lyxlex_pimpl.C (search_kw):
7548         * lyxlex.C (getLongString):
7549         * converter.h (operator<):
7550         * converter.C (operator<):
7551         * buffer.C (parseSingleLyXformat2Token):
7552         (asciiParagraph):
7553         * ToolbarDefaults.C (read):
7554         * MenuBackend.C (checkShortcuts):
7555         (read):
7556         * LColor.C (getFromGUIName):
7557         (getFromLyXName): use the compare_ascii_no_case instead of
7558         compare_no_case, because in turkish, 'i' is not the lowercase
7559         version of 'I', and thus turkish locale breaks parsing of tags.
7560
7561 2002-07-16  Angus Leeming  <leeming@lyx.org>
7562
7563         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7564         now takes a Buffer const & argument.
7565
7566 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7567
7568         * BufferView.C (resize): check there's a buffer to resize
7569
7570 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7571
7572         * lyxfunc.C: remove dead code
7573
7574         * lyxserver.h:
7575         * lyxserver.C: use lyx_guii::set_read_callback
7576
7577 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7578
7579         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7580         an inset in a RTL paragraph.
7581
7582 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7583
7584         * lyxfunc.C: repaint after a font size update
7585
7586 2002-07-15  André Pönitz <poenitz@gmx.net>
7587
7588         * lyxlength.C: inBP should be able to return negative values
7589
7590 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7591
7592         * lyxfunc.C: use lyx_gui::update_fonts()
7593
7594 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7595
7596         * lyxfunc.C: use lyx_gui::update_color()
7597
7598 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7599
7600         * bufferlist.C:
7601         * lyxfunc.h:
7602         * lyxfunc.C:
7603         * lyxrc.h:
7604         * lyxrc.C: remove file->new asks for name option, and let
7605           buffer-new take an argument
7606
7607 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7608
7609         * BufferView_pimpl.C: remove unneeded extra repaint()
7610
7611 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7612
7613         * LyXAction.C: allow command-sequence with NoBuffer
7614
7615         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7616
7617 2002-07-10  Angus Leeming  <leeming@lyx.org>
7618
7619         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7620
7621 2002-07-09  Angus Leeming  <leeming@lyx.org>
7622
7623         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7624
7625 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7626
7627         * lengthcommon.h: whitespace
7628
7629         * lyxfunc.C: update scrollbar after goto paragraph
7630
7631         * lyxtext.h: factor out page break drawing, and fix it so
7632           page break/added space paints as selected nicely
7633
7634 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7635
7636         * BufferView_pimpl.C: add FIXMEs, clean up a little
7637
7638 2002-07-09  André Pönitz <poenitz@gmx.net>
7639
7640         * lyxfont.[Ch]: support for wasy symbols
7641
7642 2002-07-08  André Pönitz <poenitz@gmx.net>
7643
7644         * BufferView_pimpl.C: apply John's patch for #93.
7645
7646 2002-07-05  Angus Leeming  <leeming@lyx.org>
7647
7648         * BufferView_pimpl.C (buffer): generate previews if desired.
7649
7650         * LColor.h: add "preview" to the color enum.
7651
7652         * LColor.C (LColor): add a corresponding entry to the items array.
7653
7654         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7655         with this buffer.
7656
7657 2002-07-05  Angus Leeming  <leeming@lyx.org>
7658
7659         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7660         The body of the code is now in the method that is passed an ostream &
7661         rather than a file name.
7662         Pass an additional only_preamble parameter, useful for the forthcoming
7663         preview stuff.
7664
7665 2002-07-03  André Pönitz <poenitz@gmx.net>
7666
7667         * lyxfunc.C: simplify getStatus() a bit for math stuff
7668
7669 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7670
7671         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7672
7673 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * text.C (changeRegionCase): do not change case of all the
7676         document when region ends at paragraph end (bug #461)
7677
7678 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7679
7680         * paragraph.C (startTeXParParams):
7681         (endTeXParParams): add \protect when necessary
7682
7683 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7684
7685         * BufferView_pimpl.C (workAreaExpose): remove warning
7686
7687 2002-06-27  Angus Leeming  <leeming@lyx.org>
7688
7689         * Makefile.am: add lyxlayout_ptr_fwd.h.
7690
7691 2002-06-26  André Pönitz <poenitz@gmx.net>
7692
7693         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7694
7695 2002-06-25  Angus Leeming  <leeming@lyx.org>
7696
7697         * lyxfunc.C (dispatch): Comment out the call to
7698         grfx::GCache::changeDisplay. The method no longer exists now that the
7699         pixmap generation part of the graphics loader has been moved into
7700         InsetGraphics.
7701
7702 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7703
7704         * text2.C: layout as layout
7705
7706         * text.C: layout as layout
7707
7708         * tabular.C (OldFormatRead): layout as layout
7709
7710         * paragraph_pimpl.C (TeXDeeper): layout as layout
7711         (realizeFont): layout as layout
7712
7713         * paragraph.C (writeFile): layout as layout
7714         (validate): layout as layout
7715         (getFont): layout as layout
7716         (getLabelFont): layout as layout
7717         (getLayoutFont): layout as layout
7718         (breakParagraph): layout as layout
7719         (stripLeadingSpaces): layout as layout
7720         (getEndLabel): layout as layout
7721         (getMaxDepthAfter): layout as layout
7722         (applyLayout): layout as layout
7723         (TeXOnePar): layout as layout
7724         (simpleTeXOnePar): layout as layout
7725         (TeXEnvironment): layout as layout
7726         (layout): layout as layout
7727         (layout): layout as layout
7728
7729         * lyxtextclass.C (compare_name): new functor to work with
7730         shared_ptr, layout as layout
7731         (Read): layout as layout
7732         (hasLayout): layout as layout
7733         (operator): layout as layout
7734         (delete_layout): layout as layout
7735         (defaultLayout): layout as layout
7736
7737         * lyxlayout_ptr_fwd.h: new file
7738
7739         * lyxlayout.C (Read): layout as layout
7740
7741         * lyx_cb.C (MenuInsertLabel): layout as layout
7742
7743         * bufferlist.C (newFile): layout as layout
7744
7745         * buffer.C (readLyXformat2): layout as layout
7746         (parseSingleLyXformat2Token): layout as layout
7747         (insertStringAsLines): layout as layout
7748         (asciiParagraph): layout as layout
7749         (latexParagraphs): layout as layout
7750         (makeLinuxDocFile): layout as layout
7751         (simpleLinuxDocOnePar): layout as layout
7752         (makeDocBookFile): layout as layout
7753         (simpleDocBookOnePar): layout as layout
7754         (getLists): layout as layout
7755
7756         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7757
7758         * CutAndPaste.C (cutSelection): layout as layout
7759         (pasteSelection): layout as layout
7760         (SwitchLayoutsBetweenClasses): layout as layout
7761
7762         * BufferView_pimpl.C (Dispatch): layout as layout
7763         (smartQuote): layout as layout
7764
7765         * BufferView2.C (unlockInset): layout as layout
7766
7767 2002-06-24  André Pönitz <poenitz@gmx.net>
7768
7769         * lyxfunc.C: fix #487
7770
7771 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7772
7773         * lyxrc.h:
7774         * lyxrc.C:
7775         * lyxfunc.C: remove display_shortcuts, show_banner
7776
7777 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7778
7779         * Buffer_pimpl.C: oops, update on resize
7780
7781 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * buffer.C:
7784         * converter.C:
7785         * exporter.C:
7786         * lyxfunc.C:
7787         * BufferView.h:
7788         * BufferView.C: use repaint()
7789
7790         * BufferView_pimpl.h:
7791         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7792           as it's a clearer description. Remove superfluous
7793           redraws.
7794
7795 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7796
7797         * text.C: fix bug 488. Not ideal, but getting
7798           getWord() to work properly for the insets that
7799           matter is more difficult ...
7800
7801 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7802
7803         * BufferView_pimpl.C:
7804         * LyXAction.C:
7805         * commandtags.h:
7806         * lyxfunc.C: remove the six million index lyxfuncs to just
7807           one, and DTRT (bug 458)
7808
7809 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * BufferView.h:
7812         * BufferView.C:
7813         * BufferView_pimpl.h:
7814         * BufferView_pimpl.C: clean up resize() stuff,
7815           and unnecessary updateScreen()s
7816
7817 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7818
7819         * BufferView.h:
7820         * BufferView.C:
7821         * BufferView_pimpl.h:
7822         * BufferView_pimpl.C:
7823         * lyxfind.h:
7824         * lyxfind.C:
7825         * minibuffer.C: remove focus management of workarea,
7826           not needed. Use screen's greyOut()
7827
7828 2002-06-17  Herbert Voss  <voss@lyx.org>
7829
7830         * converter.C: (convert) do not post a message, when converting
7831         fails, let the calling function decide what to do in this case
7832
7833 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7834
7835         * lyxfunc.C: tidy up a little
7836
7837 2002-06-16    <alstrup@diku.dk>
7838
7839         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7840         Got rid of FORMS_H_LOCATION include. Now we are
7841         GUII.
7842
7843 2002-06-15  LyX Development team  <lyx@rilke>
7844
7845         * buffer.[Ch] (sgmlOpenTag):
7846         (sgmlCloseTag): Added support for avoiding pernicious mixed
7847         content. Return number of lines written.
7848
7849         (makeLinuxDocFile):
7850         (makeDocBookFile): Fixed calls to sgml*Tag.
7851         Simple white space clean.
7852
7853         (simpleDocBookOnePar): Simple white space clean.
7854
7855         * tabular.[Ch] (docBook): Renamed to docbook and got another
7856         argument to related with the pernicious mixed content.
7857
7858         (docbookRow): Fixed calls for docbook inset method.
7859
7860 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7861
7862         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7863         so it's X11 independent.
7864
7865         * kb*.[Ch]: ditto.
7866
7867         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7868
7869 2002-06-15  Lyx Development team  <lyx@electronia>
7870
7871         * intl.h: Renamed getTrans to getTransManager.
7872
7873 2002-06-14  Angus Leeming  <leeming@lyx.org>
7874
7875         * Makefile.am: nuke forgotten stl_string_fwd.h.
7876
7877 2002-06-12  Angus Leeming  <leeming@lyx.org>
7878
7879         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7880
7881 2002-06-13  Angus Leeming  <leeming@lyx.org>
7882
7883         * LaTeX.C:
7884         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7885
7886 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7887
7888         * kbmap.C (getiso): add support for cyrillic and greek
7889
7890 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7891
7892         * BufferView.h:
7893         * BufferView.C:
7894         * BufferView_pimpl.h:
7895         * BufferView_pimpl.C: move bogus scrolling logic
7896           to xforms
7897
7898 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7899
7900         * lyxfunc.C:
7901         * BufferView_pimpl.C: view->resize() change
7902
7903 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7904
7905         * BufferView_pimpl.C: topCursorVisible
7906           prototype change
7907
7908 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7909
7910         * Makefile.am:
7911         * lyx_gui.h:
7912         * lyx_gui.C: move to frontends/
7913
7914         * main.C:
7915         * lyx_main.h:
7916         * lyx_main.C: changes from above
7917
7918 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7919
7920         * intl.C:
7921         * intl.h:
7922         * kbmap.C:
7923         * kbsequence.C:
7924         * lyx_cb.C:
7925         * lyx_main.C: minor tidy
7926
7927 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7928
7929         * BufferView_pimpl.h:
7930         * BufferView_pimpl.C:
7931         * BufferView.h:
7932         * BufferView.C: make painter() const,
7933           remove dead code
7934
7935         * BufferView2.C: use screen() accessor
7936
7937         * lyx_main.h:
7938         * lyx_main.C: some minor cleanup
7939
7940 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7941
7942         * BufferView_pimpl.h:
7943         * BufferView_pimpl.C: remove enter/leaveView,
7944           use workHeight()
7945
7946 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7947
7948         * BufferView.h:
7949         * BufferView.C:
7950         * BufferView2.C:
7951         * BufferView_pimpl.h:
7952         * BufferView_pimpl.C: only construct screen once,
7953           rename
7954
7955         * lyxrc.C: remove pointless comment
7956
7957 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7958
7959         * BufferView.h:
7960         * BufferView.C: remove active() and belowMouse()
7961
7962         * BufferView_pimpl.h:
7963         * BufferView_pimpl.C: use workarea() not workarea_,
7964           and make it use a scoped_ptr instead
7965
7966 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7967
7968         * lyx_gui.C: add debug message on BadWindow
7969
7970 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7971
7972         * sp_spell.C: fdopen is not part of the C++ standard.
7973
7974         * paragraph.C (InsetIterator): use >= instead of ==
7975
7976 2002-06-07  Angus Leeming  <leeming@lyx.org>
7977
7978         Fixes needed to compile with Compaq cxx 6.5.
7979         * BufferView_pimpl.C:
7980         * DepTable.C:
7981         * buffer.C:
7982         * converter.C:
7983         * encoding.C:
7984         * lyx_gui.C:
7985         * lyx_main.C:
7986         * lyxtextclasslist.C:
7987         * minibuffer.C:
7988         * sp_spell.C:
7989         * tabular_funcs.C:
7990         * vc-backend.C:
7991         all c-library variables have been moved into namespace std. Wrap
7992         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7993
7994         * lyxlength.C:
7995         * tabular-old.C:
7996         * tabular.C:
7997         Add a using std::abs declaration.
7998
7999         * kbmap.h (modifier_pair):
8000         * paragraph.h (InsetTable, InsetList):
8001         * lyxfont.h (FontBits):
8002         type definition made public.
8003
8004         * bufferlist.C (emergencyWriteAll): the compiler complains that
8005         there is more than one possible lyx::class_fun template to choose from.
8006         I re-named the void specialisation as lyx::void_class_fun.
8007
8008         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8009
8010         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8011         the compiler is is unable to find tostr in write_attribute.
8012
8013 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8014
8015         * buffer.C (sgmlError): hide #warning
8016
8017 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8018
8019         * xtl/*: get rid of xtl, which is not in use anyway
8020
8021         * LyXAction.C (init):
8022         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8023         were unimplemented xtl experimentation
8024
8025 2002-06-04  André Pönitz <poenitz@gmx.net>
8026
8027         * lyxfunc.C: disable array operation on simple formulae
8028
8029 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8030
8031         * converter.C: constify a bit
8032
8033 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8034
8035         * lyx_gui.C: check xforms version correctly
8036
8037 2002-04-30  Herbert Voss  <voss@lyx.org>
8038
8039         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8040         "keep" option
8041
8042 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8043
8044         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8045           attempt to register it with a VCS)
8046
8047 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8048
8049         * lyx_main.C (init): honor variables LYX_DIR_13x and
8050         LYX_USERDIR_13x
8051
8052 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8053
8054         * buffer.h:
8055         * buffer.C:
8056         * lyx_main.C: fix a crash on bad command line,
8057           and give a useful exit status on error
8058
8059         * lyxfunc.C (doImport): allow -i lyx to work
8060
8061 2002-03-30  André Pönitz <poenitz@gmx.net>
8062
8063         * lyxfunc.C: mathed font changes
8064
8065 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * LaTeX.C:
8068         * importer.h:
8069         * importer.C:
8070         * lyx_sty.h:
8071         * lyx_sty.C:
8072         * lyxlex.C:
8073         * lyxrow.h:
8074         * lyxtext.h:
8075         * paragraph.h:
8076         * paragraph.C:
8077         * texrow.h:
8078         * texrow.C:
8079         * text.C:
8080         * trans_mgr.h: srcdocs, and some minor cleanups
8081
8082 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8083
8084         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8085         call getFont all the time)
8086
8087 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8088
8089         * switch from SigC signals to boost::signals
8090
8091 2002-05-29  André Pönitz <poenitz@gmx.net>
8092
8093         * paragraph_pimpl.C (getChar): don't call size() too often...
8094
8095 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8096
8097         * paragraph_pimpl.C (insertChar): do not try to update tables when
8098         appending (pos == size())
8099
8100         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8101         in order to reduce drastically the number of comparisons needed to
8102         parse a large document
8103
8104 2002-05-29  André Pönitz <poenitz@gmx.net>
8105
8106         * text.C:
8107         * text2.C:
8108         * lyxtextclass.C:
8109         * sp_pspell.h:
8110         * textclasslist.[Ch]:
8111         * sp_ispell.h: whitespace change
8112
8113 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8114
8115         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8116         lyxaction directly now.
8117
8118 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8119
8120         * trans.C:
8121         * lyxfont.C:
8122         * lyxvc.C: remove unused headers
8123
8124 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8125
8126         * Makefile.am:
8127         * buffer.h:
8128         * undostack.h:
8129         * undostack.C:
8130         * undo_funcs.h:
8131         * undo_funcs.C: some cleanups. Use shared_ptr
8132           and a template for the undo stacks.
8133
8134 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8135
8136         * BufferView_pimpl.h:
8137         * BufferView_pimpl.C:
8138         * kbmap.h:
8139         * kbmap.C:
8140         * kbsequence.h:
8141         * kbsequence.C:
8142         * lyxfunc.h:
8143         * lyxfunc.C:
8144         * text2.C: use key_state/mouse_state
8145
8146 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8147
8148         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8149         and LSubstring
8150
8151         * chset.C: change include order
8152         (loadFile): use boost regex and get rid of LRegex and LSubstring
8153
8154         * Makefile.am (BOOST_LIBS): new variable
8155         (lyx_LDADD): use it
8156
8157         * LaTeX.C: change include order.
8158         (scanAuxFile): use boost regex and get rid of LRegex and
8159         LSubstring
8160         (deplog): ditto
8161
8162 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8163
8164         * ColorHandler.h:
8165         * ColorHandler.C:
8166         * FontInfo.h:
8167         * FontInfo.C: moved to frontends/xforms/
8168
8169         * FontLoader.h:
8170         * FontLoader.C: moved into frontends for GUIIzation
8171
8172         * Makefile.am:
8173         * lyx_gui.C:
8174         * lyxfont.C:
8175         * lyxfunc.C: changes from above
8176
8177 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8178
8179         * LColor.C: remove spurious X include
8180
8181         * BufferView_pimpl.C:
8182         * Makefile.am:
8183         * font.h:
8184         * font.C:
8185         * text.C:
8186         * text2.C: move font metrics to frontends/
8187
8188 2002-05-24  Juergen Vigna  <jug@sad.it>
8189
8190         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8191         setting the undo_cursor.
8192
8193         * ParagraphParameters.h: include local includes first.
8194
8195 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * BufferView_pimpl.C:
8198         * BufferView_pimpl.h:
8199         * Makefile.am:
8200         * WorkArea.h:
8201         * WorkArea.C:
8202         * screen.C: move WorkArea into frontends/
8203
8204         * lyxscreen.h:
8205         * screen.C:
8206         * text.C:
8207         * BufferView.C:
8208         * BufferView2.C: move LyXScreen into frontends/
8209
8210         * lyxlookup.h:
8211         * lyxlookup.C:
8212         * lyx_gui.C: move lyxlookup into frontends/xforms/
8213
8214 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8215
8216         * BufferView2.C:
8217         * BufferView_pimpl.C:
8218         * FontLoader.C:
8219         * LyXView.h:
8220         * LyXView.C:
8221         * Makefile.am:
8222         * WorkArea.C:
8223         * XFormsView.h:
8224         * XFormsView.C:
8225         * buffer.C:
8226         * bufferlist.C:
8227         * bufferview_funcs.C:
8228         * converter.C:
8229         * importer.C:
8230         * lyx_cb.C:
8231         * lyx_gui.C:
8232         * lyx_main.C:
8233         * lyx_find.C:
8234         * lyxfunc.C:
8235         * lyxvc.C:
8236         * minibuffer.C:
8237         * text.C:
8238         * text2.C:
8239         * trans.C:
8240         * vc-backend.C: move LyX/XFormsView into frontends/
8241
8242 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8243
8244         * Makefile.am:
8245         * PainterBase.C:
8246         * PainterBase.h:
8247         * Painter.C:
8248         * Painter.h:
8249         * WorkArea.C:
8250         * WorkArea.h:
8251         * screen.C:
8252         * tabular.C:
8253         * text.C:
8254         * text2.C: move Painter to frontends/
8255
8256 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8257
8258         * buffer.C: comment out some some code that depend upon lyx_format
8259         < 220
8260
8261         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8262         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8263
8264         * buffer.h (NO_COMPABILITY): turn off compability
8265
8266         * ColorHandler.C: include scoped_array.hpp
8267
8268         * font.C: Use more specific smart_ptr header.
8269         * Painter.C: ditto
8270         * gettext.C: ditto
8271         * ShareContainer.h: ditto
8272         * lyx_main.h: ditto
8273         * kbmap.h: ditto
8274         * FontInfo.h: ditto
8275         * BufferView_pimpl.h: ditto
8276         * ColorHandler.h: ditto
8277
8278         * kbmap.C (defkey): change call to shared_ptr::reset
8279
8280 2002-05-21  Juergen Vigna  <jug@sad.it>
8281
8282         * buffer.C (insertErtContents): fix to insert ert asis if it is
8283         non empty. Skip it completely if it contains only whitespaces.
8284
8285 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8286
8287         * BufferView_pimpl.C:
8288         * BufferView2.C: clear selection on paste (bug 393)
8289
8290 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8291
8292         * DepTable.C: include ctime
8293
8294 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8295
8296         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8297
8298 2002-05-14  Juergen Vigna  <jug@sad.it>
8299
8300         * text.C (breakParagraph): fixed function to honor the keepempty
8301         layout in the right maner and also to permit the right breaking
8302         algorithm on empty or non empyt keepempty paragraphs.
8303
8304         * paragraph.C (breakParagraph): we have to check also if the par
8305         is really empty (!size()) for isempty otherwise we do the wrong
8306         paragraph break.
8307
8308 2002-05-10  Juergen Vigna  <jug@sad.it>
8309
8310         * buffer.[Ch] : The following are only changes to the ert
8311         compatibility read reading old LaTeX layout and font stuff and
8312         convert it to ERTInsets.
8313
8314         * buffer.h: added isErtInset().
8315
8316         * buffer.C (struct ErtComp): add a fromlayout bool to check
8317         if we're inside a LaTeX layout.
8318         (isErtInset): new helper function.
8319         (insertErtContents): look for other ert insets before this one
8320         and insert the contents there, so that we don't have subsequent
8321         ERT insets with nothing between them. This way we create only one
8322         inset with multiple paragraphs. Also check if we don't insert only
8323         spaces ' ' as they are ignored anyway afterwards in the .tex file
8324         so if we have only spaces we will ignore this latex part in the
8325         new file.
8326         (parseSingleLyXformat2Token \\layout): better compatibility when
8327         reading layout-latex stuff.
8328         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8329         language tag.
8330         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8331         stuff after reading the inset only get the information back from
8332         the stack.
8333
8334 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8335
8336         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8337
8338         * LaTeXFeatures.C (getBabelOptions): New method.
8339
8340 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8341
8342         * BufferView_pimpl.C (Dispatch): work around missing argument for
8343         'layout'
8344
8345 2002-05-08  Juergen Vigna  <jug@sad.it>
8346
8347         * text.C (leftMargin): handle paragraph leftindent.
8348
8349         * paragraph.C (writeFile): write the new \\leftindent tag.
8350         (validate): handle leftindent code.
8351         (TeXEnvironment): handle paragraphleftindent code again.
8352
8353         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8354
8355         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8356         for paragrap_extra indent code and new token \\leftindent.
8357         (latexParagraphs): handle the leftindent as environment.
8358
8359         * ParameterStruct.h: added leftindent support.
8360
8361         * ParagraphParameters.C (leftIndent): added support functions for
8362         the paragraph left indent.
8363
8364         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8365         more appropriate.
8366
8367 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8368
8369         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8370         inside insetERT.
8371
8372         * text.C (computeBidiTables): No bidi in insetERT.
8373
8374         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8375         in RTL documents.
8376
8377 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8378
8379         * version.C.in: pre 5
8380
8381 2002-05-02  José Matos  <jamatos@fep.up.pt>
8382         * buffer.C (makeDocBookFile): white space changes, add newline to
8383         command styles.
8384         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8385
8386         * tabular.C (docBook): fix typo.
8387
8388 2002-05-03  Juergen Vigna  <jug@sad.it>
8389
8390         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8391         change in LyXText as we can not be sure it was not freed.
8392         (drawOneRow): remove unused code.
8393
8394         * text.C (drawInset): redo the calculation of the need_break_row as
8395         it could have a row which was already freed.
8396         (draw): look at the return value of drawInset and return false if
8397         it also returned false.
8398         (paintRowText): look at the return value of draw and return false if
8399         it also returned false.
8400
8401         * lyxtext.h: added bool return type to drawInset() and draw() so that
8402         if we have a change in the row so that the rowbreak has to be redone
8403         we abort drawing as it will be called again.
8404
8405 2002-05-02  Juergen Vigna  <jug@sad.it>
8406
8407         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8408         a change in the maintext also if we're inside an inset.
8409         (Dispatch): set the cursor again after a break line and after the
8410         screen has been updated as it could be we're in a different row.
8411
8412         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8413         to set the cursor behind the pargraph with > size().
8414         (setCursor): check also for the same paragraph when checking where
8415         to put the cursor if we have a NFR inset.
8416
8417         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8418         parts of layout read further up as it still was in the wrong
8419         position.
8420
8421 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8422
8423         * screen.C (drawFromTo): change sine fullRebreak always return
8424         true.
8425
8426         * buffer.C (parseSingleLyXformat2Token): reindent some
8427
8428         * BufferView_pimpl.C (update): change since fullRebreak always
8429         return true.
8430         (Dispatch): git rid of the last hardcoded "Standard"s.
8431
8432 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8433
8434         * text2.[Ch] (fullRebreak): make it return void now that we always
8435         returned true.
8436
8437 2002-04-30  Juergen Vigna  <jug@sad.it>
8438
8439         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8440         ert compatibility check for "latex" layout.
8441
8442 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8443
8444         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8445         minipages: use col% instead of p%, and also use the current font.
8446         (makeLaTeXFile): Fix use babel condition.
8447         (parseSingleLyXformat2Token): Correct font when reading old floats.
8448
8449 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8450
8451         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8452         inserting list of floats.
8453
8454 2002-04-25  Herbert Voss  <voss@lyx.org>
8455
8456         * MenuBackend.C (expand): don't add the graphics extensions to the
8457         export menu
8458
8459 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8460
8461         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8462         non-existing layout, do not complain if it was the default layout
8463         of the original class (bug #342)
8464
8465 2002-04-24  Juergen Vigna  <jug@sad.it>
8466
8467         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8468         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8469
8470 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8471
8472         * buffer.C (getBibkeyList): If using \bibliography, return the
8473         option field with the reference itself. Enables us to provide natbib
8474         support when using \bibliography.
8475
8476 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8477
8478         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8479
8480         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8481         natbib is provided by the LaTeX class.
8482
8483 2002-04-23  Juergen Vigna  <jug@sad.it>
8484
8485         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8486         Wakeup functions.
8487
8488         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8489
8490 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8491
8492         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8493
8494         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8495         ensuremath around textordmasculine, textordfeminine and
8496         textdegree.
8497
8498 2002-04-19  Juergen Vigna  <jug@sad.it>
8499
8500         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8501         reinitializing the buffer otherwise row-dimensions may be wrong.
8502         (update): reset also the selection cursors if they do exits otherwise
8503         their x/y positions may be wrong.
8504
8505         * text2.C (cursorDown): don't enter the inset if we came from a row
8506         above and are one row over the inset.
8507
8508         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8509         really leaving an inset.
8510
8511 2002-04-18  Juergen Vigna  <jug@sad.it>
8512
8513         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8514         of the selected paragraph does not have the selected layout also if
8515         the last one had!
8516
8517         * text2.C (setLayout): fixed bug which did not change last selected
8518         paragraph.
8519
8520         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8521         changed the read and substituted \\end_float with \\end_inset!
8522
8523         * BufferView_pimpl.C (cursorPrevious):
8524         (cursorNext): fixed to make it work with rows heigher than the work
8525         area without moving the cursor only the draw of the row.
8526         (workAreaMotionNotify): fix jumping over high rows.
8527
8528 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8529
8530         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8531         Ressler.
8532
8533 2002-04-16  Juergen Vigna  <jug@sad.it>
8534
8535         * text2.C (setCursor): set also the irow().
8536         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8537         (cursorUp):
8538         (cursorDown): support for locking an inset if the x_fix value goes
8539         inside it. That way I can transverse insets too with cursor up/down.
8540
8541         * lyxrow.h: added irow helper function same as other (i) functions.
8542
8543         * BufferView_pimpl.C (cursorPrevious):
8544         (cursorNext): fixed for insets!
8545
8546 2002-04-15  Juergen Vigna  <jug@sad.it>
8547
8548         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8549         position otherwise it is wrong in some cases.
8550
8551         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8552         inside the inset before the call.
8553
8554 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8555
8556         * buffer.[Ch] (getBibkeyList): make it const.
8557
8558 2002-04-12  Juergen Vigna  <jug@sad.it>
8559
8560         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8561
8562         * text2.C (getCursorX): new helper function
8563         (setCursor): compute also ix_
8564         (setCursorFromCoordinates): set also ix.
8565
8566         * lyxcursor.h: added ix_ and helper functions.
8567
8568         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8569
8570         * buffer.C (insertStringAsLines): dont break paragraph if the this
8571         paragraph is inside an inset which does not permit it!
8572
8573         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8574         also with no chars on this paragraph.
8575         (paintRowText): only paint stuff if it's inside the workarea!
8576
8577         * paragraph.C (breakParagraph): honor keepempty flag and break the
8578         paragraph always below not above.
8579
8580         * BufferView2.C (unlockInset): update the paragraph layout on inset
8581         unlock as we changed paragraph in such a case.
8582
8583         * lyxfind.C (LyXFind): clear the former selection if not found!
8584
8585         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8586         again called in insertChar().
8587
8588         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8589         an inset which uses the whole row!
8590         (rightMargin): ditto.
8591         (insertChar): force a rebreak if we inserted an inset!
8592
8593 2002-03-28  Herbert Voss  <voss@lyx.org>
8594
8595         * lyxlength.[Ch]: add inBP() to get the right PS-point
8596         units (BigPoint). With inPixels we have rounding errors
8597
8598 2002-04-11  Juergen Vigna  <jug@sad.it>
8599
8600         * text2.C (setCursorFromCoordinates): set iy to the right value.
8601         (setCursor): add check if row->previous exists!
8602
8603         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8604         an old float_type as this was the case in the old code!
8605
8606         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8607
8608         * BufferView2.C (showLockedInsetCursor): use iy
8609         (fitLockedInsetCursor): ditto
8610
8611         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8612         locked insets as there we have the right value now.
8613
8614         * lyxcursor.C: added iy_ variable and iy functions to set to the
8615         baseline of cursor-y of the locked inset.
8616
8617         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8618         (setCursor): fixed for insets which need a full row.
8619
8620         * text.C (rowLastPrintable): don't ignore the last space when before
8621         an inset which needs a full row.
8622         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8623         as last character of a row when before a inset which needs a full row.
8624
8625 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8626
8627         * version.C.in: update date
8628
8629         * text2.C (fullRebreak): try to always return true and see what
8630         happens...
8631
8632 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8633
8634         * MenuBackend.C (expand): use Floating::listName
8635
8636         * FloatList.C (FloatList): add listName argument to the built-in
8637         floats
8638
8639         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8640         text associated with the float.
8641
8642 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8643
8644         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8645
8646 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8647
8648         * ShareContainer.h: add a couple of missing typenames.
8649
8650 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8651
8652         * lyxrc.C (getDescription): use _() correctly rather than N_().
8653
8654 2002-03-28  Herbert Voss  <voss@lyx.org>
8655
8656         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8657         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8658
8659 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8660
8661         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8662         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8663
8664 2002-03-29  Juergen Vigna  <jug@sad.it>
8665
8666         * lyxfunc.C (dispatch): add a missing fitCursor call.
8667
8668         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8669         it was scrolled by a cursor move, so return the bool status.
8670
8671         * BufferView.C (fitCursor): return the bool flag also to the outside
8672         world as this is needed.
8673
8674         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8675
8676         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8677         call the edit() as it is not needed (and wrong) IMO.
8678         (workAreaButtonPress): set the screen_first variable before evt.
8679         unlock the inset as this may change screen_first and then we have
8680         a wrong y position for the click!
8681
8682 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8683
8684         * MenuBackend.C (expand): another translation that I missed
8685
8686 2002-03-28  Juergen Vigna  <jug@sad.it>
8687
8688         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8689
8690         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8691
8692 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8693
8694         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8695
8696         * MenuBackend.C (expand): fix export/view/update when there is no
8697         document open.
8698
8699 2002-03-27  Herbert Voss  <voss@lyx.org>
8700
8701         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8702         and text%
8703
8704 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8705
8706         * bufferview_funcs.C (currentState): only show paragraph number
8707         for is DEVEL_VERSION is set.
8708
8709         * lyxfunc.C (dispatch): put warning in INFO channel
8710
8711         * MenuBackend.C (expand): translate the name of floats
8712
8713         * FloatList.C (FloatList): mark the float names for translation
8714
8715         * converter.C (convert): use LibScriptSearch
8716
8717 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8718
8719         * MenuBackend.C (defaults): fix default menu (we might as well get
8720         rid of it...)
8721
8722 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8723
8724         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8725         directory.
8726
8727 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8728
8729         * lyxvc.C: reorder includes.
8730
8731 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8732
8733         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8734           properly
8735
8736 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8737
8738         * CutAndPaste.C: change layouts earlier on paste
8739           to avoid crashing when calling getFont()
8740
8741 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8742
8743         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8744         irritating #error.
8745
8746 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8747
8748         * WorkArea.C: remove 'Pending' debug message.
8749
8750         * most files: ws cleanup
8751
8752         * buffer.[Ch]: ws changes
8753
8754         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8755
8756 2002-03-21  Juergen Vigna  <jug@sad.it>
8757
8758         * tabular.C (SetMultiColumn): collapse also the contents of the
8759         cells and set the last border right. Added a Buffer const * param.
8760
8761 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8762
8763         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8764         linking or not.
8765
8766 2002-03-19  Juergen Vigna  <jug@sad.it>
8767
8768         * text2.C (clearSelection): reset also xsel_cache.
8769
8770         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8771         where it needs to be called (John tells us to do so too :)
8772         (selectionLost): reset sel_cache.
8773
8774         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8775
8776 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8777
8778         * text2.C (setCursorIntern): put debuging code in INSETS channel
8779
8780 2002-03-19  André Pönitz <poenitz@gmx.net>
8781
8782         * lyxfunc.C: tiny whitespace change
8783
8784 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8785
8786         * ToolbarDefaults.C (init):
8787         * LyXAction.C (init):
8788         * commandtags.h:
8789         * BufferView_pimpl.C (Dispatch):
8790         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8791
8792 2002-03-19  Allan Rae  <rae@lyx.org>
8793
8794         * exporter.C (Export): removeAutoInsets before doing anything else.
8795         While I've just introduced a dependency on BufferView this really is
8796         the best place to clean the buffer otherwise you need to cleanup in
8797         a dozen places before calling export or cleanup in a dozen functions
8798         that export calls.
8799
8800         * converter.C (runLaTeX):
8801         (scanLog): Better handling of removeAutoInsets and screen updates.
8802
8803         * lyxfunc.C (dispatch): small whitespace changes
8804
8805 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8806
8807         * WorkArea.C (C_WorkAreaEvent): return a value.
8808         (event_cb): return 1 if we handled the event, 0 otherwise.
8809
8810         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8811
8812 2002-03-18  Juergen Vigna  <jug@sad.it>
8813
8814         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8815         (GetAdditionalWidth): ditto.
8816         (RightLine): ditto.
8817         (LeftLine): ditto.
8818
8819         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8820         inset if we're there actually (probably not used right now but this
8821         is the direction to go for unifying code).
8822         (paste): disable code to clear the selection.
8823
8824         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8825         inside an InsetText and move the check further up as it is in the
8826         wrong place.
8827
8828         * text2.C (pasteSelection): set a selection over the pasted text.
8829
8830 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8831
8832         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8833         and libgraphics to build on Cygwin.
8834
8835 2002-03-15  Juergen Vigna  <jug@sad.it>
8836
8837         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8838         inserting an Inset into the paragraph. I know this is not the best
8839         fix but we already use current_view in CutAndPaste so we will remove
8840         all of it's using at the same time.
8841
8842         * buffer.C (sgmlError): deactivated function till it is rewritten in
8843         the right mode, now it can create problems.
8844
8845         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8846         before accessing it.
8847
8848 2002-03-14  Juergen Vigna  <jug@sad.it>
8849
8850         * undo_funcs.C (textHandleUndo): do the right thing when updating
8851         the inset after the undo/redo.
8852
8853         * text2.C (setCursor): just some testcode for #44 not ready yet.
8854
8855         * undo_funcs.C (textHandleUndo): set the next() and previous()
8856         pointers of the paragraph to 0 before deleting otherwise we have
8857         problems with the Paragraph::[destructor].
8858
8859         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8860         on a paragraph insertion.
8861
8862 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8863
8864         * buffer.C (asciiParagraph): use += operator for char append to
8865         string.
8866
8867         * paragraph.C (getFontSettings): compare >= not just >
8868         (highestFontInRange): ditto
8869         (setFont): ditto
8870
8871 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8872
8873         * paragraph.C: change several algorithm to be more appripriate for
8874         the problem domain. This is lookip in FontList and in the InsetList.
8875
8876 2002-03-13  André Pönitz <poenitz@gmx.net>
8877
8878         * commandtags.h:
8879         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8880
8881 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8882
8883         * commandtags.h:
8884         * LyXAction.C:
8885         * lyxfunc.C:
8886         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8887
8888 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8889
8890         * Painter.C (display): anon helper function, adjust code for this
8891         change.
8892         (pixmap): remove function.
8893
8894         * Painter.h: remove private display variable.
8895
8896         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8897
8898 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8899
8900         * WorkArea.[Ch]: remove figinset_canvas cruft.
8901
8902 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8903
8904         * lyxtextclass.C (operator): add one item cache optimization.
8905
8906         * bufferlist.h: doxy changes
8907
8908         * bufferlist.C: ws changes
8909
8910         * DepTable.[Ch] (ext_exist): place const in the right spot.
8911
8912         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8913         call resizeInsets.
8914         (workAreaExpose): call resizeInsets when the with BufferView changes.
8915         (Dispatch): adjust for protectedBlank removal
8916         (specialChar): call updateInset if the insert went ok.
8917
8918         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8919         specialChar instead.
8920
8921         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8922
8923         * BufferView.h: doxy change
8924
8925         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8926
8927         * lyxtextclass.C (operator[]): remove non-const version
8928         (defaultLayout): remove non-const version
8929
8930 2002-03-12  Juergen Vigna  <jug@sad.it>
8931
8932         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8933         did resize the LyXText too.
8934
8935         * buffer.C (readLyXformat2): set layout information on newly allocated
8936         paragraphs.
8937
8938         * tabular.C (OldFormatRead): set layout information on the paragraph.
8939
8940 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8941
8942         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8943
8944 2002-03-11  Juergen Vigna  <jug@sad.it>
8945
8946         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8947         plainly wrong.
8948         (resizeCurrentBuffer): force also the insets to resize themselfes.
8949         (moveCursorUpdate): fixed up for InsetText.
8950
8951 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8952
8953         * commandtags.h:
8954         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8955         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8956         value of Dialogs::tooltipsEnabled().
8957         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8958
8959 2002-03-08  Juergen Vigna  <jug@sad.it>
8960
8961         * BufferView_pimpl.C (updateInset): update inset inside inset also
8962         if it isn't inside theLockingInset().
8963
8964 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8965
8966         * buffer.C (asciiParagraph): redo some of the word and line length
8967         handling.
8968         (getLists): look for Caption instead of caption.
8969
8970 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * buffer.C (Buffer): initialize niceFile to true
8973         (makeLaTeXFile):
8974         (makeLinuxDocFile):
8975         (makeDocBookFile): make sure niceFile is true on exit
8976
8977 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8978
8979         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8980
8981 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8982
8983         * LyXSendto.C: remove.
8984         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8985         * lyx_gui.C: remove now-redundant comment.
8986         * ColorHandler.h: remove forward declaration of class WorkArea.
8987         * lyxfunc.C: remove #include "WorkArea.h".
8988
8989 2002-03-07  Juergen Vigna  <jug@sad.it>
8990
8991         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8992         got moved away with the DEPM and also set the inset_owner always
8993         right which before could have been omitted.
8994
8995 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8996
8997         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8998         wanted layout is not found.
8999
9000 2002-03-07  Juergen Vigna  <jug@sad.it>
9001
9002         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9003
9004 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9005
9006         * paragraph.C (breakParagraph): use default layout not layout of
9007         prev paragraph.
9008         (Paragraph): clear ParagraphParameters.
9009
9010 2002-03-06  Juergen Vigna  <jug@sad.it>
9011
9012         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9013         otherwise it would not be a valid lenght. Fixed a special case in
9014         the minipage compatibility read where we end the document with a
9015         minipage.
9016
9017         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9018         was set as it could be 0 for InsetTexts first entry.
9019
9020 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9021
9022         * paragraph.C (writeFile): if layout is empty write out
9023         defaultLayoutName().
9024
9025         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9026         file without named layout we set layout to defaultLayoutName().
9027
9028 2002-03-06  Juergen Vigna  <jug@sad.it>
9029
9030         * CutAndPaste.C (copySelection): set layout for new paragraph.
9031
9032         * text.C (prepareToPrint): leave ERT inset left aligned
9033         (leftMargin): don't indent paragraphs inside ERT insets
9034
9035 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9036
9037         * paragraph.C (breakParagraph): dont call clear do the work manually
9038
9039         * paragraph.[Ch] (clear): remove function
9040
9041 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9042
9043         * paragraph.C (Paragraph): dont call clear, the work has already
9044         been done.
9045
9046         * lyxtextclass.C (operator): assert if n is empty
9047
9048         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9049         work manually instead.
9050
9051 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9052
9053         * BufferView_pimpl.C: protect selectionLost against text == 0
9054
9055 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * text.C (breakParagraph): fix a setting layout to '0' problem.
9058
9059 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9060
9061         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9062         final location of file, for the included files, and graphics.
9063
9064 2002-03-05  Juergen Vigna  <jug@sad.it>
9065
9066         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9067
9068 2002-03-04  Juergen Vigna  <jug@sad.it>
9069
9070         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9071
9072         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9073         last column of multicolumn cells.
9074         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9075
9076 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9077
9078         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9079         file if it doesn't go to a temporary file.
9080
9081         * buffer.C (sgmlOpenTag):
9082         (sgmlCloseTag):  remove extra newline insertion.
9083
9084 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9085
9086         * text.C (getRowNearY): comment out debug msg
9087
9088 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9089
9090         * text2.C: first -> first_y
9091
9092         * text.C (getRowNearY): add some attemts at a possible
9093         optimization, not working.
9094
9095         * tabular.[Ch]: add BufferParams to several function so that newly
9096         created paragraph can be initialized to he default layotu for the
9097         buffers textclass.
9098
9099         * tabular-old.C (ReadOld): add buf->params to call of Init
9100
9101         * screen.C: rename text->first to text->first_y
9102
9103         * paragraph.C (breakParagraph): always set layout in the broken
9104         paragraph
9105
9106         * lyxtextclass.C (Read): remove lowercase
9107         (hasLayout): ditto
9108         (operator): ditto
9109         (delete_layout): ditto
9110
9111         * lyxtext.h: rename first -> first_y
9112
9113         * lyxlayout.C (Read): remove lowercase
9114         (name): ditto
9115         (setName): ditto
9116         (obsoleted_by): ditto
9117
9118         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9119
9120         * buffer.C (insertErtContents): add params are to InsetERT
9121         (parseSingleLyXformat2Token): add code to check if a paragraphs
9122         layout really exist.
9123         (parseSingleLyXformat2Token): add params to several inset
9124         constructors
9125         (asciiParagraph): remove lowercase, do the layout comparisons with
9126         no_case
9127
9128         * BufferView_pimpl.C (cursorNext): first -> first_y
9129         (resizeCurrentBuffer): first -> first_y
9130         (updateScrollbar): first -> first_y
9131         (scrollCB): first -> first_y
9132         (workAreaMotionNotify): first -> first_y
9133         (workAreaButtonPress): first -> first_y
9134         (checkInsetHit): first -> first_y
9135         (cursorPrevious): first -> first_y
9136         (cursorNext): first -> first_y
9137         (Dispatch): add buffer_->params to severl inset contructors
9138
9139 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9140
9141         * lyxlayout.C (Read): remove some debug info that I forgot.
9142
9143         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9144         clean up the code slightly.
9145         (makeLinuxDocFile): ditto
9146         (makeDocBookFile): ditto
9147
9148         * text2.C: layout as string
9149
9150         * text.C: layout as string
9151
9152         * paragraph_pimpl.C: layout as string
9153
9154         * paragraph.[Ch]: layout as string
9155
9156         * lyxtextclasslist.[Ch]: layout as string
9157
9158         * lyxtextclass.[Ch]: layout as string
9159
9160         * lyxtext.h: layout as string
9161
9162         * lyxlayout.[Ch]: layout as string
9163
9164         * lyx_cb.C: layout as string
9165
9166         * bufferview_funcs.C: layout as string
9167
9168         * bufferparams.C: layout as string
9169
9170         * buffer.C: layout as string
9171
9172         * LyXView.[Ch]: layout as string
9173
9174         * LaTeXFeatures.[Ch]: layout as string
9175
9176         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9177
9178         * BufferView_pimpl.C: change current_layout to string, remove
9179         lyx::layout_type.
9180         (Dispatch):
9181         (smartQuote):
9182         (insertInset):
9183         (workAreaButtonRelease): layout as string
9184
9185         * BufferView2.C (unlockInset): adjust
9186
9187         * vspace.C (asLatexCommand): use an explict temp variable.
9188
9189 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * Makefile.am: use FRONTEND_*
9192
9193 2002-03-01  Juergen Vigna  <jug@sad.it>
9194
9195         * tabular.C (SetWidthOfMulticolCell): changed to something better
9196         I hope but still work in progress.
9197         (recalculateMulticolumnsOfColumn): renamed function from
9198         recalculateMulticolCells as it is more appropriate now.
9199         (SetWidthOfCell): calculate multicols better.
9200
9201 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9202
9203         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9204
9205         * lyxfunc.C (processKeySym): print sequence also if it is
9206         `deleted' (complete)
9207
9208         * kbsequence.C (print): print sequence even if it is deleted
9209         (complete would be a better word, actually).
9210
9211         * lyxfunc.C (dispatch): print complete options after a prefix key
9212
9213         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9214
9215 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9216
9217         * text2.C (setCharFont): eliminate setCharFont code duplication.
9218
9219 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9222         LFUN_TABULAR_FEATURE (bug #177)
9223
9224 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9225
9226         * Makefile.am: remove figure.h
9227
9228 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9229
9230         * Bufferview_pimpl.C:
9231         * CutAndPasteC:
9232         * LaTeX.C:
9233         * LyXSendto.C:
9234         * buffer.C:
9235         * bufferlist.C:
9236         * converter.C:
9237         * language.C:
9238         * lyxfunc.C:
9239         * lyxvc.C:
9240         * paragraph.C:
9241         * text.C:
9242         * text2.C: remove #include "lyx_gui_misc.h".
9243
9244         * LaTeX.C: added #include <cstdio>
9245
9246 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9247
9248         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9249         that the paragraph following this one can have.
9250
9251         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9252
9253         * vspace.C (asLatexCommand): fix bogus gcc warning
9254
9255         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9256
9257 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9258
9259         * text2.C (setLayout): get rid of redundant code
9260
9261 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9262
9263         * text2.C (incDepth): make sure depth cannot be increased beyond
9264         reasonable values.
9265
9266 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9267
9268         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9269         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9270
9271         * PainterBase.h (image):
9272         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9273         a LyXImage const *.
9274
9275 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * BufferView.C:
9278         * BufferView.h:
9279         * BufferView_pimpl.C:
9280         * BufferView_pimpl.h:
9281         * LaTeXFeatures.C:
9282         * LyXAction.C:
9283         * LyXView.C:
9284         * Makefile.am:
9285         * UpdateList.h:
9286         * UpdateList.C:
9287         * buffer.C:
9288         * figure.h:
9289         * figureForm.C:
9290         * figureForm.h:
9291         * figure_form.C:
9292         * figure_form.h:
9293         * lyx_cb.C:
9294         * lyx_gui.C:
9295         * lyx_gui_misc.C:
9296         * lyxfunc.C:
9297         * sp_base.h:
9298         * sp_ispell.h:
9299         * sp_pspell.h:
9300         * sp_spell.C: remove fig inset, and the crap house of
9301           cards that follows it
9302
9303 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9304
9305         * Makefile.am:
9306         * lyxserver.C:
9307         * os2_defines.h:
9308         * os2_errortable.h:
9309         * nt_defines.h: move .h into support/
9310
9311         * vms_defines.h: remove
9312
9313         * WorkArea.C: add space in debug output
9314
9315         * text2.C:
9316         * paragraph.C:
9317         * buffer.C: add WITH_WARNINGS
9318
9319         * vc-backend.h:
9320         * vc-backend.C:
9321         * bufferlist.C: s/retrive/retrieve/, add docs
9322
9323         * vspace.h:
9324         * vspace.C:
9325         * kbmap.h:
9326         * lyxlength.h:
9327         * lyxgluelength.h:
9328         * length_common.h:
9329         * chset.h:
9330         * chset.C: add docs
9331
9332         * lyxgui.C: add ID to X error handler
9333
9334         * lyxtestclass.c: fix typo
9335
9336 2002-02-26  Juergen Vigna  <jug@sad.it>
9337
9338         * tabular_funcs.C (write_attribute): changed so that some default
9339         attributes are not written at all.
9340         (getTokenValue): set default values before trying to read the
9341         value so we have the return value always set as default if we don't
9342         find the token we search for.
9343
9344         * tabular.C (Write): write bools as bools not as strings!
9345
9346 2002-02-22  Juergen Vigna  <jug@sad.it>
9347
9348         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9349         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9350
9351         * text.C (leftMargin): don't add an indent for paragraphs inside
9352         tabular cells (fix #208).
9353
9354 2002-02-21  José Matos  <jamatos@fep.up.pt>
9355
9356         * tabular.C (docBook): fixed support for long tables.
9357
9358 2002-02-20  Juergen Vigna  <jug@sad.it>
9359
9360         * text2.C (getFont): get the drawing font of the Inset if this
9361         paragraph is inside an inset (only important for InsetERT for now).
9362
9363         * buffer.C (insertErtContents): use new lanugage params in ERT
9364         constructor.
9365
9366         * CutAndPaste.C: commenting out seemingly uneeded code.
9367
9368 2002-02-19  Allan Rae  <rae@lyx.org>
9369
9370         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9371         Iterators might be simple to use but they also get invalidated.
9372         (removeAutoInsets): renamed saved cursor tracking variables and added
9373         some comments to clarify what everything does.
9374
9375 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9376
9377         * Chktex.C:
9378         * LaTeX.C:
9379         * LyXSendto.C:
9380         * converter.C:
9381         * lyx_cb.C:
9382         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9383         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9384
9385         * lyxfunc.C:
9386         * vc-backend.h: remove #include "support/syscall.h"
9387
9388         * LaTeX.C:
9389         * LyXSendto.C:
9390         * converter.C: rearrange #includes in Lars' approved fashion.
9391
9392         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9393         forward declare class Timeout in the header file.
9394
9395         * XFormsView.C: changes due to the above.
9396
9397         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9398         similar to LyXView.
9399
9400         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9401         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9402
9403 2002-02-18  José Matos  <jamatos@fep.up.pt>
9404
9405         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9406         insets contents.
9407
9408 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9409
9410         * a lot of small ws changes
9411         * add a lot of using std::XXX
9412         * use std construcs some places where approp.
9413         * use some exisint stuff from lyxfunctional where approp.
9414         * Make file changes to use partial linking (lets test this now...)
9415
9416 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9417
9418         * Chktex.C:
9419         * buffer.C:
9420         remove #include "support/syscontr.h" as it's redundant. Always has been.
9421
9422         * Chktex.C:
9423         * LaTeX.C:
9424         * LyXSendto.C:
9425         * converter.C:
9426         * lyx_cb.C:
9427         * vc-backend.C:
9428         change Systemcalls::System to Systemcalls::Wait and
9429         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9430         No change of functionality, just reflects the stripped down Systemcalls
9431         class.
9432
9433 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9434
9435         * debug.[Ch]: add a GRAPHICS type to the enum.
9436
9437 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9438
9439         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9440
9441         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9442         there is an inset.
9443
9444 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9445
9446         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9447         match the changes below.
9448
9449         * text2.C (toggleInset): if there is not editable inset at cursor
9450         position, try to see if cursor is _inside_ a collapsable inset
9451         and close it.
9452
9453 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9454
9455         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9456         document menu has a nice checkbox
9457
9458 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9459
9460         * lyxlength.C (asLatexString): change PW to output as percent of
9461         \textwidth.
9462
9463         * lengthcommon.C: change '%' to 't%'
9464
9465         * lyxfunc.C (dispatch): a few comments from Martin
9466
9467 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * WorkArea.h:
9470         * WorkArea.C:
9471         * BufferView_pimpl.h:
9472         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9473           the X selection.
9474
9475 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9476
9477         * vspace.C (inPixels): fix compiler warning
9478
9479 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * lyxfunc.C (getStatus): fix status message for disabled commands.
9482
9483 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9484
9485         * BufferView_pimpl.C: fix crash on close buffer
9486         during selection (#227)
9487
9488 2002-01-27  Herbert Voss  <voss@lyx.org>
9489
9490         * buffer.C: link old Figure to new graphic inset
9491
9492 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9493
9494         * FontLoader.C (getFontinfo): Change the latex font names in order
9495         to match the names of type1inst.
9496
9497 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9498
9499         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9500
9501         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9502         (extchanged): ditto
9503         (ext_exist): ditto
9504         (remove_files_with_extension): ditto
9505         (remove_file): ditto
9506         (write): ditto
9507
9508         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9509         document is smaller than the work area height. Do not initialize
9510         static variables to 0.
9511
9512 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9515
9516         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9517         LFUN_LAYOUT_PARAGRAPHS.
9518
9519         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9520         tabular. It is possible to provide a possible cell, which will
9521         typically be the actcell from the corresponding insettabular
9522
9523         * lyxfunc.C (getStatus): small cleanup; disable
9524         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9525         true
9526
9527 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9528
9529         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9530
9531         * paragraph.C (startTeXParParams):
9532         (endTeXParParams): new methods. The LaTeX code to
9533         start/end paragraph formatting
9534         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9535         empty (fixes bug #200)
9536
9537         * vspace.C (inPixels): adapt to the change below
9538         (inPixels): [later] more cleanups (remove unused variables)
9539
9540         * lyxlength.C (inPixels): change to use a width and a height as
9541         parameter.
9542
9543 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9544
9545         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9546         Replaced with \paperwidth
9547
9548         * DepTable.C (insert): add std:: qualifier
9549
9550 2002-01-18  Allan Rae  <rae@lyx.org>
9551
9552         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9553         updated also?
9554
9555         * text.C (drawInset): Turned out I didn't know enough about how
9556         rebreaking worked.  This fixes most of the redraw problems.  I see
9557         an occasional cursor trail when a line is broken now and the cursor
9558         placement can seem out by a few pixels also after a rebreak.
9559
9560 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9561
9562         * buffer.C (parseSingleLyXformat2Token): update because minipage
9563         width is now a LyXLength
9564
9565         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9566
9567         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9568         math insets
9569
9570 2002-01-17  Juergen Vigna  <jug@sad.it>
9571
9572         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9573
9574         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9575         is set correctly and the inset is updated correctly.
9576
9577 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9578
9579         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9580         the beginning of the loop.
9581
9582 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * lyxrc.C: improve help for use_scalable_fonts
9585
9586 2002-01-17  Allan Rae  <rae@lyx.org>
9587
9588         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9589
9590 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9591
9592         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9593         make sure to set their inset_owner to the right value (bug #171)
9594
9595 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9596
9597         * DepTable.h
9598         * DepTable.C: Implement mtime checking to reduce time spent doing
9599         CRCs.
9600
9601 2002-01-16  Juergen Vigna  <jug@sad.it>
9602
9603         * tabular.C (GetAdditionalHeight): one of error fixed.
9604
9605         * lyxrc.C (output): small fix in writing use_pspell.
9606
9607 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9608
9609         * sp_base.h: #include LString.h
9610
9611 2002-01-16  Allan Rae  <rae@lyx.org>
9612
9613         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9614         Can someone check this please?
9615
9616         * text.C (drawInset): It was possible that p.row would be removed by
9617         breakAgainOneRow upsetting a few other settings.  There may be another
9618         small tweak possible by setting need_break_row = 0 when p.row has been
9619         removed but I don't know enough about the logic here.
9620
9621 2002-01-15  Allan Rae  <rae@lyx.org>
9622
9623         * text.C (insertChar): removed conditional truism.
9624
9625         * BufferView2.C (removeAutoInsets): More tweaks.
9626         cur_par_prev could be a stray pointer.  Check for trailing empty line
9627         in case last line was cur_par and only had an error inset on it.
9628
9629 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9630
9631         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9632         absolute
9633
9634         * vc-backend.C (most methods):
9635         * exporter.C (Export):
9636         * converter.C (convert):
9637         (runLaTeX):
9638         * LyXSendto.C (SendtoApplyCB):
9639         * lyxfunc.C (dispatch):
9640         (menuNew):
9641         (open):
9642         (doImport):
9643         * lyx_cb.C (AutoSave):
9644         (InsertAsciiFile):
9645         * BufferView_pimpl.C (MenuInsertLyXFile):
9646         * buffer.C (runChktex): use Buffer::filePath().
9647
9648         * buffer.h: rename filename to filename_; rename filepath to
9649         filepath_ and make it private
9650         (filePath): new method
9651
9652         * buffer.C (writeFile): use fileName()
9653         (getLatexName):
9654
9655         * lyx_main.C (init): fix starting  of LyX when the binary is a
9656         link from so,ewhere else.
9657
9658         * minibuffer.C: include <cctype> for isprint
9659
9660 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9661
9662         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9663         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9664         name clash with InsetCollapsable's width function.
9665
9666 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9667
9668         * lastfiles.C: include <iterator>
9669
9670 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9671
9672         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9673         std::count.
9674
9675         * buffer.C (makeLaTeXFile): ditto.
9676         Also make loop operation more transparent.
9677
9678 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9679
9680         * ToolbarDefaults.C: remove trailing comma closing namespace.
9681
9682         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9683
9684         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9685         as in WorkArea.
9686
9687         * trans.C (Load): comment out unused variable, allowed.
9688
9689 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9690
9691         * minibuffer.[Ch] (append_char): new method to recieve input from the
9692         drop-down completion browser. If a key was pressed, then recieve this
9693         char and append it to the existing string.
9694         (peek_event): modify the positioning data passed to the completion
9695         browser so that it can be placed above the minibuffer rather than below.
9696 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9697
9698         * LyXAction.C (init): alloe error-next for readonly documents.
9699
9700         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9701         count.
9702
9703 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * bufferlist.C (readFile): create the buffer _after_ checking that
9706         the file exists.
9707
9708         * lyxfunc.C (verboseDispatch): fix handling of arguments
9709
9710         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9711
9712         * lyxrc.C: use string::erase() instead of initializing to "".
9713
9714
9715 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * BufferView_pimpl.h:
9718         * BufferView_pimpl.C:
9719         * WorkArea.h:
9720         * WorkArea.C:
9721         * text2.C: tell X when we have made a selection for copying
9722
9723 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9724
9725         * BufferView_pimpl.C (MenuInsertLyXFile):
9726         * lyxfunc.C (menuNew):
9727         (open):
9728         (doImport): add shortcuts to directory buttons
9729
9730         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9731         open a float)
9732
9733         * lyxfunc.C (setStatusMessage):
9734         (getStatusMessage): new methods
9735         (getStatus):use setStatusMessage instead of setErrorMessage
9736         (dispatch): when function is disabled, set error message here
9737         [instead of in getStatus previously]
9738
9739         * BufferView_pimpl.C (workAreaButtonRelease): update
9740         toolbar/menubar here too.
9741
9742 2002-01-13  Allan Rae  <rae@lyx.org>
9743
9744         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9745         Now seems indestructible.  Remaining task is to audit all other
9746         code affected by deleteEmptyParagraphMechanism.  One small quirk
9747         left is that an empty document with an error in the preamble can
9748         be made to report an error but no error box appears.  I don't know
9749         where it goes.
9750         (removeAutoInsets): Improved comments.
9751
9752 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9753
9754         * Thesaurus.h:
9755         * Thesaurus.C: update for Aiksaurus 0.14
9756
9757 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9758
9759         * text2.C (firstParagraph): removed member function, all uses
9760         replaces with ownerParagraph
9761         (redoParagraphs): here
9762         (updateInset): here
9763         (toggleAppendix): here
9764         * BufferView2.C (insertErrors): here
9765         (setCursorFromRow): here
9766
9767 2002-01-13  Allan Rae  <rae@lyx.org>
9768
9769         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9770         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9771         There is still a way to segfault this although you may have to do this
9772         multiple times: Have an InsetERT with an unknown command in it.
9773         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9774         <down-arrow>, <Enter> again, View->DVI, BANG!
9775
9776         * text2.C (setCursor):
9777         (deleteEmptyParagraphMechanism):
9778         * lyxtext.h (setCursor):
9779         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9780         Making use of the return value may help fix other bugs.
9781
9782 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9785
9786         * LyXView.C (updateMenubar): call MenuBar::update here
9787         (updateToolbar): but not here
9788         (showState): do not update toolbar/menubar
9789
9790         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9791         should need to care about that.
9792
9793         * lyxfunc.C (verboseDispatch): simplify a bit
9794         (getStatus): have a version which takes a pseudoaction, and
9795         another which requires a (kb_action,string).
9796
9797         * LyXAction.C (retrieveActionArg): make it work also when action
9798         is not a pseudo-action.
9799         (getActionName): simplify a bit
9800         (helpText):
9801
9802 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * lyxfunc.C (verboseDispatch): new families of methods with
9805         several ways to specify a command and a bool to indicate whether
9806         the command name and shortcut should be displayed in minibuffer
9807         (eventually, we could extend that to a finer bitmask like
9808         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9809         (dispatch): the pristine dispatch command which just, well,
9810         dispatchs! Note it still sets its result to minibuffer; I'm not
9811         sure we want that.
9812
9813         * lyxfunc.h: remove setHintMessage
9814
9815         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9816
9817 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9818
9819         * BufferView_pimpl.C (specialChar): delete new inset if we have
9820         not been able to insert it.
9821
9822         * kbmap.C: revert to using int instead of kb_action, since all we
9823         are dealing with is pseudo-actions.
9824
9825         * LyXAction.C (searchActionArg): change to return int instead of
9826         kb_action, since the result is a pseudoaction.
9827
9828 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9829
9830         * buffer.C (insertErtContents): Fix (partially) the font bug.
9831
9832 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9833
9834         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9835         as the other one is broken on my machine!
9836
9837 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9838
9839         * commandtags.h:
9840         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9841
9842 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9843
9844         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9845         reflect their actual use. Provide compatibility code for older lyxrc
9846         files.
9847
9848         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9849         FL_NORMAL_STYLE.
9850         change names of popup font variables in line with the changes to lyxrc.C
9851
9852 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9853
9854         * buffer.C (asciiParagraph): avoid outputing a word twice after
9855         an inset.
9856
9857         * lyxrc.C (getDescription): document that document_path and
9858         template_path can be empty.
9859
9860 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * LaTeXFeatures.C (getMacros):
9863         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9864
9865         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9866
9867         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9868         getPackages.
9869         (getPackages): rename feature "floats" to "float". Use an array to
9870         iterate over 'simple' features (i.e. just a \usepackage). Add
9871         handling of "amsmath" (renamed from "amsstyle").
9872
9873 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9874
9875         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9876         features list.
9877
9878 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9879
9880         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9881         FuncStaus::FuncStatus & FuncStaus::some_method().
9882
9883 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9884
9885         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9886         of the func_satus stuff. Edited and massaged in various ways by
9887         JMarc.
9888
9889         * lyxfunc.C (getStatus): use FuncStatus
9890
9891 2002-01-08  Juergen Vigna  <jug@sad.it>
9892
9893         * text.C (nextBreakPoint): use function Inset::isChar().
9894
9895         * paragraph.C (TeXOnePar): use function
9896         Inset::forceDefaultParagraphs.
9897
9898         * buffer.C (latexParagraphs): use function
9899         Inset::forceDefaultParagraphs.
9900
9901 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9902
9903         * lyx_gui.C (init): set the style of the menu popups to
9904         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9905
9906 2002-01-07  Juergen Vigna  <jug@sad.it>
9907
9908         * text.C (setHeightOfRow): small fix
9909         (prepareToPrint): don't look at alignment if we don't have the place
9910         for doing it.
9911
9912 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9913
9914         * box.C: New file. Move the Box methods and functions out of box.h,
9915         following Lars' suggestion.
9916
9917 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9918
9919         * box.h: #include "support/LOstream.h", needed for inlined function.
9920
9921         * lyxtextclass.C:
9922         * lyxtextclasslist.C: added some using std declarations.
9923
9924 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9925
9926         * box.h: make signed dimensions to allow insets wider than
9927           the screen (bug #162)
9928
9929         * BufferView_pimpl.C: add some insetHit debug
9930
9931 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * vc-backend.C: add FIXME
9934
9935 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * lyxfunc.C (getStatus): enable code for showing math font status
9938         in toolbar/menu.
9939
9940 2002-01-07  Juergen Vigna  <jug@sad.it>
9941
9942         * text.C (nextBreakPoint): removed debug output not needed anymore.
9943
9944 2002-01-06  Juergen Vigna  <jug@sad.it>
9945
9946         * text.C (nextBreakPoint): fixed up this function we had this bug
9947         since ever but now hopefully we break row better.
9948         (insertChar): we have to check if an inset is the next char as it
9949         could now happen that a large inset is causing a break.
9950
9951 2002-01-05  Juergen Vigna  <jug@sad.it>
9952
9953         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9954         if it doesn't like to be drawed.
9955
9956 2002-01-04  Juergen Vigna  <jug@sad.it>
9957
9958         * BufferView2.C (lockInset): forgot to set a cursor.
9959
9960         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9961
9962 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9963
9964         * FormMathsPanel.C:
9965         * FormMathsPanel.h
9966         * MathsSymbols.C:
9967         * form_maths_panel.C:
9968         * form_maths_panel.h:
9969         * form_maths_panel.fd: implemented sub- and super- buttons in math
9970         panel.
9971
9972         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9973         (or ^ space) to be used as in TeX (req'd by André).
9974
9975         * lyxfunc.C: Allow ^ and _ again to be used both as
9976         super/subscript (mathed) and as themselves (in text).
9977
9978 2002-01-03  Allan Rae  <rae@lyx.org>
9979
9980         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9981         "LyX" or the filename of the current buffer if it has one.  This is a
9982         modified form of John Levon's patch.
9983
9984         * XFormsView.C (setWindowTitle): also set icon title.
9985
9986         * LyXView.h (setWindowTitle): signature changed.
9987         * XFormsView.h (setWindowTitle): ditto.
9988
9989 2002-01-02  Juergen Vigna  <jug@sad.it>
9990
9991         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9992
9993 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9994
9995         * screen.C (topCursorVisible): introduce a temp var for
9996         text->cursor.row(), handle the case where this row is null. (kindo
9997         hachish)
9998
9999         * text2.C (setCursor): add a couple of asserts.
10000
10001         * paragraph.h (inset_iterator): add -> operator
10002
10003         * paragraph.[Ch] (autoDeleteInsets): remove member function
10004
10005         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10006         cursor pos correctly and handle inset deletion by itself.
10007         (insertErrors): move iterator declaration out of for expression
10008
10009         * lyxtextclass.C: add <algorithm>
10010
10011         * Makefile.am: added the new files to sources, removed layout.C
10012
10013         * layout.C: removed file
10014
10015         * layout.h: remove LYX_DUMMY_LAYOUT
10016
10017         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10018         layout.
10019
10020         * lyxlayout.[Ch]:
10021         * lyxtextclass.[Ch]:
10022         * lyxtextclasslist.[Ch]: new files
10023
10024         * include order changes to a lot of files, also changes because of
10025         the six new files.
10026
10027 2001-12-27  Juergen Vigna  <jug@sad.it>
10028
10029         * buffer.C (asciiParagraph): more fixes.
10030
10031         * tabular.C (ascii): make ascii export support export of only the
10032         data separated by a column-delimiter.
10033         (ascii): better support for ascii export.
10034
10035         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10036
10037 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10038
10039         * tabular_funcs.C: use a "using std::getline" instead of the
10040         previous fix from Angus (necessary for cxx + lyxstring)
10041
10042 2001-12-24  Juergen Vigna  <jug@sad.it>
10043
10044         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10045
10046         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10047         problems. First check a minipage also if we have some ert-contents
10048         (not only on par->size(), second set the right depth of the paragraph
10049         on the relink to the root-paragraph-list!
10050
10051         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10052         which then did not anymore update the main paragraphs on undo/redo!
10053
10054 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10057         code. Support all font-changing funcs (even those which are not in
10058         menu currently). Support for reporting font settings in
10059         mathed (disabled until Andre provides a function on mathed's side).
10060
10061         * func_status.h (toggle): small helper function to set toggle
10062         state on a flag.
10063
10064 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10065
10066         * tabular_funcs.C: getline -> std::getline
10067
10068 2001-12-21  Juergen Vigna  <jug@sad.it>
10069
10070         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10071         accessed and could be 0 (I couldn't generate this but it seems
10072         Michael could!).
10073
10074 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10075
10076         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10077         * tabular_funcs.h: here and include iosfwd
10078
10079 2001-12-20  Juergen Vigna  <jug@sad.it>
10080
10081         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10082         inside inset but undo_par was.
10083
10084 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10085
10086         * Thesaurus.C: always include <config.h> in sources.
10087
10088         * Painter.h:
10089         * lyxlookup.h:
10090         * box.h: do not include <config.h> in header files
10091
10092         * text.C (paintLastRow): remove unused variable
10093
10094         * text.C (transformChar):
10095         (insertChar):
10096         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10097
10098         * Painter.C (text):
10099         * font.C (width): rewrite to use uppercase() instead of
10100         islower/toupper.
10101
10102         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10103
10104 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * lyxfind.C: clean up of find failure position change
10107
10108 2001-12-20  Juergen Vigna  <jug@sad.it>
10109
10110         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10111
10112         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10113         (TeXRow): added to LaTeX a single tabular row.
10114         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10115         (Latex): simplified and finally good LT-h/f support.
10116         (various_functions): just small adaptions for LT-h/f support.
10117
10118         * tabular_funcs.[hC]: added and moved here all not classfunctions
10119         of LyXTabular.
10120
10121 2001-12-19  Juergen Vigna  <jug@sad.it>
10122
10123         * tabular.[Ch]: better support for longtabular options (not finished
10124         yet!)
10125
10126 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * text.C (paintLastRow): use the label font instead of the font of
10129         the last character to compute the size of *_BOX. This makes more
10130         sense and avoids a crash with empty paragraphs.
10131         Use Painter::rectangle to draw EMPTY_BOX.
10132
10133 2001-12-19  Juergen Vigna  <jug@sad.it>
10134
10135         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10136         the paragraphs if the replaced paragraph is not the first one!
10137         Tried to delete not used paragraphs but does not work yet so for
10138         now it's inside #ifdef's and by default off!
10139
10140 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10141
10142         * MenuBackend.C: include "lyx_main.h" instead of declaring
10143         lastfiles (actually was declared as LastFiles* instead of a
10144         scoped_ptr).
10145
10146 2001-12-17  Juergen Vigna  <jug@sad.it>
10147
10148         * tabular.C (AppendColumn): applied John's fix
10149
10150 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * BufferView.h:
10153         * BufferView.C:
10154         * BufferView_pimpl.h:
10155         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10156
10157         * Makefile.am:
10158         * box.h: new start of class for above
10159
10160         * lyxfunc.C: ignore space-only minibuffer dispatches.
10161           Show the command name when it doesn't exist
10162
10163         * minibuffer.C: don't add empty lines to the history
10164
10165         * minibuffer.C: add a space on dropdown completion
10166
10167 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10168
10169         * text.C: fix line above/below drawing in insets
10170
10171 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10172
10173         * lyxlength.C (LyXLength): Initialize private variables.
10174
10175 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10176
10177         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10178         when inserting error insets.
10179
10180 2001-12-13  Juergen Vigna  <jug@sad.it>
10181
10182         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10183         actually sometimes the before-paragraph.
10184         (setUndo): don't clear the redostack if we're not actually undoing!
10185
10186 2001-12-06  Juergen Vigna  <jug@sad.it>
10187
10188         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10189         and fixed redoing of main paragraph, so we can use it now ;)
10190
10191         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10192
10193 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10194
10195         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10196         Juergen's request
10197
10198 2001-12-13  André Pönitz <poenitz@gmx.net>
10199
10200         * undostack.[Ch]:
10201         * undo_func.C: minor cleanup
10202
10203 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10204
10205         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10206         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10207         font in urw-fonts package which is marked as -urw-fontspecific and
10208         does not work (incidentally, changing the encoding in the
10209         fonts.dir of this package to -adobe-fontspecific fixes the
10210         problem).
10211
10212         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10213         is a crash when undoing first paragraph (Juergen, please take a
10214         look). THis does not mean the undo fix is wrong, just that it
10215         uncovers problems.
10216
10217         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10218         the (Paragraph*) version when needed instead of duplicating the
10219         code.
10220
10221         * text.C (workWidth): use Inset::parOwner to find out where the
10222         inset has been inserted. This is a huge performance gain for large
10223         documents with lots of insets. If Inset::parOwner is not set, fall
10224         back on the brute force method
10225
10226         * paragraph_pimpl.C (insertInset):
10227         * paragraph.C (Paragraph):
10228         (cutIntoMinibuffer): set parOwner of insets when
10229         inserting/removing them
10230
10231         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10232
10233 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10234
10235         * commandtags.h:
10236         * LyXAction.C:
10237         * lyx_main.C:
10238         * lyxfunc.C:
10239         * mathed/formulabase.C:
10240         * mathed/math_cursor.[Ch]:
10241         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10242
10243
10244 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10245
10246         * lyxlength.[Ch] (operator!=): new function
10247
10248 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10249
10250         * text.C (workWidth): use Inset::parOwner to find out where the
10251         inset has been inserted. This is a huge performance gain for large
10252         documents with lots of insets. If Inset::parOwner is not set, fall
10253         back on the brute force method
10254
10255         * paragraph_pimpl.C (insertInset):
10256         * paragraph.C (Paragraph):
10257         (cutIntoMinibuffer): set parOwner of insets when
10258         inserting/removing them
10259
10260         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10261
10262 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10263
10264         * tabular-old.C (getTokenValue):
10265         * tabular.C (getTokenValue):
10266         (write_attribute): new versions for LyXLength
10267         (everywhere): adjust the use of widths
10268
10269         * tabular.h: change the type of widths from string to LyXLength
10270
10271 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10272
10273         * paragraph.C: fixed missing line number count when exporting
10274         Environments to LaTeX file
10275
10276         * buffer.C: added informational message for checking line numbers.
10277
10278 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10279
10280         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10281         paragraph, do the 'double space' part, but not the 'empty
10282         paragraph' one.
10283
10284         * text.C (workWidth): small optimization
10285         (getLengthMarkerHeight): use minimal size for negative lengths.
10286
10287 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10288
10289         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10290
10291         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10292
10293 2001-12-11  André Pönitz <poenitz@gmx.net>
10294
10295         * FontLoader.C:
10296         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10297
10298 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * text2.C: keep selection on a setFont()
10301
10302 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10303
10304         * lyx_cb.C: another bv->text misuse, from insert label
10305
10306 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10307
10308         * kbsequence.h:
10309         * kbsequence.C: re-instate nmodifier mask
10310
10311 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10312
10313         * lyx_main.h: make lyxGUI private.
10314
10315 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10316
10317         * lyxfind.C: place the cursor correctly on failed search
10318
10319 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10320
10321         * text.C (getLengthMarkerHeight): for small heights, the arrows
10322         are not always on top/bottom of the text
10323         (drawLengthMarker): smaller arrows; take the left margin in
10324         account; draw also vfills.
10325         (paintFirstRow):
10326         (paintLastRow): remove special code for vfill and standard spaces,
10327         since everything is handled in drawLengthMarker now.
10328
10329 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10330
10331         * buffer.C (insertErtContents): try to handle font and language
10332         interaction a bit better.g
10333
10334         * ColorHandler.C (updateColor): change the hash to cover the whole
10335         LColor enum, ws cleanup
10336         (getGCLinepars): ditto
10337         (getGCLinepars): only lookup in the linecache once.
10338
10339 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10340
10341         * iterators.C (operator++): Make the iterator more robust
10342
10343         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10344         (John's patch)
10345         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10346
10347 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10348
10349         * lyxtext.h:
10350         * text.C: better added space drawing
10351
10352 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * LyXView.C:
10355         * BufferView2.C: fix layout combo update on inset unlock
10356
10357 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * Makefile.am: don't compile unused files
10360
10361 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * lyxfunc.C:
10364         * commandtags.h:
10365         * LyXAction.C: remove old LFUN_LAYOUTNO
10366
10367 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * paragraph_pimpl.h:
10370         * paragraph_pimpl.C: isTextAt() doesn't need font param
10371
10372 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * lyxlex.h:
10375         * lyxlex.C: little cleanup
10376
10377 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * BufferView_pimpl.C: fix insertAscii for insets
10380
10381 2001-12-05  Juergen Vigna  <jug@sad.it>
10382
10383         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10384         set the right font on the "multi" paragraph paste!
10385
10386 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * trans_decl.h:
10389         * trans_mgr.[Ch]:
10390         * trans.[Ch]:
10391         * lyxgluelength.C:
10392         * lyxlength.C: remove out-commented code.
10393
10394         * BufferView_pimpl:
10395         * CutAndPaste.C:
10396         * DepTable.C:
10397         * buffer.C:
10398         * chset.C:
10399         * lastfiles.C:
10400         * lyxlex.C:
10401         * lyxlex_pimpl.C:
10402         * lyxserver.C:
10403         * screen.C:
10404         * tabular-old.C:
10405         * tabular.C:
10406         * text.C:
10407         * trans_mgr.C:
10408         * vc-backend.C: change "while(" to "while ("
10409
10410         * lyxlength.[Ch]: add zero function to check if length is zero or
10411         not
10412         * lyxgluelength.C: use it
10413
10414 2001-12-05  Allan Rae  <rae@lyx.org>
10415
10416         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10417         Works for 2.95.3, from what I understand of Garst's reports this should
10418         work for other g++ versions.  We're screwed if the abs(int) definition
10419         changed between bugfix releases of gcc.
10420
10421 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * text.C: fix chapter label offset !
10424
10425 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * lyxtext.h:
10428         * text.C: fix hfill at end of line, clean up
10429
10430 2001-12-04  Juergen Vigna  <jug@sad.it>
10431
10432         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10433         that we force an update of the inset and it's owners if neccessary.
10434
10435 2001-12-03  Juergen Vigna  <jug@sad.it>
10436
10437         * text.C (rowLast): simplified code
10438
10439 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * lyxfunc.C: fix show options on timeout
10442
10443 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10444
10445         * screen.C (topCursorVisible): scroll half a page when the cursor
10446         reached top of bottom of screen
10447
10448 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * minibuffer.C: deactivate on loss of focus
10451
10452 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10453
10454         * vspace.[Ch] (operator!=): add operator.
10455
10456 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * BufferView_pimpl.C: refuse to open an inset when
10459         there's a selection.
10460
10461 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * BufferView_pimpl.C: allow to click on RHS of full row insets
10464
10465 2001-11-30  Juergen Vigna  <jug@sad.it>
10466
10467         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10468         insets for undo reasons.
10469
10470 2001-11-28  André Pönitz <poenitz@gmx.net>
10471
10472         * vspace.[Ch]: cosmetical changes
10473
10474 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * LyXAction.h:
10477         * LyXAction.C:
10478         * lyxfunc.h:
10479         * lyxfunc.C:
10480         * kbmap.h:
10481         * kbmap.C:
10482         * lyxrc.C:
10483         * kbsequence.h:
10484         * kbsequence.C: part re-write of old kb code
10485
10486         * Painter.C:
10487         * WorkArea.C: remove Lgb_bug_find_hack
10488
10489 2001-11-30  José Matos <jamatos@fep.up.pt>
10490
10491         * buffer.C (makeDocBookFile): add a comment to point a hack.
10492         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10493         Fixed a double write of labels.
10494
10495 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10496
10497         * LaTeX.C:
10498         * LaTeX.h Fixed bug in LaTeX class where it would not
10499         re-run latex if no depfiles were changed, but the .dvi was removed.
10500
10501 2001-11-28  André Pönitz <poenitz@gmx.net>
10502
10503         * all the files from the change on 2001/11/26:
10504         use lyx::layout_type instead of LyXTextClass::size_type
10505         use lyx::textclass_type instead of LyXTextClassList::size_type
10506
10507 2001-11-29  Juergen Vigna  <jug@sad.it>
10508
10509         * text.C: added support for paragraph::isFreeSpacing()
10510
10511         * buffer.C: same as above
10512
10513         * paragraph.h: inserted isFreeSpacing() function to enable
10514         FreeSpacing inside InsetERT.
10515
10516         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10517         of the paragraph's in the cut/copy buffer to 0!
10518
10519         * text2.C (removeRow): remove the assert as it can!
10520
10521         * lyxtext.h: added helper function firstRow returning firstrow and
10522         made firstrow private again.
10523
10524         * BufferView2.C (lockInset): don't relock if we're already locked!
10525
10526         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10527         the only paragraph.
10528         (removeRow): added Assert::(firstrow)
10529
10530         * debug.C: forgot to add INSETTEXT here.
10531
10532 2001-11-28  Juergen Vigna  <jug@sad.it>
10533
10534         * sp_spell.C (initialize): changed error text to more general
10535         spellchecker command use (not only ispell!)
10536
10537         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10538
10539         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10540
10541 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10542
10543         * vspace.C: initialise lyxgluelength on failure
10544
10545 2001-11-28  Allan Rae  <rae@lyx.org>
10546
10547         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10548         declaration & definition that looks like a function declaration.
10549
10550 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10551
10552         * BufferView2.C (copy):
10553         (copyEnvironment): do not clear the selection when doing a copy.
10554
10555         * text.C (paintFirstRow): compilation fix
10556
10557 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10558
10559         * tabular.C (Latex): correct line count when writing latex.
10560
10561 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10562
10563         * paragraph_pimpl.h:
10564         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10565           bug a bit
10566
10567 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * text.C:
10570         * LColor.h:
10571         * LColor.C: change vfillline->added_space
10572
10573         * text.C: add markers and text for added space
10574
10575         * vspace.C: fix comment
10576
10577 2001-11-28  André Pönitz <poenitz@gmx.net>
10578
10579         * paragraph.C: whitespace changes
10580         * all the other files from the change on 2001/11/26:
10581         change *::pos_type into lyx::pos_type
10582
10583 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10584
10585         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10586         language of the document when inserting error insets.
10587
10588 2001-11-26  André Pönitz <poenitz@gmx.net>
10589
10590         * BufferView_pimpl.[Ch]:
10591         *       CutAndPaste.C:
10592         * buffer.[Ch]:
10593         * lyxcursor.[Ch]:
10594         * lyxfind.C:
10595         * lyxfunc.C:
10596         * lyxrow.[Ch]:
10597         * paragraph.[Ch]:
10598         * paragraph_pimpl.[Ch]:
10599         * sp_spell.C:
10600         * text.C:
10601         * text2.C: reduce header dependencies, introduce type for positions
10602
10603 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * <various>: change to use Alert.h
10606
10607 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10608
10609         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10610         when encountering an unknown token.
10611         (readLyXformat2): Show an error message if there were unknown tokens.
10612
10613 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10614
10615         * BufferView2.C:
10616         * BufferView_pimpl.C:
10617         * buffer.C:
10618         * paragraph.h:
10619         * text.C:
10620         * text2.C: use par->isInset()
10621
10622 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10623
10624         * paragraph_pimpl.h:
10625         * paragraph_pimpl.C: cleanup
10626
10627 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10628
10629         * text2.C (removeRow):
10630         * text.C (setHeightOfRow): remove useless (and costly) call to
10631         getRow.
10632
10633 2001-11-20  Allan Rae  <rae@lyx.org>
10634
10635         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10636         Now need Inset*::checkInsertChar() to return true for appropriate
10637         cases so that the characters in the minibuffer will actually be
10638         inserted.
10639
10640 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10641
10642         * text.C: change the order of the includes.
10643         (workWidth): initialize it at once.
10644         (workWidth): make maxw unsigned
10645         (setHeightOfRow): remove unused variable (inset)
10646         (selectSelectedWord): remove unused variable (inset)
10647         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10648
10649 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10650
10651         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10652         server is not running.
10653         (openConnection):
10654         (closeConnection): add debug info when server is disabled.
10655
10656         * ColorHandler.C (getGCForeground): send debug message to GUI
10657         channel.
10658
10659         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10660
10661         * kbmap.C (bind): modify because return conventions of
10662         kb_sequence::parse have changed.
10663
10664         * kbsequence.C (parse): only ignore spaces and not any stupid
10665         control character. This avoids tests like s[i] <= ' ', which are
10666         guaranteed to fail with 8bit characters and signed chars.
10667         Change return code to string::npos when there have been no error
10668         (0 was a bad idea when error is at first character)
10669
10670 2001-11-14  José Matos  <jamatos@fep.up.pt>
10671
10672         * buffer.h:
10673         * buffer.C (simpleDocBookOnePar): removed unused argument.
10674
10675 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10676
10677         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10678         insets which are part of a word. Paragraph::isLetter takes care of
10679         that now. Use Paragraph::isInset to identify insets.
10680         (selectSelectedWord): do not test for hyphenation break.
10681
10682         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10683         that protected spaces are considered as spaces.
10684
10685         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10686         Inset::isLetter.
10687
10688 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * lyxserver.h:
10691         * lyxserver.C: fix it. and small cleanup.
10692
10693 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * BufferView_pimpl.C: use inline helpers
10696
10697         * LaTeXFeatures.h:
10698         * LaTeXFeatures.C: fix typos
10699
10700         * Spacing.h:
10701         * Spacing.C: move spacing_string into class
10702
10703         * ToolbarDefaults.C: move stuff into namespace anon
10704
10705         * layout.h: update enum
10706
10707         * lyxfunc.C: use better debug
10708
10709         * minibuffer.h: fix typo
10710
10711         * debug.h:
10712         * debug.C:
10713         * WorkArea.C: add and use Debug::WORKAREA
10714
10715         * lyxtext.h:
10716         * text.C:
10717         * text2.C: code re-organisation, inline helpers
10718
10719 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10720
10721         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10722         std::vector.empty().
10723
10724 2001-11-09  Allan Rae  <rae@lyx.org>
10725
10726         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10727         '\n's after tables.  Tabular and ERT inset work now makes this no
10728         longer necessary.
10729
10730 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * minibuffer.h:
10733         * minibuffer.C: fix crash, improve drop-down completion
10734
10735 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * lyxserver.h:
10738         * lyxserver.C: invalidate fd's when doing endPipe()
10739
10740 2001-11-08  José Matos  <jamatos@fep.up.pt>
10741
10742         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10743         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10744
10745         * paragraph.h:
10746         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10747
10748 2001-11-07  José Matos  <jamatos@fep.up.pt>
10749
10750         * buffer.h:
10751         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10752         const qualifier.
10753
10754         * buffer.C (sgmlOpenTag):
10755         * buffer.C (sgmlCloseTag): removed debug info.
10756
10757         * buffer.h (sgmlOpenTag):
10758         * buffer.h (sgmlCloseTag): made public.
10759
10760 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10761
10762         * buffer.C (saveParamsAsDefaults):
10763         * lyx_cb.C (MenuLayoutSave): remove
10764
10765         * LyXAction.C (init):
10766         * commandtags.h:
10767         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10768
10769 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10770
10771         * buffer.C (setPaperStuff): removed from here...
10772
10773         * bufferparams.C (setPaperStuff): ... and moved there.
10774
10775 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10776
10777         * minibuffer.h:
10778         * minibuffer.C:
10779         * XFormsView.C: add support for drop-down completion
10780
10781 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10782
10783         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10784         commands.
10785
10786 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10787
10788         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10789         disabled.
10790
10791 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10792
10793         * lyx_main.C: change ref to known bugs
10794
10795 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10796
10797         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10798         to work around older babel problems.
10799
10800 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10801
10802         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10803
10804 2001-10-24  Juergen Vigna  <jug@sad.it>
10805
10806         * tabular-old.C (ReadOld): below variable changes reflected.
10807
10808         * tabular.[Ch]: added ltType struct for longtable header/footer
10809         defines and changed all instances where they are used. Added
10810         future support for double top/bottom rows.
10811
10812 2001-10-24  José Matos  <jamatos@fep.up.pt>
10813
10814         * buffer.h (docbookHandleCaption):
10815         * buffer.C (docbookHandleCaption): removed unused function.
10816         (makeDocBookFile): moved docbook supported version to v4.1.
10817
10818 2001-10-24  José Matos  <jamatos@fep.up.pt>
10819
10820         * tabular.h:
10821         * tabular.C (docbookRow): new function to export docbook code of a row.
10822         (DocBook): now honors the longtable flags.
10823
10824 2001-10-23  José Matos  <jamatos@fep.up.pt>
10825
10826         * LaTeXFeatures.h:
10827         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10828         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10829
10830         * buffer.C (makeLinuxDocFile):
10831         (makeDocBookFile): reworked the preamble, more clean, and with
10832         support for lyx defined entities. Changed the document declaration
10833         to be more XML friendly.
10834
10835         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10836         if we need to output XML that should be done with a filter.
10837
10838 2001-10-22  Juergen Vigna  <jug@sad.it>
10839
10840         * sp_pspell.h (class PSpell): add alive function needed in the
10841         controller to see if the spellchecker could be started.
10842
10843 2001-10-22  Juergen Vigna  <jug@sad.it>
10844
10845         * buffer.C (insertStringAsLines): modify the font for inserting
10846         chars in certain conditions by calling checkInsertChar(font).
10847
10848 2001-10-19  Juergen Vigna  <jug@sad.it>
10849
10850         * text.C (workWidth): use getRow instead of wrong algorithm.
10851         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10852
10853 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * lyxserver.h:
10856         * lyxserver.C:
10857         * lyx_main.h:
10858         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10859
10860 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10861
10862         * text.C (workWidth): do not search for the exact row when
10863         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10864         optimization for big documents.
10865
10866 2001-10-18  Juergen Vigna  <jug@sad.it>
10867
10868         * text.C (workWidth): new function with added Inset * parameter.
10869
10870 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10871
10872         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10873
10874         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10875         change return type of getColumnNearX.
10876
10877
10878         * text.C (changeRegionCase): use uppercase/lowercase instead of
10879         toupper/tolower.
10880         (leftMargin):
10881         (rightMargin): simplify code by factoring out the uses of
10882         textclasslist.
10883         (labelFill):
10884         (numberOfHfills):
10885         (setHeightOfRow):
10886         (appendParagraph): use Paragraph::size_type
10887
10888 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10889
10890         * vspace.C (asLatexString): add a missing break
10891
10892 2001-10-15  Herbert Voss  <voss@perce.de>
10893
10894         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10895
10896 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10897
10898         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10899         is not available.
10900
10901 2001-10-10  André Pönitz <poenitz@gmx.net>
10902
10903         * lyxfunc.C: removed greek_kb_flag.
10904
10905 2001-10-10  Herbert Voss  <voss@perce.de>
10906
10907         * lyx_main.C: delete global string help_lyxdir.
10908
10909 2001-10-09  Herbert Voss  <voss@perce.de>
10910
10911         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10912
10913         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10914
10915         * lyx_main.C: added global string help_lyxdir.
10916
10917         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10918
10919 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10920
10921         * lyxrc.C (set_font_norm_type): support iso8859-4
10922
10923 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10924
10925         * LaTeX.C (deplog): add another regex for MikTeX
10926
10927 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10928
10929         * lyxrc.C (set_font_norm_type): support iso8859-3
10930
10931 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10932
10933         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10934
10935         * LaTeXFeatures.C: remove special case of french and index
10936
10937         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10938         before \begin{document}). This solves several incompatibilities.
10939
10940 2001-10-03  Garst Reese  <reese@isn.net>
10941
10942         * lyx_cb.C: change CheckTex error msg.
10943
10944 2001-10-03  José Matos  <jamatos@fep.up.pt>
10945
10946         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10947
10948 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10949
10950         * .cvsignore: update
10951
10952         * lyx_main.C (commandLineVersionInfo): use new style version info.
10953
10954         * buffer.C (writeFile):
10955         (makeLaTeXFile):
10956         (makeLinuxDocFile):
10957         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10958
10959         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10960
10961         * version.h: update to use stuff in version.C
10962
10963         * version.C.in: new file. Contains version information determined
10964         at compile time. This is a merging of version.h and
10965         version_info.h.in.
10966
10967 2001-10-03  Juergen Vigna  <jug@sad.it>
10968
10969         * BufferView_pimpl.C (update): don't change "dirty" status in
10970         updateInset call.
10971
10972 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10973
10974         * WorkArea.C (c-tor): re-position version string slightly.
10975
10976 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10977
10978         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10979         revert to previous code.
10980
10981         WorkArea.[Ch]: (show, destroySplash): methods removed.
10982
10983         WorkArea.C: rework code so that it's an amalgam of the codes before and
10984         after the splash screen was moved to WorkArea.
10985
10986 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10987
10988         * lyxrc.C (read):
10989         * vspace.C (inPixels):
10990         (lyx_advance):
10991         * kbmap.C (bind):
10992         * buffer.C (insertStringAsLines):
10993         (asciiParagraph): fix types to be large enough
10994
10995         * lyxlex_pimpl.h: change member status from short to int
10996
10997         * layout.h: fix type of endlabeltype
10998
10999         * kbmap.C (bind):
11000         * kbsequence.C (parse): change return type to string::size_type
11001
11002         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11003         variable
11004
11005         * Bullet.C (bulletSize):
11006         (bulletEntry): do not use short ints as parameters
11007
11008         * BufferView2.C (insertLyXFile): change a char to an int.
11009
11010         * WorkArea.C (WorkArea): remove unneeded floats in computation
11011
11012 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11013
11014         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11015
11016         * paragraph.C (asString): Do not ignore newline/hfill chars when
11017         copying to the clipboard.
11018
11019 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11020
11021         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11022         after a multi-line inset.
11023
11024 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11025
11026         * paragraph.C (validate): Set NeedLyXFootnoteCode
11027
11028 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11029
11030         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11031         and decrease-error to decrease.
11032
11033 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11034
11035         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11036         it more readable (should be equivalent)
11037
11038 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11039
11040         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11041
11042 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11043
11044         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11045         of a cursor (row, etc.) after a character has been deleted
11046         (deleteEmptyParagraphMechanism): call the method above on _all_
11047         cursors held by the LyXText when a double space has been
11048         detected/deleted.
11049
11050 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11051
11052         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11053         pixmap.
11054         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11055
11056         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11057         background. Use greyOut() and the new show() methods to toggle between
11058         the foreground and background. Add code to remove the splash after
11059         its initial showing.
11060
11061         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11062         (create_forms): no longer call Dialogs::showSplash.
11063
11064 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11065
11066         * .cvsignore: add version_info.h
11067
11068 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11069
11070         * version_info.h.in: new file
11071
11072         * Makefile.am: add version_info.h.in
11073
11074         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11075         version_info.h instead of VERSION_INFO
11076
11077 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11078
11079         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11080         The ERT inset now returns string().
11081
11082 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11083
11084         * lyxtext.h, text.C (selectNextWord): renamed as
11085         selectNextWordToSpellcheck.
11086
11087         * text.C (selectNextWordToSpellcheck): Modified to not select
11088         words inside an ERT inset.
11089
11090 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11091
11092         * lyx_cb.C (MenuLayoutSave): change a bit the question
11093
11094         * sp_base.h: include <sys/types.h>
11095
11096 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11097
11098         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11099
11100 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11101
11102         * several files: fix typos in user-visible strings
11103
11104 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11105
11106         * text2.C (pasteSelection): do not set the selection, since it
11107         will be cleared later. Actually, the intent was to fix the way the
11108         selection was set, but I figured rmoving the code was just as good.
11109
11110 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * FontLoader.C (available): Check if font is available without
11113         loading the font.
11114
11115 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11116
11117         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11118
11119 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11120
11121         * lyxrc.[Ch]: added display_graphics variable and associated code.
11122
11123 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11124
11125         * bufferparams.C (hasClassDefaults): new method. Returns true if
11126         the buffer parameters correspond to known class defaults
11127
11128 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * XFormsView.C (show): set minimum size to the main window.
11131
11132 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11133
11134         * text2.C (copySelection):
11135         (cutSelection):
11136         * lyxfind.C (LyXReplace):
11137         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11138         LyXText::selectionAsString.
11139
11140         * paragraph.C (asString): add "label" argument to the second form
11141
11142         * text2.C (selectionAsString): add "label" argument and pass it to
11143         Paragraph::asString.
11144
11145 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11146
11147         * lyx_main.C (commandLineHelp): remove version information
11148
11149 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11150
11151         * lyx_main.C: add -version commandline option
11152
11153 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11154
11155         * paragraph.h: make the optional constructor arg required instead.
11156         some modifications to other files because of this.
11157
11158         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11159
11160         * lyxserver.C (C_LyXComm_callback): make it static
11161
11162         * lyx_main.C (error_handler): make it static
11163
11164         * lyx_gui.C (LyX_XErrHandler): make it static
11165
11166         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11167
11168         * WorkArea.C: make the extern "C" methods static.
11169
11170         * Makefile.am (lyx_LDADD): simplify
11171
11172 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11173
11174         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11175         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11176
11177         * LyXAction.C (init):
11178         * lyxfunc.C (dispatch): associated code removal.
11179
11180 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11181
11182         * lyxfont.h (isSymbolFont): shut off warning
11183
11184         * text.C (setHeightOfRow):
11185         (getVisibleRow): fix crash with empty paragraphs which have a
11186         bottom line
11187
11188 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11189
11190         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11191         code.
11192
11193 2001-09-04  José Matos  <jamatos@fep.up.pt>
11194         * buffer.C
11195         * buffer.h
11196         * tabular.C (docbook): rename docBook method to docbook.
11197
11198 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11199
11200         * Makefile.am: add dependencies to main.o.
11201
11202 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11203
11204         * FontLoader.C (available): Return false if !lyxrc.use_gui
11205
11206 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11207
11208         * FontInfo.C (query):
11209         * converter.C (view):
11210         * importer.C (Import):
11211         * exporter.C (Export): Can not -> cannot.
11212
11213 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11214
11215         * BufferView_pimpl.C: allow to create index inset even if
11216           string is empty
11217
11218 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11219
11220         * buffer.C (getLists): replace boost::tie code with an explicit pair
11221         as boost::tie can break some compilers.
11222
11223         * iterators.h: Added a std:: declaration to the return type of
11224         ParIterator::size.
11225
11226 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11229           case.
11230
11231 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11232
11233         * iterators.[Ch]: New files. Provide paragraph iterators.
11234
11235         * buffer.C (changeLanguage): Use paragraph iterators.
11236         (isMultiLingual): ditto
11237
11238         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11239
11240 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11241
11242         * FontLoader.C: Support for cmr font.
11243
11244 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11245
11246         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11247         (available): New method.
11248
11249         * FontInfo.C (getFontname): Use scalable fonts even when
11250         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11251         found.
11252
11253 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11254
11255         * converter.C (Formats::view): reverted! Incorrect fix.
11256
11257 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11258
11259         * converter.C (Formats::view): only output the -paper option
11260         if the dvi viewer is xdvi, thereby fixing bug #233429.
11261
11262 2001-08-23  Herbert Voss  <voss@perce>
11263
11264         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11265
11266 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11267
11268         * Spacing.h (Spacing): Set space to Default on in the default
11269         constructor.
11270
11271 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11272
11273         * vc-backend.h (RCS::versionString): add RCS to version
11274         (CVS::versionString): add CVS to version
11275
11276         * vc-backend.C (scanMaster): do not add CVS to version.
11277         (scanMaster): do not add RCS to version
11278
11279         * lyxvc.C (versionString): new method
11280
11281         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11282
11283 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11284
11285         * Spacing.C (set): initialize fval
11286
11287 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11288
11289         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11290         " or \.
11291
11292 2001-08-16  Juergen Vigna  <jug@sad.it>
11293
11294         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11295
11296 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * BufferView_pimpl.C:
11299         * figureForm.C:
11300         * lyxtext.h:
11301         * text2.C: setParagraph takes linespacing now
11302
11303 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11304
11305         * LyxAction.C: add internal LFUN_CITATION_INSERT
11306
11307         * LyXView.C: actually apply fix
11308
11309         * bufferlist.C: fix open non-existent file
11310
11311         * lyxfind.C: fix indentation
11312
11313         * lyxfunc.C: remove unneeded assert, fix typo
11314
11315 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11316
11317         * MenuBackend.C: use "Floatname List"
11318
11319 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11320
11321         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11322         when converting LaTeX layout to insetERT.
11323         Generate a non-collapsed float when reading old float
11324
11325 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11326
11327         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11328         ERT insets.
11329
11330 2001-08-13  Juergen Vigna  <jug@sad.it>
11331
11332         * text.C (fill): return 0 instead of 20 as this seems to be the more
11333         correct value.
11334
11335 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11336
11337         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11338         lyxrc.font_norm.
11339
11340 2001-08-13  Juergen Vigna  <jug@sad.it>
11341
11342         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11343         casesensitive off.
11344         (SearchBackward): comment out the unlocking of the inset_owner this
11345         should not be needed!
11346
11347 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11348
11349         * Many files: Remove inherit_language, and add latex_language
11350
11351         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11352         collapsible insets.
11353
11354 2001-08-10  Juergen Vigna  <jug@sad.it>
11355
11356         * text.C (prepareToPrint): fixed hfill-width in draw!
11357
11358         * BufferView2.C (selectLastWord): save the selection cursor as this
11359         now is cleared in the function LyXText::clearSelection!
11360
11361 2001-08-08  Juergen Vigna  <jug@sad.it>
11362
11363         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11364         BACKSPACE type functions.
11365
11366         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11367         is only cutted from the document but not put in the cut-buffer, where
11368         still the old stuff should be.
11369
11370         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11371
11372         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11373
11374         * tabular.C (SetWidthOfCell): fixed special case where the width
11375         was not updated!
11376         (LeftLine): handle '|' in align_special.
11377         (RightLine): ditto
11378         (LeftAlreadyDrawed): ditto
11379         (SetWidthOfCell): ditto
11380
11381 2001-08-07  Juergen Vigna  <jug@sad.it>
11382
11383         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11384
11385 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11388         * lyxlex.[hC]: ditto
11389
11390 2001-08-06  Juergen Vigna  <jug@sad.it>
11391
11392         * text.C (getVisibleRow): fix up row clearing a bit.
11393
11394 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * minibuffer.C: make sure the X server sees the changes in the input.
11397
11398 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11399
11400         * paragraph.C (getFont): split into...
11401         (getLabelFont): this
11402         (getLayoutFont): and this
11403         * paragraph_pimpl.C (realizeFont): calling this
11404
11405         * text2.C (getFont): split into...
11406         (getLayoutFont): this
11407         (getLabelFont): and this
11408         (realizeFont): all three calling this
11409
11410         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11411         files where used.
11412
11413 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11414
11415         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11416
11417 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11418
11419         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11420         layouts from the Quote inset insertion.
11421
11422 2001-08-03  Juergen Vigna  <jug@sad.it>
11423
11424         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11425
11426         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11427         only if status not is already CHANGED_IN_DRAW (second level).
11428
11429         * text.C (draw): don't set the need_break_row when inside an
11430         InsetText LyXText.
11431
11432 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * buffer.C (parseSingleLyXformat2Token): handle more latex
11435         conversion cases.
11436
11437         * bufferview_funcs.[hC]: change function names to
11438         begin with small char, adjust other files.
11439
11440 2001-08-02  André Pönitz <poenitz@gmx.net>
11441
11442         * lyxfunc.C:
11443         BufferView_pimpl.C: remove broken special code for math-greek
11444
11445 2001-08-02  Juergen Vigna  <jug@sad.it>
11446
11447         * BufferView_pimpl.C (update): redone this function so that we
11448         update the text again if there was a CHANGE_IN_DRAW.
11449
11450         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11451         (drawFromTo): added a new internal bool which is used by draw() and
11452         redraw() function.
11453         (general): some cursor drawing problems fixed.
11454
11455 2001-08-01  Juergen Vigna  <jug@sad.it>
11456
11457         * lyxfind.C (LyXFind): fixed
11458         (SearchForward): ditto
11459         (SearchBackward): ditto
11460
11461         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11462         spurius drawing of the cursor in the main area.
11463
11464         * text2.C (status): small fix which could lead to a segfault!
11465         (clearSelection): remove unneeded BufferView param.
11466
11467 2001-08-01  André Pönitz <poenitz@gmx.net>
11468
11469         * lyxfunc.C: small change due to changed mathed interface
11470
11471 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11472
11473         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11474
11475 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * lyxfunc.c: fail gracefully if file doesn't exist
11478
11479         * LyXSendto.C:
11480         * buffer.C:
11481         * lyxfunc.C:
11482         * BufferView_pimpl.C: IsDirWriteable() proto changed
11483
11484         * LyXView.C: fix updateWindowTitle() to store the last title
11485
11486 2001-07-31  Juergen Vigna  <jug@sad.it>
11487
11488         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11489         the font (wrong since using of Paragraph::highestFontInRange).
11490
11491         * paragraph.C (highestFontInRange): added a default_size parameter.
11492
11493         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11494         (setHeightOfRow): reformat
11495
11496 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * converter.[hC] + affected files: move to (inital-char)lowercase
11499         function names.
11500
11501         * ParagraphParameters.C (ParagraphParameters): remove commented code
11502
11503         * PainterBase.[Ch]: remove commented code
11504
11505         * LaTeXFeatures.h: add "bool floats" for float.sty
11506
11507         * LaTeXFeatures.C (LaTeXFeatures): init floats
11508         (require): handle float
11509         (getPackages): do it with floats
11510
11511 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11512
11513         * BufferView_pimpl.C (Dispatch): improve handling of
11514         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11515
11516         * commandtags.h: #include lyxfont.h here temporarily to avoid
11517         keybinding bug.
11518
11519         * bufferlist.h: include LString.h here.
11520
11521 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11522
11523         * text2.C (getStringToIndex): new method.
11524
11525 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11526
11527         * *: Reduced header file dependencies all over.
11528
11529 2001-07-30  Baruch Even  <baruch@lyx.org>
11530
11531         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11532
11533 2001-07-29  Baruch Even  <baruch@lyx.org>
11534
11535         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11536
11537 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * ParameterStruct.h (endif): add a default constructor to make
11540         sure that all variables is initialized.
11541
11542         * ParagraphParameters.C (ParagraphParameters): adjust
11543
11544 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11545
11546         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11547         index; also, check that there is something to index, and that it
11548         does not span over several paragraphs.
11549         (doubleClick): use WHOLE_WORD_STRICT for double click.
11550
11551         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11552
11553         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11554         scheme.
11555
11556 2001-07-26  Baruch Even  <baruch@lyx.org>
11557
11558         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11559         an InsetFig figure, backwards compatible reading of old figure code.
11560
11561 2001-07-27  Juergen Vigna  <jug@sad.it>
11562
11563         * text2.C: font.realize function adaption.
11564
11565         * text.C (draw): add a warnings lyxerr text if needed.
11566
11567         * layout.C: font.realize function adaption.
11568
11569         * language.C: add inherit_language and implement it's handlings
11570
11571         * bufferview_funcs.C (StyleReset): remove language parameter from
11572         font creation (should be language_inherit now).
11573
11574         * bufferparams.C (writeFile): handle ignore_language.
11575
11576         * paragraph.C (getFontSettings): the language has to be resolved
11577         otherwise we have problems in LyXFont!
11578
11579         * lyxfont.C (lyxWriteChanges): added document_language parameter
11580         (update): removed unneeded language parameter
11581
11582         * paragraph.C (validate): fixed wrong output of color-package when
11583         using interface colors for certain fonts in certain environments,
11584         which should not seen as that on the final output.
11585
11586 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * BufferView_pimpl.C:
11589         * Thesaurus.h:
11590         * Thesaurus.C:
11591         * Makefile.am:
11592         * commandtags.h:
11593         * LyXAction.C: add thesaurus support
11594
11595         * lyxfind.h:
11596         * lyxfind.C: add "once" parameter, for thesaurus, to not
11597           move to the next match
11598
11599 2001-07-26  Juergen Vigna  <jug@sad.it>
11600
11601         * lyxfont.C (realize): honor ignore_language too!
11602         (resolved): ditto.
11603
11604         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11605
11606         * text.C (draw): one place more for ignore_language to not draw
11607         itself!
11608
11609 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11610
11611         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11612
11613 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11616         the minipage conversion problem.
11617
11618 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11619
11620         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11621         insert an inset.
11622
11623 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11624
11625         * BufferView.h: don't forward declare WorkArea
11626
11627         * BufferView.C: don't include WorkArea.h
11628
11629 2001-07-25  André Pönitz <poenitz@gmx.net>
11630
11631         * commandtags.h:
11632         * LyXAction.C:
11633         * lyxfunc.C:  new LFUN 'math-space'
11634
11635         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11636
11637 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11638
11639         * text2.C (toggleInset): call open/close
11640
11641 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * lyxfunc.C (dispatch): add debug for the disabled case
11644
11645         * font.C (buttonText): make similar to rectText
11646
11647         * buffer.C (readInset): comment out parsing of insetlist and
11648         insttheorem
11649
11650         * PainterBase.C (rectText): small correction
11651
11652         * BufferView_pimpl.C: comment out insettheorem and insetlist
11653         * LyXAction.C: ditto
11654         * commandtags.h: ditto
11655
11656 2001-07-24  Juergen Vigna  <jug@sad.it>
11657
11658         * text.C (draw): honor the ignore_language.
11659
11660         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11661
11662 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11663
11664         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11665         char inset.
11666
11667 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11668
11669         * lyxtext.h: remove unused (and unimplemented) methods
11670
11671 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11672
11673         * text.C (getVisibleRow): honor background color
11674
11675         * PainterBase.h:
11676         * Painter.h: remove default color argument for fillRectangle
11677
11678         * text.C (backgroundColor): new method
11679
11680 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11681
11682         * text.C (getVisibleRow): adjust
11683
11684         * font.[Ch] (rectText): new method, metrics
11685         (buttonText): new method, metrics
11686
11687         * PainterBase.[hC]: make rectText and buttonText always draw and take
11688         fewer paramteres.
11689
11690 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11691
11692         * ToolbarDefaults.C (read):
11693         * MenuBackend.C (read): allow escaping in all strings
11694
11695         * BufferView_pimpl.C (insertAndEditInset): new method.
11696         (Dispatch): use insertAndEditInset whenever appropriate.
11697
11698         * BufferView_pimpl.C (insertNote): removed
11699
11700         * BufferView_pimpl.C (smartQuote): new method, moved from
11701         BufferView; if an insetquote cannot be inserted, insert a '"'
11702         character instead.
11703
11704         * BufferView2.C: remove insertCorrectQuote();
11705
11706         * lyxfunc.C (getStatus): Add support for all remaingin
11707         inset-insert lfuns.
11708
11709         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11710
11711         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11712         command (necessary to pass " as parameter of self-insert.
11713
11714         * text.C (selectWordWhenUnderCursor):
11715         (selectWord): add word_location parameter
11716         (selectWordWhenUnderCursor): same + remove special code for word
11717         boundary.
11718         (selectNextWord): use kind() to guess type of insetspecialchar,
11719         not latex().
11720
11721         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11722         (insertErtContents): create ert insets as collapsed.
11723         (readInset): better compatibility code for Info inset.
11724
11725 2001-07-20  Juergen Vigna  <jug@sad.it>
11726
11727         * lyxfunc.C (dispatch): use always LyXFind now!
11728
11729         * text2.C (init): add a reinit flag so that the LyXText can be
11730         reinited instead of deleted and reallocated (used in InsetText).
11731
11732         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11733
11734         * text.C: ditto
11735
11736         * text2.C: ditto
11737
11738 2001-07-18  Juergen Vigna  <jug@sad.it>
11739
11740         * text.C (selectNextWord): handle insets inside inset by calling
11741         always the bv->text functions so that we can go up the_locking_inset!
11742
11743         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11744         in strange locations when inside an inset!
11745
11746         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11747         handling to include insets.
11748
11749         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11750
11751 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11752
11753         * LyXAction.C (init):
11754         * commandtags.h:
11755         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11756         LIGATURE_BREAK, since the name is so stupid.
11757
11758 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11759
11760         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11761         InsetInfos.
11762
11763         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11764
11765         * sp_form.[Ch]: remove.
11766
11767         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11768
11769         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11770         InsetInfo.
11771
11772         * src/buffer.C (readInset): ditto.
11773
11774 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11775
11776         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11777         menuSeparator(), endOfSentenceDot(), ldots() and
11778         hyphenationPoint(), which are therefore removed.
11779         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11780
11781         * LyXAction.C (init):
11782         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11783
11784         * paragraph.C (getWord): removed.
11785
11786         * BufferView_pimpl.C (Dispatch): use last word or selection for
11787         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11788
11789         * lyx_main.C (queryUserLyXDir): do not ask before creating
11790         user_dir, except if it has been named explicitely.
11791
11792 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11793
11794         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11795         a document of zero size.
11796
11797 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11798
11799         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11800         approriately in the c-tor and in require().
11801         (getPackages): output the appropriate LaTeX for natbib support.
11802
11803         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11804         variables "use_natbib" and "use_numerical_citations" when reading the
11805         LyX file.
11806         (readInset): read the various natbib cite commands.
11807         (validate): white-space change.
11808
11809         * bufferparams.[Ch]: new variables "bool use_natbib" and
11810         "bool use_numerical_citations".
11811         (writeFile): output them in the LyX file.
11812
11813 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11814
11815         * lyxfunc.C (getStatus): add support for all the inset insertion
11816         commands.
11817
11818         * text2.C (insertInset):
11819         * paragraph.C (insetAllowed):
11820         * BufferView_pimpl.C (insertInset): update to take in account the
11821         renaming of insertInsetAllowed
11822
11823         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11824
11825         * text2.C (getInset): new method. returns inset at cursor position.
11826
11827         * BufferView_pimpl.C (Dispatch): changes because of this.
11828
11829         * LyXAction.C (init): rename open-stuff to inset-toggle.
11830
11831         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11832
11833         * text2.C (toggleInset): renamed from openStuff; use
11834         Inset::open().
11835
11836 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11837
11838         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11839
11840         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11841
11842 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11843
11844         * buffer.C (readLyXformat2): Add filename to the error dialog
11845
11846 2001-07-18  Juergen Vigna  <jug@sad.it>
11847
11848         * tabular.C (GetCellNumber): put an assert here instead of the check!
11849
11850 2001-07-17  Juergen Vigna  <jug@sad.it>
11851
11852         * BufferView_pimpl.C (toggleSelection): adapted too.
11853
11854         * text.C (selectNextWord): adapted for use with insets.
11855         (selectSelectedWord): ditto
11856
11857 2001-07-17  Juergen Vigna  <jug@sad.it>
11858
11859         * sp_spell.C (PSpell): fix initialitation order.
11860
11861 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * paragraph.C: spacing
11864
11865 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11866
11867         * sp_spell.C: repair language selection for pspell
11868
11869 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * lyxfunc.h: change more methods to begin with lower char.
11872
11873 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11874
11875         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11876         for unknown layouts.
11877
11878 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11879
11880         * buffer.C (readLyXformat2): Generate an error dialog if there are
11881         unknown layouts.
11882
11883 2001-07-16  Juergen Vigna  <jug@sad.it>
11884
11885         * sp_spell.C: always compile ISpell part.
11886
11887         * lyxrc.C: added use_pspell entry and it's handling.
11888
11889 2001-07-13  Juergen Vigna  <jug@sad.it>
11890
11891         * sp_spell.C: removed double includes.
11892
11893 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11894
11895         Consistent use of Lsstream.h:
11896         * Lsstream.h: added using std::stringstream for consistencies sake.
11897
11898         * buffer.C: removed using std::stringstream
11899
11900         * lyxfont.C (stateText):
11901         * paragraph.C (asString):
11902         * text.C (selectNextWord, selectSelectedWord):
11903         * text2.C (setCounter):
11904         * vspace.C (asString, asLatexString):
11905         std::ostringstream -> ostringstream.
11906
11907 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11908
11909         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11910         * commandtags.h: add LFUN_HELP_ABOUTLYX
11911         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11912
11913 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11914
11915         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11916         cursorToggle()
11917         * lyx_gui_misc.C: remove spellchecker
11918         * lyxfunc.C: showSpellchecker
11919         * sp_base.h: added
11920         * sp_ispell.h: added
11921         * sp_pspell.h: added
11922         * sp_spell.C: added
11923         * sp_form.[Ch]: removed
11924         * spellchecker.[Ch]: removed
11925
11926 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11927
11928         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11929         is set.
11930         (simpleTeXSpecialChars): Simply print the input character without
11931         any special translation if pass_thru is set.
11932
11933         * layout.h: Added bool pass_thru to layout class for being able to
11934         implement pass through of a paragraph for Literate Programming.
11935
11936         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11937         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11938         * layout.C (Read): add "passthru" to list of layout tags and add
11939         code to set the pass_thru boolean when it is read.
11940
11941 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * trans_decl.h: remove allowed from KmodInfo
11944
11945         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11946         remove allowed code
11947         (Load): adjust
11948
11949         * paragraph_pimpl.C (erase): use boost::prior
11950
11951         * Painter.C (text): use data() instead of c_str() when length is
11952         also provided.
11953         * WorkArea.C (putClipboard): ditto
11954         * font.h (width): ditto
11955
11956         * BufferView2.C: use it-> instead of (*it). for iterators
11957         * texrow.C: ditto
11958         * paragraph_pimpl.C: ditto
11959         * paragraph.C: ditto
11960         * minibuffer.C: ditto
11961         * language.C: ditto
11962         * kbmap.C: ditto
11963         * encoding.C: ditto
11964         * counters.C: ditto
11965         * converter.C: ditto
11966         * chset.C: ditto
11967         * Variables.C: ditto
11968         * TextCache.C: ditto
11969         * MenuBackend.C: ditto
11970         * LyXAction.C: ditto
11971         * LColor.C: ditto
11972         * FloatList.C: ditto
11973         * DepTable.C: ditto
11974         * ColorHandler.C (LyXColorHandler): ditto
11975
11976 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11977
11978         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11979
11980         * text2.C (openStuff): reintroduce this method (which had been
11981         nuked in NEW_INSETS frenzy).
11982
11983         * lyxfunc.C (Dispatch): when an action has not been handled, use
11984         its name in the error message, not its number.
11985
11986         * paragraph.C (inInset): change method name to begin with lowercase.
11987
11988         * undo_funcs.C:
11989         * text2.C: updates because of this.
11990
11991 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * ToolbarDefaults.C (add): add spaces in error message
11994
11995 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11998         (readLyXformat2): rename return_par to first_par, use lyxlex's
11999         pushToken and remove the manual push handling.
12000         (parseSingleLyXformat2Token): add another ert comp. variable:
12001         in_tabular, rename return_par to first_par. handle newlines better
12002
12003 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12004
12005         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12006
12007 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12008
12009         * text2.C (getParFromID): removed
12010
12011         * buffer.C (getParFromID): new method moved form lyxtext.
12012         * BufferView2.C (insertErrors): adjust
12013         (setCursorFromRow): adjust
12014         * BufferView_pimpl.C (restorePosition): adjust
12015         * lyxfunc.C (Dispatch): adjust
12016         * undo_funcs.C (textUndo): adjust
12017         (textRedo): adjust
12018         (textHandleUndo): adjust
12019         (textHandleUndo): adjust
12020
12021 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12022
12023         * buffer.C: up' the LYX_FORMAT
12024
12025         * lyxfont.h: turn NO_LATEX on as default
12026
12027         * buffer.C (insertErtContents): new methods of tex style compability.
12028         (parseSingleLyXformat2Token): use it several places.
12029         * tabular.C (OldFormatRead): and here
12030
12031 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * text2.C: remove some commented code.
12034         reindent file.
12035
12036         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12037         * trans.C: changes because of the above.
12038
12039 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12040
12041         * text2.C (setCounter): Fix counters bug with bibliography layout.
12042
12043 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12046         own member functions
12047         (simpleTeXSpecialChars): ditto
12048
12049 2001-07-06  Juergen Vigna  <jug@sad.it>
12050
12051         * a lot of files: changed the access to LyXText::status and the
12052         call of undo-functions.
12053
12054         * undo.[Ch]: added a inset_id to the undo informations.
12055
12056         * undo_funcs.[Ch]: added and moved here all undo functions.
12057
12058         * lyxtext.h: give the status enum a weight, made status_ a private
12059         variable and made accessor functions for it, removed the whole bunch
12060         of undo-functions as they are now in their own file, make some
12061         functions publically available. Added function ownerParagraph with
12062         int parameter.
12063
12064         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12065         made InInset() a const function, added getParFromID() function.
12066
12067         * buffer.[Ch]: added const version for inset_iterator functions,
12068         added getInsetFromID() function.
12069
12070         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12071         changed undo functions for new version.
12072
12073 2001-07-05  Juergen Vigna  <jug@sad.it>
12074
12075         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12076         unknow mechanism does not call the proper constructor but only this
12077         one also if I request the other!?
12078
12079 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12080
12081         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12082
12083         * text2.C (LyXText): use initialization lists.
12084
12085         * lyxtext.h (Selection): initialize set_ and mark_
12086         (init): remove method
12087
12088 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12089
12090         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12091
12092 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * screen.[Ch]: change method names to begin with lowercase
12095
12096         * BufferView_pimpl.C (updateScrollbar): simplify further and
12097         hopefully make it a bit faster.
12098
12099 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12100
12101         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12102         calling directly xforms functions.
12103
12104         * Painter.C (Painter):
12105         * lyx_cb.C (MenuWrite):
12106         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12107         fl_display.
12108
12109         * lyx_gui.C: remove bogus guiruntime extern declaration.
12110
12111 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12114         in NEW_INSETS
12115         (redoDrawingOfParagraph): ditto
12116         (redoParagraphs): ditto
12117         (cutSelection): don't create a object for CutAndPaste use the
12118         static method directly
12119         (pasteSelection): ditto
12120
12121         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12122         LyXview (+ rename)
12123
12124 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * modifications to some other files because of this.
12127
12128         * Makefile.am (lyx_SOURCES): add XFormsView
12129
12130         * XFormsView.[Ch]: new files
12131
12132         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12133         the main window. Move the gui dependent stuff to XFormsView
12134
12135 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12136
12137         * tabular.C (GetCellInset): update cur_cell also in the row/col
12138         version of this function.
12139
12140         * lyxfunc.C: no need to include figure_form.h here.
12141
12142         * FontLoader.h:
12143         * lyxfunc.h:
12144         * lyxscreen.h:
12145         * text2.C:
12146         * lyxvc.C: no need to include forms.h here.
12147
12148 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12149
12150         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12151
12152         * lyxfunc.C (Dispatch):
12153         * Spacing.C (set):
12154         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12155         constructor argument.
12156
12157 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * paragraph.C (Paragraph): dont't clear, and just set layout.
12160         (makeSameLayout): use params's copy contructor.
12161
12162         * ParagraphParameters.[Ch] (makeSame): delete method
12163
12164 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * Variables.[Ch]: fix indentation, rename set to isSet
12167
12168 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12169
12170         * lyxfunc.C (Dispatch): fix typo
12171
12172 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12173
12174         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12175         upper_bound.
12176
12177         * bufferlist.C: include assert.h for emergencyWrite().
12178
12179 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12182           give up at last (bug #425202) !
12183
12184 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * lyx_gui_misc.C:
12187         * sp_form.h:
12188         * sp_form.C:
12189         * spellchecker.h:
12190         * spellchecker.C: strip spellchecker options and bring up
12191           preferences tab instead
12192
12193 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12194
12195         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12196         the istringstream constructor
12197
12198 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12199
12200         * paragraph.C (getLayout): fix return value
12201
12202         * paragraph.h: do not declare getLayout as inline.
12203
12204         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12205
12206 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * lyxcursor.h (operator<): new func
12209         (operator>): new func
12210         (operator>=): new func
12211         (operator<=): new func
12212
12213         * text.C (changeCase): use selection.start and selection.end
12214         (changeRegionCase): require from to be <= to. Require par to be a
12215         valid paragraph.
12216
12217         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12218
12219 2001-06-27  Juergen Vigna  <jug@sad.it>
12220
12221         * text.C (cursorLeftOneWord): changed to return the cursor and added
12222         overlay with BufferView * parameter which calls this one.
12223         (getWord): added
12224         (selectWord): use new getWord function.
12225         (changeCase): renamed from changeWordCase as and extended to work
12226         also on selections.
12227
12228         * lyxtext.h: added enum word_location
12229
12230         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12231         changeCase as this operates now also on selections.
12232
12233 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12234
12235         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12236
12237         * many files: send debug output to Debug::INFO instead of
12238         Debug::ANY.
12239
12240         * converter.C (View):
12241         (Convert):
12242         (Move): send debug output to Debug::FILES instead of console.
12243
12244 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12245
12246         * lyxfunc.C (getStatus): use func_status
12247
12248         * func_status.h: new header, describing the results of
12249         LyXFunc::getStatus;
12250
12251         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12252         LFUN_MATH_HALIGN.
12253
12254 2001-06-25  The LyX Project  <jug@sad.it>
12255
12256         * buffer.C (sgmlOpenTag):
12257         (sgmlCloseTag):
12258         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12259
12260 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * text2.C: remove some dead code
12263
12264         * tabular.C (GetCellInset): store the last cell checked (gotten)
12265
12266         * tabular.h: add the helper for the speedup
12267
12268         * lyxtext.h: remove some dead code
12269
12270 2001-06-26  The LyX Project  <Asger>
12271
12272         * paragraph.C: Change export to LaTeX of alignment to
12273         \begin{center} and family for better roundtrip work with reLyX.
12274
12275         * Tune the math drawing a bit.
12276
12277 2001-06-25  The LyX Project  <Asger>
12278
12279         * LColor.C (LColor): New color for math background. New color
12280         for buttons.
12281
12282 2001-06-25  The LyX Project  <jug@sad.it>
12283
12284         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12285
12286         * lyxfunc.C (Open):
12287         * bufferlist.C (newFile): do not restrict to files ending with
12288         .lyx
12289
12290         * BufferView_pimpl.C (MenuInsertLyXFile):
12291
12292 2001-06-24  The LyX Project  <jug@sad.it>
12293
12294         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12295         of compare_no_case
12296
12297 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12298
12299         * lyxtext.h: rename most methods to begin with a small char.
12300         Lots of changes because of this.
12301
12302         * paragraph.C (Paragraph): do not call fitToSize
12303         (erase): call Pimpl::erase
12304         (insertChar): call Pimpl::insertChar
12305         (insertInset): call Pipl::insertInset
12306         (breakParagraph): do not call fitToSize
12307         (breakParagraphConservative): do not call fitToSize
12308         (fitToSize): remove method
12309
12310         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12311
12312 2001-06-24  The LyX Project  <Asger>
12313
12314         * Fix Qt compilation^2
12315
12316 2001-06-24  The LyX Project  <jug@sad.it>
12317
12318         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12319         depthHook(getDepth()-1).
12320
12321         * paragraph.h:
12322         * ParagraphParameters.h:
12323         * ParameterStruct.h: change type of depth to unsigned int ==
12324         depth_type. Many adaptations to other files before of that.
12325
12326 2001-06-24  The LyX Project  <Asger>
12327
12328         * Fix Qt compilation.
12329
12330 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * paragraph.h: renamed several methods to begin with small letter.
12333         several changes to many parts of the code because of this.
12334
12335 2001-06-23  The LyX Project  <jug@sad.it>
12336
12337         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12338         rewritten to discard all double spaces when KeepEmpty is off
12339         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12340         to only handle newlines but not fiddle with spaces and friends.
12341
12342         * lyxfunc.C (MenuNew): when doing 'new from template', use
12343         template_path as default directory
12344
12345 2001-06-23  The LyX Project  <Asger>
12346
12347         * Clean-up of header file includes all over
12348         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12349
12350 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12351
12352         * paragraph.h: renamed from lyxparagraph.h
12353
12354 2001-06-23  Asger  <lyx@violet.home.sad.it>
12355
12356         * Buffer.h: Removed Buffer::resize
12357         * BufferList.h: Removed BufferList::resize
12358         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12359         the document lazily when we change the width, or the font settings.
12360
12361 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12364
12365 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * buffer.h: remove out of date comment
12368
12369 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * lyxscreen.h:
12372         * screen.C: fix "theoretical" GC leak
12373
12374 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12375
12376         * LaTeX.C (scanAuxFile):
12377         (deplog): remove trailing \r when reading stream (useful under
12378         win32)
12379
12380 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12381
12382         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12383         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12384         and BufferView::theLockingInset(Inset*), so should use them and not
12385         access bv_->text->the_locking_inset directly.
12386
12387         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12388
12389 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * Makefile.am:
12392         * tex-defs.h: remove old unused file
12393
12394 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * BufferView_pimpl.C: fix typo, remove minibuffer message
12397           when buffer has loaded
12398
12399 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * lyxfunc.C (Dispatch): use stringstream
12402         (MenuNew): use stringstream
12403         (Open): use stringstream
12404
12405         * importer.C (Import): use stringstream
12406
12407         * bufferview_funcs.C (CurrentState): use stringstream
12408
12409         * LaTeX.C (run): use stringstream
12410
12411         * BufferView_pimpl.C (savePosition): use stringstream
12412         (restorePosition): use stringstream
12413         (MenuInsertLyXFile): use stringstream
12414
12415 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12416
12417         * BufferView.C:
12418         * Bullet.C:
12419         * ColorHandler.C:
12420         * FontInfo.C:
12421         * FontLoader.C:
12422         * LColor.C:
12423         * LaTeXFeatures.C:
12424         * Painter.C:
12425         * gettext.C:
12426         * lyx_gui_misc.C:
12427         * lyxserver.C:
12428         * vspace.C: removed // -*- C++ -*- as first line.
12429
12430         * lyxfind.h:
12431         * version.h: added // -*- C++ -*- as first line.
12432
12433 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12434
12435         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12436
12437         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12438         of string
12439
12440 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12443         of floats.
12444
12445 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12446
12447         * gettext.C: include LString.h even when --disable-nls is on.
12448
12449 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12450
12451         * converter.h (Get): changed argument type from int to
12452         FormatList::size_type to avoid unnecessary conversion.
12453
12454         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12455         before using it.
12456
12457 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12458
12459         * gettext.h: include LString.h even when --disable-nls is on.
12460
12461 2001-06-07  Juergen Vigna  <jug@sad.it>
12462
12463         * text.C (BreakAgain): subst spaces with tabs.
12464
12465         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12466         (resizeInsetsLyXText): set force on resizeLyXText.
12467
12468 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12469
12470         * gettext.h (gettext_init):
12471         (locale_init): use a real definition instead of a macro
12472
12473 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12474
12475         * Bufferview_pimpl.C:
12476         * LColor.h:
12477         * LColor.C: further lcolor tidies
12478
12479 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * BufferView_pimpl.C (updateScrollbar): simplify.
12482
12483         * BufferView2.C: don't include insets/insetinfo.h, change
12484         prototype for insertInset and call the Pimpl version. let
12485         updateInset call Pimpl version.
12486
12487         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12488         gotoInset to BufferView::Pimpl
12489
12490 2001-06-01  Juergen Vigna  <jug@sad.it>
12491
12492         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12493         inside a LockingInset (is the update needed at all?).
12494
12495 2001-05-31  Juergen Vigna  <jug@sad.it>
12496
12497         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12498         here not the old one otherwise how should we compare it afterwards
12499         if it's the same!
12500
12501 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12502
12503         * lyxfont.C:
12504         * tabular.C:
12505         * tabular-old.C:
12506         * FontInfo.C: bring C functions into global namespace when
12507         necessary
12508
12509 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12510
12511         * LString.h: make sure config.h has been loaded before LString.h.
12512
12513         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12514         (one for each char read by EatLine!).
12515
12516         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12517         variables.
12518
12519 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12520
12521         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12522         to the same as the par we break from
12523
12524 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12527
12528         * MenuBackend.C (expand): also create menu entries for wide
12529         versions of the floats.
12530
12531         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12532
12533         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12534
12535         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12536         frontends/Makefile.am
12537
12538         * text2.C: adjust
12539         * text.C: adjust
12540
12541
12542         * tabular.C (getTokenValue): add std::
12543
12544         * tabular-old.C (getTokenValue): add std::
12545         (getTokenValue): ditto
12546         (getTokenValue): ditto
12547
12548         * screen.C (ToggleSelection): adjust
12549
12550         * lyxtext.h: put selection cursors inside a Selection struct.
12551
12552         * lyxfunc.C (moveCursorUpdate): adjust
12553
12554         * lyxfont.C (latexWriteStartChanges): add std::
12555
12556         * lyxfind.C: adjust
12557
12558         * font.h: delete with(char const *, LyXFont const &)
12559
12560         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12561
12562         * FontInfo.C (getFontname): add std::
12563
12564         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12565         (workAreaButtonPress): adjust
12566         (tripleClick): adjust
12567         (update): adjust
12568         (moveCursorUpdate): adjust
12569         (Dispatch): adjust
12570
12571         * BufferView2.C (gotoInset): adjust
12572
12573 2001-05-30  Juergen Vigna  <jug@sad.it>
12574
12575         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12576         to check pspell I add this as default as I now have new pspell
12577         libraries and they seem to use this.
12578
12579 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * text2.C (CutSelection): make the cursor valid before the call to
12582         ClearSelection.
12583
12584 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12585
12586         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12587         relied on 0 terminated strings and other horrors. Bug found due to
12588         the new assert in lyxstring!
12589
12590         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12591         KP_ keys.
12592
12593 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12596         to latinkeys.bind.
12597
12598         * lyxfunc.C (processKeySym): change method of getting to the
12599         self-insert char.
12600
12601         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12602         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12603         * BufferView_pimpl.[Ch]: here as private methods.
12604
12605 2001-05-28  Juergen Vigna  <jug@sad.it>
12606
12607         * text.C (SetHeightOfRow): added the update() call again as it is
12608         needed to initialize inset dimensions!
12609
12610 2001-05-16  Juergen Vigna  <jug@sad.it>
12611
12612         * text2.C (SetCharFont): Add new function with BufferView * and
12613         bool toggleall parameters for setting insets internal fonts.
12614         (SetFont): Freeze the undo as we may change fonts in Insets and
12615         all this change should be inside only one Undo!
12616
12617         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12618         setting font's in insets as for them we have the SetFont function!
12619
12620 2001-05-15  Juergen Vigna  <jug@sad.it>
12621
12622         * text2.C (ClearSelection): to be sure we REALLY don't have any
12623         selection anymore!
12624
12625         * tabular.C (TeXCellPreamble): fixed the left border problem for
12626         multicolumn cells.
12627
12628 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12629
12630         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12631         dependancy file
12632
12633 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12636         LFUN_BREAKPARAGRAPH.
12637
12638         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12639         help test to "internal only", similar for LFUN_INSERT_URL
12640
12641         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12642         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12643         auto_region_delete and deadkeys.
12644
12645 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * LColor.h:
12648         * LColor.C: remove some dead entries, tidy a little
12649
12650 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12653         commented code.
12654         (Dispatch): implement LFUN_ESCAPE
12655
12656         * commandtags.h: add LFUN_ESCAPE
12657
12658         * LyXAction.C (init): add entry for LFUN_ESCAPE
12659
12660         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12661         Remove commented code.
12662         (insertNote): moved here
12663         (open_new_inset): moved here
12664
12665         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12666         BufferView_pimpl
12667
12668 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12669
12670         * kbmap.C (findbinding): clean it up and make it work correctly.
12671
12672         * lyx_main.C (init): do not pass argc and argv as parameters
12673
12674 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12675
12676         * buffer.C: fix path for OS/2 & Win32
12677
12678         * lyx_gui.C:
12679         * lyx_main:
12680         * lyx_main.C: Added os:: class.
12681
12682         * os2_defines.h: update
12683
12684 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12687         better by trying again with reduced state.
12688
12689 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12690
12691         * lyxrc.C (read): print error about invalid key sequence only when
12692         debugging (because not all latinX keysyms are known to some X
12693         servers)
12694
12695         * kbsequence.C (getiso): add a few std:: qualifiers
12696         (getiso): comment out extra return statement.
12697
12698 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12699
12700         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12701         handling.
12702         (Dispatch): enhance the accent inset a bit. (not perfect)
12703
12704 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12705
12706         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12707
12708 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12709
12710         * bufferlist.C (emergencyWrite): fix assert() call
12711
12712 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12713
12714         * text.C (InsertChar): Added trivial patch to only send the "you
12715         can not do multiple spaces this way" message once during a
12716         session.
12717
12718 2001-05-08  Baruch Even  <baruch@lyx.org>
12719
12720         * Makefile.am: Changed order of libraries to get LyX to link properly
12721         with the gnome frontend.
12722
12723 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12724
12725         * LaTeXFeatures.h: add a std:: qualifier
12726
12727 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * paragraph.C (String): use stringstream
12730
12731 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * paragraph.C (writeFile): remove footflag arg
12734
12735         * buffer.C (makeLaTeXFile): use stringstream
12736         (latexParagraphs): remove footnot gurba
12737
12738         * LaTeXFeatures.C (getPackages): use stringstream
12739         (getMacros): likewise
12740         (getTClassPreamble): likewise
12741         (getFloatDefinitions): new method
12742
12743         * paragraph.C (writeFile): reindent
12744         (Erase): reindent
12745
12746         * WorkArea.h: revert the xpos + etc changes.
12747
12748         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12749
12750         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12751
12752         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12753         (pasteSelection): likewise
12754         * text2.C (CreateUndo): likewise
12755
12756 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12757
12758         * minibuffer.C (peek_event): temporarily reduce the functionality
12759         of the minibuffer (to allow args on lfuns)
12760
12761         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12762         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12763
12764         * buffer.C (readInset): add compability reading of old float
12765         lists, add reading of new style float list.
12766         (readInset): avoid reevaluation of inscmd.getCmdName()
12767         (getLists): reindent
12768
12769         * MenuBackend.C (MenuItem): implement parsing of
12770         md_floatlistinsert and md_floatinsert.
12771         (expand::LastFiles): move initalizaton of iterators out of loop,
12772         avoid reevaluation.
12773         (expand::Documents): introduce typdedef vector<string> Strings,
12774         and use it.
12775         (expand::ExportFormats): introduce typedef vector<Format const *>
12776         Formats, and use it.
12777         (expand): implement FloatListInsert and FloatInsert.
12778
12779         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12780         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12781         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12782
12783         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12784         handling.
12785         (Dispatch::LFUN_FLOAT_LIST): implement
12786
12787 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12788
12789         * LaTeX.C (run): Fix problem with --export code.
12790
12791 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12792
12793         * BufferView.[Ch] (workarea): removed.
12794         (getClipboard) new method; wrapper for workarea()->getClipboard()
12795
12796         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12797         bug.
12798
12799         * WorkArea.h (width, height, xpos, ypos): These methods all
12800         returned the dimensions of the work_area sub-area of WorkArea,
12801         resulting in a position error if the WorkArea were resized. Now
12802         return the dimensions of the entire WorkArea.
12803
12804         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12805
12806 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12807
12808         * LaTeX.C (deplog): correct the syntax of regex reg1
12809
12810 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * undo.C: remove !NEW_INSETS cruft
12813
12814 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * text2.C: remove !NEW_INSETS cruft
12817
12818         * text.C: remove !NEW_INSETS cruft
12819
12820         * tabular.C: remove !NEW_INSETS cruft
12821
12822         * spellchecker.C: remove !NEW_INSETS cruft
12823
12824         * lyxtext.h: remove !NEW_INSETS cruft
12825
12826         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12827
12828         * lyxfunc.C: remove !NEW_INSETS cruft
12829
12830         * lyxfind.C: remove !NEW_INSETS cruft
12831
12832         * lyx_cb.C: remove !NEW_INSETS cruft
12833
12834         * figureForm.C: remove  !NEW_INSETS cruft
12835
12836         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12837
12838         * buffer.[Ch]: remove !NEW_INSETS cruft
12839
12840         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12841
12842         * CutAndPaste.C: remove !NEW_INSETS cruft
12843
12844         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12845
12846         * BufferView2.C: remove !NEW_INSETS cruft
12847
12848         * BufferView.h: remove !NEW_INSETS cruft
12849
12850 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12851
12852         * Lsstream.h: include LString.h before the sstream headers to
12853         fix problem with gcc 2.95.3 and lyxstring
12854
12855 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12856
12857         * lyx_main.C: add using directives when needed for C functions
12858         declared in std:: namespace.
12859
12860 2001-04-27  Juergen Vigna  <jug@sad.it>
12861
12862         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12863         (SetHeightOfRow): comment out the update call should not be needed!
12864
12865 2001-04-13  Juergen Vigna  <jug@sad.it>
12866
12867         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12868         (LyXTabular): tried to minimize operator= operations (and realized
12869         hopfully Lars wish).
12870
12871 2001-04-27  Juergen Vigna  <jug@sad.it>
12872
12873         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12874
12875 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12876
12877         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12878
12879         * buffer.C (readInset): hack to make listof algorithm work
12880
12881         * BufferView_pimpl.C: hack to make listof algorithm work
12882
12883 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * LyXAction.C: removed all !NEW_INSETS cruft
12886         (init): moved lfun_item in method
12887
12888         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12889
12890 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * BufferView2.C (theLockingInset): white space.
12893
12894 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * minibuffer.C: include <iostream>
12897
12898         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12899
12900         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12901
12902         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12903
12904         * text.[Ch] (TransposeChars): new method
12905
12906 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12907
12908         * call message directly through LyXView instead of through LyXFunc
12909         * BufferView2.C: adjust
12910         * BufferView_pimpl.C: adjust
12911         * FontLoader.C: adjust
12912         * buffer.C: adjust
12913         * bufferview_funcs.C: adjust
12914         * converter.C: adjust
12915         * figureForm.C: adjust
12916         * importer.C: adjust
12917         * lyx_cb.C: adjust
12918         * lyx_gui_misc.C: adjust
12919         * lyxfunc.C: adjust
12920         * lyxvc.C: adjust
12921         * text2.C: adjust
12922         + more files in subdirs
12923
12924         * lyxparagraph.h (size): move up int file
12925         (GetLayout): ditto
12926
12927         * adjust all uses of Assert to lyx::Assert.
12928
12929         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12930         lyxfunctional in namespace lyx
12931         * layout.C (hasLayout): ditto
12932         (GetLayout): ditto
12933         (GetLayout): ditto
12934         (delete_layout): ditto
12935         (NumberOfClass): ditto
12936         * converter.C (GetFormat): ditto
12937         (GetNumber): ditto
12938         (Add): ditto
12939         (Delete): ditto
12940         (SetViewer): ditto
12941         * bufferlist.C (getFileNames): ditto
12942         (emergencyWriteAll): ditto
12943         (exists): ditto
12944         (getBuffer): ditto
12945         * MenuBackend.C (hasSubmenu): ditto
12946         (hasMenu): ditto
12947         (getMenu): ditto
12948         * BufferView_pimpl.C (getInsetByCode): ditto
12949
12950 2001-04-18  Juergen Vigna  <jug@sad.it>
12951
12952         * vspace.C (asLatexString): fixed the 100% problem.
12953
12954 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12955
12956         * lyxfunc.C (Dispatch):
12957         * minibuffer.C:
12958         * minibuffer.h: add a few std:: qualifiers
12959
12960 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12961
12962         * minibuffer.[Ch]: reimplement so that commands is initiated and
12963         run from lyxfunc, simplified som handling, and made the completion
12964         and history code for complete. wip.
12965
12966         * lyxfunc.C (processKeySym): call message
12967         (miniDispatch): new temporary method
12968         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12969         (LFUN_MESSAGE): implement
12970         (LFUN_MESSAGE_PUSH): implement
12971         (LFUN_MESSAGE_POP): implement
12972         (initMiniBuffer): the initial/defualt minibuffer message.
12973
12974         * lyxfont.[Ch]: inline some more getters
12975
12976         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12977
12978         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12979
12980         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12981         (AutoSave): use LFUN_MESSAGE
12982         (Reconfigure): ditto
12983
12984         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12985
12986         * figureForm.C: use LFUN_MESSAGE
12987
12988         * converter.C (runLaTeX): use LFUN_MESSAGE
12989
12990         * bufferview_funcs.C: use LFUN_MESSAGE
12991         (Melt): ditto
12992         (changeDepth): ditto
12993
12994         * bufferparams.h: use boost::
12995
12996         * bufferlist.h: inherit privately from noncopyable
12997
12998         * bufferlist.C (loadLyXFile): remove some commented code.
12999
13000         * buffer.C (runChktex): use LFUN_MESSAGE
13001
13002         * ShareContainer.h: inherit privately from noncopyable
13003
13004         * ParagraphParameters.[hC] (depth): inline it.
13005
13006         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13007         methods.
13008         (message): new method
13009         (messagePush): ditto
13010         (messagePop): ditto
13011         (show): init minibuffer
13012         (showState): direct call
13013
13014         * LaTeX.[Ch]: inherit privately from noncopyable
13015         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13016         instead of WriteStatus.
13017
13018         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13019
13020         * BufferView_pimpl.C (buffer): don't init minibuffer
13021         (workAreaButtonPress): use LFUN_MESSAGE
13022         (workAreaButtonRelease): ditto
13023         (savePosition): ditto
13024         (restorePosition): ditto
13025         (MenuInsertLyXFile): ditto
13026         (workAreaExpose): don't init minibuffer
13027         (update): remove commented code, simplify
13028
13029         * BufferView2.C (openStuff): use LFUN_MESSAGE
13030         (toggleFloat): ditto
13031         (menuUndo): ditto
13032         (menuRedo): ditto
13033         (copyEnvironment): ditto
13034         (pasteEnvironment): ditto
13035         (copy): ditto
13036         (cut): ditto
13037         (paste): ditto
13038         (gotoInset): ditto
13039         (updateInset): remove some commented code
13040
13041         * lastfiles.h: inherit privately from noncopyable
13042         * layout.h: ditto
13043         * lyx_gui.h: ditto
13044         * lyx_main.h: ditto
13045         * lyxlex.h: ditto
13046         * lyxlex_pimpl.h: ditto
13047
13048         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13049         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13050         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13051
13052         * LyXAction.h: inherit privately from noncopyable, add methods
13053         func_begin, func_end, returning iterators to the func map.
13054
13055         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13056         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13057         (func_begin): new method
13058         (func_end): new method
13059
13060         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13061         and not)
13062         (copySelection): ditto
13063         (pasteSelection): ditto
13064
13065         * BufferView.C: whitespace change
13066         * BufferView.h: inherit privately from noncopyable
13067
13068 2001-04-16  Allan Rae  <rae@lyx.org>
13069
13070         * tabular-old.C (l_getline):
13071         * spellchecker.C (sc_check_word):
13072         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13073         an unrecognised preprocessor directive.  So ensure they're wrapped.
13074
13075 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13076
13077         * src/exporter.C (Export): Give an error message when path to file
13078         contains spaces.
13079
13080 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13081
13082         * LaTeX.C (deplog): Always check that foundfile exists.
13083
13084 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13085
13086         * lyx_main.h:
13087         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13088
13089 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * tabular.[Ch] (getLabelList): implement new method
13092
13093         * minibuffer.h: comment ouf setTiimer
13094
13095         * minibuffer.C (ExecutingCB): constify res
13096         (peek_event): constify s
13097         (Set): constify ntext
13098         (Init): constify nicename
13099
13100         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13101
13102         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13103         (savePosition): use two params to Minibuffer::Set
13104         (restorePosition): ditto
13105
13106 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * lyx_main.C: include language.h
13109
13110         * Makefile.am (lyx_main.o): add language.h
13111
13112 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * exporter.C:
13115         * paragraph.C:
13116         * screen.C:
13117         * tabular.C:
13118         * CutAndPaste.C: include gettext.h
13119
13120         * lyxfont.h: remove old hack with ON and OFF.
13121
13122         * lyxparagraph.h:
13123         * lyxfont.h: do not include language.h...
13124
13125         * BufferView2.C:
13126         * LaTeXFeatures.C:
13127         * Painter.C:
13128         * bufferview_funcs.C:
13129         * font.C:
13130         * lyxfont.C:
13131         * text.C:
13132         * text2.C:
13133         * trans_mgr.C:
13134         * paragraph.C: ... but do it here instead
13135
13136 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13139
13140         * tabular.C: small reformat
13141
13142         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13143         NEW_INSETS version
13144         (GetChar): ditto
13145         (BreakParagraph): ditto
13146         (SetOnlyLayout): ditto
13147         (SetLayout): ditto
13148
13149         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13150         with one arg less.
13151
13152         * lastfiles.C: removed most using decl, add std:: where needed
13153
13154         * buffer.C: ws changes
13155
13156         * MenuBackend.C (class compare_format): put into anon namespace
13157         (expand): constify label, names, action, action2
13158         (expand):
13159
13160         * text.C (SingleWidth): constify font
13161         (IsBoundary): constify rtl2
13162         (GetVisibleRow): constify ww
13163
13164         * LaTeX.C (deplog): constify logfile
13165
13166         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13167         start_x, end_x
13168         (workAreaExpose): constify widthChange, heightChange
13169
13170         * lyxrow.C (par): moved
13171         (height): moved
13172         (next): moved
13173         * lyxrow.h: as inlines here
13174
13175         * lyxfont.h (shape): moved from lyxfont.C
13176         (emph): moved from lyxfont.C
13177
13178         * lyxfont.C (LyXFont): use initialization list for all
13179         constructors
13180         (shape): move to lyxfont.h as inline
13181         (emph): move to lyxfont.h as inline
13182
13183
13184 2001-04-04  Juergen Vigna  <jug@sad.it>
13185
13186         * vspace.C: had to include stdio.h for use of sscanf
13187
13188 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * BufferView.h:
13191         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13192         independent of xforms.
13193
13194 2001-04-02  Juergen Vigna  <jug@sad.it>
13195
13196         * spellchecker.C: fixed namespace placing!
13197
13198 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13199
13200         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13201         the LyXParagraph * is 0.
13202
13203 2001-03-29  Juergen Vigna  <jug@sad.it>
13204
13205         * vspace.C: added support for %, c%, p%, l%.
13206         (stringFromUnit): added helper function.
13207         (asLatexString): changed to give right results for the %-values.
13208
13209         * buffer.C: convert the widthp in a width%.
13210
13211 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13212
13213         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13214         figureForm.[Ch].
13215
13216         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13217         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13218
13219         * lyx_cb.[Ch]: see above.
13220
13221         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13222         form1.[Ch].
13223
13224         * form1.[Ch]:
13225         * lyx.[Ch]: replaced by figure_form.[Ch].
13226
13227         * lyx_gui.C:
13228         * lyx_gui_misc.C:
13229         * lyxfunc.C: changed headers associated with above changes.
13230
13231 2001-03-27  Juergen Vigna  <jug@sad.it>
13232
13233         * BufferView_pimpl.C: set the temporary cursor right!
13234
13235 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13236
13237         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13238
13239 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * LString.h: removed "using std::getline"!
13242
13243         * BufferView_pimpl.C (Dispatch): changes due to changes in
13244         InsetInclude::Params.
13245
13246         * buffer.C (tag_name): removed redundant break statements as they were
13247         producing lots of warnings with my compiler.
13248
13249 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13250
13251         * LString.h: add "using std::getline" when using the real <string>.
13252
13253 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13254
13255         * buffer.C: removed bitset usage.
13256         PAR_TAG moved to an anonymous name space.
13257         (tag_name): new funtion, also in the anonymous namespace.
13258         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13259         (makeDocBookFile): clean code. Completed transition from string arrays
13260         to string vectors.
13261         (SimpleDocBookOnePar): code clean.
13262
13263 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13264
13265         * tabular.C: add some comments.
13266
13267 2001-03-22  Juergen Vigna  <jug@sad.it>
13268
13269         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13270         compatibility read a bit and fixed bug with minipage in different
13271         depth.
13272
13273 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13274
13275         * buffer.C (pop_tag): removed.
13276         (push_tag): removed.
13277         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13278         array replaced with vector. Added support for CDATA sections.
13279         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13280         at any nest level.
13281         (makeDocBookFile): XML conformant declaration of CDATA section,
13282         fixed bug related to <emphasis> in the first paragraph char.
13283         (sgmlOpenTag): exclude empty tags.
13284         (sgmlCloseTag): ditto.
13285
13286         * buffer.h (pop_tag): removed.
13287         (push_tag): removed.
13288
13289 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13290
13291         * language.h (Languages): added size_type and size().
13292
13293 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13294
13295         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13296         response on compability reading of minipages. One probliem is that
13297         the old usage of minipages was «flertydig»
13298
13299         * several files here and in subdirs: don't use static at file
13300         scope use anon namespaces instead.
13301
13302 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13303
13304         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13305         LaTeX output. This is necessary for Literate document
13306         processing.
13307
13308 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13309
13310         * buffer.C: insert hfill when needed.
13311
13312         * tabular.C (l_getline): use string::erase, small whitespace change.
13313
13314         * BufferView_pimpl.C: try the anon namespace.
13315         * WorkArea.C: ditto
13316
13317 2001-03-16  Juergen Vigna  <jug@sad.it>
13318
13319         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13320         otherwise it won't open options-dialogs.
13321
13322         * buffer.C: honor pextraWidth(p) on converting minipages.
13323
13324         * tabular.C (l_getline): changed the functions to strip trailing \r.
13325
13326 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13327
13328         * BufferView_pimpl.C:
13329         * minibuffer..C: added "using SigC::slot" declaration.
13330
13331 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13332
13333         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13334
13335         * text2.C: ditto
13336
13337         * text.C: ditto
13338
13339         * paragraph.C: ditto
13340
13341         * lyxtext.h: NO_PEXTRA
13342
13343         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13344
13345         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13346         * ParameterStruct.h: ditto
13347         * ParagraphParameters.h: ditto
13348         * lyxparagraph.h: ditto
13349
13350 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13351
13352         * buffer.C: add compability for minipage alignment.
13353         (latexParagraphs): remove unwanted pextra check.
13354
13355         * several files: remove CXX_WORKING_NAMESPACES
13356
13357         * buffer.C (pop_tag): tie is in namespace boost
13358
13359         * BufferView.h: noncopyable is in namespace boost
13360         * lyxlex.h: ditto
13361         * lyx_main.h: ditto
13362         * lyx_gui.h: ditto
13363         * layout.h: ditto
13364         * lastfiles.h: ditto
13365         * bufferlist.h: ditto
13366         * ShareContainer.h: ditto
13367         * LyXView.h: ditto
13368         * LyXAction.h: ditto
13369         * LaTeX.h: ditto
13370
13371 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13372
13373         * Merging changes from BRANCH_MVC back into HEAD.
13374
13375         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13376
13377 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13378
13379         * BufferView_pimpl.C: change from intl.C
13380
13381         * combox.h:
13382         * combox.C:
13383         * Makefile.am: move combox.*
13384
13385         * form1.h:
13386         * form1.C:
13387         * lyx_gui.C:
13388         * intl.h:
13389         * intl.C: remove dialog (covered by prefs)
13390
13391 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13392
13393         * lyxfunc.C (Dispatch): removed redundant break statement.
13394
13395 2001-03-14  Juergen Vigna  <jug@sad.it>
13396
13397         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13398
13399 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13400
13401         * buffer.C: add hack to fix compability reading of minipages.
13402
13403 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13404
13405         * buffer.C (getLists): Cleanup.
13406
13407 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * lyxfont.C (update): don't honor toggleall on font size.
13410
13411 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13412
13413         * bmtable.c:
13414         * bmtable.h:
13415         * Makefile.am: moved to frontends/xforms/
13416
13417         * lyx_gui_misc.C:
13418         * lyxfunc.C:
13419         * BufferView_pimpl.C: changes for moved mathpanel
13420
13421 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13422
13423         * gettext.h: fix gettext_init() in --disable-nls
13424
13425 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13428
13429 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13430
13431         * lyx.C:
13432         * lyx.h: strip external form
13433
13434 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13435
13436         * BufferView_pimpl.C: add comment, destroySplash()
13437
13438 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13439
13440         * BufferView_pimpl.C:
13441         * LyXAction.C:
13442         * buffer.C:
13443         * commandtags.h:
13444         * lyxfunc.C: use re-worked insetinclude
13445
13446 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13447
13448         * buffer.C: add using std::stringstream.
13449
13450         * lyx_cb.C: readd using std::ios.
13451
13452         * buffer.C: add using std::map.
13453
13454         * BufferView_pimpl.C: add using std::vector.
13455
13456         * ShareContainer.h: add std:: to swap.
13457
13458         * buffer.h: add some typedefs
13459         * buffer.C (getLists): use them
13460         (getLists): renamed from getTocList.
13461         add a counter for the different float types and use it in the
13462         generated string.
13463         (getLists): use the same counter for the NEW_INSETS and the "non"
13464         NEW_INSETS
13465
13466         * lyx_cb.h: remove unused items, includes, using etc.
13467
13468         * ShareContainer.h: remove some commented code, add more comments
13469         and "documentation".
13470
13471 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13472
13473         * buffer.C (getTocList): make the list also when NEW_INSETS is
13474         defined.
13475
13476         * buffer.h: remove TocType
13477
13478         * buffer.C (getTocList): change to return a map<string,
13479         vector<TocItem> >, implement for dynamic number of list.
13480
13481         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13482         * text2.C (PasteSelection): adjust
13483         * CutAndPaste.C (pasteSelection): adjust
13484
13485         * FloatList.C (FloatList): update from the new_insets branch.
13486         * Floating.[Ch]: ditto
13487         * LaTeXFeatures.C: ditto
13488         * buffer.C: ditto
13489         * lyxlex_pimpl.C: ditto
13490
13491         * paragraph.C (Last): remove when NEW_INSETS is defined.
13492
13493         * other file: changes because of the above.
13494
13495 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13496
13497         * lyxparagraph.h: rename next to next_, previous to previous_,
13498         make them private for NEW_INSETS. Rename Next() to next(),
13499         Previous() to previous().
13500
13501         * other files: changes because of the above.
13502
13503 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13504
13505         * BufferView.h:
13506         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13507         problem.
13508
13509 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13510
13511         * main.C (main): pass lyx_localedir to gettext_init().
13512
13513         * gettext.h: remove locale_init and gettext_init macros
13514
13515         * gettext.C (locale_init): new function
13516         (gettext_init): new function
13517
13518         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13519         setlocale().
13520
13521 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13522
13523         * Moved credits to frontends:
13524         * credits.[Ch]: removed
13525         * credits_form.[Ch]: removed
13526         * lyx_gui_misc.C: remove credits stuff
13527         * Makefile.am:
13528
13529 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13530
13531         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13532
13533         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13534         unneeded destructor.
13535
13536         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13537         a standalone pointer again.
13538
13539         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13540
13541 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * Makefile.am:
13544         * filedlg.h:
13545         * filedlg.C:
13546         * LyXAction.C:
13547         * ToolbarDefaults.C:
13548         * bufferlist.C:
13549         * commandtags.h:
13550         * form1.C:
13551         * form1.h:
13552         * lyx_cb.C:
13553         * lyx_cb.h:
13554         * lyxfunc.h:
13555         * lyxfunc.C:
13556         * BufferView_pimpl.C: use new file dialog in GUII
13557
13558         * lyx_cb.h:
13559         * lyx_cb.C: remove LayoutsCB to Toolbar
13560
13561 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13562
13563         * ShareContainer.h (get): add std:: qualifier
13564
13565 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13566
13567         * ShareContainer.h: define a proper ShareContainer::value_type
13568         type (and use typename to please compaq cxx)
13569
13570 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13571
13572         * lyxparagraph.h: move serveral local vars to
13573         ParameterStruct/ParagraphParameters., use ShareContainer in
13574         FontTable., make vars in FontTable private and add getter and
13575         setter.
13576
13577         * paragraph.C: changes because of the above.
13578
13579         * lyxfont.h: remove copy constructor and copy assignment. (the
13580         default ones is ok), move number inside FontBits. move inlines to
13581         lyxfont.C
13582
13583         * lyxfont.C: add number to initializaton of statics, move several
13584         inlines here. constify several local vars. some whitespace
13585         cleanup. Dont hide outerscope variables.
13586
13587         * Spacing.h: add two new constructors to match the set methods.
13588
13589         * ShareContainer.h: new file, will perhaps be moved to support
13590
13591         * ParameterStruct.h: new file
13592
13593         * ParagraphParameters.h: new file
13594
13595         * ParagraphParameters.C: new file
13596
13597         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13598         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13599
13600         * BufferView_pimpl.C: ParagraphParameter changes.
13601         * buffer.C: Likewise.
13602         * bufferview_funcs.C: Likewise.
13603         * text.C: Likewise.
13604         * text2.C: Likewise.
13605
13606 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13607
13608         * lyxfind.C (LyXReplace): do not redefine default argument in
13609         implementation.
13610         (IsStringInText): ditto
13611         (SearchForward): ditto
13612         (SearchBackward): ditto
13613
13614 2001-03-06  Juergen Vigna  <jug@sad.it>
13615
13616         * lyxfind.C (IsStringInText): put parentes around expressions.
13617
13618 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13619
13620         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13621
13622 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13623
13624         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13625
13626         * stl_string_fwd.h: add comment
13627
13628         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13629
13630         * tabular.h:
13631         * tabular.C: remove unused DocBook methods
13632
13633         * intl.C:
13634         * language.C:
13635         * paragraph.C:
13636         * buffer.C:
13637         killed DO_USE_DEFAULT_LANGUAGE
13638
13639 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * lyx_gui.C: do not include language.h.
13642
13643         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13644         arguments in function implementation.
13645
13646 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13647
13648         * BufferView_pimpl.C: add <ctime>
13649
13650 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13651
13652         * BufferView_pimpl.C: add using std::find_if
13653
13654 2001-02-27  José Matos  <jamatos@fep.up.pt>
13655
13656         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13657         by OnlyPath.
13658
13659 2001-02-11  José Matos  <jamatos@fep.up.pt>
13660
13661         * buffer.C (makeDocBookFile): command styles now have a parameter as
13662         "title" by default.
13663
13664 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13665
13666         * layout_forms.[Ch]: removed
13667         * lyx_cb.[Ch]: out character
13668         * lyx_gui.C: out character
13669         * lyx_gui_misc.C: out character
13670         * bufferview_funcs.C: : out character,
13671         added toggleall as parameter in ToggleAndShow
13672
13673 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13674
13675         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13676
13677         * text2.C (SetCurrentFont): Disable number property at boundary.
13678
13679 2001-02-26  Juergen Vigna  <jug@sad.it>
13680
13681         * lyxfunc.C (getStatus): added a string argument override function so
13682         that this is correctly called from LyXFunc::Dispatch if it contains a
13683         do_not_use_argument which is used!
13684         (Dispatch): added check for "custom" export and call appropriate func.
13685
13686 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13687
13688         * lyxrc.C: Add language_command_local, language_use_babel and
13689         language_global_options.
13690
13691         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13692
13693         * buffer.C (makeLaTeXFile): Use language_use_babel and
13694         language_global_options.
13695
13696 2001-02-23  Juergen Vigna  <jug@sad.it>
13697
13698         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13699         which works with LyXText and putted it inside BufferView. Here now we
13700         only call for that part the BufferView::Dispatch() function.
13701
13702         * BufferView.C (Dispatch): added.
13703
13704         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13705         functions which needs to use a LyXText over from LyXFunc.
13706         (MenuInsertLyXFile): added
13707         (getInsetByCode): added
13708         (moveCursorUpdate): added
13709         (static TEXT): added
13710
13711 2001-02-22  Juergen Vigna  <jug@sad.it>
13712
13713         * BufferView_pimpl.C (update): call a status update to see if LyXText
13714         needs it.
13715
13716 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13717
13718         * vc-backend.C (revert): implement for CVS
13719         (getLog): implement for CVS
13720
13721 2001-02-20  Juergen Vigna  <jug@sad.it>
13722
13723         * text2.C (ClearSelection): added BufferView param for inset_owner call
13724
13725         * lyxfunc.C (TEXT): added this function and use it instead of
13726         directly owner->view()-text of getLyXText().
13727
13728 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13729
13730         * src/layout_forms.C: out preamble
13731         * src/layout_forms.h: out preamble
13732         * src/lyx_cb.C: out preamble
13733         * src/lyx_cb.h: out preamble
13734         * src/lyx_gui.C: out preamble
13735         * src/lyx_gui_misc.C: out preamble
13736         * src/lyxfunc.C: connect with guii preamble
13737
13738 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13739
13740         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13741
13742 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13743
13744         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13745         whether to run bibtex.
13746
13747 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13748
13749         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13750
13751 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13752
13753         * Makefile.am (lyx_SOURCES): removed bibforms.h
13754
13755         * vspace.h: doxygen
13756
13757         * text.C (GetVisibleRow): make several local vars const
13758
13759         * tabular.C: small cleanup.
13760
13761         * lyxserver.C (callback): use compare instead of strncmp
13762
13763         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13764         inlines to after class or to paragraph.C
13765
13766         * lyxfont.h: remove friend operator!=
13767
13768         * converter.h: move friend bool operator< to non friend and after
13769         class def.
13770
13771         * combox.h: small cleanup
13772
13773         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13774         to inlines after class def.
13775
13776         * buffer.C (pop_tag): use string operations instead of strcmp
13777
13778         * bmtable.c: doxygen, small cleanup
13779
13780         * LaTeX.h: remove friend operator==
13781
13782 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13783
13784         * screen.C:
13785         * lyxrc.[Ch]:
13786         * lyxfunc.C:
13787         * lyxfont.[Ch]:
13788         * lyx_cb.C:
13789         * intl.[Ch]:
13790         * commandtags.h:
13791         * buffer.C:
13792         * WorkArea.[Ch]:
13793         * LyXAction.C:
13794         * BufferView_pimpl.C:
13795         * BufferView.[Ch]: remove cruft
13796
13797 2001-02-14  Juergen Vigna  <jug@sad.it>
13798
13799         * lyxfunc.C: removed #if 0 unused code
13800
13801         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13802
13803         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13804
13805         * text2.C (SetSelection): added a BufferView * parameter
13806
13807 2001-02-13  Juergen Vigna  <jug@sad.it>
13808
13809         * lyxfunc.C (Dispatch): fixed protected blank problem.
13810         * BufferView2.C (protectedBlank): added LyxText * parameter.
13811
13812         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13813         (AppendColumn): same as above for column_info.
13814
13815         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13816         (moveCursorUpdate): use a LyXText param for support of InsetText.
13817
13818         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13819         (tripleClick): ditto
13820
13821         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13822
13823         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13824
13825         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13826
13827         * text2.C (SetSelection): set correct update status if inset_owner
13828         (ToggleFree): ditto
13829
13830 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13831
13832         * tabular.C: remove some commented code.
13833
13834 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13835
13836         * BufferView_pimpl.C: call hideSplash()
13837
13838         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13839
13840         * include_form.h:
13841         * bibforms.h: remove
13842
13843         * lyxfunc.C:
13844         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13845           add LFUN_CHILD_CREATE
13846
13847         * counters.h: fix tiny typo
13848
13849         * lyx_cb.C:
13850         * lyx.h:
13851         * lyx_gui.C:
13852         * lyx.C: move splash to frontends/xforms/
13853
13854         * lyx_gui_misc.C: move Include and Bibform to frontends
13855
13856         * lyxvc.h: clarify comment
13857
13858         * vspace.C: tiny housekeeping
13859
13860 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13861
13862         * text.C (PrepareToPrint): RTL Fix.
13863
13864         * paragraph.C (GetUChar): New method.
13865         (String):  Use GetUChar.
13866
13867         * buffer.C (asciiParagraph): Use GetUChar.
13868
13869 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13870
13871         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13872
13873 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * buffer.h:
13876         * buffer.C: rename to getLogName(), handle
13877           build log / latex log nicely
13878
13879 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13880
13881         * MenuBackend.C:
13882         * MenuBackend.h: remove support for reference menuitem type.
13883
13884 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13885
13886         * BufferView_pimpl.C: housekeeping
13887         * BufferView_pimpl.h:
13888         * LyXView.h:
13889         * Makefile.am:
13890         * Timeout.C:
13891         * Timeout.h:
13892         * minibuffer.h: move Timeout GUI-I
13893
13894 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * lyxrc.C (read): Update converters data-structures.
13897
13898 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13899
13900         * LaTeX.h (operator!=): add operator != for Aux_Info
13901
13902 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13903
13904         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13905
13906         * LaTeXLog.C: deleted, useful code moved to Buffer
13907
13908         * buffer.h:
13909         * buffer.C: new function getLatexLogName()
13910
13911         * lyx_gui_misc.C:
13912         * lyx_gui.C:
13913         * lyxvc.C:
13914         * lyxvc.h:
13915         * lyxfunc.C: use frontends for LaTeX and VC logs
13916
13917 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13918
13919         * LaTeX.h: yet another std:: that Allan forgot.
13920
13921         * Variables.C (set): renamed from isset(), because this clashes
13922         with some HP-UX macros (grr).
13923
13924 2001-02-06  Allan Rae  <rae@lyx.org>
13925
13926         * LaTeX.h: Another bug fix.  Missing std:: this time.
13927
13928 2001-02-04  Allan Rae  <rae@lyx.org>
13929
13930         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13931         floats problem. I've left it commented out because it's not quite
13932         correct.  It should also test that the current object is a table or
13933         figure inset.  But I haven't gotten around to figuring out how to do
13934         that.  I *think* it'll be something like: "table" == inset.type()
13935
13936         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13937         bool.
13938
13939 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13940
13941         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13942         all the citation/databases/styles in the auxilary file.
13943         (run): Rerun latex if there was a babel language error.
13944
13945 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13946
13947         * text.C (Backspace): Preserve the font when changing newline char
13948         with a space.
13949         (BreakParagraph): If the cursor is before a space, delete the space.
13950
13951         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13952
13953 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13954
13955         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13956         new argument (code).
13957         (ChangeCitationsIfUnique): New method.
13958
13959         * paragraph.C (GetPositionOfInset): Handle bibkey.
13960
13961 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13962
13963         * BufferView_pimpl.h: change type of Position::par_pos to
13964         LyXParagraph::size_type.
13965
13966 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13967
13968         * BufferView_pimpl.C (savePosition, restorePosition): Write
13969         messages to minibuffer.
13970
13971 2001-01-28  José Matos  <jamatos@fep.up.pt>
13972
13973         * buffer.C (makeDocBookFile): adds support for document language.
13974         A silly restriction on the name of LatexCommand types where removed.
13975         Added support for CDATA sections, allows to chars unescaped, used
13976         among others in code, to avoid escape < and >.
13977
13978 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13979
13980         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13981         saved positions instrad of a stack. Furthermore, a position is
13982         stored using paragraph id/paragraph position.
13983
13984         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13985         Remove LFUN_REF_BACK.
13986
13987 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13988
13989         * converter.C (dvipdfm_options): New method.
13990
13991 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13992
13993         * vspace.C (isValidLength): Fix for empty input string.
13994
13995 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13996
13997         * LyXAction.C (init): change description of LFUN_FIGURE to
13998         "Insert Graphics"
13999
14000 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14001
14002         * LaTeX.C: add using directive
14003
14004 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14005
14006         * MenuBackend.C (expand): Fix the sorting of the formats.
14007
14008 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14009
14010         * lyx_main.C: tiny error message fix
14011
14012 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14013
14014         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14015         calling fl_initialize(). This fixes the problem with ',' as
14016         decimal separator in text files.
14017
14018 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14019
14020         * trans.C (process): Fix the keymap bug.
14021
14022 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14023
14024         * LaTeX.C (scanAuxFiles): New method. Provides support for
14025         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14026         (scanLogFile) Scan for "run BibTeX" messages.
14027
14028         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14029         OT1 font encoding. Also, load the aecompl package if the ae
14030         package is loaded.
14031
14032         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14033
14034 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14035
14036         * texrow.C (increasePos): turn two error messages into debug
14037         messages.
14038
14039 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * LaTeX.C (scanAux): Handle the \@input macro.
14042         (runBibTeX): Use scanAux().
14043
14044         * language.C (latex_options_): New field.
14045
14046         * LaTeXFeatures.C (getMacros): Add language macros.
14047
14048         * buffer.C (makeLaTeXFile): Small fix.
14049
14050 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14051
14052         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14053
14054         * text2.C: add a using directive.
14055
14056 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * BufferView2.C:
14059         * lyx_gui_misc.h:
14060         * lyxfr1.C:
14061         * lyxfunc.C: kill LyXBell.
14062
14063 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14064
14065         * text.C (IsBoundary): Remove the error message
14066
14067         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14068
14069         * lyxrc.C (setDefaults): Correct initialization value for
14070         font_norm_type.
14071
14072 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14073
14074         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14075         gotoError().
14076
14077         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14078         and GotoNextNote().
14079
14080         * src/LyXAction.C: Added reference-next.
14081
14082         * text.C (InsertChar): Use contains instead of strchr.
14083
14084         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14085
14086 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14087
14088         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14089         alignment commands (when needed).
14090
14091         * text.C (InsertChar): Add ':' to number separator chars.