]> git.lyx.org Git - features.git/blob - src/ChangeLog
patch sent to the list yesteday
[features.git] / src / ChangeLog
1
2 2003-12-03  André Pönitz  <poenitz@gmx.net>
3
4         * buffer.[Ch]:
5         * lyxtext.h:
6         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
7         InsetText::read() as LyXText::read()
8         
9 2003-12-02  Angus Leeming  <leeming@lyx.org>
10
11         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
12         type. Add a comment in the implementation that the function uses
13         the stream's bad() function rather than fail() as the std::streams
14         would do.
15
16 2003-12-02  André Pönitz  <poenitz@gmx.net>
17
18         * lyxlex.[Ch]: make interface more similar to std::stream
19
20         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
21
22 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
25
26 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
27
28         * vspace.[Ch]: remove VSpace::NONE
29
30 2003-12-01  André Pönitz  <poenitz@gmx.net>
31
32         * buffer.[Ch]:
33         * lyxtext.h: move ParagraphList member to LyXText
34         rename LyXText::ownerParagraphs to LyXText::paragraph
35
36         * CutAndPaste.C:
37         * bufferview_funcs.C:
38         * iterators.[Ch]:
39         * lyx_cb.C:
40         * paragraph.C:
41         * rowpainter.C:
42         * tabular.C:
43         * text.C:
44         * text2.C:
45         * text3.C: adjust
46
47         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
48
49         * undo.C: fix cursor positioning 
50
51 2003-12-01  John Levon  <levon@movementarian.org>
52
53         * BufferView_pimpl.C: fix a crash on exit with
54         a buffer open
55
56 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
57
58         * BranchList.C: fix setSelected() method.
59
60 2003-11-28  André Pönitz  <poenitz@gmx.net>
61
62         * ParagraphParameters.[Ch]:
63         * ParameterStruct.h: remove space above/below from Paragraph to
64          InsetVSpace
65
66         * BufferView_pimpl.C:
67         * factory.C:
68         * lyxfunc.C:
69         * lyxtext.h:
70         * output_latex.C:
71         * paragraph.C:
72         * paragraph_funcs.C:
73         * rowpainter.[Ch]:
74         * text.C:
75         * text2.C:
76         * text3.C: adjust
77
78 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
79
80         * factory.C: Syntax change for CharStyles
81
82 2003-11-28  André Pönitz  <poenitz@gmx.net>
83
84         * BufferView.[Ch]:
85         * BufferView.[Ch]:
86         * buffer.[Ch]:
87         * buffer.[Ch]: move LyXText member
88
89 2003-11-28  André Pönitz  <poenitz@gmx.net>
90
91         * BufferView.[Ch]: make LyXText * text a private member
92
93         * BufferView_pimpl.C:
94         * cursor.C:
95         * iterators.C:
96         * lyx_cb.C:
97         * lyxfind.C:
98         * lyxtext.h:
99         * rowpainter.[Ch]:
100         * text.C:
101         * text2.C:
102         * undo.C: adjust
103
104         * output_plaintext.C: cleanup
105
106 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
107
108         * buffer.C: 
109         * lyxtextclass.[Ch]: parametrize SGML document header
110
111 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
112
113         * converter.[Ch]:
114         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
115         getFlavor().
116
117 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
118
119         * text2.C (setFont): rework using PosIterator (no more recursive)
120         (setCharFont): no more needed 
121         (setLayout): no more selection cursors fiddling (done by redoCursor)
122         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
123         destroy remaining ones)
124
125 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
126
127         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
128         * lyxtext.h: ditto
129         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
130         selection cursors
131         * lyxfunc.C: adjust
132         * text3.C: adjust + re-allow multi par depth changes
133         * textcursor.C: simplify a bit
134
135 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
136
137         * src/buffer.C:
138         * src/lyxlayout.C:
139         * src/lyxlayout.h:
140         * src/lyxtext.h:
141         * src/output_docbook.C:
142         * src/output_latex.C:
143         * src/paragraph.C:
144         * src/paragraph.h:
145         * src/sgml.C:
146         * src/sgml.h:
147         * src/text2.C: Introducing a number of tags parametrizing various
148         XML formats that we may want to support
149
150 2003-11-25  André Pönitz  <poenitz@gmx.net>
151
152         * InsetList.[Ch] (begein, end): inline as suggested by profiler
153
154         * lyxtext.h (leftMargin/rightMargin): simplify interface
155
156         * rowpainter.C:
157         * text.C:
158         * text2.C:
159         * text3.C: adjust
160
161 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
162
163         * lyxfunc.C (dispatch): propogate the bibtex databases from the
164         master file to any child files. Fixes bug 546.
165
166 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
167
168         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
169
170 2003-11-24  André Pönitz  <poenitz@gmx.net>
171
172         * rowpainter.C: simplification
173
174         * text2.C (updateCounters): remove call to redoParagraph on 
175         changed labels as this is far too expensive.
176
177 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
178
179         * converter.C (convert): fix a crash: this function gets
180         called with buffer == 0 from importer code.
181
182 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
183
184         * text3.C (cursorPrevious): make sure that we do not compare
185         iterators form different containers.
186         (cursorNext): ditto
187
188         * rowpainter.C (paintSelection): make sure that we do not compare
189         iterators from different containers.
190
191         * text3.C (dispatch): [PRIOR] make sure that we do not compare
192         iterators from different ParagraphList containers.
193         [NEXT] ditto
194
195         * text2.C (LyXText): change order of initialization slightly
196         (operator=): new function. copy all variables except cache_par_
197         (moveUp): make sure that we do not compare iterators from
198         different ParagraphList constainers.
199         (moveDown): ditto
200
201         * text.C (firstPar): new function
202         (lastPar): new function
203         (endPar): new function
204
205         * lyxtext.h: move things around and group public functions, public
206         variables, private functions, private variables
207
208 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
209
210         * factory.C: change call to InsetERT constructor to avoid
211         additional invocation of method status
212         * text2.C (toggleInset): remove redundant update() call
213         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
214         instead of a Bufferview pointer
215
216 2003-11-21  André Pönitz  <poenitz@gmx.net>
217
218         * rowpainter.C: simplification
219
220 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
221
222         * text3.C (dispatch): make possible to extend a word/row selection
223         with the mouse
224
225 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
226
227         * lyxtext.h: x0_,y0_ -> xo_,yo_
228         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
229         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
230         * rowpainter.C (paintRows): paint full paragraphs
231
232 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
235         screen coordinates)
236
237 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * lyxtext.h: add x0_, y0_
240         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
241         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
242
243 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
244
245         * text2.C (setCursorIntern): move the x_target update here *
246         * text3.C: change some bv() to true/false in calls to
247         cursorUp/Down/Right/Left
248         * cursor.C: use helper function.
249
250 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
251
252         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
253         * paragraph_funcs.[Ch]: correct comment
254         * rowpainter.C: do not paint selections away from bv->cursor()
255         Fix a long standing selection painting bug.
256         * text3.C: generalize mouse-selection code to LyXTexts other that
257         top one
258         * textcursor.C: do not use y coords if we can use par offsets
259
260 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
261
262         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
263         cursor position after e.g. inset insert)
264
265 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
266
267         * lyxfind.C (replace): adjust to locking removal + some
268         code simplification
269
270 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
271
272         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
273         of the path
274
275 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * lyxlayout.[Ch]:
278         * output_docbook.C: XML sanitation: new layout
279         parameters InnerTag and CommandDepth
280
281 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
282
283         * BufferView_pimpl.C:
284         * factory.C:
285         * text3.C: Fix the insertion and modification of button-style
286         insets
287
288 2003-11-13  André Pönitz  <poenitz@gmx.net>
289
290         * InsetList.[Ch]: remove deleteLyXText
291
292         * paragraph.[Ch]: cache beginOfBody position
293
294         * Bidi.C:
295         * text.C:
296         * text2.C:
297         * text3.C: remove superfluous update() calls
298
299         * vspace.C: cleanup
300
301 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
302
303         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
304         * BufferView.C (fitLockedInsetCursor): remove
305         * cursor.[Ch] (getDim): add
306         * text.C (getRowNearY): add faster version
307         * text3.C: remove some update calls
308
309 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
310
311         * LaTeXFeatures.C:
312         * LyXAction.C:
313         * MenuBackend.C:
314         * MenuBackend.h:
315         * dispatchresult.h:
316         * factory.C:
317         * lfuns.h:
318         * lyxfunc.C:
319         * lyxtextclass.C:
320         * lyxtextclass.h:
321         * text3.C: The Character Style /XML short element patch.
322
323 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
324
325         * text3.C:
326         * factory.C: Small step to solving 'unable to insert some insets'
327         problem
328
329 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
330
331         * cursor.[Ch] (updatePos): new function for updating the y
332         position of the tip inset
333         * bufferview_funcs.C (put_selection_at):
334         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
335
336 2003-11-11  André Pönitz  <poenitz@gmx.net>
337
338         * text.C: remove big comment on invalid Paragraph pointers as it is
339         not valid anymore
340
341 2003-11-11  André Pönitz  <poenitz@gmx.net>
342
343         * text_funcs.[Ch]: merge with ...
344
345         * text.C: ... this
346
347         * lyxtext.h:
348         * text2.C:
349         * text3.C: adjust
350
351         * Makefile.am: remove text_funcs.[Ch]
352
353 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
354
355         * cursor.C (getPos): return absolute cached y coord
356
357         * BufferView_pimpl.C (fitCursor): new simplistic code
358         (workAreaDispatch): add a fitCursor call
359
360 2003-11-10  André Pönitz  <poenitz@gmx.net>
361
362         * BufferView.[Ch]:
363         * BufferView_pimpl.[Ch]: merge update() and updateInset()
364
365 2003-11-10  André Pönitz  <poenitz@gmx.net>
366
367         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
368         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
369         indicate that the cursor needs to leave an inset
370
371         * lyxtext.h: remove inset locking
372
373         * cursor.[Ch]: re-implement functionality provided by inset locking
374
375         * BufferView.[Ch]:
376         * BufferView_pimpl.[Ch]:
377         * LyXAction.C:
378         * bufferview_funcs.[Ch]:
379         * factory.C:
380         * funcrequest.[Ch]:
381         * iterators.C:
382         * lyx_cb.C:
383         * lyxfind.C:
384         * lyxfunc.C:
385         * text.C:
386         * text2.C:
387         * text3.C:
388         * undo.C: adjust
389
390 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
391
392         * PosIterator.[Ch]: replace the stack with a vector, add inset
393         accesor
394         * iterators.[C]: adjust
395
396 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
397
398         * lyxfind.C (replaceAll): mark the buffer dirty if something was
399         replaced
400         * paragraph_funcs.C (readParToken): put the correct id in the
401         error item, not the id of the top paragraph
402
403 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
404
405         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
406         * bufferview_funcs.C (put_selection_at): use the above
407
408 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
409
410         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
411
412 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * output_linuxdoc.h:
415         * output_plaintext.h:
416         * output.h:
417         * output_docbook.h: add #include statements
418
419 2003-11-05  José Matos  <jamatos@lyx.org>
420
421         * output_docbook.[Ch]:
422         * output_latex.[Ch]:
423         * output_linuxdoc.[Ch]:
424         * output_plaintext.[Ch]: New files for output formats.
425         * output.[Ch]: New file for helper functions.
426
427         * buffer.[Ch]:
428         * paragraph_funcs.[Ch]: output functions moved to new files.
429
430         * outputparams.h: rename of latexrunparams.h
431
432         * LaTeX.[Ch]:
433         * buffer.[Ch]:
434         * bufferlist.[Ch]:
435         * converter.[Ch]:
436         * exporter.C:
437         * paragraph.[Ch]:
438         * paragraph_funcs.[Ch]:
439         * paragraph_pimpl.[Ch]:
440         * tabular.[Ch]: rename ascii to plaintext
441         and LatexRunParams to OutputParams.
442
443 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
444
445         * iterators.[Ch] (text): require bv argument
446         * undo.C (recordUndo):
447         * lyxfunc.C (dispatch):
448         * bufferview_funcs.C (put_selection_at): adjust
449
450 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
451
452         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
453
454 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
455
456         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
457         nestings
458
459 2003-11-04  André Pönitz  <poenitz@gmx.net>
460
461         * cursor.[Ch]: restructure
462
463         * BufferView.[Ch]:
464         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
465
466         * iterators.[Ch] (asCursor): remove
467
468         * lfuns.h: remove LFUN_INSET_EDIT
469
470         * lyxfunc.C:
471         * tabular.C:
472         * text.C:
473         * text2.C:
474         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
475
476 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
477
478         * lyxfind.[Ch]: complete overhaul
479         * BufferView_pimpl.C:
480         * lyxfunc.C: adjust
481         * paragraph.[Ch] (insert): add
482
483 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
484
485         * BufferView.[Ch]:
486         * lyxtext.h:
487         * text.C: remove dead spellcheck code
488
489 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
490
491         * dispatchresult.h: add a val setter
492
493         * cursor.C (dispatch): use a tempvar for data_[i]
494
495 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
496
497         * PosIterator.[Ch]: compile fix
498
499 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
500
501         * text.C (cursorPar): deactivate the cursor cache
502
503 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
504
505         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
506
507 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
508
509         * text3.C (dispatch): adjust for new DisptchResult semantics.
510
511         * lyxfunc.C (dispatch): handle update when return from
512         Cursor::dispatch, adjust for new DispatchResult semantics.
513
514         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
515         DispatchResult(true) mean to not update. Add class functions for
516         setting dispatched and update, as well as reading.
517
518         * cursor.C (dispatch): don't handle update here
519
520 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
521
522         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
523         * trans_mgr.C: adjust
524
525         * paragraph_funcs.C (readParToken): exception safety
526
527         * lyxvc.h: store the vcs pointer in a scoped_ptr
528         * lyxvc.C: adjust
529
530         * lyxsocket.C (serverCallback): exception safety
531
532         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
533
534         * ispell.C (clone): make it return a auto_ptr
535
536         * factory.C (createInset): exception safety
537         (readInset): exception safety
538
539         * bufferlist.C (newBuffer): exception safety
540
541         * Thesaurus.C (Thesaurus): use initialization for aik_
542
543         * MenuBackend.C (expandToc): exception safety.
544
545 2003-11-03  André Pönitz  <poenitz@gmx.net>
546
547         * buffer.C:
548         * buffer.h:
549         * bufferview_funcs.C: remove getInsetFromId()
550
551         * lyxcursor.[Ch]:
552         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
553
554         * lyxfunc.C:
555         * text2.C:
556         * text3.C: adjust
557
558 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
559
560         * PosIterator.C (distance, advance): new
561         * bufferview_funcs.[Ch] (put_selection_at): new
562         * iterators.[Ch] (lockPath): new
563
564 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
565
566         * iterators.[Ch] (asPosIterator): added
567         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
568         * PosIterator.[Ch]: added
569
570 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
571
572         * text3.C:
573         * lyxfunc.C:
574         * cursor.C (dispatch):
575         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
576
577         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
578         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
579         contructor, add a class function dispatched. Remove operator>=
580
581 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
582
583         * debug.C: only use the default constructor for debugstream
584         (lyxerr) here.
585
586         * main.C (main): include debug.h and setup the lyxerr streambuf
587         here.
588
589 2003-10-31  José Matos  <jamatos@lyx.org>
590
591         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
592
593         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
594         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
595         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
596         * paragraph_pimpl.C (simpleTeXSpecialC):
597         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
598         add LatexRunParams argument.
599
600         * exporter.C (Export): change call accordingly.
601
602         * latexrunparams.h: add new member to take care of the other backends.
603 2003-10-30  José Matos  <jamatos@lyx.org>
604
605         * buffer.C (makeLinuxDocFile, makeDocBookFile):
606         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
607         factorise code for paragraph output.
608         * buffer.[Ch]:
609         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
610         move functions.
611
612 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
613
614         * text3.C (dispatch):
615         * lyxfunc.C (dispatch):
616         * cursor.C (dispatch):
617         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
618
619         * dispatchresult.h: make the dispatch_result_t ctor explicit
620
621 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
622
623         * sgml.[Ch]:
624         * buffer.C: small refactoring of docbook stuff
625
626 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
627
628         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
629         meaning.
630
631 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
632
633         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
634         operator dispatch_result_t, and operators for == != and >=
635
636         * cursor.C (dispatch): adjust for operator dispatch_result_t
637         removal. comment out call to update
638
639         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
640
641 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
642
643         * text3.C:
644         * text2.C:
645         * text.C:
646         * lyxtext.h:
647         * lyxfunc.C:
648         * cursor.C:
649         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
650         (dispatch):
651
652         * dispatchresult.h: new file, DispatchResult broken out of
653         insets/insetbase.h
654
655         * Makefile.am (lyx_SOURCES): add dispatchresult.h
656
657 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
658
659         * text.C (rowBreakPoint): put a hack inside #if 0
660
661 2003-10-28  André Pönitz  <poenitz@gmx.net>
662
663         * lyxtext.h:
664         * metricsinfo.C:
665         * paragraph_funcs.C:
666         * rowpainter.C:
667         * text.C:
668         * text2.C: general cleanup (lots of small stuff)
669
670 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
671
672         * text2.C (cursorEnd): simple fix to the "end key goes to one
673         before the end on last row" bug
674
675 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
676
677         * text.C (backspace): fix the "zombie characters"
678
679 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
680
681         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
682
683 2003-10-27  André Pönitz  <poenitz@gmx.net>
684
685         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
686
687         * factory.C: handle new InsetPagebreak, InsetLine
688
689         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
690         and move handling into new InsetPagebreak, InsetLine
691
692         * BufferView_pimpl.C:
693         * LyXAction.C:
694         * ParagraphParameters.C:
695         * ParameterStruct.h:
696         * lyxfunc.C:
697         * lyxtext.h:
698         * paragraph.C:
699         * paragraph.h:
700         * paragraph_funcs.C:
701         * paragraph_pimpl.C:
702         * rowpainter.C:
703         * text.C:
704         * text2.C:
705         * text3.C: adjust
706
707 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
708
709         * text.C:
710         * lyxrow_funcs.[Ch]:
711         * Bidi.C:
712         * paragraph.C:
713         * lyxtext.h:
714         * rowpainter.C:
715         * text2.C:
716         * text3.C: remove lastPos uses in favour of Row::endpos
717
718 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
719
720         * undo.C (performUndoOrRedo): fix two crashes by setting a
721         cursor by hand and reordering some calls. Use bv->lockInset instead
722         of inset->edit because the latter loses cursor information
723
724 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
725
726         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
727         by Martin
728         (rowBreakPoint): fix width. change point to point + 1.
729         Add a missing check.
730
731 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
732
733         * MenuBackend.C:
734         * lyxfunc.C: fix (at least partly) the problems
735         with the Nav menu and headers inside branch insets
736         reported by Kayvan
737
738 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
739
740         * paragraph.C (getChar): add strong asserts
741
742         * lyxrow_funcs.C (lastPos): remove hideous hack
743
744         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
745         (fill): adjust to that (avoid an infinite loop)
746
747 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
748
749         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
750
751 2003-10-23  André Pönitz  <poenitz@gmx.net>
752
753         * RowList_fwd.h: change list<> to vector<> to gain speed
754         after suggestion from Alfredo
755
756 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
757
758         * lyxtext.h: move the bidi stuff from here...
759         * text.C: and here
760         * text2.C: and here
761         * Bidi.[Ch]: ... to here
762
763 2003-10-23  André Pönitz  <poenitz@gmx.net>
764
765         * lyxtext.h:
766         * text.C (isLastRow, isFirstRow): new functions
767
768         * paragraph.h: new width cache member
769
770         * rowpainter.C: replace RowList::iterator with Row & where possible
771
772         * lyxfunc.C: replace several view()->text with a single call
773
774         * toc.C: fix 'unused' warning
775
776 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
777
778         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
779         when woring with stream::pos_type
780         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
781
782 2003-10-22  André Pönitz  <poenitz@gmx.net>
783
784         * lyxtext.h:
785         * text.C: use Row & instead of RowList::iterator
786
787         * lyxrow.h: rename end() to endpos()
788
789         * rowpainter.C:
790         * text.C:
791         * text2.C: adjust
792
793 2003-10-22  Angus Leeming  <leeming@lyx.org>
794
795         * buffer.[Ch] (fully_loaded): new member function, returning true
796         only when the file has been loaded fully.
797         Used to prevent the premature generation of previews and by the
798         citation inset to prevent computation of the natbib-style label.
799
800         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
801         templates are all set up.
802
803         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
804
805 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
806
807         * text.C: fixed an "oops" in the "is a bit silly"
808         bug fix
809
810 2003-10-21  André Pönitz  <poenitz@gmx.net>
811
812         * FuncStatus.[Ch]: small stuff, whitespace
813
814         * lyxfont.[Ch]: operator<<() for debug reasons
815
816         * lyxfunc.C:
817         * lyxrow_funcs.C:
818         * lyxtext.h: whitespace, spelling
819
820         * paragraph.C: naming of variables
821
822         * text.C:
823         * text2.C: small stuff
824
825
826 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
827
828         * text.C: (1) finish off the inset display() work;
829         (2) fix the "is a bit silly" bug (accessing char
830         past end of par).
831
832 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
833
834         * text.C: re-introduce display() for insets, fixing the
835         various bugs (stretch of line above, math inset
836         positioning, ...)
837
838 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
839
840         * text.C (rightMargin): remove spurious semicolon
841
842         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
843         1415)
844
845 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
846
847         * text3.C: fix one crash due to wrong cursor def
848
849 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
850
851         * vc-backend.C (scanMaster): make the regex static
852
853         * LaTeX.C (scanAuxFile): make the regexs static
854
855         * text3.C (doInsertInset, dispatch, dispatch):
856         * text2.C (cursorUp, cursorDown):
857         * text.C (selectNextWordToSpellcheck):
858         * BufferView_pimpl.C (dispatch):
859         * lyxfunc.C (dispatch):  localDispatch -> dispatch
860
861 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * lyxsocket.C: include <cerrno>
864
865 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
866
867         * lyxfunc.C (dispatch): remove textcache stuff
868
869         * bufferlist.C (release): remove textcache stuff
870         (closeAll): ditto
871
872         * TextCache.C: delete file
873         * TextCache.h: delete file
874
875         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
876
877         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
878         delete of the bv_->text.
879         (resizeCurrentBuffer): remove texcache stuff
880         (workAreaResize): ditto
881
882 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
883
884         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
885         action.
886
887 2003-10-16  André Pönitz  <poenitz@gmx.net>
888
889         * lyxrow.[Ch]:
890         * paragraph.h:
891         * rowpainter.C:
892         * text.C:
893         * text2.C:
894         * text3.C: speed up by storing y positions per paragraph plus per-row
895         offset instead of having a 'full' y position in the row.
896
897 2003-10-15  André Pönitz  <poenitz@gmx.net>
898
899         * iterators.[Ch]:
900         * iterators.[Ch]:
901         * undo.[Ch]: make undo aware of inner insets
902
903 2003-10-14  Angus Leeming  <leeming@lyx.org>
904
905         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
906         static member functions LyX::ref() and LyX::cref.
907         (lastfiles): new accessor functions for the new lastfiles_ member var.
908         (addLyXView, views_): add a new LyXView to the list of views_.
909         (updateInset): loop over all LyXViews to call their own updateInset
910         member function, returning a pointer to the Buffer owning the inset.
911
912         * BufferView_pimpl.C (loadLyXFile):
913         * MenuBackend.C (expandLastfiles):
914         * bufferlist.C (MenuWrite, QuitLyX):
915         lastfiles is no longer a global variable.
916         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
917
918         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
919         static function. Access through LyX::cref().emergencyCleanup().
920
921 2003-10-14  André Pönitz  <poenitz@gmx.net>
922
923         * iterators.[Ch]: new direct access to innermost LyXText and Inset
924
925         * undo.[Ch]: restoring part of 'undo in insets'
926
927         * Makefile.am:
928         * undo_funcs.[Ch]: merge with undo.[Ch]
929
930         * tabular.C: small cleansing stuff
931
932 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
933
934         * paragraph_funcs.C (readParToken): report unknown insets as error
935         boxes. Use the outer paragraph as location (also for unknown
936         tokens).
937
938         * factory.C (readInset): do not abort on reading an unknown inset.
939         Eat it and return 0.
940
941 2003-10-13  Angus Leeming  <leeming@lyx.org>
942
943         * lyx_main.C (LyX): remove call to setDisplayTranslator().
944
945         * lyxrc.C: displayTranslator is now a function,
946         declared in GraphicsTypes.h.
947
948 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
949
950         * format.C: new placeholder $$a to pass the socket address.
951
952         * bufferlist.[Ch]: new function getBufferFromTmp.
953
954         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
955           files in the temporary dir.
956
957 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
958
959         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
960
961         * Makefile.am: add lyxsocket.[Ch].
962
963         * lyx_main.C (error_handler): handle SIGPIPE.
964
965 2003-10-13  André Pönitz  <poenitz@gmx.net>
966
967         * BufferView_pimpl.C:
968         * lyxtext.h:
969         * text.C:
970         * text2.C:
971         * text3.C:
972         * undo_funcs.[Ch]: use paroffset_type instead of
973           ParagraphList::iterators to prevent multiple conversion
974           (and get a more robust interface)
975
976 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
977
978         * lyxfunc.C (dispatch): RESULT -> dispatch_result
979         * lyxtext.h: ditto
980         * text3.C (dispatch): ditto
981
982 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
983
984         * LaTeX.C (handleFoundFile): move the static to smaller scope,
985         move the onlyfile, use onlyfile instead of foundfile in a couple
986         of places.
987
988         * DepTable.C (update): flush the error stream a bit more
989
990 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
991
992         * lyxserver.C (callback): adjust
993
994         * lyxfunc.C (getStatus): add a missing brace in commented code
995         (ensureBufferClean): reindent
996         (dispatch): delete version taking a string
997
998 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
999
1000         * LaTeX.C (deplog): move found file handlig from here...
1001         (handleFoundFile): .. to new function here.
1002         (deplog): make sure to discover several files mentioned on the
1003         same log line.
1004
1005 2003-10-10  André Pönitz  <poenitz@gmx.net>
1006
1007         * lyxfunc.C:
1008         * lyxtext.h:
1009         * tabular.C:
1010         * text.C:
1011         * text2.C:
1012         * text3.C: fix some of the tabular crashes
1013
1014 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1015
1016         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1017
1018         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1019
1020 2003-10-09  André Pönitz  <poenitz@gmx.net>
1021
1022         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1023
1024         * BufferView.C:
1025         * BufferView_pimpl.C:
1026         * bufferview_funcs.C:
1027         * lyx_cb.C:
1028         * lyxcursor.C:
1029         * lyxfind.C:
1030         * lyxfunc.C:
1031         * lyxtext.h:
1032         * text.C:
1033         * text2.C:
1034         * text3.C:
1035         * text_funcs.[Ch]:
1036         * textcursor.[Ch]:
1037         * undo_funcs.C: adjust
1038
1039 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1040
1041         * text2.C (incrementItemDepth): new function, use a backtracking
1042         algorithm to discover the correct item depth.
1043         (resetEnumCounterIfNeeded): new function, use a backtracking
1044         algorithm to discover if counter reset is needed.
1045         (setCounter): use them. Simplify a bit. Add different labels for
1046         different item depths for itemize.
1047
1048         * paragraph.C (Paragraph): remove initialization of enumdepth
1049         (operator=): ditto
1050
1051         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1052         enumerate and itemize. Change the type of itemdepth to signed char.
1053
1054 2003-10-08  André Pönitz  <poenitz@gmx.net>
1055
1056         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1057           thing assignable.
1058         * text.C:
1059         * text2.C: adjust
1060
1061         * tabular.[Ch]: fix crash after 'row-insert'
1062
1063 2003-10-08  Angus Leeming  <leeming@lyx.org>
1064
1065         Fix doxygen warnings.
1066
1067         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1068         Remove CutAndPaste:: prefix from header file declaration.
1069
1070         * LColor.h (fill): remove LColor:: prefix from declaration.
1071
1072         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1073         use lyx::depth_type rather than Paragraph::depth_type so that
1074         header file and .C file match.
1075
1076         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1077
1078         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1079         * aspell.C: \file aspell_local.C -> \file aspell.C
1080         * gettext.C: \file gettext.C -> \file src/gettext.C
1081         * gettext.h: \file gettext.h -> \file src/gettext.h
1082         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1083         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1084         * text.C: \file text.C -> \file src/text.C
1085
1086         * toc.C: move comment so that doxygen is not confused.
1087
1088 2003-10-07  Angus Leeming  <leeming@lyx.org>
1089
1090         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1091
1092 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1093
1094         * aspell.C:
1095         * aspell_local.h: add forgotten std::string's.
1096
1097 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1098
1099         * LaTeXFeatures.C:
1100         * LyXAction.C:
1101         * factory.C:
1102         * lfuns.h:
1103         * lyxfunc.C:
1104         * text3.C: The Box patch. Fancybox support, minipage, parbox
1105
1106 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1107
1108         * CutAndPaste.h:
1109         * DepTable.h:
1110         * FloatList.h:
1111         * LaTeXFeatures.h:
1112         * ParagraphParameters.h:
1113         * TextCache.h:
1114         * Thesaurus.h:
1115         * bufferlist.h:
1116         * exporter.h:
1117         * importer.h:
1118         * lastfiles.h:
1119         * lyxfind.h:
1120         * lyxfont.h:
1121         * lyxlex.h:
1122         * lyxtextclasslist.h:
1123         * messages.h:
1124         * paragraph.h:
1125         * paragraph_pimpl.C:
1126         * textcursor.h: add <string> and other small fixes to make Lars'
1127         std::string patch compile with STLport.
1128
1129 2003-10-06  Angus Leeming  <leeming@lyx.org>
1130
1131         * LColor.h: Add missing #include <string>.
1132
1133 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1134
1135         * All most all file in all subdirs: Make <string> be the prefered
1136         way of getting to std::string, add using declarations.
1137
1138 2003-10-06  André Pönitz  <poenitz@gmx.net>
1139
1140         * metricsinfo.C: initialize LyXFont before changing attribute.
1141         (fixes the 'math in \emph is upright' bug)
1142
1143 2003-10-06  André Pönitz  <poenitz@gmx.net>
1144
1145         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1146
1147 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1148
1149         * graph.C:
1150         * paragraph_pimpl.C: Small fixes to build using STLport
1151
1152 2003-10-02  André Pönitz  <poenitz@gmx.net>
1153
1154         * lyxfunc.C:
1155         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1156
1157 2003-10-01  André Pönitz  <poenitz@gmx.net>
1158
1159         * factory.C: assert early
1160
1161 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1162
1163         * lyx_main.C: remove the global debug object
1164
1165         * debug.h: adjust for new debugstream
1166
1167         * debug.C: adjust for new debugstream and keep the global debug
1168         object here.
1169
1170 2003-09-22  Angus Leeming  <leeming@lyx.org>
1171
1172         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1173         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1174         an incomplete class LyXFont.
1175
1176 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1177
1178         * factory.C: bug fix in branches
1179
1180 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1181
1182         * lyxfunc.C (processKeySym): adjust
1183         (dispatch): adjust
1184         (dispatch): change arg name from ev to func, adjust
1185         (sendDispatchMessage): ditto
1186
1187         * lyx_main.C (defaultKeyBindings): adjust keybindings
1188         (deadKeyBindings): ditto
1189
1190         * kbsequence.C (addkey): return a FuncRequest
1191
1192         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1193
1194         * kbmap.C (bind): take a FuncRequest as arg, adjust
1195         (read): adjust
1196         (lookup): adjust
1197         (defkey): change to take a FuncRequest as arg, adjust
1198         (findbinding): take a FuncRequest as arg, adjust.
1199
1200         * funcrequest.h (operator=): added
1201
1202         * funcrequest.C (FuncRequest): default kb_action changed from
1203         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1204
1205         * buffer.C (dispatch): simplify
1206         (dispatch): adjust to take a FuncRequest as arg, adjust
1207
1208         * boost.C (assertion_failed): change assertion message slightly
1209
1210         * ToolbarBackend.C (read): simplify
1211
1212         * MenuBackend.C (binding): adjust call to findbinding, add a
1213         message if no binding is found.
1214         (read): simplify
1215         (expandToc): correct by adding a empty FuncRequest
1216
1217         * LyXAction.C: include <boost/assert.hpp>
1218         (isPseudoAction): delete function
1219         (LookupFunc): change name to...
1220         (lookupFunc): this. change return type to FuncRequest.
1221         (getActionName): take kb_action as arg, simplify
1222         (funcHasFlag): add an assert, simplify.
1223
1224 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1225
1226         * toc.C (action): return a FuncRequest, simplify
1227
1228         * lyxfunc.C (processKeySym): adjust
1229         (getStatus): delete version that takes an int.
1230         (getStatus): adjust
1231         (dispatch): delete version that takes action as int
1232         (dispatch): adjust
1233         (sendDispatchMessage): simplify and adjust
1234
1235         * funcrequest.C (getArg): take unsigned int as arg
1236
1237         * ToolbarBackend.C (read): adjust
1238         (add): delete version that takes func as a string.
1239         (getIton): take a FuncRequest as arg
1240
1241         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1242         action.
1243
1244         * MenuBackend.C (MenuItem): add a new construct that only takes a
1245         Kind, simplify the constructor use for submenus.
1246         (add): adjust
1247         (expandLastfiles): adjust
1248         (expandDocuments): adjust
1249         (expandFormats): adjust
1250         (expandFloatListInsert): adjust
1251         (expandFloatInsert): adjust
1252         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1253
1254         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1255         Remove class variables lyx_pseudo_map and lyx_arg_map
1256
1257         * LyXAction.C (searchActionArg): delete function
1258         (getPseudoAction): delete function
1259         (retrieveActionArg): delete function
1260         (LookupFunc): make it return kb_action, simplify.
1261         (getActionName): simplify
1262
1263         * factory.C (createInset): fix new bug
1264
1265 2003-09-19  Angus Leeming  <leeming@lyx.org>
1266
1267         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1268         masterFilename_ parameter in the include inset.
1269
1270         * factory.C (createInset): changes due to the changes to InsetInclude.
1271
1272 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1273
1274         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1275
1276 2003-09-18  Angus Leeming  <leeming@lyx.org>
1277
1278         * buffer.C:
1279         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1280         Inset::fillWithBibKeys.
1281         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1282
1283 2003-09-18  Angus Leeming  <leeming@lyx.org>
1284
1285         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1286         variables.
1287         (ctor): pass and store a 'Buffer const &'
1288         (buffer): new member function.
1289
1290         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1291         '*this' to the LaTeXFeatures ctor.
1292
1293 2003-09-18  Angus Leeming  <leeming@lyx.org>
1294
1295         * LColor.h:
1296         * lyxfont.C:
1297         * lyxfont.h:
1298         * lyxtext.h:
1299         * text.C: rename EnumLColor as LColor_color.
1300
1301 2003-09-18  Angus Leeming  <leeming@lyx.org>
1302
1303         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1304         remove #include "insets/insetbase.h" from cursor.h.
1305
1306 2003-09-18  Angus Leeming  <leeming@lyx.org>
1307
1308         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1309         InsetOld_code to remove #include "inset.h".
1310
1311         * iterators.C: add #include "insets/inset.h"
1312
1313 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1314
1315         * BufferView.C: remove more locking stuff that apparently doesn't
1316         do anything sensible.
1317
1318 2003-09-16  André Pönitz  <poenitz@gmx.net>
1319
1320         * paragraph.[Ch]:
1321         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1322           performance boost.
1323
1324 2003-09-16  Angus Leeming  <leeming@lyx.org>
1325
1326         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1327
1328         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1329         arg/return type.
1330
1331         * paragraph.h: remove #include "lyxfont.h". Forward declare
1332         LyXFont_size.
1333
1334 2003-09-16  Angus Leeming  <leeming@lyx.org>
1335
1336         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1337         of support/textutils.h.
1338         (isWord): move the contents of support/textutils.h's IsWordChar here.
1339
1340         * buffer.C:
1341         * lyxfind.C:
1342         * rowpainter.C:
1343         * text.C:
1344         * text2.C: add #include "paragraph.h".
1345
1346         * rowpainter.C:
1347         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1348
1349 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1350
1351         * main.C:
1352         * lyx_main.C:
1353         * lyx_cb.C:
1354         * buffer.C:
1355         * LaTeX.C: use namespace alias for lyx::support::os
1356
1357 2003-09-16  Angus Leeming  <leeming@lyx.org>
1358
1359         * bufferparams.C:
1360         * bufferview_funcs.C:
1361         * factory.C:
1362         * lyxfunc.C:
1363         * paragraph_pimpl.C:
1364         * rowpainter.C:
1365         * text.C: add #include "LColor.h".
1366
1367 2003-09-16  Angus Leeming  <leeming@lyx.org>
1368
1369         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1370         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1371         return LyXFont &.
1372         Store the FontBits::color variable as an int rather than as an
1373         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1374         file.
1375
1376         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1377         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1378         string calls together.
1379
1380         * lyxrc.C: add #include "LColor.h".
1381
1382 2003-09-15  Angus Leeming  <leeming@lyx.org>
1383
1384         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1385         a cow_ptr.
1386
1387 2003-09-15  Angus Leeming  <leeming@lyx.org>
1388
1389         * LColor.h: add an EnumLColor wrapper for LColor::color.
1390
1391         * lyxfont.[Ch] (color, setColor, realColor):
1392         * lyxtext.h, text.C (backgroundColor):
1393         pass EnumLColor args to/from the functions, rather than LColor::color
1394         ones.
1395
1396         * lyxfont.h:
1397         * lyxtext.h: forward declare EnumLColor.
1398
1399         * lyx_main.C: add #include "LColor.h".
1400
1401 2003-09-15  Angus Leeming  <leeming@lyx.org>
1402
1403         * .cvsignore: add lyx-gtk.
1404
1405 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1406
1407         * Chktex.C
1408         * LaTeX.C
1409         * LaTeXFeatures.C
1410         * ParagraphParameters.C
1411         * Spacing.C
1412         * buffer.C
1413         * bufferparams.C
1414         * bufferview_funcs.C
1415         * chset.C
1416         * counters.C
1417         * funcrequest.C
1418         * lyxfont.C
1419         * lyxgluelength.C
1420         * lyxlength.C
1421         * paragraph.C
1422         * paragraph_funcs.C
1423         * text3.C
1424         * vc-backend.C: remove usage of STRCONV
1425
1426 2003-09-15  Angus Leeming  <leeming@lyx.org>
1427
1428         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1429         explicitly define the color passed to the painter.
1430
1431 2003-09-15  Angus Leeming  <leeming@lyx.org>
1432
1433         * bufferparams.C (BufferParams): reorder member initializers to avoid
1434         compiler warning.
1435
1436 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1437
1438         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1439         * text.C (updateRowPositions): remove an unusual nop
1440
1441 2003-09-12  André Pönitz  <poenitz@gmx.net>
1442
1443         * BufferView_pimpl.C:
1444         * Bullet.C:
1445         * layout.h:
1446         * lyxfunc.C:
1447         * lyxlayout.[Ch]:
1448         * lyxtextclass.C:
1449         * rowpainter.C:
1450         * text.C:
1451         * text2.C:
1452         * Counters.[Ch]: finish the 'automatic counters' job
1453
1454 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1455
1456         * aspell.C: include <boost/assert.cpp> (compile fix)
1457
1458 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1459
1460         * boost.C (assertion_failed): use lyx::support::abort instead of
1461         assert.
1462
1463 2003-09-10  Angus Leeming  <leeming@lyx.org>
1464
1465         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1466         with their _fwd progeny.
1467
1468 2003-09-09  Angus Leeming  <leeming@lyx.org>
1469
1470         134 files throughtout the source tree: replace 'using namespace abc;'
1471         directives with the appropriate 'using abc::xyz;' declarations.
1472
1473 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1474
1475         * boost.C (emergencyCleanup): moved here from LAssert.c
1476         (assertion_failed): new function, called by BOOST_ASSERT
1477
1478         * several files: change Assert to BOOST_ASSERT
1479
1480 2003-09-09  Angus Leeming  <leeming@lyx.org>
1481
1482         * buffer.[Ch]: Add an Impl class and move Buffer's member
1483         variables into it. As a result move several header files out of
1484         buffer.h.
1485
1486         Add header files to lots of .C files all over the tree as a result.
1487
1488 2003-09-09  Angus Leeming  <leeming@lyx.org>
1489
1490         * buffer.[Ch]: make Buffer's member variables private. Add
1491         accessor functions.
1492
1493         Lots of changes all over the tree as a result.
1494
1495 2003-09-08  Angus Leeming  <leeming@lyx.org>
1496
1497         * graph.C: #include <config.h>.
1498
1499 2003-09-08  Angus Leeming  <leeming@lyx.org>
1500
1501         * BranchList.C:
1502         * BufferView.C:
1503         * BufferView_pimpl.C:
1504         * CutAndPaste.C:
1505         * DepTable.C:
1506         * LaTeX.C:
1507         * LaTeXFeatures.C:
1508         * LyXAction.C:
1509         * MenuBackend.C:
1510         * TextCache.C:
1511         * aspell.C:
1512         * buffer.C:
1513         * bufferlist.C:
1514         * changes.C:
1515         * chset.C:
1516         * converter.C:
1517         * counters.C:
1518         * debug.C:
1519         * graph.C:
1520         * ispell.C:
1521         * lyx_cb.C:
1522         * lyxfind.C:
1523         * lyxfunc.C:
1524         * lyxlex_pimpl.C:
1525         * lyxrc.C:
1526         * lyxrow.C:
1527         * paragraph.C:
1528         * rowpainter.C:
1529         * texrow.C:
1530         * text.C:
1531         * text2.C:
1532         * toc.C: remove redundant using directives.
1533
1534 2003-09-07  Angus Leeming  <leeming@lyx.org>
1535
1536         * LaTeXFeatures.h: remove #include "support/types.h".
1537         * ToolbarBackend.h: remove #include <algorithm>.
1538         * changes.h: remove #include <ctime>.
1539         * debug.h: remove #include <iosfwd>.
1540         * graph.h: remove #include "support/std_string.h".
1541         * lyx_main.h: remove #include <csignal>.
1542         * lyxlex_pimpl.h: remove #include <fstream>.
1543         * sgml.h: remove #include <algorithm>, <utility>.
1544         * toc.h: remove #include "support/std_ostream.h".
1545         Add #include <iosfwd>.
1546
1547 2003-09-07  Angus Leeming  <leeming@lyx.org>
1548
1549         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1550
1551         * converter.h: forward declare LatexRunParams.
1552         * encoding.h: remove #include "lyxrc.h".
1553         * lyxtext.h: remove #include "LColor.h".
1554         * lyxtextclass.h: remove #include "support/types.h".
1555         * trans.h: remove #include "tex-accent.h".
1556         * trans_mgr.h: remove #include "tex-accent.h".
1557         * insets/inset.h: remove #include "support/types.h", <vector>.
1558         * insets/insetcollapsable.h: remove #include "LColor.h".
1559         * insets/insetinclude.h: remove #include "dimension.h".
1560         * insets/insetlatexaccent.h: remove #include "dimension.h".
1561         * insets/insetoptarg.h:: remove #include "insettext.h".
1562         * insets/insettext.h: remove #include "dimension.h",
1563         <boost/shared_ptr.hpp>
1564
1565         * insets/renderers.h: add #include "dimension.h".
1566         * insets/updatableinset.h: add #include "support/types.h".
1567
1568         * many .C files: Associated changes.
1569
1570 2003-09-06  Angus Leeming  <leeming@lyx.org>
1571
1572         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1573         one, inside testInvariant.
1574
1575         * PrinterParams.C: new file.
1576         * PrinterParams.[Ch]: move the function bodies out of line.
1577
1578 2003-09-06  Angus Leeming  <leeming@lyx.org>
1579
1580         * ParagraphParameters.h: forward declare ParameterStruct rather than
1581         including its header file.
1582         (depth): moved out-of-line.
1583
1584 2003-09-06  Angus Leeming  <leeming@lyx.org>
1585
1586         * BufferView_pimpl.h:
1587         * kbmap.h:
1588         * kbsequence.h:
1589         * lyxfunc.h: forward declare LyXKeySym rather than
1590         #include "frontends/LyXKeySym.h".
1591
1592         * BufferView_pimpl.C:
1593         * kbmap.C:
1594         * kbsequence.C:
1595         * lyxfunc.C: associated changes.
1596
1597 2003-09-06  Angus Leeming  <leeming@lyx.org>
1598
1599         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1600         As a result, can remove the #include "insets/inset.h" from BufferView.h
1601
1602 2003-09-06  Angus Leeming  <leeming@lyx.org>
1603
1604         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1605         As a result, can remove the #include "insets/inset.h" from BufferView.h
1606
1607 2003-09-06  Angus Leeming  <leeming@lyx.org>
1608
1609         * buffer_funcs.C:
1610         * buffer.h:
1611         * bufferlist.C:
1612         * BufferView.C:
1613         * bufferview_funcs.C:
1614         * BufferView_pimpl.C:
1615         * CutAndPaste.C:
1616         * lyx_cb.C:
1617         * lyxfunc.C:
1618         * paragraph.h:
1619         * ParagraphParameters.C:
1620         * tabular.C:
1621         * text3.C:
1622         * toc.C:
1623         * undo_funcs.C:
1624         * frontends/controllers/ControlDocument.C:
1625         * insets/insetcaption.C: rearrange the #includes into some sort of
1626         coherent order.
1627
1628         * buffer.h: remove #includes ErrorList.h, undo.h
1629
1630 2003-09-06  Angus Leeming  <leeming@lyx.org>
1631
1632         * support/types.h: add a 'depth_type' typedef, used to store the
1633         nesting depth of a paragraph.
1634
1635         * paragraph.h:
1636         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1637         defining explicitly.
1638
1639         * buffer.h:
1640         * paragraph_funcs.h:
1641         * ParagraphParameters.h:
1642         * sgml.h: use lyx::depth_type rather than Paragraph or
1643         ParameterStruct's depth_type.
1644
1645         * buffer.h
1646         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1647
1648         * BufferView.C:
1649         * BufferView_pimpl.C:
1650         * CutAndPaste.C:
1651         * ParagraphParameters.C:
1652         * buffer_funcs.C:
1653         * bufferlist.C:
1654         * bufferview_funcs.C:
1655         * lyx_cb.C:
1656         * lyxfunc.C:
1657         * tabular.C:
1658         * text3.C:
1659         * toc.C:
1660         * undo_funcs.C:
1661         * frontends/LyXView.C:
1662         * frontends/controllers/ControlDocument.C:
1663         * frontends/controllers/ControlErrorList.C:
1664         * insets/insetbibitem.C:
1665         * insets/insetbranch.C:
1666         * insets/insetcaption.C:
1667         * insets/insetcollapsable.C:
1668         * insets/insetenv.C:
1669         * insets/insetert.C:
1670         * insets/insetfloat.C:
1671         * insets/insetfoot.C:
1672         * insets/insetfootlike.C:
1673         * insets/insetnewline.C:
1674         * insets/insetquotes.C:
1675         * insets/insettabular.C:
1676         * insets/insettext.C:
1677         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1678
1679         * frontends/controllers/ControlChanges.C: #include "changes.h".
1680
1681 2003-09-06  Angus Leeming  <leeming@lyx.org>
1682
1683         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1684         than #including paragraph.h.
1685
1686         * ParagraphList.h:
1687         * RowList.h: deleted. Superfluous.
1688
1689         * CutAndPaste.h:
1690         * iterators.h:
1691         * lyxcursor.h:
1692         * lyxtext.h:
1693         * text_funcs.h:
1694         * undo.h:
1695         * undo_funcs.h:
1696         * insets/inset.h:
1697         * insets/insettext.h: use ParagraphList_fwd.h rather than
1698         ParagraphList.h.
1699
1700         * paragraph.h: don't forward declare ParagraphList.
1701
1702         * buffer.h:
1703         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1704         rather than ParagraphList.h. paragraph.h is still needed for the
1705         Paragraph::depth_type parameters.
1706
1707         * textcursor.h: enable it to compile stand-alone in light of the
1708         above changes.
1709
1710         * bufferview_funcs.C:
1711         * iterators.C:
1712         * lyxfunc.C:
1713         * lyxrow_funcs.C:
1714         * paragraph.C:
1715         * rowpainter.C:
1716         * text.C:
1717         * text2.C:
1718         * text3.C:
1719         * text_funcs.C:
1720         * textcursor.C:
1721         * undo.C:
1722         * frontends/controllers/ControlParagraph.C:
1723         * frontends/controllers/ControlTabular.C:
1724         * insets/insetmarginal.C:
1725         * insets/insetminipage.C:
1726         * insets/insetnote.C:
1727         * insets/insetoptarg.C: add header files needed to compile again.
1728
1729 2003-09-06  Angus Leeming  <leeming@lyx.org>
1730
1731         * RowList_fwd.h: new file, forward-declaring Row rather than
1732         #including lyxrow.h.
1733
1734         * lyxrow_funcs.h:
1735         * lyxtext.h:
1736         * paragraph.h:
1737         * insets/insettext.h: use it instead of RowList.h
1738
1739         * bufferview_funcs.C:
1740         * lyxfunc.C:
1741         * lyxrow_funcs.C:
1742         * paragraph.C:
1743         * rowpainter.C:
1744         * text.C:
1745         * text2.C:
1746         * text3.C: #include "RowList.h".
1747
1748 2003-09-05  Angus Leeming  <leeming@lyx.org>
1749
1750         * factory.C (createInset):
1751         * vspace.C (c-tor): replace sscanf call with an istringstream.
1752         * ispell.C: re-add missing HP/UX headers.
1753         * lyxserver.C: re-add missing  os2 headers.
1754
1755 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1756
1757         * BranchList.C:
1758         * graph.C:
1759         * ispell.C:
1760         * lastfiles.C:
1761         * lyx_cb.C:
1762         * lyxserver.C:
1763         * texrow.C:
1764         * text3.C: re-add missing system headers, needed for 2.95.2.
1765
1766 2003-09-05  Angus Leeming  <leeming@lyx.org>
1767
1768         Changes most place everywhere due to the removal of using directives
1769         from support/std_sstream.h.
1770
1771 2003-09-05  Angus Leeming  <leeming@lyx.org>
1772
1773         Replace LString.h with support/std_string.h,
1774         Lsstream.h with support/std_sstream.h,
1775         support/LIstream.h with support/std_istream.h,
1776         support/LOstream.h with support/std_ostream.h.
1777
1778         Changes resulting throughout the tree.
1779
1780 2003-09-05  Angus Leeming  <leeming@lyx.org>
1781
1782         * sgml.h: ensure that the header file can be compiled stand-alone.
1783         * *.C: strip out redundant #includes. (320 in total.)
1784
1785 2003-09-04  Angus Leeming  <leeming@lyx.org>
1786
1787         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1788         here (from getPackages).
1789
1790         * debug.[Ch]: add a new EXTERNAL tag.
1791
1792 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1793
1794         * text2.C (cursorEnd): simplify
1795         (setCursor): adjust
1796         (getColumnNearX): adjust
1797
1798         * text.C (computeBidiTables): adjust
1799         (fill): adjust
1800
1801         * rowpainter.C (paintChars): adjust
1802         (paintSelection): adjust
1803         (paintChangeBar): adjust
1804         (paintText): adjust
1805
1806         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1807         lastPos instead.
1808         (numberOfSeparators): adjust
1809
1810 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1811
1812         * LyXAction.C:
1813         * box.[Ch]:
1814         * lfuns.h:
1815         * lyxfunc.C:
1816         * text3.C: Restricts the mouse click functionality
1817         of insets like bibtex, include, toc and floatlist to the visible
1818         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1819         up the dialogs. Cursor has to be in front of the inset (i.e.
1820         start of row) for this to function.
1821
1822 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1823
1824         * bufferview_funcs.C (currentState): output row information
1825
1826 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1827
1828         * bufferview_funcs.C (currentState): output paragraph position
1829
1830 2003-09-04  Angus Leeming  <leeming@lyx.org>
1831
1832         * FloatList.h: move out #include "Floating.h".
1833         * LaTeX.h: move out #include "DepTable.h".
1834         * LyXAction.h: move out #include "funcrequest.h".
1835         * buffer.h: move out #include "author.h", "iterators.h".
1836         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1837         * lyx_main.h: move out #include "errorlist.h".
1838         * lyxfunc.h: move out #include "FuncStatus.h".
1839         * lyxtext: move out #include "lyxcursor.h".
1840         * paragraph_pimpl.h: move out #include "counters.h".
1841
1842 2003-09-03  Angus Leeming  <leeming@lyx.org>
1843
1844         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1845         preamble_snippets list, enabling us to add snippets to the preamble
1846         only if the snippet was not there already.
1847
1848 2003-09-04  Angus Leeming  <leeming@lyx.org>
1849
1850         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1851
1852 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1853
1854         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1855         update
1856
1857 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1858
1859         * BranchList.C: point fix, earlier forgotten
1860
1861 2003-09-02  Angus Leeming  <leeming@lyx.org>
1862
1863         * box.C (contains): renamed from 'contained' after a fantastic
1864         amount of hot air.
1865
1866 2003-09-02  John Levon  <levon@movementarian.org>
1867
1868         * BufferView.C:
1869         * lyxcursor.h:
1870         * lyxcursor.C:
1871         * lyxfunc.C:
1872         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1873
1874 2003-09-02  John Levon  <levon@movementarian.org>
1875
1876         * text2.C: simplification of cursorEnd(), including partial
1877         fix for bug 1376
1878
1879 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1880
1881         * buffer.C (readFile): add a space
1882
1883 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1884
1885         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1886
1887 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1888
1889         * buffer.C (readFile): new function, take a filename and a
1890         ParagraphList::iterator
1891         (readFile): adjust
1892         (readFile): adjust, make it private. don't use setStream, make
1893         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1894         always contain the filename.
1895
1896         * BufferView.C (insertLyXFile): simplify and make it work for
1897         gzipped files.
1898
1899 2003-08-30  John Levon  <levon@movementarian.org>
1900
1901         * Makefile.am: fix dist (from Kayvan)
1902
1903 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1904
1905         * most files: change to use const Buffer refs
1906
1907 2003-08-27  André Pönitz  <poenitz@gmx.net>
1908
1909         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1910         on top of ownerPar().
1911
1912 2003-08-27  John Levon  <levon@movementarian.org>
1913
1914         * funcrequest.C: properly initialise POD members
1915
1916 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1917
1918         * lyxtext.h (top_y): move top_y from here
1919         * text.C:
1920         * text2.C:
1921         * text3.C:
1922         * BufferView.[Ch]:
1923         * BufferView_pimpl.[Ch]: to here
1924         * frontends/screen.C:
1925         * insets/insettabular.C:
1926         * insets/insettext.C: adjust
1927         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1928
1929 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1930
1931         * BufferView.[Ch]:
1932         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1933
1934 2003-08-26  André Pönitz  <poenitz@gmx.net>
1935
1936         * paragraph_func.[Ch] (outerPar): new function
1937
1938         * paragraph.C:
1939         * paragraph_funcs.C:
1940         * paragraph_funcs.h:
1941         * paragraph_pimpl.C:
1942         * text2.C: remove Inset::par_owner
1943
1944 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1945
1946         * lyxrow_funcs.C:
1947         * lyxtext.h:
1948         * text.C:
1949         * text2.C: eliminates the needFullRow/display() stuff
1950         altogether, putting the logic in metrics/draw in the insets.
1951
1952 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1953
1954         * text2.C (redoParagraphInternal, redoParagraphs):
1955         * text.C (redoParagraph): add a call to updateRowPositions at the
1956         end of each 'metrics-like' call. Remove all others.
1957         (getRow): remove the 'y-computing' version.
1958         (getRowNearY): do not compute nor return the real y. Solve the
1959         'y < 0' problem and simplify.
1960
1961 2003-08-22  Angus Leeming  <leeming@lyx.org>
1962
1963         * *.[Ch]: clean-up of licence and author blurbs.
1964         Also move config.h out of a few .h files and into a few .C files.
1965
1966 2003-08-22  André Pönitz  <poenitz@gmx.net>
1967
1968         * lyxrow.[Ch]: add x_ and *fill_ members
1969
1970         * lyxtext.h:
1971         * text.C:
1972         * rowpainter.C:
1973         * text2.C: adjust/remove prepareToPrint() calls
1974
1975 2003-08-22  André Pönitz  <poenitz@gmx.net>
1976
1977         * lyxrow.[Ch]: add  end_ member
1978
1979         * lyxrow_funcs.C: use LyXRow::end_
1980
1981         * lyxtext.h (singleWidth): add LyXFont parameter
1982
1983         * rowpainter.C:
1984         * text2.C: adjust LyXText::singleWidth() calls
1985
1986         * text.C (redoParagraph): simplify row breaking logic
1987
1988
1989 2003-08-19  André Pönitz  <poenitz@gmx.net>
1990
1991         * funcrequest.C: initialize button_ member
1992
1993         * text3.C:
1994         * rowpainter.[Ch]: interface consolidation
1995
1996 2003-08-18  André Pönitz  <poenitz@gmx.net>
1997
1998         * BufferView.C:
1999         * BufferView_pimpl.C:
2000         * lyxfind.C:
2001         * paragraph_funcs.C:
2002         * rowpainter.C:
2003         * text3.C: remove LyXScreen::draw() and fitCursor calls
2004
2005         * BranchList.h: remove spurious semicolons
2006
2007         * MenuBackend.C: fix branchlist related crash
2008
2009 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2010
2011         * BranchList.[Ch]:
2012         * InsetList.[Ch]:
2013         * LColor.[Ch]:
2014         * LyXAction.C:
2015         * Makefile.am:
2016         * MenuBackend.[Ch]:
2017         * bufferparams.[Ch]:
2018         * factory.C:
2019         * lfuns.h:
2020         * lyxfunc.C:
2021         * text3.C: implements the 'branch inset'
2022         idea. This allows the output of various versions of a document
2023         from a single source version, selectively outputing or suppressing
2024         output of parts of the text.
2025         This implementation contains a 'branch list editor' in a separate
2026         tab of the document settings dialog. Branches are user definable
2027         and have a "display colour" to distinguish them on-screen.
2028
2029         ColorHandler was somewhat cleaned up.
2030         (1) make possible a dynamically growing LColor list by allowing
2031         the graphic context cache to grow along (vector);
2032         (2) eliminate an IMHO unnecessary step in colour allocation.
2033
2034 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2035
2036         * BufferView_pimpl.C: compile fix
2037
2038 2003-08-15  André Pönitz  <poenitz@gmx.net>
2039
2040         * rowpainter.C: remove extra metrics calls
2041
2042         * lyxtext.h: merge the two constructors into a single one,
2043           pass reference to owner's par list
2044
2045         * BufferView_pimpl.C:
2046         * text.C:
2047         * text2.C: adjust
2048
2049 2003-08-15  André Pönitz  <poenitz@gmx.net>
2050
2051         * lyxrow_funcs.[Ch]:
2052         * lyxtext.h:
2053         * paragraph.h:
2054         * paragraph_funcs.C:
2055         * rowpainter.C:
2056         * text.C:
2057         * text2.C:
2058         * text3.C:
2059         * text_funcs.C: split LyXText::rowlist_ into individual
2060         Paragraph::rows_ chunks
2061
2062         * BufferView.[Ch]:
2063         * BufferView_pimpl.[Ch]:
2064         * lyxfind.C:
2065         * lyxtext.h:
2066         * text3.C: remove toggleSelection()
2067
2068 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2069
2070         * bufferlist.C: beautify two alerts (shorter text of buttons)
2071         * buffer.C: Remove redundant ' ' from message
2072         * tabular.h:
2073         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2074         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2075         rename VALIGN_CENTER to VALIGN_MIDDLE
2076
2077 2003-08-11  André Pönitz  <poenitz@gmx.net>
2078
2079         * lyxtext.h (getPar):
2080         * text.C: new function
2081
2082 2003-08-11  André Pönitz  <poenitz@gmx.net>
2083
2084         * Makefile.am:
2085         * tracer.[Ch]: remove unneeded files
2086
2087         * InsetList.[Ch]: remove resizeInsetsLyXText()
2088
2089         * lyxtext.h:
2090         * text.C:
2091         * text2.C:
2092         * text3.C: merge insertParagraphs() and appendParagraph()
2093         remove breakAgain(), update()
2094
2095         * BufferView_pimpl.[Ch]:
2096         * bufferview_funcs.[Ch]:
2097         * lyxfunc.C:
2098         * paragraph.[Ch]:
2099         * rowpainter.C:
2100         * tabular.C: adjust after text & InsetList changes.
2101
2102 2003-08-08  André Pönitz  <poenitz@gmx.net>
2103
2104         * text.C (insertChar, backspace): replace rowlist fiddling
2105         with rebreak of full par
2106
2107         * lyxtext.h:
2108         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2109         checkParagraph, updateInset): removed
2110
2111 2003-08-07  André Pönitz  <poenitz@gmx.net>
2112
2113         * paragraph.C:
2114         * text3.C: merge some LFUN handlers, remove dead code
2115
2116 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2117
2118         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2119
2120 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2121
2122         * text2.C (DEPM): fix part of bug 1255 and 1256
2123
2124 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2125
2126         * BufferView_pimpl.C (workAreaDispatch): change to use
2127         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2128         that are no mouse related.
2129
2130 2003-08-05  André Pönitz  <poenitz@gmx.net>
2131
2132         * BufferView.[Ch]:
2133         * BufferView_pimpl.[Ch]:
2134         * bufferview_funcs.C:
2135         * text2.C:
2136         * text3.C: rip out "deep update"
2137
2138         * textcursor.[Ch] (last_sel_cursor): remove unused member
2139
2140 2003-08-04  André Pönitz  <poenitz@gmx.net>
2141
2142         * BufferView.[Ch]:
2143         * BufferView_pimpl.[Ch]:
2144         * ParagraphParameters.C:
2145         * bufferview_funcs.C:
2146         * lyx_cb.C:
2147         * lyxfind.C:
2148         * lyxfunc.C:
2149         * text.C:
2150         * text2.C:
2151         * text3.C: replace "complicated" BufferView::update(...) calls with
2152         simpler ones.
2153
2154         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2155
2156 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2157
2158         * Makefile.am (lyx_SOURCES): add paper.h
2159
2160 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2161
2162         * Makefile.am: move things around so that both lyx-qt and
2163         lyx-xforms can be built (according to --with-frontend). Then lyx
2164         is a symbolic link to lyx-[firstfrontend]
2165
2166 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2167
2168         * Always use std::endl with lyxerr
2169
2170 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2171
2172         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2173
2174 2003-08-01  André Pönitz  <poenitz@gmx.net>
2175
2176         * BufferView.[Ch]:
2177         * BufferView_pimpl.[Ch]:
2178         * lyxfunc.C:
2179         * text3.C: merge BufferView::repaint() and BufferView::update()
2180
2181 2003-08-01  José Matos  <jamatos@lyx.org>
2182
2183         * buffer.[Ch]: file_format is no longer a buffer data element.
2184
2185 2003-08-01  André Pönitz  <poenitz@gmx.net>
2186
2187         * BufferView.C:
2188         * lyxtext.h:
2189         * text.C:
2190         * text2.C: make redoParagraph more independent of current cursor
2191
2192         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2193         * text.C:
2194         * text2.C: remove unneeded members
2195
2196 2003-07-30  André Pönitz  <poenitz@gmx.net>
2197
2198         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2199
2200         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2201           create a single function...
2202
2203         * paragraph_funcs.C (moveItem): ... here.
2204
2205         * text.C:
2206           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2207
2208 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * LColor.[Ch]: Add comment and greyedout logical colors.
2211
2212 2003-07-30  André Pönitz  <poenitz@gmx.net>
2213
2214         * tabular.C: don't use Assert too heavily. This crashes where it
2215           shouldn't
2216
2217 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2218
2219         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2220         is disabled (bug 1232)
2221
2222 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2223
2224         * factory.C: limited 'arg' scope
2225
2226 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2227
2228         * factory.C: fixed Note submenu issues
2229
2230 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2231
2232         * factory.C: submenu for Note/Comment/Greyedout
2233
2234 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2235
2236         * lyx_main.C (LyX):
2237         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2238
2239 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2240
2241         * LaTeXFeatures.C:
2242         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2243         greyedout. Patch provided by Jürgen Spitzmüller.
2244
2245 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2246
2247         * kbmap.C (read): fix error message when reading bind files
2248
2249 2003-07-29  Angus Leeming  <leeming@lyx.org>
2250
2251         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2252         certainly does not do what it purports to do. I am doing it, and
2253         us, a favour by killing it.
2254
2255 2003-07-28  José Matos  <jamatos@lyx.org>
2256
2257         * buffer.C (readBody, do_writeFile):
2258         * paragraph.C(readParagraph): \end_document replaces \the_end.
2259
2260 2003-07-29  André Pönitz  <poenitz@gmx.net>
2261
2262         * BufferView.[Ch]:
2263         * BufferView_pimpl.[Ch]:
2264         * lyxfunc.C:
2265         * text2.C:
2266         * text3.C:
2267         * textcursor.[Ch]: remove toggleToggle & Co
2268
2269 2003-07-28  José Matos  <jamatos@fep.up.pt>
2270
2271         * buffer.C (readParagraph):
2272         * params_func (readParToken, readParagraph):
2273         * paragraph.C (write): \layout -> \begin_layout.
2274
2275 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * lyxlex_pimpl.C (setFile): clean up slightly.
2278
2279         * bufferparams.h: add compressed var
2280
2281         * buffer_funcs.C (readFile): adjust for LyXLex change
2282         (newFile): ditto + simplify
2283
2284         * buffer.C (writeFile): handle writing of compressed files
2285
2286         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2287         Check if the file is compressed and set a bufferparm if so.
2288
2289         * Makefile.am (lyx_LDADD): remove explicit -lz
2290
2291 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2294         makeDocBookFile): put the real LyX version in the first line of
2295         the file
2296
2297         * version.h:
2298         * version.C.in: remove lyx_docversion
2299
2300         * tabular.C (write_attribute): add a template-based version to
2301         write enums properly
2302
2303 2003-07-28  André Pönitz  <poenitz@gmx.net>
2304
2305         * lyxtext.h:
2306         * text.C:
2307         * text2.C:
2308         * text3.C: use doubles again for x-coordinates. They are needed.
2309
2310 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * messages.C (getLocaleDir): use lyx_localedir()
2313
2314         * lyxlex_pimpl.C (setFile): compress stuff
2315
2316         * buffer.C (writeFile): add some compression stuff
2317         (do_writeFile): new func, dont call expliti close... will this
2318         breake anything?
2319
2320         * Makefile.am (lyx_LDADD): add -lz
2321
2322 2003-07-28  José Matos  <jamatos@fep.up.pt>
2323
2324         * buffer.C: increment file format.
2325         * paragraph_funcs (readParagraph, readParToken):
2326         * paragraph.C (readParagraph): add \end_layout.
2327
2328 2003-07-27  Angus Leeming  <leeming@lyx.org>
2329
2330         * Makefile.am: remove special casing for configure-time setting of
2331         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2332
2333         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2334         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2335
2336 2003-07-26  André Pönitz  <poenitz@gmx.net>
2337
2338         * paragraph_func.[Ch]:
2339         * paragraph.C (realizeFont): inline it whereever it is used
2340
2341         * rowpainter.C:
2342         * text.C:
2343         * text2.C:
2344         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2345
2346
2347 2003-07-26  André Pönitz  <poenitz@gmx.net>
2348
2349         *       lyxtext.h:
2350         * text.C:
2351         * text2.C: get rid of LyXText::need_break_row
2352
2353 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * toc.[Ch]: put namespace toc inside namespace lyx
2356
2357         * MenuBackend.C (expandToc2): adjust for lyx::toc
2358         (expandToc): ditto
2359
2360         * lyxfunc.C (dispatch): adjust for lyx::find
2361
2362         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2363         lyx::find instead. Reorganize a bit.
2364         (LyXReplace): rename to replace
2365         (LyXFind): rename to find
2366
2367         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2368         (dispatch): ditto
2369
2370 2003-07-26  André Pönitz  <poenitz@gmx.net>
2371
2372         * text.C (setHeightOfRow): restrict scope of temporary variable
2373
2374         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2375           code (never has been used?)
2376
2377 2003-07-27  Asger Alstrup  <alstrup@local>
2378
2379         * text.C (fill): Optimise algorithm to exploit that we can reuse
2380         the LyXFont for many characters.
2381         (setHeightOfRow): Same thing.
2382         (rowBreakPoint): Same thing.
2383
2384 2003-07-26  Asger Alstrup  <alstrup@local>
2385
2386         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2387
2388         * text.C (singleWidth): Spurious font copying in hot-spot
2389         singleWidth avoided. Reorder tests for arabic for efficiency.
2390
2391         * text.C (fill): handle empty paragraphs better.
2392
2393 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2394
2395         * ispell.C:
2396         * encoding.h: add includes
2397
2398         * lyxrc.C: remove reading of bind files
2399
2400         * lyx_main.C (init): setup bindings and menus only if we have a
2401         gui.
2402
2403         * kbmap.C (read): new method. Do the actual reading of bind
2404         files.
2405
2406         * converter.C (dvipdfm_options):
2407         * bufferparams.C:
2408         * lyxrc.C (read):
2409         (output): adapt PAPER_* enums.
2410
2411         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2412
2413         * bufferparams.h: remove paper-related enums from there
2414
2415         * paper.h: New file. A trivial header file to hold paper-related
2416         enums. It should later expand to contain many paper-related
2417         horrors access.
2418
2419         * lyxrc.C: declare extern displayTranslator
2420
2421 2003-07-27  José Matos  <jamatos@fep.up.pt>
2422
2423         * tabular.[Ch] (linuxdoc): add support for tables and figures
2424         (linuxdoc).
2425
2426 2003-07-27  José Matos  <jamatos@fep.up.pt>
2427
2428         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2429         consistency in both functions.
2430         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2431
2432 2003-07-26  Asger Alstrup  <alstrup@local>
2433
2434         * rowpainter.C (paintRows): Change algorithm to work directly on
2435         the insets rather than asking every character in the document
2436         whether its an inset.
2437
2438 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2439
2440         * buffer.C (openFileWrite): factorize some code
2441
2442 2003-07-26  Angus Leeming  <leeming@lyx.org>
2443
2444         * lyx_cb.C:
2445         * lyx_main.[Ch]: replace occurances of system_tempdir with
2446         os::getTmpDir().
2447
2448 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2449
2450         * rename Inset to InsetOld
2451
2452 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2453
2454         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2455         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2456         which I think is a bit clearer. EDIT is gone, since it was
2457         premature optimisation, and broken for mathed anyway.
2458         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2459         with cursor positioning in insets as well (math insets still do not
2460         work, but that's a different story anyway.) It mysteriously
2461         crashes sometimes with undo in the first paragraph, but I'm fairly
2462         confident that this is a compiler bug.
2463
2464 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * paragraph.C (Paragraph): adjust for new clone return type
2467         (operator==): ditto
2468         (copyIntoMinibuffer): ditto
2469
2470 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2471
2472         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2473         by not having a special case, and always doing a full rebreak of
2474         the document after undo.
2475
2476 2003-07-23  Angus Leeming  <leeming@lyx.org>
2477
2478         * factory.C (createInset): InsetExternal::setParams now takes a
2479         Buffer const * arg.
2480
2481 2003-07-23  Angus Leeming  <leeming@lyx.org>
2482
2483         * factory.C (createInset): changed interface to the external and
2484         graphics mailers' string2params functions.
2485
2486 2003-07-23  Angus Leeming  <leeming@lyx.org>
2487
2488         * factory.C (createInset): pass a
2489         Buffer const * parameter to InsetExternalMailer's string2params.
2490
2491 2003-07-22  John Levon  <levon@movementarian.org>
2492
2493         * Thesaurus.h: include the right aiksaurus header
2494
2495 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2496
2497         * MenuBackend.C (expand): check menu shortcuts unconditionally
2498
2499 2003-07-21  Angus Leeming  <leeming@lyx.org>
2500
2501         * factory.C (createInset): pass a
2502         buffer_path parameter to InsetGraphicsMailer's string2params.
2503
2504 2003-07-21  Angus Leeming  <leeming@lyx.org>
2505
2506         * BufferView_pimpl.C (buffer):
2507         * buffer.C (d-tor):
2508         * lyx_main.C (LyX):
2509         * lyxfunc.C (dispatch):
2510         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2511         rather than the grfx shortcut.
2512
2513 2003-07-21  André Pönitz  <poenitz@gmx.net>
2514
2515         * rowpainter.C: remove unused variables
2516
2517         * tabular_funcs.C:
2518         * tabular_funcs.h: move to tabular.C
2519         * Makefile.am: adjust
2520
2521         * tabular.[Ch]: basic optical cleaning
2522
2523         * author.h: pass references, not values
2524
2525 2003-07-18  André Pönitz  <poenitz@gmx.net>
2526
2527         * lyxtext.h:
2528         * metricsinfo.C:
2529         * metricsinfo.h:
2530         * rowpainter.C:
2531         * text.C:
2532         * text2.C:
2533         * text3.C: two-phase drawing for InsetText and InsetTabular
2534         some float -> int changes.
2535
2536 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2537
2538         * lyx_main.C: fix the fix
2539
2540 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2541
2542         * lyx_main.C: fix a crash in batch mode if no files specified
2543         * converter.C: ws
2544
2545 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2546
2547         * format.[Ch] (papersize): moved to BufferParams
2548         * converter.[Ch] (dvips_options): moved to BufferParams
2549         (dvipdfm_options): moved to anon namespace
2550         * bufferparams.[Ch]: added above functions.
2551
2552 2003-07-17  André Pönitz  <poenitz@gmx.net>
2553
2554         * lyxtext.h:
2555         * rowpainter.C:
2556         * text2.C: don't call inset->update() anymore
2557
2558         * metricsinfo.[Ch]: add convenience constructor
2559
2560 2003-07-16  André Pönitz  <poenitz@gmx.net>
2561
2562         * lyxcursor.[Ch]:
2563         * lyxfunc.[Ch]:
2564         * text.C:
2565         * text2.C: replace the LyXCursor::irow_ member with
2566          on-demand computation of the value
2567
2568 2003-07-16  John Levon  <levon@movementarian.org>
2569
2570         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2571
2572 2003-07-15  André Pönitz  <poenitz@gmx.net>
2573
2574         * text.C:
2575         * text2.C: remove no more needed refresh_row
2576
2577 2003-07-15  André Pönitz  <poenitz@gmx.net>
2578
2579         * lyxtext.h:
2580         * rowpainter.C:
2581         * text2.C:
2582         * text3.C: refresh_status tristate -> need_update bool
2583
2584 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2585
2586         * lyxtext.h (init): remove reinit argument (act as if always true)
2587         * text2.C: adjust to that
2588
2589 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2590
2591         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2592         * text3.C: use it to delete selections in some cases
2593         (bugs 441, 673, 702, 954).
2594
2595 2003-07-14  André Pönitz  <poenitz@gmx.net>
2596
2597         * rowpainter.[Ch]: reduce interface
2598
2599 2003-07-14  André Pönitz  <poenitz@gmx.net>
2600
2601         * BufferView_pimpl.C:
2602         * text2.C: adjust after removing unused BufferView * argument
2603
2604 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * text2.C (init): fix a crash fired on resize
2607
2608 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2609
2610         * buffer.[Ch]: added new closing signal
2611         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2612         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2613         BufferView::Pimpl via the closing the signal
2614
2615 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2616
2617         * buffer.[Ch]: take out all bv-related from buffer
2618         * BufferView.C:
2619         * BufferView_pimpl.[Ch]: connect to new signals
2620         * CutAndPaste.C: removed useless asserts
2621         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2622         * lyxvc.[Ch]:
2623         * vc-backend.[Ch]:
2624         * lyxfunc.C: moved view-related funciontality from vc here
2625         * paragraph.C: removed outdated comments
2626         * text.C: ws
2627
2628 2003-07-10  André Pönitz  <poenitz@gmx.net>
2629
2630         * BufferView_pimpl.C:
2631         * tabular.h:
2632         * tabular_funcs.C:
2633         * text.C:
2634         * text2.C: remove InsetText::InnerCache, clean up consequences
2635
2636 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2637
2638         * ispell.C: fix two typos in error messages
2639
2640 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2641
2642         * Extend Note inset to other forms of annotation like Comment
2643         and Greyedout. Right button click gives dialog.
2644
2645         Files modified or added (+):
2646
2647         * insetnote.[Ch]
2648         * FormNote.[Ch]      +
2649         * ControlNote.[Ch]   +
2650         * form_note.fd       +
2651         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2652         frontends/controllers
2653         * xforms/Dialogs.C
2654         * factory.C
2655
2656 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2657
2658         * aspell.C: add missing namespace lyx::support
2659
2660 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2661
2662         * BufferView.[Ch] (newFile): Add
2663         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2664         * LaTeX.[Ch] (message): added this signal and use it
2665         * buffer.[Ch] (busy, message): added these signals and use them
2666         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2667         * converter.C:
2668         * exporter.C:
2669         * format.C:
2670         * importer.C: use buffer signals instead of direct bv calling
2671         * lyx_cb.[Ch] (ShowMessage): removed
2672         * lyx_main.C:
2673         * lyxfunc.C:
2674         * paragraph_funcs.C:
2675         * text2.C: use buffer signals
2676
2677 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2678
2679         * introduce namespace lyx::graphics
2680
2681 2003-07-02  André Pönitz  <poenitz@gmx.net>
2682
2683         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2684
2685 2003-07-01  André Pönitz  <poenitz@gmx.net>
2686
2687         * text.C:
2688         * text2.C:
2689         * text3.C:
2690         * text_funcs.[Ch]:
2691         * textcursor.h:
2692         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2693           text*.C to text_func.C
2694
2695 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * introduce namespace lyx::support
2698
2699 2003-06-30  André Pönitz  <poenitz@gmx.net>
2700
2701         * Chktex.C:
2702         * funcrequest.C:
2703         * lyxtext.h:
2704         * text.C: re-enable --with-included-string
2705
2706 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2707
2708         * textcursor.C: add <config.h>
2709
2710         * text.C (getWord): remove const from word_location arg
2711
2712         * lyxvc.C (getLogFile): fix const type order
2713
2714         * lyxtext.h: remove const from word_location arg, add arg name
2715
2716         * lyxlayout.h: currect type on labeltype.
2717
2718         * importer.C: correct \file
2719
2720         * converter.C (intToFormat): use std:: on ret val, ws changes
2721
2722         * bufferlist.h: correct \file
2723
2724         * buffer.C (makeLinuxDocFile): fix const type order
2725         (makeDocBookFile): ditto
2726         (fillWithBibKeys): use std:: on stdlib args.
2727
2728         * CutAndPaste.C: fix authors.
2729         (availableSelections): use std:: on return vector
2730
2731 2003-06-27  André Pönitz  <poenitz@gmx.net>
2732
2733         * BufferView_pimpl.C:
2734         * bufferview_funcs.C:
2735         * lyxcursor.C:
2736         * lyxcursor.h:
2737         * lyxfunc.C:
2738         * lyxtext.h:
2739         * rowpainter.C:
2740         * text.C:
2741         * text2.C:
2742         * text3.C: remove LyXCursor::row_ member
2743
2744         * lyxtext.h:
2745         * text.C: rename fullRebreak() to partialRebreak() and implement
2746           a fullRebreak() that really bereks fully
2747
2748         * textcursor.h: new struct for cursor-related data
2749
2750 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2751
2752         * lyx_main.C (LyX): get full path of document loaded on the
2753         command line
2754
2755 2003-06-26  André Pönitz  <poenitz@gmx.net>
2756
2757         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2758           remove unused/broken operator>,<,>=.
2759
2760         *       text.C: remove only use of broken operator<= in an Assert().
2761
2762 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2763
2764         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2765         moved errorlist_.clear to showErrorList
2766
2767 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2768
2769         * converter.C (scanLog, runLaTeX):
2770         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2771         move the bv->showErrorList call to the callers
2772         * lyxfunc.C: i.e. here...
2773         * text2.C: and here
2774         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2775         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2776         namespace, the second to...
2777         * buffer_funcs (BufferFormat, parseErrors): added
2778         * errorlist.C (ErrorList(TeXErrors const &)): removed
2779
2780 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2781
2782         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2783
2784 2003-06-24  "Garst R. Reese" <reese@isn.net>
2785
2786         * debug.C: fix typo
2787
2788 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2789
2790         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2791
2792         * version.C.in: change docversion to 1.4
2793
2794 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2795
2796         * buffer.C: fix a bug just introduced
2797
2798 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2799
2800         * buffer.[Ch]: added the parseError signal and use it, removed
2801         sgmlError
2802         * BufferView.[Ch] (addError): moved to ...
2803         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2804         to the Buffer::parseError signal to catch (guess what) parse errors
2805         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2806
2807 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2808
2809         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2810         ability to create a buffer and to return an existing one from
2811         the list. Moved these functions to...
2812         * buffer_funcs.[Ch]: added
2813         * BufferView.[Ch] (loadLyXFile): added
2814         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2815         job removed from bufferlist::loadLyXFile.
2816         * buffer.C (setReadOnly): make it work without view
2817         (i.e added an if (users))
2818
2819 2003-06-19  Angus Leeming  <leeming@lyx.org>
2820
2821         * lfuns.h:
2822         * LyXAction.C (init):
2823         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2824         with LFUN_DIALOG_SHOW <name> <data>.
2825
2826 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2827
2828         * CutAndPaste.C (availableSelections): small compilation fix for
2829         ancient (gcc 2.9x) compilers
2830
2831 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * text3.C (cursorNext): add tmp var
2834
2835         * text2.C (updateCounters): for function calling out of for clause
2836         (replaceSelectionWithString): ditto
2837         (insertStringAsParagraphs): ditto
2838         (getColumnNearX): add tmp var
2839         (setCursorFromCoordinates): add tmp var
2840         (cursorDownParagraph): add tmp var
2841         (deleteEmptyParagraphMechanism): add tmp var
2842
2843         * text.C (insertChar): add tmp var
2844
2845         * rowpainter.C (paintDepthBar): add tmp var
2846
2847         * CutAndPaste.C (availableSelections): potentially check all
2848         paragraphs in a cut to fill the shown strings.
2849
2850 2003-06-18  André Pönitz  <poenitz@gmx.net>
2851
2852         * kbmap.[Ch]: use vector<> instead of list<>
2853
2854 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2855
2856         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2857         pasteSelection with index
2858
2859         * text2.C (pasteSelection): modify, call pasteSelection with index
2860
2861         * paragraph.C (asString): reimplement version with no interval to
2862         call the one with interval.
2863
2864         * lyxtext.h: add index arg to pasteSelection
2865
2866         * MenuBackend.C (MenuItem): handle PasteRecent
2867         (Menu::read::Menutags): add md_pasterecent
2868         (read): handle it
2869         (expandPasteRecent): new function
2870         (expand): use it
2871
2872         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2873
2874         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2875         the limited stack
2876         (availableSelections): new function
2877
2878 2003-06-17  Angus Leeming  <leeming@lyx.org>
2879
2880         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2881
2882 2003-06-17  Angus Leeming  <leeming@lyx.org>
2883
2884         * lfuns.h:
2885         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2886
2887         * lyxfunc.C (dispatch): invoke it.
2888
2889 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2890
2891         * iterators.C (operator++, ParPosition): reintroduce some
2892         const_cast for the benefit of older compilers.
2893
2894 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2895
2896         * text3.C (dispatch): do not modify clipboard when doing
2897         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2898         LFUN_DELETE_SKIP on a selection selection
2899
2900 2003-06-16  André Pönitz  <poenitz@gmx.net>
2901
2902         * BufferView.C:
2903         * buffer.C:
2904         * buffer.h:
2905         * paragraph.C:
2906         * tabular.[Ch]: IU of clone() and getLabelList();
2907
2908 2003-06-13  André Pönitz  <poenitz@gmx.net>
2909
2910         * tabular.h: compactification
2911
2912 2003-06-12  André Pönitz  <poenitz@gmx.net>
2913
2914         * tabular.C:
2915         * tabular.h:
2916         * tabular_funcs.h: some renaming plus whitespace
2917
2918 2003-06-12  André Pönitz  <poenitz@gmx.net>
2919
2920         * BufferView.C:
2921         * BufferView_pimpl.C:
2922         * CutAndPaste.C:
2923         * buffer.C:
2924         * iterators.[Ch]:
2925         * lyxfunc.C:
2926         * text.C:
2927         * toc.C: Return a Paragraph & for ParIterator::operator*()
2928
2929 2003-06-11  John Levon  <levon@movementarian.org>
2930
2931         * lyx_main.C:
2932         * ToolbarBackend.h:
2933         * ToolbarBackend.C: add "Toolbars" section and
2934         put the flags there
2935
2936 2003-06-10  Angus Leeming  <leeming@lyx.org>
2937
2938         * lfuns.h:
2939         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2940
2941         * lyxfunc.C (dispatch): invoke it.
2942
2943 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2944
2945         * main.C: protect <ios> with HAVE_IOS
2946         (main): protect sync_with_stdio with HAVE_IOS
2947
2948 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2949
2950         * text2.C (cutSelection): adjust
2951         (pasteSelection): adjust
2952
2953         * messages.C: handle get of empty string
2954
2955         * main.C (main): use sync_with_stdio(false)
2956
2957         * lyxfunc.C (dispatch): adjust
2958
2959         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2960         (WriteAs): remove unneeded BufferView arg.
2961
2962         * bufferparams.h: use correct types on papersize, papersize2 and
2963         paperpackage.
2964
2965         * bufferparams.C (readToken): adjust for type
2966         (writeLaTeX): add missing cases to switch.
2967
2968         * bufferlist.C (quitWriteBuffer): adjust
2969         (close): adjust
2970
2971         * buffer.C (asciiParagraph): remove some commented code.
2972
2973         * CutAndPaste.C: remove current_view extern variable.
2974         (cutSelection): add BufferParams arg.
2975         (eraseSelection): add BufferParams arg.
2976         (pasteSelection): add Buffer const & arg
2977
2978 2003-06-07  John Levon  <levon@movementarian.org>
2979
2980         * buffer.C:
2981         * paragraph_funcs.C:
2982         * paragraph_pimpl.C:
2983         * text.C:
2984         * text2.C:
2985         * paragraph.h:
2986         * paragraph.C: allow InsetERT to freely space lines,
2987         and some consolidation of code
2988
2989 2003-06-06  José Matos  <jamatos@fep.up.pt>
2990
2991         * buffer.C (makeDocBookFile): fix bug #821
2992
2993 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2994
2995         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2996
2997 2003-06-04  Angus Leeming  <leeming@lyx.org>
2998
2999         * buffer.C: bump format to 224.
3000
3001 2003-06-05  André Pönitz  <poenitz@gmx.net>
3002
3003         * text2.C (redoParagraphs): remove two const_cast<>
3004
3005 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3006
3007         * ParagraphList.h: remove last remnants of NO_STD_LIST
3008
3009 2003-06-03  Angus Leeming  <leeming@lyx.org>
3010
3011         * factory.C (createInset): small change to the way InsetExternal's params
3012         are set.
3013
3014 2003-06-04  André Pönitz  <poenitz@gmx.net>
3015
3016         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3017
3018         * paragraph_pimpl.h:
3019         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3020
3021         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3022
3023         * undo_funcs.C: make some simple cases of undo work again
3024
3025 2003-06-03  John Levon  <levon@movementarian.org>
3026
3027         * ispell.C: HPUX doesn't have sys/select.h
3028         (from Albert Chin)
3029
3030 2003-06-03  John Levon  <levon@movementarian.org>
3031
3032         * CutAndPaste.C: update tabular and include inset
3033         buffer references
3034
3035         * buffer.h:
3036         * paragraph.h:
3037         * paragraph.C: remove owningBuffer(), don't pass Buffer
3038         to clone()
3039
3040         * factory.C: insetGraphicsParams changed
3041
3042 2003-06-02  John Levon  <levon@movementarian.org>
3043
3044         * LyXAction.C:
3045         * factory.C:
3046         * lfuns.h:
3047         * lyxfunc.C:
3048         * text3.C: remove insetparent
3049
3050 2003-06-02  John Levon  <levon@movementarian.org>
3051
3052         * buffer.h:
3053         * buffer.C: fix inset_iterator.end(), move out of line
3054         (bug 1149)
3055
3056 2003-06-01  John Levon  <levon@movementarian.org>
3057
3058         * text3.C: use a proper cut/paste when doing inset
3059         insert (from Jürgen Spitzmüller)
3060
3061 2003-06-01  John Levon  <levon@movementarian.org>
3062
3063         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3064
3065 2003-05-30  André Pönitz  <poenitz@gmx.net>
3066
3067         * rowpainter.C: unify second drawing phase
3068
3069 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * trans_mgr.C: remove one case of current_view
3072
3073         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3074
3075         * paragraph_funcs.h: remove paragraph.h include
3076
3077         * paragraph.h: delete NO_STD_LIST stuff
3078
3079         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3080
3081         * buffer.h: remove paragraph.h include
3082
3083         * ParagraphList.C: delete file
3084
3085         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3086
3087         * toc.C (getTocList): adjust
3088
3089         * paragraph_pimpl.C (validate): adjust
3090
3091         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3092
3093         * paragraph.C (Paragraph): adjust
3094         (getPositionOfInset): use const_iterator, adjust
3095         (bibitem): use const_iterator, adjust
3096         (setInsetOwner): adjust
3097
3098         * iterators.C (operator++): adjust
3099
3100         * InsetList.[Ch]: Replace selfmade iterator with standard
3101         vector::iterator also introduce const_iterator. Remove getPos,
3102         getInset and setInset from InsetTable. Adjust accordingly.
3103
3104         * BufferView.C (lockInset): adjust
3105         (ChangeInsets): adjust
3106
3107         * tabular.[Ch]: delete commented same_id functions
3108
3109 2003-05-28  John Levon  <levon@movementarian.org>
3110
3111         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3112
3113 2003-05-28  André Pönitz  <poenitz@gmx.net>
3114
3115         * metricsinfo.[Ch]: remove 'fullredraw' member
3116
3117 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3118
3119         * lyxtextclass.C (operator): remove caching.
3120
3121 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * text3.C: adjust
3124
3125         * text2.C (cursorBottom): adjust
3126         (setCounter): use ParagraphList::find, adjust
3127
3128         * text.C (workWidth): use ParagraphList::find, adjust
3129
3130         * lyxcursor.C (LyXCursor): adjust
3131
3132         * buffer.C (inset_iterator): adjust
3133
3134         * ParagraphList.h: make iterator(value_type) private, make
3135         ParagraphList a friend of iterator.
3136
3137         * ParagraphList.C (find): new function
3138
3139         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3140
3141 2003-05-27  André Pönitz  <poenitz@gmx.net>
3142
3143         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3144
3145 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3146
3147         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3148
3149 2003-05-26  John Levon  <levon@movementarian.org>
3150
3151         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3152
3153 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * remove same_id from function signatures, adjust.
3156
3157 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3160
3161         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3162
3163         * paragraph.C (Paragraph): get rid of same_ids parameter
3164
3165         * ParagraphList.C (insert): adjust
3166         (push_back): adjust
3167
3168 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3169
3170         * paragraph_funcs.C (breakParagraph): adjust
3171         (breakParagraphConservative): adjust
3172
3173         * buffer.C (readParagraph): adjust
3174
3175         * ParagraphList.C (insert): take a reference instead of a pointer
3176         (insert): adjust
3177
3178         * paragraph.[Ch] (id): new function
3179
3180         * bufferlist.C (newFile): adjust
3181
3182         * ParagraphList.C (ParagraphList): adjust
3183         (assign): adjust
3184         (push_back): take a reference instead of a pointer.
3185
3186         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3187
3188         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3189         instead.
3190
3191         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3192         set else use old code.
3193
3194         * ParagraphList.C: remove all NO_NEXT code and only compile this
3195         code of NO_STD_LIST is set.
3196
3197 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3198
3199         * BufferView_pimpl.C:
3200         * TextCache.C:
3201         * TextCache.h:
3202         * bufferlist.C:
3203         * errorlist.h:
3204         * format.C:
3205         * format.h:
3206         * graph.C:
3207         * lyxfunc.C:
3208         * lyxrc.C:
3209         * graphics/GraphicsConverter.C:
3210         * graphics/PreviewLoader.C: header adjustment
3211
3212 2003-05-23  Angus Leeming  <leeming@lyx.org>
3213
3214         * LaTeXFeatures.[Ch] (useBabel): new method.
3215         * bufferparams.C (writeLaTeX): use it.
3216
3217 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * ParagraphList.h (set): remove unused function.
3220
3221 2003-05-23  André Pönitz  <poenitz@gmx.net>
3222
3223         * BufferView.C:
3224         * BufferView_pimpl.C:
3225         * buffer.C:
3226         * buffer.h:
3227         * lyxfunc.C:
3228         * undo_funcs.C: setUndo reworked
3229
3230         * iterators.[Ch]: add access to topmost ParagraphList
3231
3232         * lyxtext.[Ch] (workWidth): add a const
3233
3234 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * texrow.[Ch] (increasePos): remove function
3237         * exporter.C (export): removed unused var and outdated comment
3238
3239 2003-05-23  Angus Leeming  <leeming@lyx.org>
3240
3241         * latexrunparams.h: rename fragile as moving_arg.
3242         * paragraph.C (simpleTeXOnePar): ditto.
3243         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3244
3245 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3246
3247         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3248         (createUndo): ditto
3249         (textUndoOrRedo): comment out a currently unused var.
3250
3251         * paragraph.h (NO_NEXT): enable NO_NEXT
3252
3253         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3254
3255         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3256
3257         * exporter.C (Export): adjust for removeAutoInsets removal.
3258
3259         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3260
3261         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3262
3263         * BufferView.[Ch] (removeAutoInsets): delete function
3264
3265 2003-05-22  Angus Leeming  <leeming@lyx.org>
3266
3267         * latexrunparams.h: add a free_spacing variable.
3268
3269         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3270         to pass moving_arg, as the data is stored in runparams.fragile.
3271
3272         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3273         to Inset::latexOptional or to simpleTeXOnePar.
3274
3275         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3276         free_spacing arg to Inset::latexOptional.
3277
3278         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3279         free_spacing arg.
3280
3281 2003-05-22  Angus Leeming  <leeming@lyx.org>
3282
3283         * latexrunparams.h: add fragile and use_babel variables.
3284
3285         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3286         * buffer.C (makeLaTeXFile): store this returned value in
3287         runparams.use_babel, thus passing it to the inset::latex methods.
3288
3289         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3290         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3291
3292         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3293         longer has a fragile arg, as it is stored in runparams.fragile.
3294
3295         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3296         moving_arg parameter as the data is stored in runparams.fragile.
3297
3298         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3299         a fragile parameter as the data is stored in runparams.fragile.
3300
3301 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3302
3303         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3304
3305 2003-05-22  Angus Leeming  <leeming@lyx.org>
3306
3307         * latexrunparams.h: add a 'bool nice' which defaults to false.
3308
3309         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3310         now encapsulated within runparams.
3311
3312         * bufferlist.C (updateIncludedTeXfiles):
3313         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3314
3315 2003-05-22  Angus Leeming  <leeming@lyx.org>
3316
3317         * latexrunparams.h: new file containing struct LatexRunParams.
3318         * Makefile.am: add new file.
3319
3320         * LaTeX.[Ch] (c-tor, run):
3321         * buffer.[Ch] (makeLaTeXFile):
3322         * bufferlist.[Ch] (updateIncludedTeXfiles):
3323         * converter.C (convert, scanLog):
3324         * converter.[Ch] (runLaTeX):
3325         * exporter.C (Export):
3326         * paragraph.[Ch] (simpleTeXOnePar):
3327         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3328         * paragraph_funcs.[Ch] (latexParagraphs):
3329         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3330         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3331         pass around a LatexRunParams parameter.
3332
3333 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * paragraph.[Ch]: remove unused constructor
3336
3337         * ParagraphList.C (erase): new function, taking two iterators
3338
3339 2003-05-22  André Pönitz  <poenitz@gmx.net>
3340
3341         * undo_funcs.C: remove duplicated code
3342
3343         * iterator.[Ch]: operator=
3344
3345 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * tabular.C (SetMultiColumn): ws changes
3348
3349         * rowpainter.C (paintFirst): get rid of a ->previous
3350
3351         * lyx_cb.C (getPossibleLabel): parlist simplification
3352
3353         * BufferView.C (ChangeInsets): simplify slightly.
3354
3355 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3356
3357         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3358         * lfuns.h: new LFUN_SPACE
3359         * lyxfunc.C: protected space has a new lfun
3360         * paragraph_funcs.C: read new space insets
3361         * text3.C:
3362         * factory.C: handle new space insets
3363
3364 2003-05-22  André Pönitz  <poenitz@gmx.net>
3365
3366         * BufferView.C:
3367         * BufferView_pimpl.C:
3368         * buffer.[Ch]:
3369         * lyxfunc.C:
3370         * undo_funcs.C: return a ParIterator from getParFromID.
3371
3372         * iterators.[Ch]: add two const's
3373
3374 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3375
3376         * toc.C (getTocList): adjust
3377
3378         * iterators.[Ch]: rework for parlist
3379
3380         * buffer.C (par_iterator_begin): adjust
3381         (par_iterator_end): adjust
3382
3383         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3384
3385         * BufferView.C (removeAutoInsets): adjust
3386         (ChangeInsets): adjust
3387
3388 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3389
3390         * text.C (top_y): fix bug 1110
3391
3392 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3393
3394         * errorlist.[Ch]: added
3395         * buffer.C:
3396         * BufferView.[Ch]:
3397         * BufferView_pimpl.C:
3398         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3399         instead
3400
3401 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * Makefile.am: ensure that lyx is relinked upon changes to the
3404         various "convenience" libs.
3405
3406 2003-05-20  Angus Leeming  <leeming@lyx.org>
3407
3408         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3409         files are compiled in alphabetical order again.
3410
3411         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3412
3413 2003-05-19  Angus Leeming  <leeming@lyx.org>
3414
3415         * gettext.[Ch]: remove "char const * _(char const *)".
3416
3417 2003-05-19  André Pönitz  <poenitz@gmx.net>
3418
3419         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3420
3421         * Makefile.am:
3422         * BufferView.C:
3423         * DepTable.h:
3424         * LaTeXFeatures.C:
3425         * buffer.C:
3426         * lyxfont.C:
3427         * lyxlex.h:
3428         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3429
3430 2003-05-19  André Pönitz  <poenitz@gmx.net>
3431
3432         * buffer.C:
3433         * lyxlayout.[Ch]:
3434         * lyxtextclass.[Ch]:
3435         * paragraph.C:
3436         * paragraph_funcs.[Ch]:
3437         * text2.C:
3438         * text3.C: more insetenv work
3439
3440 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * ParagraphParameters.C (params2string): small bug fixed
3443
3444 2003-05-16  André Pönitz  <poenitz@gmx.net>
3445
3446         * debug.C:
3447         * bufferview_funcs.C: patch from Kornel Benko to prevent
3448           crash when _(...) is called twice in a statement
3449
3450 2003-05-16  André Pönitz  <poenitz@gmx.net>
3451
3452         * BufferView.C:
3453         * lyxfunc.C:
3454         * text.C:
3455         * text2.C:
3456         * text3.C:
3457         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3458
3459 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3460
3461         * lyx_main.C (init): remove spurious static_cast
3462
3463 2003-05-14  André Pönitz  <poenitz@gmx.net>
3464
3465         * BufferView.C: fix format string
3466
3467 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3468
3469         * BufferView.[Ch] (insertErrors): removed
3470         * BufferView.[Ch] (showErrorList): added
3471         * buffer.C (runChkTeX):
3472         * converter.C (scanLog): call showErrorList instead of inserterrors
3473
3474 2003-05-13  André Pönitz  <poenitz@gmx.net>
3475
3476         * BufferView_pimpl.C:
3477         * buffer.C:
3478         * bufferview_func.C:
3479         * MenuBackend.C:
3480         * lyxfunc.C:
3481         * lyxrc.C:
3482         * tex-accent.C:
3483         * text3.C:
3484         * toc.C:
3485         * tabular_funcs.h: tostr() from its own header
3486
3487         * ParagraphParameters.C:
3488         * ToolbarBackend.C:
3489         * bufferparams.C:
3490         * format.C:
3491         * lyxlex_pimpl.C:
3492         * text3.C: STRCONV()
3493
3494 2003-05-12  André Pönitz  <poenitz@gmx.net>
3495
3496         * BufferView.C:
3497         * BufferView_pimpl.C:
3498         * CutAndPaste.C:
3499         * LaTeX.C:
3500         * LaTeXFeatures.C:
3501         * ParagraphParameters.C:
3502         * buffer.C:
3503         * bufferlist.C:
3504         * bufferparams.C:
3505         * bufferview_funcs.C:
3506         * converter.C:
3507         * counters.C:
3508         * debug.C:
3509         * exporter.C:
3510         * format.C:
3511         * importer.C:
3512         * lyx_cb.C:
3513         * lyx_main.C:
3514         * lyxfont.C:
3515         * lyxfunc.C:
3516         * lyxvc.C:
3517         * paragraph.C:
3518         * paragraph_funcs.C:
3519         * tabular.C:
3520         * tabular_funcs.C:
3521         * text2.C:
3522         * text3.C:  boost::format -> bformat  all over the place
3523
3524
3525 2003-05-09  André Pönitz  <poenitz@gmx.net>
3526
3527         * LColor.[Ch]: Pimpl the #include <map> away
3528
3529 2003-05-09  John Levon  <levon@movementarian.org>
3530
3531         * bufferlist.C: never remove emergency saves
3532
3533 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3534
3535         * Makefile.am: better lib building
3536
3537 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3538
3539         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3540         instead.
3541         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3542         (simpleTeXSpecialChars): adjust
3543         (simpleTeXSpecialChars): adjust
3544         * paragraph.C (simpleTeXOnePar): adjust
3545         * buffer.C (makeLaTeXFile): adjust
3546
3547         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3548
3549         * text2.C (changeDepth): parlist cleanup
3550         (getColumnNearX): ditto
3551
3552         * rowpainter.C (getLabelFont): parlist cleanup
3553
3554         * bufferlist.C (newFile): parlist cleanup
3555
3556         * CutAndPaste.C (eraseSelection): parlist cleanup
3557
3558         * BufferView_pimpl.C (trackChanges): parlist cleanup
3559         (dispatch): ditto
3560
3561         * BufferView.C (lockInset): parlist cleanup.
3562         (ChangeInsets): ditto
3563
3564 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3565
3566         * CutAndPaste.h: Update file header.
3567
3568         * CutAndPaste.C: Update file header.
3569         Store the parts cut out of the Document in a limited_stack.
3570         (copySelection): adjust
3571         (pasteSelection): new function, takes the index in the limited stack.
3572         (nrOfParagraphs): adjust
3573         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3574         simplify error inset insertion.
3575         (checkPastePossible): adjust
3576
3577 2003-05-06  John Levon  <levon@movementarian.org>
3578
3579         * text2.C: don't cast wrap inset to float
3580
3581 2003-05-05  André Pönitz  <poenitz@gmx.net>
3582
3583         * iterator.C:
3584         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3585
3586         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3587           few naked Paragraph *.
3588
3589 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3590
3591         * bufferparams.C: Output warning if a document with missing
3592         TeX document class is loaded
3593         * exporter.C: Disable TeX exports if the document class is missing
3594         * lyxtextclass.C:
3595         * lyxtextclass.h:
3596         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3597         isTeXClassAvailable()
3598
3599 2003-05-03  John Levon  <levon@movementarian.org>
3600
3601         * BufferView.h:
3602         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3603         explicit cursor show/hide
3604
3605         * BufferView_pimpl.h:
3606         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3607         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3608
3609         * lyxfunc.C: hide cursor before dispatching.
3610
3611         * lyx_cb.C:
3612         * lyxfind.C:
3613         * text.C:
3614         * text3.C: remove explicit cursor hides
3615
3616 2003-05-02  André Pönitz  <poenitz@gmx.net>
3617
3618         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3619
3620         * undo_funcs.C:
3621         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3622           linked lists
3623
3624         * text2.C: tiny whitespace
3625
3626 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * undo_funcs.C: almost only ws changes.
3629
3630         * ParagraphList.C (splice): just return if pl is empty.
3631
3632 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * ParagraphList.C (splice): new function.
3635
3636         * CutAndPaste.C (pasteSelection): use it
3637
3638 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * CutAndPaste.C (pasteSelection): remove the last next and
3641         previous from this file.
3642
3643 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * CutAndPaste.C (pasteSelection): more clean up, user proper
3646         ParagraphList functions for pasteing.
3647
3648         * ParagraphList.C (insert): new function, three arg insert
3649
3650 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3651
3652         * ParagraphList.C (insert): new function, three arg insert
3653
3654         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3655         not on paragraphs.
3656
3657 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3658
3659         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3660
3661 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3662
3663         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3664
3665 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3666
3667         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3668         (copySelection): clean up a bit.
3669         (pasteSelection): use make_pair
3670
3671         * ParagraphList.C (ParagraphList): implement copy constructor
3672         (operator=): implement, base on copy constructor.
3673         (assign): new func
3674
3675         * paragraph.C (erase): return a bool
3676
3677         * paragraph_pimpl.C (erasePos): remove function, move contents...
3678         (erase): ... here. Return a bool.
3679         (erase): call erase instead of erasePos.
3680
3681 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * ParagraphList.h: define PitPosPair
3684         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3685         ParagraphList, fix a bug on pasting multiple pars
3686         * text2.C: change interface to C&P
3687
3688 2003-04-30  André Pönitz  <poenitz@gmx.net>
3689
3690         * undo_func.C: revert part of yesterday's patch 2
3691
3692 2003-04-30  John Levon  <levon@movementarian.org>
3693
3694         * LColor.C: s/tabular/table/
3695
3696 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * text3.C (dispatch): do not convert iterator -> pointer
3699         * undo_funcs.C (setCursorParUndo): ditto
3700         * text_funcs.C (transposeChars): ditto
3701
3702         * text2.C (setLayout): ws changes only
3703
3704         * text.C (breakParagraph): do not convert iterator -> pointer
3705         (insertChar): ditto
3706         (acceptChange): ditto
3707         (rejectChange): ditto
3708         (changeCase): ditto
3709         (Delete): ditto
3710         (backspace): ditto
3711
3712         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3713         pointer
3714
3715 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3716
3717         * text3.C (gotoInset): YABG (yet another bad getChar)
3718
3719 2003-04-29  André Pönitz  <poenitz@gmx.net>
3720
3721         * paragraph.h: make operator= private unimplemented as long as
3722           it is unusable
3723
3724         * ParagraphList.C: whitespace
3725
3726         * paragraph.[Ch]:
3727         * paragraph_pimpl.[Ch]:
3728         * paragraph_funcs.C:
3729         * CutAndPaste.C:
3730         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3731
3732         * text2.C:
3733           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3734
3735 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3736
3737         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3738         * paragraph.[Ch] (erase):
3739         * paragraph_pimpl.[Ch] (erase): change return type and value
3740         * text2.C (cutSelection): some rework
3741
3742 2003-04-28  John Levon  <levon@movementarian.org>
3743
3744         * bufferlist.C: changes for unsaved changes dialog
3745
3746 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3747
3748         * bufferlist.C (newFile): set language (messages_) for new
3749         documents also.
3750
3751         * buffer.C (readFile): ws changes only.
3752
3753 2003-04-28  André Pönitz  <poenitz@gmx.net>
3754
3755         * undo_funcs.C:
3756         * lyxfunc.C:
3757         * buffer.[Ch]:
3758         * BufferView_pimpl.C:
3759         * BufferView.C: getParFromID related ParagraphList::iterator changes
3760
3761 2003-04-28  André Pönitz  <poenitz@gmx.net>
3762
3763         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3764           Changes
3765
3766 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3767
3768         * messages.C: remove one more localedir class variable.
3769
3770 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3771
3772         * messages.C (getLocaleDir): singleton generation function
3773         (Pimpl): use it.
3774         (Messages): add a default constructor.
3775
3776         * main.C (main): do not setup localedir here, do not call
3777         gettext_init.
3778
3779         * gettext.C (_): use it.
3780         (gettext_init): delete funciton
3781
3782 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3783
3784         * gettext.C (getLyXMessages): new singleton generating function.
3785
3786         * buffer.C (updateDocLang): adjust
3787
3788         * Makefile.am (messages.o): add target
3789         (main.o): remove target
3790
3791 2003-04-27  John Levon  <levon@movementarian.org>
3792
3793         * bufferlist.C:
3794         * lyx_cb.C:
3795         * lyxfunc.C:
3796         * lyxvc.C: specify cancel button in Alert::prompt
3797
3798 2003-04-26  John Levon  <levon@movementarian.org>
3799
3800         * text3.C:
3801         * lyxfunc.C:
3802         * lfuns.h:
3803         * LyXAction.C: add LFUN_INSET_SETTINGS
3804
3805         * lyxfunc.C: don't enable tabular-feature when there's
3806         just any locking inset
3807
3808 2003-04-26  John Levon  <levon@movementarian.org>
3809
3810         * bufferlist.C: re-add Cancel to buffer close question
3811
3812         * lyxfunc.C: fix import UI a bit
3813
3814 2003-04-25  John Levon  <levon@movementarian.org>
3815
3816         * gettext.C: remove the broken asserts for now
3817
3818 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3819
3820         * messages.C: make case where setlocale cannot comply work better.
3821
3822         * buffer.C (updateDocLang): new function
3823         (changeLanguage): use it
3824         (readFile): use it
3825
3826         * text2.C (setCounter): use B_ a bit.
3827
3828         * lyxlayout.C (Read): be sure to trim the label strings.
3829
3830         * messages.C (Messages): fix typo in comment
3831
3832         * buffer.C (readFile): set message_ after file is loaded.
3833         (makeDocBookFile): remove double return
3834         (changeLanguage): reset message_ upon language change.
3835         (B_): new func, use this to get translated buffer strings.
3836
3837         * main.C: add myself and Jean Marc as authors.
3838
3839 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3840
3841         * messages.[hC]: pimplify Messages, and three different pimpls to be
3842         used in different circumstances.
3843
3844         * gettext.[Ch]: change for use with new message code.
3845
3846 2003-04-24 André Pönitz <poenitz@gmx.net>
3847
3848         * factory.C: support for eqref
3849
3850 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * messages.[Ch]: add missing char
3853
3854         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3855
3856         * messages.[Ch]: New files
3857
3858 2003-04-18  John Levon  <levon@movementarian.org>
3859
3860         * BufferView.h:
3861         * BufferView.C:
3862         * BufferView_pimpl.C:
3863         * lfuns.h:
3864         * LyXAction.C:
3865         * lyxtext.h:
3866         * text2.C: remove layout-copy/paste (bug 778)
3867
3868 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3869
3870         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3871
3872 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3873
3874         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3875         if they succeed. Act accordingly.
3876
3877 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * text2.C (setCharFont): adjust
3880         (setCounter): adjust
3881         (insertStringAsLines): adjust
3882
3883         * text.C (leftMargin): adjust
3884         (setHeightOfRow): adjust
3885
3886         * rowpainter.C (paintFirst): adjust
3887         (paintLast): adjust
3888
3889         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3890         (outerHook): ditto
3891         (isFirstInSequence): ditto
3892         (getEndLabel): ditto
3893         (outerFont): adjust
3894
3895         * paragraph.C (getParLanguage): comment out some hard stuff.
3896
3897         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3898         (sgmlError): ditto
3899         (simpleDocBookOnePar): ditto
3900         (makeDocBookFile): use ParagraphList::iterator
3901
3902         * CutAndPaste.C (pasteSelection): adjust
3903
3904 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * text2.C (getFont): adjust
3907         (getLayoutFont): adjust
3908         (getLabelFont): adjust
3909
3910         * paragraph_funcs.C (TeXOnePar): adjust
3911
3912         * buffer.C (simpleLinuxDocOnePar): adjust
3913         (simpleDocBookOnePar): adjust
3914
3915         * CutAndPaste.C (pasteSelection): adjust
3916
3917         * BufferView.C (getEncoding): adjust
3918
3919         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3920
3921 2003-04-16  John Levon  <levon@movementarian.org>
3922
3923         * lyxfind.C: use parlist stuff for search/changes
3924
3925 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3928
3929         * text2.C (deleteEmptyParagraphMechanism): adjust
3930
3931         * text2.[Ch] (ownerParagraph): delete func (both of them
3932
3933 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3936
3937 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * ParagraphList.C: prepare for NO_NEXT
3940
3941 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * text2.C (getFont): adjust
3944         (getLayoutFont): adjust
3945         (getLabelFont): adjust
3946
3947         * paragraph.C (getFont): adjust
3948         (getLabelFont): adjust
3949         (getLayoutFont): adjust
3950
3951         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3952
3953 2003-04-15  John Levon  <levon@movementarian.org>
3954
3955         From Angus Leeming
3956
3957         * lyx_main.C: handle Include in .ui files
3958
3959 2003-04-15  John Levon  <levon@movementarian.org>
3960
3961         * MenuBackend.C: make the doc files length shorter
3962
3963         * ToolbarBackend.h:
3964         * ToolbarBackend.C: handle toolbar placement flags,
3965         Minibuffer
3966
3967 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3970         adjust
3971
3972         * paragraph_funcs.C (TeXOnePar): adjust
3973
3974         * paragraph.C (getLabelFont): add outerfont arg, adjust
3975         (getLayoutFont): ditto
3976         (simpleTeXOnePar): adjust
3977
3978         * paragraph_pimpl.C (realizeFont): delete func
3979
3980 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3981
3982         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3983         row argument, constify cur argument.
3984
3985 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * text2.C (getFont): adjust
3988         (getLayoutFont): adjust
3989         (getLabelFont): adjust
3990
3991         * paragraph_funcs.C (TeXOnePar): adjust
3992         (outerFont): new func...
3993         (realizeFont): ...moved out from here, changed this to facilitate
3994         transition
3995
3996         * paragraph.C (getFont): take outerfont as arg, adjust
3997         (simpleTeXOnePar): add outerfont arg, adjust
3998
3999         * buffer.C (simpleLinuxDocOnePar): adjust
4000         (simpleDocBookOnePar): adjust
4001
4002         * CutAndPaste.C (pasteSelection): adjust
4003
4004         * BufferView.C (getEncoding): adjust
4005
4006 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * text2.C (setCharFont): adjust
4009         (setCounter): adjust
4010
4011         * text.C (leftMargin): adjust
4012         (setHeightOfRow): adjust
4013
4014         * rowpainter.C (paintFirst): adjust
4015         (paintLast): adjust
4016
4017         * paragraph_pimpl.C (realizeFont): adjust
4018
4019         * paragraph.C (isFirstInSequence): move from here...
4020         * paragraph_funcs.C (isFirstInSequence): ...to here
4021
4022         * paragraph.C (outerHook): move from here...
4023         * paragraph_funcs.C (outerHook): ...to here
4024
4025         * paragraph.C (depthHook): move from here...
4026         * paragraph_funcs.C (depthHook): ...to here
4027
4028         * paragraph.C (getEndLabel): move from here...
4029         * paragraph_funcs.C (getEndLabel): ...to here
4030
4031         * text2.C (realizeFont): move from here...
4032         * paragraph_funcs.C (realizeFont): ...to here
4033
4034 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4037
4038 2003-04-14  Angus Leeming  <leeming@lyx.org>
4039
4040         * LColor.[Ch]: scrap LColor mathcursor.
4041
4042 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * lyxlex.[Ch] (text): delete function
4045         * trans.C (Load): adjust
4046         * paragraph_funcs.C (readParToken): adjust
4047
4048 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4051         vector<char> instead of a char[].
4052
4053         * lyxlex_pimpl.C (getString): adjust
4054         (next): adjust
4055         (lex): use getString
4056         (eatLine): adjust
4057         (nextToken): adjust
4058
4059         * lyxlex.C (text): use pimpl_->getString()
4060         (getBool): ditto
4061         (findToken): ditto
4062
4063 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4066         (makeFontEntriesLayoutSpecific): temp var for par.size()
4067         (setLayout): temp var for ownerParagraphs().end()
4068         (fullRebreak): temp var for rows().end()
4069         (selectionAsString): temp var for boost::next(startpit), realize
4070         that the while really is a regular for loop.
4071         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4072         setCursor in one place.
4073         (setParagraph): temp vr for ownerParagraphs().end()
4074         (updateCounters): make the while loop a for loop
4075         (cutSelection): temp var for ownerParagraphs().end()
4076         (updateInset): make the do {} while() a regular for loop
4077         (getCursorX): use temp vars
4078         (setCurrentFont): use temp vars
4079         (getColumnNearX): use temp vars
4080
4081 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * text.C (transformChar): use temp var for getChar
4084         (computeBidiTables): use temp var for row->par()
4085         (fill): move temp vars for row->par() and pit->layout() earlier in
4086         the function.
4087         (labelFill): use temp var for row->par()
4088         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4089         asc and desc, realize that pit never changes and that firstpit is
4090         just a duplicate and not needed. Exchange rit->par() with pit in a
4091         lot of places.
4092         (breakAgain): use a temp var for boost::next(rit)
4093         (breakAgainOneRow): ditto
4094         (breakParagraph): use a temp var for rows().begin()
4095         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4096         (cursorRightOneWord): use temp var for cursor.par() and
4097         cursor.pos(), remove usage of tmpcursor.
4098         (cursorLeftOneWord): use temp var for cursor.par() and
4099         cursor.pos() only set cur at end of function.
4100
4101 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * text.C, text2.C: exchange all usage of Paragraph::next with
4104         boost::next(ParagraphList::iterator)
4105
4106         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4107
4108         * text2.C (cursorTop): simplify implementation
4109         (cursorBottom): ditto
4110         (setParagraph): use ParagraphList::iterator
4111         (setCurrentFont): adjust
4112         (getColumnNearX): adjust
4113         (cursorRight): adjust
4114         (cursorLeft): remove usage of Paragraph::previous
4115         (cursorUpParagraph): ditto
4116         (deleteEmptyParagraphMechanism): slight cleanup
4117
4118         * text.C (isBoundary): take a Paragraph const & instead of a
4119         pointer as arg.
4120         (addressBreakPoint): ditto
4121         (leftMargin): remove usage of Paragraph::previous.
4122         (setHeightOfRow): ditto
4123         (cursorLeftOneWord): ditto
4124         (selectNextWordToSpellcheck): ditto
4125         (Delete): ditto
4126         (backspace): ditto
4127         (breakParagraph): remove one usage of Paragraph::next
4128         (redoParagraph): ditto
4129         (acceptChange): ditto
4130         (insertChar): adjust
4131         (rowBreakPoint): adjust
4132
4133         * bufferview_funcs.C (toggleAndShow): adjust
4134
4135 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4138         methods to access it.
4139         * lyxtext.h:
4140         * text.C: Added updateRowPositions to compute all row positions.
4141         Make top_y and getRowNearY() to use the cached y position
4142
4143 2003-04-11  John Levon  <levon@movementarian.org>
4144
4145         * text.C (rowBreakPoint): reintroduce the labelEnd
4146         checks, code copied from the row fill stuff. Deep voodoo.
4147
4148         * text.C (fill): add a comment and debugging for the
4149         next poor soul.
4150
4151 2003-04-11  John Levon  <levon@movementarian.org>
4152
4153         * text.C: make sure fullrow insets get wrapped to the next line,
4154         even when they're in a manual label
4155
4156 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4157
4158         * text2.C (insertParagraph): make it take ParagraphList::iterator
4159         as arg.
4160         (setLayout): make it return ParagraphList::iterator
4161         (redoParagraphs): ditto
4162         (setCounter): ditto
4163         (checkParagraph): ditto
4164
4165         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4166
4167         * text2.C: adjust several funcs.
4168         (realizeFont): take a ParagraphList::iterator as arg.
4169         (getLayoutFont): ditto
4170         (getLabelFont): ditto
4171         (setCharFont): ditto
4172
4173         * text.C: adjust several funcs.
4174
4175 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * text.C (selectNextWordToSpellcheck): don't accidentally
4178         skip insets
4179
4180 2003-04-10  John Levon  <levon@movementarian.org>
4181
4182         * ToolbarBackend.C (getIcon): special handling for
4183         LFUN_MATH_DELIM
4184
4185 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4186
4187         * text2.C (cursorRight): a getChar assert fixed
4188
4189 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * text2.C (getFont): change to take a ParagraphList::iterator
4192         instead of Paragraph*
4193         Adjust several functions.
4194
4195         * text.C (transformChar): change to take a ParagraphList::iterator
4196         instead of Paragraph*
4197         (singleWidth): ditto
4198         Adjust several functions.
4199
4200         * rowpainter.C: adjust several functions
4201         * rowpainter.h:store a ParagraphList::iterator and not a
4202         Paragraph&.
4203
4204
4205 2003-04-09  John Levon  <levon@movementarian.org>
4206
4207         * lyxfunc.C:
4208         * lfuns.h:
4209         * LyXAction.h:
4210         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4211         and the "help" bits as well
4212
4213 2003-04-09  John Levon  <levon@movementarian.org>
4214
4215         * ToolbarBackend.h:
4216         * ToolbarBackend.C: allow multiple toolbars
4217
4218 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * undo_funcs.C (setCursorParUndo): adjust
4221
4222         * text_funcs.C (transposeChars): adjust
4223
4224         * text3.C (gotoNextInset): adjust
4225         (dispatch): adjust
4226
4227         * text2.C (setLayout): adjust
4228         (changeDepth): adjust
4229         (setFont): adjust
4230         (redoParagraphs): adjust
4231         (selectionAsString): adjust
4232         (setParagraph): adjust
4233         (insertInset): adjust
4234         (cutSelection): adjust
4235         (copySelection): adjust
4236         (pasteSelection): adjust
4237         (insertStringAsLines): adjust
4238         (updateInset): adjust
4239         (setCursor): change to take a ParagraphList::iterator parameter
4240         (setCursorIntern): change to take a ParagraphList::iterator parameter
4241         (setCurrentFont): adjust
4242         (cursorLeft): adjust
4243         (cursorRight): adjust
4244         (deleteEmptyParagraphMechanism): adjust
4245
4246         * text.C (breakParagraph): adjust
4247         (insertChar): adjust
4248         (acceptChange): adjust
4249         (rejectChange): adjust
4250         (selectNextWordToSpellcheck): adjust
4251         (changeCase): adjust
4252         (Delete): adjust
4253         (backspace): adjust
4254
4255         * lyxfind.C (SearchForward): adjust
4256         (SearchBackward): adjust
4257         (nextChange): adjust
4258
4259         * lyxcursor.C (par): adjust
4260
4261         * lyxcursor.h: store a ParagraphList::iterator instead of a
4262         Paragraph*
4263
4264         * lyx_cb.C (getPossibleLabel): adjust
4265
4266         * bufferview_funcs.C (toggleAndShow): adjust
4267
4268         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4269         (dispatch): adjust
4270
4271         * BufferView.C (removeAutoInsets): adjust
4272         (lockedInsetStoreUndo): adjust
4273
4274 2003-04-09  John Levon  <levon@movementarian.org>
4275
4276         * ToolbarBackend.C: try icon without argument
4277         if with argument fails
4278
4279 2003-04-08  John Levon  <levon@movementarian.org>
4280
4281         * ToolbarBackend.h:
4282         * ToolbarBackend.C: add getIcon(), handle tooltip,
4283         and change from "Icon" to "Item".
4284
4285 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4286
4287         * BufferView.C (lockInset): another bad getchar crunched
4288
4289 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4290
4291         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4292         again)
4293
4294 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4295
4296         * lyxfind.C (searchForward, searchBackwards): bug 782
4297
4298 2003-04-07  John Levon  <levon@movementarian.org>
4299
4300         * paragraph.C: remove dead comment
4301
4302         * text.C: remove troublesome depth-fiddling code
4303         in leftMargin() and rightMargin() (bug 1017)
4304
4305         * text.C: fix breaking of rows in nested lists
4306         (bug 1004)
4307
4308         * text2.C (updateCounters): fix up depth values
4309         (bug 1013)
4310
4311 2003-04-07  John Levon  <levon@movementarian.org>
4312
4313         * BufferView_pimpl.C: clear message when doc finishes resizing,
4314         and after a mouse event
4315
4316         * lyxfunc.C: clear message after exiting inset
4317
4318 2003-04-07  John Levon  <levon@movementarian.org>
4319
4320         * bufferview_funcs.C: show math status not outside
4321         status in the statusbar
4322
4323 2003-04-07  John Levon  <levon@movementarian.org>
4324
4325         * lyxfunc.C: note status changed after a depth change
4326
4327 2003-04-04  Angus Leeming  <leeming@lyx.org>
4328
4329         * LaTeX.h: move AuxInfo operator==, != out of line.
4330         Remove LaTeX virtual destructor; nothing derives from it.
4331         Move operator()() out of public area and rename it startscript().
4332         Change protected for private.
4333
4334 2003-04-04  Angus Leeming  <leeming@lyx.org>
4335
4336         * lyxfunc.C:
4337         * text2.C: remove unneeded #includes.
4338
4339 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4340
4341         * text2.C (dEPM): fix the heigth of the next row
4342
4343 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * text.C: squashed an invalid getChar requester + some ws changes
4346
4347 2003-04-03  John Levon  <levon@movementarian.org>
4348
4349         * bufferview_funcs.h:
4350         * bufferview_funcs.C:
4351         * lyxfunc.C:
4352         * lyxtext.h:
4353         * text2.C: make getStatus work for the env depth lfuns
4354
4355 2003-04-03  John Levon  <levon@movementarian.org>
4356
4357         * bufferview_funcs.h:
4358         * bufferview_funcs.C:
4359         * lyxfunc.C:
4360         * lyxtext.h:
4361         * text2.C: parlistize decDepth(), by merging it with incDepth()
4362
4363 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4364
4365         * lyxrow.h: store a ParagraphList::iterator instead of a
4366         Paragraph* and adjust other class functions to suit.
4367
4368         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4369         above.
4370
4371 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4372
4373         * text2.C (setCursor): do not anchor to cursor row for the time being
4374
4375 2003-04-02  John Levon  <levon@movementarian.org>
4376
4377         * LyXAction.C:
4378         * lfuns.h:
4379         * lyx_main.C:
4380         * lyxtext.h:
4381         * text.C:
4382         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4383
4384 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * paragraph.h: make ParagraphList and ParagraphList::iterator
4387         friends of Paragraph.
4388
4389         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4390
4391         * ParagraphList.C: Use the private next_ and previous_ from
4392         Paragraph.
4393
4394 2003-04-01  John Levon  <levon@movementarian.org>
4395
4396         * ToolbarBackend.h:
4397         * ToolbarBackend.C:
4398         * Makefile.am: rename, remove defaults gunk
4399
4400         * MenuBackend.h:
4401         * MenuBackend.C: remove defaults gunk
4402
4403         * Languages.h:
4404         * Languages.C: remove defaults gunk
4405
4406         * lyx_main.h:
4407         * lyx_main.C: error out if files couldn't be found.
4408
4409 2003-04-02  John Levon  <levon@movementarian.org>
4410
4411         * text2.C: make incDepth() use parlist
4412
4413 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4414
4415         * undo_funcs.C (firstUndoParagraph): adjust
4416
4417         * text3.C (gotoInset): adjust
4418         (dispatch): adjust, and rewrite loop.
4419
4420         * text2.C (init): adjust, and rewrite loop.
4421         (redoParagraphs): adjust
4422         (updateInset): adjust, and rewrite loop.
4423         (deleteEmptyParagraphMechanism): adjust
4424
4425         * tabular.C (LyXTabular): adjust
4426         (SetMultiColumn): adjust
4427         (TeXRow): adjust
4428
4429         * lyxtext.[Ch] (ownerParagraph): delete function
4430         (ownerParagraphs): new function returns a ParagraphList.
4431
4432         * BufferView.C (removeAutoInsets): adjust
4433         (insertErrors): adjust
4434         (setCursorFromRow): adjust
4435
4436 2003-04-01  Angus Leeming  <leeming@lyx.org>
4437
4438         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4439         in the frontends.
4440
4441 2003-04-02  John Levon  <levon@movementarian.org>
4442
4443         * lyxtext.h:
4444         * text.C:
4445         * Makefile.am:
4446         * text_funcs.h:
4447         * text_funcs.C: make transposeChars a free function
4448
4449         * lyxrow_funcs.C: remove wrong comment
4450
4451 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4452
4453         * lyxtext.h: adjust
4454         * rowpainter.C: adjust
4455         * text.C: adjust
4456         * text2.C: adjust
4457         * text3.C: adjust
4458
4459         * lyxrow_funcs. [Ch]: new files
4460
4461         * lyxrow.[Ch]: remove next and previous pointers
4462         (next,previous): remove accessor functions
4463         (isParEnd): move to lyxrow_funcs
4464         (lastPos): move to lyxrow_funcs
4465         (nextRowIsAllInset): move to lyxrow_funcs
4466         (lastPrintablePos): move to lyxrow_funcs
4467         (numberOfSeparators): move to lyxrow_funcs
4468         (numberOfHfills): move to lyxrow_funcs
4469         (numberOfLabelHfills): move to lyxrow_funcs
4470         (hfillExpansion): move to lyxrow_funcs
4471
4472         * lyxfunc.C: adjust
4473
4474         * bufferview_funcs.C (toggleAndShow): adjust
4475
4476         * RowList.h: Remove class RowList from file leave just a
4477         std::list<Row>.
4478
4479         * RowList.C: delete file
4480
4481         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4482         and lyxrow_funcs.h
4483
4484 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4485
4486         * text3.C (cursorPrevious): adjust
4487         (cursorNext): adjust
4488         (dispatch): adjust
4489
4490         * text2.C (redoHeightOfParagraph): adjust
4491         (redoDrawingOfParagraph): adjust
4492         (setCursor): adjust
4493
4494         * text.C (breakParagraph): adjust
4495         (insertChar): adjust
4496         (backspace): adjust
4497
4498         * rowpainter.C (RowPainter): adjust
4499         (leftMargin): simplify and adjust
4500         (most rowpainter functions): adjust.
4501
4502         * rowpainter.h: store the row as RowList::iterator not as Row*
4503
4504         * lyxcursor.C (row): taka RowList::iterator as arg
4505         (irow): ditto
4506
4507         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4508         of Row*.
4509
4510 2003-04-01  Angus Leeming  <leeming@lyx.org>
4511
4512         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4513         stuff like bool Bool.
4514
4515 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4516
4517         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4518         rewrite a loop
4519
4520 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4523         RowList::iterator.
4524
4525         * lyxtext.h (rows): drop one version and leve a const variant that
4526         returns a RowList::iterator.
4527
4528 2003-03-31  Angus Leeming  <leeming@lyx.org>
4529
4530         * text.C (fill): ensure that the signature is the same as that in the
4531         header file.
4532
4533 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4534
4535         * text2.C (redoParagraphs): adjust
4536         (updateCounters): adjust
4537         (checkParagraph): adjust
4538         (getColumnNearX): adjust and reformat a bit.
4539
4540         * text.C (top_y): adjust
4541         (workWidth): adjust
4542         (leftMargin): adjust
4543         (prepareToPrint): adjust
4544         (getRow): adjust
4545         (getRowNearY): adjust
4546
4547         * lyxtext.h: make rowlist_ mutable.
4548
4549         * RowList.h: add const_iterator
4550         * RowList.C: adjust for RowList::const_iterator.
4551
4552         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4553         adjust.
4554
4555 2003-03-31  John Levon  <levon@movementarian.org>
4556
4557         * lyxrc.h:
4558         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4559
4560         * lyx_main.C: set default fonts from using lyx_gui funcs
4561
4562         * exporter.C: pdf_mode moved from lyxrc
4563
4564         * lyx_cb.C:
4565         * lyxfunc.C: changes from above
4566
4567 2003-03-31  John Levon  <levon@movementarian.org>
4568
4569         * lyx_main.C: fix to the last fix
4570
4571 2003-03-31  John Levon  <levon@movementarian.org>
4572
4573         * bufferlist.C: "Load original" -> "Load Original"
4574
4575         * converter.C:
4576         * exporter.C:
4577         * importer.C:
4578         * lyx_main.C:
4579         * format.C: more Alert cleanups
4580
4581 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * text2.C (removeParagraph): make it take a RowList::iterator as
4584         arg, adjust.
4585         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4586         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4587
4588         * text.C (anchor_row): make it take a RowList::iterator as arg,
4589         adjust.
4590         (computeBidiTables): make it take a const reference to Row instead
4591         of Row pointer, adjust.
4592         (leftMargin): make it take a RowList::iterator as arg, adjust.
4593         (rowBreakPoint): adjust
4594         (breakAgainOneRow): make it take a RowList::iterator as arg,
4595         adjust.
4596         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4597
4598         * bufferview_funcs.C (toggleAndShow): adjust
4599
4600 2003-03-30  John Levon  <levon@movementarian.org>
4601
4602         * Makefile.am:
4603         * BoostFormat.h:
4604         * boost-inst.C: moved to support
4605
4606         * several files: changes as a result
4607
4608 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * text2.C (LyXText): adjust.
4611         (init): adjust
4612         (removeRow): make it take a RowList::iterator as arg, adjust.
4613         (fullRebreak): adjust
4614         (deleteEmptyParagraphMechanism): adjust
4615         (clearPaint): adjust
4616         (postPaint): adjust
4617
4618         * text.C (top_y): adjust
4619         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4620         (breakAgain): make it take a RowList::iterator as arg, adjust.
4621         (breakParagraph): adjust
4622         (insertChar): adjust
4623         (backspace): adjust
4624
4625         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4626         need_break_row, and refresh_row.
4627
4628         * text3.C (dispatch): adjust
4629
4630         * text2.C (checkParagraph): adjust
4631         (setCursor): adjust
4632         (setCursorFromCoordinates): adjust
4633
4634         * text.C (top_y): adjust
4635         (workWidth): adjust
4636         (getRow): make it return a RowList::iterator, adjust
4637         (getRowNearY): make it return a RowList::iterator, adjust
4638
4639         * text2.C (init): adjust
4640         (insertRow): remove function
4641         (insertParagraph): adjust
4642         (redoParagraphs): adjust
4643         (fullRebreak): adjust
4644         (updateCounters): adjust
4645
4646         * text.C (top_y): rewrite to use RowList iterators.
4647         (top_y): adjust
4648         (setHeightOfRow): rewrite to sue RowList iterators.
4649         (appendParagraph): adjust
4650         (breakAgain): adjust
4651         (breakAgainOneRow): adjust
4652         (breakParagraph): adjust
4653         (getRow): adjust
4654         (getRowNearY): adjust, and remove commented code.
4655
4656         * lyxtext.h (firstRow): delete function
4657         (lastRow): delete function
4658         (rows): new function (const and non-const versions.)
4659         (insertRow): delete function
4660
4661         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4662
4663 2003-03-29  John Levon  <levon@movementarian.org>
4664
4665         * BufferView_pimpl.C: always update scrollbar top
4666         because pasting text when we're anchored could mean we
4667         miss an update altogether
4668
4669 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * text2.C (init): use rowlist_.end() and not 0.
4672         (insertRow): change to take a RowList::iterator as arg, adjust
4673         for this.
4674         (insertParagraph): change to take a RowList::iterator as arg,
4675         adjust for this.
4676         (redoParagraphs): remove some debug msgs.
4677
4678         * text.C (appendParagraph): change to take a RowList::iterator
4679         arg, adjust for this.
4680         (breakAgain): add an assert
4681         (breakAgainOneRow): ditto
4682
4683 2003-03-29  John Levon  <levon@movementarian.org>
4684
4685         * text2.C: do not clear selection after inc/decDepth
4686         (bug 550)
4687
4688 2003-03-29  John Levon  <levon@movementarian.org>
4689
4690         * BufferView.C:
4691         * buffer.C: fix broken strerrors according to Lars
4692
4693 2003-03-29  John Levon  <levon@movementarian.org>
4694
4695         * converters.C: more Alert cleanups
4696
4697 2003-03-29  John Levon  <levon@movementarian.org>
4698
4699         * bufferview_funcs.C: remove pointless Alert
4700
4701         * buffer.C: fix confusing error message when
4702         a template is chmoded 000
4703
4704 2003-03-29  John Levon  <levon@movementarian.org>
4705
4706         * BufferView.C:
4707         * BufferView.h:
4708         * BufferView_pimpl.C: Alert fixes
4709
4710         * Makefile.am:
4711         * tabular.C:
4712         * tabular-old.C: remove unused table compat reading
4713
4714 2003-03-29  John Levon  <levon@movementarian.org>
4715
4716         * BufferView.C:
4717         * buffer.C:
4718         * lyx_cb.h:
4719         * lyx_cb.C: more Alert cleanups
4720
4721         * lyxfunc.C: don't allow chktex if not latex document
4722
4723 2003-03-29  John Levon  <levon@movementarian.org>
4724
4725         * lyx_cb.C:
4726         * BufferView.C:
4727         * buffer.C: warnings pushed down from support/,
4728         kill err_alert
4729
4730 2003-03-29  John Levon  <levon@movementarian.org>
4731
4732         * lyxfunc.C: safety check for C-r (revert)
4733
4734 2003-03-29  John Levon  <levon@movementarian.org>
4735
4736         * bufferlist.h:
4737         * bufferlist.C: several UI fixes using Alert::prompt.
4738         Fix the pointless looping quit code. Fix stupid revert
4739         behaviour (bug 938)
4740
4741         * lyxvc.h:
4742         * lyxvc.C:
4743         * lyx_cb.C: use Alert::prompt
4744
4745         * lyx_main.C: remove a silly question
4746
4747         * lyxfunc.C: remove a couple of silly questions,
4748         use Alert::prompt
4749
4750 2003-03-28  John Levon  <levon@movementarian.org>
4751
4752         * text2.C: fix bug 974 (End on empty par)
4753
4754 2003-03-28  John Levon  <levon@movementarian.org>
4755
4756         * BufferView_pimpl.C:
4757         * LyXAction.C:
4758         * lfuns.h: remove do-nothing math greek lfuns
4759
4760 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * lyxgluelength.h (isValidGlueLength): add default arg on
4763         parameter 2. Remove default arg from friend in class.
4764
4765         * lyxlength.h (isValidLength): add default arg on parameter 2.
4766         Remove default arg from friend in class.
4767
4768         * text2.C (LyXText): adjust, initialize refresh_row.
4769         (init): adjust
4770         (removeRow): adjust
4771         (insertRow): adjust
4772         (insertParagraph): adjst
4773         (redoParagraphs): adjust
4774         (fullRebreak): adjust
4775         (updateCounters): adjust
4776         (deleteEmptyParagraphMechanism): first attempt at fixing a
4777         crashing bug.
4778
4779         * text.C (top_y): adjust
4780         (setHeightOfRow): adjust
4781         (getRow): adjust
4782         (getRowNearY): adjust
4783
4784         * lyxtext.h: include RowList.h
4785         (~LyXText): not needed anymore, deleted.
4786         (firstRow): modify for RowList
4787         (lastRow): new function
4788         Delete firstrow and lastrow class variables, add a Rowlist
4789         rowlist_ class variable.
4790
4791         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4792         paragraph is empty.
4793
4794         * RowList.C (insert): fix case where it == begin().
4795
4796 2003-03-26  Angus Leeming  <leeming@lyx.org>
4797
4798         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4799         the thesaurus dialog.
4800
4801 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4804
4805         * RowList.[Ch]: new files
4806
4807         * ParagraphList.C (erase): handle the case where it == begin
4808         correctly.
4809
4810 2003-03-25  John Levon  <levon@movementarian.org>
4811
4812         * Makefile.am:
4813         * aspell_local.h:
4814         * aspell.C: add new aspell support
4815
4816         * lyxrc.h:
4817         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4818         have it accessible.
4819
4820 2003-03-25  Angus Leeming  <leeming@lyx.org>
4821
4822         * lfuns.h:
4823         * LyXAction.C (init): new LFUN_INSET_INSERT.
4824
4825         * BufferView_pimpl.C (dispatch): split out part of the
4826         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4827
4828         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4829         LFUN_INSET_APPLY.
4830
4831 2003-03-25  Angus Leeming  <leeming@lyx.org>
4832
4833         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4834
4835 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4836
4837         * text2.C:
4838         * text3.C: remove useless row->height(0)
4839
4840 2003-03-25  John Levon  <levon@movementarian.org>
4841
4842         * lyxtext.h:
4843         * text2.C:
4844         * text3.C: rename the refreshing stuff to better names
4845
4846 2003-03-24  John Levon  <levon@movementarian.org>
4847
4848         * BufferView_pimpl.h:
4849         * BufferView_pimpl.C: update layout choice on a mouse
4850         press/release
4851
4852 2003-03-23  John Levon  <levon@movementarian.org>
4853
4854         * Makefile.am: fix commandtags.h reference
4855
4856 2003-03-22  John Levon  <levon@movementarian.org>
4857
4858         * BufferView_pimpl.C:
4859         * lyxtext.h:
4860         * rowpainter.C:
4861         * rowpainter.h:
4862         * text.C:
4863         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4864
4865 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * lyxtext.h:
4868         * text.C: take the rtl methods out of line
4869
4870 2003-03-21 André Pönitz <poenitz@gmx.net>
4871
4872         * metricsinfo.[Ch]: new files containing structures to be passed around
4873         during the two-phase-drawing...
4874
4875 2003-03-21 André Pönitz <poenitz@gmx.net>
4876
4877         * lyxtextclass.C: read 'environment' tag.
4878
4879 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * text2.C (removeRow): fix bug 964
4882
4883 2003-03-20  John Levon  <levon@movementarian.org>
4884
4885         * rowpainter.C:
4886         * text.C:
4887         * text2.C: paint cleanups. Inset::update() dropped font
4888         parameter
4889
4890 2003-03-19  John Levon  <levon@movementarian.org>
4891
4892         * lyxfunc.C: only fitcursor/markDirty if available()
4893
4894 2003-03-19  John Levon  <levon@movementarian.org>
4895
4896         * commandtags.h: rename to ...
4897
4898         * lfuns.h: ... this, and renumber / cleanup
4899
4900 2003-03-19  John Levon  <levon@movementarian.org>
4901
4902         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4903         fit the cursor after an lfun
4904
4905         * BufferView.h:
4906         * BufferView.C:
4907         * BufferView_pimpl.h:
4908         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4909
4910         * LyXAction.C: layout-character should have ReadOnly
4911
4912         * ParagraphParameters.C:
4913         * buffer.C:
4914         * bufferview_funcs.C:
4915         * lyx_cb.C:
4916         * lyxfind.C:
4917         * lyxtext.h:
4918         * text.C:
4919         * text2.C:
4920         * text3.C:
4921         * undo_funcs.C: changes from above
4922
4923 2003-03-18  John Levon  <levon@movementarian.org>
4924
4925         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4926         remove it from update()
4927
4928         * lyxfunc.C: update layout choice after an lfun
4929
4930         * text3.C: remove extra updateLayoutChoice()s
4931
4932 2003-03-18  John Levon  <levon@movementarian.org>
4933
4934         * text.C: top_y change means full repaint, fix
4935         a drawing bug with cursor movement
4936
4937 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4938
4939         * lyxtext.h:
4940         * text.C:
4941         * text2.C: anchor row on setCursor
4942
4943 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * lyxtext.h: remove almost all mutable keywords
4946         * text.C:
4947         * text2.C:
4948         * text3.C: remove const keywords accordingly
4949
4950 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4951
4952         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4953         anon namespace
4954         (TeXEnvironment): ditto
4955         (TeXOnePar): ditto
4956
4957 2003-03-17  John Levon  <levon@movementarian.org>
4958
4959         * text.C (rowBreakPoint): remove attempt to fix displayed
4960         math insets inside a manual label
4961
4962 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * lyxtext.h: remove BufferView* as first arg from almost all class
4965         functions.
4966         * other files: adjust.
4967
4968 2003-03-17  John Levon  <levon@movementarian.org>
4969
4970         * lyxtext.h:
4971         * undo_funcs.C:
4972         * text2.C: more paint cleanups
4973
4974         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4975
4976         * rowpainter.h:
4977         * rowpainter.C: remove "smart" background painting code
4978
4979 2003-03-16  John Levon  <levon@movementarian.org>
4980
4981         * lyxtext.h:
4982         * text.C:
4983         * text2.C:
4984         * text3.C: add helper functions for setting refresh_row/y
4985
4986 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4987
4988         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4989         newline inset which *can* get inserted in the pass_thru layouts.
4990         This is primarily for literate documents.
4991
4992 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4993
4994         * buffer.C: increment LYX_FORMAT to 223
4995
4996 2003-03-14 André Pönitz <poenitz@gmx.net>
4997
4998         * textclass.h: prepare for environment handling, ws changes
4999         * lyxlayout.C: read latexheader and latexfooter tags
5000
5001 2003-03-14  John Levon  <levon@movementarian.org>
5002
5003         * text2.C: rewrite ::status() a bit
5004
5005 2003-03-13  John Levon  <levon@movementarian.org>
5006
5007         * lyxtext.h: add some docs
5008
5009 2003-03-13  John Levon  <levon@movementarian.org>
5010
5011         * lyxtext.h:
5012         * text.C:
5013         * text2.C:
5014         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5015
5016 2003-03-13  John Levon  <levon@movementarian.org>
5017
5018         * text3.C: fix appendix redrawing
5019
5020 2003-03-13  John Levon  <levon@movementarian.org>
5021
5022         * text.C (setHeightOfRow):
5023         * rowpainter.h:
5024         * rowpainter.C: make appendix mark have the text
5025           "Appendix" so the user knows what it is
5026
5027         * LColor.h:
5028         * LColor.C: s/appendixline/appendix/ from above
5029
5030 2003-03-13  John Levon  <levon@movementarian.org>
5031
5032         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5033
5034         * text.C: fix a getChar(pos) bug properly
5035
5036 2003-03-13  Angus Leeming  <leeming@lyx.org>
5037
5038         * commandtags.h:
5039         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5040         Probably only temporary. Let's see how things pan out.
5041
5042         * BufferView.C (unlockInset):
5043         * BufferView_pimpl.C (fitCursor):
5044         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5045
5046         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5047         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5048
5049         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5050         new functions that convert ParagraphParameters to and from a string.
5051
5052         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5053         BufferView::Pimpl's dispatch.
5054         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5055
5056 2003-03-13 André Pönitz <poenitz@gmx.net>
5057
5058         * lyxfunc.C:
5059         * text3.C:
5060         * factory.C: make it aware of InsetEnv
5061
5062 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * text2.C (setCursor): never ask for one past last
5065         (setCursor): add some debugging messages.
5066
5067         * text.C (singleWidth): never ask for one past last
5068         (singleWidth): ditto
5069         (leftMargin): ditto
5070         (rightMargin): ditto
5071         (rowBreakPoint): ditto
5072         (setHeightOfRow): ditto
5073         (prepareToPrint): ditto
5074
5075         * rowpainter.C (paintBackground): never ask for one past last
5076         (paintText): never ask for one past last
5077
5078         * paragraph_pimpl.C (getChar): make the assert stricter, never
5079         allow the one past last pos to be taken
5080
5081         * paragraph.C (getChar): ws changes only
5082
5083         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5084         (numberOfSeparators): ditto
5085         (numberOfHfills): ditto
5086
5087 2003-03-12  John Levon  <levon@movementarian.org>
5088
5089         * author.h:
5090         * author.C:
5091         * bufferparams.h:
5092         * bufferparams.C:
5093         * paragraph_funcs.C: fix per-buffer authorlists
5094
5095 2003-03-12  John Levon  <levon@movementarian.org>
5096
5097         * text.C: fix newline in right address
5098
5099 2003-03-12  Angus Leeming  <leeming@lyx.org>
5100
5101         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5102         duplicate those in LyXFunc::dispatch.
5103
5104         * commandtags.h:
5105         * LyXAction.C:
5106         * ToolbarDefaults.C:
5107         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5108         Add LFUN_FONTFREE_UPDATE.
5109
5110         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5111         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5112
5113         * bufferview_func.[Ch]: several new functions to facilliate
5114         transfer of data to and from the character dialog.
5115
5116 2003-03-12  John Levon  <levon@movementarian.org>
5117
5118         * buffer.C:
5119         * paragraph.h:
5120         * paragraph.C:
5121         * paragraph_funcs.C:
5122         * paragraph_pimpl.C:
5123         * sgml.C:
5124         * tabular.C:
5125         * text.C:
5126         * text3.C: remove META_NEWLINE in favour of an inset
5127
5128         * rowpainter.h:
5129         * rowpainter.C: remove paintNewline (done by inset)
5130
5131 2003-03-12  John Levon  <levon@movementarian.org>
5132
5133         * paragraph_pimpl.C: complain about bad getChar()s
5134         for a while at least
5135
5136 2003-03-12  John Levon  <levon@movementarian.org>
5137
5138         * buffer.h:
5139         * buffer.C: move paragraph read into a separate function,
5140         a little renaming to reflect that.
5141
5142         * bufferparams.h:
5143         * bufferparams.C: remove the author_ids map, not necessary now
5144
5145         * factory.h:
5146         * factory.C: moved Buffer::readInset to here
5147
5148         * paragraph_funcs.h:
5149         * paragraph_funcs.C: readParagraph free function moved from
5150         buffer.C
5151
5152         * tabular.C: name change
5153
5154 2003-03-12  John Levon  <levon@movementarian.org>
5155
5156         * buffer.C:
5157         * ParagraphParameters.C: move par params input to
5158         a read() method
5159
5160         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5161         behave like a normal read from the stream wrt reading
5162         a line vs. a \\token
5163
5164 2003-03-12  John Levon  <levon@movementarian.org>
5165
5166         * paragraph.C:
5167         * ParagraphParameters.h:
5168         * ParagraphParameters.C: move output code to a
5169         ::write() method
5170
5171 2003-03-12  John Levon  <levon@movementarian.org>
5172
5173         * BufferView.C (insertLyXFile):
5174         * buffer.h:
5175         * buffer.C:
5176         * tabular.C: use a parlist iterator for creating the
5177           document.
5178
5179 2003-03-12  John Levon  <levon@movementarian.org>
5180
5181         * buffer.C: make current_change static local not
5182           static file-scope
5183
5184 2003-03-12  John Levon  <levon@movementarian.org>
5185
5186         * buffer.C: fix insertStringAsLines for change tracking
5187
5188 2003-03-12  John Levon  <levon@movementarian.org>
5189
5190         * BufferView.C:
5191         * tabular.C:
5192         * buffer.h:
5193         * buffer.C:
5194         * bufferparams.h:
5195         * bufferparams.C: move author list into params. Rename some
5196           functions. Move the header reading into a separate token
5197           loop. Move the header token reading into BufferParams.
5198
5199 2003-03-12  John Levon  <levon@movementarian.org>
5200
5201         * changes.C: put debug inside lyxerr.debugging() checks
5202
5203 2003-03-11 André Pönitz <poenitz@gmx.net>
5204
5205         * factory.C: make it aware of InsetHFill
5206
5207 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5208
5209         * buffer.C (latexParagraphs): move function from here...
5210         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5211         args.
5212
5213 2003-03-10  Angus Leeming  <leeming@lyx.org>
5214
5215         * LyXAction.C (init): fix bug in poplating array with multiple entries
5216         with the same LFUN (spotted by JMarc).
5217
5218 2003-03-10  John Levon  <levon@movementarian.org>
5219
5220         * text.C:
5221         * text2.C: move getColumnNearX() near its
5222         only call site
5223
5224 2003-03-10  John Levon  <levon@movementarian.org>
5225
5226         * text.C: fix break before a minipage
5227
5228 2003-03-10  John Levon  <levon@movementarian.org>
5229
5230         * text.C: fix the last commit
5231
5232 2003-03-09  John Levon  <levon@movementarian.org>
5233
5234         * lyxtext.h:
5235         * text.C:
5236         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5237         bug 365 (don't break before insets unless needed). Don't
5238         return a value > last under any circumstances.
5239
5240 2003-03-09  Angus Leeming  <leeming@lyx.org>
5241
5242         * BufferView_pimpl.C (trackChanges, dispatch): call
5243         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5244
5245 2003-03-09  Angus Leeming  <leeming@lyx.org>
5246
5247         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5248         than Dialogs::showAboutlyx().
5249
5250 2003-03-09  Angus Leeming  <leeming@lyx.org>
5251
5252         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5253         than Dialogs::showTabularCreate().
5254
5255 2003-03-09  John Levon  <levon@movementarian.org>
5256
5257         * lyxtext.h:
5258         * text.C:
5259         * text2.C: 3rd arg to nextBreakPoint was always the same.
5260           Use references.
5261
5262 2003-03-08  John Levon  <levon@movementarian.org>
5263
5264         * lyxrow.C:
5265         * paragraph.C:
5266         * paragraph.h:
5267         * rowpainter.C:
5268         * text.C:
5269         * text2.C: Remove the "main" bit from the "main body"
5270           notion.
5271
5272 2003-03-08  John Levon  <levon@movementarian.org>
5273
5274         * text.C (leftMargin): The left margin of an empty
5275         manual label paragraph should not include the label width
5276         string length.
5277
5278         * text.C (prepareToPrint): don't attempt to measure hfills
5279         for empty manual label paragraphs - the answer should be 0
5280
5281 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * CutAndPaste.C: remove commented code and reindent.
5284
5285 2003-03-08  John Levon  <levon@movementarian.org>
5286
5287         * lyxfunc.h:
5288         * lyxfunc.C: move reloadBuffer()
5289
5290         * BufferView.h:
5291         * BufferView.C: to here
5292
5293         * lyxvc.C: add comment
5294
5295         * vc-backend.h:
5296         * vc-backend.C: call bv->reload() to avoid
5297           getStatus() check on MENURELOAD
5298
5299 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5300
5301         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5302         to an old format .dep file.
5303
5304 2003-03-07  Angus Leeming  <leeming@lyx.org>
5305
5306         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5307         when the LFUN_MOUSE_RELEASE should have been handled by
5308         inset->localDispatch.
5309
5310 2003-03-07  Angus Leeming  <leeming@lyx.org>
5311
5312         * BufferView_pimpl.C (dispatch):
5313         * LyXAction.C (init):
5314         * ToolbarDefaults.C (init):
5315         * commandtags.h:
5316         * lyxfunc.C (getStatus):
5317         remove LFUN_INSET_GRAPHICS.
5318
5319         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5320
5321 2003-03-07  Angus Leeming  <leeming@lyx.org>
5322
5323         * commandtags.h:
5324         * LyXAction.C (init):
5325         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5326
5327         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5328
5329         * commandtags.h:
5330         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5331
5332         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5333         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5334
5335 2003-03-07  Angus Leeming  <leeming@lyx.org>
5336
5337         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5338         remove "ert".
5339
5340 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * ParagraphList.C (front): new function
5343         (back): implement
5344
5345 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5348         and top_row_offset_. removed var first_y.
5349         * text.C (top_y):
5350         * text2.C (LyXText, removeRow):
5351         * text3.C:
5352         * BufferView_pimpl.C:
5353         use these methods instead of using first_y
5354
5355 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * text2.C (pasteSelection): adjust for checkPastePossible
5358
5359         * CutAndPaste.C: remove Paragraph * buf and replace with
5360         ParagraphList paragraphs.
5361         (DeleteBuffer): delete
5362         (cutSelection): change the tc type to textclass_type
5363         (copySelection): change the tc type to textclass_type
5364         (copySelection): adjust for ParagraphList
5365         (pasteSelection): change the tc type to textclass_type
5366         (pasteSelection): adjust for Paragraphlist
5367         (nrOfParagraphs): simplify for ParagraphList
5368         (checkPastePossible): simplify for ParagraphList
5369         (checkPastePossible): remove unused arg
5370
5371         * ParagraphList.C (insert): handle the case where there are no
5372         paragraphs yet.
5373
5374         * CutAndPaste.h: make CutAndPaste a namespace.
5375
5376         * text3.C (dispatch): adjust
5377
5378         * text.C (breakParagraph): add a ParagraphList as arg
5379
5380         * paragraph_funcs.C (breakParagraph): change to take a
5381         BufferParams and a ParagraphList as args.
5382         (breakParagraphConservative): ditto
5383         (mergeParagraph): ditto
5384         (TeXDeeper): add a ParagraphList arg
5385         (TeXEnvironment): ditto
5386         (TeXOnePar): ditto
5387
5388         * buffer.C (readLyXformat2): adjust
5389         (insertStringAsLines): adjust
5390         (latexParagraphs): adjust
5391
5392         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5393         (cutSelection): adjust
5394         (pasteSelection): adjust
5395
5396         * BufferView_pimpl.C (insertInset): adjust
5397
5398 2003-03-05  Angus Leeming  <leeming@lyx.org>
5399
5400         * commandtags.h:
5401         * LyXAction.C (init):
5402         * BufferView_pimpl.C (dispatch):
5403         * lyxfunc.C (getStatus):
5404         remove LFUN_CHILD_INSERT.
5405
5406         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5407
5408 2003-03-05  Angus Leeming  <leeming@lyx.org>
5409
5410         * commandtags.h:
5411         * LyXAction.C (init):
5412         * src/factory.C (createInset):
5413         * lyxfunc.C (getStatus):
5414         * text3.C (dispatch):
5415         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5416
5417         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5418
5419 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * ParagraphList.C (insert): handle insert right before end()
5422         (erase): fix cases where it can be first or last paragraph.
5423
5424 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5427         Paragraph::next and Paragraph::previous
5428         (TeXOnePar): ditto
5429
5430         * text.C (breakParagraph): adjust
5431
5432         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5433         BufferParams& as arg.
5434         (breakParagraph): use ParagraphList::insert
5435         (breakParagraphConservative): take a Buffer* instead of a
5436         BufferParams& as arg.
5437         (breakParagraphConservative): use ParagraphList::insert.
5438
5439         * buffer.C (insertStringAsLines): un-const it
5440         (insertStringAsLines): adjust
5441
5442         * ParagraphList.C (insert): new function
5443
5444         * CutAndPaste.C (pasteSelection): adjust
5445
5446         * text.C (backspace): adjust
5447
5448         * tabular.C (SetMultiColumn): adjust
5449
5450         * CutAndPaste.C (cutSelection): adjust
5451         (pasteSelection): adjust
5452
5453         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5454         Buffer const * as arg
5455
5456         * ParagraphList.C (erase): new function
5457         * paragraph_funcs.C (mergeParagraph): use it
5458         (mergeParagraph): make it take a Buffer* instead of a
5459         BufferParams* as arg
5460
5461         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5462         as arg
5463         (breakParagraphConservative): ditto
5464
5465         * paragraph.h: remove the breakParagraph friend
5466
5467         * paragraph.C (eraseIntern): new function
5468         (setChange): new function
5469
5470         * paragraph_funcs.C (mergeParagraph): make it take a
5471         ParagraphList::iterator instead of a Paragraph *, adjust
5472         accordingly.
5473
5474         * paragraph.h: move an #endif so that the change tracking stuff
5475         also works in the NO_NEXT case.
5476
5477 2003-03-04  Angus Leeming  <leeming@lyx.org>
5478
5479         * commandtags.h:
5480         * LyXAction.C: new LFUN_INSET_MODIFY.
5481
5482         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5483         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5484
5485 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5486
5487         * several files: ws changes only
5488
5489         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5490         (TeXEnvironment): ditto
5491         (TeXDeeper): ditto
5492
5493         * buffer.C (makeLaTeXFile): adjust
5494         (latexParagraphs): make it take ParagraphList::iterator as args
5495
5496 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * buffer.C (latexParagraphs): adjust
5499
5500         * paragraph.C (TeXOnePar): move function...
5501         (optArgInset): move function...
5502         (TeXEnvironment): move function...
5503         * paragraph_pimpl.C (TeXDeeper): move function...
5504         * paragraph_funcs.C: ...here
5505
5506         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5507
5508 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * buffer.C (readInset): remove compability code for old Figure and
5511         InsetInfo insets
5512
5513 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5514
5515         * buffer.C: ws changes
5516         (readInset):
5517
5518         * BufferView_pimpl.C: ditto
5519         * author.C: ditto
5520         * buffer.h: ditto
5521         * bufferlist.h: ditto
5522         * changes.h: ditto
5523         * lyxfunc.C: ditto
5524
5525 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5526
5527         * converter.[Ch]: split into itself +
5528         * graph.[Ch]
5529         * format.[Ch]
5530         * Makefile.am: += graph.[Ch] + format.[Ch]
5531         * MenuBackend.C
5532         * buffer.C
5533         * exporter.C
5534         * importer.C
5535         * lyx_main.C
5536         * lyxfunc.C
5537         * lyxrc.C: added #include "format.h"
5538
5539 2003-02-27  Angus Leeming  <leeming@lyx.org>
5540
5541         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5542           a label.
5543
5544         * factory.C (createInset): add "label" to the factory.
5545
5546         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5547           string and do no more.
5548
5549 2003-02-27  Angus Leeming  <leeming@lyx.org>
5550
5551         * commandtags.h:
5552         * LyXAction.C (init):
5553         * factory.C (createInset):
5554         * BufferView_pimpl.C (dispatch):
5555           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5556
5557         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5558
5559         * lyxfunc.C (dispatch):
5560         * text3.C (dispatch): pass name to params2string.
5561
5562 2003-02-26  Angus Leeming  <leeming@lyx.org>
5563
5564         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5565           blocks together.
5566           Rearrange the ~includes. Strip out the unnecessary ones.
5567
5568         * factory.C (createInset): reformat.
5569           create new insets for the various LFUN_XYZ_APPLY lfuns.
5570
5571 2003-02-26  John Levon  <levon@movementarian.org>
5572
5573         * lyxrow.h:
5574         * lyxrow.C: add isParStart,isParEnd helpers
5575
5576         * paragraph.h: make isInserted/DeletedText take refs
5577
5578         * paragraph_funcs.h:
5579         * paragraph_funcs.C: remove #if 0'd code
5580
5581         * lyxtext.h:
5582         * text3.C:
5583         * text2.C:
5584         * text.C: use lyxrow helpers above.
5585           Move draw and paint routines to RowPainter.
5586           Make several methods use refs not pointers.
5587           Make backgroundColor() const.
5588           Add markChangeInDraw(), isInInset().
5589           Merge changeRegionCase into changeCase.
5590           Make workWidth() shouldn't-happen code into an Assert.
5591
5592         * rowpainter.h:
5593         * rowpainter.C: new class for painting a row.
5594
5595         * vspace.h:
5596         * vspace.C: make inPixels take a ref
5597
5598 2003-02-26  Angus Leeming  <leeming@lyx.org>
5599
5600         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5601         LFUN_REF_APPLY.
5602
5603 2003-02-25  John Levon  <levon@movementarian.org>
5604
5605         * ispell.C: give the forked command a more accurate name
5606
5607 2003-02-22  John Levon  <levon@movementarian.org>
5608
5609         * toc.h:
5610         * toc.C: make TocItem store an id not a Paragraph *
5611           (bug #913)
5612
5613 2003-02-21  Angus Leeming  <leeming@lyx.org>
5614
5615         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5616           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5617           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5618           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5619           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5620           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5621
5622         * BufferView_pimpl.C (dispatch):
5623         * LyXAction.C (init):
5624         * factory.C (createInset):
5625         * lyxfunc.C (getStatus, dispatch):
5626         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5627
5628 2003-02-21  Angus Leeming  <leeming@lyx.org>
5629
5630         * BufferView_pimpl.C (MenuInsertLyXFile):
5631         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5632         * lyxfunc.C (menuNew, open, doImport):
5633           no longer pass a LyXView & to fileDlg.
5634
5635 2003-02-21  Angus Leeming  <leeming@lyx.org>
5636
5637         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5638         * LyXAction.C: change, BIBKEY to BIBITEM.
5639         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5640         Change InsetBibKey to InsetBibitem.
5641         Change BIBKEY_CODE to BIBITEM_CODE.
5642         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5643         * factory.C: replace insetbib.h with insetbibitem.h.
5644         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5645         * paragraph.C: replace insetbib.h with insetbibitem.h.
5646         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5647         Change bibkey() to bibitem().
5648         * text.C: remove insetbib.h.
5649         * text2.C: replace insetbib.h with insetbibitem.h.
5650         change bibkey() to bibitem().
5651         * text3.C: remove insetbib.h.
5652         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5653
5654 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5655
5656         * lyxrc.C (output): enclose user email in quotes (in case there are
5657         several words)
5658
5659 2003-02-18  John Levon  <levon@movementarian.org>
5660
5661         * buffer.h: add std::
5662
5663 2003-02-17  John Levon  <levon@movementarian.org>
5664
5665         * SpellBase.h:
5666         * ispell.h:
5667         * ispell.C:
5668         * pspell.h:
5669         * pspell.C: reworking. Especially in ispell, a large
5670           number of clean ups and bug fixes.
5671
5672         * lyxfunc.C: fix revert to behave sensibly
5673
5674 2003-02-17 André Pönitz <poenitz@gmx.net>
5675
5676         * LyXAction.C:
5677         * commandtags.h: new LFUN_INSERT_BIBKEY
5678
5679         * layout.h:
5680         * lyxlayout.C:
5681         * buffer.C:
5682         * factory.C:
5683         * text.C:
5684         * text2.C:
5685         * text3.C:
5686         * paragraph.[Ch]:
5687         * paragraph_func.C: remove special bibkey handling
5688
5689 2003-02-17  John Levon  <levon@movementarian.org>
5690
5691         * text.C (Delete): fix case where delete at the end of
5692           the very first paragraph would not merge the pars
5693
5694 2003-02-17  John Levon  <levon@movementarian.org>
5695
5696         * lyxrow.C: fix lastPrintablePos()
5697
5698 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5699
5700         * bufferparams.C (writeLaTeX): add a std:here
5701
5702         * buffer.C: and remove a using directive there
5703
5704 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5705
5706         * buffer.C (makeLaTeXFile): move the code that generates the
5707           preamble...
5708
5709         * bufferparams.C (writeLaTeX): ... in this new method
5710
5711         * LaTeXFeatures.C (getEncodingSet): make const
5712           (getLanguages): make const
5713
5714         * MenuBackend.C (binding): returns the binding associated to this
5715           action
5716           (add): sets the status of each item by calling getStatus. Adds
5717           some intelligence.
5718           (read): add support for OptSubMenu
5719           (expand): remove extra separator at the end of expanded menu
5720
5721 2003-02-15  John Levon  <levon@movementarian.org>
5722
5723         * BufferView.C:
5724         * BufferView_pimpl.C:
5725         * bufferlist.h:
5726         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5727           inset code that had no actual effect. Remove unneeded status
5728           code.
5729
5730 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5731
5732         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5733           in preamble
5734
5735 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5736
5737         * text.C (drawLengthMarker): also draw an arrow marker for
5738           symbolic lengths (medskip...)
5739
5740 2003-02-14  John Levon  <levon@movementarian.org>
5741
5742         * tabular.h:
5743         * tabular.C: better method names
5744
5745 2003-02-14  John Levon  <levon@movementarian.org>
5746
5747         * BufferView_pimpl.C:
5748         * bufferlist.C:
5749         * buffer.C:
5750         * converter.C:
5751         * lyx_cb.C:
5752         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5753           it's a more accurate name. Remove some pointless uses.
5754
5755 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5756
5757         * text2.C (LyXText): change order of initilizers to shut off
5758           warnings
5759
5760 2003-02-14  John Levon  <levon@movementarian.org>
5761
5762         * buffer.C: use ParIterator for getParFromID()
5763
5764         * paragraph.h:
5765         * paragraph.C:
5766         * paragraph_pimpl.h:
5767         * paragraph_pimpl.C: remove unused getParFromID()
5768
5769 2003-02-14  John Levon  <levon@movementarian.org>
5770
5771         * buffer.C: remove some very old #if 0'd parse code
5772
5773 2003-02-13  John Levon  <levon@movementarian.org>
5774
5775         * text.h:
5776         * text.C:
5777         * text2.C: move hfillExpansion(), numberOfSeparators(),
5778           rowLast(), rowLastPrintable(), numberofHfills(),
5779           numberOfLabelHfills() ...
5780
5781         * lyxrow.h:
5782         * lyxrow.C: ... to member functions here.
5783
5784         * paragraph.h:
5785         * paragraph.C:
5786         * lyxtext.h:
5787         * text.C: remove LyXText::beginningOfMainBody(), and call
5788           p->beginningOfMainBody() directly. Move the check for
5789           LABEL_MANUAL into the latter.
5790
5791         * text.h:
5792         * text.C:
5793         * text2.C:
5794         * vspace.C:
5795         * BufferView.h:
5796         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5797
5798         * text.h:
5799         * text.C:
5800         * text2.C:
5801         * text3.C:
5802         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5803           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5804
5805 2003-02-13  John Levon  <levon@movementarian.org>
5806
5807         * CutAndPaste.C: remove debug
5808
5809 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5810
5811         * paragraph.C (asString): remove two unused variables
5812
5813         * lyxtextclass.C (readTitleType):
5814           (Read):
5815           (LyXTextClass): handle new members titletype_ and titlename_
5816
5817         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5818
5819 2003-02-09  John Levon  <levon@movementarian.org>
5820
5821         * buffer.h:
5822         * buffer.C: replace hand-coded list with a map for the dep clean
5823
5824 2003-02-08  John Levon  <levon@movementarian.org>
5825
5826         * LaTeX.C: consolidate code into showRunMessage() helper
5827
5828 2003-02-08  John Levon  <levon@movementarian.org>
5829
5830         * lyxfind.C:
5831         * lyxtext.h:
5832         * text2.C:
5833         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5834           and pass the size in explicitly
5835
5836         * BufferView_pimpl.h:
5837         * BufferView_pimpl.C:
5838         * BufferView.h:
5839         * BufferView.C: add getCurrentChange()
5840
5841         * BufferView_pimpl.h:
5842         * BufferView_pimpl.C: handle change lfuns
5843
5844         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5845           for changes. Mark pasted paragraphs as new.
5846
5847         * support/lyxtime.h:
5848         * support/lyxtime.C:
5849         * DepTable.C: abstract time_t as lyx::time_type
5850
5851         * LColor.h:
5852         * LColor.C: add colours for new text, deleted text, changebars
5853
5854         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5855           package use "usenames" option.
5856
5857         * commandtags.h:
5858         * lyxfunc.C:
5859         * LyXAction.C: add change lfuns
5860
5861         * Makefile.am:
5862         * author.h:
5863         * author.C: author handling
5864
5865         * buffer.h:
5866         * buffer.C: add a per-buffer author list, with first entry as
5867           current author. Handle new .lyx tokens for change tracking. Output
5868           author list to .lyx file. Output dvipost stuff to .tex preamble.
5869           Bump lyx format to 222.
5870
5871         * bufferlist.h:
5872         * bufferlist.C: add setCurrentAuthor() to reset current author details
5873           in all buffers.
5874
5875         * bufferparams.h:
5876         * bufferparams.C: add param for tracking
5877
5878         * bufferview_funcs.C: output change info in minibuffer
5879
5880         * Makefile.am:
5881         * changes.h:
5882         * changes.C: add change-tracking structure
5883
5884         * debug.h:
5885         * debug.C: add CHANGES debug flag
5886
5887         * lyxfind.h:
5888         * lyxfind.C: add code for finding the next change piece
5889
5890         * lyxrc.h:
5891         * lyxrc.C: add user_name and user_email
5892
5893         * lyxrow.h:
5894         * lyxrow.C: add a metric for the top of the text line
5895
5896         * lyxtext.h:
5897         * text.C: implement accept/rejectChange()
5898
5899         * lyxtext.h:
5900         * text.C: paint changebars. Paint new/deleted text in the chosen
5901         colours. Strike through deleted text.
5902
5903         * paragraph.h:
5904         * paragraph.C:
5905         * paragraph_pimpl.h:
5906         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5907           in the current change to the insert functions. Rework erase to
5908           mark text as deleted, adding an eraseIntern() and a range-based
5909           erase(). Implement per-paragraph change lookup and
5910           accept/reject.
5911
5912         * paragraph_funcs.C: Fixup paste for change tracking.
5913
5914         * tabular.C: mark added row/columns as new.
5915
5916         * text.C: fix rowLast() to never return -1. Don't allow
5917           spellchecking of deleted text. Track transpose changes. Don't
5918           allow paragraph break or merge where appropriate.
5919
5920         * text2.C: leave cursor at end of selection after a cut.
5921
5922 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5923
5924         * text.C (getLengthMarkerHeight):
5925         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5926         visible on screen too.
5927
5928 2003-02-07  John Levon  <levon@movementarian.org>
5929
5930         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5931
5932 2003-02-05  Angus Leeming  <leeming@lyx.org>
5933
5934         * lyxserver.C (read_ready): revert my patch of 11 September last year
5935         as it sends PC cpu through the roof. Presumably this means that
5936         the lyxserver will no longer run on an Alpha...
5937
5938 2003-01-30  Angus Leeming  <leeming@lyx.org>
5939
5940         * factory.C (createInset): create an InsetCommandParam of type "index"
5941         and use it to 'do the right thing'.
5942
5943         * text2.C (getStringToIndex): ensure that cursor position is always
5944         reset to the reset_cursor position.
5945
5946 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5947
5948         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5949         disabled.
5950
5951 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5952
5953         * bufferview.C:
5954         * lyxcb.C:
5955         * lyxfunc.C: Output messages with identical spelling, punctuation,
5956         and spaces
5957
5958 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5959
5960         * MenuBackend.C (expandFormats): List only viewable export formats
5961         in "View" menu
5962
5963         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5964         message
5965
5966         * lyxfunc.C (getStatus): Make sure that formats other than
5967         "fax" can also be disabled
5968
5969 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5970
5971         * text3.C (dispatch): put the lfuns that insert insets in 3
5972         groups, and call doInsertInset with appropriate arguments.
5973         (doInsertInset): new function, that creates an inset and inserts
5974         it according to some boolean parameters.
5975
5976 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5977
5978         * buffer.C (readFile): remember to pass on 'par' when calling
5979         readFile recursively.
5980
5981 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5982
5983         * MenuBackend.C (expandFormats): add "..." to import formats.
5984
5985 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5986
5987         * paragraph.C (asString): Remove XForms RTL hacks.
5988
5989 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5990         * buffer.C: fix typo
5991
5992 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * Makefile.am (LIBS): delete var
5995         (lyx_LDADD): add @LIBS@ here instead.
5996
5997 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5998
5999         * Clarify the meaning of "wheel mouse jump"
6000
6001 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6004         tabular in a float
6005
6006 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6007
6008         * importer.C (Loaders): do not preallocate 3 elements in the
6009         vector, since one ends up with 6 elements otherwise
6010
6011 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6012
6013         * DepTable.C (write): write the file name as last element of the
6014         .dep file (because it may contain spaces)
6015         (read): read info in the right order
6016
6017 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6018
6019         * paragraph_pimpl.C (simpleTeXBlanks):
6020         (simpleTeXSpecialChars):
6021         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6022
6023         * tabular.C (latex): add some missing case statements. Reindent.
6024
6025         * MenuBackend.C (expandToc): remove unused variable.
6026
6027 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6028
6029         * LColor.C:
6030         * LaTeX.C:
6031         * LyXAction.C:
6032         * MenuBackend.C:
6033         * buffer.C:
6034         * exporter.C:
6035         * lyxfunc.C:
6036         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6037         and the like.
6038
6039 2003-01-05  John Levon  <levon@movementarian.org>
6040
6041         * BufferView.h:
6042         * BufferView.C: add getEncoding()
6043
6044         * kbsequence.h:
6045         * kbsequence.C: do not store last keypress
6046
6047         * lyxfunc.h:
6048         * lyxfunc.C: store last keypress here instead. Pass encoding
6049           to getISOEncoded()
6050
6051 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6052
6053         * lyx_main.C (init): remove annoying error message when following
6054         symbolic links (bug #780)
6055
6056 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6057
6058         * text.C (insertChar):
6059         * lyxrc.C (getDescription): remove extra spaces
6060
6061 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6062
6063         * lyxrc.C (getDescription): remove extra spaces
6064
6065 2002-12-20  John Levon  <levon@movementarian.org>
6066
6067         * text3.C: hack fix for page up/down across tall rows
6068
6069 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6070
6071         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6072         not been invoked
6073
6074 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6075
6076         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6077         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6078         thesaurus is not compiled in
6079
6080 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6081
6082         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6083
6084 2002-12-16  Angus Leeming  <leeming@lyx.org>
6085
6086         * lyxrc.[Ch]:
6087         * lyx_main.C (init): remove override_x_deadkeys stuff.
6088
6089 2002-12-12  John Levon  <levon@movementarian.org>
6090
6091         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6092           insert. Only remove shift modifier under strict
6093           circumstances.
6094
6095 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * MenuBackend.C (expandToc): fix crash.
6098
6099 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6100
6101         * MenuBackend.C (expandToc): gettext on float names.
6102
6103 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6104
6105         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6106         implement bool empty() [bug 490]
6107
6108 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6111
6112 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * several files: ws changes
6115
6116 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * text2.C (setCounter): clean up a bit, use boost.format.
6119         (updateCounters): initialize par upon declaration.
6120
6121         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6122         if the layout exists. We do not just store the layout any more.
6123         (SwitchLayoutsBetweenClasses): use boost.format
6124
6125 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6126
6127         * converter.C (convert): if from and to files are the same, use a
6128         temporary files as intermediary
6129
6130 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6131
6132         * commandtags.h:
6133         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6134
6135 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6136
6137         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6138
6139 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * tabular.C (asciiPrintCell): use string(size, char) instead of
6142         explicit loop.
6143
6144         * sgml.C (openTag): fix order of arguments to string constructor
6145         (closeTag): ditto
6146
6147         * lyxfunc.C (dispatch): use boost.format
6148
6149         * lots of files: change "c" -> 'c'
6150
6151 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6152
6153         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6154
6155 2002-11-25  Angus Leeming  <leeming@lyx.org>
6156
6157         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6158
6159         * lyx_main.C (init): compile fix.
6160
6161 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6162
6163         * lyx_cb.C (start): boost.formatify
6164         do not include <iostream>
6165
6166         * lengthcommon.C: ws only
6167
6168         * boost-inst.C,BoostFormat.h: add more explict instantations
6169
6170 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * lots of files: handle USE_BOOST_FORMAT
6173
6174 2002-11-21  John Levon  <levon@movementarian.org>
6175
6176         * pspell.C: fix compile
6177
6178 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6179
6180         * lyxfunc.C (dispatch): use boost::format
6181         (open): ditto
6182         (doImport): ditto
6183
6184         * lyxfont.C (stateText): use boost::format
6185
6186         * lyx_main.C (LyX): use boost::format
6187         (init): ditto
6188         (queryUserLyXDir): ditto
6189         (readRcFile): ditto
6190         (parse_dbg): ditto
6191         (typedef boost::function): use the recommened syntax.
6192
6193         * importer.C (Import): use boost::format
6194
6195         * debug.C (showLevel): use boost::format
6196
6197         * converter.C (view): use boost::format
6198         (convert): ditto
6199         (move): ditto
6200         (scanLog): ditto
6201
6202         * bufferview_funcs.C (currentState): use boost::format
6203
6204         * bufferlist.C (emergencyWrite): use boost::format
6205
6206         * buffer.C (readLyXformat2): use boost::format
6207         (parseSingleLyXformat2Token): ditto
6208
6209         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6210
6211         * LaTeX.C (run): use boost::format
6212
6213         * Chktex.C (scanLogFile): use boost::format
6214
6215         * BufferView_pimpl.C (savePosition): use boost::format
6216         (restorePosition): ditto
6217         (MenuInsertLyXFile): ditto
6218
6219         * BoostFormat.h: help file for explicit instation.
6220
6221 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6222
6223         * tabular.C (latex): Support for block alignment in fixed width
6224         columns.
6225
6226 2002-11-17  John Levon  <levon@movementarian.org>
6227
6228         * BufferView_pimpl.C:
6229         * lyx_cb.C:
6230         * lyxfunc.C: split filedialog into open/save
6231
6232 2002-11-08  Juergen Vigna  <jug@sad.it>
6233
6234         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6235         by my last patch (hopefully).
6236
6237 2002-11-08  John Levon  <levon@movementarian.org>
6238
6239         * iterators.h:
6240         * iterators.C:
6241         * buffer.h:
6242         * buffer.C:
6243         * paragraph.h:
6244         * paragraph.C:
6245         * toc.h:
6246         * toc.C: ParConstIterator, and use it (from Lars)
6247
6248 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6249
6250         * lyxtextclass.[Ch]: revise and add doxygen comments
6251
6252 2002-11-07  John Levon  <levon@movementarian.org>
6253
6254         * text.C: fix progress value for spellchecker
6255
6256         * toc.C: fix navigate menu for insetwrap inside minipage
6257
6258         * paragraph_funcs.C: added FIXME for suspect code
6259
6260 2002-11-07  John Levon  <levon@movementarian.org>
6261
6262         * BufferView_pimpl.C: fix redrawing of insets
6263           on buffer switch
6264
6265 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6266
6267         * text2.C (updateCounters): fix bug 668
6268
6269 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6270
6271         * text3.C (dispatch): Do not make the buffer dirty when moving the
6272         cursor.
6273
6274 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6275
6276         * vc-backend.C: STRCONV
6277         (scanMaster): ditto
6278
6279         * text2.C (setCounter): STRCONV
6280
6281         * paragraph.C (asString): STRCONV
6282
6283         * lyxlength.C (asString): STRCONV
6284         (asLatexString): ditto
6285
6286         * lyxgluelength.C (asString): STRCONV
6287         (asLatexString): ditto
6288
6289         * lyxfunc.C (dispatch): STRCONV
6290         (open): ditto
6291
6292         * lyxfont.C (stateText): STRCONV
6293
6294         * importer.C (Import): STRCONV
6295
6296         * counters.C (labelItem): STRCONV
6297         (numberLabel): ditto
6298         (numberLabel): remove unused ostringstream o
6299
6300         * chset.C: STRCONV
6301         (loadFile): ditto
6302
6303         * bufferview_funcs.C (currentState): STRCONV
6304
6305         * buffer.C (readFile): STRCONV
6306         (asciiParagraph): ditto
6307         (makeLaTeXFile): ditto
6308
6309         * Spacing.C (writeEnvirBegin): STRCONV
6310
6311         * LaTeXFeatures.C (getLanguages): STRCONV
6312         (getPackages): ditto
6313         (getMacros): ditto
6314         (getBabelOptions): ditto
6315         (getTClassPreamble): ditto
6316         (getLyXSGMLEntities): ditto
6317         (getIncludedFiles): ditto
6318
6319         * LaTeX.C: STRCONV
6320         (run): ditto
6321         (scanAuxFile): ditto
6322         (deplog): ditto
6323
6324         * LString.h: add the STRCONV macros
6325
6326         * BufferView_pimpl.C (savePosition): STRCONV
6327         (restorePosition): ditto
6328         (MenuInsertLyXFile): ditto
6329
6330         * vc-backend.C (scanMaster): change from submatch[...] to
6331         submatch.str(...)
6332
6333         * funcrequest.C: include config.h
6334
6335         * factory.C: include config.h
6336
6337         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6338
6339         * box.C: include config.h
6340
6341         * LaTeX.C (scanAuxFile): change from submatch[...] to
6342         submatch.str(...)
6343         (deplog): ditto
6344
6345 2002-10-25  Angus Leeming  <leeming@lyx.org>
6346
6347         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6348
6349         * ispell.[Ch] (setError): new method.
6350         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6351         Use setError() insetead of goto END.
6352
6353         * lyx_cb.C (AutoSave): move out child process into new class
6354         AutoSaveBuffer.
6355
6356 2002-10-30  John Levon  <levon@movementarian.org>
6357
6358         * text3.C: make start appendix undoable
6359
6360 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6361
6362         * lyxlength.C (inPixels): Fix returned value.
6363
6364         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6365         environment.
6366
6367 2002-10-24  Angus Leeming  <leeming@lyx.org>
6368
6369         * lyxgluelength.h: no need to forward declare BufferParams
6370         or BufferView, so don't.
6371
6372 2002-10-21  John Levon  <levon@movementarian.org>
6373
6374         * BufferView.C: menuUndo ->undo, redo
6375
6376         * BufferView.h: document, remove dead, make some methods private
6377
6378         * paragraph_funcs.h:
6379         * paragraph_funcs.C:
6380         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6381
6382         * buffer.h:
6383         * buffer.C:
6384         * sgml.h:
6385         * sgml.C: move sgml open/close tag into sgml.C
6386
6387         * bufferview_funcs.h: unused prototype
6388
6389         * lyxfunc.h:
6390         * lyxfunc.C: remove unused
6391
6392         * lyxtext.h:
6393         * text.C: remove unused
6394
6395 2002-10-21  John Levon  <levon@movementarian.org>
6396
6397         * BufferView.h:
6398         * BufferView.C:
6399         * BufferView_pimpl.h:
6400         * BufferView_pimpl.C: fix mouse wheel handling based on
6401           patch from Darren Freeman
6402
6403 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6404
6405         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6406
6407 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6408
6409         * lyxlength.C (inPixels): Fix hanfling of negative length.
6410         Fix LyXLength::MU case.
6411
6412 2002-10-16  John Levon  <levon@movementarian.org>
6413
6414         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6415
6416 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6417
6418         * converter.C (view): add support for $$i (file name) and $$p
6419         (file path) for the viewer command. If $$i is not specified, then
6420         it is appended to the command (for compatibility with old syntax)
6421
6422 2002-10-14  Juergen Vigna  <jug@sad.it>
6423
6424         * undo_funcs.C (textHandleUndo): alter the order in which the
6425         new undopar is added to the LyXText, as we have to set first
6426         the right prev/next and then add it as otherwise the rebuild of
6427         LyXText is not correct. Also reset the cursor to the right paragraph,
6428         with this IMO we could remove the hack in "redoParagraphs()".
6429
6430 2002-10-09  Angus Leeming  <leeming@lyx.org>
6431
6432         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6433         to turn off an optimisation if a new inset is to be inserted.
6434
6435 2002-10-11 André Pönitz <poenitz@gmx.net>
6436
6437         * lyxtext.h: make some functions public to allow access
6438         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6439
6440 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6441
6442         * text3.C (dispatch): when changing layout, avoid an infinite loop
6443         [bug #652]
6444
6445 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6446
6447         * lyxrc.C (read): treat a viewer or converter command of "none" as
6448         if it were empty.
6449
6450         * MenuBackend.C (expandFormats): for an update, also allow the
6451         formats that are not viewable
6452
6453         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6454         script if it is newer than the lyxrc.defaults in user directory
6455
6456 2002-10-07 André Pönitz <poenitz@gmx.net>
6457
6458         * text.C: Vitaly Lipatov's small i18n fix
6459
6460 2002-09-25  Angus Leeming  <leeming@lyx.org>
6461
6462         * ispell.h: doxygen fix.
6463
6464 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6465
6466         * buffer.h (readFile): Add a new argument to the method, to allow
6467         reading of old-format templates.
6468
6469 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6470
6471         * toc.C (getTocList): Get TOC from InsetWrap.
6472
6473 2002-09-16  John Levon  <levon@movementarian.org>
6474
6475         * lyxfunc.C: check tabular for cut/copy too
6476
6477 2002-09-12  John Levon  <levon@movementarian.org>
6478
6479         * LyXAction.C: tidy
6480
6481         * factory.h:
6482         * factory.C: add header
6483
6484         * paragraph_funcs.h:
6485         * paragraph_funcs.C: cleanup
6486
6487 2002-09-11  John Levon  <levon@movementarian.org>
6488
6489         * PrinterParams.h: odd/even default to true
6490
6491 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6492
6493         * PrinterParams.h: update printer parameters for new xforms dialog
6494
6495 2002-09-11  Angus Leeming  <leeming@lyx.org>
6496
6497         * lyxserver.C (read_ready): re-write to make it more transparent
6498         and to make it work in coherent fashion under Tru64 Unix.
6499
6500 2002-09-11  André Pönitz <poenitz@gmx.net>
6501
6502         * commandtags.h:
6503         * LyXAction.C:
6504         * text3.C: implement LFUN_WORDSEL
6505
6506 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6509         make floatlist_ a boost::shared_ptr<FloatList>
6510
6511         * lyxtextclass.C: include FloatList.h
6512         (LyXTextClass): initialize floatlist_
6513         (TextClassTags): add TC_NOFLOAT
6514         (Read): match "nofloat" to TC_NOFLOAT and use it.
6515         (readFloat): modify call to floatlist_
6516         (floats): ditto
6517         (floats): ditto
6518
6519         * FloatList.[Ch] (FloatList): remove commented out float
6520         initialization.
6521         (erase): new function
6522
6523 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6524
6525         * MenuBackend.C (expandToc): fix crash when there is no document
6526         open
6527
6528 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6529
6530         * many files: Add insetwrap.
6531
6532 2002-09-09  John Levon  <levon@movementarian.org>
6533
6534         * text2.C: remove confusing and awkward depth wraparound
6535
6536 2002-09-09  John Levon  <levon@movementarian.org>
6537
6538         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6539
6540         * buffer.h:
6541         * buffer.C: remove getIncludeonlyList()
6542
6543         * paragraph.C:
6544         * lyxfunc.C: remove headers
6545
6546 2002-09-09  Juergen Vigna  <jug@sad.it>
6547
6548         * text.C (getColumnNearX): fix form Michael this is most
6549         probably a cut&paste bug.
6550
6551 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6552
6553         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6554
6555         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6556         references, ws changes.
6557
6558         * text2.C (init): update counters after init
6559         (insertParagraph): no need to set counter on idividual paragraphs.
6560         (setCounter): access the counters object in the textclass object
6561         on in the buffer object.
6562         (updateCounters): ditto
6563
6564         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6565         shared_ptr<Counters> to avoid loading counters.h in all
6566         compilation units.
6567         (LyXTextClass): initialize ctrs_
6568         (TextClassTags): add TC_COUNTER, and ...
6569         (Read): use it here.
6570         (CounterTags): new tags
6571         (readCounter): new function
6572         (counters): new funtion
6573         (defaultLayoutName): return a const reference
6574
6575         * counters.C (Counters): remove contructor
6576         (newCounter): remove a couple of unneeded statements.
6577         (newCounter): simplify a bit.
6578         (numberLabel): some small formatting changes.
6579
6580         * buffer.[Ch]: remove all traces of counters, move the Counters
6581         object to the LyXTextClass.
6582
6583 2002-09-06  Alain Castera  <castera@in2p3.fr>
6584
6585         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6586         package to set the horizontal alignment on fixed width columns.
6587
6588         * lyx_sty.C:
6589         * lyx_sty.h: added tabularnewline macro def.
6590
6591         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6592
6593 2002-09-06  John Levon  <levon@movementarian.org>
6594
6595         * LyXAction.C: tooltips for sub/superscript
6596
6597         * MenuBackend.C: a bit more verbose
6598
6599         * lyxfunc.C: tiny clean
6600
6601         * undo_funcs.C: document undo_frozen
6602
6603 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6604
6605         * counters.C (Counters): add missing algorithm counter.
6606
6607         * text2.C (setCounter): lookup the counter with layouts latexname
6608         instead of by section number.
6609         (setCounter): use a hackish way to lookup the correct enum
6610         counter.
6611         a float name->type change
6612         reset enum couners with counter name directly instead of depth value.
6613
6614         * counters.C (Counters): remove the push_backs, change to use the
6615         float type not the float name.
6616         (labelItem): remove unused string, float name->type change
6617
6618         * counters.h: don't include vector, loose the enums and sects vectors
6619
6620 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6623         (Read): add float->TC_FLOAT to textclassTags
6624         (Read): and handle it in the switch
6625         (readFloat): new function
6626
6627         * FloatList.C (FloatList): comment out the hardcoded float
6628         definitions.
6629
6630         * lyxlayout.h: ws change.
6631
6632 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6633
6634         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6635
6636 2002-09-03  Angus Leeming  <leeming@lyx.org>
6637
6638         * BufferView_pimpl.h: qualified name is not allowed in member
6639         declaration: WorkArea & Pimpl::workarea() const;
6640
6641         * factory.C: added using std::endl directive.
6642
6643         * text3.C: added using std::find and std::vector directives.
6644
6645 2002-08-29  André Pönitz <poenitz@gmx.net>
6646
6647         * lyxtext.h:
6648         * text2.C: remove unused member number_of_rows
6649
6650         * Makefile.am:
6651         * BufferView2.C: remove file, move contents to...
6652         * BufferView.C: ... here
6653
6654         * BufferView_pimpl.C:
6655         * factory.C: move more inset creation to factory
6656
6657         * vspace.C: avoid direct usage of LyXText, ws changes
6658
6659         * BufferView.[Ch]:
6660                 don't provide direct access to WorkArea, use two simple
6661                 acessors haveSelction() and workHeight() instead
6662
6663
6664 2002-08-29  John Levon  <levon@movementarian.org>
6665
6666         * BufferView_pimpl.C (dispatch): do not continue when
6667           no buffer
6668
6669 2002-08-28  André Pönitz <poenitz@gmx.net>
6670
6671         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6672
6673         * BufferView.h:
6674         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6675
6676 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6677
6678         * buffer.C: increment LYX_FORMAT to 221
6679
6680         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6681         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6682
6683         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6684
6685         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6686
6687 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6688
6689         * factory.C (createInset): use LyXTextClass::floats
6690
6691         * MenuBackend.C (expandFloatListInsert):
6692         (expandFloatInsert):
6693         (expandToc):
6694
6695         * text2.C (setCounter):
6696
6697         * LaTeXFeatures.C (useFloat):
6698         (getFloatDefinitions):
6699
6700         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6701
6702         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6703         floatlist_, with accessor floats().
6704
6705         * FloatList.h: remove global FloatList
6706
6707 2002-08-26  André Pönitz <poenitz@gmx.net>
6708
6709         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6710
6711         * BufferView.h:
6712         * BufferView2.C:
6713         * BufferView_pimpl.C:
6714         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6715
6716 2002-08-25  John Levon  <levon@movementarian.org>
6717
6718         * LyXAction.C: fix margin note description
6719
6720 2002-08-24  John Levon  <levon@movementarian.org>
6721
6722         * buffer.C:
6723         * bufferlist.C:
6724         * bufferview_funcs.C:
6725         * lyxfont.C:
6726         * undo_funcs.C: cleanups
6727
6728         * lyxfunc.C: disable CUT/COPY when no selection
6729
6730 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6731
6732         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6733         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6734
6735         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6736         Add backward compatibility to "mono", "gray" and "no".
6737
6738 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6739
6740         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6741         (and file_format >= 200).
6742
6743 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6744
6745         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6746
6747 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6748
6749         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6750
6751 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6752
6753         * BufferView_pimpl.C:
6754         * LyXAction.C:
6755         * buffer.C:
6756         * commandtags.h:
6757         * lyxfunc.C:
6758         * paragraph.[Ch]:
6759         * text2.C:
6760         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6761         inset and code to make it  work with the paragraph code. The inset
6762         can be anywhere in the paragraph, but will only do the expected
6763         thing in LaTeX if the layout file contains the parameter line
6764                         OptionalArgs    1
6765         (or more generally, a nonzero value) for that layout.
6766
6767 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * paragraph.h: remove the declaration of undefined counters class
6770         function.
6771
6772 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6773
6774         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6775         Dr. Richard Hawkins.
6776
6777 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6778
6779         * paragraph_funcs.h: remove some unneeded includes
6780
6781         * text.C (backspace): pasteParagraph now in global scipe
6782
6783         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6784         (pasteSelection): ditto
6785
6786         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6787         * paragraph_funcs.C (pasteParagraph): ... here
6788
6789 2002-08-20  André Pönitz <poenitz@gmx.net>
6790
6791         * commandtags.h: new LFUNs for swapping/copying table row/colums
6792
6793         * LyXAction.C:
6794         * lyxfunc.C: support for new lfuns
6795
6796 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6797
6798         * tabular.C:
6799         * buffer.[Ch]: remove NO_COMPABILITY stuff
6800
6801 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * boost.C (throw_exception): new file, with helper function for
6804         boost compiled without exceptions.
6805
6806         * paragraph.h:
6807         * lyxlength.C:
6808         * buffer.C:
6809         * ParameterStruct.h:
6810         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6811
6812         * bufferlist.C (emergencyWriteAll): use boost bind
6813
6814         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6815
6816         * text.C: include paragraph_funcs.h
6817         (breakParagraph): breakParagraph is now in global scope
6818
6819         * paragraph_funcs.[Ch]: new files
6820
6821         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6822         global scope
6823
6824         * buffer.C: include paragraph_funcs.h
6825         (insertStringAsLines): breakParagraph is now in global scope
6826
6827         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6828         paragraph_funcs.C
6829
6830         * CutAndPaste.C: include paragraph_funcs.h
6831         (cutSelection): breakParagraphConservative is now in global scope
6832         (pasteSelection): ditto
6833
6834         * buffer.h: declare oprator== and operator!= for
6835         Buffer::inset_iterator
6836
6837         * bufferlist.C (emergencyWrite): don't use fmt(...)
6838
6839         * text3.C: add using std::endl
6840
6841         * BufferView.C (moveCursorUpdate): remove default arg
6842
6843 2002-08-20  André Pönitz <poenitz@gmx.net>
6844
6845         * buffer.[Ch]: move inline functions to .C
6846
6847         * BufferView2.C:
6848         * BufferView_pimpl.C:
6849         * text.C:
6850         * buffer.[Ch]: use improved inset_iterator
6851
6852         * buffer.C:
6853         * paragraph.[Ch]: write one paragraph at a time
6854
6855 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6856
6857         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6858         style if style is not specified.
6859
6860 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6861
6862         * text2.C (setCounter): when searching for right label for a
6863         caption, make sure to recurse to parent insets (so that a caption
6864         in a minipage in a figure float works) (bug #568)
6865
6866 2002-08-20  André Pönitz <poenitz@gmx.net>
6867
6868         * text3.C: new file for LyXText::dispatch() and helpers
6869
6870         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6871
6872         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6873
6874 2002-08-19  André Pönitz <poenitz@gmx.net>
6875
6876         * lyxtext.h:
6877         * text.C: new LyXText::dispatch()
6878
6879         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6880
6881 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6882
6883         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6884
6885         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6886         Hebrew text.
6887
6888 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6889
6890         * Makefile.am: use $(variables) instead of @substitutions@
6891
6892 2002-08-15  André Pönitz <poenitz@gmx.net>
6893
6894         * lyxfunc.C:
6895         * BufferView_pimpl.C: streamlining mathed <-> outer world
6896         interaction
6897
6898         * commandtags.h:
6899         * LyXAction.C: remove unused LFUN_MATH
6900
6901 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6902
6903         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6904
6905 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * paragraph.C (Paragraph): reformat a bit
6908         (cutIntoMinibuffer): use builtin InsetList function instad of
6909         doing it manually.
6910         (getInset): ditto
6911
6912         * buffer.C: include boost/bind.hpp, add using std::for_each
6913         (writeFileAscii): use ParagraphList iterators
6914         (validate): use for_each for validate traversal of paragraphs
6915         (getBibkeyList): use ParagraphList iterators
6916         (resizeInsets): use for_each to resizeInsetsLyXText for all
6917         paragraphs.
6918         (getParFromID): use ParagraphList iterators
6919
6920         * BufferView2.C (lockInset): use paragraph list and iterators
6921
6922 2002-08-14  John Levon  <levon@movementarian.org>
6923
6924         * lyxserver.C: remove spurious xforms include
6925
6926 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6927
6928         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6929
6930 2002-08-13  André Pönitz <poenitz@gmx.net>
6931
6932         * LyXAction.[Ch]:
6933         * lyxfunc.C: further cleaning
6934
6935 2002-08-13  André Pönitz <poenitz@gmx.net>
6936
6937         * funcrequest.h: new constructor
6938
6939         * funcrequest.C: move stuff here from .h
6940
6941         * Makefile.am:
6942         * BufferView_pimpl.C:
6943         * LyXAction.C:
6944         * toc.C:
6945         * lyxfunc.C: subsequent changes
6946
6947         * lyxfunc.h: new view() member function
6948
6949         * lyxfunc.C: subsequent changes
6950
6951 2002-08-13  Angus Leeming  <leeming@lyx.org>
6952
6953         * BufferView2.C:
6954         * BufferView_pimpl.C:
6955         * buffer.C:
6956         * converter.C:
6957         * importer.C:
6958         * lyxfunc.C:
6959         * lyxvc.C:
6960         * toc.C:
6961         * vc-backend.C:
6962         changes due to the changed LyXView interface that now returns references
6963         to member variables not pointers.
6964
6965 2002-08-13  Angus Leeming  <leeming@lyx.org>
6966
6967         * WordLangTuple (word, lang_code): return references to strings,
6968         not strings.
6969
6970         * BufferView.h:
6971         * SpellBase.h:
6972         * lyxtext.h: forward-declare WordLangTuple.
6973
6974         * BufferView2.C:
6975         * ispell.C:
6976         * pspell.C:
6977         * text.C: #include "WordLangTuple.h".
6978
6979         * lyxtext.h:
6980         * text.C: (selectNextWordToSpellcheck): constify return type.
6981
6982 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6983
6984         * buffer.C:
6985         * buffer.h:
6986         * lyxtext.h:
6987         * paragraph.C:
6988         * paragraph_pimpl.h:
6989         * text.C:
6990         * text2.C:
6991         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6992         suggested by Angus.
6993         Made updateCounter always count from start of buffer, and removed
6994         second argument (par).
6995         Reverted floats number display to '#'. Perhaps I'll try again when the
6996         code base is sanitized a bit.
6997
6998 2002-08-12  Angus Leeming  <leeming@lyx.org>
6999
7000         * buffer.[Ch] (getLabelList): constify.
7001
7002 2002-08-07  André Pönitz <poenitz@gmx.net>
7003
7004         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7005
7006         * funcrequest.h: extension to keep mouse (x,y) position
7007
7008 2002-08-12  Juergen Vigna  <jug@sad.it>
7009
7010         * BufferView2.C (insertErrors): forbid undo when inserting error
7011         insets.
7012
7013         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7014
7015 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * ParagraphList.[Ch]: new files
7018
7019         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7020
7021         * BufferView2.C (lockInset): ParagraphList changes
7022         * toc.C: ditto
7023         * text2.C: ditto
7024         * bufferlist.C: ditto
7025         * buffer.h: ditto
7026         * buffer.C: ditto
7027
7028 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7029
7030         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7031         unused class variable counter_,
7032
7033         * paragraph.[Ch] (getFirstCounter): delete unused function
7034
7035         * counters.C: include LAssert.h
7036         (reset): add a new function with no arg, change other version to
7037         not have def. arg and to not allow empty arg.
7038
7039         * text2.C (setCounter): remove empty arg from call to Counters::reset
7040
7041 2002-08-11  John Levon  <levon@movementarian.org>
7042
7043         * Makefile.am: add WordLangTuple.h
7044
7045 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7046
7047         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7048         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7049
7050         * insets/insettext.C: InsetList changes
7051
7052         * graphics/GraphicsSupport.C (operator()): InsetList changes
7053
7054         * toc.C (getTocList): InsetList changes
7055
7056         * paragraph_pimpl.[Ch]: InsetList changes
7057
7058         * paragraph.[Ch]: InsetList changes
7059
7060         * buffer.C (inset_iterator): InsetList changes
7061         (setParagraph): ditto
7062         * buffer.h (inset_iterator): ditto
7063         * iterators.C (operator++): ditto
7064         * iterators.h: ditto
7065
7066         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7067
7068         * InsetList.[Ch]: new files, most InsetList handling moved out of
7069         paragraph.C.
7070
7071         * BufferView2.C (removeAutoInsets): InsetList changes
7072         (lockInset): ditto
7073         (ChangeInsets): ditto
7074
7075 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * paragraph_pimpl.h (empty): new function
7078
7079         * paragraph.[Ch] (empty): new function
7080
7081         * other files: use the new Paragraph::empty function
7082
7083 2002-08-09  John Levon  <levon@movementarian.org>
7084
7085         * lyxtext.h: remove unused refresh_height
7086
7087 2002-08-09  John Levon  <levon@movementarian.org>
7088
7089         * Makefile.am:
7090         * sgml.h:
7091         * sgml.C:
7092         * buffer.C:
7093         * paragraph.h:
7094         * paragraph.C: move sgml char escaping out of paragraph
7095
7096         * paragraph.h:
7097         * paragraph.C: remove id setter
7098
7099         * buffer.C:
7100         * paragraph.C:
7101         * paragraph_pimpl.C: remove dead tex_code_break_column
7102
7103         * bufferview_funcs.C: small cleanup
7104
7105         * lyxfunc.C: remove dead proto
7106
7107         * lyxtext.h: make some stuff private. Remove some dead stuff.
7108
7109         * lyxgluelength.C: make as[LyX]String() readable
7110
7111 2002-08-08  John Levon  <levon@movementarian.org>
7112
7113         * LyXAction.h:
7114         * LyXAction.C:
7115         * MenuBackend.C:
7116         * ToolbarDefaults.C:
7117         * lyxfunc.C:
7118         * lyxrc.C:
7119         * toc.C: lyxaction cleanup
7120
7121 2002-08-08  John Levon  <levon@movementarian.org>
7122
7123         * BufferView2.C: small cleanup
7124
7125         * lyxfind.h:
7126         * lyxfind.C: move unnecessary header into the .C
7127
7128 2002-08-08  John Levon  <levon@movementarian.org>
7129
7130         * funcrequest.h: just tedious nonsense
7131
7132         * lyx_main.h:
7133         * lyx_main.C: cleanups
7134
7135         * buffer.C:
7136         * vspace.C: remove dead header lyx_main.h
7137
7138 2002-08-07  Angus Leeming  <leeming@lyx.org>
7139
7140         * Paragraph.[Ch]:
7141         * paragraph_pimpl.h:
7142         Forward declare class Counters in paragraph.h by moving the ctrs member
7143         variable into Paragraph::Pimpl.
7144         (counters): new method, returning a reference to pimpl_->ctrs.
7145
7146         * text2.C: ensuing changes.
7147
7148 2002-08-07  John Levon  <levon@movementarian.org>
7149
7150         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7151
7152         * BufferView_pimpl.C: announce X selection on double/triple
7153           click
7154
7155         * lyx_main.C: use correct bool in batch dispatch
7156
7157         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7158
7159 2002-08-07  André Pönitz <poenitz@gmx.net>
7160
7161         * funcrequest.h: new class to wrap a kb_action and its argument
7162
7163         * BufferView.[Ch]:
7164         * BufferView_pimpl[Ch]:
7165         * LaTeX.C:
7166         * LyXAction.[Ch]:
7167         * lyxfunc.[Ch]:
7168         * lyxrc.C: subsequent changes
7169
7170
7171 2002-08-07  John Levon  <levon@movementarian.org>
7172
7173         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7174           document options change.
7175
7176 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7177
7178         * counters.[Ch]
7179         * text2.C
7180         * paragraph.[Ch]
7181         * makefile.am: move counters functionality over from
7182         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7183
7184 2002-08-06  John Levon  <levon@movementarian.org>
7185
7186         * WordLangTuple.h: new file for word + language code tuple
7187
7188         * SpellBase.h:
7189         * pspell.h:
7190         * pspell.C:
7191         * ispell.h:
7192         * ispell.C:
7193         * lyxtext.h:
7194         * text.C:
7195         * text2.C:
7196         * BufferView.h:
7197         * BufferView2.C: use WordLangTuple
7198
7199         * layout.h:
7200         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7201
7202 2002-08-06  John Levon  <levon@movementarian.org>
7203
7204         * lyx_main.C: fix cmdline batch handling
7205
7206 2002-08-06  André Pönitz <poenitz@gmx.net>
7207
7208         * lyxrc.C: set default for show_banner to true
7209
7210 2002-08-06  John Levon  <levon@movementarian.org>
7211
7212         * pspell.C: fix a crash, and allow new aspell to work
7213
7214 2002-08-06  John Levon  <levon@movementarian.org>
7215
7216         * lyxfunc.C:
7217         * kbmap.C: small cleanup
7218
7219         * vspace.h:
7220         * vspace.C: add const
7221
7222 2002-08-05  John Levon  <levon@movementarian.org>
7223
7224         * LyXAction.C: back to tabular-insert
7225
7226 2002-08-04  John Levon  <levon@movementarian.org>
7227
7228         * BufferView.h:
7229         * BufferView.C: cosmetic change
7230
7231         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7232
7233         * bufferlist.C:
7234         * buffer.h:
7235         * buffer.C:
7236         * lyxcb.h:
7237         * lyxcb.C:
7238         * lyxserver.C:
7239         * lyxvc.C:
7240         * vc-backend.C:
7241         * BufferView2.C: purge all "Lyx" not "LyX" strings
7242
7243         * lyxcursor.h:
7244         * lyxcursor.C: attempt to add some documentation
7245
7246         * lyxfunc.C:
7247         * commandtags.h:
7248         * LyXAction.C:
7249         * ToolbarDefaults.C:
7250         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7251           merge with LFUN_TABULAR_INSERT
7252
7253         * Makefile.am:
7254         * SpellBase.h:
7255         * ispell.h:
7256         * ispell.C:
7257         * pspell.h:
7258         * pspell.C: split up i/pspell implementations into separate
7259           files, many cleanups
7260
7261         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7262
7263         * text2.C: some cleanup
7264
7265         * lyxfunc.C: don't check for isp_command == "none" any more, it
7266           didn't make any sense
7267
7268 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7269
7270         * counters.[Ch]
7271         * text2.C
7272         * paragraph.[Ch]
7273         * makefile.am: move counters functionality over
7274         from text2.C/paragraph.[Ch] to counters.[Ch], and
7275         make proper C++.
7276 2002-08-02  John Levon  <levon@movementarian.org>
7277
7278         * buffer.C: s/lyxconvert/lyx2lyx/
7279
7280 2002-08-02  Angus Leeming  <leeming@lyx.org>
7281
7282         * lyxlex.C: revert John's change as it breaks reading of the user
7283         preamble.
7284
7285 2002-08-02  Angus Leeming  <leeming@lyx.org>
7286
7287         * importer.C (Import):
7288         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7289         changes due to LyXView::view() now returning a boost::shared_ptr.
7290
7291 2002-08-02  John Levon  <levon@movementarian.org>
7292
7293         * lyxlex.C: small cleanup
7294
7295 2002-08-02  John Levon  <levon@movementarian.org>
7296
7297         * text2.C (status): small cleanup, no logic change
7298
7299 2002-08-01  John Levon  <levon@movementarian.org>
7300
7301         * buffer.h:
7302         * buffer.C (writeFile): don't output alerts, caller
7303           handles this
7304
7305         * bufferlist.C:
7306         * lyx_cb.C: from above
7307
7308         * lyxfunc.C: allow to open non-existent files
7309
7310 2002-07-31  John Levon  <levon@movementarian.org>
7311
7312         * lyxserver.C: don't let incidental errors get
7313           in the way (errno)
7314
7315 2002-07-30  John Levon  <levon@movementarian.org>
7316
7317         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7318
7319 2002-07-30  John Levon  <levon@movementarian.org>
7320
7321         * lyxserver.h:
7322         * lyxserver.C: remove I/O callback too
7323
7324 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7325
7326         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7327         log.
7328
7329 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * many files: strip,frontStrip -> trim,ltrim,rtrim
7332
7333 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7334
7335         * PrinterParams.h: remove extern containsOnly, and include
7336         support/lstrings.h instead.
7337
7338         * LaTeX.C (scanAuxFile): modify because of strip changes
7339         (deplog): ditto
7340         * buffer.C (makeLaTeXFile): ditto
7341         * bufferparams.C (writeFile): ditt
7342         * lyxfont.C (stateText): ditto
7343         * lyxserver.C (read_ready): ditto
7344         * vc-backend.C (scanMaster): ditto
7345
7346         * BufferView_pimpl.h: ws changes
7347
7348         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7349
7350 2002-07-26  André Pönitz <poenitz@gmx.net>
7351
7352         * kb_sequence.C: remove unnedred usings
7353
7354 2002-07-26  Juergen Vigna  <jug@sad.it>
7355
7356         * lyxfind.C (LyXReplace): we have to check better if the returned
7357         text is not of theLockingInset()->getLockingInset().
7358
7359 2002-07-25  Juergen Vigna  <jug@sad.it>
7360
7361         * lyxfind.C (LyXReplace): don't replace if we don't get the
7362         right LyXText.
7363
7364         * undo_funcs.C (createUndo): remove debugging code.
7365
7366 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7367
7368         * buffer.C (parseSingleLyXformat2Token): Use default placement
7369         when reading old floats.
7370
7371         * FloatList.C (FloatList): Change the default placement of figure
7372         and tables to "tbp".
7373
7374 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7375
7376         * MenuBackend.C: using std::max
7377
7378 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7379
7380         * MenuBackend.C (expandToc):
7381         (expandToc2): code moved from xforms menu frontend. It is now
7382         generic and TOCs are transparent to menu frontends.
7383
7384 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7385
7386         * toc.C (getTocList): protect against buf=0
7387
7388         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7389         Menu as first parameter. Now, this calls itself recursively to
7390         expand a whole tree (this will be useful for TOC handling)
7391         (expandFloatInsert): remove 'wide' version of floats
7392
7393         * MenuBackend.h (submenuname): returns the name of the submenu.
7394         (submenu): returns the submenu itself, provided it has been
7395         created by MenuBackend::expand
7396
7397 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7398
7399         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7400         insets which have noFontChange == true. (bug #172)
7401
7402 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7403
7404         * BufferView_pimpl.C: add connection objects and use them...
7405         (Pimpl): here.
7406
7407 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7408
7409         * MenuBackend.C (expandLastfiles):
7410         (expandDocuments):
7411         (expandFormats):
7412         (expandFloatListInsert):
7413         (expandFloatInsert):
7414         (expand): split expand in parts
7415
7416 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7417
7418         * lyx_gui.C: use lyx_gui::exit()
7419
7420 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7421
7422         * LyXAction.C: show the failing pseudo action
7423
7424 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7425
7426         * buffer.C (readFile): Run the lyxconvert script in order to read
7427         old files.
7428
7429 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7430
7431         * LyXAction.C:
7432         * commandtags.h:
7433         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7434
7435 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7436
7437         * LyXAction.C:
7438         * commandtags.h:
7439         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7440
7441 2002-07-22  Herbert Voss  <voss@lyx.org>
7442
7443         * lengthcommon.C:
7444         * lyxlength.[Ch]: add support for the vertical lengths
7445
7446 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7447
7448         * toc.[Ch]: std:: fixes
7449
7450 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7451
7452         * lyxrc.C: do not include lyx_main.h
7453
7454         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7455         for layouts
7456
7457         * lyxrc.C:
7458         * encoding.C:
7459         * bufferlist.C:
7460         * BufferView2.C: include "lyxlex.h"
7461
7462         * tabular.h:
7463         * bufferparams.h: do not #include "lyxlex.h"
7464
7465         * lyxtextclasslist.C (Add): remove method
7466         (classlist): renamed to classlist_
7467
7468         * paragraph_pimpl.C:
7469         * paragraph.C:
7470         * text2.C:
7471         * CutAndPaste.C:
7472         * bufferview_funcs.C:
7473         * bufferlist.C:
7474         * text.C:
7475         * LaTeXFeatures.C:
7476         * buffer.C:
7477         * toc.C (getTocList): use BufferParams::getLyXTextClass
7478
7479         * toc.C (getTocList): use InsetFloat::addToToc
7480
7481         * toc.[Ch]: new files, containing helper functions to handle table
7482         of contents
7483
7484         * lyxfunc.C (dispatch): no need to remove spaces around command
7485         given as a string
7486         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7487         first command of the sequence; it is not very clever, but I do not
7488         have a better idea, actually
7489
7490         * LyXAction.C (LookupFunc): make sure to remove space at the
7491         beginning and end of the command
7492
7493 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7494
7495         * MenuBackend.C (getMenubar): new method: return the menubar of
7496         this menu set
7497         (read): treat differently reading of menu and menubar (in
7498         particular, the menubar has no name now)
7499         (Menu::menubar): remove
7500
7501         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7502         saving is finished
7503
7504 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7505
7506         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7507         a bibitem inset in a RTL paragraph.
7508
7509 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7510
7511         * paragraph_pimpl.C: constify
7512
7513         * BufferView_pimpl.C:
7514         * LaTeX.C:
7515         * lyxfunc.C: fix dispatch in a nicer way
7516
7517 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7518
7519         * lyxfunc.C (dispatch):
7520         * BufferView_pimpl.C:
7521         * BufferView_pimpl.h:
7522         * BufferView.C:
7523         * BufferView.h: rename Dispatch() to dispatch()
7524
7525         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7526
7527         * lyxlayout.C (Read): honor DependsOn tag
7528
7529         * lyxlayout.[Ch] (depends_on): new method
7530
7531         * version.C.in: update lyx_docversion
7532
7533         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7534
7535         * paragraph.C (validate): remove from here...
7536         * paragraph_pimpl.C (validate): ... and move here
7537         (isTextAt): make it const
7538
7539         * buffer.C (getLists): ws cleanup
7540
7541 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7542
7543         * language.C (read): Use iso8859-1 encoding in latex_lang
7544         (this prevents LyX from crashing when using iso10646-1 encoding).
7545
7546 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7547
7548         * text2.C (toggleInset): if cursor is inside an inset, close the
7549         inset and leave cursor _after_ it
7550
7551 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7552
7553         * lyxfunc.C: move minibuffer completion handling out of here
7554
7555 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7556
7557         * BufferView_pimpl.C:
7558         * LaTeX.C: fix dispatch calls
7559
7560 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7561
7562         * text.C (drawChars): Fix Arabic text rendering.
7563
7564 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7565
7566         * LyXAction.C:
7567         * commandtags.h:
7568         * lyxfunc.C: remove message-push/pop
7569
7570         * lyxserver.C:
7571         * lyxfunc.h:
7572         * lyxfunc.C: rationalise some code by removing verboseDispatch
7573           in favour of a bool argument to dispatch()
7574
7575 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7576
7577         * lyx_main.C (init): make sure to read symlinks as absolute paths
7578
7579 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * lyxfunc.h:
7582         * lyxfunc.C: no need for commandshortcut to be a member
7583
7584 2002-07-15  André Pönitz <poenitz@gmx.net>
7585
7586         * converter.C: add support for $$s (scripts from lib/scripts dir)
7587         * lyx_main.C: white space
7588
7589 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7590
7591         * bufferlist.C:
7592         * lyxrc.h:
7593         * lyxrc.C: remove second exit confirmation
7594
7595 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7596
7597         * BufferView.h:
7598         * BufferView.C:
7599         * BufferView2.C:
7600         * BufferView_pimpl.h:
7601         * BufferView_pimpl.C:
7602         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7603
7604 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7605
7606         * MenuBackend.C (expand): add numeric shortcuts to document menu
7607
7608         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7609
7610 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7611
7612         * lyxfont.C (setLyXFamily):
7613         (setLyXSeries):
7614         (setLyXShape):
7615         (setLyXSize):
7616         (setLyXMisc):
7617         (lyxRead):
7618         * debug.C (value):
7619         * buffer.C (asciiParagraph): use ascii_lowercase
7620
7621 2002-07-15  Mike Fabian  <mfabian@suse.de>
7622
7623         * lyxlex_pimpl.C (search_kw):
7624         * lyxlex.C (getLongString):
7625         * converter.h (operator<):
7626         * converter.C (operator<):
7627         * buffer.C (parseSingleLyXformat2Token):
7628         (asciiParagraph):
7629         * ToolbarDefaults.C (read):
7630         * MenuBackend.C (checkShortcuts):
7631         (read):
7632         * LColor.C (getFromGUIName):
7633         (getFromLyXName): use the compare_ascii_no_case instead of
7634         compare_no_case, because in turkish, 'i' is not the lowercase
7635         version of 'I', and thus turkish locale breaks parsing of tags.
7636
7637 2002-07-16  Angus Leeming  <leeming@lyx.org>
7638
7639         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7640         now takes a Buffer const & argument.
7641
7642 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7643
7644         * BufferView.C (resize): check there's a buffer to resize
7645
7646 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7647
7648         * lyxfunc.C: remove dead code
7649
7650         * lyxserver.h:
7651         * lyxserver.C: use lyx_guii::set_read_callback
7652
7653 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7654
7655         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7656         an inset in a RTL paragraph.
7657
7658 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7659
7660         * lyxfunc.C: repaint after a font size update
7661
7662 2002-07-15  André Pönitz <poenitz@gmx.net>
7663
7664         * lyxlength.C: inBP should be able to return negative values
7665
7666 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7667
7668         * lyxfunc.C: use lyx_gui::update_fonts()
7669
7670 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7671
7672         * lyxfunc.C: use lyx_gui::update_color()
7673
7674 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7675
7676         * bufferlist.C:
7677         * lyxfunc.h:
7678         * lyxfunc.C:
7679         * lyxrc.h:
7680         * lyxrc.C: remove file->new asks for name option, and let
7681           buffer-new take an argument
7682
7683 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7684
7685         * BufferView_pimpl.C: remove unneeded extra repaint()
7686
7687 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7688
7689         * LyXAction.C: allow command-sequence with NoBuffer
7690
7691         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7692
7693 2002-07-10  Angus Leeming  <leeming@lyx.org>
7694
7695         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7696
7697 2002-07-09  Angus Leeming  <leeming@lyx.org>
7698
7699         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7700
7701 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7702
7703         * lengthcommon.h: whitespace
7704
7705         * lyxfunc.C: update scrollbar after goto paragraph
7706
7707         * lyxtext.h: factor out page break drawing, and fix it so
7708           page break/added space paints as selected nicely
7709
7710 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7711
7712         * BufferView_pimpl.C: add FIXMEs, clean up a little
7713
7714 2002-07-09  André Pönitz <poenitz@gmx.net>
7715
7716         * lyxfont.[Ch]: support for wasy symbols
7717
7718 2002-07-08  André Pönitz <poenitz@gmx.net>
7719
7720         * BufferView_pimpl.C: apply John's patch for #93.
7721
7722 2002-07-05  Angus Leeming  <leeming@lyx.org>
7723
7724         * BufferView_pimpl.C (buffer): generate previews if desired.
7725
7726         * LColor.h: add "preview" to the color enum.
7727
7728         * LColor.C (LColor): add a corresponding entry to the items array.
7729
7730         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7731         with this buffer.
7732
7733 2002-07-05  Angus Leeming  <leeming@lyx.org>
7734
7735         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7736         The body of the code is now in the method that is passed an ostream &
7737         rather than a file name.
7738         Pass an additional only_preamble parameter, useful for the forthcoming
7739         preview stuff.
7740
7741 2002-07-03  André Pönitz <poenitz@gmx.net>
7742
7743         * lyxfunc.C: simplify getStatus() a bit for math stuff
7744
7745 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7746
7747         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7748
7749 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7750
7751         * text.C (changeRegionCase): do not change case of all the
7752         document when region ends at paragraph end (bug #461)
7753
7754 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7755
7756         * paragraph.C (startTeXParParams):
7757         (endTeXParParams): add \protect when necessary
7758
7759 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7760
7761         * BufferView_pimpl.C (workAreaExpose): remove warning
7762
7763 2002-06-27  Angus Leeming  <leeming@lyx.org>
7764
7765         * Makefile.am: add lyxlayout_ptr_fwd.h.
7766
7767 2002-06-26  André Pönitz <poenitz@gmx.net>
7768
7769         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7770
7771 2002-06-25  Angus Leeming  <leeming@lyx.org>
7772
7773         * lyxfunc.C (dispatch): Comment out the call to
7774         grfx::GCache::changeDisplay. The method no longer exists now that the
7775         pixmap generation part of the graphics loader has been moved into
7776         InsetGraphics.
7777
7778 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7779
7780         * text2.C: layout as layout
7781
7782         * text.C: layout as layout
7783
7784         * tabular.C (OldFormatRead): layout as layout
7785
7786         * paragraph_pimpl.C (TeXDeeper): layout as layout
7787         (realizeFont): layout as layout
7788
7789         * paragraph.C (writeFile): layout as layout
7790         (validate): layout as layout
7791         (getFont): layout as layout
7792         (getLabelFont): layout as layout
7793         (getLayoutFont): layout as layout
7794         (breakParagraph): layout as layout
7795         (stripLeadingSpaces): layout as layout
7796         (getEndLabel): layout as layout
7797         (getMaxDepthAfter): layout as layout
7798         (applyLayout): layout as layout
7799         (TeXOnePar): layout as layout
7800         (simpleTeXOnePar): layout as layout
7801         (TeXEnvironment): layout as layout
7802         (layout): layout as layout
7803         (layout): layout as layout
7804
7805         * lyxtextclass.C (compare_name): new functor to work with
7806         shared_ptr, layout as layout
7807         (Read): layout as layout
7808         (hasLayout): layout as layout
7809         (operator): layout as layout
7810         (delete_layout): layout as layout
7811         (defaultLayout): layout as layout
7812
7813         * lyxlayout_ptr_fwd.h: new file
7814
7815         * lyxlayout.C (Read): layout as layout
7816
7817         * lyx_cb.C (MenuInsertLabel): layout as layout
7818
7819         * bufferlist.C (newFile): layout as layout
7820
7821         * buffer.C (readLyXformat2): layout as layout
7822         (parseSingleLyXformat2Token): layout as layout
7823         (insertStringAsLines): layout as layout
7824         (asciiParagraph): layout as layout
7825         (latexParagraphs): layout as layout
7826         (makeLinuxDocFile): layout as layout
7827         (simpleLinuxDocOnePar): layout as layout
7828         (makeDocBookFile): layout as layout
7829         (simpleDocBookOnePar): layout as layout
7830         (getLists): layout as layout
7831
7832         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7833
7834         * CutAndPaste.C (cutSelection): layout as layout
7835         (pasteSelection): layout as layout
7836         (SwitchLayoutsBetweenClasses): layout as layout
7837
7838         * BufferView_pimpl.C (Dispatch): layout as layout
7839         (smartQuote): layout as layout
7840
7841         * BufferView2.C (unlockInset): layout as layout
7842
7843 2002-06-24  André Pönitz <poenitz@gmx.net>
7844
7845         * lyxfunc.C: fix #487
7846
7847 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7848
7849         * lyxrc.h:
7850         * lyxrc.C:
7851         * lyxfunc.C: remove display_shortcuts, show_banner
7852
7853 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7854
7855         * Buffer_pimpl.C: oops, update on resize
7856
7857 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7858
7859         * buffer.C:
7860         * converter.C:
7861         * exporter.C:
7862         * lyxfunc.C:
7863         * BufferView.h:
7864         * BufferView.C: use repaint()
7865
7866         * BufferView_pimpl.h:
7867         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7868           as it's a clearer description. Remove superfluous
7869           redraws.
7870
7871 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7872
7873         * text.C: fix bug 488. Not ideal, but getting
7874           getWord() to work properly for the insets that
7875           matter is more difficult ...
7876
7877 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * BufferView_pimpl.C:
7880         * LyXAction.C:
7881         * commandtags.h:
7882         * lyxfunc.C: remove the six million index lyxfuncs to just
7883           one, and DTRT (bug 458)
7884
7885 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7886
7887         * BufferView.h:
7888         * BufferView.C:
7889         * BufferView_pimpl.h:
7890         * BufferView_pimpl.C: clean up resize() stuff,
7891           and unnecessary updateScreen()s
7892
7893 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7894
7895         * BufferView.h:
7896         * BufferView.C:
7897         * BufferView_pimpl.h:
7898         * BufferView_pimpl.C:
7899         * lyxfind.h:
7900         * lyxfind.C:
7901         * minibuffer.C: remove focus management of workarea,
7902           not needed. Use screen's greyOut()
7903
7904 2002-06-17  Herbert Voss  <voss@lyx.org>
7905
7906         * converter.C: (convert) do not post a message, when converting
7907         fails, let the calling function decide what to do in this case
7908
7909 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7910
7911         * lyxfunc.C: tidy up a little
7912
7913 2002-06-16    <alstrup@diku.dk>
7914
7915         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7916         Got rid of FORMS_H_LOCATION include. Now we are
7917         GUII.
7918
7919 2002-06-15  LyX Development team  <lyx@rilke>
7920
7921         * buffer.[Ch] (sgmlOpenTag):
7922         (sgmlCloseTag): Added support for avoiding pernicious mixed
7923         content. Return number of lines written.
7924
7925         (makeLinuxDocFile):
7926         (makeDocBookFile): Fixed calls to sgml*Tag.
7927         Simple white space clean.
7928
7929         (simpleDocBookOnePar): Simple white space clean.
7930
7931         * tabular.[Ch] (docBook): Renamed to docbook and got another
7932         argument to related with the pernicious mixed content.
7933
7934         (docbookRow): Fixed calls for docbook inset method.
7935
7936 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7937
7938         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7939         so it's X11 independent.
7940
7941         * kb*.[Ch]: ditto.
7942
7943         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7944
7945 2002-06-15  Lyx Development team  <lyx@electronia>
7946
7947         * intl.h: Renamed getTrans to getTransManager.
7948
7949 2002-06-14  Angus Leeming  <leeming@lyx.org>
7950
7951         * Makefile.am: nuke forgotten stl_string_fwd.h.
7952
7953 2002-06-12  Angus Leeming  <leeming@lyx.org>
7954
7955         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7956
7957 2002-06-13  Angus Leeming  <leeming@lyx.org>
7958
7959         * LaTeX.C:
7960         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7961
7962 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7963
7964         * kbmap.C (getiso): add support for cyrillic and greek
7965
7966 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7967
7968         * BufferView.h:
7969         * BufferView.C:
7970         * BufferView_pimpl.h:
7971         * BufferView_pimpl.C: move bogus scrolling logic
7972           to xforms
7973
7974 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7975
7976         * lyxfunc.C:
7977         * BufferView_pimpl.C: view->resize() change
7978
7979 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7980
7981         * BufferView_pimpl.C: topCursorVisible
7982           prototype change
7983
7984 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7985
7986         * Makefile.am:
7987         * lyx_gui.h:
7988         * lyx_gui.C: move to frontends/
7989
7990         * main.C:
7991         * lyx_main.h:
7992         * lyx_main.C: changes from above
7993
7994 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * intl.C:
7997         * intl.h:
7998         * kbmap.C:
7999         * kbsequence.C:
8000         * lyx_cb.C:
8001         * lyx_main.C: minor tidy
8002
8003 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8004
8005         * BufferView_pimpl.h:
8006         * BufferView_pimpl.C:
8007         * BufferView.h:
8008         * BufferView.C: make painter() const,
8009           remove dead code
8010
8011         * BufferView2.C: use screen() accessor
8012
8013         * lyx_main.h:
8014         * lyx_main.C: some minor cleanup
8015
8016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8017
8018         * BufferView_pimpl.h:
8019         * BufferView_pimpl.C: remove enter/leaveView,
8020           use workHeight()
8021
8022 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8023
8024         * BufferView.h:
8025         * BufferView.C:
8026         * BufferView2.C:
8027         * BufferView_pimpl.h:
8028         * BufferView_pimpl.C: only construct screen once,
8029           rename
8030
8031         * lyxrc.C: remove pointless comment
8032
8033 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8034
8035         * BufferView.h:
8036         * BufferView.C: remove active() and belowMouse()
8037
8038         * BufferView_pimpl.h:
8039         * BufferView_pimpl.C: use workarea() not workarea_,
8040           and make it use a scoped_ptr instead
8041
8042 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8043
8044         * lyx_gui.C: add debug message on BadWindow
8045
8046 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8047
8048         * sp_spell.C: fdopen is not part of the C++ standard.
8049
8050         * paragraph.C (InsetIterator): use >= instead of ==
8051
8052 2002-06-07  Angus Leeming  <leeming@lyx.org>
8053
8054         Fixes needed to compile with Compaq cxx 6.5.
8055         * BufferView_pimpl.C:
8056         * DepTable.C:
8057         * buffer.C:
8058         * converter.C:
8059         * encoding.C:
8060         * lyx_gui.C:
8061         * lyx_main.C:
8062         * lyxtextclasslist.C:
8063         * minibuffer.C:
8064         * sp_spell.C:
8065         * tabular_funcs.C:
8066         * vc-backend.C:
8067         all c-library variables have been moved into namespace std. Wrap
8068         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8069
8070         * lyxlength.C:
8071         * tabular-old.C:
8072         * tabular.C:
8073         Add a using std::abs declaration.
8074
8075         * kbmap.h (modifier_pair):
8076         * paragraph.h (InsetTable, InsetList):
8077         * lyxfont.h (FontBits):
8078         type definition made public.
8079
8080         * bufferlist.C (emergencyWriteAll): the compiler complains that
8081         there is more than one possible lyx::class_fun template to choose from.
8082         I re-named the void specialisation as lyx::void_class_fun.
8083
8084         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8085
8086         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8087         the compiler is is unable to find tostr in write_attribute.
8088
8089 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8090
8091         * buffer.C (sgmlError): hide #warning
8092
8093 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8094
8095         * xtl/*: get rid of xtl, which is not in use anyway
8096
8097         * LyXAction.C (init):
8098         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8099         were unimplemented xtl experimentation
8100
8101 2002-06-04  André Pönitz <poenitz@gmx.net>
8102
8103         * lyxfunc.C: disable array operation on simple formulae
8104
8105 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8106
8107         * converter.C: constify a bit
8108
8109 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * lyx_gui.C: check xforms version correctly
8112
8113 2002-04-30  Herbert Voss  <voss@lyx.org>
8114
8115         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8116         "keep" option
8117
8118 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8119
8120         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8121           attempt to register it with a VCS)
8122
8123 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8124
8125         * lyx_main.C (init): honor variables LYX_DIR_13x and
8126         LYX_USERDIR_13x
8127
8128 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8129
8130         * buffer.h:
8131         * buffer.C:
8132         * lyx_main.C: fix a crash on bad command line,
8133           and give a useful exit status on error
8134
8135         * lyxfunc.C (doImport): allow -i lyx to work
8136
8137 2002-03-30  André Pönitz <poenitz@gmx.net>
8138
8139         * lyxfunc.C: mathed font changes
8140
8141 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * LaTeX.C:
8144         * importer.h:
8145         * importer.C:
8146         * lyx_sty.h:
8147         * lyx_sty.C:
8148         * lyxlex.C:
8149         * lyxrow.h:
8150         * lyxtext.h:
8151         * paragraph.h:
8152         * paragraph.C:
8153         * texrow.h:
8154         * texrow.C:
8155         * text.C:
8156         * trans_mgr.h: srcdocs, and some minor cleanups
8157
8158 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8159
8160         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8161         call getFont all the time)
8162
8163 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8164
8165         * switch from SigC signals to boost::signals
8166
8167 2002-05-29  André Pönitz <poenitz@gmx.net>
8168
8169         * paragraph_pimpl.C (getChar): don't call size() too often...
8170
8171 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8172
8173         * paragraph_pimpl.C (insertChar): do not try to update tables when
8174         appending (pos == size())
8175
8176         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8177         in order to reduce drastically the number of comparisons needed to
8178         parse a large document
8179
8180 2002-05-29  André Pönitz <poenitz@gmx.net>
8181
8182         * text.C:
8183         * text2.C:
8184         * lyxtextclass.C:
8185         * sp_pspell.h:
8186         * textclasslist.[Ch]:
8187         * sp_ispell.h: whitespace change
8188
8189 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8190
8191         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8192         lyxaction directly now.
8193
8194 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8195
8196         * trans.C:
8197         * lyxfont.C:
8198         * lyxvc.C: remove unused headers
8199
8200 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8201
8202         * Makefile.am:
8203         * buffer.h:
8204         * undostack.h:
8205         * undostack.C:
8206         * undo_funcs.h:
8207         * undo_funcs.C: some cleanups. Use shared_ptr
8208           and a template for the undo stacks.
8209
8210 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * BufferView_pimpl.h:
8213         * BufferView_pimpl.C:
8214         * kbmap.h:
8215         * kbmap.C:
8216         * kbsequence.h:
8217         * kbsequence.C:
8218         * lyxfunc.h:
8219         * lyxfunc.C:
8220         * text2.C: use key_state/mouse_state
8221
8222 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8223
8224         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8225         and LSubstring
8226
8227         * chset.C: change include order
8228         (loadFile): use boost regex and get rid of LRegex and LSubstring
8229
8230         * Makefile.am (BOOST_LIBS): new variable
8231         (lyx_LDADD): use it
8232
8233         * LaTeX.C: change include order.
8234         (scanAuxFile): use boost regex and get rid of LRegex and
8235         LSubstring
8236         (deplog): ditto
8237
8238 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8239
8240         * ColorHandler.h:
8241         * ColorHandler.C:
8242         * FontInfo.h:
8243         * FontInfo.C: moved to frontends/xforms/
8244
8245         * FontLoader.h:
8246         * FontLoader.C: moved into frontends for GUIIzation
8247
8248         * Makefile.am:
8249         * lyx_gui.C:
8250         * lyxfont.C:
8251         * lyxfunc.C: changes from above
8252
8253 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8254
8255         * LColor.C: remove spurious X include
8256
8257         * BufferView_pimpl.C:
8258         * Makefile.am:
8259         * font.h:
8260         * font.C:
8261         * text.C:
8262         * text2.C: move font metrics to frontends/
8263
8264 2002-05-24  Juergen Vigna  <jug@sad.it>
8265
8266         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8267         setting the undo_cursor.
8268
8269         * ParagraphParameters.h: include local includes first.
8270
8271 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8272
8273         * BufferView_pimpl.C:
8274         * BufferView_pimpl.h:
8275         * Makefile.am:
8276         * WorkArea.h:
8277         * WorkArea.C:
8278         * screen.C: move WorkArea into frontends/
8279
8280         * lyxscreen.h:
8281         * screen.C:
8282         * text.C:
8283         * BufferView.C:
8284         * BufferView2.C: move LyXScreen into frontends/
8285
8286         * lyxlookup.h:
8287         * lyxlookup.C:
8288         * lyx_gui.C: move lyxlookup into frontends/xforms/
8289
8290 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8291
8292         * BufferView2.C:
8293         * BufferView_pimpl.C:
8294         * FontLoader.C:
8295         * LyXView.h:
8296         * LyXView.C:
8297         * Makefile.am:
8298         * WorkArea.C:
8299         * XFormsView.h:
8300         * XFormsView.C:
8301         * buffer.C:
8302         * bufferlist.C:
8303         * bufferview_funcs.C:
8304         * converter.C:
8305         * importer.C:
8306         * lyx_cb.C:
8307         * lyx_gui.C:
8308         * lyx_main.C:
8309         * lyx_find.C:
8310         * lyxfunc.C:
8311         * lyxvc.C:
8312         * minibuffer.C:
8313         * text.C:
8314         * text2.C:
8315         * trans.C:
8316         * vc-backend.C: move LyX/XFormsView into frontends/
8317
8318 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8319
8320         * Makefile.am:
8321         * PainterBase.C:
8322         * PainterBase.h:
8323         * Painter.C:
8324         * Painter.h:
8325         * WorkArea.C:
8326         * WorkArea.h:
8327         * screen.C:
8328         * tabular.C:
8329         * text.C:
8330         * text2.C: move Painter to frontends/
8331
8332 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8333
8334         * buffer.C: comment out some some code that depend upon lyx_format
8335         < 220
8336
8337         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8338         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8339
8340         * buffer.h (NO_COMPABILITY): turn off compability
8341
8342         * ColorHandler.C: include scoped_array.hpp
8343
8344         * font.C: Use more specific smart_ptr header.
8345         * Painter.C: ditto
8346         * gettext.C: ditto
8347         * ShareContainer.h: ditto
8348         * lyx_main.h: ditto
8349         * kbmap.h: ditto
8350         * FontInfo.h: ditto
8351         * BufferView_pimpl.h: ditto
8352         * ColorHandler.h: ditto
8353
8354         * kbmap.C (defkey): change call to shared_ptr::reset
8355
8356 2002-05-21  Juergen Vigna  <jug@sad.it>
8357
8358         * buffer.C (insertErtContents): fix to insert ert asis if it is
8359         non empty. Skip it completely if it contains only whitespaces.
8360
8361 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8362
8363         * BufferView_pimpl.C:
8364         * BufferView2.C: clear selection on paste (bug 393)
8365
8366 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8367
8368         * DepTable.C: include ctime
8369
8370 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8371
8372         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8373
8374 2002-05-14  Juergen Vigna  <jug@sad.it>
8375
8376         * text.C (breakParagraph): fixed function to honor the keepempty
8377         layout in the right maner and also to permit the right breaking
8378         algorithm on empty or non empyt keepempty paragraphs.
8379
8380         * paragraph.C (breakParagraph): we have to check also if the par
8381         is really empty (!size()) for isempty otherwise we do the wrong
8382         paragraph break.
8383
8384 2002-05-10  Juergen Vigna  <jug@sad.it>
8385
8386         * buffer.[Ch] : The following are only changes to the ert
8387         compatibility read reading old LaTeX layout and font stuff and
8388         convert it to ERTInsets.
8389
8390         * buffer.h: added isErtInset().
8391
8392         * buffer.C (struct ErtComp): add a fromlayout bool to check
8393         if we're inside a LaTeX layout.
8394         (isErtInset): new helper function.
8395         (insertErtContents): look for other ert insets before this one
8396         and insert the contents there, so that we don't have subsequent
8397         ERT insets with nothing between them. This way we create only one
8398         inset with multiple paragraphs. Also check if we don't insert only
8399         spaces ' ' as they are ignored anyway afterwards in the .tex file
8400         so if we have only spaces we will ignore this latex part in the
8401         new file.
8402         (parseSingleLyXformat2Token \\layout): better compatibility when
8403         reading layout-latex stuff.
8404         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8405         language tag.
8406         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8407         stuff after reading the inset only get the information back from
8408         the stack.
8409
8410 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8411
8412         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8413
8414         * LaTeXFeatures.C (getBabelOptions): New method.
8415
8416 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8417
8418         * BufferView_pimpl.C (Dispatch): work around missing argument for
8419         'layout'
8420
8421 2002-05-08  Juergen Vigna  <jug@sad.it>
8422
8423         * text.C (leftMargin): handle paragraph leftindent.
8424
8425         * paragraph.C (writeFile): write the new \\leftindent tag.
8426         (validate): handle leftindent code.
8427         (TeXEnvironment): handle paragraphleftindent code again.
8428
8429         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8430
8431         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8432         for paragrap_extra indent code and new token \\leftindent.
8433         (latexParagraphs): handle the leftindent as environment.
8434
8435         * ParameterStruct.h: added leftindent support.
8436
8437         * ParagraphParameters.C (leftIndent): added support functions for
8438         the paragraph left indent.
8439
8440         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8441         more appropriate.
8442
8443 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8444
8445         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8446         inside insetERT.
8447
8448         * text.C (computeBidiTables): No bidi in insetERT.
8449
8450         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8451         in RTL documents.
8452
8453 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8454
8455         * version.C.in: pre 5
8456
8457 2002-05-02  José Matos  <jamatos@fep.up.pt>
8458         * buffer.C (makeDocBookFile): white space changes, add newline to
8459         command styles.
8460         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8461
8462         * tabular.C (docBook): fix typo.
8463
8464 2002-05-03  Juergen Vigna  <jug@sad.it>
8465
8466         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8467         change in LyXText as we can not be sure it was not freed.
8468         (drawOneRow): remove unused code.
8469
8470         * text.C (drawInset): redo the calculation of the need_break_row as
8471         it could have a row which was already freed.
8472         (draw): look at the return value of drawInset and return false if
8473         it also returned false.
8474         (paintRowText): look at the return value of draw and return false if
8475         it also returned false.
8476
8477         * lyxtext.h: added bool return type to drawInset() and draw() so that
8478         if we have a change in the row so that the rowbreak has to be redone
8479         we abort drawing as it will be called again.
8480
8481 2002-05-02  Juergen Vigna  <jug@sad.it>
8482
8483         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8484         a change in the maintext also if we're inside an inset.
8485         (Dispatch): set the cursor again after a break line and after the
8486         screen has been updated as it could be we're in a different row.
8487
8488         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8489         to set the cursor behind the pargraph with > size().
8490         (setCursor): check also for the same paragraph when checking where
8491         to put the cursor if we have a NFR inset.
8492
8493         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8494         parts of layout read further up as it still was in the wrong
8495         position.
8496
8497 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8498
8499         * screen.C (drawFromTo): change sine fullRebreak always return
8500         true.
8501
8502         * buffer.C (parseSingleLyXformat2Token): reindent some
8503
8504         * BufferView_pimpl.C (update): change since fullRebreak always
8505         return true.
8506         (Dispatch): git rid of the last hardcoded "Standard"s.
8507
8508 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8509
8510         * text2.[Ch] (fullRebreak): make it return void now that we always
8511         returned true.
8512
8513 2002-04-30  Juergen Vigna  <jug@sad.it>
8514
8515         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8516         ert compatibility check for "latex" layout.
8517
8518 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8519
8520         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8521         minipages: use col% instead of p%, and also use the current font.
8522         (makeLaTeXFile): Fix use babel condition.
8523         (parseSingleLyXformat2Token): Correct font when reading old floats.
8524
8525 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8526
8527         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8528         inserting list of floats.
8529
8530 2002-04-25  Herbert Voss  <voss@lyx.org>
8531
8532         * MenuBackend.C (expand): don't add the graphics extensions to the
8533         export menu
8534
8535 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8536
8537         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8538         non-existing layout, do not complain if it was the default layout
8539         of the original class (bug #342)
8540
8541 2002-04-24  Juergen Vigna  <jug@sad.it>
8542
8543         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8544         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8545
8546 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8547
8548         * buffer.C (getBibkeyList): If using \bibliography, return the
8549         option field with the reference itself. Enables us to provide natbib
8550         support when using \bibliography.
8551
8552 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8553
8554         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8555
8556         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8557         natbib is provided by the LaTeX class.
8558
8559 2002-04-23  Juergen Vigna  <jug@sad.it>
8560
8561         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8562         Wakeup functions.
8563
8564         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8565
8566 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8567
8568         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8569
8570         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8571         ensuremath around textordmasculine, textordfeminine and
8572         textdegree.
8573
8574 2002-04-19  Juergen Vigna  <jug@sad.it>
8575
8576         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8577         reinitializing the buffer otherwise row-dimensions may be wrong.
8578         (update): reset also the selection cursors if they do exits otherwise
8579         their x/y positions may be wrong.
8580
8581         * text2.C (cursorDown): don't enter the inset if we came from a row
8582         above and are one row over the inset.
8583
8584         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8585         really leaving an inset.
8586
8587 2002-04-18  Juergen Vigna  <jug@sad.it>
8588
8589         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8590         of the selected paragraph does not have the selected layout also if
8591         the last one had!
8592
8593         * text2.C (setLayout): fixed bug which did not change last selected
8594         paragraph.
8595
8596         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8597         changed the read and substituted \\end_float with \\end_inset!
8598
8599         * BufferView_pimpl.C (cursorPrevious):
8600         (cursorNext): fixed to make it work with rows heigher than the work
8601         area without moving the cursor only the draw of the row.
8602         (workAreaMotionNotify): fix jumping over high rows.
8603
8604 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8605
8606         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8607         Ressler.
8608
8609 2002-04-16  Juergen Vigna  <jug@sad.it>
8610
8611         * text2.C (setCursor): set also the irow().
8612         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8613         (cursorUp):
8614         (cursorDown): support for locking an inset if the x_fix value goes
8615         inside it. That way I can transverse insets too with cursor up/down.
8616
8617         * lyxrow.h: added irow helper function same as other (i) functions.
8618
8619         * BufferView_pimpl.C (cursorPrevious):
8620         (cursorNext): fixed for insets!
8621
8622 2002-04-15  Juergen Vigna  <jug@sad.it>
8623
8624         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8625         position otherwise it is wrong in some cases.
8626
8627         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8628         inside the inset before the call.
8629
8630 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8631
8632         * buffer.[Ch] (getBibkeyList): make it const.
8633
8634 2002-04-12  Juergen Vigna  <jug@sad.it>
8635
8636         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8637
8638         * text2.C (getCursorX): new helper function
8639         (setCursor): compute also ix_
8640         (setCursorFromCoordinates): set also ix.
8641
8642         * lyxcursor.h: added ix_ and helper functions.
8643
8644         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8645
8646         * buffer.C (insertStringAsLines): dont break paragraph if the this
8647         paragraph is inside an inset which does not permit it!
8648
8649         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8650         also with no chars on this paragraph.
8651         (paintRowText): only paint stuff if it's inside the workarea!
8652
8653         * paragraph.C (breakParagraph): honor keepempty flag and break the
8654         paragraph always below not above.
8655
8656         * BufferView2.C (unlockInset): update the paragraph layout on inset
8657         unlock as we changed paragraph in such a case.
8658
8659         * lyxfind.C (LyXFind): clear the former selection if not found!
8660
8661         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8662         again called in insertChar().
8663
8664         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8665         an inset which uses the whole row!
8666         (rightMargin): ditto.
8667         (insertChar): force a rebreak if we inserted an inset!
8668
8669 2002-03-28  Herbert Voss  <voss@lyx.org>
8670
8671         * lyxlength.[Ch]: add inBP() to get the right PS-point
8672         units (BigPoint). With inPixels we have rounding errors
8673
8674 2002-04-11  Juergen Vigna  <jug@sad.it>
8675
8676         * text2.C (setCursorFromCoordinates): set iy to the right value.
8677         (setCursor): add check if row->previous exists!
8678
8679         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8680         an old float_type as this was the case in the old code!
8681
8682         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8683
8684         * BufferView2.C (showLockedInsetCursor): use iy
8685         (fitLockedInsetCursor): ditto
8686
8687         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8688         locked insets as there we have the right value now.
8689
8690         * lyxcursor.C: added iy_ variable and iy functions to set to the
8691         baseline of cursor-y of the locked inset.
8692
8693         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8694         (setCursor): fixed for insets which need a full row.
8695
8696         * text.C (rowLastPrintable): don't ignore the last space when before
8697         an inset which needs a full row.
8698         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8699         as last character of a row when before a inset which needs a full row.
8700
8701 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8702
8703         * version.C.in: update date
8704
8705         * text2.C (fullRebreak): try to always return true and see what
8706         happens...
8707
8708 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8709
8710         * MenuBackend.C (expand): use Floating::listName
8711
8712         * FloatList.C (FloatList): add listName argument to the built-in
8713         floats
8714
8715         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8716         text associated with the float.
8717
8718 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8721
8722 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8723
8724         * ShareContainer.h: add a couple of missing typenames.
8725
8726 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8727
8728         * lyxrc.C (getDescription): use _() correctly rather than N_().
8729
8730 2002-03-28  Herbert Voss  <voss@lyx.org>
8731
8732         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8733         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8734
8735 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8736
8737         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8738         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8739
8740 2002-03-29  Juergen Vigna  <jug@sad.it>
8741
8742         * lyxfunc.C (dispatch): add a missing fitCursor call.
8743
8744         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8745         it was scrolled by a cursor move, so return the bool status.
8746
8747         * BufferView.C (fitCursor): return the bool flag also to the outside
8748         world as this is needed.
8749
8750         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8751
8752         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8753         call the edit() as it is not needed (and wrong) IMO.
8754         (workAreaButtonPress): set the screen_first variable before evt.
8755         unlock the inset as this may change screen_first and then we have
8756         a wrong y position for the click!
8757
8758 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8759
8760         * MenuBackend.C (expand): another translation that I missed
8761
8762 2002-03-28  Juergen Vigna  <jug@sad.it>
8763
8764         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8765
8766         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8767
8768 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8771
8772         * MenuBackend.C (expand): fix export/view/update when there is no
8773         document open.
8774
8775 2002-03-27  Herbert Voss  <voss@lyx.org>
8776
8777         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8778         and text%
8779
8780 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8781
8782         * bufferview_funcs.C (currentState): only show paragraph number
8783         for is DEVEL_VERSION is set.
8784
8785         * lyxfunc.C (dispatch): put warning in INFO channel
8786
8787         * MenuBackend.C (expand): translate the name of floats
8788
8789         * FloatList.C (FloatList): mark the float names for translation
8790
8791         * converter.C (convert): use LibScriptSearch
8792
8793 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8794
8795         * MenuBackend.C (defaults): fix default menu (we might as well get
8796         rid of it...)
8797
8798 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8799
8800         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8801         directory.
8802
8803 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8804
8805         * lyxvc.C: reorder includes.
8806
8807 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8808
8809         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8810           properly
8811
8812 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8813
8814         * CutAndPaste.C: change layouts earlier on paste
8815           to avoid crashing when calling getFont()
8816
8817 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8818
8819         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8820         irritating #error.
8821
8822 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8823
8824         * WorkArea.C: remove 'Pending' debug message.
8825
8826         * most files: ws cleanup
8827
8828         * buffer.[Ch]: ws changes
8829
8830         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8831
8832 2002-03-21  Juergen Vigna  <jug@sad.it>
8833
8834         * tabular.C (SetMultiColumn): collapse also the contents of the
8835         cells and set the last border right. Added a Buffer const * param.
8836
8837 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8838
8839         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8840         linking or not.
8841
8842 2002-03-19  Juergen Vigna  <jug@sad.it>
8843
8844         * text2.C (clearSelection): reset also xsel_cache.
8845
8846         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8847         where it needs to be called (John tells us to do so too :)
8848         (selectionLost): reset sel_cache.
8849
8850         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8851
8852 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8853
8854         * text2.C (setCursorIntern): put debuging code in INSETS channel
8855
8856 2002-03-19  André Pönitz <poenitz@gmx.net>
8857
8858         * lyxfunc.C: tiny whitespace change
8859
8860 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8861
8862         * ToolbarDefaults.C (init):
8863         * LyXAction.C (init):
8864         * commandtags.h:
8865         * BufferView_pimpl.C (Dispatch):
8866         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8867
8868 2002-03-19  Allan Rae  <rae@lyx.org>
8869
8870         * exporter.C (Export): removeAutoInsets before doing anything else.
8871         While I've just introduced a dependency on BufferView this really is
8872         the best place to clean the buffer otherwise you need to cleanup in
8873         a dozen places before calling export or cleanup in a dozen functions
8874         that export calls.
8875
8876         * converter.C (runLaTeX):
8877         (scanLog): Better handling of removeAutoInsets and screen updates.
8878
8879         * lyxfunc.C (dispatch): small whitespace changes
8880
8881 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8882
8883         * WorkArea.C (C_WorkAreaEvent): return a value.
8884         (event_cb): return 1 if we handled the event, 0 otherwise.
8885
8886         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8887
8888 2002-03-18  Juergen Vigna  <jug@sad.it>
8889
8890         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8891         (GetAdditionalWidth): ditto.
8892         (RightLine): ditto.
8893         (LeftLine): ditto.
8894
8895         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8896         inset if we're there actually (probably not used right now but this
8897         is the direction to go for unifying code).
8898         (paste): disable code to clear the selection.
8899
8900         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8901         inside an InsetText and move the check further up as it is in the
8902         wrong place.
8903
8904         * text2.C (pasteSelection): set a selection over the pasted text.
8905
8906 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8907
8908         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8909         and libgraphics to build on Cygwin.
8910
8911 2002-03-15  Juergen Vigna  <jug@sad.it>
8912
8913         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8914         inserting an Inset into the paragraph. I know this is not the best
8915         fix but we already use current_view in CutAndPaste so we will remove
8916         all of it's using at the same time.
8917
8918         * buffer.C (sgmlError): deactivated function till it is rewritten in
8919         the right mode, now it can create problems.
8920
8921         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8922         before accessing it.
8923
8924 2002-03-14  Juergen Vigna  <jug@sad.it>
8925
8926         * undo_funcs.C (textHandleUndo): do the right thing when updating
8927         the inset after the undo/redo.
8928
8929         * text2.C (setCursor): just some testcode for #44 not ready yet.
8930
8931         * undo_funcs.C (textHandleUndo): set the next() and previous()
8932         pointers of the paragraph to 0 before deleting otherwise we have
8933         problems with the Paragraph::[destructor].
8934
8935         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8936         on a paragraph insertion.
8937
8938 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8939
8940         * buffer.C (asciiParagraph): use += operator for char append to
8941         string.
8942
8943         * paragraph.C (getFontSettings): compare >= not just >
8944         (highestFontInRange): ditto
8945         (setFont): ditto
8946
8947 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8948
8949         * paragraph.C: change several algorithm to be more appripriate for
8950         the problem domain. This is lookip in FontList and in the InsetList.
8951
8952 2002-03-13  André Pönitz <poenitz@gmx.net>
8953
8954         * commandtags.h:
8955         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8956
8957 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8958
8959         * commandtags.h:
8960         * LyXAction.C:
8961         * lyxfunc.C:
8962         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8963
8964 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8965
8966         * Painter.C (display): anon helper function, adjust code for this
8967         change.
8968         (pixmap): remove function.
8969
8970         * Painter.h: remove private display variable.
8971
8972         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8973
8974 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8975
8976         * WorkArea.[Ch]: remove figinset_canvas cruft.
8977
8978 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8979
8980         * lyxtextclass.C (operator): add one item cache optimization.
8981
8982         * bufferlist.h: doxy changes
8983
8984         * bufferlist.C: ws changes
8985
8986         * DepTable.[Ch] (ext_exist): place const in the right spot.
8987
8988         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8989         call resizeInsets.
8990         (workAreaExpose): call resizeInsets when the with BufferView changes.
8991         (Dispatch): adjust for protectedBlank removal
8992         (specialChar): call updateInset if the insert went ok.
8993
8994         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8995         specialChar instead.
8996
8997         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8998
8999         * BufferView.h: doxy change
9000
9001         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9002
9003         * lyxtextclass.C (operator[]): remove non-const version
9004         (defaultLayout): remove non-const version
9005
9006 2002-03-12  Juergen Vigna  <jug@sad.it>
9007
9008         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9009         did resize the LyXText too.
9010
9011         * buffer.C (readLyXformat2): set layout information on newly allocated
9012         paragraphs.
9013
9014         * tabular.C (OldFormatRead): set layout information on the paragraph.
9015
9016 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9017
9018         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9019
9020 2002-03-11  Juergen Vigna  <jug@sad.it>
9021
9022         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9023         plainly wrong.
9024         (resizeCurrentBuffer): force also the insets to resize themselfes.
9025         (moveCursorUpdate): fixed up for InsetText.
9026
9027 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9028
9029         * commandtags.h:
9030         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9031         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9032         value of Dialogs::tooltipsEnabled().
9033         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9034
9035 2002-03-08  Juergen Vigna  <jug@sad.it>
9036
9037         * BufferView_pimpl.C (updateInset): update inset inside inset also
9038         if it isn't inside theLockingInset().
9039
9040 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9041
9042         * buffer.C (asciiParagraph): redo some of the word and line length
9043         handling.
9044         (getLists): look for Caption instead of caption.
9045
9046 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9047
9048         * buffer.C (Buffer): initialize niceFile to true
9049         (makeLaTeXFile):
9050         (makeLinuxDocFile):
9051         (makeDocBookFile): make sure niceFile is true on exit
9052
9053 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9056
9057 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9058
9059         * LyXSendto.C: remove.
9060         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9061         * lyx_gui.C: remove now-redundant comment.
9062         * ColorHandler.h: remove forward declaration of class WorkArea.
9063         * lyxfunc.C: remove #include "WorkArea.h".
9064
9065 2002-03-07  Juergen Vigna  <jug@sad.it>
9066
9067         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9068         got moved away with the DEPM and also set the inset_owner always
9069         right which before could have been omitted.
9070
9071 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9072
9073         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9074         wanted layout is not found.
9075
9076 2002-03-07  Juergen Vigna  <jug@sad.it>
9077
9078         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9079
9080 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9081
9082         * paragraph.C (breakParagraph): use default layout not layout of
9083         prev paragraph.
9084         (Paragraph): clear ParagraphParameters.
9085
9086 2002-03-06  Juergen Vigna  <jug@sad.it>
9087
9088         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9089         otherwise it would not be a valid lenght. Fixed a special case in
9090         the minipage compatibility read where we end the document with a
9091         minipage.
9092
9093         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9094         was set as it could be 0 for InsetTexts first entry.
9095
9096 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9097
9098         * paragraph.C (writeFile): if layout is empty write out
9099         defaultLayoutName().
9100
9101         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9102         file without named layout we set layout to defaultLayoutName().
9103
9104 2002-03-06  Juergen Vigna  <jug@sad.it>
9105
9106         * CutAndPaste.C (copySelection): set layout for new paragraph.
9107
9108         * text.C (prepareToPrint): leave ERT inset left aligned
9109         (leftMargin): don't indent paragraphs inside ERT insets
9110
9111 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9112
9113         * paragraph.C (breakParagraph): dont call clear do the work manually
9114
9115         * paragraph.[Ch] (clear): remove function
9116
9117 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * paragraph.C (Paragraph): dont call clear, the work has already
9120         been done.
9121
9122         * lyxtextclass.C (operator): assert if n is empty
9123
9124         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9125         work manually instead.
9126
9127 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9128
9129         * BufferView_pimpl.C: protect selectionLost against text == 0
9130
9131 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9132
9133         * text.C (breakParagraph): fix a setting layout to '0' problem.
9134
9135 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9136
9137         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9138         final location of file, for the included files, and graphics.
9139
9140 2002-03-05  Juergen Vigna  <jug@sad.it>
9141
9142         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9143
9144 2002-03-04  Juergen Vigna  <jug@sad.it>
9145
9146         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9147
9148         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9149         last column of multicolumn cells.
9150         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9151
9152 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9153
9154         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9155         file if it doesn't go to a temporary file.
9156
9157         * buffer.C (sgmlOpenTag):
9158         (sgmlCloseTag):  remove extra newline insertion.
9159
9160 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9161
9162         * text.C (getRowNearY): comment out debug msg
9163
9164 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9165
9166         * text2.C: first -> first_y
9167
9168         * text.C (getRowNearY): add some attemts at a possible
9169         optimization, not working.
9170
9171         * tabular.[Ch]: add BufferParams to several function so that newly
9172         created paragraph can be initialized to he default layotu for the
9173         buffers textclass.
9174
9175         * tabular-old.C (ReadOld): add buf->params to call of Init
9176
9177         * screen.C: rename text->first to text->first_y
9178
9179         * paragraph.C (breakParagraph): always set layout in the broken
9180         paragraph
9181
9182         * lyxtextclass.C (Read): remove lowercase
9183         (hasLayout): ditto
9184         (operator): ditto
9185         (delete_layout): ditto
9186
9187         * lyxtext.h: rename first -> first_y
9188
9189         * lyxlayout.C (Read): remove lowercase
9190         (name): ditto
9191         (setName): ditto
9192         (obsoleted_by): ditto
9193
9194         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9195
9196         * buffer.C (insertErtContents): add params are to InsetERT
9197         (parseSingleLyXformat2Token): add code to check if a paragraphs
9198         layout really exist.
9199         (parseSingleLyXformat2Token): add params to several inset
9200         constructors
9201         (asciiParagraph): remove lowercase, do the layout comparisons with
9202         no_case
9203
9204         * BufferView_pimpl.C (cursorNext): first -> first_y
9205         (resizeCurrentBuffer): first -> first_y
9206         (updateScrollbar): first -> first_y
9207         (scrollCB): first -> first_y
9208         (workAreaMotionNotify): first -> first_y
9209         (workAreaButtonPress): first -> first_y
9210         (checkInsetHit): first -> first_y
9211         (cursorPrevious): first -> first_y
9212         (cursorNext): first -> first_y
9213         (Dispatch): add buffer_->params to severl inset contructors
9214
9215 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9216
9217         * lyxlayout.C (Read): remove some debug info that I forgot.
9218
9219         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9220         clean up the code slightly.
9221         (makeLinuxDocFile): ditto
9222         (makeDocBookFile): ditto
9223
9224         * text2.C: layout as string
9225
9226         * text.C: layout as string
9227
9228         * paragraph_pimpl.C: layout as string
9229
9230         * paragraph.[Ch]: layout as string
9231
9232         * lyxtextclasslist.[Ch]: layout as string
9233
9234         * lyxtextclass.[Ch]: layout as string
9235
9236         * lyxtext.h: layout as string
9237
9238         * lyxlayout.[Ch]: layout as string
9239
9240         * lyx_cb.C: layout as string
9241
9242         * bufferview_funcs.C: layout as string
9243
9244         * bufferparams.C: layout as string
9245
9246         * buffer.C: layout as string
9247
9248         * LyXView.[Ch]: layout as string
9249
9250         * LaTeXFeatures.[Ch]: layout as string
9251
9252         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9253
9254         * BufferView_pimpl.C: change current_layout to string, remove
9255         lyx::layout_type.
9256         (Dispatch):
9257         (smartQuote):
9258         (insertInset):
9259         (workAreaButtonRelease): layout as string
9260
9261         * BufferView2.C (unlockInset): adjust
9262
9263         * vspace.C (asLatexCommand): use an explict temp variable.
9264
9265 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * Makefile.am: use FRONTEND_*
9268
9269 2002-03-01  Juergen Vigna  <jug@sad.it>
9270
9271         * tabular.C (SetWidthOfMulticolCell): changed to something better
9272         I hope but still work in progress.
9273         (recalculateMulticolumnsOfColumn): renamed function from
9274         recalculateMulticolCells as it is more appropriate now.
9275         (SetWidthOfCell): calculate multicols better.
9276
9277 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9278
9279         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9280
9281         * lyxfunc.C (processKeySym): print sequence also if it is
9282         `deleted' (complete)
9283
9284         * kbsequence.C (print): print sequence even if it is deleted
9285         (complete would be a better word, actually).
9286
9287         * lyxfunc.C (dispatch): print complete options after a prefix key
9288
9289         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9290
9291 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9292
9293         * text2.C (setCharFont): eliminate setCharFont code duplication.
9294
9295 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9296
9297         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9298         LFUN_TABULAR_FEATURE (bug #177)
9299
9300 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9301
9302         * Makefile.am: remove figure.h
9303
9304 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9305
9306         * Bufferview_pimpl.C:
9307         * CutAndPasteC:
9308         * LaTeX.C:
9309         * LyXSendto.C:
9310         * buffer.C:
9311         * bufferlist.C:
9312         * converter.C:
9313         * language.C:
9314         * lyxfunc.C:
9315         * lyxvc.C:
9316         * paragraph.C:
9317         * text.C:
9318         * text2.C: remove #include "lyx_gui_misc.h".
9319
9320         * LaTeX.C: added #include <cstdio>
9321
9322 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9323
9324         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9325         that the paragraph following this one can have.
9326
9327         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9328
9329         * vspace.C (asLatexCommand): fix bogus gcc warning
9330
9331         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9332
9333 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9334
9335         * text2.C (setLayout): get rid of redundant code
9336
9337 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9338
9339         * text2.C (incDepth): make sure depth cannot be increased beyond
9340         reasonable values.
9341
9342 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9343
9344         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9345         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9346
9347         * PainterBase.h (image):
9348         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9349         a LyXImage const *.
9350
9351 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * BufferView.C:
9354         * BufferView.h:
9355         * BufferView_pimpl.C:
9356         * BufferView_pimpl.h:
9357         * LaTeXFeatures.C:
9358         * LyXAction.C:
9359         * LyXView.C:
9360         * Makefile.am:
9361         * UpdateList.h:
9362         * UpdateList.C:
9363         * buffer.C:
9364         * figure.h:
9365         * figureForm.C:
9366         * figureForm.h:
9367         * figure_form.C:
9368         * figure_form.h:
9369         * lyx_cb.C:
9370         * lyx_gui.C:
9371         * lyx_gui_misc.C:
9372         * lyxfunc.C:
9373         * sp_base.h:
9374         * sp_ispell.h:
9375         * sp_pspell.h:
9376         * sp_spell.C: remove fig inset, and the crap house of
9377           cards that follows it
9378
9379 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9380
9381         * Makefile.am:
9382         * lyxserver.C:
9383         * os2_defines.h:
9384         * os2_errortable.h:
9385         * nt_defines.h: move .h into support/
9386
9387         * vms_defines.h: remove
9388
9389         * WorkArea.C: add space in debug output
9390
9391         * text2.C:
9392         * paragraph.C:
9393         * buffer.C: add WITH_WARNINGS
9394
9395         * vc-backend.h:
9396         * vc-backend.C:
9397         * bufferlist.C: s/retrive/retrieve/, add docs
9398
9399         * vspace.h:
9400         * vspace.C:
9401         * kbmap.h:
9402         * lyxlength.h:
9403         * lyxgluelength.h:
9404         * length_common.h:
9405         * chset.h:
9406         * chset.C: add docs
9407
9408         * lyxgui.C: add ID to X error handler
9409
9410         * lyxtestclass.c: fix typo
9411
9412 2002-02-26  Juergen Vigna  <jug@sad.it>
9413
9414         * tabular_funcs.C (write_attribute): changed so that some default
9415         attributes are not written at all.
9416         (getTokenValue): set default values before trying to read the
9417         value so we have the return value always set as default if we don't
9418         find the token we search for.
9419
9420         * tabular.C (Write): write bools as bools not as strings!
9421
9422 2002-02-22  Juergen Vigna  <jug@sad.it>
9423
9424         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9425         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9426
9427         * text.C (leftMargin): don't add an indent for paragraphs inside
9428         tabular cells (fix #208).
9429
9430 2002-02-21  José Matos  <jamatos@fep.up.pt>
9431
9432         * tabular.C (docBook): fixed support for long tables.
9433
9434 2002-02-20  Juergen Vigna  <jug@sad.it>
9435
9436         * text2.C (getFont): get the drawing font of the Inset if this
9437         paragraph is inside an inset (only important for InsetERT for now).
9438
9439         * buffer.C (insertErtContents): use new lanugage params in ERT
9440         constructor.
9441
9442         * CutAndPaste.C: commenting out seemingly uneeded code.
9443
9444 2002-02-19  Allan Rae  <rae@lyx.org>
9445
9446         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9447         Iterators might be simple to use but they also get invalidated.
9448         (removeAutoInsets): renamed saved cursor tracking variables and added
9449         some comments to clarify what everything does.
9450
9451 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9452
9453         * Chktex.C:
9454         * LaTeX.C:
9455         * LyXSendto.C:
9456         * converter.C:
9457         * lyx_cb.C:
9458         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9459         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9460
9461         * lyxfunc.C:
9462         * vc-backend.h: remove #include "support/syscall.h"
9463
9464         * LaTeX.C:
9465         * LyXSendto.C:
9466         * converter.C: rearrange #includes in Lars' approved fashion.
9467
9468         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9469         forward declare class Timeout in the header file.
9470
9471         * XFormsView.C: changes due to the above.
9472
9473         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9474         similar to LyXView.
9475
9476         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9477         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9478
9479 2002-02-18  José Matos  <jamatos@fep.up.pt>
9480
9481         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9482         insets contents.
9483
9484 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9485
9486         * a lot of small ws changes
9487         * add a lot of using std::XXX
9488         * use std construcs some places where approp.
9489         * use some exisint stuff from lyxfunctional where approp.
9490         * Make file changes to use partial linking (lets test this now...)
9491
9492 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9493
9494         * Chktex.C:
9495         * buffer.C:
9496         remove #include "support/syscontr.h" as it's redundant. Always has been.
9497
9498         * Chktex.C:
9499         * LaTeX.C:
9500         * LyXSendto.C:
9501         * converter.C:
9502         * lyx_cb.C:
9503         * vc-backend.C:
9504         change Systemcalls::System to Systemcalls::Wait and
9505         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9506         No change of functionality, just reflects the stripped down Systemcalls
9507         class.
9508
9509 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9510
9511         * debug.[Ch]: add a GRAPHICS type to the enum.
9512
9513 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9514
9515         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9516
9517         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9518         there is an inset.
9519
9520 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9523         match the changes below.
9524
9525         * text2.C (toggleInset): if there is not editable inset at cursor
9526         position, try to see if cursor is _inside_ a collapsable inset
9527         and close it.
9528
9529 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9530
9531         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9532         document menu has a nice checkbox
9533
9534 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9535
9536         * lyxlength.C (asLatexString): change PW to output as percent of
9537         \textwidth.
9538
9539         * lengthcommon.C: change '%' to 't%'
9540
9541         * lyxfunc.C (dispatch): a few comments from Martin
9542
9543 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9544
9545         * WorkArea.h:
9546         * WorkArea.C:
9547         * BufferView_pimpl.h:
9548         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9549           the X selection.
9550
9551 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9552
9553         * vspace.C (inPixels): fix compiler warning
9554
9555 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9556
9557         * lyxfunc.C (getStatus): fix status message for disabled commands.
9558
9559 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * BufferView_pimpl.C: fix crash on close buffer
9562         during selection (#227)
9563
9564 2002-01-27  Herbert Voss  <voss@lyx.org>
9565
9566         * buffer.C: link old Figure to new graphic inset
9567
9568 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9569
9570         * FontLoader.C (getFontinfo): Change the latex font names in order
9571         to match the names of type1inst.
9572
9573 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9574
9575         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9576
9577         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9578         (extchanged): ditto
9579         (ext_exist): ditto
9580         (remove_files_with_extension): ditto
9581         (remove_file): ditto
9582         (write): ditto
9583
9584         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9585         document is smaller than the work area height. Do not initialize
9586         static variables to 0.
9587
9588 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9591
9592         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9593         LFUN_LAYOUT_PARAGRAPHS.
9594
9595         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9596         tabular. It is possible to provide a possible cell, which will
9597         typically be the actcell from the corresponding insettabular
9598
9599         * lyxfunc.C (getStatus): small cleanup; disable
9600         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9601         true
9602
9603 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9606
9607         * paragraph.C (startTeXParParams):
9608         (endTeXParParams): new methods. The LaTeX code to
9609         start/end paragraph formatting
9610         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9611         empty (fixes bug #200)
9612
9613         * vspace.C (inPixels): adapt to the change below
9614         (inPixels): [later] more cleanups (remove unused variables)
9615
9616         * lyxlength.C (inPixels): change to use a width and a height as
9617         parameter.
9618
9619 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9622         Replaced with \paperwidth
9623
9624         * DepTable.C (insert): add std:: qualifier
9625
9626 2002-01-18  Allan Rae  <rae@lyx.org>
9627
9628         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9629         updated also?
9630
9631         * text.C (drawInset): Turned out I didn't know enough about how
9632         rebreaking worked.  This fixes most of the redraw problems.  I see
9633         an occasional cursor trail when a line is broken now and the cursor
9634         placement can seem out by a few pixels also after a rebreak.
9635
9636 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9637
9638         * buffer.C (parseSingleLyXformat2Token): update because minipage
9639         width is now a LyXLength
9640
9641         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9642
9643         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9644         math insets
9645
9646 2002-01-17  Juergen Vigna  <jug@sad.it>
9647
9648         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9649
9650         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9651         is set correctly and the inset is updated correctly.
9652
9653 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9654
9655         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9656         the beginning of the loop.
9657
9658 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * lyxrc.C: improve help for use_scalable_fonts
9661
9662 2002-01-17  Allan Rae  <rae@lyx.org>
9663
9664         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9665
9666 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9667
9668         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9669         make sure to set their inset_owner to the right value (bug #171)
9670
9671 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9672
9673         * DepTable.h
9674         * DepTable.C: Implement mtime checking to reduce time spent doing
9675         CRCs.
9676
9677 2002-01-16  Juergen Vigna  <jug@sad.it>
9678
9679         * tabular.C (GetAdditionalHeight): one of error fixed.
9680
9681         * lyxrc.C (output): small fix in writing use_pspell.
9682
9683 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9684
9685         * sp_base.h: #include LString.h
9686
9687 2002-01-16  Allan Rae  <rae@lyx.org>
9688
9689         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9690         Can someone check this please?
9691
9692         * text.C (drawInset): It was possible that p.row would be removed by
9693         breakAgainOneRow upsetting a few other settings.  There may be another
9694         small tweak possible by setting need_break_row = 0 when p.row has been
9695         removed but I don't know enough about the logic here.
9696
9697 2002-01-15  Allan Rae  <rae@lyx.org>
9698
9699         * text.C (insertChar): removed conditional truism.
9700
9701         * BufferView2.C (removeAutoInsets): More tweaks.
9702         cur_par_prev could be a stray pointer.  Check for trailing empty line
9703         in case last line was cur_par and only had an error inset on it.
9704
9705 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9706
9707         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9708         absolute
9709
9710         * vc-backend.C (most methods):
9711         * exporter.C (Export):
9712         * converter.C (convert):
9713         (runLaTeX):
9714         * LyXSendto.C (SendtoApplyCB):
9715         * lyxfunc.C (dispatch):
9716         (menuNew):
9717         (open):
9718         (doImport):
9719         * lyx_cb.C (AutoSave):
9720         (InsertAsciiFile):
9721         * BufferView_pimpl.C (MenuInsertLyXFile):
9722         * buffer.C (runChktex): use Buffer::filePath().
9723
9724         * buffer.h: rename filename to filename_; rename filepath to
9725         filepath_ and make it private
9726         (filePath): new method
9727
9728         * buffer.C (writeFile): use fileName()
9729         (getLatexName):
9730
9731         * lyx_main.C (init): fix starting  of LyX when the binary is a
9732         link from so,ewhere else.
9733
9734         * minibuffer.C: include <cctype> for isprint
9735
9736 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9737
9738         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9739         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9740         name clash with InsetCollapsable's width function.
9741
9742 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9743
9744         * lastfiles.C: include <iterator>
9745
9746 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9747
9748         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9749         std::count.
9750
9751         * buffer.C (makeLaTeXFile): ditto.
9752         Also make loop operation more transparent.
9753
9754 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9755
9756         * ToolbarDefaults.C: remove trailing comma closing namespace.
9757
9758         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9759
9760         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9761         as in WorkArea.
9762
9763         * trans.C (Load): comment out unused variable, allowed.
9764
9765 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9766
9767         * minibuffer.[Ch] (append_char): new method to recieve input from the
9768         drop-down completion browser. If a key was pressed, then recieve this
9769         char and append it to the existing string.
9770         (peek_event): modify the positioning data passed to the completion
9771         browser so that it can be placed above the minibuffer rather than below.
9772 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9773
9774         * LyXAction.C (init): alloe error-next for readonly documents.
9775
9776         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9777         count.
9778
9779 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9780
9781         * bufferlist.C (readFile): create the buffer _after_ checking that
9782         the file exists.
9783
9784         * lyxfunc.C (verboseDispatch): fix handling of arguments
9785
9786         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9787
9788         * lyxrc.C: use string::erase() instead of initializing to "".
9789
9790
9791 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9792
9793         * BufferView_pimpl.h:
9794         * BufferView_pimpl.C:
9795         * WorkArea.h:
9796         * WorkArea.C:
9797         * text2.C: tell X when we have made a selection for copying
9798
9799 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9800
9801         * BufferView_pimpl.C (MenuInsertLyXFile):
9802         * lyxfunc.C (menuNew):
9803         (open):
9804         (doImport): add shortcuts to directory buttons
9805
9806         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9807         open a float)
9808
9809         * lyxfunc.C (setStatusMessage):
9810         (getStatusMessage): new methods
9811         (getStatus):use setStatusMessage instead of setErrorMessage
9812         (dispatch): when function is disabled, set error message here
9813         [instead of in getStatus previously]
9814
9815         * BufferView_pimpl.C (workAreaButtonRelease): update
9816         toolbar/menubar here too.
9817
9818 2002-01-13  Allan Rae  <rae@lyx.org>
9819
9820         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9821         Now seems indestructible.  Remaining task is to audit all other
9822         code affected by deleteEmptyParagraphMechanism.  One small quirk
9823         left is that an empty document with an error in the preamble can
9824         be made to report an error but no error box appears.  I don't know
9825         where it goes.
9826         (removeAutoInsets): Improved comments.
9827
9828 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * Thesaurus.h:
9831         * Thesaurus.C: update for Aiksaurus 0.14
9832
9833 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9834
9835         * text2.C (firstParagraph): removed member function, all uses
9836         replaces with ownerParagraph
9837         (redoParagraphs): here
9838         (updateInset): here
9839         (toggleAppendix): here
9840         * BufferView2.C (insertErrors): here
9841         (setCursorFromRow): here
9842
9843 2002-01-13  Allan Rae  <rae@lyx.org>
9844
9845         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9846         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9847         There is still a way to segfault this although you may have to do this
9848         multiple times: Have an InsetERT with an unknown command in it.
9849         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9850         <down-arrow>, <Enter> again, View->DVI, BANG!
9851
9852         * text2.C (setCursor):
9853         (deleteEmptyParagraphMechanism):
9854         * lyxtext.h (setCursor):
9855         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9856         Making use of the return value may help fix other bugs.
9857
9858 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9859
9860         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9861
9862         * LyXView.C (updateMenubar): call MenuBar::update here
9863         (updateToolbar): but not here
9864         (showState): do not update toolbar/menubar
9865
9866         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9867         should need to care about that.
9868
9869         * lyxfunc.C (verboseDispatch): simplify a bit
9870         (getStatus): have a version which takes a pseudoaction, and
9871         another which requires a (kb_action,string).
9872
9873         * LyXAction.C (retrieveActionArg): make it work also when action
9874         is not a pseudo-action.
9875         (getActionName): simplify a bit
9876         (helpText):
9877
9878 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * lyxfunc.C (verboseDispatch): new families of methods with
9881         several ways to specify a command and a bool to indicate whether
9882         the command name and shortcut should be displayed in minibuffer
9883         (eventually, we could extend that to a finer bitmask like
9884         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9885         (dispatch): the pristine dispatch command which just, well,
9886         dispatchs! Note it still sets its result to minibuffer; I'm not
9887         sure we want that.
9888
9889         * lyxfunc.h: remove setHintMessage
9890
9891         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9892
9893 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9894
9895         * BufferView_pimpl.C (specialChar): delete new inset if we have
9896         not been able to insert it.
9897
9898         * kbmap.C: revert to using int instead of kb_action, since all we
9899         are dealing with is pseudo-actions.
9900
9901         * LyXAction.C (searchActionArg): change to return int instead of
9902         kb_action, since the result is a pseudoaction.
9903
9904 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9905
9906         * buffer.C (insertErtContents): Fix (partially) the font bug.
9907
9908 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9909
9910         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9911         as the other one is broken on my machine!
9912
9913 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9914
9915         * commandtags.h:
9916         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9917
9918 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9919
9920         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9921         reflect their actual use. Provide compatibility code for older lyxrc
9922         files.
9923
9924         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9925         FL_NORMAL_STYLE.
9926         change names of popup font variables in line with the changes to lyxrc.C
9927
9928 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * buffer.C (asciiParagraph): avoid outputing a word twice after
9931         an inset.
9932
9933         * lyxrc.C (getDescription): document that document_path and
9934         template_path can be empty.
9935
9936 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * LaTeXFeatures.C (getMacros):
9939         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9940
9941         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9942
9943         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9944         getPackages.
9945         (getPackages): rename feature "floats" to "float". Use an array to
9946         iterate over 'simple' features (i.e. just a \usepackage). Add
9947         handling of "amsmath" (renamed from "amsstyle").
9948
9949 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9950
9951         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9952         features list.
9953
9954 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9955
9956         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9957         FuncStaus::FuncStatus & FuncStaus::some_method().
9958
9959 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9960
9961         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9962         of the func_satus stuff. Edited and massaged in various ways by
9963         JMarc.
9964
9965         * lyxfunc.C (getStatus): use FuncStatus
9966
9967 2002-01-08  Juergen Vigna  <jug@sad.it>
9968
9969         * text.C (nextBreakPoint): use function Inset::isChar().
9970
9971         * paragraph.C (TeXOnePar): use function
9972         Inset::forceDefaultParagraphs.
9973
9974         * buffer.C (latexParagraphs): use function
9975         Inset::forceDefaultParagraphs.
9976
9977 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9978
9979         * lyx_gui.C (init): set the style of the menu popups to
9980         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9981
9982 2002-01-07  Juergen Vigna  <jug@sad.it>
9983
9984         * text.C (setHeightOfRow): small fix
9985         (prepareToPrint): don't look at alignment if we don't have the place
9986         for doing it.
9987
9988 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9989
9990         * box.C: New file. Move the Box methods and functions out of box.h,
9991         following Lars' suggestion.
9992
9993 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9994
9995         * box.h: #include "support/LOstream.h", needed for inlined function.
9996
9997         * lyxtextclass.C:
9998         * lyxtextclasslist.C: added some using std declarations.
9999
10000 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * box.h: make signed dimensions to allow insets wider than
10003           the screen (bug #162)
10004
10005         * BufferView_pimpl.C: add some insetHit debug
10006
10007 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * vc-backend.C: add FIXME
10010
10011 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10012
10013         * lyxfunc.C (getStatus): enable code for showing math font status
10014         in toolbar/menu.
10015
10016 2002-01-07  Juergen Vigna  <jug@sad.it>
10017
10018         * text.C (nextBreakPoint): removed debug output not needed anymore.
10019
10020 2002-01-06  Juergen Vigna  <jug@sad.it>
10021
10022         * text.C (nextBreakPoint): fixed up this function we had this bug
10023         since ever but now hopefully we break row better.
10024         (insertChar): we have to check if an inset is the next char as it
10025         could now happen that a large inset is causing a break.
10026
10027 2002-01-05  Juergen Vigna  <jug@sad.it>
10028
10029         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10030         if it doesn't like to be drawed.
10031
10032 2002-01-04  Juergen Vigna  <jug@sad.it>
10033
10034         * BufferView2.C (lockInset): forgot to set a cursor.
10035
10036         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10037
10038 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10039
10040         * FormMathsPanel.C:
10041         * FormMathsPanel.h
10042         * MathsSymbols.C:
10043         * form_maths_panel.C:
10044         * form_maths_panel.h:
10045         * form_maths_panel.fd: implemented sub- and super- buttons in math
10046         panel.
10047
10048         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10049         (or ^ space) to be used as in TeX (req'd by André).
10050
10051         * lyxfunc.C: Allow ^ and _ again to be used both as
10052         super/subscript (mathed) and as themselves (in text).
10053
10054 2002-01-03  Allan Rae  <rae@lyx.org>
10055
10056         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10057         "LyX" or the filename of the current buffer if it has one.  This is a
10058         modified form of John Levon's patch.
10059
10060         * XFormsView.C (setWindowTitle): also set icon title.
10061
10062         * LyXView.h (setWindowTitle): signature changed.
10063         * XFormsView.h (setWindowTitle): ditto.
10064
10065 2002-01-02  Juergen Vigna  <jug@sad.it>
10066
10067         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10068
10069 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10070
10071         * screen.C (topCursorVisible): introduce a temp var for
10072         text->cursor.row(), handle the case where this row is null. (kindo
10073         hachish)
10074
10075         * text2.C (setCursor): add a couple of asserts.
10076
10077         * paragraph.h (inset_iterator): add -> operator
10078
10079         * paragraph.[Ch] (autoDeleteInsets): remove member function
10080
10081         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10082         cursor pos correctly and handle inset deletion by itself.
10083         (insertErrors): move iterator declaration out of for expression
10084
10085         * lyxtextclass.C: add <algorithm>
10086
10087         * Makefile.am: added the new files to sources, removed layout.C
10088
10089         * layout.C: removed file
10090
10091         * layout.h: remove LYX_DUMMY_LAYOUT
10092
10093         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10094         layout.
10095
10096         * lyxlayout.[Ch]:
10097         * lyxtextclass.[Ch]:
10098         * lyxtextclasslist.[Ch]: new files
10099
10100         * include order changes to a lot of files, also changes because of
10101         the six new files.
10102
10103 2001-12-27  Juergen Vigna  <jug@sad.it>
10104
10105         * buffer.C (asciiParagraph): more fixes.
10106
10107         * tabular.C (ascii): make ascii export support export of only the
10108         data separated by a column-delimiter.
10109         (ascii): better support for ascii export.
10110
10111         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10112
10113 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10114
10115         * tabular_funcs.C: use a "using std::getline" instead of the
10116         previous fix from Angus (necessary for cxx + lyxstring)
10117
10118 2001-12-24  Juergen Vigna  <jug@sad.it>
10119
10120         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10121
10122         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10123         problems. First check a minipage also if we have some ert-contents
10124         (not only on par->size(), second set the right depth of the paragraph
10125         on the relink to the root-paragraph-list!
10126
10127         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10128         which then did not anymore update the main paragraphs on undo/redo!
10129
10130 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10131
10132         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10133         code. Support all font-changing funcs (even those which are not in
10134         menu currently). Support for reporting font settings in
10135         mathed (disabled until Andre provides a function on mathed's side).
10136
10137         * func_status.h (toggle): small helper function to set toggle
10138         state on a flag.
10139
10140 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10141
10142         * tabular_funcs.C: getline -> std::getline
10143
10144 2001-12-21  Juergen Vigna  <jug@sad.it>
10145
10146         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10147         accessed and could be 0 (I couldn't generate this but it seems
10148         Michael could!).
10149
10150 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10151
10152         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10153         * tabular_funcs.h: here and include iosfwd
10154
10155 2001-12-20  Juergen Vigna  <jug@sad.it>
10156
10157         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10158         inside inset but undo_par was.
10159
10160 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * Thesaurus.C: always include <config.h> in sources.
10163
10164         * Painter.h:
10165         * lyxlookup.h:
10166         * box.h: do not include <config.h> in header files
10167
10168         * text.C (paintLastRow): remove unused variable
10169
10170         * text.C (transformChar):
10171         (insertChar):
10172         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10173
10174         * Painter.C (text):
10175         * font.C (width): rewrite to use uppercase() instead of
10176         islower/toupper.
10177
10178         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10179
10180 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10181
10182         * lyxfind.C: clean up of find failure position change
10183
10184 2001-12-20  Juergen Vigna  <jug@sad.it>
10185
10186         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10187
10188         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10189         (TeXRow): added to LaTeX a single tabular row.
10190         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10191         (Latex): simplified and finally good LT-h/f support.
10192         (various_functions): just small adaptions for LT-h/f support.
10193
10194         * tabular_funcs.[hC]: added and moved here all not classfunctions
10195         of LyXTabular.
10196
10197 2001-12-19  Juergen Vigna  <jug@sad.it>
10198
10199         * tabular.[Ch]: better support for longtabular options (not finished
10200         yet!)
10201
10202 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10203
10204         * text.C (paintLastRow): use the label font instead of the font of
10205         the last character to compute the size of *_BOX. This makes more
10206         sense and avoids a crash with empty paragraphs.
10207         Use Painter::rectangle to draw EMPTY_BOX.
10208
10209 2001-12-19  Juergen Vigna  <jug@sad.it>
10210
10211         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10212         the paragraphs if the replaced paragraph is not the first one!
10213         Tried to delete not used paragraphs but does not work yet so for
10214         now it's inside #ifdef's and by default off!
10215
10216 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10217
10218         * MenuBackend.C: include "lyx_main.h" instead of declaring
10219         lastfiles (actually was declared as LastFiles* instead of a
10220         scoped_ptr).
10221
10222 2001-12-17  Juergen Vigna  <jug@sad.it>
10223
10224         * tabular.C (AppendColumn): applied John's fix
10225
10226 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * BufferView.h:
10229         * BufferView.C:
10230         * BufferView_pimpl.h:
10231         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10232
10233         * Makefile.am:
10234         * box.h: new start of class for above
10235
10236         * lyxfunc.C: ignore space-only minibuffer dispatches.
10237           Show the command name when it doesn't exist
10238
10239         * minibuffer.C: don't add empty lines to the history
10240
10241         * minibuffer.C: add a space on dropdown completion
10242
10243 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * text.C: fix line above/below drawing in insets
10246
10247 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * lyxlength.C (LyXLength): Initialize private variables.
10250
10251 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10252
10253         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10254         when inserting error insets.
10255
10256 2001-12-13  Juergen Vigna  <jug@sad.it>
10257
10258         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10259         actually sometimes the before-paragraph.
10260         (setUndo): don't clear the redostack if we're not actually undoing!
10261
10262 2001-12-06  Juergen Vigna  <jug@sad.it>
10263
10264         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10265         and fixed redoing of main paragraph, so we can use it now ;)
10266
10267         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10268
10269 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10272         Juergen's request
10273
10274 2001-12-13  André Pönitz <poenitz@gmx.net>
10275
10276         * undostack.[Ch]:
10277         * undo_func.C: minor cleanup
10278
10279 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10280
10281         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10282         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10283         font in urw-fonts package which is marked as -urw-fontspecific and
10284         does not work (incidentally, changing the encoding in the
10285         fonts.dir of this package to -adobe-fontspecific fixes the
10286         problem).
10287
10288         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10289         is a crash when undoing first paragraph (Juergen, please take a
10290         look). THis does not mean the undo fix is wrong, just that it
10291         uncovers problems.
10292
10293         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10294         the (Paragraph*) version when needed instead of duplicating the
10295         code.
10296
10297         * text.C (workWidth): use Inset::parOwner to find out where the
10298         inset has been inserted. This is a huge performance gain for large
10299         documents with lots of insets. If Inset::parOwner is not set, fall
10300         back on the brute force method
10301
10302         * paragraph_pimpl.C (insertInset):
10303         * paragraph.C (Paragraph):
10304         (cutIntoMinibuffer): set parOwner of insets when
10305         inserting/removing them
10306
10307         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10308
10309 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10310
10311         * commandtags.h:
10312         * LyXAction.C:
10313         * lyx_main.C:
10314         * lyxfunc.C:
10315         * mathed/formulabase.C:
10316         * mathed/math_cursor.[Ch]:
10317         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10318
10319
10320 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10321
10322         * lyxlength.[Ch] (operator!=): new function
10323
10324 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * text.C (workWidth): use Inset::parOwner to find out where the
10327         inset has been inserted. This is a huge performance gain for large
10328         documents with lots of insets. If Inset::parOwner is not set, fall
10329         back on the brute force method
10330
10331         * paragraph_pimpl.C (insertInset):
10332         * paragraph.C (Paragraph):
10333         (cutIntoMinibuffer): set parOwner of insets when
10334         inserting/removing them
10335
10336         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10337
10338 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * tabular-old.C (getTokenValue):
10341         * tabular.C (getTokenValue):
10342         (write_attribute): new versions for LyXLength
10343         (everywhere): adjust the use of widths
10344
10345         * tabular.h: change the type of widths from string to LyXLength
10346
10347 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10348
10349         * paragraph.C: fixed missing line number count when exporting
10350         Environments to LaTeX file
10351
10352         * buffer.C: added informational message for checking line numbers.
10353
10354 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10357         paragraph, do the 'double space' part, but not the 'empty
10358         paragraph' one.
10359
10360         * text.C (workWidth): small optimization
10361         (getLengthMarkerHeight): use minimal size for negative lengths.
10362
10363 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10364
10365         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10366
10367         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10368
10369 2001-12-11  André Pönitz <poenitz@gmx.net>
10370
10371         * FontLoader.C:
10372         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10373
10374 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * text2.C: keep selection on a setFont()
10377
10378 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10379
10380         * lyx_cb.C: another bv->text misuse, from insert label
10381
10382 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * kbsequence.h:
10385         * kbsequence.C: re-instate nmodifier mask
10386
10387 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10388
10389         * lyx_main.h: make lyxGUI private.
10390
10391 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10392
10393         * lyxfind.C: place the cursor correctly on failed search
10394
10395 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10396
10397         * text.C (getLengthMarkerHeight): for small heights, the arrows
10398         are not always on top/bottom of the text
10399         (drawLengthMarker): smaller arrows; take the left margin in
10400         account; draw also vfills.
10401         (paintFirstRow):
10402         (paintLastRow): remove special code for vfill and standard spaces,
10403         since everything is handled in drawLengthMarker now.
10404
10405 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10406
10407         * buffer.C (insertErtContents): try to handle font and language
10408         interaction a bit better.g
10409
10410         * ColorHandler.C (updateColor): change the hash to cover the whole
10411         LColor enum, ws cleanup
10412         (getGCLinepars): ditto
10413         (getGCLinepars): only lookup in the linecache once.
10414
10415 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10416
10417         * iterators.C (operator++): Make the iterator more robust
10418
10419         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10420         (John's patch)
10421         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10422
10423 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * lyxtext.h:
10426         * text.C: better added space drawing
10427
10428 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * LyXView.C:
10431         * BufferView2.C: fix layout combo update on inset unlock
10432
10433 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * Makefile.am: don't compile unused files
10436
10437 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * lyxfunc.C:
10440         * commandtags.h:
10441         * LyXAction.C: remove old LFUN_LAYOUTNO
10442
10443 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * paragraph_pimpl.h:
10446         * paragraph_pimpl.C: isTextAt() doesn't need font param
10447
10448 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * lyxlex.h:
10451         * lyxlex.C: little cleanup
10452
10453 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * BufferView_pimpl.C: fix insertAscii for insets
10456
10457 2001-12-05  Juergen Vigna  <jug@sad.it>
10458
10459         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10460         set the right font on the "multi" paragraph paste!
10461
10462 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10463
10464         * trans_decl.h:
10465         * trans_mgr.[Ch]:
10466         * trans.[Ch]:
10467         * lyxgluelength.C:
10468         * lyxlength.C: remove out-commented code.
10469
10470         * BufferView_pimpl:
10471         * CutAndPaste.C:
10472         * DepTable.C:
10473         * buffer.C:
10474         * chset.C:
10475         * lastfiles.C:
10476         * lyxlex.C:
10477         * lyxlex_pimpl.C:
10478         * lyxserver.C:
10479         * screen.C:
10480         * tabular-old.C:
10481         * tabular.C:
10482         * text.C:
10483         * trans_mgr.C:
10484         * vc-backend.C: change "while(" to "while ("
10485
10486         * lyxlength.[Ch]: add zero function to check if length is zero or
10487         not
10488         * lyxgluelength.C: use it
10489
10490 2001-12-05  Allan Rae  <rae@lyx.org>
10491
10492         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10493         Works for 2.95.3, from what I understand of Garst's reports this should
10494         work for other g++ versions.  We're screwed if the abs(int) definition
10495         changed between bugfix releases of gcc.
10496
10497 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * text.C: fix chapter label offset !
10500
10501 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * lyxtext.h:
10504         * text.C: fix hfill at end of line, clean up
10505
10506 2001-12-04  Juergen Vigna  <jug@sad.it>
10507
10508         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10509         that we force an update of the inset and it's owners if neccessary.
10510
10511 2001-12-03  Juergen Vigna  <jug@sad.it>
10512
10513         * text.C (rowLast): simplified code
10514
10515 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * lyxfunc.C: fix show options on timeout
10518
10519 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10520
10521         * screen.C (topCursorVisible): scroll half a page when the cursor
10522         reached top of bottom of screen
10523
10524 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * minibuffer.C: deactivate on loss of focus
10527
10528 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10529
10530         * vspace.[Ch] (operator!=): add operator.
10531
10532 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10533
10534         * BufferView_pimpl.C: refuse to open an inset when
10535         there's a selection.
10536
10537 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10538
10539         * BufferView_pimpl.C: allow to click on RHS of full row insets
10540
10541 2001-11-30  Juergen Vigna  <jug@sad.it>
10542
10543         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10544         insets for undo reasons.
10545
10546 2001-11-28  André Pönitz <poenitz@gmx.net>
10547
10548         * vspace.[Ch]: cosmetical changes
10549
10550 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * LyXAction.h:
10553         * LyXAction.C:
10554         * lyxfunc.h:
10555         * lyxfunc.C:
10556         * kbmap.h:
10557         * kbmap.C:
10558         * lyxrc.C:
10559         * kbsequence.h:
10560         * kbsequence.C: part re-write of old kb code
10561
10562         * Painter.C:
10563         * WorkArea.C: remove Lgb_bug_find_hack
10564
10565 2001-11-30  José Matos <jamatos@fep.up.pt>
10566
10567         * buffer.C (makeDocBookFile): add a comment to point a hack.
10568         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10569         Fixed a double write of labels.
10570
10571 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10572
10573         * LaTeX.C:
10574         * LaTeX.h Fixed bug in LaTeX class where it would not
10575         re-run latex if no depfiles were changed, but the .dvi was removed.
10576
10577 2001-11-28  André Pönitz <poenitz@gmx.net>
10578
10579         * all the files from the change on 2001/11/26:
10580         use lyx::layout_type instead of LyXTextClass::size_type
10581         use lyx::textclass_type instead of LyXTextClassList::size_type
10582
10583 2001-11-29  Juergen Vigna  <jug@sad.it>
10584
10585         * text.C: added support for paragraph::isFreeSpacing()
10586
10587         * buffer.C: same as above
10588
10589         * paragraph.h: inserted isFreeSpacing() function to enable
10590         FreeSpacing inside InsetERT.
10591
10592         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10593         of the paragraph's in the cut/copy buffer to 0!
10594
10595         * text2.C (removeRow): remove the assert as it can!
10596
10597         * lyxtext.h: added helper function firstRow returning firstrow and
10598         made firstrow private again.
10599
10600         * BufferView2.C (lockInset): don't relock if we're already locked!
10601
10602         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10603         the only paragraph.
10604         (removeRow): added Assert::(firstrow)
10605
10606         * debug.C: forgot to add INSETTEXT here.
10607
10608 2001-11-28  Juergen Vigna  <jug@sad.it>
10609
10610         * sp_spell.C (initialize): changed error text to more general
10611         spellchecker command use (not only ispell!)
10612
10613         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10614
10615         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10616
10617 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * vspace.C: initialise lyxgluelength on failure
10620
10621 2001-11-28  Allan Rae  <rae@lyx.org>
10622
10623         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10624         declaration & definition that looks like a function declaration.
10625
10626 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10627
10628         * BufferView2.C (copy):
10629         (copyEnvironment): do not clear the selection when doing a copy.
10630
10631         * text.C (paintFirstRow): compilation fix
10632
10633 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10634
10635         * tabular.C (Latex): correct line count when writing latex.
10636
10637 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * paragraph_pimpl.h:
10640         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10641           bug a bit
10642
10643 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * text.C:
10646         * LColor.h:
10647         * LColor.C: change vfillline->added_space
10648
10649         * text.C: add markers and text for added space
10650
10651         * vspace.C: fix comment
10652
10653 2001-11-28  André Pönitz <poenitz@gmx.net>
10654
10655         * paragraph.C: whitespace changes
10656         * all the other files from the change on 2001/11/26:
10657         change *::pos_type into lyx::pos_type
10658
10659 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10660
10661         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10662         language of the document when inserting error insets.
10663
10664 2001-11-26  André Pönitz <poenitz@gmx.net>
10665
10666         * BufferView_pimpl.[Ch]:
10667         *       CutAndPaste.C:
10668         * buffer.[Ch]:
10669         * lyxcursor.[Ch]:
10670         * lyxfind.C:
10671         * lyxfunc.C:
10672         * lyxrow.[Ch]:
10673         * paragraph.[Ch]:
10674         * paragraph_pimpl.[Ch]:
10675         * sp_spell.C:
10676         * text.C:
10677         * text2.C: reduce header dependencies, introduce type for positions
10678
10679 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * <various>: change to use Alert.h
10682
10683 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10686         when encountering an unknown token.
10687         (readLyXformat2): Show an error message if there were unknown tokens.
10688
10689 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * BufferView2.C:
10692         * BufferView_pimpl.C:
10693         * buffer.C:
10694         * paragraph.h:
10695         * text.C:
10696         * text2.C: use par->isInset()
10697
10698 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * paragraph_pimpl.h:
10701         * paragraph_pimpl.C: cleanup
10702
10703 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10704
10705         * text2.C (removeRow):
10706         * text.C (setHeightOfRow): remove useless (and costly) call to
10707         getRow.
10708
10709 2001-11-20  Allan Rae  <rae@lyx.org>
10710
10711         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10712         Now need Inset*::checkInsertChar() to return true for appropriate
10713         cases so that the characters in the minibuffer will actually be
10714         inserted.
10715
10716 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * text.C: change the order of the includes.
10719         (workWidth): initialize it at once.
10720         (workWidth): make maxw unsigned
10721         (setHeightOfRow): remove unused variable (inset)
10722         (selectSelectedWord): remove unused variable (inset)
10723         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10724
10725 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10726
10727         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10728         server is not running.
10729         (openConnection):
10730         (closeConnection): add debug info when server is disabled.
10731
10732         * ColorHandler.C (getGCForeground): send debug message to GUI
10733         channel.
10734
10735         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10736
10737         * kbmap.C (bind): modify because return conventions of
10738         kb_sequence::parse have changed.
10739
10740         * kbsequence.C (parse): only ignore spaces and not any stupid
10741         control character. This avoids tests like s[i] <= ' ', which are
10742         guaranteed to fail with 8bit characters and signed chars.
10743         Change return code to string::npos when there have been no error
10744         (0 was a bad idea when error is at first character)
10745
10746 2001-11-14  José Matos  <jamatos@fep.up.pt>
10747
10748         * buffer.h:
10749         * buffer.C (simpleDocBookOnePar): removed unused argument.
10750
10751 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10754         insets which are part of a word. Paragraph::isLetter takes care of
10755         that now. Use Paragraph::isInset to identify insets.
10756         (selectSelectedWord): do not test for hyphenation break.
10757
10758         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10759         that protected spaces are considered as spaces.
10760
10761         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10762         Inset::isLetter.
10763
10764 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * lyxserver.h:
10767         * lyxserver.C: fix it. and small cleanup.
10768
10769 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * BufferView_pimpl.C: use inline helpers
10772
10773         * LaTeXFeatures.h:
10774         * LaTeXFeatures.C: fix typos
10775
10776         * Spacing.h:
10777         * Spacing.C: move spacing_string into class
10778
10779         * ToolbarDefaults.C: move stuff into namespace anon
10780
10781         * layout.h: update enum
10782
10783         * lyxfunc.C: use better debug
10784
10785         * minibuffer.h: fix typo
10786
10787         * debug.h:
10788         * debug.C:
10789         * WorkArea.C: add and use Debug::WORKAREA
10790
10791         * lyxtext.h:
10792         * text.C:
10793         * text2.C: code re-organisation, inline helpers
10794
10795 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10796
10797         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10798         std::vector.empty().
10799
10800 2001-11-09  Allan Rae  <rae@lyx.org>
10801
10802         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10803         '\n's after tables.  Tabular and ERT inset work now makes this no
10804         longer necessary.
10805
10806 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * minibuffer.h:
10809         * minibuffer.C: fix crash, improve drop-down completion
10810
10811 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * lyxserver.h:
10814         * lyxserver.C: invalidate fd's when doing endPipe()
10815
10816 2001-11-08  José Matos  <jamatos@fep.up.pt>
10817
10818         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10819         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10820
10821         * paragraph.h:
10822         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10823
10824 2001-11-07  José Matos  <jamatos@fep.up.pt>
10825
10826         * buffer.h:
10827         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10828         const qualifier.
10829
10830         * buffer.C (sgmlOpenTag):
10831         * buffer.C (sgmlCloseTag): removed debug info.
10832
10833         * buffer.h (sgmlOpenTag):
10834         * buffer.h (sgmlCloseTag): made public.
10835
10836 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10837
10838         * buffer.C (saveParamsAsDefaults):
10839         * lyx_cb.C (MenuLayoutSave): remove
10840
10841         * LyXAction.C (init):
10842         * commandtags.h:
10843         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10844
10845 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10846
10847         * buffer.C (setPaperStuff): removed from here...
10848
10849         * bufferparams.C (setPaperStuff): ... and moved there.
10850
10851 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10852
10853         * minibuffer.h:
10854         * minibuffer.C:
10855         * XFormsView.C: add support for drop-down completion
10856
10857 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10858
10859         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10860         commands.
10861
10862 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10863
10864         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10865         disabled.
10866
10867 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * lyx_main.C: change ref to known bugs
10870
10871 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10872
10873         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10874         to work around older babel problems.
10875
10876 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10877
10878         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10879
10880 2001-10-24  Juergen Vigna  <jug@sad.it>
10881
10882         * tabular-old.C (ReadOld): below variable changes reflected.
10883
10884         * tabular.[Ch]: added ltType struct for longtable header/footer
10885         defines and changed all instances where they are used. Added
10886         future support for double top/bottom rows.
10887
10888 2001-10-24  José Matos  <jamatos@fep.up.pt>
10889
10890         * buffer.h (docbookHandleCaption):
10891         * buffer.C (docbookHandleCaption): removed unused function.
10892         (makeDocBookFile): moved docbook supported version to v4.1.
10893
10894 2001-10-24  José Matos  <jamatos@fep.up.pt>
10895
10896         * tabular.h:
10897         * tabular.C (docbookRow): new function to export docbook code of a row.
10898         (DocBook): now honors the longtable flags.
10899
10900 2001-10-23  José Matos  <jamatos@fep.up.pt>
10901
10902         * LaTeXFeatures.h:
10903         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10904         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10905
10906         * buffer.C (makeLinuxDocFile):
10907         (makeDocBookFile): reworked the preamble, more clean, and with
10908         support for lyx defined entities. Changed the document declaration
10909         to be more XML friendly.
10910
10911         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10912         if we need to output XML that should be done with a filter.
10913
10914 2001-10-22  Juergen Vigna  <jug@sad.it>
10915
10916         * sp_pspell.h (class PSpell): add alive function needed in the
10917         controller to see if the spellchecker could be started.
10918
10919 2001-10-22  Juergen Vigna  <jug@sad.it>
10920
10921         * buffer.C (insertStringAsLines): modify the font for inserting
10922         chars in certain conditions by calling checkInsertChar(font).
10923
10924 2001-10-19  Juergen Vigna  <jug@sad.it>
10925
10926         * text.C (workWidth): use getRow instead of wrong algorithm.
10927         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10928
10929 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10930
10931         * lyxserver.h:
10932         * lyxserver.C:
10933         * lyx_main.h:
10934         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10935
10936 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10937
10938         * text.C (workWidth): do not search for the exact row when
10939         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10940         optimization for big documents.
10941
10942 2001-10-18  Juergen Vigna  <jug@sad.it>
10943
10944         * text.C (workWidth): new function with added Inset * parameter.
10945
10946 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10947
10948         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10949
10950         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10951         change return type of getColumnNearX.
10952
10953
10954         * text.C (changeRegionCase): use uppercase/lowercase instead of
10955         toupper/tolower.
10956         (leftMargin):
10957         (rightMargin): simplify code by factoring out the uses of
10958         textclasslist.
10959         (labelFill):
10960         (numberOfHfills):
10961         (setHeightOfRow):
10962         (appendParagraph): use Paragraph::size_type
10963
10964 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10965
10966         * vspace.C (asLatexString): add a missing break
10967
10968 2001-10-15  Herbert Voss  <voss@perce.de>
10969
10970         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10971
10972 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10973
10974         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10975         is not available.
10976
10977 2001-10-10  André Pönitz <poenitz@gmx.net>
10978
10979         * lyxfunc.C: removed greek_kb_flag.
10980
10981 2001-10-10  Herbert Voss  <voss@perce.de>
10982
10983         * lyx_main.C: delete global string help_lyxdir.
10984
10985 2001-10-09  Herbert Voss  <voss@perce.de>
10986
10987         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10988
10989         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10990
10991         * lyx_main.C: added global string help_lyxdir.
10992
10993         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10994
10995 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10996
10997         * lyxrc.C (set_font_norm_type): support iso8859-4
10998
10999 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11000
11001         * LaTeX.C (deplog): add another regex for MikTeX
11002
11003 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11004
11005         * lyxrc.C (set_font_norm_type): support iso8859-3
11006
11007 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11008
11009         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11010
11011         * LaTeXFeatures.C: remove special case of french and index
11012
11013         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11014         before \begin{document}). This solves several incompatibilities.
11015
11016 2001-10-03  Garst Reese  <reese@isn.net>
11017
11018         * lyx_cb.C: change CheckTex error msg.
11019
11020 2001-10-03  José Matos  <jamatos@fep.up.pt>
11021
11022         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11023
11024 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11025
11026         * .cvsignore: update
11027
11028         * lyx_main.C (commandLineVersionInfo): use new style version info.
11029
11030         * buffer.C (writeFile):
11031         (makeLaTeXFile):
11032         (makeLinuxDocFile):
11033         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11034
11035         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11036
11037         * version.h: update to use stuff in version.C
11038
11039         * version.C.in: new file. Contains version information determined
11040         at compile time. This is a merging of version.h and
11041         version_info.h.in.
11042
11043 2001-10-03  Juergen Vigna  <jug@sad.it>
11044
11045         * BufferView_pimpl.C (update): don't change "dirty" status in
11046         updateInset call.
11047
11048 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11049
11050         * WorkArea.C (c-tor): re-position version string slightly.
11051
11052 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11053
11054         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11055         revert to previous code.
11056
11057         WorkArea.[Ch]: (show, destroySplash): methods removed.
11058
11059         WorkArea.C: rework code so that it's an amalgam of the codes before and
11060         after the splash screen was moved to WorkArea.
11061
11062 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11063
11064         * lyxrc.C (read):
11065         * vspace.C (inPixels):
11066         (lyx_advance):
11067         * kbmap.C (bind):
11068         * buffer.C (insertStringAsLines):
11069         (asciiParagraph): fix types to be large enough
11070
11071         * lyxlex_pimpl.h: change member status from short to int
11072
11073         * layout.h: fix type of endlabeltype
11074
11075         * kbmap.C (bind):
11076         * kbsequence.C (parse): change return type to string::size_type
11077
11078         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11079         variable
11080
11081         * Bullet.C (bulletSize):
11082         (bulletEntry): do not use short ints as parameters
11083
11084         * BufferView2.C (insertLyXFile): change a char to an int.
11085
11086         * WorkArea.C (WorkArea): remove unneeded floats in computation
11087
11088 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11089
11090         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11091
11092         * paragraph.C (asString): Do not ignore newline/hfill chars when
11093         copying to the clipboard.
11094
11095 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11096
11097         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11098         after a multi-line inset.
11099
11100 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11101
11102         * paragraph.C (validate): Set NeedLyXFootnoteCode
11103
11104 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11105
11106         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11107         and decrease-error to decrease.
11108
11109 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11110
11111         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11112         it more readable (should be equivalent)
11113
11114 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11115
11116         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11117
11118 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11119
11120         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11121         of a cursor (row, etc.) after a character has been deleted
11122         (deleteEmptyParagraphMechanism): call the method above on _all_
11123         cursors held by the LyXText when a double space has been
11124         detected/deleted.
11125
11126 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11127
11128         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11129         pixmap.
11130         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11131
11132         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11133         background. Use greyOut() and the new show() methods to toggle between
11134         the foreground and background. Add code to remove the splash after
11135         its initial showing.
11136
11137         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11138         (create_forms): no longer call Dialogs::showSplash.
11139
11140 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11141
11142         * .cvsignore: add version_info.h
11143
11144 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11145
11146         * version_info.h.in: new file
11147
11148         * Makefile.am: add version_info.h.in
11149
11150         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11151         version_info.h instead of VERSION_INFO
11152
11153 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11154
11155         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11156         The ERT inset now returns string().
11157
11158 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11159
11160         * lyxtext.h, text.C (selectNextWord): renamed as
11161         selectNextWordToSpellcheck.
11162
11163         * text.C (selectNextWordToSpellcheck): Modified to not select
11164         words inside an ERT inset.
11165
11166 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11167
11168         * lyx_cb.C (MenuLayoutSave): change a bit the question
11169
11170         * sp_base.h: include <sys/types.h>
11171
11172 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11173
11174         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11175
11176 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11177
11178         * several files: fix typos in user-visible strings
11179
11180 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11181
11182         * text2.C (pasteSelection): do not set the selection, since it
11183         will be cleared later. Actually, the intent was to fix the way the
11184         selection was set, but I figured rmoving the code was just as good.
11185
11186 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11187
11188         * FontLoader.C (available): Check if font is available without
11189         loading the font.
11190
11191 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11192
11193         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11194
11195 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11196
11197         * lyxrc.[Ch]: added display_graphics variable and associated code.
11198
11199 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11200
11201         * bufferparams.C (hasClassDefaults): new method. Returns true if
11202         the buffer parameters correspond to known class defaults
11203
11204 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11205
11206         * XFormsView.C (show): set minimum size to the main window.
11207
11208 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11209
11210         * text2.C (copySelection):
11211         (cutSelection):
11212         * lyxfind.C (LyXReplace):
11213         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11214         LyXText::selectionAsString.
11215
11216         * paragraph.C (asString): add "label" argument to the second form
11217
11218         * text2.C (selectionAsString): add "label" argument and pass it to
11219         Paragraph::asString.
11220
11221 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11222
11223         * lyx_main.C (commandLineHelp): remove version information
11224
11225 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11226
11227         * lyx_main.C: add -version commandline option
11228
11229 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * paragraph.h: make the optional constructor arg required instead.
11232         some modifications to other files because of this.
11233
11234         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11235
11236         * lyxserver.C (C_LyXComm_callback): make it static
11237
11238         * lyx_main.C (error_handler): make it static
11239
11240         * lyx_gui.C (LyX_XErrHandler): make it static
11241
11242         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11243
11244         * WorkArea.C: make the extern "C" methods static.
11245
11246         * Makefile.am (lyx_LDADD): simplify
11247
11248 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11249
11250         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11251         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11252
11253         * LyXAction.C (init):
11254         * lyxfunc.C (dispatch): associated code removal.
11255
11256 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11257
11258         * lyxfont.h (isSymbolFont): shut off warning
11259
11260         * text.C (setHeightOfRow):
11261         (getVisibleRow): fix crash with empty paragraphs which have a
11262         bottom line
11263
11264 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11265
11266         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11267         code.
11268
11269 2001-09-04  José Matos  <jamatos@fep.up.pt>
11270         * buffer.C
11271         * buffer.h
11272         * tabular.C (docbook): rename docBook method to docbook.
11273
11274 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11275
11276         * Makefile.am: add dependencies to main.o.
11277
11278 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11279
11280         * FontLoader.C (available): Return false if !lyxrc.use_gui
11281
11282 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11283
11284         * FontInfo.C (query):
11285         * converter.C (view):
11286         * importer.C (Import):
11287         * exporter.C (Export): Can not -> cannot.
11288
11289 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * BufferView_pimpl.C: allow to create index inset even if
11292           string is empty
11293
11294 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11295
11296         * buffer.C (getLists): replace boost::tie code with an explicit pair
11297         as boost::tie can break some compilers.
11298
11299         * iterators.h: Added a std:: declaration to the return type of
11300         ParIterator::size.
11301
11302 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11303
11304         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11305           case.
11306
11307 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11308
11309         * iterators.[Ch]: New files. Provide paragraph iterators.
11310
11311         * buffer.C (changeLanguage): Use paragraph iterators.
11312         (isMultiLingual): ditto
11313
11314         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11315
11316 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11317
11318         * FontLoader.C: Support for cmr font.
11319
11320 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11321
11322         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11323         (available): New method.
11324
11325         * FontInfo.C (getFontname): Use scalable fonts even when
11326         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11327         found.
11328
11329 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11330
11331         * converter.C (Formats::view): reverted! Incorrect fix.
11332
11333 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11334
11335         * converter.C (Formats::view): only output the -paper option
11336         if the dvi viewer is xdvi, thereby fixing bug #233429.
11337
11338 2001-08-23  Herbert Voss  <voss@perce>
11339
11340         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11341
11342 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11343
11344         * Spacing.h (Spacing): Set space to Default on in the default
11345         constructor.
11346
11347 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * vc-backend.h (RCS::versionString): add RCS to version
11350         (CVS::versionString): add CVS to version
11351
11352         * vc-backend.C (scanMaster): do not add CVS to version.
11353         (scanMaster): do not add RCS to version
11354
11355         * lyxvc.C (versionString): new method
11356
11357         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11358
11359 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * Spacing.C (set): initialize fval
11362
11363 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11364
11365         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11366         " or \.
11367
11368 2001-08-16  Juergen Vigna  <jug@sad.it>
11369
11370         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11371
11372 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11373
11374         * BufferView_pimpl.C:
11375         * figureForm.C:
11376         * lyxtext.h:
11377         * text2.C: setParagraph takes linespacing now
11378
11379 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * LyxAction.C: add internal LFUN_CITATION_INSERT
11382
11383         * LyXView.C: actually apply fix
11384
11385         * bufferlist.C: fix open non-existent file
11386
11387         * lyxfind.C: fix indentation
11388
11389         * lyxfunc.C: remove unneeded assert, fix typo
11390
11391 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * MenuBackend.C: use "Floatname List"
11394
11395 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11396
11397         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11398         when converting LaTeX layout to insetERT.
11399         Generate a non-collapsed float when reading old float
11400
11401 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11402
11403         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11404         ERT insets.
11405
11406 2001-08-13  Juergen Vigna  <jug@sad.it>
11407
11408         * text.C (fill): return 0 instead of 20 as this seems to be the more
11409         correct value.
11410
11411 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11412
11413         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11414         lyxrc.font_norm.
11415
11416 2001-08-13  Juergen Vigna  <jug@sad.it>
11417
11418         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11419         casesensitive off.
11420         (SearchBackward): comment out the unlocking of the inset_owner this
11421         should not be needed!
11422
11423 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11424
11425         * Many files: Remove inherit_language, and add latex_language
11426
11427         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11428         collapsible insets.
11429
11430 2001-08-10  Juergen Vigna  <jug@sad.it>
11431
11432         * text.C (prepareToPrint): fixed hfill-width in draw!
11433
11434         * BufferView2.C (selectLastWord): save the selection cursor as this
11435         now is cleared in the function LyXText::clearSelection!
11436
11437 2001-08-08  Juergen Vigna  <jug@sad.it>
11438
11439         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11440         BACKSPACE type functions.
11441
11442         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11443         is only cutted from the document but not put in the cut-buffer, where
11444         still the old stuff should be.
11445
11446         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11447
11448         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11449
11450         * tabular.C (SetWidthOfCell): fixed special case where the width
11451         was not updated!
11452         (LeftLine): handle '|' in align_special.
11453         (RightLine): ditto
11454         (LeftAlreadyDrawed): ditto
11455         (SetWidthOfCell): ditto
11456
11457 2001-08-07  Juergen Vigna  <jug@sad.it>
11458
11459         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11460
11461 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11464         * lyxlex.[hC]: ditto
11465
11466 2001-08-06  Juergen Vigna  <jug@sad.it>
11467
11468         * text.C (getVisibleRow): fix up row clearing a bit.
11469
11470 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * minibuffer.C: make sure the X server sees the changes in the input.
11473
11474 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * paragraph.C (getFont): split into...
11477         (getLabelFont): this
11478         (getLayoutFont): and this
11479         * paragraph_pimpl.C (realizeFont): calling this
11480
11481         * text2.C (getFont): split into...
11482         (getLayoutFont): this
11483         (getLabelFont): and this
11484         (realizeFont): all three calling this
11485
11486         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11487         files where used.
11488
11489 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11490
11491         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11492
11493 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11494
11495         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11496         layouts from the Quote inset insertion.
11497
11498 2001-08-03  Juergen Vigna  <jug@sad.it>
11499
11500         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11501
11502         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11503         only if status not is already CHANGED_IN_DRAW (second level).
11504
11505         * text.C (draw): don't set the need_break_row when inside an
11506         InsetText LyXText.
11507
11508 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11509
11510         * buffer.C (parseSingleLyXformat2Token): handle more latex
11511         conversion cases.
11512
11513         * bufferview_funcs.[hC]: change function names to
11514         begin with small char, adjust other files.
11515
11516 2001-08-02  André Pönitz <poenitz@gmx.net>
11517
11518         * lyxfunc.C:
11519         BufferView_pimpl.C: remove broken special code for math-greek
11520
11521 2001-08-02  Juergen Vigna  <jug@sad.it>
11522
11523         * BufferView_pimpl.C (update): redone this function so that we
11524         update the text again if there was a CHANGE_IN_DRAW.
11525
11526         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11527         (drawFromTo): added a new internal bool which is used by draw() and
11528         redraw() function.
11529         (general): some cursor drawing problems fixed.
11530
11531 2001-08-01  Juergen Vigna  <jug@sad.it>
11532
11533         * lyxfind.C (LyXFind): fixed
11534         (SearchForward): ditto
11535         (SearchBackward): ditto
11536
11537         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11538         spurius drawing of the cursor in the main area.
11539
11540         * text2.C (status): small fix which could lead to a segfault!
11541         (clearSelection): remove unneeded BufferView param.
11542
11543 2001-08-01  André Pönitz <poenitz@gmx.net>
11544
11545         * lyxfunc.C: small change due to changed mathed interface
11546
11547 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11548
11549         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11550
11551 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11552
11553         * lyxfunc.c: fail gracefully if file doesn't exist
11554
11555         * LyXSendto.C:
11556         * buffer.C:
11557         * lyxfunc.C:
11558         * BufferView_pimpl.C: IsDirWriteable() proto changed
11559
11560         * LyXView.C: fix updateWindowTitle() to store the last title
11561
11562 2001-07-31  Juergen Vigna  <jug@sad.it>
11563
11564         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11565         the font (wrong since using of Paragraph::highestFontInRange).
11566
11567         * paragraph.C (highestFontInRange): added a default_size parameter.
11568
11569         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11570         (setHeightOfRow): reformat
11571
11572 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11573
11574         * converter.[hC] + affected files: move to (inital-char)lowercase
11575         function names.
11576
11577         * ParagraphParameters.C (ParagraphParameters): remove commented code
11578
11579         * PainterBase.[Ch]: remove commented code
11580
11581         * LaTeXFeatures.h: add "bool floats" for float.sty
11582
11583         * LaTeXFeatures.C (LaTeXFeatures): init floats
11584         (require): handle float
11585         (getPackages): do it with floats
11586
11587 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11588
11589         * BufferView_pimpl.C (Dispatch): improve handling of
11590         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11591
11592         * commandtags.h: #include lyxfont.h here temporarily to avoid
11593         keybinding bug.
11594
11595         * bufferlist.h: include LString.h here.
11596
11597 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11598
11599         * text2.C (getStringToIndex): new method.
11600
11601 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11602
11603         * *: Reduced header file dependencies all over.
11604
11605 2001-07-30  Baruch Even  <baruch@lyx.org>
11606
11607         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11608
11609 2001-07-29  Baruch Even  <baruch@lyx.org>
11610
11611         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11612
11613 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * ParameterStruct.h (endif): add a default constructor to make
11616         sure that all variables is initialized.
11617
11618         * ParagraphParameters.C (ParagraphParameters): adjust
11619
11620 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11621
11622         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11623         index; also, check that there is something to index, and that it
11624         does not span over several paragraphs.
11625         (doubleClick): use WHOLE_WORD_STRICT for double click.
11626
11627         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11628
11629         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11630         scheme.
11631
11632 2001-07-26  Baruch Even  <baruch@lyx.org>
11633
11634         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11635         an InsetFig figure, backwards compatible reading of old figure code.
11636
11637 2001-07-27  Juergen Vigna  <jug@sad.it>
11638
11639         * text2.C: font.realize function adaption.
11640
11641         * text.C (draw): add a warnings lyxerr text if needed.
11642
11643         * layout.C: font.realize function adaption.
11644
11645         * language.C: add inherit_language and implement it's handlings
11646
11647         * bufferview_funcs.C (StyleReset): remove language parameter from
11648         font creation (should be language_inherit now).
11649
11650         * bufferparams.C (writeFile): handle ignore_language.
11651
11652         * paragraph.C (getFontSettings): the language has to be resolved
11653         otherwise we have problems in LyXFont!
11654
11655         * lyxfont.C (lyxWriteChanges): added document_language parameter
11656         (update): removed unneeded language parameter
11657
11658         * paragraph.C (validate): fixed wrong output of color-package when
11659         using interface colors for certain fonts in certain environments,
11660         which should not seen as that on the final output.
11661
11662 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11663
11664         * BufferView_pimpl.C:
11665         * Thesaurus.h:
11666         * Thesaurus.C:
11667         * Makefile.am:
11668         * commandtags.h:
11669         * LyXAction.C: add thesaurus support
11670
11671         * lyxfind.h:
11672         * lyxfind.C: add "once" parameter, for thesaurus, to not
11673           move to the next match
11674
11675 2001-07-26  Juergen Vigna  <jug@sad.it>
11676
11677         * lyxfont.C (realize): honor ignore_language too!
11678         (resolved): ditto.
11679
11680         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11681
11682         * text.C (draw): one place more for ignore_language to not draw
11683         itself!
11684
11685 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11686
11687         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11688
11689 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11692         the minipage conversion problem.
11693
11694 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11695
11696         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11697         insert an inset.
11698
11699 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * BufferView.h: don't forward declare WorkArea
11702
11703         * BufferView.C: don't include WorkArea.h
11704
11705 2001-07-25  André Pönitz <poenitz@gmx.net>
11706
11707         * commandtags.h:
11708         * LyXAction.C:
11709         * lyxfunc.C:  new LFUN 'math-space'
11710
11711         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11712
11713 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11714
11715         * text2.C (toggleInset): call open/close
11716
11717 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11718
11719         * lyxfunc.C (dispatch): add debug for the disabled case
11720
11721         * font.C (buttonText): make similar to rectText
11722
11723         * buffer.C (readInset): comment out parsing of insetlist and
11724         insttheorem
11725
11726         * PainterBase.C (rectText): small correction
11727
11728         * BufferView_pimpl.C: comment out insettheorem and insetlist
11729         * LyXAction.C: ditto
11730         * commandtags.h: ditto
11731
11732 2001-07-24  Juergen Vigna  <jug@sad.it>
11733
11734         * text.C (draw): honor the ignore_language.
11735
11736         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11737
11738 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11739
11740         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11741         char inset.
11742
11743 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11744
11745         * lyxtext.h: remove unused (and unimplemented) methods
11746
11747 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11748
11749         * text.C (getVisibleRow): honor background color
11750
11751         * PainterBase.h:
11752         * Painter.h: remove default color argument for fillRectangle
11753
11754         * text.C (backgroundColor): new method
11755
11756 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11757
11758         * text.C (getVisibleRow): adjust
11759
11760         * font.[Ch] (rectText): new method, metrics
11761         (buttonText): new method, metrics
11762
11763         * PainterBase.[hC]: make rectText and buttonText always draw and take
11764         fewer paramteres.
11765
11766 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11767
11768         * ToolbarDefaults.C (read):
11769         * MenuBackend.C (read): allow escaping in all strings
11770
11771         * BufferView_pimpl.C (insertAndEditInset): new method.
11772         (Dispatch): use insertAndEditInset whenever appropriate.
11773
11774         * BufferView_pimpl.C (insertNote): removed
11775
11776         * BufferView_pimpl.C (smartQuote): new method, moved from
11777         BufferView; if an insetquote cannot be inserted, insert a '"'
11778         character instead.
11779
11780         * BufferView2.C: remove insertCorrectQuote();
11781
11782         * lyxfunc.C (getStatus): Add support for all remaingin
11783         inset-insert lfuns.
11784
11785         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11786
11787         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11788         command (necessary to pass " as parameter of self-insert.
11789
11790         * text.C (selectWordWhenUnderCursor):
11791         (selectWord): add word_location parameter
11792         (selectWordWhenUnderCursor): same + remove special code for word
11793         boundary.
11794         (selectNextWord): use kind() to guess type of insetspecialchar,
11795         not latex().
11796
11797         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11798         (insertErtContents): create ert insets as collapsed.
11799         (readInset): better compatibility code for Info inset.
11800
11801 2001-07-20  Juergen Vigna  <jug@sad.it>
11802
11803         * lyxfunc.C (dispatch): use always LyXFind now!
11804
11805         * text2.C (init): add a reinit flag so that the LyXText can be
11806         reinited instead of deleted and reallocated (used in InsetText).
11807
11808         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11809
11810         * text.C: ditto
11811
11812         * text2.C: ditto
11813
11814 2001-07-18  Juergen Vigna  <jug@sad.it>
11815
11816         * text.C (selectNextWord): handle insets inside inset by calling
11817         always the bv->text functions so that we can go up the_locking_inset!
11818
11819         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11820         in strange locations when inside an inset!
11821
11822         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11823         handling to include insets.
11824
11825         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11826
11827 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11828
11829         * LyXAction.C (init):
11830         * commandtags.h:
11831         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11832         LIGATURE_BREAK, since the name is so stupid.
11833
11834 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11835
11836         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11837         InsetInfos.
11838
11839         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11840
11841         * sp_form.[Ch]: remove.
11842
11843         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11844
11845         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11846         InsetInfo.
11847
11848         * src/buffer.C (readInset): ditto.
11849
11850 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11851
11852         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11853         menuSeparator(), endOfSentenceDot(), ldots() and
11854         hyphenationPoint(), which are therefore removed.
11855         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11856
11857         * LyXAction.C (init):
11858         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11859
11860         * paragraph.C (getWord): removed.
11861
11862         * BufferView_pimpl.C (Dispatch): use last word or selection for
11863         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11864
11865         * lyx_main.C (queryUserLyXDir): do not ask before creating
11866         user_dir, except if it has been named explicitely.
11867
11868 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11869
11870         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11871         a document of zero size.
11872
11873 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11876         approriately in the c-tor and in require().
11877         (getPackages): output the appropriate LaTeX for natbib support.
11878
11879         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11880         variables "use_natbib" and "use_numerical_citations" when reading the
11881         LyX file.
11882         (readInset): read the various natbib cite commands.
11883         (validate): white-space change.
11884
11885         * bufferparams.[Ch]: new variables "bool use_natbib" and
11886         "bool use_numerical_citations".
11887         (writeFile): output them in the LyX file.
11888
11889 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11890
11891         * lyxfunc.C (getStatus): add support for all the inset insertion
11892         commands.
11893
11894         * text2.C (insertInset):
11895         * paragraph.C (insetAllowed):
11896         * BufferView_pimpl.C (insertInset): update to take in account the
11897         renaming of insertInsetAllowed
11898
11899         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11900
11901         * text2.C (getInset): new method. returns inset at cursor position.
11902
11903         * BufferView_pimpl.C (Dispatch): changes because of this.
11904
11905         * LyXAction.C (init): rename open-stuff to inset-toggle.
11906
11907         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11908
11909         * text2.C (toggleInset): renamed from openStuff; use
11910         Inset::open().
11911
11912 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11913
11914         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11915
11916         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11917
11918 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11919
11920         * buffer.C (readLyXformat2): Add filename to the error dialog
11921
11922 2001-07-18  Juergen Vigna  <jug@sad.it>
11923
11924         * tabular.C (GetCellNumber): put an assert here instead of the check!
11925
11926 2001-07-17  Juergen Vigna  <jug@sad.it>
11927
11928         * BufferView_pimpl.C (toggleSelection): adapted too.
11929
11930         * text.C (selectNextWord): adapted for use with insets.
11931         (selectSelectedWord): ditto
11932
11933 2001-07-17  Juergen Vigna  <jug@sad.it>
11934
11935         * sp_spell.C (PSpell): fix initialitation order.
11936
11937 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * paragraph.C: spacing
11940
11941 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11942
11943         * sp_spell.C: repair language selection for pspell
11944
11945 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * lyxfunc.h: change more methods to begin with lower char.
11948
11949 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11950
11951         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11952         for unknown layouts.
11953
11954 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11955
11956         * buffer.C (readLyXformat2): Generate an error dialog if there are
11957         unknown layouts.
11958
11959 2001-07-16  Juergen Vigna  <jug@sad.it>
11960
11961         * sp_spell.C: always compile ISpell part.
11962
11963         * lyxrc.C: added use_pspell entry and it's handling.
11964
11965 2001-07-13  Juergen Vigna  <jug@sad.it>
11966
11967         * sp_spell.C: removed double includes.
11968
11969 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         Consistent use of Lsstream.h:
11972         * Lsstream.h: added using std::stringstream for consistencies sake.
11973
11974         * buffer.C: removed using std::stringstream
11975
11976         * lyxfont.C (stateText):
11977         * paragraph.C (asString):
11978         * text.C (selectNextWord, selectSelectedWord):
11979         * text2.C (setCounter):
11980         * vspace.C (asString, asLatexString):
11981         std::ostringstream -> ostringstream.
11982
11983 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11984
11985         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11986         * commandtags.h: add LFUN_HELP_ABOUTLYX
11987         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11988
11989 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11990
11991         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11992         cursorToggle()
11993         * lyx_gui_misc.C: remove spellchecker
11994         * lyxfunc.C: showSpellchecker
11995         * sp_base.h: added
11996         * sp_ispell.h: added
11997         * sp_pspell.h: added
11998         * sp_spell.C: added
11999         * sp_form.[Ch]: removed
12000         * spellchecker.[Ch]: removed
12001
12002 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12003
12004         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12005         is set.
12006         (simpleTeXSpecialChars): Simply print the input character without
12007         any special translation if pass_thru is set.
12008
12009         * layout.h: Added bool pass_thru to layout class for being able to
12010         implement pass through of a paragraph for Literate Programming.
12011
12012         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12013         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12014         * layout.C (Read): add "passthru" to list of layout tags and add
12015         code to set the pass_thru boolean when it is read.
12016
12017 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12018
12019         * trans_decl.h: remove allowed from KmodInfo
12020
12021         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12022         remove allowed code
12023         (Load): adjust
12024
12025         * paragraph_pimpl.C (erase): use boost::prior
12026
12027         * Painter.C (text): use data() instead of c_str() when length is
12028         also provided.
12029         * WorkArea.C (putClipboard): ditto
12030         * font.h (width): ditto
12031
12032         * BufferView2.C: use it-> instead of (*it). for iterators
12033         * texrow.C: ditto
12034         * paragraph_pimpl.C: ditto
12035         * paragraph.C: ditto
12036         * minibuffer.C: ditto
12037         * language.C: ditto
12038         * kbmap.C: ditto
12039         * encoding.C: ditto
12040         * counters.C: ditto
12041         * converter.C: ditto
12042         * chset.C: ditto
12043         * Variables.C: ditto
12044         * TextCache.C: ditto
12045         * MenuBackend.C: ditto
12046         * LyXAction.C: ditto
12047         * LColor.C: ditto
12048         * FloatList.C: ditto
12049         * DepTable.C: ditto
12050         * ColorHandler.C (LyXColorHandler): ditto
12051
12052 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12053
12054         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12055
12056         * text2.C (openStuff): reintroduce this method (which had been
12057         nuked in NEW_INSETS frenzy).
12058
12059         * lyxfunc.C (Dispatch): when an action has not been handled, use
12060         its name in the error message, not its number.
12061
12062         * paragraph.C (inInset): change method name to begin with lowercase.
12063
12064         * undo_funcs.C:
12065         * text2.C: updates because of this.
12066
12067 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12068
12069         * ToolbarDefaults.C (add): add spaces in error message
12070
12071 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12072
12073         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12074         (readLyXformat2): rename return_par to first_par, use lyxlex's
12075         pushToken and remove the manual push handling.
12076         (parseSingleLyXformat2Token): add another ert comp. variable:
12077         in_tabular, rename return_par to first_par. handle newlines better
12078
12079 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12080
12081         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12082
12083 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12084
12085         * text2.C (getParFromID): removed
12086
12087         * buffer.C (getParFromID): new method moved form lyxtext.
12088         * BufferView2.C (insertErrors): adjust
12089         (setCursorFromRow): adjust
12090         * BufferView_pimpl.C (restorePosition): adjust
12091         * lyxfunc.C (Dispatch): adjust
12092         * undo_funcs.C (textUndo): adjust
12093         (textRedo): adjust
12094         (textHandleUndo): adjust
12095         (textHandleUndo): adjust
12096
12097 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * buffer.C: up' the LYX_FORMAT
12100
12101         * lyxfont.h: turn NO_LATEX on as default
12102
12103         * buffer.C (insertErtContents): new methods of tex style compability.
12104         (parseSingleLyXformat2Token): use it several places.
12105         * tabular.C (OldFormatRead): and here
12106
12107 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * text2.C: remove some commented code.
12110         reindent file.
12111
12112         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12113         * trans.C: changes because of the above.
12114
12115 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12116
12117         * text2.C (setCounter): Fix counters bug with bibliography layout.
12118
12119 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12120
12121         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12122         own member functions
12123         (simpleTeXSpecialChars): ditto
12124
12125 2001-07-06  Juergen Vigna  <jug@sad.it>
12126
12127         * a lot of files: changed the access to LyXText::status and the
12128         call of undo-functions.
12129
12130         * undo.[Ch]: added a inset_id to the undo informations.
12131
12132         * undo_funcs.[Ch]: added and moved here all undo functions.
12133
12134         * lyxtext.h: give the status enum a weight, made status_ a private
12135         variable and made accessor functions for it, removed the whole bunch
12136         of undo-functions as they are now in their own file, make some
12137         functions publically available. Added function ownerParagraph with
12138         int parameter.
12139
12140         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12141         made InInset() a const function, added getParFromID() function.
12142
12143         * buffer.[Ch]: added const version for inset_iterator functions,
12144         added getInsetFromID() function.
12145
12146         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12147         changed undo functions for new version.
12148
12149 2001-07-05  Juergen Vigna  <jug@sad.it>
12150
12151         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12152         unknow mechanism does not call the proper constructor but only this
12153         one also if I request the other!?
12154
12155 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12158
12159         * text2.C (LyXText): use initialization lists.
12160
12161         * lyxtext.h (Selection): initialize set_ and mark_
12162         (init): remove method
12163
12164 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12165
12166         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12167
12168 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12169
12170         * screen.[Ch]: change method names to begin with lowercase
12171
12172         * BufferView_pimpl.C (updateScrollbar): simplify further and
12173         hopefully make it a bit faster.
12174
12175 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12176
12177         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12178         calling directly xforms functions.
12179
12180         * Painter.C (Painter):
12181         * lyx_cb.C (MenuWrite):
12182         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12183         fl_display.
12184
12185         * lyx_gui.C: remove bogus guiruntime extern declaration.
12186
12187 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12190         in NEW_INSETS
12191         (redoDrawingOfParagraph): ditto
12192         (redoParagraphs): ditto
12193         (cutSelection): don't create a object for CutAndPaste use the
12194         static method directly
12195         (pasteSelection): ditto
12196
12197         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12198         LyXview (+ rename)
12199
12200 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12201
12202         * modifications to some other files because of this.
12203
12204         * Makefile.am (lyx_SOURCES): add XFormsView
12205
12206         * XFormsView.[Ch]: new files
12207
12208         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12209         the main window. Move the gui dependent stuff to XFormsView
12210
12211 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12212
12213         * tabular.C (GetCellInset): update cur_cell also in the row/col
12214         version of this function.
12215
12216         * lyxfunc.C: no need to include figure_form.h here.
12217
12218         * FontLoader.h:
12219         * lyxfunc.h:
12220         * lyxscreen.h:
12221         * text2.C:
12222         * lyxvc.C: no need to include forms.h here.
12223
12224 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12225
12226         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12227
12228         * lyxfunc.C (Dispatch):
12229         * Spacing.C (set):
12230         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12231         constructor argument.
12232
12233 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * paragraph.C (Paragraph): dont't clear, and just set layout.
12236         (makeSameLayout): use params's copy contructor.
12237
12238         * ParagraphParameters.[Ch] (makeSame): delete method
12239
12240 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * Variables.[Ch]: fix indentation, rename set to isSet
12243
12244 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * lyxfunc.C (Dispatch): fix typo
12247
12248 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12249
12250         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12251         upper_bound.
12252
12253         * bufferlist.C: include assert.h for emergencyWrite().
12254
12255 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12258           give up at last (bug #425202) !
12259
12260 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * lyx_gui_misc.C:
12263         * sp_form.h:
12264         * sp_form.C:
12265         * spellchecker.h:
12266         * spellchecker.C: strip spellchecker options and bring up
12267           preferences tab instead
12268
12269 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12270
12271         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12272         the istringstream constructor
12273
12274 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12275
12276         * paragraph.C (getLayout): fix return value
12277
12278         * paragraph.h: do not declare getLayout as inline.
12279
12280         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12281
12282 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * lyxcursor.h (operator<): new func
12285         (operator>): new func
12286         (operator>=): new func
12287         (operator<=): new func
12288
12289         * text.C (changeCase): use selection.start and selection.end
12290         (changeRegionCase): require from to be <= to. Require par to be a
12291         valid paragraph.
12292
12293         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12294
12295 2001-06-27  Juergen Vigna  <jug@sad.it>
12296
12297         * text.C (cursorLeftOneWord): changed to return the cursor and added
12298         overlay with BufferView * parameter which calls this one.
12299         (getWord): added
12300         (selectWord): use new getWord function.
12301         (changeCase): renamed from changeWordCase as and extended to work
12302         also on selections.
12303
12304         * lyxtext.h: added enum word_location
12305
12306         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12307         changeCase as this operates now also on selections.
12308
12309 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12310
12311         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12312
12313         * many files: send debug output to Debug::INFO instead of
12314         Debug::ANY.
12315
12316         * converter.C (View):
12317         (Convert):
12318         (Move): send debug output to Debug::FILES instead of console.
12319
12320 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12321
12322         * lyxfunc.C (getStatus): use func_status
12323
12324         * func_status.h: new header, describing the results of
12325         LyXFunc::getStatus;
12326
12327         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12328         LFUN_MATH_HALIGN.
12329
12330 2001-06-25  The LyX Project  <jug@sad.it>
12331
12332         * buffer.C (sgmlOpenTag):
12333         (sgmlCloseTag):
12334         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12335
12336 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * text2.C: remove some dead code
12339
12340         * tabular.C (GetCellInset): store the last cell checked (gotten)
12341
12342         * tabular.h: add the helper for the speedup
12343
12344         * lyxtext.h: remove some dead code
12345
12346 2001-06-26  The LyX Project  <Asger>
12347
12348         * paragraph.C: Change export to LaTeX of alignment to
12349         \begin{center} and family for better roundtrip work with reLyX.
12350
12351         * Tune the math drawing a bit.
12352
12353 2001-06-25  The LyX Project  <Asger>
12354
12355         * LColor.C (LColor): New color for math background. New color
12356         for buttons.
12357
12358 2001-06-25  The LyX Project  <jug@sad.it>
12359
12360         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12361
12362         * lyxfunc.C (Open):
12363         * bufferlist.C (newFile): do not restrict to files ending with
12364         .lyx
12365
12366         * BufferView_pimpl.C (MenuInsertLyXFile):
12367
12368 2001-06-24  The LyX Project  <jug@sad.it>
12369
12370         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12371         of compare_no_case
12372
12373 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * lyxtext.h: rename most methods to begin with a small char.
12376         Lots of changes because of this.
12377
12378         * paragraph.C (Paragraph): do not call fitToSize
12379         (erase): call Pimpl::erase
12380         (insertChar): call Pimpl::insertChar
12381         (insertInset): call Pipl::insertInset
12382         (breakParagraph): do not call fitToSize
12383         (breakParagraphConservative): do not call fitToSize
12384         (fitToSize): remove method
12385
12386         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12387
12388 2001-06-24  The LyX Project  <Asger>
12389
12390         * Fix Qt compilation^2
12391
12392 2001-06-24  The LyX Project  <jug@sad.it>
12393
12394         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12395         depthHook(getDepth()-1).
12396
12397         * paragraph.h:
12398         * ParagraphParameters.h:
12399         * ParameterStruct.h: change type of depth to unsigned int ==
12400         depth_type. Many adaptations to other files before of that.
12401
12402 2001-06-24  The LyX Project  <Asger>
12403
12404         * Fix Qt compilation.
12405
12406 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12407
12408         * paragraph.h: renamed several methods to begin with small letter.
12409         several changes to many parts of the code because of this.
12410
12411 2001-06-23  The LyX Project  <jug@sad.it>
12412
12413         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12414         rewritten to discard all double spaces when KeepEmpty is off
12415         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12416         to only handle newlines but not fiddle with spaces and friends.
12417
12418         * lyxfunc.C (MenuNew): when doing 'new from template', use
12419         template_path as default directory
12420
12421 2001-06-23  The LyX Project  <Asger>
12422
12423         * Clean-up of header file includes all over
12424         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12425
12426 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * paragraph.h: renamed from lyxparagraph.h
12429
12430 2001-06-23  Asger  <lyx@violet.home.sad.it>
12431
12432         * Buffer.h: Removed Buffer::resize
12433         * BufferList.h: Removed BufferList::resize
12434         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12435         the document lazily when we change the width, or the font settings.
12436
12437 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12440
12441 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * buffer.h: remove out of date comment
12444
12445 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * lyxscreen.h:
12448         * screen.C: fix "theoretical" GC leak
12449
12450 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12451
12452         * LaTeX.C (scanAuxFile):
12453         (deplog): remove trailing \r when reading stream (useful under
12454         win32)
12455
12456 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12457
12458         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12459         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12460         and BufferView::theLockingInset(Inset*), so should use them and not
12461         access bv_->text->the_locking_inset directly.
12462
12463         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12464
12465 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * Makefile.am:
12468         * tex-defs.h: remove old unused file
12469
12470 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * BufferView_pimpl.C: fix typo, remove minibuffer message
12473           when buffer has loaded
12474
12475 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * lyxfunc.C (Dispatch): use stringstream
12478         (MenuNew): use stringstream
12479         (Open): use stringstream
12480
12481         * importer.C (Import): use stringstream
12482
12483         * bufferview_funcs.C (CurrentState): use stringstream
12484
12485         * LaTeX.C (run): use stringstream
12486
12487         * BufferView_pimpl.C (savePosition): use stringstream
12488         (restorePosition): use stringstream
12489         (MenuInsertLyXFile): use stringstream
12490
12491 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12492
12493         * BufferView.C:
12494         * Bullet.C:
12495         * ColorHandler.C:
12496         * FontInfo.C:
12497         * FontLoader.C:
12498         * LColor.C:
12499         * LaTeXFeatures.C:
12500         * Painter.C:
12501         * gettext.C:
12502         * lyx_gui_misc.C:
12503         * lyxserver.C:
12504         * vspace.C: removed // -*- C++ -*- as first line.
12505
12506         * lyxfind.h:
12507         * version.h: added // -*- C++ -*- as first line.
12508
12509 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12510
12511         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12512
12513         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12514         of string
12515
12516 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12519         of floats.
12520
12521 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12522
12523         * gettext.C: include LString.h even when --disable-nls is on.
12524
12525 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12526
12527         * converter.h (Get): changed argument type from int to
12528         FormatList::size_type to avoid unnecessary conversion.
12529
12530         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12531         before using it.
12532
12533 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12534
12535         * gettext.h: include LString.h even when --disable-nls is on.
12536
12537 2001-06-07  Juergen Vigna  <jug@sad.it>
12538
12539         * text.C (BreakAgain): subst spaces with tabs.
12540
12541         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12542         (resizeInsetsLyXText): set force on resizeLyXText.
12543
12544 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12545
12546         * gettext.h (gettext_init):
12547         (locale_init): use a real definition instead of a macro
12548
12549 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * Bufferview_pimpl.C:
12552         * LColor.h:
12553         * LColor.C: further lcolor tidies
12554
12555 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12556
12557         * BufferView_pimpl.C (updateScrollbar): simplify.
12558
12559         * BufferView2.C: don't include insets/insetinfo.h, change
12560         prototype for insertInset and call the Pimpl version. let
12561         updateInset call Pimpl version.
12562
12563         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12564         gotoInset to BufferView::Pimpl
12565
12566 2001-06-01  Juergen Vigna  <jug@sad.it>
12567
12568         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12569         inside a LockingInset (is the update needed at all?).
12570
12571 2001-05-31  Juergen Vigna  <jug@sad.it>
12572
12573         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12574         here not the old one otherwise how should we compare it afterwards
12575         if it's the same!
12576
12577 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * lyxfont.C:
12580         * tabular.C:
12581         * tabular-old.C:
12582         * FontInfo.C: bring C functions into global namespace when
12583         necessary
12584
12585 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12586
12587         * LString.h: make sure config.h has been loaded before LString.h.
12588
12589         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12590         (one for each char read by EatLine!).
12591
12592         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12593         variables.
12594
12595 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12596
12597         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12598         to the same as the par we break from
12599
12600 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12601
12602         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12603
12604         * MenuBackend.C (expand): also create menu entries for wide
12605         versions of the floats.
12606
12607         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12608
12609         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12610
12611         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12612         frontends/Makefile.am
12613
12614         * text2.C: adjust
12615         * text.C: adjust
12616
12617
12618         * tabular.C (getTokenValue): add std::
12619
12620         * tabular-old.C (getTokenValue): add std::
12621         (getTokenValue): ditto
12622         (getTokenValue): ditto
12623
12624         * screen.C (ToggleSelection): adjust
12625
12626         * lyxtext.h: put selection cursors inside a Selection struct.
12627
12628         * lyxfunc.C (moveCursorUpdate): adjust
12629
12630         * lyxfont.C (latexWriteStartChanges): add std::
12631
12632         * lyxfind.C: adjust
12633
12634         * font.h: delete with(char const *, LyXFont const &)
12635
12636         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12637
12638         * FontInfo.C (getFontname): add std::
12639
12640         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12641         (workAreaButtonPress): adjust
12642         (tripleClick): adjust
12643         (update): adjust
12644         (moveCursorUpdate): adjust
12645         (Dispatch): adjust
12646
12647         * BufferView2.C (gotoInset): adjust
12648
12649 2001-05-30  Juergen Vigna  <jug@sad.it>
12650
12651         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12652         to check pspell I add this as default as I now have new pspell
12653         libraries and they seem to use this.
12654
12655 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * text2.C (CutSelection): make the cursor valid before the call to
12658         ClearSelection.
12659
12660 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12661
12662         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12663         relied on 0 terminated strings and other horrors. Bug found due to
12664         the new assert in lyxstring!
12665
12666         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12667         KP_ keys.
12668
12669 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12670
12671         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12672         to latinkeys.bind.
12673
12674         * lyxfunc.C (processKeySym): change method of getting to the
12675         self-insert char.
12676
12677         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12678         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12679         * BufferView_pimpl.[Ch]: here as private methods.
12680
12681 2001-05-28  Juergen Vigna  <jug@sad.it>
12682
12683         * text.C (SetHeightOfRow): added the update() call again as it is
12684         needed to initialize inset dimensions!
12685
12686 2001-05-16  Juergen Vigna  <jug@sad.it>
12687
12688         * text2.C (SetCharFont): Add new function with BufferView * and
12689         bool toggleall parameters for setting insets internal fonts.
12690         (SetFont): Freeze the undo as we may change fonts in Insets and
12691         all this change should be inside only one Undo!
12692
12693         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12694         setting font's in insets as for them we have the SetFont function!
12695
12696 2001-05-15  Juergen Vigna  <jug@sad.it>
12697
12698         * text2.C (ClearSelection): to be sure we REALLY don't have any
12699         selection anymore!
12700
12701         * tabular.C (TeXCellPreamble): fixed the left border problem for
12702         multicolumn cells.
12703
12704 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12705
12706         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12707         dependancy file
12708
12709 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12712         LFUN_BREAKPARAGRAPH.
12713
12714         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12715         help test to "internal only", similar for LFUN_INSERT_URL
12716
12717         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12718         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12719         auto_region_delete and deadkeys.
12720
12721 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * LColor.h:
12724         * LColor.C: remove some dead entries, tidy a little
12725
12726 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12727
12728         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12729         commented code.
12730         (Dispatch): implement LFUN_ESCAPE
12731
12732         * commandtags.h: add LFUN_ESCAPE
12733
12734         * LyXAction.C (init): add entry for LFUN_ESCAPE
12735
12736         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12737         Remove commented code.
12738         (insertNote): moved here
12739         (open_new_inset): moved here
12740
12741         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12742         BufferView_pimpl
12743
12744 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * kbmap.C (findbinding): clean it up and make it work correctly.
12747
12748         * lyx_main.C (init): do not pass argc and argv as parameters
12749
12750 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12751
12752         * buffer.C: fix path for OS/2 & Win32
12753
12754         * lyx_gui.C:
12755         * lyx_main:
12756         * lyx_main.C: Added os:: class.
12757
12758         * os2_defines.h: update
12759
12760 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12761
12762         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12763         better by trying again with reduced state.
12764
12765 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12766
12767         * lyxrc.C (read): print error about invalid key sequence only when
12768         debugging (because not all latinX keysyms are known to some X
12769         servers)
12770
12771         * kbsequence.C (getiso): add a few std:: qualifiers
12772         (getiso): comment out extra return statement.
12773
12774 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12777         handling.
12778         (Dispatch): enhance the accent inset a bit. (not perfect)
12779
12780 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12783
12784 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12785
12786         * bufferlist.C (emergencyWrite): fix assert() call
12787
12788 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12789
12790         * text.C (InsertChar): Added trivial patch to only send the "you
12791         can not do multiple spaces this way" message once during a
12792         session.
12793
12794 2001-05-08  Baruch Even  <baruch@lyx.org>
12795
12796         * Makefile.am: Changed order of libraries to get LyX to link properly
12797         with the gnome frontend.
12798
12799 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * LaTeXFeatures.h: add a std:: qualifier
12802
12803 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * paragraph.C (String): use stringstream
12806
12807 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * paragraph.C (writeFile): remove footflag arg
12810
12811         * buffer.C (makeLaTeXFile): use stringstream
12812         (latexParagraphs): remove footnot gurba
12813
12814         * LaTeXFeatures.C (getPackages): use stringstream
12815         (getMacros): likewise
12816         (getTClassPreamble): likewise
12817         (getFloatDefinitions): new method
12818
12819         * paragraph.C (writeFile): reindent
12820         (Erase): reindent
12821
12822         * WorkArea.h: revert the xpos + etc changes.
12823
12824         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12825
12826         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12827
12828         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12829         (pasteSelection): likewise
12830         * text2.C (CreateUndo): likewise
12831
12832 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * minibuffer.C (peek_event): temporarily reduce the functionality
12835         of the minibuffer (to allow args on lfuns)
12836
12837         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12838         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12839
12840         * buffer.C (readInset): add compability reading of old float
12841         lists, add reading of new style float list.
12842         (readInset): avoid reevaluation of inscmd.getCmdName()
12843         (getLists): reindent
12844
12845         * MenuBackend.C (MenuItem): implement parsing of
12846         md_floatlistinsert and md_floatinsert.
12847         (expand::LastFiles): move initalizaton of iterators out of loop,
12848         avoid reevaluation.
12849         (expand::Documents): introduce typdedef vector<string> Strings,
12850         and use it.
12851         (expand::ExportFormats): introduce typedef vector<Format const *>
12852         Formats, and use it.
12853         (expand): implement FloatListInsert and FloatInsert.
12854
12855         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12856         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12857         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12858
12859         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12860         handling.
12861         (Dispatch::LFUN_FLOAT_LIST): implement
12862
12863 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12864
12865         * LaTeX.C (run): Fix problem with --export code.
12866
12867 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12868
12869         * BufferView.[Ch] (workarea): removed.
12870         (getClipboard) new method; wrapper for workarea()->getClipboard()
12871
12872         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12873         bug.
12874
12875         * WorkArea.h (width, height, xpos, ypos): These methods all
12876         returned the dimensions of the work_area sub-area of WorkArea,
12877         resulting in a position error if the WorkArea were resized. Now
12878         return the dimensions of the entire WorkArea.
12879
12880         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12881
12882 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * LaTeX.C (deplog): correct the syntax of regex reg1
12885
12886 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * undo.C: remove !NEW_INSETS cruft
12889
12890 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * text2.C: remove !NEW_INSETS cruft
12893
12894         * text.C: remove !NEW_INSETS cruft
12895
12896         * tabular.C: remove !NEW_INSETS cruft
12897
12898         * spellchecker.C: remove !NEW_INSETS cruft
12899
12900         * lyxtext.h: remove !NEW_INSETS cruft
12901
12902         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12903
12904         * lyxfunc.C: remove !NEW_INSETS cruft
12905
12906         * lyxfind.C: remove !NEW_INSETS cruft
12907
12908         * lyx_cb.C: remove !NEW_INSETS cruft
12909
12910         * figureForm.C: remove  !NEW_INSETS cruft
12911
12912         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12913
12914         * buffer.[Ch]: remove !NEW_INSETS cruft
12915
12916         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12917
12918         * CutAndPaste.C: remove !NEW_INSETS cruft
12919
12920         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12921
12922         * BufferView2.C: remove !NEW_INSETS cruft
12923
12924         * BufferView.h: remove !NEW_INSETS cruft
12925
12926 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12927
12928         * Lsstream.h: include LString.h before the sstream headers to
12929         fix problem with gcc 2.95.3 and lyxstring
12930
12931 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12932
12933         * lyx_main.C: add using directives when needed for C functions
12934         declared in std:: namespace.
12935
12936 2001-04-27  Juergen Vigna  <jug@sad.it>
12937
12938         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12939         (SetHeightOfRow): comment out the update call should not be needed!
12940
12941 2001-04-13  Juergen Vigna  <jug@sad.it>
12942
12943         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12944         (LyXTabular): tried to minimize operator= operations (and realized
12945         hopfully Lars wish).
12946
12947 2001-04-27  Juergen Vigna  <jug@sad.it>
12948
12949         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12950
12951 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12954
12955         * buffer.C (readInset): hack to make listof algorithm work
12956
12957         * BufferView_pimpl.C: hack to make listof algorithm work
12958
12959 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12960
12961         * LyXAction.C: removed all !NEW_INSETS cruft
12962         (init): moved lfun_item in method
12963
12964         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12965
12966 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12967
12968         * BufferView2.C (theLockingInset): white space.
12969
12970 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12971
12972         * minibuffer.C: include <iostream>
12973
12974         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12975
12976         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12977
12978         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12979
12980         * text.[Ch] (TransposeChars): new method
12981
12982 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * call message directly through LyXView instead of through LyXFunc
12985         * BufferView2.C: adjust
12986         * BufferView_pimpl.C: adjust
12987         * FontLoader.C: adjust
12988         * buffer.C: adjust
12989         * bufferview_funcs.C: adjust
12990         * converter.C: adjust
12991         * figureForm.C: adjust
12992         * importer.C: adjust
12993         * lyx_cb.C: adjust
12994         * lyx_gui_misc.C: adjust
12995         * lyxfunc.C: adjust
12996         * lyxvc.C: adjust
12997         * text2.C: adjust
12998         + more files in subdirs
12999
13000         * lyxparagraph.h (size): move up int file
13001         (GetLayout): ditto
13002
13003         * adjust all uses of Assert to lyx::Assert.
13004
13005         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13006         lyxfunctional in namespace lyx
13007         * layout.C (hasLayout): ditto
13008         (GetLayout): ditto
13009         (GetLayout): ditto
13010         (delete_layout): ditto
13011         (NumberOfClass): ditto
13012         * converter.C (GetFormat): ditto
13013         (GetNumber): ditto
13014         (Add): ditto
13015         (Delete): ditto
13016         (SetViewer): ditto
13017         * bufferlist.C (getFileNames): ditto
13018         (emergencyWriteAll): ditto
13019         (exists): ditto
13020         (getBuffer): ditto
13021         * MenuBackend.C (hasSubmenu): ditto
13022         (hasMenu): ditto
13023         (getMenu): ditto
13024         * BufferView_pimpl.C (getInsetByCode): ditto
13025
13026 2001-04-18  Juergen Vigna  <jug@sad.it>
13027
13028         * vspace.C (asLatexString): fixed the 100% problem.
13029
13030 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13031
13032         * lyxfunc.C (Dispatch):
13033         * minibuffer.C:
13034         * minibuffer.h: add a few std:: qualifiers
13035
13036 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13037
13038         * minibuffer.[Ch]: reimplement so that commands is initiated and
13039         run from lyxfunc, simplified som handling, and made the completion
13040         and history code for complete. wip.
13041
13042         * lyxfunc.C (processKeySym): call message
13043         (miniDispatch): new temporary method
13044         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13045         (LFUN_MESSAGE): implement
13046         (LFUN_MESSAGE_PUSH): implement
13047         (LFUN_MESSAGE_POP): implement
13048         (initMiniBuffer): the initial/defualt minibuffer message.
13049
13050         * lyxfont.[Ch]: inline some more getters
13051
13052         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13053
13054         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13055
13056         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13057         (AutoSave): use LFUN_MESSAGE
13058         (Reconfigure): ditto
13059
13060         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13061
13062         * figureForm.C: use LFUN_MESSAGE
13063
13064         * converter.C (runLaTeX): use LFUN_MESSAGE
13065
13066         * bufferview_funcs.C: use LFUN_MESSAGE
13067         (Melt): ditto
13068         (changeDepth): ditto
13069
13070         * bufferparams.h: use boost::
13071
13072         * bufferlist.h: inherit privately from noncopyable
13073
13074         * bufferlist.C (loadLyXFile): remove some commented code.
13075
13076         * buffer.C (runChktex): use LFUN_MESSAGE
13077
13078         * ShareContainer.h: inherit privately from noncopyable
13079
13080         * ParagraphParameters.[hC] (depth): inline it.
13081
13082         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13083         methods.
13084         (message): new method
13085         (messagePush): ditto
13086         (messagePop): ditto
13087         (show): init minibuffer
13088         (showState): direct call
13089
13090         * LaTeX.[Ch]: inherit privately from noncopyable
13091         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13092         instead of WriteStatus.
13093
13094         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13095
13096         * BufferView_pimpl.C (buffer): don't init minibuffer
13097         (workAreaButtonPress): use LFUN_MESSAGE
13098         (workAreaButtonRelease): ditto
13099         (savePosition): ditto
13100         (restorePosition): ditto
13101         (MenuInsertLyXFile): ditto
13102         (workAreaExpose): don't init minibuffer
13103         (update): remove commented code, simplify
13104
13105         * BufferView2.C (openStuff): use LFUN_MESSAGE
13106         (toggleFloat): ditto
13107         (menuUndo): ditto
13108         (menuRedo): ditto
13109         (copyEnvironment): ditto
13110         (pasteEnvironment): ditto
13111         (copy): ditto
13112         (cut): ditto
13113         (paste): ditto
13114         (gotoInset): ditto
13115         (updateInset): remove some commented code
13116
13117         * lastfiles.h: inherit privately from noncopyable
13118         * layout.h: ditto
13119         * lyx_gui.h: ditto
13120         * lyx_main.h: ditto
13121         * lyxlex.h: ditto
13122         * lyxlex_pimpl.h: ditto
13123
13124         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13125         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13126         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13127
13128         * LyXAction.h: inherit privately from noncopyable, add methods
13129         func_begin, func_end, returning iterators to the func map.
13130
13131         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13132         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13133         (func_begin): new method
13134         (func_end): new method
13135
13136         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13137         and not)
13138         (copySelection): ditto
13139         (pasteSelection): ditto
13140
13141         * BufferView.C: whitespace change
13142         * BufferView.h: inherit privately from noncopyable
13143
13144 2001-04-16  Allan Rae  <rae@lyx.org>
13145
13146         * tabular-old.C (l_getline):
13147         * spellchecker.C (sc_check_word):
13148         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13149         an unrecognised preprocessor directive.  So ensure they're wrapped.
13150
13151 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13152
13153         * src/exporter.C (Export): Give an error message when path to file
13154         contains spaces.
13155
13156 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13157
13158         * LaTeX.C (deplog): Always check that foundfile exists.
13159
13160 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * lyx_main.h:
13163         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13164
13165 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13166
13167         * tabular.[Ch] (getLabelList): implement new method
13168
13169         * minibuffer.h: comment ouf setTiimer
13170
13171         * minibuffer.C (ExecutingCB): constify res
13172         (peek_event): constify s
13173         (Set): constify ntext
13174         (Init): constify nicename
13175
13176         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13177
13178         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13179         (savePosition): use two params to Minibuffer::Set
13180         (restorePosition): ditto
13181
13182 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * lyx_main.C: include language.h
13185
13186         * Makefile.am (lyx_main.o): add language.h
13187
13188 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13189
13190         * exporter.C:
13191         * paragraph.C:
13192         * screen.C:
13193         * tabular.C:
13194         * CutAndPaste.C: include gettext.h
13195
13196         * lyxfont.h: remove old hack with ON and OFF.
13197
13198         * lyxparagraph.h:
13199         * lyxfont.h: do not include language.h...
13200
13201         * BufferView2.C:
13202         * LaTeXFeatures.C:
13203         * Painter.C:
13204         * bufferview_funcs.C:
13205         * font.C:
13206         * lyxfont.C:
13207         * text.C:
13208         * text2.C:
13209         * trans_mgr.C:
13210         * paragraph.C: ... but do it here instead
13211
13212 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13215
13216         * tabular.C: small reformat
13217
13218         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13219         NEW_INSETS version
13220         (GetChar): ditto
13221         (BreakParagraph): ditto
13222         (SetOnlyLayout): ditto
13223         (SetLayout): ditto
13224
13225         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13226         with one arg less.
13227
13228         * lastfiles.C: removed most using decl, add std:: where needed
13229
13230         * buffer.C: ws changes
13231
13232         * MenuBackend.C (class compare_format): put into anon namespace
13233         (expand): constify label, names, action, action2
13234         (expand):
13235
13236         * text.C (SingleWidth): constify font
13237         (IsBoundary): constify rtl2
13238         (GetVisibleRow): constify ww
13239
13240         * LaTeX.C (deplog): constify logfile
13241
13242         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13243         start_x, end_x
13244         (workAreaExpose): constify widthChange, heightChange
13245
13246         * lyxrow.C (par): moved
13247         (height): moved
13248         (next): moved
13249         * lyxrow.h: as inlines here
13250
13251         * lyxfont.h (shape): moved from lyxfont.C
13252         (emph): moved from lyxfont.C
13253
13254         * lyxfont.C (LyXFont): use initialization list for all
13255         constructors
13256         (shape): move to lyxfont.h as inline
13257         (emph): move to lyxfont.h as inline
13258
13259
13260 2001-04-04  Juergen Vigna  <jug@sad.it>
13261
13262         * vspace.C: had to include stdio.h for use of sscanf
13263
13264 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13265
13266         * BufferView.h:
13267         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13268         independent of xforms.
13269
13270 2001-04-02  Juergen Vigna  <jug@sad.it>
13271
13272         * spellchecker.C: fixed namespace placing!
13273
13274 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13275
13276         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13277         the LyXParagraph * is 0.
13278
13279 2001-03-29  Juergen Vigna  <jug@sad.it>
13280
13281         * vspace.C: added support for %, c%, p%, l%.
13282         (stringFromUnit): added helper function.
13283         (asLatexString): changed to give right results for the %-values.
13284
13285         * buffer.C: convert the widthp in a width%.
13286
13287 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13288
13289         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13290         figureForm.[Ch].
13291
13292         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13293         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13294
13295         * lyx_cb.[Ch]: see above.
13296
13297         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13298         form1.[Ch].
13299
13300         * form1.[Ch]:
13301         * lyx.[Ch]: replaced by figure_form.[Ch].
13302
13303         * lyx_gui.C:
13304         * lyx_gui_misc.C:
13305         * lyxfunc.C: changed headers associated with above changes.
13306
13307 2001-03-27  Juergen Vigna  <jug@sad.it>
13308
13309         * BufferView_pimpl.C: set the temporary cursor right!
13310
13311 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13312
13313         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13314
13315 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13316
13317         * LString.h: removed "using std::getline"!
13318
13319         * BufferView_pimpl.C (Dispatch): changes due to changes in
13320         InsetInclude::Params.
13321
13322         * buffer.C (tag_name): removed redundant break statements as they were
13323         producing lots of warnings with my compiler.
13324
13325 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * LString.h: add "using std::getline" when using the real <string>.
13328
13329 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13330
13331         * buffer.C: removed bitset usage.
13332         PAR_TAG moved to an anonymous name space.
13333         (tag_name): new funtion, also in the anonymous namespace.
13334         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13335         (makeDocBookFile): clean code. Completed transition from string arrays
13336         to string vectors.
13337         (SimpleDocBookOnePar): code clean.
13338
13339 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13340
13341         * tabular.C: add some comments.
13342
13343 2001-03-22  Juergen Vigna  <jug@sad.it>
13344
13345         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13346         compatibility read a bit and fixed bug with minipage in different
13347         depth.
13348
13349 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13350
13351         * buffer.C (pop_tag): removed.
13352         (push_tag): removed.
13353         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13354         array replaced with vector. Added support for CDATA sections.
13355         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13356         at any nest level.
13357         (makeDocBookFile): XML conformant declaration of CDATA section,
13358         fixed bug related to <emphasis> in the first paragraph char.
13359         (sgmlOpenTag): exclude empty tags.
13360         (sgmlCloseTag): ditto.
13361
13362         * buffer.h (pop_tag): removed.
13363         (push_tag): removed.
13364
13365 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13366
13367         * language.h (Languages): added size_type and size().
13368
13369 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13370
13371         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13372         response on compability reading of minipages. One probliem is that
13373         the old usage of minipages was «flertydig»
13374
13375         * several files here and in subdirs: don't use static at file
13376         scope use anon namespaces instead.
13377
13378 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13379
13380         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13381         LaTeX output. This is necessary for Literate document
13382         processing.
13383
13384 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13385
13386         * buffer.C: insert hfill when needed.
13387
13388         * tabular.C (l_getline): use string::erase, small whitespace change.
13389
13390         * BufferView_pimpl.C: try the anon namespace.
13391         * WorkArea.C: ditto
13392
13393 2001-03-16  Juergen Vigna  <jug@sad.it>
13394
13395         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13396         otherwise it won't open options-dialogs.
13397
13398         * buffer.C: honor pextraWidth(p) on converting minipages.
13399
13400         * tabular.C (l_getline): changed the functions to strip trailing \r.
13401
13402 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13403
13404         * BufferView_pimpl.C:
13405         * minibuffer..C: added "using SigC::slot" declaration.
13406
13407 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13408
13409         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13410
13411         * text2.C: ditto
13412
13413         * text.C: ditto
13414
13415         * paragraph.C: ditto
13416
13417         * lyxtext.h: NO_PEXTRA
13418
13419         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13420
13421         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13422         * ParameterStruct.h: ditto
13423         * ParagraphParameters.h: ditto
13424         * lyxparagraph.h: ditto
13425
13426 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13427
13428         * buffer.C: add compability for minipage alignment.
13429         (latexParagraphs): remove unwanted pextra check.
13430
13431         * several files: remove CXX_WORKING_NAMESPACES
13432
13433         * buffer.C (pop_tag): tie is in namespace boost
13434
13435         * BufferView.h: noncopyable is in namespace boost
13436         * lyxlex.h: ditto
13437         * lyx_main.h: ditto
13438         * lyx_gui.h: ditto
13439         * layout.h: ditto
13440         * lastfiles.h: ditto
13441         * bufferlist.h: ditto
13442         * ShareContainer.h: ditto
13443         * LyXView.h: ditto
13444         * LyXAction.h: ditto
13445         * LaTeX.h: ditto
13446
13447 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13448
13449         * Merging changes from BRANCH_MVC back into HEAD.
13450
13451         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13452
13453 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13454
13455         * BufferView_pimpl.C: change from intl.C
13456
13457         * combox.h:
13458         * combox.C:
13459         * Makefile.am: move combox.*
13460
13461         * form1.h:
13462         * form1.C:
13463         * lyx_gui.C:
13464         * intl.h:
13465         * intl.C: remove dialog (covered by prefs)
13466
13467 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13468
13469         * lyxfunc.C (Dispatch): removed redundant break statement.
13470
13471 2001-03-14  Juergen Vigna  <jug@sad.it>
13472
13473         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13474
13475 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13476
13477         * buffer.C: add hack to fix compability reading of minipages.
13478
13479 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13480
13481         * buffer.C (getLists): Cleanup.
13482
13483 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13484
13485         * lyxfont.C (update): don't honor toggleall on font size.
13486
13487 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * bmtable.c:
13490         * bmtable.h:
13491         * Makefile.am: moved to frontends/xforms/
13492
13493         * lyx_gui_misc.C:
13494         * lyxfunc.C:
13495         * BufferView_pimpl.C: changes for moved mathpanel
13496
13497 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * gettext.h: fix gettext_init() in --disable-nls
13500
13501 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13502
13503         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13504
13505 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13506
13507         * lyx.C:
13508         * lyx.h: strip external form
13509
13510 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * BufferView_pimpl.C: add comment, destroySplash()
13513
13514 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * BufferView_pimpl.C:
13517         * LyXAction.C:
13518         * buffer.C:
13519         * commandtags.h:
13520         * lyxfunc.C: use re-worked insetinclude
13521
13522 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13523
13524         * buffer.C: add using std::stringstream.
13525
13526         * lyx_cb.C: readd using std::ios.
13527
13528         * buffer.C: add using std::map.
13529
13530         * BufferView_pimpl.C: add using std::vector.
13531
13532         * ShareContainer.h: add std:: to swap.
13533
13534         * buffer.h: add some typedefs
13535         * buffer.C (getLists): use them
13536         (getLists): renamed from getTocList.
13537         add a counter for the different float types and use it in the
13538         generated string.
13539         (getLists): use the same counter for the NEW_INSETS and the "non"
13540         NEW_INSETS
13541
13542         * lyx_cb.h: remove unused items, includes, using etc.
13543
13544         * ShareContainer.h: remove some commented code, add more comments
13545         and "documentation".
13546
13547 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13548
13549         * buffer.C (getTocList): make the list also when NEW_INSETS is
13550         defined.
13551
13552         * buffer.h: remove TocType
13553
13554         * buffer.C (getTocList): change to return a map<string,
13555         vector<TocItem> >, implement for dynamic number of list.
13556
13557         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13558         * text2.C (PasteSelection): adjust
13559         * CutAndPaste.C (pasteSelection): adjust
13560
13561         * FloatList.C (FloatList): update from the new_insets branch.
13562         * Floating.[Ch]: ditto
13563         * LaTeXFeatures.C: ditto
13564         * buffer.C: ditto
13565         * lyxlex_pimpl.C: ditto
13566
13567         * paragraph.C (Last): remove when NEW_INSETS is defined.
13568
13569         * other file: changes because of the above.
13570
13571 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13572
13573         * lyxparagraph.h: rename next to next_, previous to previous_,
13574         make them private for NEW_INSETS. Rename Next() to next(),
13575         Previous() to previous().
13576
13577         * other files: changes because of the above.
13578
13579 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13580
13581         * BufferView.h:
13582         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13583         problem.
13584
13585 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13586
13587         * main.C (main): pass lyx_localedir to gettext_init().
13588
13589         * gettext.h: remove locale_init and gettext_init macros
13590
13591         * gettext.C (locale_init): new function
13592         (gettext_init): new function
13593
13594         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13595         setlocale().
13596
13597 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13598
13599         * Moved credits to frontends:
13600         * credits.[Ch]: removed
13601         * credits_form.[Ch]: removed
13602         * lyx_gui_misc.C: remove credits stuff
13603         * Makefile.am:
13604
13605 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13606
13607         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13608
13609         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13610         unneeded destructor.
13611
13612         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13613         a standalone pointer again.
13614
13615         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13616
13617 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13618
13619         * Makefile.am:
13620         * filedlg.h:
13621         * filedlg.C:
13622         * LyXAction.C:
13623         * ToolbarDefaults.C:
13624         * bufferlist.C:
13625         * commandtags.h:
13626         * form1.C:
13627         * form1.h:
13628         * lyx_cb.C:
13629         * lyx_cb.h:
13630         * lyxfunc.h:
13631         * lyxfunc.C:
13632         * BufferView_pimpl.C: use new file dialog in GUII
13633
13634         * lyx_cb.h:
13635         * lyx_cb.C: remove LayoutsCB to Toolbar
13636
13637 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13638
13639         * ShareContainer.h (get): add std:: qualifier
13640
13641 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13642
13643         * ShareContainer.h: define a proper ShareContainer::value_type
13644         type (and use typename to please compaq cxx)
13645
13646 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13647
13648         * lyxparagraph.h: move serveral local vars to
13649         ParameterStruct/ParagraphParameters., use ShareContainer in
13650         FontTable., make vars in FontTable private and add getter and
13651         setter.
13652
13653         * paragraph.C: changes because of the above.
13654
13655         * lyxfont.h: remove copy constructor and copy assignment. (the
13656         default ones is ok), move number inside FontBits. move inlines to
13657         lyxfont.C
13658
13659         * lyxfont.C: add number to initializaton of statics, move several
13660         inlines here. constify several local vars. some whitespace
13661         cleanup. Dont hide outerscope variables.
13662
13663         * Spacing.h: add two new constructors to match the set methods.
13664
13665         * ShareContainer.h: new file, will perhaps be moved to support
13666
13667         * ParameterStruct.h: new file
13668
13669         * ParagraphParameters.h: new file
13670
13671         * ParagraphParameters.C: new file
13672
13673         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13674         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13675
13676         * BufferView_pimpl.C: ParagraphParameter changes.
13677         * buffer.C: Likewise.
13678         * bufferview_funcs.C: Likewise.
13679         * text.C: Likewise.
13680         * text2.C: Likewise.
13681
13682 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * lyxfind.C (LyXReplace): do not redefine default argument in
13685         implementation.
13686         (IsStringInText): ditto
13687         (SearchForward): ditto
13688         (SearchBackward): ditto
13689
13690 2001-03-06  Juergen Vigna  <jug@sad.it>
13691
13692         * lyxfind.C (IsStringInText): put parentes around expressions.
13693
13694 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13695
13696         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13697
13698 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13701
13702         * stl_string_fwd.h: add comment
13703
13704         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13705
13706         * tabular.h:
13707         * tabular.C: remove unused DocBook methods
13708
13709         * intl.C:
13710         * language.C:
13711         * paragraph.C:
13712         * buffer.C:
13713         killed DO_USE_DEFAULT_LANGUAGE
13714
13715 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * lyx_gui.C: do not include language.h.
13718
13719         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13720         arguments in function implementation.
13721
13722 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13723
13724         * BufferView_pimpl.C: add <ctime>
13725
13726 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13727
13728         * BufferView_pimpl.C: add using std::find_if
13729
13730 2001-02-27  José Matos  <jamatos@fep.up.pt>
13731
13732         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13733         by OnlyPath.
13734
13735 2001-02-11  José Matos  <jamatos@fep.up.pt>
13736
13737         * buffer.C (makeDocBookFile): command styles now have a parameter as
13738         "title" by default.
13739
13740 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13741
13742         * layout_forms.[Ch]: removed
13743         * lyx_cb.[Ch]: out character
13744         * lyx_gui.C: out character
13745         * lyx_gui_misc.C: out character
13746         * bufferview_funcs.C: : out character,
13747         added toggleall as parameter in ToggleAndShow
13748
13749 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13750
13751         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13752
13753         * text2.C (SetCurrentFont): Disable number property at boundary.
13754
13755 2001-02-26  Juergen Vigna  <jug@sad.it>
13756
13757         * lyxfunc.C (getStatus): added a string argument override function so
13758         that this is correctly called from LyXFunc::Dispatch if it contains a
13759         do_not_use_argument which is used!
13760         (Dispatch): added check for "custom" export and call appropriate func.
13761
13762 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13763
13764         * lyxrc.C: Add language_command_local, language_use_babel and
13765         language_global_options.
13766
13767         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13768
13769         * buffer.C (makeLaTeXFile): Use language_use_babel and
13770         language_global_options.
13771
13772 2001-02-23  Juergen Vigna  <jug@sad.it>
13773
13774         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13775         which works with LyXText and putted it inside BufferView. Here now we
13776         only call for that part the BufferView::Dispatch() function.
13777
13778         * BufferView.C (Dispatch): added.
13779
13780         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13781         functions which needs to use a LyXText over from LyXFunc.
13782         (MenuInsertLyXFile): added
13783         (getInsetByCode): added
13784         (moveCursorUpdate): added
13785         (static TEXT): added
13786
13787 2001-02-22  Juergen Vigna  <jug@sad.it>
13788
13789         * BufferView_pimpl.C (update): call a status update to see if LyXText
13790         needs it.
13791
13792 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13793
13794         * vc-backend.C (revert): implement for CVS
13795         (getLog): implement for CVS
13796
13797 2001-02-20  Juergen Vigna  <jug@sad.it>
13798
13799         * text2.C (ClearSelection): added BufferView param for inset_owner call
13800
13801         * lyxfunc.C (TEXT): added this function and use it instead of
13802         directly owner->view()-text of getLyXText().
13803
13804 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13805
13806         * src/layout_forms.C: out preamble
13807         * src/layout_forms.h: out preamble
13808         * src/lyx_cb.C: out preamble
13809         * src/lyx_cb.h: out preamble
13810         * src/lyx_gui.C: out preamble
13811         * src/lyx_gui_misc.C: out preamble
13812         * src/lyxfunc.C: connect with guii preamble
13813
13814 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13815
13816         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13817
13818 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13819
13820         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13821         whether to run bibtex.
13822
13823 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13824
13825         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13826
13827 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13828
13829         * Makefile.am (lyx_SOURCES): removed bibforms.h
13830
13831         * vspace.h: doxygen
13832
13833         * text.C (GetVisibleRow): make several local vars const
13834
13835         * tabular.C: small cleanup.
13836
13837         * lyxserver.C (callback): use compare instead of strncmp
13838
13839         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13840         inlines to after class or to paragraph.C
13841
13842         * lyxfont.h: remove friend operator!=
13843
13844         * converter.h: move friend bool operator< to non friend and after
13845         class def.
13846
13847         * combox.h: small cleanup
13848
13849         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13850         to inlines after class def.
13851
13852         * buffer.C (pop_tag): use string operations instead of strcmp
13853
13854         * bmtable.c: doxygen, small cleanup
13855
13856         * LaTeX.h: remove friend operator==
13857
13858 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13859
13860         * screen.C:
13861         * lyxrc.[Ch]:
13862         * lyxfunc.C:
13863         * lyxfont.[Ch]:
13864         * lyx_cb.C:
13865         * intl.[Ch]:
13866         * commandtags.h:
13867         * buffer.C:
13868         * WorkArea.[Ch]:
13869         * LyXAction.C:
13870         * BufferView_pimpl.C:
13871         * BufferView.[Ch]: remove cruft
13872
13873 2001-02-14  Juergen Vigna  <jug@sad.it>
13874
13875         * lyxfunc.C: removed #if 0 unused code
13876
13877         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13878
13879         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13880
13881         * text2.C (SetSelection): added a BufferView * parameter
13882
13883 2001-02-13  Juergen Vigna  <jug@sad.it>
13884
13885         * lyxfunc.C (Dispatch): fixed protected blank problem.
13886         * BufferView2.C (protectedBlank): added LyxText * parameter.
13887
13888         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13889         (AppendColumn): same as above for column_info.
13890
13891         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13892         (moveCursorUpdate): use a LyXText param for support of InsetText.
13893
13894         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13895         (tripleClick): ditto
13896
13897         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13898
13899         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13900
13901         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13902
13903         * text2.C (SetSelection): set correct update status if inset_owner
13904         (ToggleFree): ditto
13905
13906 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13907
13908         * tabular.C: remove some commented code.
13909
13910 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13911
13912         * BufferView_pimpl.C: call hideSplash()
13913
13914         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13915
13916         * include_form.h:
13917         * bibforms.h: remove
13918
13919         * lyxfunc.C:
13920         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13921           add LFUN_CHILD_CREATE
13922
13923         * counters.h: fix tiny typo
13924
13925         * lyx_cb.C:
13926         * lyx.h:
13927         * lyx_gui.C:
13928         * lyx.C: move splash to frontends/xforms/
13929
13930         * lyx_gui_misc.C: move Include and Bibform to frontends
13931
13932         * lyxvc.h: clarify comment
13933
13934         * vspace.C: tiny housekeeping
13935
13936 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13937
13938         * text.C (PrepareToPrint): RTL Fix.
13939
13940         * paragraph.C (GetUChar): New method.
13941         (String):  Use GetUChar.
13942
13943         * buffer.C (asciiParagraph): Use GetUChar.
13944
13945 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13946
13947         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13948
13949 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13950
13951         * buffer.h:
13952         * buffer.C: rename to getLogName(), handle
13953           build log / latex log nicely
13954
13955 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * MenuBackend.C:
13958         * MenuBackend.h: remove support for reference menuitem type.
13959
13960 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13961
13962         * BufferView_pimpl.C: housekeeping
13963         * BufferView_pimpl.h:
13964         * LyXView.h:
13965         * Makefile.am:
13966         * Timeout.C:
13967         * Timeout.h:
13968         * minibuffer.h: move Timeout GUI-I
13969
13970 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13971
13972         * lyxrc.C (read): Update converters data-structures.
13973
13974 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13975
13976         * LaTeX.h (operator!=): add operator != for Aux_Info
13977
13978 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13979
13980         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13981
13982         * LaTeXLog.C: deleted, useful code moved to Buffer
13983
13984         * buffer.h:
13985         * buffer.C: new function getLatexLogName()
13986
13987         * lyx_gui_misc.C:
13988         * lyx_gui.C:
13989         * lyxvc.C:
13990         * lyxvc.h:
13991         * lyxfunc.C: use frontends for LaTeX and VC logs
13992
13993 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13994
13995         * LaTeX.h: yet another std:: that Allan forgot.
13996
13997         * Variables.C (set): renamed from isset(), because this clashes
13998         with some HP-UX macros (grr).
13999
14000 2001-02-06  Allan Rae  <rae@lyx.org>
14001
14002         * LaTeX.h: Another bug fix.  Missing std:: this time.
14003
14004 2001-02-04  Allan Rae  <rae@lyx.org>
14005
14006         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14007         floats problem. I've left it commented out because it's not quite
14008         correct.  It should also test that the current object is a table or
14009         figure inset.  But I haven't gotten around to figuring out how to do
14010         that.  I *think* it'll be something like: "table" == inset.type()
14011
14012         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14013         bool.
14014
14015 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14016
14017         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14018         all the citation/databases/styles in the auxilary file.
14019         (run): Rerun latex if there was a babel language error.
14020
14021 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14022
14023         * text.C (Backspace): Preserve the font when changing newline char
14024         with a space.
14025         (BreakParagraph): If the cursor is before a space, delete the space.
14026
14027         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14028
14029 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14030
14031         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14032         new argument (code).
14033         (ChangeCitationsIfUnique): New method.
14034
14035         * paragraph.C (GetPositionOfInset): Handle bibkey.
14036
14037 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14038
14039         * BufferView_pimpl.h: change type of Position::par_pos to
14040         LyXParagraph::size_type.
14041
14042 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14043
14044         * BufferView_pimpl.C (savePosition, restorePosition): Write
14045         messages to minibuffer.
14046
14047 2001-01-28  José Matos  <jamatos@fep.up.pt>
14048
14049         * buffer.C (makeDocBookFile): adds support for document language.
14050         A silly restriction on the name of LatexCommand types where removed.
14051         Added support for CDATA sections, allows to chars unescaped, used
14052         among others in code, to avoid escape < and >.
14053
14054 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14055
14056         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14057         saved positions instrad of a stack. Furthermore, a position is
14058         stored using paragraph id/paragraph position.
14059
14060         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14061         Remove LFUN_REF_BACK.
14062
14063 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14064
14065         * converter.C (dvipdfm_options): New method.
14066
14067 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14068
14069         * vspace.C (isValidLength): Fix for empty input string.
14070
14071 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14072
14073         * LyXAction.C (init): change description of LFUN_FIGURE to
14074         "Insert Graphics"
14075
14076 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14077
14078         * LaTeX.C: add using directive
14079
14080 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14081
14082         * MenuBackend.C (expand): Fix the sorting of the formats.
14083
14084 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * lyx_main.C: tiny error message fix
14087
14088 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14089
14090         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14091         calling fl_initialize(). This fixes the problem with ',' as
14092         decimal separator in text files.
14093
14094 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14095
14096         * trans.C (process): Fix the keymap bug.
14097
14098 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * LaTeX.C (scanAuxFiles): New method. Provides support for
14101         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14102         (scanLogFile) Scan for "run BibTeX" messages.
14103
14104         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14105         OT1 font encoding. Also, load the aecompl package if the ae
14106         package is loaded.
14107
14108         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14109
14110 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14111
14112         * texrow.C (increasePos): turn two error messages into debug
14113         messages.
14114
14115 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14116
14117         * LaTeX.C (scanAux): Handle the \@input macro.
14118         (runBibTeX): Use scanAux().
14119
14120         * language.C (latex_options_): New field.
14121
14122         * LaTeXFeatures.C (getMacros): Add language macros.
14123
14124         * buffer.C (makeLaTeXFile): Small fix.
14125
14126 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14127
14128         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14129
14130         * text2.C: add a using directive.
14131
14132 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14133
14134         * BufferView2.C:
14135         * lyx_gui_misc.h:
14136         * lyxfr1.C:
14137         * lyxfunc.C: kill LyXBell.
14138
14139 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14140
14141         * text.C (IsBoundary): Remove the error message
14142
14143         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14144
14145         * lyxrc.C (setDefaults): Correct initialization value for
14146         font_norm_type.
14147
14148 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14151         gotoError().
14152
14153         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14154         and GotoNextNote().
14155
14156         * src/LyXAction.C: Added reference-next.
14157
14158         * text.C (InsertChar): Use contains instead of strchr.
14159
14160         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14161
14162 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14163
14164         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14165         alignment commands (when needed).
14166
14167         * text.C (InsertChar): Add ':' to number separator chars.