]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ismall stuff
[lyx.git] / src / ChangeLog
1
2 2003-11-28  André Pönitz  <poenitz@gmx.net>
3
4         * BufferView.[Ch]: make LyXText * text a private member
5
6         * BufferView_pimpl.C:
7         * cursor.C:
8         * iterators.C:
9         * lyx_cb.C:
10         * lyxfind.C:
11         * lyxtext.h:
12         * rowpainter.[Ch]:
13         * text.C:
14         * text2.C:
15         * undo.C: adjust
16
17         * output_plaintext.C: cleanup
18
19 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * buffer.C: 
22         * lyxtextclass.[Ch]: parametrize SGML document header
23
24 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
25
26         * converter.[Ch]:
27         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
28         getFlavor().
29
30 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
31
32         * text2.C (setFont): rework using PosIterator (no more recursive)
33         (setCharFont): no more needed 
34         (setLayout): no more selection cursors fiddling (done by redoCursor)
35         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
36         destroy remaining ones)
37
38 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
39
40         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
41         * lyxtext.h: ditto
42         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
43         selection cursors
44         * lyxfunc.C: adjust
45         * text3.C: adjust + re-allow multi par depth changes
46         * textcursor.C: simplify a bit
47
48 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * src/buffer.C:
51         * src/lyxlayout.C:
52         * src/lyxlayout.h:
53         * src/lyxtext.h:
54         * src/output_docbook.C:
55         * src/output_latex.C:
56         * src/paragraph.C:
57         * src/paragraph.h:
58         * src/sgml.C:
59         * src/sgml.h:
60         * src/text2.C: Introducing a number of tags parametrizing various
61         XML formats that we may want to support
62
63 2003-11-25  André Pönitz  <poenitz@gmx.net>
64
65         * InsetList.[Ch] (begein, end): inline as suggested by profiler
66
67         * lyxtext.h (leftMargin/rightMargin): simplify interface
68
69         * rowpainter.C:
70         * text.C:
71         * text2.C:
72         * text3.C: adjust
73
74 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
75
76         * lyxfunc.C (dispatch): propogate the bibtex databases from the
77         master file to any child files. Fixes bug 546.
78
79 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
80
81         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
82
83 2003-11-24  André Pönitz  <poenitz@gmx.net>
84
85         * rowpainter.C: simplification
86
87         * text2.C (updateCounters): remove call to redoParagraph on 
88         changed labels as this is far too expensive.
89
90 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
91
92         * converter.C (convert): fix a crash: this function gets
93         called with buffer == 0 from importer code.
94
95 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
96
97         * text3.C (cursorPrevious): make sure that we do not compare
98         iterators form different containers.
99         (cursorNext): ditto
100
101         * rowpainter.C (paintSelection): make sure that we do not compare
102         iterators from different containers.
103
104         * text3.C (dispatch): [PRIOR] make sure that we do not compare
105         iterators from different ParagraphList containers.
106         [NEXT] ditto
107
108         * text2.C (LyXText): change order of initialization slightly
109         (operator=): new function. copy all variables except cache_par_
110         (moveUp): make sure that we do not compare iterators from
111         different ParagraphList constainers.
112         (moveDown): ditto
113
114         * text.C (firstPar): new function
115         (lastPar): new function
116         (endPar): new function
117
118         * lyxtext.h: move things around and group public functions, public
119         variables, private functions, private variables
120
121 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
122
123         * factory.C: change call to InsetERT constructor to avoid
124         additional invocation of method status
125         * text2.C (toggleInset): remove redundant update() call
126         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
127         instead of a Bufferview pointer
128
129 2003-11-21  André Pönitz  <poenitz@gmx.net>
130
131         * rowpainter.C: simplification
132
133 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
134
135         * text3.C (dispatch): make possible to extend a word/row selection
136         with the mouse
137
138 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
139
140         * lyxtext.h: x0_,y0_ -> xo_,yo_
141         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
142         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
143         * rowpainter.C (paintRows): paint full paragraphs
144
145 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
146
147         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
148         screen coordinates)
149
150 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
151
152         * lyxtext.h: add x0_, y0_
153         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
154         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
155
156 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
157
158         * text2.C (setCursorIntern): move the x_target update here *
159         * text3.C: change some bv() to true/false in calls to
160         cursorUp/Down/Right/Left
161         * cursor.C: use helper function.
162
163 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
164
165         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
166         * paragraph_funcs.[Ch]: correct comment
167         * rowpainter.C: do not paint selections away from bv->cursor()
168         Fix a long standing selection painting bug.
169         * text3.C: generalize mouse-selection code to LyXTexts other that
170         top one
171         * textcursor.C: do not use y coords if we can use par offsets
172
173 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
174
175         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
176         cursor position after e.g. inset insert)
177
178 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
179
180         * lyxfind.C (replace): adjust to locking removal + some
181         code simplification
182
183 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
184
185         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
186         of the path
187
188 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * lyxlayout.[Ch]:
191         * output_docbook.C: XML sanitation: new layout
192         parameters InnerTag and CommandDepth
193
194 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
195
196         * BufferView_pimpl.C:
197         * factory.C:
198         * text3.C: Fix the insertion and modification of button-style
199         insets
200
201 2003-11-13  André Pönitz  <poenitz@gmx.net>
202
203         * InsetList.[Ch]: remove deleteLyXText
204
205         * paragraph.[Ch]: cache beginOfBody position
206
207         * Bidi.C:
208         * text.C:
209         * text2.C:
210         * text3.C: remove superfluous update() calls
211
212         * vspace.C: cleanup
213
214 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
215
216         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
217         * BufferView.C (fitLockedInsetCursor): remove
218         * cursor.[Ch] (getDim): add
219         * text.C (getRowNearY): add faster version
220         * text3.C: remove some update calls
221
222 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
223
224         * LaTeXFeatures.C:
225         * LyXAction.C:
226         * MenuBackend.C:
227         * MenuBackend.h:
228         * dispatchresult.h:
229         * factory.C:
230         * lfuns.h:
231         * lyxfunc.C:
232         * lyxtextclass.C:
233         * lyxtextclass.h:
234         * text3.C: The Character Style /XML short element patch.
235
236 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
237
238         * text3.C:
239         * factory.C: Small step to solving 'unable to insert some insets'
240         problem
241
242 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * cursor.[Ch] (updatePos): new function for updating the y
245         position of the tip inset
246         * bufferview_funcs.C (put_selection_at):
247         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
248
249 2003-11-11  André Pönitz  <poenitz@gmx.net>
250
251         * text.C: remove big comment on invalid Paragraph pointers as it is
252         not valid anymore
253
254 2003-11-11  André Pönitz  <poenitz@gmx.net>
255
256         * text_funcs.[Ch]: merge with ...
257
258         * text.C: ... this
259
260         * lyxtext.h:
261         * text2.C:
262         * text3.C: adjust
263
264         * Makefile.am: remove text_funcs.[Ch]
265
266 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
267
268         * cursor.C (getPos): return absolute cached y coord
269
270         * BufferView_pimpl.C (fitCursor): new simplistic code
271         (workAreaDispatch): add a fitCursor call
272
273 2003-11-10  André Pönitz  <poenitz@gmx.net>
274
275         * BufferView.[Ch]:
276         * BufferView_pimpl.[Ch]: merge update() and updateInset()
277
278 2003-11-10  André Pönitz  <poenitz@gmx.net>
279
280         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
281         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
282         indicate that the cursor needs to leave an inset
283
284         * lyxtext.h: remove inset locking
285
286         * cursor.[Ch]: re-implement functionality provided by inset locking
287
288         * BufferView.[Ch]:
289         * BufferView_pimpl.[Ch]:
290         * LyXAction.C:
291         * bufferview_funcs.[Ch]:
292         * factory.C:
293         * funcrequest.[Ch]:
294         * iterators.C:
295         * lyx_cb.C:
296         * lyxfind.C:
297         * lyxfunc.C:
298         * text.C:
299         * text2.C:
300         * text3.C:
301         * undo.C: adjust
302
303 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
304
305         * PosIterator.[Ch]: replace the stack with a vector, add inset
306         accesor
307         * iterators.[C]: adjust
308
309 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
310
311         * lyxfind.C (replaceAll): mark the buffer dirty if something was
312         replaced
313         * paragraph_funcs.C (readParToken): put the correct id in the
314         error item, not the id of the top paragraph
315
316 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
317
318         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
319         * bufferview_funcs.C (put_selection_at): use the above
320
321 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
322
323         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
324
325 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * output_linuxdoc.h:
328         * output_plaintext.h:
329         * output.h:
330         * output_docbook.h: add #include statements
331
332 2003-11-05  José Matos  <jamatos@lyx.org>
333
334         * output_docbook.[Ch]:
335         * output_latex.[Ch]:
336         * output_linuxdoc.[Ch]:
337         * output_plaintext.[Ch]: New files for output formats.
338         * output.[Ch]: New file for helper functions.
339
340         * buffer.[Ch]:
341         * paragraph_funcs.[Ch]: output functions moved to new files.
342
343         * outputparams.h: rename of latexrunparams.h
344
345         * LaTeX.[Ch]:
346         * buffer.[Ch]:
347         * bufferlist.[Ch]:
348         * converter.[Ch]:
349         * exporter.C:
350         * paragraph.[Ch]:
351         * paragraph_funcs.[Ch]:
352         * paragraph_pimpl.[Ch]:
353         * tabular.[Ch]: rename ascii to plaintext
354         and LatexRunParams to OutputParams.
355
356 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
357
358         * iterators.[Ch] (text): require bv argument
359         * undo.C (recordUndo):
360         * lyxfunc.C (dispatch):
361         * bufferview_funcs.C (put_selection_at): adjust
362
363 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
364
365         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
366
367 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
368
369         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
370         nestings
371
372 2003-11-04  André Pönitz  <poenitz@gmx.net>
373
374         * cursor.[Ch]: restructure
375
376         * BufferView.[Ch]:
377         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
378
379         * iterators.[Ch] (asCursor): remove
380
381         * lfuns.h: remove LFUN_INSET_EDIT
382
383         * lyxfunc.C:
384         * tabular.C:
385         * text.C:
386         * text2.C:
387         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
388
389 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
390
391         * lyxfind.[Ch]: complete overhaul
392         * BufferView_pimpl.C:
393         * lyxfunc.C: adjust
394         * paragraph.[Ch] (insert): add
395
396 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
397
398         * BufferView.[Ch]:
399         * lyxtext.h:
400         * text.C: remove dead spellcheck code
401
402 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
403
404         * dispatchresult.h: add a val setter
405
406         * cursor.C (dispatch): use a tempvar for data_[i]
407
408 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
409
410         * PosIterator.[Ch]: compile fix
411
412 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
413
414         * text.C (cursorPar): deactivate the cursor cache
415
416 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
417
418         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
419
420 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
421
422         * text3.C (dispatch): adjust for new DisptchResult semantics.
423
424         * lyxfunc.C (dispatch): handle update when return from
425         Cursor::dispatch, adjust for new DispatchResult semantics.
426
427         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
428         DispatchResult(true) mean to not update. Add class functions for
429         setting dispatched and update, as well as reading.
430
431         * cursor.C (dispatch): don't handle update here
432
433 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
434
435         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
436         * trans_mgr.C: adjust
437
438         * paragraph_funcs.C (readParToken): exception safety
439
440         * lyxvc.h: store the vcs pointer in a scoped_ptr
441         * lyxvc.C: adjust
442
443         * lyxsocket.C (serverCallback): exception safety
444
445         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
446
447         * ispell.C (clone): make it return a auto_ptr
448
449         * factory.C (createInset): exception safety
450         (readInset): exception safety
451
452         * bufferlist.C (newBuffer): exception safety
453
454         * Thesaurus.C (Thesaurus): use initialization for aik_
455
456         * MenuBackend.C (expandToc): exception safety.
457
458 2003-11-03  André Pönitz  <poenitz@gmx.net>
459
460         * buffer.C:
461         * buffer.h:
462         * bufferview_funcs.C: remove getInsetFromId()
463
464         * lyxcursor.[Ch]:
465         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
466
467         * lyxfunc.C:
468         * text2.C:
469         * text3.C: adjust
470
471 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
472
473         * PosIterator.C (distance, advance): new
474         * bufferview_funcs.[Ch] (put_selection_at): new
475         * iterators.[Ch] (lockPath): new
476
477 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
478
479         * iterators.[Ch] (asPosIterator): added
480         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
481         * PosIterator.[Ch]: added
482
483 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
484
485         * text3.C:
486         * lyxfunc.C:
487         * cursor.C (dispatch):
488         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
489
490         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
491         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
492         contructor, add a class function dispatched. Remove operator>=
493
494 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
495
496         * debug.C: only use the default constructor for debugstream
497         (lyxerr) here.
498
499         * main.C (main): include debug.h and setup the lyxerr streambuf
500         here.
501
502 2003-10-31  José Matos  <jamatos@lyx.org>
503
504         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
505
506         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
507         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
508         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
509         * paragraph_pimpl.C (simpleTeXSpecialC):
510         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
511         add LatexRunParams argument.
512
513         * exporter.C (Export): change call accordingly.
514
515         * latexrunparams.h: add new member to take care of the other backends.
516 2003-10-30  José Matos  <jamatos@lyx.org>
517
518         * buffer.C (makeLinuxDocFile, makeDocBookFile):
519         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
520         factorise code for paragraph output.
521         * buffer.[Ch]:
522         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
523         move functions.
524
525 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
526
527         * text3.C (dispatch):
528         * lyxfunc.C (dispatch):
529         * cursor.C (dispatch):
530         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
531
532         * dispatchresult.h: make the dispatch_result_t ctor explicit
533
534 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
535
536         * sgml.[Ch]:
537         * buffer.C: small refactoring of docbook stuff
538
539 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
540
541         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
542         meaning.
543
544 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
545
546         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
547         operator dispatch_result_t, and operators for == != and >=
548
549         * cursor.C (dispatch): adjust for operator dispatch_result_t
550         removal. comment out call to update
551
552         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
553
554 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
555
556         * text3.C:
557         * text2.C:
558         * text.C:
559         * lyxtext.h:
560         * lyxfunc.C:
561         * cursor.C:
562         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
563         (dispatch):
564
565         * dispatchresult.h: new file, DispatchResult broken out of
566         insets/insetbase.h
567
568         * Makefile.am (lyx_SOURCES): add dispatchresult.h
569
570 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
571
572         * text.C (rowBreakPoint): put a hack inside #if 0
573
574 2003-10-28  André Pönitz  <poenitz@gmx.net>
575
576         * lyxtext.h:
577         * metricsinfo.C:
578         * paragraph_funcs.C:
579         * rowpainter.C:
580         * text.C:
581         * text2.C: general cleanup (lots of small stuff)
582
583 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
584
585         * text2.C (cursorEnd): simple fix to the "end key goes to one
586         before the end on last row" bug
587
588 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
589
590         * text.C (backspace): fix the "zombie characters"
591
592 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
593
594         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
595
596 2003-10-27  André Pönitz  <poenitz@gmx.net>
597
598         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
599
600         * factory.C: handle new InsetPagebreak, InsetLine
601
602         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
603         and move handling into new InsetPagebreak, InsetLine
604
605         * BufferView_pimpl.C:
606         * LyXAction.C:
607         * ParagraphParameters.C:
608         * ParameterStruct.h:
609         * lyxfunc.C:
610         * lyxtext.h:
611         * paragraph.C:
612         * paragraph.h:
613         * paragraph_funcs.C:
614         * paragraph_pimpl.C:
615         * rowpainter.C:
616         * text.C:
617         * text2.C:
618         * text3.C: adjust
619
620 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
621
622         * text.C:
623         * lyxrow_funcs.[Ch]:
624         * Bidi.C:
625         * paragraph.C:
626         * lyxtext.h:
627         * rowpainter.C:
628         * text2.C:
629         * text3.C: remove lastPos uses in favour of Row::endpos
630
631 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
632
633         * undo.C (performUndoOrRedo): fix two crashes by setting a
634         cursor by hand and reordering some calls. Use bv->lockInset instead
635         of inset->edit because the latter loses cursor information
636
637 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
638
639         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
640         by Martin
641         (rowBreakPoint): fix width. change point to point + 1.
642         Add a missing check.
643
644 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
645
646         * MenuBackend.C:
647         * lyxfunc.C: fix (at least partly) the problems
648         with the Nav menu and headers inside branch insets
649         reported by Kayvan
650
651 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
652
653         * paragraph.C (getChar): add strong asserts
654
655         * lyxrow_funcs.C (lastPos): remove hideous hack
656
657         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
658         (fill): adjust to that (avoid an infinite loop)
659
660 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
661
662         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
663
664 2003-10-23  André Pönitz  <poenitz@gmx.net>
665
666         * RowList_fwd.h: change list<> to vector<> to gain speed
667         after suggestion from Alfredo
668
669 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
670
671         * lyxtext.h: move the bidi stuff from here...
672         * text.C: and here
673         * text2.C: and here
674         * Bidi.[Ch]: ... to here
675
676 2003-10-23  André Pönitz  <poenitz@gmx.net>
677
678         * lyxtext.h:
679         * text.C (isLastRow, isFirstRow): new functions
680
681         * paragraph.h: new width cache member
682
683         * rowpainter.C: replace RowList::iterator with Row & where possible
684
685         * lyxfunc.C: replace several view()->text with a single call
686
687         * toc.C: fix 'unused' warning
688
689 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
690
691         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
692         when woring with stream::pos_type
693         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
694
695 2003-10-22  André Pönitz  <poenitz@gmx.net>
696
697         * lyxtext.h:
698         * text.C: use Row & instead of RowList::iterator
699
700         * lyxrow.h: rename end() to endpos()
701
702         * rowpainter.C:
703         * text.C:
704         * text2.C: adjust
705
706 2003-10-22  Angus Leeming  <leeming@lyx.org>
707
708         * buffer.[Ch] (fully_loaded): new member function, returning true
709         only when the file has been loaded fully.
710         Used to prevent the premature generation of previews and by the
711         citation inset to prevent computation of the natbib-style label.
712
713         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
714         templates are all set up.
715
716         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
717
718 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
719
720         * text.C: fixed an "oops" in the "is a bit silly"
721         bug fix
722
723 2003-10-21  André Pönitz  <poenitz@gmx.net>
724
725         * FuncStatus.[Ch]: small stuff, whitespace
726
727         * lyxfont.[Ch]: operator<<() for debug reasons
728
729         * lyxfunc.C:
730         * lyxrow_funcs.C:
731         * lyxtext.h: whitespace, spelling
732
733         * paragraph.C: naming of variables
734
735         * text.C:
736         * text2.C: small stuff
737
738
739 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * text.C: (1) finish off the inset display() work;
742         (2) fix the "is a bit silly" bug (accessing char
743         past end of par).
744
745 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
746
747         * text.C: re-introduce display() for insets, fixing the
748         various bugs (stretch of line above, math inset
749         positioning, ...)
750
751 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * text.C (rightMargin): remove spurious semicolon
754
755         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
756         1415)
757
758 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * text3.C: fix one crash due to wrong cursor def
761
762 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
763
764         * vc-backend.C (scanMaster): make the regex static
765
766         * LaTeX.C (scanAuxFile): make the regexs static
767
768         * text3.C (doInsertInset, dispatch, dispatch):
769         * text2.C (cursorUp, cursorDown):
770         * text.C (selectNextWordToSpellcheck):
771         * BufferView_pimpl.C (dispatch):
772         * lyxfunc.C (dispatch):  localDispatch -> dispatch
773
774 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
775
776         * lyxsocket.C: include <cerrno>
777
778 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
779
780         * lyxfunc.C (dispatch): remove textcache stuff
781
782         * bufferlist.C (release): remove textcache stuff
783         (closeAll): ditto
784
785         * TextCache.C: delete file
786         * TextCache.h: delete file
787
788         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
789
790         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
791         delete of the bv_->text.
792         (resizeCurrentBuffer): remove texcache stuff
793         (workAreaResize): ditto
794
795 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
796
797         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
798         action.
799
800 2003-10-16  André Pönitz  <poenitz@gmx.net>
801
802         * lyxrow.[Ch]:
803         * paragraph.h:
804         * rowpainter.C:
805         * text.C:
806         * text2.C:
807         * text3.C: speed up by storing y positions per paragraph plus per-row
808         offset instead of having a 'full' y position in the row.
809
810 2003-10-15  André Pönitz  <poenitz@gmx.net>
811
812         * iterators.[Ch]:
813         * iterators.[Ch]:
814         * undo.[Ch]: make undo aware of inner insets
815
816 2003-10-14  Angus Leeming  <leeming@lyx.org>
817
818         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
819         static member functions LyX::ref() and LyX::cref.
820         (lastfiles): new accessor functions for the new lastfiles_ member var.
821         (addLyXView, views_): add a new LyXView to the list of views_.
822         (updateInset): loop over all LyXViews to call their own updateInset
823         member function, returning a pointer to the Buffer owning the inset.
824
825         * BufferView_pimpl.C (loadLyXFile):
826         * MenuBackend.C (expandLastfiles):
827         * bufferlist.C (MenuWrite, QuitLyX):
828         lastfiles is no longer a global variable.
829         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
830
831         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
832         static function. Access through LyX::cref().emergencyCleanup().
833
834 2003-10-14  André Pönitz  <poenitz@gmx.net>
835
836         * iterators.[Ch]: new direct access to innermost LyXText and Inset
837
838         * undo.[Ch]: restoring part of 'undo in insets'
839
840         * Makefile.am:
841         * undo_funcs.[Ch]: merge with undo.[Ch]
842
843         * tabular.C: small cleansing stuff
844
845 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
846
847         * paragraph_funcs.C (readParToken): report unknown insets as error
848         boxes. Use the outer paragraph as location (also for unknown
849         tokens).
850
851         * factory.C (readInset): do not abort on reading an unknown inset.
852         Eat it and return 0.
853
854 2003-10-13  Angus Leeming  <leeming@lyx.org>
855
856         * lyx_main.C (LyX): remove call to setDisplayTranslator().
857
858         * lyxrc.C: displayTranslator is now a function,
859         declared in GraphicsTypes.h.
860
861 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
862
863         * format.C: new placeholder $$a to pass the socket address.
864
865         * bufferlist.[Ch]: new function getBufferFromTmp.
866
867         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
868           files in the temporary dir.
869
870 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
871
872         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
873
874         * Makefile.am: add lyxsocket.[Ch].
875
876         * lyx_main.C (error_handler): handle SIGPIPE.
877
878 2003-10-13  André Pönitz  <poenitz@gmx.net>
879
880         * BufferView_pimpl.C:
881         * lyxtext.h:
882         * text.C:
883         * text2.C:
884         * text3.C:
885         * undo_funcs.[Ch]: use paroffset_type instead of
886           ParagraphList::iterators to prevent multiple conversion
887           (and get a more robust interface)
888
889 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
890
891         * lyxfunc.C (dispatch): RESULT -> dispatch_result
892         * lyxtext.h: ditto
893         * text3.C (dispatch): ditto
894
895 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
896
897         * LaTeX.C (handleFoundFile): move the static to smaller scope,
898         move the onlyfile, use onlyfile instead of foundfile in a couple
899         of places.
900
901         * DepTable.C (update): flush the error stream a bit more
902
903 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
904
905         * lyxserver.C (callback): adjust
906
907         * lyxfunc.C (getStatus): add a missing brace in commented code
908         (ensureBufferClean): reindent
909         (dispatch): delete version taking a string
910
911 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
912
913         * LaTeX.C (deplog): move found file handlig from here...
914         (handleFoundFile): .. to new function here.
915         (deplog): make sure to discover several files mentioned on the
916         same log line.
917
918 2003-10-10  André Pönitz  <poenitz@gmx.net>
919
920         * lyxfunc.C:
921         * lyxtext.h:
922         * tabular.C:
923         * text.C:
924         * text2.C:
925         * text3.C: fix some of the tabular crashes
926
927 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
928
929         * MenuBackend.C (binding): put debug message into Debug::KBMAP
930
931         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
932
933 2003-10-09  André Pönitz  <poenitz@gmx.net>
934
935         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
936
937         * BufferView.C:
938         * BufferView_pimpl.C:
939         * bufferview_funcs.C:
940         * lyx_cb.C:
941         * lyxcursor.C:
942         * lyxfind.C:
943         * lyxfunc.C:
944         * lyxtext.h:
945         * text.C:
946         * text2.C:
947         * text3.C:
948         * text_funcs.[Ch]:
949         * textcursor.[Ch]:
950         * undo_funcs.C: adjust
951
952 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
953
954         * text2.C (incrementItemDepth): new function, use a backtracking
955         algorithm to discover the correct item depth.
956         (resetEnumCounterIfNeeded): new function, use a backtracking
957         algorithm to discover if counter reset is needed.
958         (setCounter): use them. Simplify a bit. Add different labels for
959         different item depths for itemize.
960
961         * paragraph.C (Paragraph): remove initialization of enumdepth
962         (operator=): ditto
963
964         * paragraph.h: get rid of enumdepth, and use itemdepth both for
965         enumerate and itemize. Change the type of itemdepth to signed char.
966
967 2003-10-08  André Pönitz  <poenitz@gmx.net>
968
969         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
970           thing assignable.
971         * text.C:
972         * text2.C: adjust
973
974         * tabular.[Ch]: fix crash after 'row-insert'
975
976 2003-10-08  Angus Leeming  <leeming@lyx.org>
977
978         Fix doxygen warnings.
979
980         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
981         Remove CutAndPaste:: prefix from header file declaration.
982
983         * LColor.h (fill): remove LColor:: prefix from declaration.
984
985         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
986         use lyx::depth_type rather than Paragraph::depth_type so that
987         header file and .C file match.
988
989         * converter.h (intToFormat): remove Converters:: prefix from declaration.
990
991         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
992         * aspell.C: \file aspell_local.C -> \file aspell.C
993         * gettext.C: \file gettext.C -> \file src/gettext.C
994         * gettext.h: \file gettext.h -> \file src/gettext.h
995         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
996         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
997         * text.C: \file text.C -> \file src/text.C
998
999         * toc.C: move comment so that doxygen is not confused.
1000
1001 2003-10-07  Angus Leeming  <leeming@lyx.org>
1002
1003         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1004
1005 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1006
1007         * aspell.C:
1008         * aspell_local.h: add forgotten std::string's.
1009
1010 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1011
1012         * LaTeXFeatures.C:
1013         * LyXAction.C:
1014         * factory.C:
1015         * lfuns.h:
1016         * lyxfunc.C:
1017         * text3.C: The Box patch. Fancybox support, minipage, parbox
1018
1019 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1020
1021         * CutAndPaste.h:
1022         * DepTable.h:
1023         * FloatList.h:
1024         * LaTeXFeatures.h:
1025         * ParagraphParameters.h:
1026         * TextCache.h:
1027         * Thesaurus.h:
1028         * bufferlist.h:
1029         * exporter.h:
1030         * importer.h:
1031         * lastfiles.h:
1032         * lyxfind.h:
1033         * lyxfont.h:
1034         * lyxlex.h:
1035         * lyxtextclasslist.h:
1036         * messages.h:
1037         * paragraph.h:
1038         * paragraph_pimpl.C:
1039         * textcursor.h: add <string> and other small fixes to make Lars'
1040         std::string patch compile with STLport.
1041
1042 2003-10-06  Angus Leeming  <leeming@lyx.org>
1043
1044         * LColor.h: Add missing #include <string>.
1045
1046 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1047
1048         * All most all file in all subdirs: Make <string> be the prefered
1049         way of getting to std::string, add using declarations.
1050
1051 2003-10-06  André Pönitz  <poenitz@gmx.net>
1052
1053         * metricsinfo.C: initialize LyXFont before changing attribute.
1054         (fixes the 'math in \emph is upright' bug)
1055
1056 2003-10-06  André Pönitz  <poenitz@gmx.net>
1057
1058         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1059
1060 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1061
1062         * graph.C:
1063         * paragraph_pimpl.C: Small fixes to build using STLport
1064
1065 2003-10-02  André Pönitz  <poenitz@gmx.net>
1066
1067         * lyxfunc.C:
1068         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1069
1070 2003-10-01  André Pönitz  <poenitz@gmx.net>
1071
1072         * factory.C: assert early
1073
1074 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1075
1076         * lyx_main.C: remove the global debug object
1077
1078         * debug.h: adjust for new debugstream
1079
1080         * debug.C: adjust for new debugstream and keep the global debug
1081         object here.
1082
1083 2003-09-22  Angus Leeming  <leeming@lyx.org>
1084
1085         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1086         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1087         an incomplete class LyXFont.
1088
1089 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1090
1091         * factory.C: bug fix in branches
1092
1093 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1094
1095         * lyxfunc.C (processKeySym): adjust
1096         (dispatch): adjust
1097         (dispatch): change arg name from ev to func, adjust
1098         (sendDispatchMessage): ditto
1099
1100         * lyx_main.C (defaultKeyBindings): adjust keybindings
1101         (deadKeyBindings): ditto
1102
1103         * kbsequence.C (addkey): return a FuncRequest
1104
1105         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1106
1107         * kbmap.C (bind): take a FuncRequest as arg, adjust
1108         (read): adjust
1109         (lookup): adjust
1110         (defkey): change to take a FuncRequest as arg, adjust
1111         (findbinding): take a FuncRequest as arg, adjust.
1112
1113         * funcrequest.h (operator=): added
1114
1115         * funcrequest.C (FuncRequest): default kb_action changed from
1116         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1117
1118         * buffer.C (dispatch): simplify
1119         (dispatch): adjust to take a FuncRequest as arg, adjust
1120
1121         * boost.C (assertion_failed): change assertion message slightly
1122
1123         * ToolbarBackend.C (read): simplify
1124
1125         * MenuBackend.C (binding): adjust call to findbinding, add a
1126         message if no binding is found.
1127         (read): simplify
1128         (expandToc): correct by adding a empty FuncRequest
1129
1130         * LyXAction.C: include <boost/assert.hpp>
1131         (isPseudoAction): delete function
1132         (LookupFunc): change name to...
1133         (lookupFunc): this. change return type to FuncRequest.
1134         (getActionName): take kb_action as arg, simplify
1135         (funcHasFlag): add an assert, simplify.
1136
1137 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1138
1139         * toc.C (action): return a FuncRequest, simplify
1140
1141         * lyxfunc.C (processKeySym): adjust
1142         (getStatus): delete version that takes an int.
1143         (getStatus): adjust
1144         (dispatch): delete version that takes action as int
1145         (dispatch): adjust
1146         (sendDispatchMessage): simplify and adjust
1147
1148         * funcrequest.C (getArg): take unsigned int as arg
1149
1150         * ToolbarBackend.C (read): adjust
1151         (add): delete version that takes func as a string.
1152         (getIton): take a FuncRequest as arg
1153
1154         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1155         action.
1156
1157         * MenuBackend.C (MenuItem): add a new construct that only takes a
1158         Kind, simplify the constructor use for submenus.
1159         (add): adjust
1160         (expandLastfiles): adjust
1161         (expandDocuments): adjust
1162         (expandFormats): adjust
1163         (expandFloatListInsert): adjust
1164         (expandFloatInsert): adjust
1165         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1166
1167         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1168         Remove class variables lyx_pseudo_map and lyx_arg_map
1169
1170         * LyXAction.C (searchActionArg): delete function
1171         (getPseudoAction): delete function
1172         (retrieveActionArg): delete function
1173         (LookupFunc): make it return kb_action, simplify.
1174         (getActionName): simplify
1175
1176         * factory.C (createInset): fix new bug
1177
1178 2003-09-19  Angus Leeming  <leeming@lyx.org>
1179
1180         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1181         masterFilename_ parameter in the include inset.
1182
1183         * factory.C (createInset): changes due to the changes to InsetInclude.
1184
1185 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1186
1187         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1188
1189 2003-09-18  Angus Leeming  <leeming@lyx.org>
1190
1191         * buffer.C:
1192         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1193         Inset::fillWithBibKeys.
1194         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1195
1196 2003-09-18  Angus Leeming  <leeming@lyx.org>
1197
1198         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1199         variables.
1200         (ctor): pass and store a 'Buffer const &'
1201         (buffer): new member function.
1202
1203         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1204         '*this' to the LaTeXFeatures ctor.
1205
1206 2003-09-18  Angus Leeming  <leeming@lyx.org>
1207
1208         * LColor.h:
1209         * lyxfont.C:
1210         * lyxfont.h:
1211         * lyxtext.h:
1212         * text.C: rename EnumLColor as LColor_color.
1213
1214 2003-09-18  Angus Leeming  <leeming@lyx.org>
1215
1216         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1217         remove #include "insets/insetbase.h" from cursor.h.
1218
1219 2003-09-18  Angus Leeming  <leeming@lyx.org>
1220
1221         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1222         InsetOld_code to remove #include "inset.h".
1223
1224         * iterators.C: add #include "insets/inset.h"
1225
1226 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1227
1228         * BufferView.C: remove more locking stuff that apparently doesn't
1229         do anything sensible.
1230
1231 2003-09-16  André Pönitz  <poenitz@gmx.net>
1232
1233         * paragraph.[Ch]:
1234         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1235           performance boost.
1236
1237 2003-09-16  Angus Leeming  <leeming@lyx.org>
1238
1239         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1240
1241         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1242         arg/return type.
1243
1244         * paragraph.h: remove #include "lyxfont.h". Forward declare
1245         LyXFont_size.
1246
1247 2003-09-16  Angus Leeming  <leeming@lyx.org>
1248
1249         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1250         of support/textutils.h.
1251         (isWord): move the contents of support/textutils.h's IsWordChar here.
1252
1253         * buffer.C:
1254         * lyxfind.C:
1255         * rowpainter.C:
1256         * text.C:
1257         * text2.C: add #include "paragraph.h".
1258
1259         * rowpainter.C:
1260         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1261
1262 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1263
1264         * main.C:
1265         * lyx_main.C:
1266         * lyx_cb.C:
1267         * buffer.C:
1268         * LaTeX.C: use namespace alias for lyx::support::os
1269
1270 2003-09-16  Angus Leeming  <leeming@lyx.org>
1271
1272         * bufferparams.C:
1273         * bufferview_funcs.C:
1274         * factory.C:
1275         * lyxfunc.C:
1276         * paragraph_pimpl.C:
1277         * rowpainter.C:
1278         * text.C: add #include "LColor.h".
1279
1280 2003-09-16  Angus Leeming  <leeming@lyx.org>
1281
1282         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1283         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1284         return LyXFont &.
1285         Store the FontBits::color variable as an int rather than as an
1286         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1287         file.
1288
1289         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1290         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1291         string calls together.
1292
1293         * lyxrc.C: add #include "LColor.h".
1294
1295 2003-09-15  Angus Leeming  <leeming@lyx.org>
1296
1297         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1298         a cow_ptr.
1299
1300 2003-09-15  Angus Leeming  <leeming@lyx.org>
1301
1302         * LColor.h: add an EnumLColor wrapper for LColor::color.
1303
1304         * lyxfont.[Ch] (color, setColor, realColor):
1305         * lyxtext.h, text.C (backgroundColor):
1306         pass EnumLColor args to/from the functions, rather than LColor::color
1307         ones.
1308
1309         * lyxfont.h:
1310         * lyxtext.h: forward declare EnumLColor.
1311
1312         * lyx_main.C: add #include "LColor.h".
1313
1314 2003-09-15  Angus Leeming  <leeming@lyx.org>
1315
1316         * .cvsignore: add lyx-gtk.
1317
1318 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1319
1320         * Chktex.C
1321         * LaTeX.C
1322         * LaTeXFeatures.C
1323         * ParagraphParameters.C
1324         * Spacing.C
1325         * buffer.C
1326         * bufferparams.C
1327         * bufferview_funcs.C
1328         * chset.C
1329         * counters.C
1330         * funcrequest.C
1331         * lyxfont.C
1332         * lyxgluelength.C
1333         * lyxlength.C
1334         * paragraph.C
1335         * paragraph_funcs.C
1336         * text3.C
1337         * vc-backend.C: remove usage of STRCONV
1338
1339 2003-09-15  Angus Leeming  <leeming@lyx.org>
1340
1341         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1342         explicitly define the color passed to the painter.
1343
1344 2003-09-15  Angus Leeming  <leeming@lyx.org>
1345
1346         * bufferparams.C (BufferParams): reorder member initializers to avoid
1347         compiler warning.
1348
1349 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1350
1351         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1352         * text.C (updateRowPositions): remove an unusual nop
1353
1354 2003-09-12  André Pönitz  <poenitz@gmx.net>
1355
1356         * BufferView_pimpl.C:
1357         * Bullet.C:
1358         * layout.h:
1359         * lyxfunc.C:
1360         * lyxlayout.[Ch]:
1361         * lyxtextclass.C:
1362         * rowpainter.C:
1363         * text.C:
1364         * text2.C:
1365         * Counters.[Ch]: finish the 'automatic counters' job
1366
1367 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1368
1369         * aspell.C: include <boost/assert.cpp> (compile fix)
1370
1371 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1372
1373         * boost.C (assertion_failed): use lyx::support::abort instead of
1374         assert.
1375
1376 2003-09-10  Angus Leeming  <leeming@lyx.org>
1377
1378         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1379         with their _fwd progeny.
1380
1381 2003-09-09  Angus Leeming  <leeming@lyx.org>
1382
1383         134 files throughtout the source tree: replace 'using namespace abc;'
1384         directives with the appropriate 'using abc::xyz;' declarations.
1385
1386 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1387
1388         * boost.C (emergencyCleanup): moved here from LAssert.c
1389         (assertion_failed): new function, called by BOOST_ASSERT
1390
1391         * several files: change Assert to BOOST_ASSERT
1392
1393 2003-09-09  Angus Leeming  <leeming@lyx.org>
1394
1395         * buffer.[Ch]: Add an Impl class and move Buffer's member
1396         variables into it. As a result move several header files out of
1397         buffer.h.
1398
1399         Add header files to lots of .C files all over the tree as a result.
1400
1401 2003-09-09  Angus Leeming  <leeming@lyx.org>
1402
1403         * buffer.[Ch]: make Buffer's member variables private. Add
1404         accessor functions.
1405
1406         Lots of changes all over the tree as a result.
1407
1408 2003-09-08  Angus Leeming  <leeming@lyx.org>
1409
1410         * graph.C: #include <config.h>.
1411
1412 2003-09-08  Angus Leeming  <leeming@lyx.org>
1413
1414         * BranchList.C:
1415         * BufferView.C:
1416         * BufferView_pimpl.C:
1417         * CutAndPaste.C:
1418         * DepTable.C:
1419         * LaTeX.C:
1420         * LaTeXFeatures.C:
1421         * LyXAction.C:
1422         * MenuBackend.C:
1423         * TextCache.C:
1424         * aspell.C:
1425         * buffer.C:
1426         * bufferlist.C:
1427         * changes.C:
1428         * chset.C:
1429         * converter.C:
1430         * counters.C:
1431         * debug.C:
1432         * graph.C:
1433         * ispell.C:
1434         * lyx_cb.C:
1435         * lyxfind.C:
1436         * lyxfunc.C:
1437         * lyxlex_pimpl.C:
1438         * lyxrc.C:
1439         * lyxrow.C:
1440         * paragraph.C:
1441         * rowpainter.C:
1442         * texrow.C:
1443         * text.C:
1444         * text2.C:
1445         * toc.C: remove redundant using directives.
1446
1447 2003-09-07  Angus Leeming  <leeming@lyx.org>
1448
1449         * LaTeXFeatures.h: remove #include "support/types.h".
1450         * ToolbarBackend.h: remove #include <algorithm>.
1451         * changes.h: remove #include <ctime>.
1452         * debug.h: remove #include <iosfwd>.
1453         * graph.h: remove #include "support/std_string.h".
1454         * lyx_main.h: remove #include <csignal>.
1455         * lyxlex_pimpl.h: remove #include <fstream>.
1456         * sgml.h: remove #include <algorithm>, <utility>.
1457         * toc.h: remove #include "support/std_ostream.h".
1458         Add #include <iosfwd>.
1459
1460 2003-09-07  Angus Leeming  <leeming@lyx.org>
1461
1462         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1463
1464         * converter.h: forward declare LatexRunParams.
1465         * encoding.h: remove #include "lyxrc.h".
1466         * lyxtext.h: remove #include "LColor.h".
1467         * lyxtextclass.h: remove #include "support/types.h".
1468         * trans.h: remove #include "tex-accent.h".
1469         * trans_mgr.h: remove #include "tex-accent.h".
1470         * insets/inset.h: remove #include "support/types.h", <vector>.
1471         * insets/insetcollapsable.h: remove #include "LColor.h".
1472         * insets/insetinclude.h: remove #include "dimension.h".
1473         * insets/insetlatexaccent.h: remove #include "dimension.h".
1474         * insets/insetoptarg.h:: remove #include "insettext.h".
1475         * insets/insettext.h: remove #include "dimension.h",
1476         <boost/shared_ptr.hpp>
1477
1478         * insets/renderers.h: add #include "dimension.h".
1479         * insets/updatableinset.h: add #include "support/types.h".
1480
1481         * many .C files: Associated changes.
1482
1483 2003-09-06  Angus Leeming  <leeming@lyx.org>
1484
1485         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1486         one, inside testInvariant.
1487
1488         * PrinterParams.C: new file.
1489         * PrinterParams.[Ch]: move the function bodies out of line.
1490
1491 2003-09-06  Angus Leeming  <leeming@lyx.org>
1492
1493         * ParagraphParameters.h: forward declare ParameterStruct rather than
1494         including its header file.
1495         (depth): moved out-of-line.
1496
1497 2003-09-06  Angus Leeming  <leeming@lyx.org>
1498
1499         * BufferView_pimpl.h:
1500         * kbmap.h:
1501         * kbsequence.h:
1502         * lyxfunc.h: forward declare LyXKeySym rather than
1503         #include "frontends/LyXKeySym.h".
1504
1505         * BufferView_pimpl.C:
1506         * kbmap.C:
1507         * kbsequence.C:
1508         * lyxfunc.C: associated changes.
1509
1510 2003-09-06  Angus Leeming  <leeming@lyx.org>
1511
1512         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1513         As a result, can remove the #include "insets/inset.h" from BufferView.h
1514
1515 2003-09-06  Angus Leeming  <leeming@lyx.org>
1516
1517         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1518         As a result, can remove the #include "insets/inset.h" from BufferView.h
1519
1520 2003-09-06  Angus Leeming  <leeming@lyx.org>
1521
1522         * buffer_funcs.C:
1523         * buffer.h:
1524         * bufferlist.C:
1525         * BufferView.C:
1526         * bufferview_funcs.C:
1527         * BufferView_pimpl.C:
1528         * CutAndPaste.C:
1529         * lyx_cb.C:
1530         * lyxfunc.C:
1531         * paragraph.h:
1532         * ParagraphParameters.C:
1533         * tabular.C:
1534         * text3.C:
1535         * toc.C:
1536         * undo_funcs.C:
1537         * frontends/controllers/ControlDocument.C:
1538         * insets/insetcaption.C: rearrange the #includes into some sort of
1539         coherent order.
1540
1541         * buffer.h: remove #includes ErrorList.h, undo.h
1542
1543 2003-09-06  Angus Leeming  <leeming@lyx.org>
1544
1545         * support/types.h: add a 'depth_type' typedef, used to store the
1546         nesting depth of a paragraph.
1547
1548         * paragraph.h:
1549         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1550         defining explicitly.
1551
1552         * buffer.h:
1553         * paragraph_funcs.h:
1554         * ParagraphParameters.h:
1555         * sgml.h: use lyx::depth_type rather than Paragraph or
1556         ParameterStruct's depth_type.
1557
1558         * buffer.h
1559         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1560
1561         * BufferView.C:
1562         * BufferView_pimpl.C:
1563         * CutAndPaste.C:
1564         * ParagraphParameters.C:
1565         * buffer_funcs.C:
1566         * bufferlist.C:
1567         * bufferview_funcs.C:
1568         * lyx_cb.C:
1569         * lyxfunc.C:
1570         * tabular.C:
1571         * text3.C:
1572         * toc.C:
1573         * undo_funcs.C:
1574         * frontends/LyXView.C:
1575         * frontends/controllers/ControlDocument.C:
1576         * frontends/controllers/ControlErrorList.C:
1577         * insets/insetbibitem.C:
1578         * insets/insetbranch.C:
1579         * insets/insetcaption.C:
1580         * insets/insetcollapsable.C:
1581         * insets/insetenv.C:
1582         * insets/insetert.C:
1583         * insets/insetfloat.C:
1584         * insets/insetfoot.C:
1585         * insets/insetfootlike.C:
1586         * insets/insetnewline.C:
1587         * insets/insetquotes.C:
1588         * insets/insettabular.C:
1589         * insets/insettext.C:
1590         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1591
1592         * frontends/controllers/ControlChanges.C: #include "changes.h".
1593
1594 2003-09-06  Angus Leeming  <leeming@lyx.org>
1595
1596         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1597         than #including paragraph.h.
1598
1599         * ParagraphList.h:
1600         * RowList.h: deleted. Superfluous.
1601
1602         * CutAndPaste.h:
1603         * iterators.h:
1604         * lyxcursor.h:
1605         * lyxtext.h:
1606         * text_funcs.h:
1607         * undo.h:
1608         * undo_funcs.h:
1609         * insets/inset.h:
1610         * insets/insettext.h: use ParagraphList_fwd.h rather than
1611         ParagraphList.h.
1612
1613         * paragraph.h: don't forward declare ParagraphList.
1614
1615         * buffer.h:
1616         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1617         rather than ParagraphList.h. paragraph.h is still needed for the
1618         Paragraph::depth_type parameters.
1619
1620         * textcursor.h: enable it to compile stand-alone in light of the
1621         above changes.
1622
1623         * bufferview_funcs.C:
1624         * iterators.C:
1625         * lyxfunc.C:
1626         * lyxrow_funcs.C:
1627         * paragraph.C:
1628         * rowpainter.C:
1629         * text.C:
1630         * text2.C:
1631         * text3.C:
1632         * text_funcs.C:
1633         * textcursor.C:
1634         * undo.C:
1635         * frontends/controllers/ControlParagraph.C:
1636         * frontends/controllers/ControlTabular.C:
1637         * insets/insetmarginal.C:
1638         * insets/insetminipage.C:
1639         * insets/insetnote.C:
1640         * insets/insetoptarg.C: add header files needed to compile again.
1641
1642 2003-09-06  Angus Leeming  <leeming@lyx.org>
1643
1644         * RowList_fwd.h: new file, forward-declaring Row rather than
1645         #including lyxrow.h.
1646
1647         * lyxrow_funcs.h:
1648         * lyxtext.h:
1649         * paragraph.h:
1650         * insets/insettext.h: use it instead of RowList.h
1651
1652         * bufferview_funcs.C:
1653         * lyxfunc.C:
1654         * lyxrow_funcs.C:
1655         * paragraph.C:
1656         * rowpainter.C:
1657         * text.C:
1658         * text2.C:
1659         * text3.C: #include "RowList.h".
1660
1661 2003-09-05  Angus Leeming  <leeming@lyx.org>
1662
1663         * factory.C (createInset):
1664         * vspace.C (c-tor): replace sscanf call with an istringstream.
1665         * ispell.C: re-add missing HP/UX headers.
1666         * lyxserver.C: re-add missing  os2 headers.
1667
1668 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1669
1670         * BranchList.C:
1671         * graph.C:
1672         * ispell.C:
1673         * lastfiles.C:
1674         * lyx_cb.C:
1675         * lyxserver.C:
1676         * texrow.C:
1677         * text3.C: re-add missing system headers, needed for 2.95.2.
1678
1679 2003-09-05  Angus Leeming  <leeming@lyx.org>
1680
1681         Changes most place everywhere due to the removal of using directives
1682         from support/std_sstream.h.
1683
1684 2003-09-05  Angus Leeming  <leeming@lyx.org>
1685
1686         Replace LString.h with support/std_string.h,
1687         Lsstream.h with support/std_sstream.h,
1688         support/LIstream.h with support/std_istream.h,
1689         support/LOstream.h with support/std_ostream.h.
1690
1691         Changes resulting throughout the tree.
1692
1693 2003-09-05  Angus Leeming  <leeming@lyx.org>
1694
1695         * sgml.h: ensure that the header file can be compiled stand-alone.
1696         * *.C: strip out redundant #includes. (320 in total.)
1697
1698 2003-09-04  Angus Leeming  <leeming@lyx.org>
1699
1700         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1701         here (from getPackages).
1702
1703         * debug.[Ch]: add a new EXTERNAL tag.
1704
1705 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1706
1707         * text2.C (cursorEnd): simplify
1708         (setCursor): adjust
1709         (getColumnNearX): adjust
1710
1711         * text.C (computeBidiTables): adjust
1712         (fill): adjust
1713
1714         * rowpainter.C (paintChars): adjust
1715         (paintSelection): adjust
1716         (paintChangeBar): adjust
1717         (paintText): adjust
1718
1719         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1720         lastPos instead.
1721         (numberOfSeparators): adjust
1722
1723 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1724
1725         * LyXAction.C:
1726         * box.[Ch]:
1727         * lfuns.h:
1728         * lyxfunc.C:
1729         * text3.C: Restricts the mouse click functionality
1730         of insets like bibtex, include, toc and floatlist to the visible
1731         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1732         up the dialogs. Cursor has to be in front of the inset (i.e.
1733         start of row) for this to function.
1734
1735 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1736
1737         * bufferview_funcs.C (currentState): output row information
1738
1739 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1740
1741         * bufferview_funcs.C (currentState): output paragraph position
1742
1743 2003-09-04  Angus Leeming  <leeming@lyx.org>
1744
1745         * FloatList.h: move out #include "Floating.h".
1746         * LaTeX.h: move out #include "DepTable.h".
1747         * LyXAction.h: move out #include "funcrequest.h".
1748         * buffer.h: move out #include "author.h", "iterators.h".
1749         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1750         * lyx_main.h: move out #include "errorlist.h".
1751         * lyxfunc.h: move out #include "FuncStatus.h".
1752         * lyxtext: move out #include "lyxcursor.h".
1753         * paragraph_pimpl.h: move out #include "counters.h".
1754
1755 2003-09-03  Angus Leeming  <leeming@lyx.org>
1756
1757         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1758         preamble_snippets list, enabling us to add snippets to the preamble
1759         only if the snippet was not there already.
1760
1761 2003-09-04  Angus Leeming  <leeming@lyx.org>
1762
1763         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1764
1765 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1766
1767         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1768         update
1769
1770 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1771
1772         * BranchList.C: point fix, earlier forgotten
1773
1774 2003-09-02  Angus Leeming  <leeming@lyx.org>
1775
1776         * box.C (contains): renamed from 'contained' after a fantastic
1777         amount of hot air.
1778
1779 2003-09-02  John Levon  <levon@movementarian.org>
1780
1781         * BufferView.C:
1782         * lyxcursor.h:
1783         * lyxcursor.C:
1784         * lyxfunc.C:
1785         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1786
1787 2003-09-02  John Levon  <levon@movementarian.org>
1788
1789         * text2.C: simplification of cursorEnd(), including partial
1790         fix for bug 1376
1791
1792 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1793
1794         * buffer.C (readFile): add a space
1795
1796 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1797
1798         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1799
1800 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1801
1802         * buffer.C (readFile): new function, take a filename and a
1803         ParagraphList::iterator
1804         (readFile): adjust
1805         (readFile): adjust, make it private. don't use setStream, make
1806         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1807         always contain the filename.
1808
1809         * BufferView.C (insertLyXFile): simplify and make it work for
1810         gzipped files.
1811
1812 2003-08-30  John Levon  <levon@movementarian.org>
1813
1814         * Makefile.am: fix dist (from Kayvan)
1815
1816 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1817
1818         * most files: change to use const Buffer refs
1819
1820 2003-08-27  André Pönitz  <poenitz@gmx.net>
1821
1822         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1823         on top of ownerPar().
1824
1825 2003-08-27  John Levon  <levon@movementarian.org>
1826
1827         * funcrequest.C: properly initialise POD members
1828
1829 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1830
1831         * lyxtext.h (top_y): move top_y from here
1832         * text.C:
1833         * text2.C:
1834         * text3.C:
1835         * BufferView.[Ch]:
1836         * BufferView_pimpl.[Ch]: to here
1837         * frontends/screen.C:
1838         * insets/insettabular.C:
1839         * insets/insettext.C: adjust
1840         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1841
1842 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1843
1844         * BufferView.[Ch]:
1845         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1846
1847 2003-08-26  André Pönitz  <poenitz@gmx.net>
1848
1849         * paragraph_func.[Ch] (outerPar): new function
1850
1851         * paragraph.C:
1852         * paragraph_funcs.C:
1853         * paragraph_funcs.h:
1854         * paragraph_pimpl.C:
1855         * text2.C: remove Inset::par_owner
1856
1857 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1858
1859         * lyxrow_funcs.C:
1860         * lyxtext.h:
1861         * text.C:
1862         * text2.C: eliminates the needFullRow/display() stuff
1863         altogether, putting the logic in metrics/draw in the insets.
1864
1865 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1866
1867         * text2.C (redoParagraphInternal, redoParagraphs):
1868         * text.C (redoParagraph): add a call to updateRowPositions at the
1869         end of each 'metrics-like' call. Remove all others.
1870         (getRow): remove the 'y-computing' version.
1871         (getRowNearY): do not compute nor return the real y. Solve the
1872         'y < 0' problem and simplify.
1873
1874 2003-08-22  Angus Leeming  <leeming@lyx.org>
1875
1876         * *.[Ch]: clean-up of licence and author blurbs.
1877         Also move config.h out of a few .h files and into a few .C files.
1878
1879 2003-08-22  André Pönitz  <poenitz@gmx.net>
1880
1881         * lyxrow.[Ch]: add x_ and *fill_ members
1882
1883         * lyxtext.h:
1884         * text.C:
1885         * rowpainter.C:
1886         * text2.C: adjust/remove prepareToPrint() calls
1887
1888 2003-08-22  André Pönitz  <poenitz@gmx.net>
1889
1890         * lyxrow.[Ch]: add  end_ member
1891
1892         * lyxrow_funcs.C: use LyXRow::end_
1893
1894         * lyxtext.h (singleWidth): add LyXFont parameter
1895
1896         * rowpainter.C:
1897         * text2.C: adjust LyXText::singleWidth() calls
1898
1899         * text.C (redoParagraph): simplify row breaking logic
1900
1901
1902 2003-08-19  André Pönitz  <poenitz@gmx.net>
1903
1904         * funcrequest.C: initialize button_ member
1905
1906         * text3.C:
1907         * rowpainter.[Ch]: interface consolidation
1908
1909 2003-08-18  André Pönitz  <poenitz@gmx.net>
1910
1911         * BufferView.C:
1912         * BufferView_pimpl.C:
1913         * lyxfind.C:
1914         * paragraph_funcs.C:
1915         * rowpainter.C:
1916         * text3.C: remove LyXScreen::draw() and fitCursor calls
1917
1918         * BranchList.h: remove spurious semicolons
1919
1920         * MenuBackend.C: fix branchlist related crash
1921
1922 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1923
1924         * BranchList.[Ch]:
1925         * InsetList.[Ch]:
1926         * LColor.[Ch]:
1927         * LyXAction.C:
1928         * Makefile.am:
1929         * MenuBackend.[Ch]:
1930         * bufferparams.[Ch]:
1931         * factory.C:
1932         * lfuns.h:
1933         * lyxfunc.C:
1934         * text3.C: implements the 'branch inset'
1935         idea. This allows the output of various versions of a document
1936         from a single source version, selectively outputing or suppressing
1937         output of parts of the text.
1938         This implementation contains a 'branch list editor' in a separate
1939         tab of the document settings dialog. Branches are user definable
1940         and have a "display colour" to distinguish them on-screen.
1941
1942         ColorHandler was somewhat cleaned up.
1943         (1) make possible a dynamically growing LColor list by allowing
1944         the graphic context cache to grow along (vector);
1945         (2) eliminate an IMHO unnecessary step in colour allocation.
1946
1947 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1948
1949         * BufferView_pimpl.C: compile fix
1950
1951 2003-08-15  André Pönitz  <poenitz@gmx.net>
1952
1953         * rowpainter.C: remove extra metrics calls
1954
1955         * lyxtext.h: merge the two constructors into a single one,
1956           pass reference to owner's par list
1957
1958         * BufferView_pimpl.C:
1959         * text.C:
1960         * text2.C: adjust
1961
1962 2003-08-15  André Pönitz  <poenitz@gmx.net>
1963
1964         * lyxrow_funcs.[Ch]:
1965         * lyxtext.h:
1966         * paragraph.h:
1967         * paragraph_funcs.C:
1968         * rowpainter.C:
1969         * text.C:
1970         * text2.C:
1971         * text3.C:
1972         * text_funcs.C: split LyXText::rowlist_ into individual
1973         Paragraph::rows_ chunks
1974
1975         * BufferView.[Ch]:
1976         * BufferView_pimpl.[Ch]:
1977         * lyxfind.C:
1978         * lyxtext.h:
1979         * text3.C: remove toggleSelection()
1980
1981 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1982
1983         * bufferlist.C: beautify two alerts (shorter text of buttons)
1984         * buffer.C: Remove redundant ' ' from message
1985         * tabular.h:
1986         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1987         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1988         rename VALIGN_CENTER to VALIGN_MIDDLE
1989
1990 2003-08-11  André Pönitz  <poenitz@gmx.net>
1991
1992         * lyxtext.h (getPar):
1993         * text.C: new function
1994
1995 2003-08-11  André Pönitz  <poenitz@gmx.net>
1996
1997         * Makefile.am:
1998         * tracer.[Ch]: remove unneeded files
1999
2000         * InsetList.[Ch]: remove resizeInsetsLyXText()
2001
2002         * lyxtext.h:
2003         * text.C:
2004         * text2.C:
2005         * text3.C: merge insertParagraphs() and appendParagraph()
2006         remove breakAgain(), update()
2007
2008         * BufferView_pimpl.[Ch]:
2009         * bufferview_funcs.[Ch]:
2010         * lyxfunc.C:
2011         * paragraph.[Ch]:
2012         * rowpainter.C:
2013         * tabular.C: adjust after text & InsetList changes.
2014
2015 2003-08-08  André Pönitz  <poenitz@gmx.net>
2016
2017         * text.C (insertChar, backspace): replace rowlist fiddling
2018         with rebreak of full par
2019
2020         * lyxtext.h:
2021         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2022         checkParagraph, updateInset): removed
2023
2024 2003-08-07  André Pönitz  <poenitz@gmx.net>
2025
2026         * paragraph.C:
2027         * text3.C: merge some LFUN handlers, remove dead code
2028
2029 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2030
2031         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2032
2033 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2034
2035         * text2.C (DEPM): fix part of bug 1255 and 1256
2036
2037 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2038
2039         * BufferView_pimpl.C (workAreaDispatch): change to use
2040         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2041         that are no mouse related.
2042
2043 2003-08-05  André Pönitz  <poenitz@gmx.net>
2044
2045         * BufferView.[Ch]:
2046         * BufferView_pimpl.[Ch]:
2047         * bufferview_funcs.C:
2048         * text2.C:
2049         * text3.C: rip out "deep update"
2050
2051         * textcursor.[Ch] (last_sel_cursor): remove unused member
2052
2053 2003-08-04  André Pönitz  <poenitz@gmx.net>
2054
2055         * BufferView.[Ch]:
2056         * BufferView_pimpl.[Ch]:
2057         * ParagraphParameters.C:
2058         * bufferview_funcs.C:
2059         * lyx_cb.C:
2060         * lyxfind.C:
2061         * lyxfunc.C:
2062         * text.C:
2063         * text2.C:
2064         * text3.C: replace "complicated" BufferView::update(...) calls with
2065         simpler ones.
2066
2067         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2068
2069 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2070
2071         * Makefile.am (lyx_SOURCES): add paper.h
2072
2073 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2074
2075         * Makefile.am: move things around so that both lyx-qt and
2076         lyx-xforms can be built (according to --with-frontend). Then lyx
2077         is a symbolic link to lyx-[firstfrontend]
2078
2079 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2080
2081         * Always use std::endl with lyxerr
2082
2083 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2084
2085         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2086
2087 2003-08-01  André Pönitz  <poenitz@gmx.net>
2088
2089         * BufferView.[Ch]:
2090         * BufferView_pimpl.[Ch]:
2091         * lyxfunc.C:
2092         * text3.C: merge BufferView::repaint() and BufferView::update()
2093
2094 2003-08-01  José Matos  <jamatos@lyx.org>
2095
2096         * buffer.[Ch]: file_format is no longer a buffer data element.
2097
2098 2003-08-01  André Pönitz  <poenitz@gmx.net>
2099
2100         * BufferView.C:
2101         * lyxtext.h:
2102         * text.C:
2103         * text2.C: make redoParagraph more independent of current cursor
2104
2105         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2106         * text.C:
2107         * text2.C: remove unneeded members
2108
2109 2003-07-30  André Pönitz  <poenitz@gmx.net>
2110
2111         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2112
2113         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2114           create a single function...
2115
2116         * paragraph_funcs.C (moveItem): ... here.
2117
2118         * text.C:
2119           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2120
2121 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2122
2123         * LColor.[Ch]: Add comment and greyedout logical colors.
2124
2125 2003-07-30  André Pönitz  <poenitz@gmx.net>
2126
2127         * tabular.C: don't use Assert too heavily. This crashes where it
2128           shouldn't
2129
2130 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2131
2132         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2133         is disabled (bug 1232)
2134
2135 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2136
2137         * factory.C: limited 'arg' scope
2138
2139 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2140
2141         * factory.C: fixed Note submenu issues
2142
2143 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2144
2145         * factory.C: submenu for Note/Comment/Greyedout
2146
2147 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2148
2149         * lyx_main.C (LyX):
2150         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2151
2152 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2153
2154         * LaTeXFeatures.C:
2155         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2156         greyedout. Patch provided by Jürgen Spitzmüller.
2157
2158 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2159
2160         * kbmap.C (read): fix error message when reading bind files
2161
2162 2003-07-29  Angus Leeming  <leeming@lyx.org>
2163
2164         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2165         certainly does not do what it purports to do. I am doing it, and
2166         us, a favour by killing it.
2167
2168 2003-07-28  José Matos  <jamatos@lyx.org>
2169
2170         * buffer.C (readBody, do_writeFile):
2171         * paragraph.C(readParagraph): \end_document replaces \the_end.
2172
2173 2003-07-29  André Pönitz  <poenitz@gmx.net>
2174
2175         * BufferView.[Ch]:
2176         * BufferView_pimpl.[Ch]:
2177         * lyxfunc.C:
2178         * text2.C:
2179         * text3.C:
2180         * textcursor.[Ch]: remove toggleToggle & Co
2181
2182 2003-07-28  José Matos  <jamatos@fep.up.pt>
2183
2184         * buffer.C (readParagraph):
2185         * params_func (readParToken, readParagraph):
2186         * paragraph.C (write): \layout -> \begin_layout.
2187
2188 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * lyxlex_pimpl.C (setFile): clean up slightly.
2191
2192         * bufferparams.h: add compressed var
2193
2194         * buffer_funcs.C (readFile): adjust for LyXLex change
2195         (newFile): ditto + simplify
2196
2197         * buffer.C (writeFile): handle writing of compressed files
2198
2199         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2200         Check if the file is compressed and set a bufferparm if so.
2201
2202         * Makefile.am (lyx_LDADD): remove explicit -lz
2203
2204 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2205
2206         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2207         makeDocBookFile): put the real LyX version in the first line of
2208         the file
2209
2210         * version.h:
2211         * version.C.in: remove lyx_docversion
2212
2213         * tabular.C (write_attribute): add a template-based version to
2214         write enums properly
2215
2216 2003-07-28  André Pönitz  <poenitz@gmx.net>
2217
2218         * lyxtext.h:
2219         * text.C:
2220         * text2.C:
2221         * text3.C: use doubles again for x-coordinates. They are needed.
2222
2223 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2224
2225         * messages.C (getLocaleDir): use lyx_localedir()
2226
2227         * lyxlex_pimpl.C (setFile): compress stuff
2228
2229         * buffer.C (writeFile): add some compression stuff
2230         (do_writeFile): new func, dont call expliti close... will this
2231         breake anything?
2232
2233         * Makefile.am (lyx_LDADD): add -lz
2234
2235 2003-07-28  José Matos  <jamatos@fep.up.pt>
2236
2237         * buffer.C: increment file format.
2238         * paragraph_funcs (readParagraph, readParToken):
2239         * paragraph.C (readParagraph): add \end_layout.
2240
2241 2003-07-27  Angus Leeming  <leeming@lyx.org>
2242
2243         * Makefile.am: remove special casing for configure-time setting of
2244         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2245
2246         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2247         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2248
2249 2003-07-26  André Pönitz  <poenitz@gmx.net>
2250
2251         * paragraph_func.[Ch]:
2252         * paragraph.C (realizeFont): inline it whereever it is used
2253
2254         * rowpainter.C:
2255         * text.C:
2256         * text2.C:
2257         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2258
2259
2260 2003-07-26  André Pönitz  <poenitz@gmx.net>
2261
2262         *       lyxtext.h:
2263         * text.C:
2264         * text2.C: get rid of LyXText::need_break_row
2265
2266 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2267
2268         * toc.[Ch]: put namespace toc inside namespace lyx
2269
2270         * MenuBackend.C (expandToc2): adjust for lyx::toc
2271         (expandToc): ditto
2272
2273         * lyxfunc.C (dispatch): adjust for lyx::find
2274
2275         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2276         lyx::find instead. Reorganize a bit.
2277         (LyXReplace): rename to replace
2278         (LyXFind): rename to find
2279
2280         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2281         (dispatch): ditto
2282
2283 2003-07-26  André Pönitz  <poenitz@gmx.net>
2284
2285         * text.C (setHeightOfRow): restrict scope of temporary variable
2286
2287         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2288           code (never has been used?)
2289
2290 2003-07-27  Asger Alstrup  <alstrup@local>
2291
2292         * text.C (fill): Optimise algorithm to exploit that we can reuse
2293         the LyXFont for many characters.
2294         (setHeightOfRow): Same thing.
2295         (rowBreakPoint): Same thing.
2296
2297 2003-07-26  Asger Alstrup  <alstrup@local>
2298
2299         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2300
2301         * text.C (singleWidth): Spurious font copying in hot-spot
2302         singleWidth avoided. Reorder tests for arabic for efficiency.
2303
2304         * text.C (fill): handle empty paragraphs better.
2305
2306 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2307
2308         * ispell.C:
2309         * encoding.h: add includes
2310
2311         * lyxrc.C: remove reading of bind files
2312
2313         * lyx_main.C (init): setup bindings and menus only if we have a
2314         gui.
2315
2316         * kbmap.C (read): new method. Do the actual reading of bind
2317         files.
2318
2319         * converter.C (dvipdfm_options):
2320         * bufferparams.C:
2321         * lyxrc.C (read):
2322         (output): adapt PAPER_* enums.
2323
2324         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2325
2326         * bufferparams.h: remove paper-related enums from there
2327
2328         * paper.h: New file. A trivial header file to hold paper-related
2329         enums. It should later expand to contain many paper-related
2330         horrors access.
2331
2332         * lyxrc.C: declare extern displayTranslator
2333
2334 2003-07-27  José Matos  <jamatos@fep.up.pt>
2335
2336         * tabular.[Ch] (linuxdoc): add support for tables and figures
2337         (linuxdoc).
2338
2339 2003-07-27  José Matos  <jamatos@fep.up.pt>
2340
2341         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2342         consistency in both functions.
2343         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2344
2345 2003-07-26  Asger Alstrup  <alstrup@local>
2346
2347         * rowpainter.C (paintRows): Change algorithm to work directly on
2348         the insets rather than asking every character in the document
2349         whether its an inset.
2350
2351 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2352
2353         * buffer.C (openFileWrite): factorize some code
2354
2355 2003-07-26  Angus Leeming  <leeming@lyx.org>
2356
2357         * lyx_cb.C:
2358         * lyx_main.[Ch]: replace occurances of system_tempdir with
2359         os::getTmpDir().
2360
2361 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * rename Inset to InsetOld
2364
2365 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2366
2367         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2368         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2369         which I think is a bit clearer. EDIT is gone, since it was
2370         premature optimisation, and broken for mathed anyway.
2371         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2372         with cursor positioning in insets as well (math insets still do not
2373         work, but that's a different story anyway.) It mysteriously
2374         crashes sometimes with undo in the first paragraph, but I'm fairly
2375         confident that this is a compiler bug.
2376
2377 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2378
2379         * paragraph.C (Paragraph): adjust for new clone return type
2380         (operator==): ditto
2381         (copyIntoMinibuffer): ditto
2382
2383 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2384
2385         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2386         by not having a special case, and always doing a full rebreak of
2387         the document after undo.
2388
2389 2003-07-23  Angus Leeming  <leeming@lyx.org>
2390
2391         * factory.C (createInset): InsetExternal::setParams now takes a
2392         Buffer const * arg.
2393
2394 2003-07-23  Angus Leeming  <leeming@lyx.org>
2395
2396         * factory.C (createInset): changed interface to the external and
2397         graphics mailers' string2params functions.
2398
2399 2003-07-23  Angus Leeming  <leeming@lyx.org>
2400
2401         * factory.C (createInset): pass a
2402         Buffer const * parameter to InsetExternalMailer's string2params.
2403
2404 2003-07-22  John Levon  <levon@movementarian.org>
2405
2406         * Thesaurus.h: include the right aiksaurus header
2407
2408 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2409
2410         * MenuBackend.C (expand): check menu shortcuts unconditionally
2411
2412 2003-07-21  Angus Leeming  <leeming@lyx.org>
2413
2414         * factory.C (createInset): pass a
2415         buffer_path parameter to InsetGraphicsMailer's string2params.
2416
2417 2003-07-21  Angus Leeming  <leeming@lyx.org>
2418
2419         * BufferView_pimpl.C (buffer):
2420         * buffer.C (d-tor):
2421         * lyx_main.C (LyX):
2422         * lyxfunc.C (dispatch):
2423         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2424         rather than the grfx shortcut.
2425
2426 2003-07-21  André Pönitz  <poenitz@gmx.net>
2427
2428         * rowpainter.C: remove unused variables
2429
2430         * tabular_funcs.C:
2431         * tabular_funcs.h: move to tabular.C
2432         * Makefile.am: adjust
2433
2434         * tabular.[Ch]: basic optical cleaning
2435
2436         * author.h: pass references, not values
2437
2438 2003-07-18  André Pönitz  <poenitz@gmx.net>
2439
2440         * lyxtext.h:
2441         * metricsinfo.C:
2442         * metricsinfo.h:
2443         * rowpainter.C:
2444         * text.C:
2445         * text2.C:
2446         * text3.C: two-phase drawing for InsetText and InsetTabular
2447         some float -> int changes.
2448
2449 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2450
2451         * lyx_main.C: fix the fix
2452
2453 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2454
2455         * lyx_main.C: fix a crash in batch mode if no files specified
2456         * converter.C: ws
2457
2458 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2459
2460         * format.[Ch] (papersize): moved to BufferParams
2461         * converter.[Ch] (dvips_options): moved to BufferParams
2462         (dvipdfm_options): moved to anon namespace
2463         * bufferparams.[Ch]: added above functions.
2464
2465 2003-07-17  André Pönitz  <poenitz@gmx.net>
2466
2467         * lyxtext.h:
2468         * rowpainter.C:
2469         * text2.C: don't call inset->update() anymore
2470
2471         * metricsinfo.[Ch]: add convenience constructor
2472
2473 2003-07-16  André Pönitz  <poenitz@gmx.net>
2474
2475         * lyxcursor.[Ch]:
2476         * lyxfunc.[Ch]:
2477         * text.C:
2478         * text2.C: replace the LyXCursor::irow_ member with
2479          on-demand computation of the value
2480
2481 2003-07-16  John Levon  <levon@movementarian.org>
2482
2483         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2484
2485 2003-07-15  André Pönitz  <poenitz@gmx.net>
2486
2487         * text.C:
2488         * text2.C: remove no more needed refresh_row
2489
2490 2003-07-15  André Pönitz  <poenitz@gmx.net>
2491
2492         * lyxtext.h:
2493         * rowpainter.C:
2494         * text2.C:
2495         * text3.C: refresh_status tristate -> need_update bool
2496
2497 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2498
2499         * lyxtext.h (init): remove reinit argument (act as if always true)
2500         * text2.C: adjust to that
2501
2502 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2503
2504         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2505         * text3.C: use it to delete selections in some cases
2506         (bugs 441, 673, 702, 954).
2507
2508 2003-07-14  André Pönitz  <poenitz@gmx.net>
2509
2510         * rowpainter.[Ch]: reduce interface
2511
2512 2003-07-14  André Pönitz  <poenitz@gmx.net>
2513
2514         * BufferView_pimpl.C:
2515         * text2.C: adjust after removing unused BufferView * argument
2516
2517 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2518
2519         * text2.C (init): fix a crash fired on resize
2520
2521 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2522
2523         * buffer.[Ch]: added new closing signal
2524         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2525         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2526         BufferView::Pimpl via the closing the signal
2527
2528 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2529
2530         * buffer.[Ch]: take out all bv-related from buffer
2531         * BufferView.C:
2532         * BufferView_pimpl.[Ch]: connect to new signals
2533         * CutAndPaste.C: removed useless asserts
2534         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2535         * lyxvc.[Ch]:
2536         * vc-backend.[Ch]:
2537         * lyxfunc.C: moved view-related funciontality from vc here
2538         * paragraph.C: removed outdated comments
2539         * text.C: ws
2540
2541 2003-07-10  André Pönitz  <poenitz@gmx.net>
2542
2543         * BufferView_pimpl.C:
2544         * tabular.h:
2545         * tabular_funcs.C:
2546         * text.C:
2547         * text2.C: remove InsetText::InnerCache, clean up consequences
2548
2549 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2550
2551         * ispell.C: fix two typos in error messages
2552
2553 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2554
2555         * Extend Note inset to other forms of annotation like Comment
2556         and Greyedout. Right button click gives dialog.
2557
2558         Files modified or added (+):
2559
2560         * insetnote.[Ch]
2561         * FormNote.[Ch]      +
2562         * ControlNote.[Ch]   +
2563         * form_note.fd       +
2564         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2565         frontends/controllers
2566         * xforms/Dialogs.C
2567         * factory.C
2568
2569 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2570
2571         * aspell.C: add missing namespace lyx::support
2572
2573 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2574
2575         * BufferView.[Ch] (newFile): Add
2576         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2577         * LaTeX.[Ch] (message): added this signal and use it
2578         * buffer.[Ch] (busy, message): added these signals and use them
2579         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2580         * converter.C:
2581         * exporter.C:
2582         * format.C:
2583         * importer.C: use buffer signals instead of direct bv calling
2584         * lyx_cb.[Ch] (ShowMessage): removed
2585         * lyx_main.C:
2586         * lyxfunc.C:
2587         * paragraph_funcs.C:
2588         * text2.C: use buffer signals
2589
2590 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * introduce namespace lyx::graphics
2593
2594 2003-07-02  André Pönitz  <poenitz@gmx.net>
2595
2596         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2597
2598 2003-07-01  André Pönitz  <poenitz@gmx.net>
2599
2600         * text.C:
2601         * text2.C:
2602         * text3.C:
2603         * text_funcs.[Ch]:
2604         * textcursor.h:
2605         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2606           text*.C to text_func.C
2607
2608 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2609
2610         * introduce namespace lyx::support
2611
2612 2003-06-30  André Pönitz  <poenitz@gmx.net>
2613
2614         * Chktex.C:
2615         * funcrequest.C:
2616         * lyxtext.h:
2617         * text.C: re-enable --with-included-string
2618
2619 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * textcursor.C: add <config.h>
2622
2623         * text.C (getWord): remove const from word_location arg
2624
2625         * lyxvc.C (getLogFile): fix const type order
2626
2627         * lyxtext.h: remove const from word_location arg, add arg name
2628
2629         * lyxlayout.h: currect type on labeltype.
2630
2631         * importer.C: correct \file
2632
2633         * converter.C (intToFormat): use std:: on ret val, ws changes
2634
2635         * bufferlist.h: correct \file
2636
2637         * buffer.C (makeLinuxDocFile): fix const type order
2638         (makeDocBookFile): ditto
2639         (fillWithBibKeys): use std:: on stdlib args.
2640
2641         * CutAndPaste.C: fix authors.
2642         (availableSelections): use std:: on return vector
2643
2644 2003-06-27  André Pönitz  <poenitz@gmx.net>
2645
2646         * BufferView_pimpl.C:
2647         * bufferview_funcs.C:
2648         * lyxcursor.C:
2649         * lyxcursor.h:
2650         * lyxfunc.C:
2651         * lyxtext.h:
2652         * rowpainter.C:
2653         * text.C:
2654         * text2.C:
2655         * text3.C: remove LyXCursor::row_ member
2656
2657         * lyxtext.h:
2658         * text.C: rename fullRebreak() to partialRebreak() and implement
2659           a fullRebreak() that really bereks fully
2660
2661         * textcursor.h: new struct for cursor-related data
2662
2663 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2664
2665         * lyx_main.C (LyX): get full path of document loaded on the
2666         command line
2667
2668 2003-06-26  André Pönitz  <poenitz@gmx.net>
2669
2670         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2671           remove unused/broken operator>,<,>=.
2672
2673         *       text.C: remove only use of broken operator<= in an Assert().
2674
2675 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2676
2677         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2678         moved errorlist_.clear to showErrorList
2679
2680 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * converter.C (scanLog, runLaTeX):
2683         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2684         move the bv->showErrorList call to the callers
2685         * lyxfunc.C: i.e. here...
2686         * text2.C: and here
2687         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2688         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2689         namespace, the second to...
2690         * buffer_funcs (BufferFormat, parseErrors): added
2691         * errorlist.C (ErrorList(TeXErrors const &)): removed
2692
2693 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2694
2695         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2696
2697 2003-06-24  "Garst R. Reese" <reese@isn.net>
2698
2699         * debug.C: fix typo
2700
2701 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2702
2703         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2704
2705         * version.C.in: change docversion to 1.4
2706
2707 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2708
2709         * buffer.C: fix a bug just introduced
2710
2711 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * buffer.[Ch]: added the parseError signal and use it, removed
2714         sgmlError
2715         * BufferView.[Ch] (addError): moved to ...
2716         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2717         to the Buffer::parseError signal to catch (guess what) parse errors
2718         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2719
2720 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2721
2722         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2723         ability to create a buffer and to return an existing one from
2724         the list. Moved these functions to...
2725         * buffer_funcs.[Ch]: added
2726         * BufferView.[Ch] (loadLyXFile): added
2727         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2728         job removed from bufferlist::loadLyXFile.
2729         * buffer.C (setReadOnly): make it work without view
2730         (i.e added an if (users))
2731
2732 2003-06-19  Angus Leeming  <leeming@lyx.org>
2733
2734         * lfuns.h:
2735         * LyXAction.C (init):
2736         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2737         with LFUN_DIALOG_SHOW <name> <data>.
2738
2739 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2740
2741         * CutAndPaste.C (availableSelections): small compilation fix for
2742         ancient (gcc 2.9x) compilers
2743
2744 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2745
2746         * text3.C (cursorNext): add tmp var
2747
2748         * text2.C (updateCounters): for function calling out of for clause
2749         (replaceSelectionWithString): ditto
2750         (insertStringAsParagraphs): ditto
2751         (getColumnNearX): add tmp var
2752         (setCursorFromCoordinates): add tmp var
2753         (cursorDownParagraph): add tmp var
2754         (deleteEmptyParagraphMechanism): add tmp var
2755
2756         * text.C (insertChar): add tmp var
2757
2758         * rowpainter.C (paintDepthBar): add tmp var
2759
2760         * CutAndPaste.C (availableSelections): potentially check all
2761         paragraphs in a cut to fill the shown strings.
2762
2763 2003-06-18  André Pönitz  <poenitz@gmx.net>
2764
2765         * kbmap.[Ch]: use vector<> instead of list<>
2766
2767 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2768
2769         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2770         pasteSelection with index
2771
2772         * text2.C (pasteSelection): modify, call pasteSelection with index
2773
2774         * paragraph.C (asString): reimplement version with no interval to
2775         call the one with interval.
2776
2777         * lyxtext.h: add index arg to pasteSelection
2778
2779         * MenuBackend.C (MenuItem): handle PasteRecent
2780         (Menu::read::Menutags): add md_pasterecent
2781         (read): handle it
2782         (expandPasteRecent): new function
2783         (expand): use it
2784
2785         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2786
2787         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2788         the limited stack
2789         (availableSelections): new function
2790
2791 2003-06-17  Angus Leeming  <leeming@lyx.org>
2792
2793         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2794
2795 2003-06-17  Angus Leeming  <leeming@lyx.org>
2796
2797         * lfuns.h:
2798         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2799
2800         * lyxfunc.C (dispatch): invoke it.
2801
2802 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2803
2804         * iterators.C (operator++, ParPosition): reintroduce some
2805         const_cast for the benefit of older compilers.
2806
2807 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2808
2809         * text3.C (dispatch): do not modify clipboard when doing
2810         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2811         LFUN_DELETE_SKIP on a selection selection
2812
2813 2003-06-16  André Pönitz  <poenitz@gmx.net>
2814
2815         * BufferView.C:
2816         * buffer.C:
2817         * buffer.h:
2818         * paragraph.C:
2819         * tabular.[Ch]: IU of clone() and getLabelList();
2820
2821 2003-06-13  André Pönitz  <poenitz@gmx.net>
2822
2823         * tabular.h: compactification
2824
2825 2003-06-12  André Pönitz  <poenitz@gmx.net>
2826
2827         * tabular.C:
2828         * tabular.h:
2829         * tabular_funcs.h: some renaming plus whitespace
2830
2831 2003-06-12  André Pönitz  <poenitz@gmx.net>
2832
2833         * BufferView.C:
2834         * BufferView_pimpl.C:
2835         * CutAndPaste.C:
2836         * buffer.C:
2837         * iterators.[Ch]:
2838         * lyxfunc.C:
2839         * text.C:
2840         * toc.C: Return a Paragraph & for ParIterator::operator*()
2841
2842 2003-06-11  John Levon  <levon@movementarian.org>
2843
2844         * lyx_main.C:
2845         * ToolbarBackend.h:
2846         * ToolbarBackend.C: add "Toolbars" section and
2847         put the flags there
2848
2849 2003-06-10  Angus Leeming  <leeming@lyx.org>
2850
2851         * lfuns.h:
2852         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2853
2854         * lyxfunc.C (dispatch): invoke it.
2855
2856 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2857
2858         * main.C: protect <ios> with HAVE_IOS
2859         (main): protect sync_with_stdio with HAVE_IOS
2860
2861 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2862
2863         * text2.C (cutSelection): adjust
2864         (pasteSelection): adjust
2865
2866         * messages.C: handle get of empty string
2867
2868         * main.C (main): use sync_with_stdio(false)
2869
2870         * lyxfunc.C (dispatch): adjust
2871
2872         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2873         (WriteAs): remove unneeded BufferView arg.
2874
2875         * bufferparams.h: use correct types on papersize, papersize2 and
2876         paperpackage.
2877
2878         * bufferparams.C (readToken): adjust for type
2879         (writeLaTeX): add missing cases to switch.
2880
2881         * bufferlist.C (quitWriteBuffer): adjust
2882         (close): adjust
2883
2884         * buffer.C (asciiParagraph): remove some commented code.
2885
2886         * CutAndPaste.C: remove current_view extern variable.
2887         (cutSelection): add BufferParams arg.
2888         (eraseSelection): add BufferParams arg.
2889         (pasteSelection): add Buffer const & arg
2890
2891 2003-06-07  John Levon  <levon@movementarian.org>
2892
2893         * buffer.C:
2894         * paragraph_funcs.C:
2895         * paragraph_pimpl.C:
2896         * text.C:
2897         * text2.C:
2898         * paragraph.h:
2899         * paragraph.C: allow InsetERT to freely space lines,
2900         and some consolidation of code
2901
2902 2003-06-06  José Matos  <jamatos@fep.up.pt>
2903
2904         * buffer.C (makeDocBookFile): fix bug #821
2905
2906 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2909
2910 2003-06-04  Angus Leeming  <leeming@lyx.org>
2911
2912         * buffer.C: bump format to 224.
2913
2914 2003-06-05  André Pönitz  <poenitz@gmx.net>
2915
2916         * text2.C (redoParagraphs): remove two const_cast<>
2917
2918 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2919
2920         * ParagraphList.h: remove last remnants of NO_STD_LIST
2921
2922 2003-06-03  Angus Leeming  <leeming@lyx.org>
2923
2924         * factory.C (createInset): small change to the way InsetExternal's params
2925         are set.
2926
2927 2003-06-04  André Pönitz  <poenitz@gmx.net>
2928
2929         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2930
2931         * paragraph_pimpl.h:
2932         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2933
2934         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2935
2936         * undo_funcs.C: make some simple cases of undo work again
2937
2938 2003-06-03  John Levon  <levon@movementarian.org>
2939
2940         * ispell.C: HPUX doesn't have sys/select.h
2941         (from Albert Chin)
2942
2943 2003-06-03  John Levon  <levon@movementarian.org>
2944
2945         * CutAndPaste.C: update tabular and include inset
2946         buffer references
2947
2948         * buffer.h:
2949         * paragraph.h:
2950         * paragraph.C: remove owningBuffer(), don't pass Buffer
2951         to clone()
2952
2953         * factory.C: insetGraphicsParams changed
2954
2955 2003-06-02  John Levon  <levon@movementarian.org>
2956
2957         * LyXAction.C:
2958         * factory.C:
2959         * lfuns.h:
2960         * lyxfunc.C:
2961         * text3.C: remove insetparent
2962
2963 2003-06-02  John Levon  <levon@movementarian.org>
2964
2965         * buffer.h:
2966         * buffer.C: fix inset_iterator.end(), move out of line
2967         (bug 1149)
2968
2969 2003-06-01  John Levon  <levon@movementarian.org>
2970
2971         * text3.C: use a proper cut/paste when doing inset
2972         insert (from Jürgen Spitzmüller)
2973
2974 2003-06-01  John Levon  <levon@movementarian.org>
2975
2976         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2977
2978 2003-05-30  André Pönitz  <poenitz@gmx.net>
2979
2980         * rowpainter.C: unify second drawing phase
2981
2982 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * trans_mgr.C: remove one case of current_view
2985
2986         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2987
2988         * paragraph_funcs.h: remove paragraph.h include
2989
2990         * paragraph.h: delete NO_STD_LIST stuff
2991
2992         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2993
2994         * buffer.h: remove paragraph.h include
2995
2996         * ParagraphList.C: delete file
2997
2998         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2999
3000         * toc.C (getTocList): adjust
3001
3002         * paragraph_pimpl.C (validate): adjust
3003
3004         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3005
3006         * paragraph.C (Paragraph): adjust
3007         (getPositionOfInset): use const_iterator, adjust
3008         (bibitem): use const_iterator, adjust
3009         (setInsetOwner): adjust
3010
3011         * iterators.C (operator++): adjust
3012
3013         * InsetList.[Ch]: Replace selfmade iterator with standard
3014         vector::iterator also introduce const_iterator. Remove getPos,
3015         getInset and setInset from InsetTable. Adjust accordingly.
3016
3017         * BufferView.C (lockInset): adjust
3018         (ChangeInsets): adjust
3019
3020         * tabular.[Ch]: delete commented same_id functions
3021
3022 2003-05-28  John Levon  <levon@movementarian.org>
3023
3024         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3025
3026 2003-05-28  André Pönitz  <poenitz@gmx.net>
3027
3028         * metricsinfo.[Ch]: remove 'fullredraw' member
3029
3030 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3031
3032         * lyxtextclass.C (operator): remove caching.
3033
3034 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3035
3036         * text3.C: adjust
3037
3038         * text2.C (cursorBottom): adjust
3039         (setCounter): use ParagraphList::find, adjust
3040
3041         * text.C (workWidth): use ParagraphList::find, adjust
3042
3043         * lyxcursor.C (LyXCursor): adjust
3044
3045         * buffer.C (inset_iterator): adjust
3046
3047         * ParagraphList.h: make iterator(value_type) private, make
3048         ParagraphList a friend of iterator.
3049
3050         * ParagraphList.C (find): new function
3051
3052         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3053
3054 2003-05-27  André Pönitz  <poenitz@gmx.net>
3055
3056         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3057
3058 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3059
3060         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3061
3062 2003-05-26  John Levon  <levon@movementarian.org>
3063
3064         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3065
3066 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * remove same_id from function signatures, adjust.
3069
3070 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3073
3074         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3075
3076         * paragraph.C (Paragraph): get rid of same_ids parameter
3077
3078         * ParagraphList.C (insert): adjust
3079         (push_back): adjust
3080
3081 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3082
3083         * paragraph_funcs.C (breakParagraph): adjust
3084         (breakParagraphConservative): adjust
3085
3086         * buffer.C (readParagraph): adjust
3087
3088         * ParagraphList.C (insert): take a reference instead of a pointer
3089         (insert): adjust
3090
3091         * paragraph.[Ch] (id): new function
3092
3093         * bufferlist.C (newFile): adjust
3094
3095         * ParagraphList.C (ParagraphList): adjust
3096         (assign): adjust
3097         (push_back): take a reference instead of a pointer.
3098
3099         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3100
3101         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3102         instead.
3103
3104         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3105         set else use old code.
3106
3107         * ParagraphList.C: remove all NO_NEXT code and only compile this
3108         code of NO_STD_LIST is set.
3109
3110 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3111
3112         * BufferView_pimpl.C:
3113         * TextCache.C:
3114         * TextCache.h:
3115         * bufferlist.C:
3116         * errorlist.h:
3117         * format.C:
3118         * format.h:
3119         * graph.C:
3120         * lyxfunc.C:
3121         * lyxrc.C:
3122         * graphics/GraphicsConverter.C:
3123         * graphics/PreviewLoader.C: header adjustment
3124
3125 2003-05-23  Angus Leeming  <leeming@lyx.org>
3126
3127         * LaTeXFeatures.[Ch] (useBabel): new method.
3128         * bufferparams.C (writeLaTeX): use it.
3129
3130 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3131
3132         * ParagraphList.h (set): remove unused function.
3133
3134 2003-05-23  André Pönitz  <poenitz@gmx.net>
3135
3136         * BufferView.C:
3137         * BufferView_pimpl.C:
3138         * buffer.C:
3139         * buffer.h:
3140         * lyxfunc.C:
3141         * undo_funcs.C: setUndo reworked
3142
3143         * iterators.[Ch]: add access to topmost ParagraphList
3144
3145         * lyxtext.[Ch] (workWidth): add a const
3146
3147 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * texrow.[Ch] (increasePos): remove function
3150         * exporter.C (export): removed unused var and outdated comment
3151
3152 2003-05-23  Angus Leeming  <leeming@lyx.org>
3153
3154         * latexrunparams.h: rename fragile as moving_arg.
3155         * paragraph.C (simpleTeXOnePar): ditto.
3156         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3157
3158 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3161         (createUndo): ditto
3162         (textUndoOrRedo): comment out a currently unused var.
3163
3164         * paragraph.h (NO_NEXT): enable NO_NEXT
3165
3166         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3167
3168         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3169
3170         * exporter.C (Export): adjust for removeAutoInsets removal.
3171
3172         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3173
3174         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3175
3176         * BufferView.[Ch] (removeAutoInsets): delete function
3177
3178 2003-05-22  Angus Leeming  <leeming@lyx.org>
3179
3180         * latexrunparams.h: add a free_spacing variable.
3181
3182         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3183         to pass moving_arg, as the data is stored in runparams.fragile.
3184
3185         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3186         to Inset::latexOptional or to simpleTeXOnePar.
3187
3188         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3189         free_spacing arg to Inset::latexOptional.
3190
3191         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3192         free_spacing arg.
3193
3194 2003-05-22  Angus Leeming  <leeming@lyx.org>
3195
3196         * latexrunparams.h: add fragile and use_babel variables.
3197
3198         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3199         * buffer.C (makeLaTeXFile): store this returned value in
3200         runparams.use_babel, thus passing it to the inset::latex methods.
3201
3202         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3203         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3204
3205         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3206         longer has a fragile arg, as it is stored in runparams.fragile.
3207
3208         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3209         moving_arg parameter as the data is stored in runparams.fragile.
3210
3211         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3212         a fragile parameter as the data is stored in runparams.fragile.
3213
3214 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3217
3218 2003-05-22  Angus Leeming  <leeming@lyx.org>
3219
3220         * latexrunparams.h: add a 'bool nice' which defaults to false.
3221
3222         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3223         now encapsulated within runparams.
3224
3225         * bufferlist.C (updateIncludedTeXfiles):
3226         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3227
3228 2003-05-22  Angus Leeming  <leeming@lyx.org>
3229
3230         * latexrunparams.h: new file containing struct LatexRunParams.
3231         * Makefile.am: add new file.
3232
3233         * LaTeX.[Ch] (c-tor, run):
3234         * buffer.[Ch] (makeLaTeXFile):
3235         * bufferlist.[Ch] (updateIncludedTeXfiles):
3236         * converter.C (convert, scanLog):
3237         * converter.[Ch] (runLaTeX):
3238         * exporter.C (Export):
3239         * paragraph.[Ch] (simpleTeXOnePar):
3240         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3241         * paragraph_funcs.[Ch] (latexParagraphs):
3242         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3243         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3244         pass around a LatexRunParams parameter.
3245
3246 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3247
3248         * paragraph.[Ch]: remove unused constructor
3249
3250         * ParagraphList.C (erase): new function, taking two iterators
3251
3252 2003-05-22  André Pönitz  <poenitz@gmx.net>
3253
3254         * undo_funcs.C: remove duplicated code
3255
3256         * iterator.[Ch]: operator=
3257
3258 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3259
3260         * tabular.C (SetMultiColumn): ws changes
3261
3262         * rowpainter.C (paintFirst): get rid of a ->previous
3263
3264         * lyx_cb.C (getPossibleLabel): parlist simplification
3265
3266         * BufferView.C (ChangeInsets): simplify slightly.
3267
3268 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3269
3270         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3271         * lfuns.h: new LFUN_SPACE
3272         * lyxfunc.C: protected space has a new lfun
3273         * paragraph_funcs.C: read new space insets
3274         * text3.C:
3275         * factory.C: handle new space insets
3276
3277 2003-05-22  André Pönitz  <poenitz@gmx.net>
3278
3279         * BufferView.C:
3280         * BufferView_pimpl.C:
3281         * buffer.[Ch]:
3282         * lyxfunc.C:
3283         * undo_funcs.C: return a ParIterator from getParFromID.
3284
3285         * iterators.[Ch]: add two const's
3286
3287 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3288
3289         * toc.C (getTocList): adjust
3290
3291         * iterators.[Ch]: rework for parlist
3292
3293         * buffer.C (par_iterator_begin): adjust
3294         (par_iterator_end): adjust
3295
3296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3297
3298         * BufferView.C (removeAutoInsets): adjust
3299         (ChangeInsets): adjust
3300
3301 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3302
3303         * text.C (top_y): fix bug 1110
3304
3305 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3306
3307         * errorlist.[Ch]: added
3308         * buffer.C:
3309         * BufferView.[Ch]:
3310         * BufferView_pimpl.C:
3311         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3312         instead
3313
3314 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3315
3316         * Makefile.am: ensure that lyx is relinked upon changes to the
3317         various "convenience" libs.
3318
3319 2003-05-20  Angus Leeming  <leeming@lyx.org>
3320
3321         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3322         files are compiled in alphabetical order again.
3323
3324         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3325
3326 2003-05-19  Angus Leeming  <leeming@lyx.org>
3327
3328         * gettext.[Ch]: remove "char const * _(char const *)".
3329
3330 2003-05-19  André Pönitz  <poenitz@gmx.net>
3331
3332         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3333
3334         * Makefile.am:
3335         * BufferView.C:
3336         * DepTable.h:
3337         * LaTeXFeatures.C:
3338         * buffer.C:
3339         * lyxfont.C:
3340         * lyxlex.h:
3341         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3342
3343 2003-05-19  André Pönitz  <poenitz@gmx.net>
3344
3345         * buffer.C:
3346         * lyxlayout.[Ch]:
3347         * lyxtextclass.[Ch]:
3348         * paragraph.C:
3349         * paragraph_funcs.[Ch]:
3350         * text2.C:
3351         * text3.C: more insetenv work
3352
3353 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3354
3355         * ParagraphParameters.C (params2string): small bug fixed
3356
3357 2003-05-16  André Pönitz  <poenitz@gmx.net>
3358
3359         * debug.C:
3360         * bufferview_funcs.C: patch from Kornel Benko to prevent
3361           crash when _(...) is called twice in a statement
3362
3363 2003-05-16  André Pönitz  <poenitz@gmx.net>
3364
3365         * BufferView.C:
3366         * lyxfunc.C:
3367         * text.C:
3368         * text2.C:
3369         * text3.C:
3370         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3371
3372 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3373
3374         * lyx_main.C (init): remove spurious static_cast
3375
3376 2003-05-14  André Pönitz  <poenitz@gmx.net>
3377
3378         * BufferView.C: fix format string
3379
3380 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3381
3382         * BufferView.[Ch] (insertErrors): removed
3383         * BufferView.[Ch] (showErrorList): added
3384         * buffer.C (runChkTeX):
3385         * converter.C (scanLog): call showErrorList instead of inserterrors
3386
3387 2003-05-13  André Pönitz  <poenitz@gmx.net>
3388
3389         * BufferView_pimpl.C:
3390         * buffer.C:
3391         * bufferview_func.C:
3392         * MenuBackend.C:
3393         * lyxfunc.C:
3394         * lyxrc.C:
3395         * tex-accent.C:
3396         * text3.C:
3397         * toc.C:
3398         * tabular_funcs.h: tostr() from its own header
3399
3400         * ParagraphParameters.C:
3401         * ToolbarBackend.C:
3402         * bufferparams.C:
3403         * format.C:
3404         * lyxlex_pimpl.C:
3405         * text3.C: STRCONV()
3406
3407 2003-05-12  André Pönitz  <poenitz@gmx.net>
3408
3409         * BufferView.C:
3410         * BufferView_pimpl.C:
3411         * CutAndPaste.C:
3412         * LaTeX.C:
3413         * LaTeXFeatures.C:
3414         * ParagraphParameters.C:
3415         * buffer.C:
3416         * bufferlist.C:
3417         * bufferparams.C:
3418         * bufferview_funcs.C:
3419         * converter.C:
3420         * counters.C:
3421         * debug.C:
3422         * exporter.C:
3423         * format.C:
3424         * importer.C:
3425         * lyx_cb.C:
3426         * lyx_main.C:
3427         * lyxfont.C:
3428         * lyxfunc.C:
3429         * lyxvc.C:
3430         * paragraph.C:
3431         * paragraph_funcs.C:
3432         * tabular.C:
3433         * tabular_funcs.C:
3434         * text2.C:
3435         * text3.C:  boost::format -> bformat  all over the place
3436
3437
3438 2003-05-09  André Pönitz  <poenitz@gmx.net>
3439
3440         * LColor.[Ch]: Pimpl the #include <map> away
3441
3442 2003-05-09  John Levon  <levon@movementarian.org>
3443
3444         * bufferlist.C: never remove emergency saves
3445
3446 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * Makefile.am: better lib building
3449
3450 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3453         instead.
3454         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3455         (simpleTeXSpecialChars): adjust
3456         (simpleTeXSpecialChars): adjust
3457         * paragraph.C (simpleTeXOnePar): adjust
3458         * buffer.C (makeLaTeXFile): adjust
3459
3460         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3461
3462         * text2.C (changeDepth): parlist cleanup
3463         (getColumnNearX): ditto
3464
3465         * rowpainter.C (getLabelFont): parlist cleanup
3466
3467         * bufferlist.C (newFile): parlist cleanup
3468
3469         * CutAndPaste.C (eraseSelection): parlist cleanup
3470
3471         * BufferView_pimpl.C (trackChanges): parlist cleanup
3472         (dispatch): ditto
3473
3474         * BufferView.C (lockInset): parlist cleanup.
3475         (ChangeInsets): ditto
3476
3477 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3478
3479         * CutAndPaste.h: Update file header.
3480
3481         * CutAndPaste.C: Update file header.
3482         Store the parts cut out of the Document in a limited_stack.
3483         (copySelection): adjust
3484         (pasteSelection): new function, takes the index in the limited stack.
3485         (nrOfParagraphs): adjust
3486         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3487         simplify error inset insertion.
3488         (checkPastePossible): adjust
3489
3490 2003-05-06  John Levon  <levon@movementarian.org>
3491
3492         * text2.C: don't cast wrap inset to float
3493
3494 2003-05-05  André Pönitz  <poenitz@gmx.net>
3495
3496         * iterator.C:
3497         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3498
3499         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3500           few naked Paragraph *.
3501
3502 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3503
3504         * bufferparams.C: Output warning if a document with missing
3505         TeX document class is loaded
3506         * exporter.C: Disable TeX exports if the document class is missing
3507         * lyxtextclass.C:
3508         * lyxtextclass.h:
3509         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3510         isTeXClassAvailable()
3511
3512 2003-05-03  John Levon  <levon@movementarian.org>
3513
3514         * BufferView.h:
3515         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3516         explicit cursor show/hide
3517
3518         * BufferView_pimpl.h:
3519         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3520         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3521
3522         * lyxfunc.C: hide cursor before dispatching.
3523
3524         * lyx_cb.C:
3525         * lyxfind.C:
3526         * text.C:
3527         * text3.C: remove explicit cursor hides
3528
3529 2003-05-02  André Pönitz  <poenitz@gmx.net>
3530
3531         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3532
3533         * undo_funcs.C:
3534         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3535           linked lists
3536
3537         * text2.C: tiny whitespace
3538
3539 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * undo_funcs.C: almost only ws changes.
3542
3543         * ParagraphList.C (splice): just return if pl is empty.
3544
3545 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3546
3547         * ParagraphList.C (splice): new function.
3548
3549         * CutAndPaste.C (pasteSelection): use it
3550
3551 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3552
3553         * CutAndPaste.C (pasteSelection): remove the last next and
3554         previous from this file.
3555
3556 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * CutAndPaste.C (pasteSelection): more clean up, user proper
3559         ParagraphList functions for pasteing.
3560
3561         * ParagraphList.C (insert): new function, three arg insert
3562
3563 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * ParagraphList.C (insert): new function, three arg insert
3566
3567         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3568         not on paragraphs.
3569
3570 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3573
3574 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3577
3578 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3581         (copySelection): clean up a bit.
3582         (pasteSelection): use make_pair
3583
3584         * ParagraphList.C (ParagraphList): implement copy constructor
3585         (operator=): implement, base on copy constructor.
3586         (assign): new func
3587
3588         * paragraph.C (erase): return a bool
3589
3590         * paragraph_pimpl.C (erasePos): remove function, move contents...
3591         (erase): ... here. Return a bool.
3592         (erase): call erase instead of erasePos.
3593
3594 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * ParagraphList.h: define PitPosPair
3597         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3598         ParagraphList, fix a bug on pasting multiple pars
3599         * text2.C: change interface to C&P
3600
3601 2003-04-30  André Pönitz  <poenitz@gmx.net>
3602
3603         * undo_func.C: revert part of yesterday's patch 2
3604
3605 2003-04-30  John Levon  <levon@movementarian.org>
3606
3607         * LColor.C: s/tabular/table/
3608
3609 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * text3.C (dispatch): do not convert iterator -> pointer
3612         * undo_funcs.C (setCursorParUndo): ditto
3613         * text_funcs.C (transposeChars): ditto
3614
3615         * text2.C (setLayout): ws changes only
3616
3617         * text.C (breakParagraph): do not convert iterator -> pointer
3618         (insertChar): ditto
3619         (acceptChange): ditto
3620         (rejectChange): ditto
3621         (changeCase): ditto
3622         (Delete): ditto
3623         (backspace): ditto
3624
3625         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3626         pointer
3627
3628 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3629
3630         * text3.C (gotoInset): YABG (yet another bad getChar)
3631
3632 2003-04-29  André Pönitz  <poenitz@gmx.net>
3633
3634         * paragraph.h: make operator= private unimplemented as long as
3635           it is unusable
3636
3637         * ParagraphList.C: whitespace
3638
3639         * paragraph.[Ch]:
3640         * paragraph_pimpl.[Ch]:
3641         * paragraph_funcs.C:
3642         * CutAndPaste.C:
3643         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3644
3645         * text2.C:
3646           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3647
3648 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3649
3650         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3651         * paragraph.[Ch] (erase):
3652         * paragraph_pimpl.[Ch] (erase): change return type and value
3653         * text2.C (cutSelection): some rework
3654
3655 2003-04-28  John Levon  <levon@movementarian.org>
3656
3657         * bufferlist.C: changes for unsaved changes dialog
3658
3659 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3660
3661         * bufferlist.C (newFile): set language (messages_) for new
3662         documents also.
3663
3664         * buffer.C (readFile): ws changes only.
3665
3666 2003-04-28  André Pönitz  <poenitz@gmx.net>
3667
3668         * undo_funcs.C:
3669         * lyxfunc.C:
3670         * buffer.[Ch]:
3671         * BufferView_pimpl.C:
3672         * BufferView.C: getParFromID related ParagraphList::iterator changes
3673
3674 2003-04-28  André Pönitz  <poenitz@gmx.net>
3675
3676         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3677           Changes
3678
3679 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * messages.C: remove one more localedir class variable.
3682
3683 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3684
3685         * messages.C (getLocaleDir): singleton generation function
3686         (Pimpl): use it.
3687         (Messages): add a default constructor.
3688
3689         * main.C (main): do not setup localedir here, do not call
3690         gettext_init.
3691
3692         * gettext.C (_): use it.
3693         (gettext_init): delete funciton
3694
3695 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * gettext.C (getLyXMessages): new singleton generating function.
3698
3699         * buffer.C (updateDocLang): adjust
3700
3701         * Makefile.am (messages.o): add target
3702         (main.o): remove target
3703
3704 2003-04-27  John Levon  <levon@movementarian.org>
3705
3706         * bufferlist.C:
3707         * lyx_cb.C:
3708         * lyxfunc.C:
3709         * lyxvc.C: specify cancel button in Alert::prompt
3710
3711 2003-04-26  John Levon  <levon@movementarian.org>
3712
3713         * text3.C:
3714         * lyxfunc.C:
3715         * lfuns.h:
3716         * LyXAction.C: add LFUN_INSET_SETTINGS
3717
3718         * lyxfunc.C: don't enable tabular-feature when there's
3719         just any locking inset
3720
3721 2003-04-26  John Levon  <levon@movementarian.org>
3722
3723         * bufferlist.C: re-add Cancel to buffer close question
3724
3725         * lyxfunc.C: fix import UI a bit
3726
3727 2003-04-25  John Levon  <levon@movementarian.org>
3728
3729         * gettext.C: remove the broken asserts for now
3730
3731 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3732
3733         * messages.C: make case where setlocale cannot comply work better.
3734
3735         * buffer.C (updateDocLang): new function
3736         (changeLanguage): use it
3737         (readFile): use it
3738
3739         * text2.C (setCounter): use B_ a bit.
3740
3741         * lyxlayout.C (Read): be sure to trim the label strings.
3742
3743         * messages.C (Messages): fix typo in comment
3744
3745         * buffer.C (readFile): set message_ after file is loaded.
3746         (makeDocBookFile): remove double return
3747         (changeLanguage): reset message_ upon language change.
3748         (B_): new func, use this to get translated buffer strings.
3749
3750         * main.C: add myself and Jean Marc as authors.
3751
3752 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * messages.[hC]: pimplify Messages, and three different pimpls to be
3755         used in different circumstances.
3756
3757         * gettext.[Ch]: change for use with new message code.
3758
3759 2003-04-24 André Pönitz <poenitz@gmx.net>
3760
3761         * factory.C: support for eqref
3762
3763 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * messages.[Ch]: add missing char
3766
3767         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3768
3769         * messages.[Ch]: New files
3770
3771 2003-04-18  John Levon  <levon@movementarian.org>
3772
3773         * BufferView.h:
3774         * BufferView.C:
3775         * BufferView_pimpl.C:
3776         * lfuns.h:
3777         * LyXAction.C:
3778         * lyxtext.h:
3779         * text2.C: remove layout-copy/paste (bug 778)
3780
3781 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3782
3783         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3784
3785 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3786
3787         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3788         if they succeed. Act accordingly.
3789
3790 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * text2.C (setCharFont): adjust
3793         (setCounter): adjust
3794         (insertStringAsLines): adjust
3795
3796         * text.C (leftMargin): adjust
3797         (setHeightOfRow): adjust
3798
3799         * rowpainter.C (paintFirst): adjust
3800         (paintLast): adjust
3801
3802         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3803         (outerHook): ditto
3804         (isFirstInSequence): ditto
3805         (getEndLabel): ditto
3806         (outerFont): adjust
3807
3808         * paragraph.C (getParLanguage): comment out some hard stuff.
3809
3810         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3811         (sgmlError): ditto
3812         (simpleDocBookOnePar): ditto
3813         (makeDocBookFile): use ParagraphList::iterator
3814
3815         * CutAndPaste.C (pasteSelection): adjust
3816
3817 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3818
3819         * text2.C (getFont): adjust
3820         (getLayoutFont): adjust
3821         (getLabelFont): adjust
3822
3823         * paragraph_funcs.C (TeXOnePar): adjust
3824
3825         * buffer.C (simpleLinuxDocOnePar): adjust
3826         (simpleDocBookOnePar): adjust
3827
3828         * CutAndPaste.C (pasteSelection): adjust
3829
3830         * BufferView.C (getEncoding): adjust
3831
3832         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3833
3834 2003-04-16  John Levon  <levon@movementarian.org>
3835
3836         * lyxfind.C: use parlist stuff for search/changes
3837
3838 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3841
3842         * text2.C (deleteEmptyParagraphMechanism): adjust
3843
3844         * text2.[Ch] (ownerParagraph): delete func (both of them
3845
3846 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3849
3850 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * ParagraphList.C: prepare for NO_NEXT
3853
3854 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * text2.C (getFont): adjust
3857         (getLayoutFont): adjust
3858         (getLabelFont): adjust
3859
3860         * paragraph.C (getFont): adjust
3861         (getLabelFont): adjust
3862         (getLayoutFont): adjust
3863
3864         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3865
3866 2003-04-15  John Levon  <levon@movementarian.org>
3867
3868         From Angus Leeming
3869
3870         * lyx_main.C: handle Include in .ui files
3871
3872 2003-04-15  John Levon  <levon@movementarian.org>
3873
3874         * MenuBackend.C: make the doc files length shorter
3875
3876         * ToolbarBackend.h:
3877         * ToolbarBackend.C: handle toolbar placement flags,
3878         Minibuffer
3879
3880 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3883         adjust
3884
3885         * paragraph_funcs.C (TeXOnePar): adjust
3886
3887         * paragraph.C (getLabelFont): add outerfont arg, adjust
3888         (getLayoutFont): ditto
3889         (simpleTeXOnePar): adjust
3890
3891         * paragraph_pimpl.C (realizeFont): delete func
3892
3893 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3894
3895         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3896         row argument, constify cur argument.
3897
3898 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3899
3900         * text2.C (getFont): adjust
3901         (getLayoutFont): adjust
3902         (getLabelFont): adjust
3903
3904         * paragraph_funcs.C (TeXOnePar): adjust
3905         (outerFont): new func...
3906         (realizeFont): ...moved out from here, changed this to facilitate
3907         transition
3908
3909         * paragraph.C (getFont): take outerfont as arg, adjust
3910         (simpleTeXOnePar): add outerfont arg, adjust
3911
3912         * buffer.C (simpleLinuxDocOnePar): adjust
3913         (simpleDocBookOnePar): adjust
3914
3915         * CutAndPaste.C (pasteSelection): adjust
3916
3917         * BufferView.C (getEncoding): adjust
3918
3919 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3920
3921         * text2.C (setCharFont): adjust
3922         (setCounter): adjust
3923
3924         * text.C (leftMargin): adjust
3925         (setHeightOfRow): adjust
3926
3927         * rowpainter.C (paintFirst): adjust
3928         (paintLast): adjust
3929
3930         * paragraph_pimpl.C (realizeFont): adjust
3931
3932         * paragraph.C (isFirstInSequence): move from here...
3933         * paragraph_funcs.C (isFirstInSequence): ...to here
3934
3935         * paragraph.C (outerHook): move from here...
3936         * paragraph_funcs.C (outerHook): ...to here
3937
3938         * paragraph.C (depthHook): move from here...
3939         * paragraph_funcs.C (depthHook): ...to here
3940
3941         * paragraph.C (getEndLabel): move from here...
3942         * paragraph_funcs.C (getEndLabel): ...to here
3943
3944         * text2.C (realizeFont): move from here...
3945         * paragraph_funcs.C (realizeFont): ...to here
3946
3947 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3950
3951 2003-04-14  Angus Leeming  <leeming@lyx.org>
3952
3953         * LColor.[Ch]: scrap LColor mathcursor.
3954
3955 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3956
3957         * lyxlex.[Ch] (text): delete function
3958         * trans.C (Load): adjust
3959         * paragraph_funcs.C (readParToken): adjust
3960
3961 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3962
3963         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3964         vector<char> instead of a char[].
3965
3966         * lyxlex_pimpl.C (getString): adjust
3967         (next): adjust
3968         (lex): use getString
3969         (eatLine): adjust
3970         (nextToken): adjust
3971
3972         * lyxlex.C (text): use pimpl_->getString()
3973         (getBool): ditto
3974         (findToken): ditto
3975
3976 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3979         (makeFontEntriesLayoutSpecific): temp var for par.size()
3980         (setLayout): temp var for ownerParagraphs().end()
3981         (fullRebreak): temp var for rows().end()
3982         (selectionAsString): temp var for boost::next(startpit), realize
3983         that the while really is a regular for loop.
3984         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3985         setCursor in one place.
3986         (setParagraph): temp vr for ownerParagraphs().end()
3987         (updateCounters): make the while loop a for loop
3988         (cutSelection): temp var for ownerParagraphs().end()
3989         (updateInset): make the do {} while() a regular for loop
3990         (getCursorX): use temp vars
3991         (setCurrentFont): use temp vars
3992         (getColumnNearX): use temp vars
3993
3994 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3995
3996         * text.C (transformChar): use temp var for getChar
3997         (computeBidiTables): use temp var for row->par()
3998         (fill): move temp vars for row->par() and pit->layout() earlier in
3999         the function.
4000         (labelFill): use temp var for row->par()
4001         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4002         asc and desc, realize that pit never changes and that firstpit is
4003         just a duplicate and not needed. Exchange rit->par() with pit in a
4004         lot of places.
4005         (breakAgain): use a temp var for boost::next(rit)
4006         (breakAgainOneRow): ditto
4007         (breakParagraph): use a temp var for rows().begin()
4008         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4009         (cursorRightOneWord): use temp var for cursor.par() and
4010         cursor.pos(), remove usage of tmpcursor.
4011         (cursorLeftOneWord): use temp var for cursor.par() and
4012         cursor.pos() only set cur at end of function.
4013
4014 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * text.C, text2.C: exchange all usage of Paragraph::next with
4017         boost::next(ParagraphList::iterator)
4018
4019         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4020
4021         * text2.C (cursorTop): simplify implementation
4022         (cursorBottom): ditto
4023         (setParagraph): use ParagraphList::iterator
4024         (setCurrentFont): adjust
4025         (getColumnNearX): adjust
4026         (cursorRight): adjust
4027         (cursorLeft): remove usage of Paragraph::previous
4028         (cursorUpParagraph): ditto
4029         (deleteEmptyParagraphMechanism): slight cleanup
4030
4031         * text.C (isBoundary): take a Paragraph const & instead of a
4032         pointer as arg.
4033         (addressBreakPoint): ditto
4034         (leftMargin): remove usage of Paragraph::previous.
4035         (setHeightOfRow): ditto
4036         (cursorLeftOneWord): ditto
4037         (selectNextWordToSpellcheck): ditto
4038         (Delete): ditto
4039         (backspace): ditto
4040         (breakParagraph): remove one usage of Paragraph::next
4041         (redoParagraph): ditto
4042         (acceptChange): ditto
4043         (insertChar): adjust
4044         (rowBreakPoint): adjust
4045
4046         * bufferview_funcs.C (toggleAndShow): adjust
4047
4048 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4049
4050         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4051         methods to access it.
4052         * lyxtext.h:
4053         * text.C: Added updateRowPositions to compute all row positions.
4054         Make top_y and getRowNearY() to use the cached y position
4055
4056 2003-04-11  John Levon  <levon@movementarian.org>
4057
4058         * text.C (rowBreakPoint): reintroduce the labelEnd
4059         checks, code copied from the row fill stuff. Deep voodoo.
4060
4061         * text.C (fill): add a comment and debugging for the
4062         next poor soul.
4063
4064 2003-04-11  John Levon  <levon@movementarian.org>
4065
4066         * text.C: make sure fullrow insets get wrapped to the next line,
4067         even when they're in a manual label
4068
4069 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * text2.C (insertParagraph): make it take ParagraphList::iterator
4072         as arg.
4073         (setLayout): make it return ParagraphList::iterator
4074         (redoParagraphs): ditto
4075         (setCounter): ditto
4076         (checkParagraph): ditto
4077
4078         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4079
4080         * text2.C: adjust several funcs.
4081         (realizeFont): take a ParagraphList::iterator as arg.
4082         (getLayoutFont): ditto
4083         (getLabelFont): ditto
4084         (setCharFont): ditto
4085
4086         * text.C: adjust several funcs.
4087
4088 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4089
4090         * text.C (selectNextWordToSpellcheck): don't accidentally
4091         skip insets
4092
4093 2003-04-10  John Levon  <levon@movementarian.org>
4094
4095         * ToolbarBackend.C (getIcon): special handling for
4096         LFUN_MATH_DELIM
4097
4098 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4099
4100         * text2.C (cursorRight): a getChar assert fixed
4101
4102 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * text2.C (getFont): change to take a ParagraphList::iterator
4105         instead of Paragraph*
4106         Adjust several functions.
4107
4108         * text.C (transformChar): change to take a ParagraphList::iterator
4109         instead of Paragraph*
4110         (singleWidth): ditto
4111         Adjust several functions.
4112
4113         * rowpainter.C: adjust several functions
4114         * rowpainter.h:store a ParagraphList::iterator and not a
4115         Paragraph&.
4116
4117
4118 2003-04-09  John Levon  <levon@movementarian.org>
4119
4120         * lyxfunc.C:
4121         * lfuns.h:
4122         * LyXAction.h:
4123         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4124         and the "help" bits as well
4125
4126 2003-04-09  John Levon  <levon@movementarian.org>
4127
4128         * ToolbarBackend.h:
4129         * ToolbarBackend.C: allow multiple toolbars
4130
4131 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * undo_funcs.C (setCursorParUndo): adjust
4134
4135         * text_funcs.C (transposeChars): adjust
4136
4137         * text3.C (gotoNextInset): adjust
4138         (dispatch): adjust
4139
4140         * text2.C (setLayout): adjust
4141         (changeDepth): adjust
4142         (setFont): adjust
4143         (redoParagraphs): adjust
4144         (selectionAsString): adjust
4145         (setParagraph): adjust
4146         (insertInset): adjust
4147         (cutSelection): adjust
4148         (copySelection): adjust
4149         (pasteSelection): adjust
4150         (insertStringAsLines): adjust
4151         (updateInset): adjust
4152         (setCursor): change to take a ParagraphList::iterator parameter
4153         (setCursorIntern): change to take a ParagraphList::iterator parameter
4154         (setCurrentFont): adjust
4155         (cursorLeft): adjust
4156         (cursorRight): adjust
4157         (deleteEmptyParagraphMechanism): adjust
4158
4159         * text.C (breakParagraph): adjust
4160         (insertChar): adjust
4161         (acceptChange): adjust
4162         (rejectChange): adjust
4163         (selectNextWordToSpellcheck): adjust
4164         (changeCase): adjust
4165         (Delete): adjust
4166         (backspace): adjust
4167
4168         * lyxfind.C (SearchForward): adjust
4169         (SearchBackward): adjust
4170         (nextChange): adjust
4171
4172         * lyxcursor.C (par): adjust
4173
4174         * lyxcursor.h: store a ParagraphList::iterator instead of a
4175         Paragraph*
4176
4177         * lyx_cb.C (getPossibleLabel): adjust
4178
4179         * bufferview_funcs.C (toggleAndShow): adjust
4180
4181         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4182         (dispatch): adjust
4183
4184         * BufferView.C (removeAutoInsets): adjust
4185         (lockedInsetStoreUndo): adjust
4186
4187 2003-04-09  John Levon  <levon@movementarian.org>
4188
4189         * ToolbarBackend.C: try icon without argument
4190         if with argument fails
4191
4192 2003-04-08  John Levon  <levon@movementarian.org>
4193
4194         * ToolbarBackend.h:
4195         * ToolbarBackend.C: add getIcon(), handle tooltip,
4196         and change from "Icon" to "Item".
4197
4198 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * BufferView.C (lockInset): another bad getchar crunched
4201
4202 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4205         again)
4206
4207 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4208
4209         * lyxfind.C (searchForward, searchBackwards): bug 782
4210
4211 2003-04-07  John Levon  <levon@movementarian.org>
4212
4213         * paragraph.C: remove dead comment
4214
4215         * text.C: remove troublesome depth-fiddling code
4216         in leftMargin() and rightMargin() (bug 1017)
4217
4218         * text.C: fix breaking of rows in nested lists
4219         (bug 1004)
4220
4221         * text2.C (updateCounters): fix up depth values
4222         (bug 1013)
4223
4224 2003-04-07  John Levon  <levon@movementarian.org>
4225
4226         * BufferView_pimpl.C: clear message when doc finishes resizing,
4227         and after a mouse event
4228
4229         * lyxfunc.C: clear message after exiting inset
4230
4231 2003-04-07  John Levon  <levon@movementarian.org>
4232
4233         * bufferview_funcs.C: show math status not outside
4234         status in the statusbar
4235
4236 2003-04-07  John Levon  <levon@movementarian.org>
4237
4238         * lyxfunc.C: note status changed after a depth change
4239
4240 2003-04-04  Angus Leeming  <leeming@lyx.org>
4241
4242         * LaTeX.h: move AuxInfo operator==, != out of line.
4243         Remove LaTeX virtual destructor; nothing derives from it.
4244         Move operator()() out of public area and rename it startscript().
4245         Change protected for private.
4246
4247 2003-04-04  Angus Leeming  <leeming@lyx.org>
4248
4249         * lyxfunc.C:
4250         * text2.C: remove unneeded #includes.
4251
4252 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4253
4254         * text2.C (dEPM): fix the heigth of the next row
4255
4256 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * text.C: squashed an invalid getChar requester + some ws changes
4259
4260 2003-04-03  John Levon  <levon@movementarian.org>
4261
4262         * bufferview_funcs.h:
4263         * bufferview_funcs.C:
4264         * lyxfunc.C:
4265         * lyxtext.h:
4266         * text2.C: make getStatus work for the env depth lfuns
4267
4268 2003-04-03  John Levon  <levon@movementarian.org>
4269
4270         * bufferview_funcs.h:
4271         * bufferview_funcs.C:
4272         * lyxfunc.C:
4273         * lyxtext.h:
4274         * text2.C: parlistize decDepth(), by merging it with incDepth()
4275
4276 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * lyxrow.h: store a ParagraphList::iterator instead of a
4279         Paragraph* and adjust other class functions to suit.
4280
4281         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4282         above.
4283
4284 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4285
4286         * text2.C (setCursor): do not anchor to cursor row for the time being
4287
4288 2003-04-02  John Levon  <levon@movementarian.org>
4289
4290         * LyXAction.C:
4291         * lfuns.h:
4292         * lyx_main.C:
4293         * lyxtext.h:
4294         * text.C:
4295         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4296
4297 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * paragraph.h: make ParagraphList and ParagraphList::iterator
4300         friends of Paragraph.
4301
4302         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4303
4304         * ParagraphList.C: Use the private next_ and previous_ from
4305         Paragraph.
4306
4307 2003-04-01  John Levon  <levon@movementarian.org>
4308
4309         * ToolbarBackend.h:
4310         * ToolbarBackend.C:
4311         * Makefile.am: rename, remove defaults gunk
4312
4313         * MenuBackend.h:
4314         * MenuBackend.C: remove defaults gunk
4315
4316         * Languages.h:
4317         * Languages.C: remove defaults gunk
4318
4319         * lyx_main.h:
4320         * lyx_main.C: error out if files couldn't be found.
4321
4322 2003-04-02  John Levon  <levon@movementarian.org>
4323
4324         * text2.C: make incDepth() use parlist
4325
4326 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * undo_funcs.C (firstUndoParagraph): adjust
4329
4330         * text3.C (gotoInset): adjust
4331         (dispatch): adjust, and rewrite loop.
4332
4333         * text2.C (init): adjust, and rewrite loop.
4334         (redoParagraphs): adjust
4335         (updateInset): adjust, and rewrite loop.
4336         (deleteEmptyParagraphMechanism): adjust
4337
4338         * tabular.C (LyXTabular): adjust
4339         (SetMultiColumn): adjust
4340         (TeXRow): adjust
4341
4342         * lyxtext.[Ch] (ownerParagraph): delete function
4343         (ownerParagraphs): new function returns a ParagraphList.
4344
4345         * BufferView.C (removeAutoInsets): adjust
4346         (insertErrors): adjust
4347         (setCursorFromRow): adjust
4348
4349 2003-04-01  Angus Leeming  <leeming@lyx.org>
4350
4351         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4352         in the frontends.
4353
4354 2003-04-02  John Levon  <levon@movementarian.org>
4355
4356         * lyxtext.h:
4357         * text.C:
4358         * Makefile.am:
4359         * text_funcs.h:
4360         * text_funcs.C: make transposeChars a free function
4361
4362         * lyxrow_funcs.C: remove wrong comment
4363
4364 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * lyxtext.h: adjust
4367         * rowpainter.C: adjust
4368         * text.C: adjust
4369         * text2.C: adjust
4370         * text3.C: adjust
4371
4372         * lyxrow_funcs. [Ch]: new files
4373
4374         * lyxrow.[Ch]: remove next and previous pointers
4375         (next,previous): remove accessor functions
4376         (isParEnd): move to lyxrow_funcs
4377         (lastPos): move to lyxrow_funcs
4378         (nextRowIsAllInset): move to lyxrow_funcs
4379         (lastPrintablePos): move to lyxrow_funcs
4380         (numberOfSeparators): move to lyxrow_funcs
4381         (numberOfHfills): move to lyxrow_funcs
4382         (numberOfLabelHfills): move to lyxrow_funcs
4383         (hfillExpansion): move to lyxrow_funcs
4384
4385         * lyxfunc.C: adjust
4386
4387         * bufferview_funcs.C (toggleAndShow): adjust
4388
4389         * RowList.h: Remove class RowList from file leave just a
4390         std::list<Row>.
4391
4392         * RowList.C: delete file
4393
4394         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4395         and lyxrow_funcs.h
4396
4397 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * text3.C (cursorPrevious): adjust
4400         (cursorNext): adjust
4401         (dispatch): adjust
4402
4403         * text2.C (redoHeightOfParagraph): adjust
4404         (redoDrawingOfParagraph): adjust
4405         (setCursor): adjust
4406
4407         * text.C (breakParagraph): adjust
4408         (insertChar): adjust
4409         (backspace): adjust
4410
4411         * rowpainter.C (RowPainter): adjust
4412         (leftMargin): simplify and adjust
4413         (most rowpainter functions): adjust.
4414
4415         * rowpainter.h: store the row as RowList::iterator not as Row*
4416
4417         * lyxcursor.C (row): taka RowList::iterator as arg
4418         (irow): ditto
4419
4420         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4421         of Row*.
4422
4423 2003-04-01  Angus Leeming  <leeming@lyx.org>
4424
4425         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4426         stuff like bool Bool.
4427
4428 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4431         rewrite a loop
4432
4433 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4436         RowList::iterator.
4437
4438         * lyxtext.h (rows): drop one version and leve a const variant that
4439         returns a RowList::iterator.
4440
4441 2003-03-31  Angus Leeming  <leeming@lyx.org>
4442
4443         * text.C (fill): ensure that the signature is the same as that in the
4444         header file.
4445
4446 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * text2.C (redoParagraphs): adjust
4449         (updateCounters): adjust
4450         (checkParagraph): adjust
4451         (getColumnNearX): adjust and reformat a bit.
4452
4453         * text.C (top_y): adjust
4454         (workWidth): adjust
4455         (leftMargin): adjust
4456         (prepareToPrint): adjust
4457         (getRow): adjust
4458         (getRowNearY): adjust
4459
4460         * lyxtext.h: make rowlist_ mutable.
4461
4462         * RowList.h: add const_iterator
4463         * RowList.C: adjust for RowList::const_iterator.
4464
4465         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4466         adjust.
4467
4468 2003-03-31  John Levon  <levon@movementarian.org>
4469
4470         * lyxrc.h:
4471         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4472
4473         * lyx_main.C: set default fonts from using lyx_gui funcs
4474
4475         * exporter.C: pdf_mode moved from lyxrc
4476
4477         * lyx_cb.C:
4478         * lyxfunc.C: changes from above
4479
4480 2003-03-31  John Levon  <levon@movementarian.org>
4481
4482         * lyx_main.C: fix to the last fix
4483
4484 2003-03-31  John Levon  <levon@movementarian.org>
4485
4486         * bufferlist.C: "Load original" -> "Load Original"
4487
4488         * converter.C:
4489         * exporter.C:
4490         * importer.C:
4491         * lyx_main.C:
4492         * format.C: more Alert cleanups
4493
4494 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * text2.C (removeParagraph): make it take a RowList::iterator as
4497         arg, adjust.
4498         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4499         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4500
4501         * text.C (anchor_row): make it take a RowList::iterator as arg,
4502         adjust.
4503         (computeBidiTables): make it take a const reference to Row instead
4504         of Row pointer, adjust.
4505         (leftMargin): make it take a RowList::iterator as arg, adjust.
4506         (rowBreakPoint): adjust
4507         (breakAgainOneRow): make it take a RowList::iterator as arg,
4508         adjust.
4509         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4510
4511         * bufferview_funcs.C (toggleAndShow): adjust
4512
4513 2003-03-30  John Levon  <levon@movementarian.org>
4514
4515         * Makefile.am:
4516         * BoostFormat.h:
4517         * boost-inst.C: moved to support
4518
4519         * several files: changes as a result
4520
4521 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * text2.C (LyXText): adjust.
4524         (init): adjust
4525         (removeRow): make it take a RowList::iterator as arg, adjust.
4526         (fullRebreak): adjust
4527         (deleteEmptyParagraphMechanism): adjust
4528         (clearPaint): adjust
4529         (postPaint): adjust
4530
4531         * text.C (top_y): adjust
4532         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4533         (breakAgain): make it take a RowList::iterator as arg, adjust.
4534         (breakParagraph): adjust
4535         (insertChar): adjust
4536         (backspace): adjust
4537
4538         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4539         need_break_row, and refresh_row.
4540
4541         * text3.C (dispatch): adjust
4542
4543         * text2.C (checkParagraph): adjust
4544         (setCursor): adjust
4545         (setCursorFromCoordinates): adjust
4546
4547         * text.C (top_y): adjust
4548         (workWidth): adjust
4549         (getRow): make it return a RowList::iterator, adjust
4550         (getRowNearY): make it return a RowList::iterator, adjust
4551
4552         * text2.C (init): adjust
4553         (insertRow): remove function
4554         (insertParagraph): adjust
4555         (redoParagraphs): adjust
4556         (fullRebreak): adjust
4557         (updateCounters): adjust
4558
4559         * text.C (top_y): rewrite to use RowList iterators.
4560         (top_y): adjust
4561         (setHeightOfRow): rewrite to sue RowList iterators.
4562         (appendParagraph): adjust
4563         (breakAgain): adjust
4564         (breakAgainOneRow): adjust
4565         (breakParagraph): adjust
4566         (getRow): adjust
4567         (getRowNearY): adjust, and remove commented code.
4568
4569         * lyxtext.h (firstRow): delete function
4570         (lastRow): delete function
4571         (rows): new function (const and non-const versions.)
4572         (insertRow): delete function
4573
4574         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4575
4576 2003-03-29  John Levon  <levon@movementarian.org>
4577
4578         * BufferView_pimpl.C: always update scrollbar top
4579         because pasting text when we're anchored could mean we
4580         miss an update altogether
4581
4582 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * text2.C (init): use rowlist_.end() and not 0.
4585         (insertRow): change to take a RowList::iterator as arg, adjust
4586         for this.
4587         (insertParagraph): change to take a RowList::iterator as arg,
4588         adjust for this.
4589         (redoParagraphs): remove some debug msgs.
4590
4591         * text.C (appendParagraph): change to take a RowList::iterator
4592         arg, adjust for this.
4593         (breakAgain): add an assert
4594         (breakAgainOneRow): ditto
4595
4596 2003-03-29  John Levon  <levon@movementarian.org>
4597
4598         * text2.C: do not clear selection after inc/decDepth
4599         (bug 550)
4600
4601 2003-03-29  John Levon  <levon@movementarian.org>
4602
4603         * BufferView.C:
4604         * buffer.C: fix broken strerrors according to Lars
4605
4606 2003-03-29  John Levon  <levon@movementarian.org>
4607
4608         * converters.C: more Alert cleanups
4609
4610 2003-03-29  John Levon  <levon@movementarian.org>
4611
4612         * bufferview_funcs.C: remove pointless Alert
4613
4614         * buffer.C: fix confusing error message when
4615         a template is chmoded 000
4616
4617 2003-03-29  John Levon  <levon@movementarian.org>
4618
4619         * BufferView.C:
4620         * BufferView.h:
4621         * BufferView_pimpl.C: Alert fixes
4622
4623         * Makefile.am:
4624         * tabular.C:
4625         * tabular-old.C: remove unused table compat reading
4626
4627 2003-03-29  John Levon  <levon@movementarian.org>
4628
4629         * BufferView.C:
4630         * buffer.C:
4631         * lyx_cb.h:
4632         * lyx_cb.C: more Alert cleanups
4633
4634         * lyxfunc.C: don't allow chktex if not latex document
4635
4636 2003-03-29  John Levon  <levon@movementarian.org>
4637
4638         * lyx_cb.C:
4639         * BufferView.C:
4640         * buffer.C: warnings pushed down from support/,
4641         kill err_alert
4642
4643 2003-03-29  John Levon  <levon@movementarian.org>
4644
4645         * lyxfunc.C: safety check for C-r (revert)
4646
4647 2003-03-29  John Levon  <levon@movementarian.org>
4648
4649         * bufferlist.h:
4650         * bufferlist.C: several UI fixes using Alert::prompt.
4651         Fix the pointless looping quit code. Fix stupid revert
4652         behaviour (bug 938)
4653
4654         * lyxvc.h:
4655         * lyxvc.C:
4656         * lyx_cb.C: use Alert::prompt
4657
4658         * lyx_main.C: remove a silly question
4659
4660         * lyxfunc.C: remove a couple of silly questions,
4661         use Alert::prompt
4662
4663 2003-03-28  John Levon  <levon@movementarian.org>
4664
4665         * text2.C: fix bug 974 (End on empty par)
4666
4667 2003-03-28  John Levon  <levon@movementarian.org>
4668
4669         * BufferView_pimpl.C:
4670         * LyXAction.C:
4671         * lfuns.h: remove do-nothing math greek lfuns
4672
4673 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * lyxgluelength.h (isValidGlueLength): add default arg on
4676         parameter 2. Remove default arg from friend in class.
4677
4678         * lyxlength.h (isValidLength): add default arg on parameter 2.
4679         Remove default arg from friend in class.
4680
4681         * text2.C (LyXText): adjust, initialize refresh_row.
4682         (init): adjust
4683         (removeRow): adjust
4684         (insertRow): adjust
4685         (insertParagraph): adjst
4686         (redoParagraphs): adjust
4687         (fullRebreak): adjust
4688         (updateCounters): adjust
4689         (deleteEmptyParagraphMechanism): first attempt at fixing a
4690         crashing bug.
4691
4692         * text.C (top_y): adjust
4693         (setHeightOfRow): adjust
4694         (getRow): adjust
4695         (getRowNearY): adjust
4696
4697         * lyxtext.h: include RowList.h
4698         (~LyXText): not needed anymore, deleted.
4699         (firstRow): modify for RowList
4700         (lastRow): new function
4701         Delete firstrow and lastrow class variables, add a Rowlist
4702         rowlist_ class variable.
4703
4704         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4705         paragraph is empty.
4706
4707         * RowList.C (insert): fix case where it == begin().
4708
4709 2003-03-26  Angus Leeming  <leeming@lyx.org>
4710
4711         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4712         the thesaurus dialog.
4713
4714 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4717
4718         * RowList.[Ch]: new files
4719
4720         * ParagraphList.C (erase): handle the case where it == begin
4721         correctly.
4722
4723 2003-03-25  John Levon  <levon@movementarian.org>
4724
4725         * Makefile.am:
4726         * aspell_local.h:
4727         * aspell.C: add new aspell support
4728
4729         * lyxrc.h:
4730         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4731         have it accessible.
4732
4733 2003-03-25  Angus Leeming  <leeming@lyx.org>
4734
4735         * lfuns.h:
4736         * LyXAction.C (init): new LFUN_INSET_INSERT.
4737
4738         * BufferView_pimpl.C (dispatch): split out part of the
4739         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4740
4741         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4742         LFUN_INSET_APPLY.
4743
4744 2003-03-25  Angus Leeming  <leeming@lyx.org>
4745
4746         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4747
4748 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4749
4750         * text2.C:
4751         * text3.C: remove useless row->height(0)
4752
4753 2003-03-25  John Levon  <levon@movementarian.org>
4754
4755         * lyxtext.h:
4756         * text2.C:
4757         * text3.C: rename the refreshing stuff to better names
4758
4759 2003-03-24  John Levon  <levon@movementarian.org>
4760
4761         * BufferView_pimpl.h:
4762         * BufferView_pimpl.C: update layout choice on a mouse
4763         press/release
4764
4765 2003-03-23  John Levon  <levon@movementarian.org>
4766
4767         * Makefile.am: fix commandtags.h reference
4768
4769 2003-03-22  John Levon  <levon@movementarian.org>
4770
4771         * BufferView_pimpl.C:
4772         * lyxtext.h:
4773         * rowpainter.C:
4774         * rowpainter.h:
4775         * text.C:
4776         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4777
4778 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * lyxtext.h:
4781         * text.C: take the rtl methods out of line
4782
4783 2003-03-21 André Pönitz <poenitz@gmx.net>
4784
4785         * metricsinfo.[Ch]: new files containing structures to be passed around
4786         during the two-phase-drawing...
4787
4788 2003-03-21 André Pönitz <poenitz@gmx.net>
4789
4790         * lyxtextclass.C: read 'environment' tag.
4791
4792 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4793
4794         * text2.C (removeRow): fix bug 964
4795
4796 2003-03-20  John Levon  <levon@movementarian.org>
4797
4798         * rowpainter.C:
4799         * text.C:
4800         * text2.C: paint cleanups. Inset::update() dropped font
4801         parameter
4802
4803 2003-03-19  John Levon  <levon@movementarian.org>
4804
4805         * lyxfunc.C: only fitcursor/markDirty if available()
4806
4807 2003-03-19  John Levon  <levon@movementarian.org>
4808
4809         * commandtags.h: rename to ...
4810
4811         * lfuns.h: ... this, and renumber / cleanup
4812
4813 2003-03-19  John Levon  <levon@movementarian.org>
4814
4815         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4816         fit the cursor after an lfun
4817
4818         * BufferView.h:
4819         * BufferView.C:
4820         * BufferView_pimpl.h:
4821         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4822
4823         * LyXAction.C: layout-character should have ReadOnly
4824
4825         * ParagraphParameters.C:
4826         * buffer.C:
4827         * bufferview_funcs.C:
4828         * lyx_cb.C:
4829         * lyxfind.C:
4830         * lyxtext.h:
4831         * text.C:
4832         * text2.C:
4833         * text3.C:
4834         * undo_funcs.C: changes from above
4835
4836 2003-03-18  John Levon  <levon@movementarian.org>
4837
4838         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4839         remove it from update()
4840
4841         * lyxfunc.C: update layout choice after an lfun
4842
4843         * text3.C: remove extra updateLayoutChoice()s
4844
4845 2003-03-18  John Levon  <levon@movementarian.org>
4846
4847         * text.C: top_y change means full repaint, fix
4848         a drawing bug with cursor movement
4849
4850 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * lyxtext.h:
4853         * text.C:
4854         * text2.C: anchor row on setCursor
4855
4856 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4857
4858         * lyxtext.h: remove almost all mutable keywords
4859         * text.C:
4860         * text2.C:
4861         * text3.C: remove const keywords accordingly
4862
4863 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4866         anon namespace
4867         (TeXEnvironment): ditto
4868         (TeXOnePar): ditto
4869
4870 2003-03-17  John Levon  <levon@movementarian.org>
4871
4872         * text.C (rowBreakPoint): remove attempt to fix displayed
4873         math insets inside a manual label
4874
4875 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4876
4877         * lyxtext.h: remove BufferView* as first arg from almost all class
4878         functions.
4879         * other files: adjust.
4880
4881 2003-03-17  John Levon  <levon@movementarian.org>
4882
4883         * lyxtext.h:
4884         * undo_funcs.C:
4885         * text2.C: more paint cleanups
4886
4887         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4888
4889         * rowpainter.h:
4890         * rowpainter.C: remove "smart" background painting code
4891
4892 2003-03-16  John Levon  <levon@movementarian.org>
4893
4894         * lyxtext.h:
4895         * text.C:
4896         * text2.C:
4897         * text3.C: add helper functions for setting refresh_row/y
4898
4899 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4900
4901         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4902         newline inset which *can* get inserted in the pass_thru layouts.
4903         This is primarily for literate documents.
4904
4905 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4906
4907         * buffer.C: increment LYX_FORMAT to 223
4908
4909 2003-03-14 André Pönitz <poenitz@gmx.net>
4910
4911         * textclass.h: prepare for environment handling, ws changes
4912         * lyxlayout.C: read latexheader and latexfooter tags
4913
4914 2003-03-14  John Levon  <levon@movementarian.org>
4915
4916         * text2.C: rewrite ::status() a bit
4917
4918 2003-03-13  John Levon  <levon@movementarian.org>
4919
4920         * lyxtext.h: add some docs
4921
4922 2003-03-13  John Levon  <levon@movementarian.org>
4923
4924         * lyxtext.h:
4925         * text.C:
4926         * text2.C:
4927         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4928
4929 2003-03-13  John Levon  <levon@movementarian.org>
4930
4931         * text3.C: fix appendix redrawing
4932
4933 2003-03-13  John Levon  <levon@movementarian.org>
4934
4935         * text.C (setHeightOfRow):
4936         * rowpainter.h:
4937         * rowpainter.C: make appendix mark have the text
4938           "Appendix" so the user knows what it is
4939
4940         * LColor.h:
4941         * LColor.C: s/appendixline/appendix/ from above
4942
4943 2003-03-13  John Levon  <levon@movementarian.org>
4944
4945         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4946
4947         * text.C: fix a getChar(pos) bug properly
4948
4949 2003-03-13  Angus Leeming  <leeming@lyx.org>
4950
4951         * commandtags.h:
4952         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4953         Probably only temporary. Let's see how things pan out.
4954
4955         * BufferView.C (unlockInset):
4956         * BufferView_pimpl.C (fitCursor):
4957         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4958
4959         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4960         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4961
4962         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4963         new functions that convert ParagraphParameters to and from a string.
4964
4965         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4966         BufferView::Pimpl's dispatch.
4967         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4968
4969 2003-03-13 André Pönitz <poenitz@gmx.net>
4970
4971         * lyxfunc.C:
4972         * text3.C:
4973         * factory.C: make it aware of InsetEnv
4974
4975 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * text2.C (setCursor): never ask for one past last
4978         (setCursor): add some debugging messages.
4979
4980         * text.C (singleWidth): never ask for one past last
4981         (singleWidth): ditto
4982         (leftMargin): ditto
4983         (rightMargin): ditto
4984         (rowBreakPoint): ditto
4985         (setHeightOfRow): ditto
4986         (prepareToPrint): ditto
4987
4988         * rowpainter.C (paintBackground): never ask for one past last
4989         (paintText): never ask for one past last
4990
4991         * paragraph_pimpl.C (getChar): make the assert stricter, never
4992         allow the one past last pos to be taken
4993
4994         * paragraph.C (getChar): ws changes only
4995
4996         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4997         (numberOfSeparators): ditto
4998         (numberOfHfills): ditto
4999
5000 2003-03-12  John Levon  <levon@movementarian.org>
5001
5002         * author.h:
5003         * author.C:
5004         * bufferparams.h:
5005         * bufferparams.C:
5006         * paragraph_funcs.C: fix per-buffer authorlists
5007
5008 2003-03-12  John Levon  <levon@movementarian.org>
5009
5010         * text.C: fix newline in right address
5011
5012 2003-03-12  Angus Leeming  <leeming@lyx.org>
5013
5014         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5015         duplicate those in LyXFunc::dispatch.
5016
5017         * commandtags.h:
5018         * LyXAction.C:
5019         * ToolbarDefaults.C:
5020         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5021         Add LFUN_FONTFREE_UPDATE.
5022
5023         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5024         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5025
5026         * bufferview_func.[Ch]: several new functions to facilliate
5027         transfer of data to and from the character dialog.
5028
5029 2003-03-12  John Levon  <levon@movementarian.org>
5030
5031         * buffer.C:
5032         * paragraph.h:
5033         * paragraph.C:
5034         * paragraph_funcs.C:
5035         * paragraph_pimpl.C:
5036         * sgml.C:
5037         * tabular.C:
5038         * text.C:
5039         * text3.C: remove META_NEWLINE in favour of an inset
5040
5041         * rowpainter.h:
5042         * rowpainter.C: remove paintNewline (done by inset)
5043
5044 2003-03-12  John Levon  <levon@movementarian.org>
5045
5046         * paragraph_pimpl.C: complain about bad getChar()s
5047         for a while at least
5048
5049 2003-03-12  John Levon  <levon@movementarian.org>
5050
5051         * buffer.h:
5052         * buffer.C: move paragraph read into a separate function,
5053         a little renaming to reflect that.
5054
5055         * bufferparams.h:
5056         * bufferparams.C: remove the author_ids map, not necessary now
5057
5058         * factory.h:
5059         * factory.C: moved Buffer::readInset to here
5060
5061         * paragraph_funcs.h:
5062         * paragraph_funcs.C: readParagraph free function moved from
5063         buffer.C
5064
5065         * tabular.C: name change
5066
5067 2003-03-12  John Levon  <levon@movementarian.org>
5068
5069         * buffer.C:
5070         * ParagraphParameters.C: move par params input to
5071         a read() method
5072
5073         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5074         behave like a normal read from the stream wrt reading
5075         a line vs. a \\token
5076
5077 2003-03-12  John Levon  <levon@movementarian.org>
5078
5079         * paragraph.C:
5080         * ParagraphParameters.h:
5081         * ParagraphParameters.C: move output code to a
5082         ::write() method
5083
5084 2003-03-12  John Levon  <levon@movementarian.org>
5085
5086         * BufferView.C (insertLyXFile):
5087         * buffer.h:
5088         * buffer.C:
5089         * tabular.C: use a parlist iterator for creating the
5090           document.
5091
5092 2003-03-12  John Levon  <levon@movementarian.org>
5093
5094         * buffer.C: make current_change static local not
5095           static file-scope
5096
5097 2003-03-12  John Levon  <levon@movementarian.org>
5098
5099         * buffer.C: fix insertStringAsLines for change tracking
5100
5101 2003-03-12  John Levon  <levon@movementarian.org>
5102
5103         * BufferView.C:
5104         * tabular.C:
5105         * buffer.h:
5106         * buffer.C:
5107         * bufferparams.h:
5108         * bufferparams.C: move author list into params. Rename some
5109           functions. Move the header reading into a separate token
5110           loop. Move the header token reading into BufferParams.
5111
5112 2003-03-12  John Levon  <levon@movementarian.org>
5113
5114         * changes.C: put debug inside lyxerr.debugging() checks
5115
5116 2003-03-11 André Pönitz <poenitz@gmx.net>
5117
5118         * factory.C: make it aware of InsetHFill
5119
5120 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5121
5122         * buffer.C (latexParagraphs): move function from here...
5123         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5124         args.
5125
5126 2003-03-10  Angus Leeming  <leeming@lyx.org>
5127
5128         * LyXAction.C (init): fix bug in poplating array with multiple entries
5129         with the same LFUN (spotted by JMarc).
5130
5131 2003-03-10  John Levon  <levon@movementarian.org>
5132
5133         * text.C:
5134         * text2.C: move getColumnNearX() near its
5135         only call site
5136
5137 2003-03-10  John Levon  <levon@movementarian.org>
5138
5139         * text.C: fix break before a minipage
5140
5141 2003-03-10  John Levon  <levon@movementarian.org>
5142
5143         * text.C: fix the last commit
5144
5145 2003-03-09  John Levon  <levon@movementarian.org>
5146
5147         * lyxtext.h:
5148         * text.C:
5149         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5150         bug 365 (don't break before insets unless needed). Don't
5151         return a value > last under any circumstances.
5152
5153 2003-03-09  Angus Leeming  <leeming@lyx.org>
5154
5155         * BufferView_pimpl.C (trackChanges, dispatch): call
5156         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5157
5158 2003-03-09  Angus Leeming  <leeming@lyx.org>
5159
5160         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5161         than Dialogs::showAboutlyx().
5162
5163 2003-03-09  Angus Leeming  <leeming@lyx.org>
5164
5165         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5166         than Dialogs::showTabularCreate().
5167
5168 2003-03-09  John Levon  <levon@movementarian.org>
5169
5170         * lyxtext.h:
5171         * text.C:
5172         * text2.C: 3rd arg to nextBreakPoint was always the same.
5173           Use references.
5174
5175 2003-03-08  John Levon  <levon@movementarian.org>
5176
5177         * lyxrow.C:
5178         * paragraph.C:
5179         * paragraph.h:
5180         * rowpainter.C:
5181         * text.C:
5182         * text2.C: Remove the "main" bit from the "main body"
5183           notion.
5184
5185 2003-03-08  John Levon  <levon@movementarian.org>
5186
5187         * text.C (leftMargin): The left margin of an empty
5188         manual label paragraph should not include the label width
5189         string length.
5190
5191         * text.C (prepareToPrint): don't attempt to measure hfills
5192         for empty manual label paragraphs - the answer should be 0
5193
5194 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * CutAndPaste.C: remove commented code and reindent.
5197
5198 2003-03-08  John Levon  <levon@movementarian.org>
5199
5200         * lyxfunc.h:
5201         * lyxfunc.C: move reloadBuffer()
5202
5203         * BufferView.h:
5204         * BufferView.C: to here
5205
5206         * lyxvc.C: add comment
5207
5208         * vc-backend.h:
5209         * vc-backend.C: call bv->reload() to avoid
5210           getStatus() check on MENURELOAD
5211
5212 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5213
5214         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5215         to an old format .dep file.
5216
5217 2003-03-07  Angus Leeming  <leeming@lyx.org>
5218
5219         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5220         when the LFUN_MOUSE_RELEASE should have been handled by
5221         inset->localDispatch.
5222
5223 2003-03-07  Angus Leeming  <leeming@lyx.org>
5224
5225         * BufferView_pimpl.C (dispatch):
5226         * LyXAction.C (init):
5227         * ToolbarDefaults.C (init):
5228         * commandtags.h:
5229         * lyxfunc.C (getStatus):
5230         remove LFUN_INSET_GRAPHICS.
5231
5232         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5233
5234 2003-03-07  Angus Leeming  <leeming@lyx.org>
5235
5236         * commandtags.h:
5237         * LyXAction.C (init):
5238         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5239
5240         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5241
5242         * commandtags.h:
5243         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5244
5245         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5246         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5247
5248 2003-03-07  Angus Leeming  <leeming@lyx.org>
5249
5250         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5251         remove "ert".
5252
5253 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * ParagraphList.C (front): new function
5256         (back): implement
5257
5258 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5259
5260         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5261         and top_row_offset_. removed var first_y.
5262         * text.C (top_y):
5263         * text2.C (LyXText, removeRow):
5264         * text3.C:
5265         * BufferView_pimpl.C:
5266         use these methods instead of using first_y
5267
5268 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * text2.C (pasteSelection): adjust for checkPastePossible
5271
5272         * CutAndPaste.C: remove Paragraph * buf and replace with
5273         ParagraphList paragraphs.
5274         (DeleteBuffer): delete
5275         (cutSelection): change the tc type to textclass_type
5276         (copySelection): change the tc type to textclass_type
5277         (copySelection): adjust for ParagraphList
5278         (pasteSelection): change the tc type to textclass_type
5279         (pasteSelection): adjust for Paragraphlist
5280         (nrOfParagraphs): simplify for ParagraphList
5281         (checkPastePossible): simplify for ParagraphList
5282         (checkPastePossible): remove unused arg
5283
5284         * ParagraphList.C (insert): handle the case where there are no
5285         paragraphs yet.
5286
5287         * CutAndPaste.h: make CutAndPaste a namespace.
5288
5289         * text3.C (dispatch): adjust
5290
5291         * text.C (breakParagraph): add a ParagraphList as arg
5292
5293         * paragraph_funcs.C (breakParagraph): change to take a
5294         BufferParams and a ParagraphList as args.
5295         (breakParagraphConservative): ditto
5296         (mergeParagraph): ditto
5297         (TeXDeeper): add a ParagraphList arg
5298         (TeXEnvironment): ditto
5299         (TeXOnePar): ditto
5300
5301         * buffer.C (readLyXformat2): adjust
5302         (insertStringAsLines): adjust
5303         (latexParagraphs): adjust
5304
5305         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5306         (cutSelection): adjust
5307         (pasteSelection): adjust
5308
5309         * BufferView_pimpl.C (insertInset): adjust
5310
5311 2003-03-05  Angus Leeming  <leeming@lyx.org>
5312
5313         * commandtags.h:
5314         * LyXAction.C (init):
5315         * BufferView_pimpl.C (dispatch):
5316         * lyxfunc.C (getStatus):
5317         remove LFUN_CHILD_INSERT.
5318
5319         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5320
5321 2003-03-05  Angus Leeming  <leeming@lyx.org>
5322
5323         * commandtags.h:
5324         * LyXAction.C (init):
5325         * src/factory.C (createInset):
5326         * lyxfunc.C (getStatus):
5327         * text3.C (dispatch):
5328         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5329
5330         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5331
5332 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * ParagraphList.C (insert): handle insert right before end()
5335         (erase): fix cases where it can be first or last paragraph.
5336
5337 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5340         Paragraph::next and Paragraph::previous
5341         (TeXOnePar): ditto
5342
5343         * text.C (breakParagraph): adjust
5344
5345         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5346         BufferParams& as arg.
5347         (breakParagraph): use ParagraphList::insert
5348         (breakParagraphConservative): take a Buffer* instead of a
5349         BufferParams& as arg.
5350         (breakParagraphConservative): use ParagraphList::insert.
5351
5352         * buffer.C (insertStringAsLines): un-const it
5353         (insertStringAsLines): adjust
5354
5355         * ParagraphList.C (insert): new function
5356
5357         * CutAndPaste.C (pasteSelection): adjust
5358
5359         * text.C (backspace): adjust
5360
5361         * tabular.C (SetMultiColumn): adjust
5362
5363         * CutAndPaste.C (cutSelection): adjust
5364         (pasteSelection): adjust
5365
5366         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5367         Buffer const * as arg
5368
5369         * ParagraphList.C (erase): new function
5370         * paragraph_funcs.C (mergeParagraph): use it
5371         (mergeParagraph): make it take a Buffer* instead of a
5372         BufferParams* as arg
5373
5374         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5375         as arg
5376         (breakParagraphConservative): ditto
5377
5378         * paragraph.h: remove the breakParagraph friend
5379
5380         * paragraph.C (eraseIntern): new function
5381         (setChange): new function
5382
5383         * paragraph_funcs.C (mergeParagraph): make it take a
5384         ParagraphList::iterator instead of a Paragraph *, adjust
5385         accordingly.
5386
5387         * paragraph.h: move an #endif so that the change tracking stuff
5388         also works in the NO_NEXT case.
5389
5390 2003-03-04  Angus Leeming  <leeming@lyx.org>
5391
5392         * commandtags.h:
5393         * LyXAction.C: new LFUN_INSET_MODIFY.
5394
5395         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5396         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5397
5398 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5399
5400         * several files: ws changes only
5401
5402         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5403         (TeXEnvironment): ditto
5404         (TeXDeeper): ditto
5405
5406         * buffer.C (makeLaTeXFile): adjust
5407         (latexParagraphs): make it take ParagraphList::iterator as args
5408
5409 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * buffer.C (latexParagraphs): adjust
5412
5413         * paragraph.C (TeXOnePar): move function...
5414         (optArgInset): move function...
5415         (TeXEnvironment): move function...
5416         * paragraph_pimpl.C (TeXDeeper): move function...
5417         * paragraph_funcs.C: ...here
5418
5419         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5420
5421 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * buffer.C (readInset): remove compability code for old Figure and
5424         InsetInfo insets
5425
5426 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * buffer.C: ws changes
5429         (readInset):
5430
5431         * BufferView_pimpl.C: ditto
5432         * author.C: ditto
5433         * buffer.h: ditto
5434         * bufferlist.h: ditto
5435         * changes.h: ditto
5436         * lyxfunc.C: ditto
5437
5438 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5439
5440         * converter.[Ch]: split into itself +
5441         * graph.[Ch]
5442         * format.[Ch]
5443         * Makefile.am: += graph.[Ch] + format.[Ch]
5444         * MenuBackend.C
5445         * buffer.C
5446         * exporter.C
5447         * importer.C
5448         * lyx_main.C
5449         * lyxfunc.C
5450         * lyxrc.C: added #include "format.h"
5451
5452 2003-02-27  Angus Leeming  <leeming@lyx.org>
5453
5454         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5455           a label.
5456
5457         * factory.C (createInset): add "label" to the factory.
5458
5459         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5460           string and do no more.
5461
5462 2003-02-27  Angus Leeming  <leeming@lyx.org>
5463
5464         * commandtags.h:
5465         * LyXAction.C (init):
5466         * factory.C (createInset):
5467         * BufferView_pimpl.C (dispatch):
5468           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5469
5470         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5471
5472         * lyxfunc.C (dispatch):
5473         * text3.C (dispatch): pass name to params2string.
5474
5475 2003-02-26  Angus Leeming  <leeming@lyx.org>
5476
5477         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5478           blocks together.
5479           Rearrange the ~includes. Strip out the unnecessary ones.
5480
5481         * factory.C (createInset): reformat.
5482           create new insets for the various LFUN_XYZ_APPLY lfuns.
5483
5484 2003-02-26  John Levon  <levon@movementarian.org>
5485
5486         * lyxrow.h:
5487         * lyxrow.C: add isParStart,isParEnd helpers
5488
5489         * paragraph.h: make isInserted/DeletedText take refs
5490
5491         * paragraph_funcs.h:
5492         * paragraph_funcs.C: remove #if 0'd code
5493
5494         * lyxtext.h:
5495         * text3.C:
5496         * text2.C:
5497         * text.C: use lyxrow helpers above.
5498           Move draw and paint routines to RowPainter.
5499           Make several methods use refs not pointers.
5500           Make backgroundColor() const.
5501           Add markChangeInDraw(), isInInset().
5502           Merge changeRegionCase into changeCase.
5503           Make workWidth() shouldn't-happen code into an Assert.
5504
5505         * rowpainter.h:
5506         * rowpainter.C: new class for painting a row.
5507
5508         * vspace.h:
5509         * vspace.C: make inPixels take a ref
5510
5511 2003-02-26  Angus Leeming  <leeming@lyx.org>
5512
5513         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5514         LFUN_REF_APPLY.
5515
5516 2003-02-25  John Levon  <levon@movementarian.org>
5517
5518         * ispell.C: give the forked command a more accurate name
5519
5520 2003-02-22  John Levon  <levon@movementarian.org>
5521
5522         * toc.h:
5523         * toc.C: make TocItem store an id not a Paragraph *
5524           (bug #913)
5525
5526 2003-02-21  Angus Leeming  <leeming@lyx.org>
5527
5528         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5529           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5530           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5531           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5532           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5533           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5534
5535         * BufferView_pimpl.C (dispatch):
5536         * LyXAction.C (init):
5537         * factory.C (createInset):
5538         * lyxfunc.C (getStatus, dispatch):
5539         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5540
5541 2003-02-21  Angus Leeming  <leeming@lyx.org>
5542
5543         * BufferView_pimpl.C (MenuInsertLyXFile):
5544         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5545         * lyxfunc.C (menuNew, open, doImport):
5546           no longer pass a LyXView & to fileDlg.
5547
5548 2003-02-21  Angus Leeming  <leeming@lyx.org>
5549
5550         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5551         * LyXAction.C: change, BIBKEY to BIBITEM.
5552         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5553         Change InsetBibKey to InsetBibitem.
5554         Change BIBKEY_CODE to BIBITEM_CODE.
5555         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5556         * factory.C: replace insetbib.h with insetbibitem.h.
5557         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5558         * paragraph.C: replace insetbib.h with insetbibitem.h.
5559         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5560         Change bibkey() to bibitem().
5561         * text.C: remove insetbib.h.
5562         * text2.C: replace insetbib.h with insetbibitem.h.
5563         change bibkey() to bibitem().
5564         * text3.C: remove insetbib.h.
5565         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5566
5567 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5568
5569         * lyxrc.C (output): enclose user email in quotes (in case there are
5570         several words)
5571
5572 2003-02-18  John Levon  <levon@movementarian.org>
5573
5574         * buffer.h: add std::
5575
5576 2003-02-17  John Levon  <levon@movementarian.org>
5577
5578         * SpellBase.h:
5579         * ispell.h:
5580         * ispell.C:
5581         * pspell.h:
5582         * pspell.C: reworking. Especially in ispell, a large
5583           number of clean ups and bug fixes.
5584
5585         * lyxfunc.C: fix revert to behave sensibly
5586
5587 2003-02-17 André Pönitz <poenitz@gmx.net>
5588
5589         * LyXAction.C:
5590         * commandtags.h: new LFUN_INSERT_BIBKEY
5591
5592         * layout.h:
5593         * lyxlayout.C:
5594         * buffer.C:
5595         * factory.C:
5596         * text.C:
5597         * text2.C:
5598         * text3.C:
5599         * paragraph.[Ch]:
5600         * paragraph_func.C: remove special bibkey handling
5601
5602 2003-02-17  John Levon  <levon@movementarian.org>
5603
5604         * text.C (Delete): fix case where delete at the end of
5605           the very first paragraph would not merge the pars
5606
5607 2003-02-17  John Levon  <levon@movementarian.org>
5608
5609         * lyxrow.C: fix lastPrintablePos()
5610
5611 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5612
5613         * bufferparams.C (writeLaTeX): add a std:here
5614
5615         * buffer.C: and remove a using directive there
5616
5617 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5618
5619         * buffer.C (makeLaTeXFile): move the code that generates the
5620           preamble...
5621
5622         * bufferparams.C (writeLaTeX): ... in this new method
5623
5624         * LaTeXFeatures.C (getEncodingSet): make const
5625           (getLanguages): make const
5626
5627         * MenuBackend.C (binding): returns the binding associated to this
5628           action
5629           (add): sets the status of each item by calling getStatus. Adds
5630           some intelligence.
5631           (read): add support for OptSubMenu
5632           (expand): remove extra separator at the end of expanded menu
5633
5634 2003-02-15  John Levon  <levon@movementarian.org>
5635
5636         * BufferView.C:
5637         * BufferView_pimpl.C:
5638         * bufferlist.h:
5639         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5640           inset code that had no actual effect. Remove unneeded status
5641           code.
5642
5643 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5644
5645         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5646           in preamble
5647
5648 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5649
5650         * text.C (drawLengthMarker): also draw an arrow marker for
5651           symbolic lengths (medskip...)
5652
5653 2003-02-14  John Levon  <levon@movementarian.org>
5654
5655         * tabular.h:
5656         * tabular.C: better method names
5657
5658 2003-02-14  John Levon  <levon@movementarian.org>
5659
5660         * BufferView_pimpl.C:
5661         * bufferlist.C:
5662         * buffer.C:
5663         * converter.C:
5664         * lyx_cb.C:
5665         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5666           it's a more accurate name. Remove some pointless uses.
5667
5668 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5669
5670         * text2.C (LyXText): change order of initilizers to shut off
5671           warnings
5672
5673 2003-02-14  John Levon  <levon@movementarian.org>
5674
5675         * buffer.C: use ParIterator for getParFromID()
5676
5677         * paragraph.h:
5678         * paragraph.C:
5679         * paragraph_pimpl.h:
5680         * paragraph_pimpl.C: remove unused getParFromID()
5681
5682 2003-02-14  John Levon  <levon@movementarian.org>
5683
5684         * buffer.C: remove some very old #if 0'd parse code
5685
5686 2003-02-13  John Levon  <levon@movementarian.org>
5687
5688         * text.h:
5689         * text.C:
5690         * text2.C: move hfillExpansion(), numberOfSeparators(),
5691           rowLast(), rowLastPrintable(), numberofHfills(),
5692           numberOfLabelHfills() ...
5693
5694         * lyxrow.h:
5695         * lyxrow.C: ... to member functions here.
5696
5697         * paragraph.h:
5698         * paragraph.C:
5699         * lyxtext.h:
5700         * text.C: remove LyXText::beginningOfMainBody(), and call
5701           p->beginningOfMainBody() directly. Move the check for
5702           LABEL_MANUAL into the latter.
5703
5704         * text.h:
5705         * text.C:
5706         * text2.C:
5707         * vspace.C:
5708         * BufferView.h:
5709         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5710
5711         * text.h:
5712         * text.C:
5713         * text2.C:
5714         * text3.C:
5715         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5716           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5717
5718 2003-02-13  John Levon  <levon@movementarian.org>
5719
5720         * CutAndPaste.C: remove debug
5721
5722 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5723
5724         * paragraph.C (asString): remove two unused variables
5725
5726         * lyxtextclass.C (readTitleType):
5727           (Read):
5728           (LyXTextClass): handle new members titletype_ and titlename_
5729
5730         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5731
5732 2003-02-09  John Levon  <levon@movementarian.org>
5733
5734         * buffer.h:
5735         * buffer.C: replace hand-coded list with a map for the dep clean
5736
5737 2003-02-08  John Levon  <levon@movementarian.org>
5738
5739         * LaTeX.C: consolidate code into showRunMessage() helper
5740
5741 2003-02-08  John Levon  <levon@movementarian.org>
5742
5743         * lyxfind.C:
5744         * lyxtext.h:
5745         * text2.C:
5746         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5747           and pass the size in explicitly
5748
5749         * BufferView_pimpl.h:
5750         * BufferView_pimpl.C:
5751         * BufferView.h:
5752         * BufferView.C: add getCurrentChange()
5753
5754         * BufferView_pimpl.h:
5755         * BufferView_pimpl.C: handle change lfuns
5756
5757         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5758           for changes. Mark pasted paragraphs as new.
5759
5760         * support/lyxtime.h:
5761         * support/lyxtime.C:
5762         * DepTable.C: abstract time_t as lyx::time_type
5763
5764         * LColor.h:
5765         * LColor.C: add colours for new text, deleted text, changebars
5766
5767         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5768           package use "usenames" option.
5769
5770         * commandtags.h:
5771         * lyxfunc.C:
5772         * LyXAction.C: add change lfuns
5773
5774         * Makefile.am:
5775         * author.h:
5776         * author.C: author handling
5777
5778         * buffer.h:
5779         * buffer.C: add a per-buffer author list, with first entry as
5780           current author. Handle new .lyx tokens for change tracking. Output
5781           author list to .lyx file. Output dvipost stuff to .tex preamble.
5782           Bump lyx format to 222.
5783
5784         * bufferlist.h:
5785         * bufferlist.C: add setCurrentAuthor() to reset current author details
5786           in all buffers.
5787
5788         * bufferparams.h:
5789         * bufferparams.C: add param for tracking
5790
5791         * bufferview_funcs.C: output change info in minibuffer
5792
5793         * Makefile.am:
5794         * changes.h:
5795         * changes.C: add change-tracking structure
5796
5797         * debug.h:
5798         * debug.C: add CHANGES debug flag
5799
5800         * lyxfind.h:
5801         * lyxfind.C: add code for finding the next change piece
5802
5803         * lyxrc.h:
5804         * lyxrc.C: add user_name and user_email
5805
5806         * lyxrow.h:
5807         * lyxrow.C: add a metric for the top of the text line
5808
5809         * lyxtext.h:
5810         * text.C: implement accept/rejectChange()
5811
5812         * lyxtext.h:
5813         * text.C: paint changebars. Paint new/deleted text in the chosen
5814         colours. Strike through deleted text.
5815
5816         * paragraph.h:
5817         * paragraph.C:
5818         * paragraph_pimpl.h:
5819         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5820           in the current change to the insert functions. Rework erase to
5821           mark text as deleted, adding an eraseIntern() and a range-based
5822           erase(). Implement per-paragraph change lookup and
5823           accept/reject.
5824
5825         * paragraph_funcs.C: Fixup paste for change tracking.
5826
5827         * tabular.C: mark added row/columns as new.
5828
5829         * text.C: fix rowLast() to never return -1. Don't allow
5830           spellchecking of deleted text. Track transpose changes. Don't
5831           allow paragraph break or merge where appropriate.
5832
5833         * text2.C: leave cursor at end of selection after a cut.
5834
5835 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5836
5837         * text.C (getLengthMarkerHeight):
5838         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5839         visible on screen too.
5840
5841 2003-02-07  John Levon  <levon@movementarian.org>
5842
5843         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5844
5845 2003-02-05  Angus Leeming  <leeming@lyx.org>
5846
5847         * lyxserver.C (read_ready): revert my patch of 11 September last year
5848         as it sends PC cpu through the roof. Presumably this means that
5849         the lyxserver will no longer run on an Alpha...
5850
5851 2003-01-30  Angus Leeming  <leeming@lyx.org>
5852
5853         * factory.C (createInset): create an InsetCommandParam of type "index"
5854         and use it to 'do the right thing'.
5855
5856         * text2.C (getStringToIndex): ensure that cursor position is always
5857         reset to the reset_cursor position.
5858
5859 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5860
5861         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5862         disabled.
5863
5864 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5865
5866         * bufferview.C:
5867         * lyxcb.C:
5868         * lyxfunc.C: Output messages with identical spelling, punctuation,
5869         and spaces
5870
5871 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5872
5873         * MenuBackend.C (expandFormats): List only viewable export formats
5874         in "View" menu
5875
5876         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5877         message
5878
5879         * lyxfunc.C (getStatus): Make sure that formats other than
5880         "fax" can also be disabled
5881
5882 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5883
5884         * text3.C (dispatch): put the lfuns that insert insets in 3
5885         groups, and call doInsertInset with appropriate arguments.
5886         (doInsertInset): new function, that creates an inset and inserts
5887         it according to some boolean parameters.
5888
5889 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5890
5891         * buffer.C (readFile): remember to pass on 'par' when calling
5892         readFile recursively.
5893
5894 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5895
5896         * MenuBackend.C (expandFormats): add "..." to import formats.
5897
5898 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5899
5900         * paragraph.C (asString): Remove XForms RTL hacks.
5901
5902 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5903         * buffer.C: fix typo
5904
5905 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * Makefile.am (LIBS): delete var
5908         (lyx_LDADD): add @LIBS@ here instead.
5909
5910 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5911
5912         * Clarify the meaning of "wheel mouse jump"
5913
5914 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5915
5916         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5917         tabular in a float
5918
5919 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5920
5921         * importer.C (Loaders): do not preallocate 3 elements in the
5922         vector, since one ends up with 6 elements otherwise
5923
5924 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5925
5926         * DepTable.C (write): write the file name as last element of the
5927         .dep file (because it may contain spaces)
5928         (read): read info in the right order
5929
5930 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5931
5932         * paragraph_pimpl.C (simpleTeXBlanks):
5933         (simpleTeXSpecialChars):
5934         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5935
5936         * tabular.C (latex): add some missing case statements. Reindent.
5937
5938         * MenuBackend.C (expandToc): remove unused variable.
5939
5940 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5941
5942         * LColor.C:
5943         * LaTeX.C:
5944         * LyXAction.C:
5945         * MenuBackend.C:
5946         * buffer.C:
5947         * exporter.C:
5948         * lyxfunc.C:
5949         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5950         and the like.
5951
5952 2003-01-05  John Levon  <levon@movementarian.org>
5953
5954         * BufferView.h:
5955         * BufferView.C: add getEncoding()
5956
5957         * kbsequence.h:
5958         * kbsequence.C: do not store last keypress
5959
5960         * lyxfunc.h:
5961         * lyxfunc.C: store last keypress here instead. Pass encoding
5962           to getISOEncoded()
5963
5964 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5965
5966         * lyx_main.C (init): remove annoying error message when following
5967         symbolic links (bug #780)
5968
5969 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5970
5971         * text.C (insertChar):
5972         * lyxrc.C (getDescription): remove extra spaces
5973
5974 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5975
5976         * lyxrc.C (getDescription): remove extra spaces
5977
5978 2002-12-20  John Levon  <levon@movementarian.org>
5979
5980         * text3.C: hack fix for page up/down across tall rows
5981
5982 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5983
5984         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5985         not been invoked
5986
5987 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5988
5989         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5990         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5991         thesaurus is not compiled in
5992
5993 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5994
5995         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5996
5997 2002-12-16  Angus Leeming  <leeming@lyx.org>
5998
5999         * lyxrc.[Ch]:
6000         * lyx_main.C (init): remove override_x_deadkeys stuff.
6001
6002 2002-12-12  John Levon  <levon@movementarian.org>
6003
6004         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6005           insert. Only remove shift modifier under strict
6006           circumstances.
6007
6008 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * MenuBackend.C (expandToc): fix crash.
6011
6012 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * MenuBackend.C (expandToc): gettext on float names.
6015
6016 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6017
6018         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6019         implement bool empty() [bug 490]
6020
6021 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6024
6025 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6026
6027         * several files: ws changes
6028
6029 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6030
6031         * text2.C (setCounter): clean up a bit, use boost.format.
6032         (updateCounters): initialize par upon declaration.
6033
6034         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6035         if the layout exists. We do not just store the layout any more.
6036         (SwitchLayoutsBetweenClasses): use boost.format
6037
6038 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6039
6040         * converter.C (convert): if from and to files are the same, use a
6041         temporary files as intermediary
6042
6043 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6044
6045         * commandtags.h:
6046         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6047
6048 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6049
6050         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6051
6052 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6053
6054         * tabular.C (asciiPrintCell): use string(size, char) instead of
6055         explicit loop.
6056
6057         * sgml.C (openTag): fix order of arguments to string constructor
6058         (closeTag): ditto
6059
6060         * lyxfunc.C (dispatch): use boost.format
6061
6062         * lots of files: change "c" -> 'c'
6063
6064 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6065
6066         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6067
6068 2002-11-25  Angus Leeming  <leeming@lyx.org>
6069
6070         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6071
6072         * lyx_main.C (init): compile fix.
6073
6074 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * lyx_cb.C (start): boost.formatify
6077         do not include <iostream>
6078
6079         * lengthcommon.C: ws only
6080
6081         * boost-inst.C,BoostFormat.h: add more explict instantations
6082
6083 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * lots of files: handle USE_BOOST_FORMAT
6086
6087 2002-11-21  John Levon  <levon@movementarian.org>
6088
6089         * pspell.C: fix compile
6090
6091 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6092
6093         * lyxfunc.C (dispatch): use boost::format
6094         (open): ditto
6095         (doImport): ditto
6096
6097         * lyxfont.C (stateText): use boost::format
6098
6099         * lyx_main.C (LyX): use boost::format
6100         (init): ditto
6101         (queryUserLyXDir): ditto
6102         (readRcFile): ditto
6103         (parse_dbg): ditto
6104         (typedef boost::function): use the recommened syntax.
6105
6106         * importer.C (Import): use boost::format
6107
6108         * debug.C (showLevel): use boost::format
6109
6110         * converter.C (view): use boost::format
6111         (convert): ditto
6112         (move): ditto
6113         (scanLog): ditto
6114
6115         * bufferview_funcs.C (currentState): use boost::format
6116
6117         * bufferlist.C (emergencyWrite): use boost::format
6118
6119         * buffer.C (readLyXformat2): use boost::format
6120         (parseSingleLyXformat2Token): ditto
6121
6122         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6123
6124         * LaTeX.C (run): use boost::format
6125
6126         * Chktex.C (scanLogFile): use boost::format
6127
6128         * BufferView_pimpl.C (savePosition): use boost::format
6129         (restorePosition): ditto
6130         (MenuInsertLyXFile): ditto
6131
6132         * BoostFormat.h: help file for explicit instation.
6133
6134 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6135
6136         * tabular.C (latex): Support for block alignment in fixed width
6137         columns.
6138
6139 2002-11-17  John Levon  <levon@movementarian.org>
6140
6141         * BufferView_pimpl.C:
6142         * lyx_cb.C:
6143         * lyxfunc.C: split filedialog into open/save
6144
6145 2002-11-08  Juergen Vigna  <jug@sad.it>
6146
6147         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6148         by my last patch (hopefully).
6149
6150 2002-11-08  John Levon  <levon@movementarian.org>
6151
6152         * iterators.h:
6153         * iterators.C:
6154         * buffer.h:
6155         * buffer.C:
6156         * paragraph.h:
6157         * paragraph.C:
6158         * toc.h:
6159         * toc.C: ParConstIterator, and use it (from Lars)
6160
6161 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6162
6163         * lyxtextclass.[Ch]: revise and add doxygen comments
6164
6165 2002-11-07  John Levon  <levon@movementarian.org>
6166
6167         * text.C: fix progress value for spellchecker
6168
6169         * toc.C: fix navigate menu for insetwrap inside minipage
6170
6171         * paragraph_funcs.C: added FIXME for suspect code
6172
6173 2002-11-07  John Levon  <levon@movementarian.org>
6174
6175         * BufferView_pimpl.C: fix redrawing of insets
6176           on buffer switch
6177
6178 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6179
6180         * text2.C (updateCounters): fix bug 668
6181
6182 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6183
6184         * text3.C (dispatch): Do not make the buffer dirty when moving the
6185         cursor.
6186
6187 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6188
6189         * vc-backend.C: STRCONV
6190         (scanMaster): ditto
6191
6192         * text2.C (setCounter): STRCONV
6193
6194         * paragraph.C (asString): STRCONV
6195
6196         * lyxlength.C (asString): STRCONV
6197         (asLatexString): ditto
6198
6199         * lyxgluelength.C (asString): STRCONV
6200         (asLatexString): ditto
6201
6202         * lyxfunc.C (dispatch): STRCONV
6203         (open): ditto
6204
6205         * lyxfont.C (stateText): STRCONV
6206
6207         * importer.C (Import): STRCONV
6208
6209         * counters.C (labelItem): STRCONV
6210         (numberLabel): ditto
6211         (numberLabel): remove unused ostringstream o
6212
6213         * chset.C: STRCONV
6214         (loadFile): ditto
6215
6216         * bufferview_funcs.C (currentState): STRCONV
6217
6218         * buffer.C (readFile): STRCONV
6219         (asciiParagraph): ditto
6220         (makeLaTeXFile): ditto
6221
6222         * Spacing.C (writeEnvirBegin): STRCONV
6223
6224         * LaTeXFeatures.C (getLanguages): STRCONV
6225         (getPackages): ditto
6226         (getMacros): ditto
6227         (getBabelOptions): ditto
6228         (getTClassPreamble): ditto
6229         (getLyXSGMLEntities): ditto
6230         (getIncludedFiles): ditto
6231
6232         * LaTeX.C: STRCONV
6233         (run): ditto
6234         (scanAuxFile): ditto
6235         (deplog): ditto
6236
6237         * LString.h: add the STRCONV macros
6238
6239         * BufferView_pimpl.C (savePosition): STRCONV
6240         (restorePosition): ditto
6241         (MenuInsertLyXFile): ditto
6242
6243         * vc-backend.C (scanMaster): change from submatch[...] to
6244         submatch.str(...)
6245
6246         * funcrequest.C: include config.h
6247
6248         * factory.C: include config.h
6249
6250         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6251
6252         * box.C: include config.h
6253
6254         * LaTeX.C (scanAuxFile): change from submatch[...] to
6255         submatch.str(...)
6256         (deplog): ditto
6257
6258 2002-10-25  Angus Leeming  <leeming@lyx.org>
6259
6260         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6261
6262         * ispell.[Ch] (setError): new method.
6263         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6264         Use setError() insetead of goto END.
6265
6266         * lyx_cb.C (AutoSave): move out child process into new class
6267         AutoSaveBuffer.
6268
6269 2002-10-30  John Levon  <levon@movementarian.org>
6270
6271         * text3.C: make start appendix undoable
6272
6273 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6274
6275         * lyxlength.C (inPixels): Fix returned value.
6276
6277         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6278         environment.
6279
6280 2002-10-24  Angus Leeming  <leeming@lyx.org>
6281
6282         * lyxgluelength.h: no need to forward declare BufferParams
6283         or BufferView, so don't.
6284
6285 2002-10-21  John Levon  <levon@movementarian.org>
6286
6287         * BufferView.C: menuUndo ->undo, redo
6288
6289         * BufferView.h: document, remove dead, make some methods private
6290
6291         * paragraph_funcs.h:
6292         * paragraph_funcs.C:
6293         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6294
6295         * buffer.h:
6296         * buffer.C:
6297         * sgml.h:
6298         * sgml.C: move sgml open/close tag into sgml.C
6299
6300         * bufferview_funcs.h: unused prototype
6301
6302         * lyxfunc.h:
6303         * lyxfunc.C: remove unused
6304
6305         * lyxtext.h:
6306         * text.C: remove unused
6307
6308 2002-10-21  John Levon  <levon@movementarian.org>
6309
6310         * BufferView.h:
6311         * BufferView.C:
6312         * BufferView_pimpl.h:
6313         * BufferView_pimpl.C: fix mouse wheel handling based on
6314           patch from Darren Freeman
6315
6316 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6317
6318         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6319
6320 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6321
6322         * lyxlength.C (inPixels): Fix hanfling of negative length.
6323         Fix LyXLength::MU case.
6324
6325 2002-10-16  John Levon  <levon@movementarian.org>
6326
6327         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6328
6329 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6330
6331         * converter.C (view): add support for $$i (file name) and $$p
6332         (file path) for the viewer command. If $$i is not specified, then
6333         it is appended to the command (for compatibility with old syntax)
6334
6335 2002-10-14  Juergen Vigna  <jug@sad.it>
6336
6337         * undo_funcs.C (textHandleUndo): alter the order in which the
6338         new undopar is added to the LyXText, as we have to set first
6339         the right prev/next and then add it as otherwise the rebuild of
6340         LyXText is not correct. Also reset the cursor to the right paragraph,
6341         with this IMO we could remove the hack in "redoParagraphs()".
6342
6343 2002-10-09  Angus Leeming  <leeming@lyx.org>
6344
6345         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6346         to turn off an optimisation if a new inset is to be inserted.
6347
6348 2002-10-11 André Pönitz <poenitz@gmx.net>
6349
6350         * lyxtext.h: make some functions public to allow access
6351         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6352
6353 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6354
6355         * text3.C (dispatch): when changing layout, avoid an infinite loop
6356         [bug #652]
6357
6358 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6359
6360         * lyxrc.C (read): treat a viewer or converter command of "none" as
6361         if it were empty.
6362
6363         * MenuBackend.C (expandFormats): for an update, also allow the
6364         formats that are not viewable
6365
6366         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6367         script if it is newer than the lyxrc.defaults in user directory
6368
6369 2002-10-07 André Pönitz <poenitz@gmx.net>
6370
6371         * text.C: Vitaly Lipatov's small i18n fix
6372
6373 2002-09-25  Angus Leeming  <leeming@lyx.org>
6374
6375         * ispell.h: doxygen fix.
6376
6377 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6378
6379         * buffer.h (readFile): Add a new argument to the method, to allow
6380         reading of old-format templates.
6381
6382 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6383
6384         * toc.C (getTocList): Get TOC from InsetWrap.
6385
6386 2002-09-16  John Levon  <levon@movementarian.org>
6387
6388         * lyxfunc.C: check tabular for cut/copy too
6389
6390 2002-09-12  John Levon  <levon@movementarian.org>
6391
6392         * LyXAction.C: tidy
6393
6394         * factory.h:
6395         * factory.C: add header
6396
6397         * paragraph_funcs.h:
6398         * paragraph_funcs.C: cleanup
6399
6400 2002-09-11  John Levon  <levon@movementarian.org>
6401
6402         * PrinterParams.h: odd/even default to true
6403
6404 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6405
6406         * PrinterParams.h: update printer parameters for new xforms dialog
6407
6408 2002-09-11  Angus Leeming  <leeming@lyx.org>
6409
6410         * lyxserver.C (read_ready): re-write to make it more transparent
6411         and to make it work in coherent fashion under Tru64 Unix.
6412
6413 2002-09-11  André Pönitz <poenitz@gmx.net>
6414
6415         * commandtags.h:
6416         * LyXAction.C:
6417         * text3.C: implement LFUN_WORDSEL
6418
6419 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6422         make floatlist_ a boost::shared_ptr<FloatList>
6423
6424         * lyxtextclass.C: include FloatList.h
6425         (LyXTextClass): initialize floatlist_
6426         (TextClassTags): add TC_NOFLOAT
6427         (Read): match "nofloat" to TC_NOFLOAT and use it.
6428         (readFloat): modify call to floatlist_
6429         (floats): ditto
6430         (floats): ditto
6431
6432         * FloatList.[Ch] (FloatList): remove commented out float
6433         initialization.
6434         (erase): new function
6435
6436 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6437
6438         * MenuBackend.C (expandToc): fix crash when there is no document
6439         open
6440
6441 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6442
6443         * many files: Add insetwrap.
6444
6445 2002-09-09  John Levon  <levon@movementarian.org>
6446
6447         * text2.C: remove confusing and awkward depth wraparound
6448
6449 2002-09-09  John Levon  <levon@movementarian.org>
6450
6451         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6452
6453         * buffer.h:
6454         * buffer.C: remove getIncludeonlyList()
6455
6456         * paragraph.C:
6457         * lyxfunc.C: remove headers
6458
6459 2002-09-09  Juergen Vigna  <jug@sad.it>
6460
6461         * text.C (getColumnNearX): fix form Michael this is most
6462         probably a cut&paste bug.
6463
6464 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6467
6468         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6469         references, ws changes.
6470
6471         * text2.C (init): update counters after init
6472         (insertParagraph): no need to set counter on idividual paragraphs.
6473         (setCounter): access the counters object in the textclass object
6474         on in the buffer object.
6475         (updateCounters): ditto
6476
6477         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6478         shared_ptr<Counters> to avoid loading counters.h in all
6479         compilation units.
6480         (LyXTextClass): initialize ctrs_
6481         (TextClassTags): add TC_COUNTER, and ...
6482         (Read): use it here.
6483         (CounterTags): new tags
6484         (readCounter): new function
6485         (counters): new funtion
6486         (defaultLayoutName): return a const reference
6487
6488         * counters.C (Counters): remove contructor
6489         (newCounter): remove a couple of unneeded statements.
6490         (newCounter): simplify a bit.
6491         (numberLabel): some small formatting changes.
6492
6493         * buffer.[Ch]: remove all traces of counters, move the Counters
6494         object to the LyXTextClass.
6495
6496 2002-09-06  Alain Castera  <castera@in2p3.fr>
6497
6498         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6499         package to set the horizontal alignment on fixed width columns.
6500
6501         * lyx_sty.C:
6502         * lyx_sty.h: added tabularnewline macro def.
6503
6504         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6505
6506 2002-09-06  John Levon  <levon@movementarian.org>
6507
6508         * LyXAction.C: tooltips for sub/superscript
6509
6510         * MenuBackend.C: a bit more verbose
6511
6512         * lyxfunc.C: tiny clean
6513
6514         * undo_funcs.C: document undo_frozen
6515
6516 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * counters.C (Counters): add missing algorithm counter.
6519
6520         * text2.C (setCounter): lookup the counter with layouts latexname
6521         instead of by section number.
6522         (setCounter): use a hackish way to lookup the correct enum
6523         counter.
6524         a float name->type change
6525         reset enum couners with counter name directly instead of depth value.
6526
6527         * counters.C (Counters): remove the push_backs, change to use the
6528         float type not the float name.
6529         (labelItem): remove unused string, float name->type change
6530
6531         * counters.h: don't include vector, loose the enums and sects vectors
6532
6533 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6534
6535         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6536         (Read): add float->TC_FLOAT to textclassTags
6537         (Read): and handle it in the switch
6538         (readFloat): new function
6539
6540         * FloatList.C (FloatList): comment out the hardcoded float
6541         definitions.
6542
6543         * lyxlayout.h: ws change.
6544
6545 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6546
6547         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6548
6549 2002-09-03  Angus Leeming  <leeming@lyx.org>
6550
6551         * BufferView_pimpl.h: qualified name is not allowed in member
6552         declaration: WorkArea & Pimpl::workarea() const;
6553
6554         * factory.C: added using std::endl directive.
6555
6556         * text3.C: added using std::find and std::vector directives.
6557
6558 2002-08-29  André Pönitz <poenitz@gmx.net>
6559
6560         * lyxtext.h:
6561         * text2.C: remove unused member number_of_rows
6562
6563         * Makefile.am:
6564         * BufferView2.C: remove file, move contents to...
6565         * BufferView.C: ... here
6566
6567         * BufferView_pimpl.C:
6568         * factory.C: move more inset creation to factory
6569
6570         * vspace.C: avoid direct usage of LyXText, ws changes
6571
6572         * BufferView.[Ch]:
6573                 don't provide direct access to WorkArea, use two simple
6574                 acessors haveSelction() and workHeight() instead
6575
6576
6577 2002-08-29  John Levon  <levon@movementarian.org>
6578
6579         * BufferView_pimpl.C (dispatch): do not continue when
6580           no buffer
6581
6582 2002-08-28  André Pönitz <poenitz@gmx.net>
6583
6584         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6585
6586         * BufferView.h:
6587         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6588
6589 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6590
6591         * buffer.C: increment LYX_FORMAT to 221
6592
6593         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6594         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6595
6596         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6597
6598         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6599
6600 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6601
6602         * factory.C (createInset): use LyXTextClass::floats
6603
6604         * MenuBackend.C (expandFloatListInsert):
6605         (expandFloatInsert):
6606         (expandToc):
6607
6608         * text2.C (setCounter):
6609
6610         * LaTeXFeatures.C (useFloat):
6611         (getFloatDefinitions):
6612
6613         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6614
6615         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6616         floatlist_, with accessor floats().
6617
6618         * FloatList.h: remove global FloatList
6619
6620 2002-08-26  André Pönitz <poenitz@gmx.net>
6621
6622         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6623
6624         * BufferView.h:
6625         * BufferView2.C:
6626         * BufferView_pimpl.C:
6627         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6628
6629 2002-08-25  John Levon  <levon@movementarian.org>
6630
6631         * LyXAction.C: fix margin note description
6632
6633 2002-08-24  John Levon  <levon@movementarian.org>
6634
6635         * buffer.C:
6636         * bufferlist.C:
6637         * bufferview_funcs.C:
6638         * lyxfont.C:
6639         * undo_funcs.C: cleanups
6640
6641         * lyxfunc.C: disable CUT/COPY when no selection
6642
6643 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6644
6645         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6646         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6647
6648         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6649         Add backward compatibility to "mono", "gray" and "no".
6650
6651 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6652
6653         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6654         (and file_format >= 200).
6655
6656 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6657
6658         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6659
6660 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6661
6662         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6663
6664 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6665
6666         * BufferView_pimpl.C:
6667         * LyXAction.C:
6668         * buffer.C:
6669         * commandtags.h:
6670         * lyxfunc.C:
6671         * paragraph.[Ch]:
6672         * text2.C:
6673         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6674         inset and code to make it  work with the paragraph code. The inset
6675         can be anywhere in the paragraph, but will only do the expected
6676         thing in LaTeX if the layout file contains the parameter line
6677                         OptionalArgs    1
6678         (or more generally, a nonzero value) for that layout.
6679
6680 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * paragraph.h: remove the declaration of undefined counters class
6683         function.
6684
6685 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6686
6687         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6688         Dr. Richard Hawkins.
6689
6690 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6691
6692         * paragraph_funcs.h: remove some unneeded includes
6693
6694         * text.C (backspace): pasteParagraph now in global scipe
6695
6696         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6697         (pasteSelection): ditto
6698
6699         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6700         * paragraph_funcs.C (pasteParagraph): ... here
6701
6702 2002-08-20  André Pönitz <poenitz@gmx.net>
6703
6704         * commandtags.h: new LFUNs for swapping/copying table row/colums
6705
6706         * LyXAction.C:
6707         * lyxfunc.C: support for new lfuns
6708
6709 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * tabular.C:
6712         * buffer.[Ch]: remove NO_COMPABILITY stuff
6713
6714 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * boost.C (throw_exception): new file, with helper function for
6717         boost compiled without exceptions.
6718
6719         * paragraph.h:
6720         * lyxlength.C:
6721         * buffer.C:
6722         * ParameterStruct.h:
6723         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6724
6725         * bufferlist.C (emergencyWriteAll): use boost bind
6726
6727         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6728
6729         * text.C: include paragraph_funcs.h
6730         (breakParagraph): breakParagraph is now in global scope
6731
6732         * paragraph_funcs.[Ch]: new files
6733
6734         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6735         global scope
6736
6737         * buffer.C: include paragraph_funcs.h
6738         (insertStringAsLines): breakParagraph is now in global scope
6739
6740         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6741         paragraph_funcs.C
6742
6743         * CutAndPaste.C: include paragraph_funcs.h
6744         (cutSelection): breakParagraphConservative is now in global scope
6745         (pasteSelection): ditto
6746
6747         * buffer.h: declare oprator== and operator!= for
6748         Buffer::inset_iterator
6749
6750         * bufferlist.C (emergencyWrite): don't use fmt(...)
6751
6752         * text3.C: add using std::endl
6753
6754         * BufferView.C (moveCursorUpdate): remove default arg
6755
6756 2002-08-20  André Pönitz <poenitz@gmx.net>
6757
6758         * buffer.[Ch]: move inline functions to .C
6759
6760         * BufferView2.C:
6761         * BufferView_pimpl.C:
6762         * text.C:
6763         * buffer.[Ch]: use improved inset_iterator
6764
6765         * buffer.C:
6766         * paragraph.[Ch]: write one paragraph at a time
6767
6768 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6769
6770         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6771         style if style is not specified.
6772
6773 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6774
6775         * text2.C (setCounter): when searching for right label for a
6776         caption, make sure to recurse to parent insets (so that a caption
6777         in a minipage in a figure float works) (bug #568)
6778
6779 2002-08-20  André Pönitz <poenitz@gmx.net>
6780
6781         * text3.C: new file for LyXText::dispatch() and helpers
6782
6783         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6784
6785         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6786
6787 2002-08-19  André Pönitz <poenitz@gmx.net>
6788
6789         * lyxtext.h:
6790         * text.C: new LyXText::dispatch()
6791
6792         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6793
6794 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6795
6796         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6797
6798         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6799         Hebrew text.
6800
6801 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6802
6803         * Makefile.am: use $(variables) instead of @substitutions@
6804
6805 2002-08-15  André Pönitz <poenitz@gmx.net>
6806
6807         * lyxfunc.C:
6808         * BufferView_pimpl.C: streamlining mathed <-> outer world
6809         interaction
6810
6811         * commandtags.h:
6812         * LyXAction.C: remove unused LFUN_MATH
6813
6814 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6817
6818 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6819
6820         * paragraph.C (Paragraph): reformat a bit
6821         (cutIntoMinibuffer): use builtin InsetList function instad of
6822         doing it manually.
6823         (getInset): ditto
6824
6825         * buffer.C: include boost/bind.hpp, add using std::for_each
6826         (writeFileAscii): use ParagraphList iterators
6827         (validate): use for_each for validate traversal of paragraphs
6828         (getBibkeyList): use ParagraphList iterators
6829         (resizeInsets): use for_each to resizeInsetsLyXText for all
6830         paragraphs.
6831         (getParFromID): use ParagraphList iterators
6832
6833         * BufferView2.C (lockInset): use paragraph list and iterators
6834
6835 2002-08-14  John Levon  <levon@movementarian.org>
6836
6837         * lyxserver.C: remove spurious xforms include
6838
6839 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6840
6841         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6842
6843 2002-08-13  André Pönitz <poenitz@gmx.net>
6844
6845         * LyXAction.[Ch]:
6846         * lyxfunc.C: further cleaning
6847
6848 2002-08-13  André Pönitz <poenitz@gmx.net>
6849
6850         * funcrequest.h: new constructor
6851
6852         * funcrequest.C: move stuff here from .h
6853
6854         * Makefile.am:
6855         * BufferView_pimpl.C:
6856         * LyXAction.C:
6857         * toc.C:
6858         * lyxfunc.C: subsequent changes
6859
6860         * lyxfunc.h: new view() member function
6861
6862         * lyxfunc.C: subsequent changes
6863
6864 2002-08-13  Angus Leeming  <leeming@lyx.org>
6865
6866         * BufferView2.C:
6867         * BufferView_pimpl.C:
6868         * buffer.C:
6869         * converter.C:
6870         * importer.C:
6871         * lyxfunc.C:
6872         * lyxvc.C:
6873         * toc.C:
6874         * vc-backend.C:
6875         changes due to the changed LyXView interface that now returns references
6876         to member variables not pointers.
6877
6878 2002-08-13  Angus Leeming  <leeming@lyx.org>
6879
6880         * WordLangTuple (word, lang_code): return references to strings,
6881         not strings.
6882
6883         * BufferView.h:
6884         * SpellBase.h:
6885         * lyxtext.h: forward-declare WordLangTuple.
6886
6887         * BufferView2.C:
6888         * ispell.C:
6889         * pspell.C:
6890         * text.C: #include "WordLangTuple.h".
6891
6892         * lyxtext.h:
6893         * text.C: (selectNextWordToSpellcheck): constify return type.
6894
6895 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6896
6897         * buffer.C:
6898         * buffer.h:
6899         * lyxtext.h:
6900         * paragraph.C:
6901         * paragraph_pimpl.h:
6902         * text.C:
6903         * text2.C:
6904         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6905         suggested by Angus.
6906         Made updateCounter always count from start of buffer, and removed
6907         second argument (par).
6908         Reverted floats number display to '#'. Perhaps I'll try again when the
6909         code base is sanitized a bit.
6910
6911 2002-08-12  Angus Leeming  <leeming@lyx.org>
6912
6913         * buffer.[Ch] (getLabelList): constify.
6914
6915 2002-08-07  André Pönitz <poenitz@gmx.net>
6916
6917         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6918
6919         * funcrequest.h: extension to keep mouse (x,y) position
6920
6921 2002-08-12  Juergen Vigna  <jug@sad.it>
6922
6923         * BufferView2.C (insertErrors): forbid undo when inserting error
6924         insets.
6925
6926         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6927
6928 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * ParagraphList.[Ch]: new files
6931
6932         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6933
6934         * BufferView2.C (lockInset): ParagraphList changes
6935         * toc.C: ditto
6936         * text2.C: ditto
6937         * bufferlist.C: ditto
6938         * buffer.h: ditto
6939         * buffer.C: ditto
6940
6941 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6944         unused class variable counter_,
6945
6946         * paragraph.[Ch] (getFirstCounter): delete unused function
6947
6948         * counters.C: include LAssert.h
6949         (reset): add a new function with no arg, change other version to
6950         not have def. arg and to not allow empty arg.
6951
6952         * text2.C (setCounter): remove empty arg from call to Counters::reset
6953
6954 2002-08-11  John Levon  <levon@movementarian.org>
6955
6956         * Makefile.am: add WordLangTuple.h
6957
6958 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6961         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6962
6963         * insets/insettext.C: InsetList changes
6964
6965         * graphics/GraphicsSupport.C (operator()): InsetList changes
6966
6967         * toc.C (getTocList): InsetList changes
6968
6969         * paragraph_pimpl.[Ch]: InsetList changes
6970
6971         * paragraph.[Ch]: InsetList changes
6972
6973         * buffer.C (inset_iterator): InsetList changes
6974         (setParagraph): ditto
6975         * buffer.h (inset_iterator): ditto
6976         * iterators.C (operator++): ditto
6977         * iterators.h: ditto
6978
6979         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6980
6981         * InsetList.[Ch]: new files, most InsetList handling moved out of
6982         paragraph.C.
6983
6984         * BufferView2.C (removeAutoInsets): InsetList changes
6985         (lockInset): ditto
6986         (ChangeInsets): ditto
6987
6988 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * paragraph_pimpl.h (empty): new function
6991
6992         * paragraph.[Ch] (empty): new function
6993
6994         * other files: use the new Paragraph::empty function
6995
6996 2002-08-09  John Levon  <levon@movementarian.org>
6997
6998         * lyxtext.h: remove unused refresh_height
6999
7000 2002-08-09  John Levon  <levon@movementarian.org>
7001
7002         * Makefile.am:
7003         * sgml.h:
7004         * sgml.C:
7005         * buffer.C:
7006         * paragraph.h:
7007         * paragraph.C: move sgml char escaping out of paragraph
7008
7009         * paragraph.h:
7010         * paragraph.C: remove id setter
7011
7012         * buffer.C:
7013         * paragraph.C:
7014         * paragraph_pimpl.C: remove dead tex_code_break_column
7015
7016         * bufferview_funcs.C: small cleanup
7017
7018         * lyxfunc.C: remove dead proto
7019
7020         * lyxtext.h: make some stuff private. Remove some dead stuff.
7021
7022         * lyxgluelength.C: make as[LyX]String() readable
7023
7024 2002-08-08  John Levon  <levon@movementarian.org>
7025
7026         * LyXAction.h:
7027         * LyXAction.C:
7028         * MenuBackend.C:
7029         * ToolbarDefaults.C:
7030         * lyxfunc.C:
7031         * lyxrc.C:
7032         * toc.C: lyxaction cleanup
7033
7034 2002-08-08  John Levon  <levon@movementarian.org>
7035
7036         * BufferView2.C: small cleanup
7037
7038         * lyxfind.h:
7039         * lyxfind.C: move unnecessary header into the .C
7040
7041 2002-08-08  John Levon  <levon@movementarian.org>
7042
7043         * funcrequest.h: just tedious nonsense
7044
7045         * lyx_main.h:
7046         * lyx_main.C: cleanups
7047
7048         * buffer.C:
7049         * vspace.C: remove dead header lyx_main.h
7050
7051 2002-08-07  Angus Leeming  <leeming@lyx.org>
7052
7053         * Paragraph.[Ch]:
7054         * paragraph_pimpl.h:
7055         Forward declare class Counters in paragraph.h by moving the ctrs member
7056         variable into Paragraph::Pimpl.
7057         (counters): new method, returning a reference to pimpl_->ctrs.
7058
7059         * text2.C: ensuing changes.
7060
7061 2002-08-07  John Levon  <levon@movementarian.org>
7062
7063         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7064
7065         * BufferView_pimpl.C: announce X selection on double/triple
7066           click
7067
7068         * lyx_main.C: use correct bool in batch dispatch
7069
7070         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7071
7072 2002-08-07  André Pönitz <poenitz@gmx.net>
7073
7074         * funcrequest.h: new class to wrap a kb_action and its argument
7075
7076         * BufferView.[Ch]:
7077         * BufferView_pimpl[Ch]:
7078         * LaTeX.C:
7079         * LyXAction.[Ch]:
7080         * lyxfunc.[Ch]:
7081         * lyxrc.C: subsequent changes
7082
7083
7084 2002-08-07  John Levon  <levon@movementarian.org>
7085
7086         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7087           document options change.
7088
7089 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7090
7091         * counters.[Ch]
7092         * text2.C
7093         * paragraph.[Ch]
7094         * makefile.am: move counters functionality over from
7095         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7096
7097 2002-08-06  John Levon  <levon@movementarian.org>
7098
7099         * WordLangTuple.h: new file for word + language code tuple
7100
7101         * SpellBase.h:
7102         * pspell.h:
7103         * pspell.C:
7104         * ispell.h:
7105         * ispell.C:
7106         * lyxtext.h:
7107         * text.C:
7108         * text2.C:
7109         * BufferView.h:
7110         * BufferView2.C: use WordLangTuple
7111
7112         * layout.h:
7113         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7114
7115 2002-08-06  John Levon  <levon@movementarian.org>
7116
7117         * lyx_main.C: fix cmdline batch handling
7118
7119 2002-08-06  André Pönitz <poenitz@gmx.net>
7120
7121         * lyxrc.C: set default for show_banner to true
7122
7123 2002-08-06  John Levon  <levon@movementarian.org>
7124
7125         * pspell.C: fix a crash, and allow new aspell to work
7126
7127 2002-08-06  John Levon  <levon@movementarian.org>
7128
7129         * lyxfunc.C:
7130         * kbmap.C: small cleanup
7131
7132         * vspace.h:
7133         * vspace.C: add const
7134
7135 2002-08-05  John Levon  <levon@movementarian.org>
7136
7137         * LyXAction.C: back to tabular-insert
7138
7139 2002-08-04  John Levon  <levon@movementarian.org>
7140
7141         * BufferView.h:
7142         * BufferView.C: cosmetic change
7143
7144         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7145
7146         * bufferlist.C:
7147         * buffer.h:
7148         * buffer.C:
7149         * lyxcb.h:
7150         * lyxcb.C:
7151         * lyxserver.C:
7152         * lyxvc.C:
7153         * vc-backend.C:
7154         * BufferView2.C: purge all "Lyx" not "LyX" strings
7155
7156         * lyxcursor.h:
7157         * lyxcursor.C: attempt to add some documentation
7158
7159         * lyxfunc.C:
7160         * commandtags.h:
7161         * LyXAction.C:
7162         * ToolbarDefaults.C:
7163         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7164           merge with LFUN_TABULAR_INSERT
7165
7166         * Makefile.am:
7167         * SpellBase.h:
7168         * ispell.h:
7169         * ispell.C:
7170         * pspell.h:
7171         * pspell.C: split up i/pspell implementations into separate
7172           files, many cleanups
7173
7174         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7175
7176         * text2.C: some cleanup
7177
7178         * lyxfunc.C: don't check for isp_command == "none" any more, it
7179           didn't make any sense
7180
7181 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7182
7183         * counters.[Ch]
7184         * text2.C
7185         * paragraph.[Ch]
7186         * makefile.am: move counters functionality over
7187         from text2.C/paragraph.[Ch] to counters.[Ch], and
7188         make proper C++.
7189 2002-08-02  John Levon  <levon@movementarian.org>
7190
7191         * buffer.C: s/lyxconvert/lyx2lyx/
7192
7193 2002-08-02  Angus Leeming  <leeming@lyx.org>
7194
7195         * lyxlex.C: revert John's change as it breaks reading of the user
7196         preamble.
7197
7198 2002-08-02  Angus Leeming  <leeming@lyx.org>
7199
7200         * importer.C (Import):
7201         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7202         changes due to LyXView::view() now returning a boost::shared_ptr.
7203
7204 2002-08-02  John Levon  <levon@movementarian.org>
7205
7206         * lyxlex.C: small cleanup
7207
7208 2002-08-02  John Levon  <levon@movementarian.org>
7209
7210         * text2.C (status): small cleanup, no logic change
7211
7212 2002-08-01  John Levon  <levon@movementarian.org>
7213
7214         * buffer.h:
7215         * buffer.C (writeFile): don't output alerts, caller
7216           handles this
7217
7218         * bufferlist.C:
7219         * lyx_cb.C: from above
7220
7221         * lyxfunc.C: allow to open non-existent files
7222
7223 2002-07-31  John Levon  <levon@movementarian.org>
7224
7225         * lyxserver.C: don't let incidental errors get
7226           in the way (errno)
7227
7228 2002-07-30  John Levon  <levon@movementarian.org>
7229
7230         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7231
7232 2002-07-30  John Levon  <levon@movementarian.org>
7233
7234         * lyxserver.h:
7235         * lyxserver.C: remove I/O callback too
7236
7237 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7238
7239         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7240         log.
7241
7242 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7243
7244         * many files: strip,frontStrip -> trim,ltrim,rtrim
7245
7246 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * PrinterParams.h: remove extern containsOnly, and include
7249         support/lstrings.h instead.
7250
7251         * LaTeX.C (scanAuxFile): modify because of strip changes
7252         (deplog): ditto
7253         * buffer.C (makeLaTeXFile): ditto
7254         * bufferparams.C (writeFile): ditt
7255         * lyxfont.C (stateText): ditto
7256         * lyxserver.C (read_ready): ditto
7257         * vc-backend.C (scanMaster): ditto
7258
7259         * BufferView_pimpl.h: ws changes
7260
7261         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7262
7263 2002-07-26  André Pönitz <poenitz@gmx.net>
7264
7265         * kb_sequence.C: remove unnedred usings
7266
7267 2002-07-26  Juergen Vigna  <jug@sad.it>
7268
7269         * lyxfind.C (LyXReplace): we have to check better if the returned
7270         text is not of theLockingInset()->getLockingInset().
7271
7272 2002-07-25  Juergen Vigna  <jug@sad.it>
7273
7274         * lyxfind.C (LyXReplace): don't replace if we don't get the
7275         right LyXText.
7276
7277         * undo_funcs.C (createUndo): remove debugging code.
7278
7279 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7280
7281         * buffer.C (parseSingleLyXformat2Token): Use default placement
7282         when reading old floats.
7283
7284         * FloatList.C (FloatList): Change the default placement of figure
7285         and tables to "tbp".
7286
7287 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7288
7289         * MenuBackend.C: using std::max
7290
7291 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7292
7293         * MenuBackend.C (expandToc):
7294         (expandToc2): code moved from xforms menu frontend. It is now
7295         generic and TOCs are transparent to menu frontends.
7296
7297 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7298
7299         * toc.C (getTocList): protect against buf=0
7300
7301         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7302         Menu as first parameter. Now, this calls itself recursively to
7303         expand a whole tree (this will be useful for TOC handling)
7304         (expandFloatInsert): remove 'wide' version of floats
7305
7306         * MenuBackend.h (submenuname): returns the name of the submenu.
7307         (submenu): returns the submenu itself, provided it has been
7308         created by MenuBackend::expand
7309
7310 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7311
7312         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7313         insets which have noFontChange == true. (bug #172)
7314
7315 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7316
7317         * BufferView_pimpl.C: add connection objects and use them...
7318         (Pimpl): here.
7319
7320 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7321
7322         * MenuBackend.C (expandLastfiles):
7323         (expandDocuments):
7324         (expandFormats):
7325         (expandFloatListInsert):
7326         (expandFloatInsert):
7327         (expand): split expand in parts
7328
7329 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7330
7331         * lyx_gui.C: use lyx_gui::exit()
7332
7333 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7334
7335         * LyXAction.C: show the failing pseudo action
7336
7337 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7338
7339         * buffer.C (readFile): Run the lyxconvert script in order to read
7340         old files.
7341
7342 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7343
7344         * LyXAction.C:
7345         * commandtags.h:
7346         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7347
7348 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7349
7350         * LyXAction.C:
7351         * commandtags.h:
7352         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7353
7354 2002-07-22  Herbert Voss  <voss@lyx.org>
7355
7356         * lengthcommon.C:
7357         * lyxlength.[Ch]: add support for the vertical lengths
7358
7359 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * toc.[Ch]: std:: fixes
7362
7363 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7364
7365         * lyxrc.C: do not include lyx_main.h
7366
7367         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7368         for layouts
7369
7370         * lyxrc.C:
7371         * encoding.C:
7372         * bufferlist.C:
7373         * BufferView2.C: include "lyxlex.h"
7374
7375         * tabular.h:
7376         * bufferparams.h: do not #include "lyxlex.h"
7377
7378         * lyxtextclasslist.C (Add): remove method
7379         (classlist): renamed to classlist_
7380
7381         * paragraph_pimpl.C:
7382         * paragraph.C:
7383         * text2.C:
7384         * CutAndPaste.C:
7385         * bufferview_funcs.C:
7386         * bufferlist.C:
7387         * text.C:
7388         * LaTeXFeatures.C:
7389         * buffer.C:
7390         * toc.C (getTocList): use BufferParams::getLyXTextClass
7391
7392         * toc.C (getTocList): use InsetFloat::addToToc
7393
7394         * toc.[Ch]: new files, containing helper functions to handle table
7395         of contents
7396
7397         * lyxfunc.C (dispatch): no need to remove spaces around command
7398         given as a string
7399         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7400         first command of the sequence; it is not very clever, but I do not
7401         have a better idea, actually
7402
7403         * LyXAction.C (LookupFunc): make sure to remove space at the
7404         beginning and end of the command
7405
7406 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7407
7408         * MenuBackend.C (getMenubar): new method: return the menubar of
7409         this menu set
7410         (read): treat differently reading of menu and menubar (in
7411         particular, the menubar has no name now)
7412         (Menu::menubar): remove
7413
7414         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7415         saving is finished
7416
7417 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7418
7419         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7420         a bibitem inset in a RTL paragraph.
7421
7422 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7423
7424         * paragraph_pimpl.C: constify
7425
7426         * BufferView_pimpl.C:
7427         * LaTeX.C:
7428         * lyxfunc.C: fix dispatch in a nicer way
7429
7430 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7431
7432         * lyxfunc.C (dispatch):
7433         * BufferView_pimpl.C:
7434         * BufferView_pimpl.h:
7435         * BufferView.C:
7436         * BufferView.h: rename Dispatch() to dispatch()
7437
7438         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7439
7440         * lyxlayout.C (Read): honor DependsOn tag
7441
7442         * lyxlayout.[Ch] (depends_on): new method
7443
7444         * version.C.in: update lyx_docversion
7445
7446         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7447
7448         * paragraph.C (validate): remove from here...
7449         * paragraph_pimpl.C (validate): ... and move here
7450         (isTextAt): make it const
7451
7452         * buffer.C (getLists): ws cleanup
7453
7454 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7455
7456         * language.C (read): Use iso8859-1 encoding in latex_lang
7457         (this prevents LyX from crashing when using iso10646-1 encoding).
7458
7459 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7460
7461         * text2.C (toggleInset): if cursor is inside an inset, close the
7462         inset and leave cursor _after_ it
7463
7464 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7465
7466         * lyxfunc.C: move minibuffer completion handling out of here
7467
7468 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7469
7470         * BufferView_pimpl.C:
7471         * LaTeX.C: fix dispatch calls
7472
7473 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7474
7475         * text.C (drawChars): Fix Arabic text rendering.
7476
7477 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7478
7479         * LyXAction.C:
7480         * commandtags.h:
7481         * lyxfunc.C: remove message-push/pop
7482
7483         * lyxserver.C:
7484         * lyxfunc.h:
7485         * lyxfunc.C: rationalise some code by removing verboseDispatch
7486           in favour of a bool argument to dispatch()
7487
7488 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7489
7490         * lyx_main.C (init): make sure to read symlinks as absolute paths
7491
7492 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7493
7494         * lyxfunc.h:
7495         * lyxfunc.C: no need for commandshortcut to be a member
7496
7497 2002-07-15  André Pönitz <poenitz@gmx.net>
7498
7499         * converter.C: add support for $$s (scripts from lib/scripts dir)
7500         * lyx_main.C: white space
7501
7502 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7503
7504         * bufferlist.C:
7505         * lyxrc.h:
7506         * lyxrc.C: remove second exit confirmation
7507
7508 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7509
7510         * BufferView.h:
7511         * BufferView.C:
7512         * BufferView2.C:
7513         * BufferView_pimpl.h:
7514         * BufferView_pimpl.C:
7515         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7516
7517 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7518
7519         * MenuBackend.C (expand): add numeric shortcuts to document menu
7520
7521         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7522
7523 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7524
7525         * lyxfont.C (setLyXFamily):
7526         (setLyXSeries):
7527         (setLyXShape):
7528         (setLyXSize):
7529         (setLyXMisc):
7530         (lyxRead):
7531         * debug.C (value):
7532         * buffer.C (asciiParagraph): use ascii_lowercase
7533
7534 2002-07-15  Mike Fabian  <mfabian@suse.de>
7535
7536         * lyxlex_pimpl.C (search_kw):
7537         * lyxlex.C (getLongString):
7538         * converter.h (operator<):
7539         * converter.C (operator<):
7540         * buffer.C (parseSingleLyXformat2Token):
7541         (asciiParagraph):
7542         * ToolbarDefaults.C (read):
7543         * MenuBackend.C (checkShortcuts):
7544         (read):
7545         * LColor.C (getFromGUIName):
7546         (getFromLyXName): use the compare_ascii_no_case instead of
7547         compare_no_case, because in turkish, 'i' is not the lowercase
7548         version of 'I', and thus turkish locale breaks parsing of tags.
7549
7550 2002-07-16  Angus Leeming  <leeming@lyx.org>
7551
7552         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7553         now takes a Buffer const & argument.
7554
7555 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7556
7557         * BufferView.C (resize): check there's a buffer to resize
7558
7559 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7560
7561         * lyxfunc.C: remove dead code
7562
7563         * lyxserver.h:
7564         * lyxserver.C: use lyx_guii::set_read_callback
7565
7566 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7567
7568         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7569         an inset in a RTL paragraph.
7570
7571 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7572
7573         * lyxfunc.C: repaint after a font size update
7574
7575 2002-07-15  André Pönitz <poenitz@gmx.net>
7576
7577         * lyxlength.C: inBP should be able to return negative values
7578
7579 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * lyxfunc.C: use lyx_gui::update_fonts()
7582
7583 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7584
7585         * lyxfunc.C: use lyx_gui::update_color()
7586
7587 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7588
7589         * bufferlist.C:
7590         * lyxfunc.h:
7591         * lyxfunc.C:
7592         * lyxrc.h:
7593         * lyxrc.C: remove file->new asks for name option, and let
7594           buffer-new take an argument
7595
7596 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7597
7598         * BufferView_pimpl.C: remove unneeded extra repaint()
7599
7600 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * LyXAction.C: allow command-sequence with NoBuffer
7603
7604         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7605
7606 2002-07-10  Angus Leeming  <leeming@lyx.org>
7607
7608         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7609
7610 2002-07-09  Angus Leeming  <leeming@lyx.org>
7611
7612         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7613
7614 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7615
7616         * lengthcommon.h: whitespace
7617
7618         * lyxfunc.C: update scrollbar after goto paragraph
7619
7620         * lyxtext.h: factor out page break drawing, and fix it so
7621           page break/added space paints as selected nicely
7622
7623 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7624
7625         * BufferView_pimpl.C: add FIXMEs, clean up a little
7626
7627 2002-07-09  André Pönitz <poenitz@gmx.net>
7628
7629         * lyxfont.[Ch]: support for wasy symbols
7630
7631 2002-07-08  André Pönitz <poenitz@gmx.net>
7632
7633         * BufferView_pimpl.C: apply John's patch for #93.
7634
7635 2002-07-05  Angus Leeming  <leeming@lyx.org>
7636
7637         * BufferView_pimpl.C (buffer): generate previews if desired.
7638
7639         * LColor.h: add "preview" to the color enum.
7640
7641         * LColor.C (LColor): add a corresponding entry to the items array.
7642
7643         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7644         with this buffer.
7645
7646 2002-07-05  Angus Leeming  <leeming@lyx.org>
7647
7648         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7649         The body of the code is now in the method that is passed an ostream &
7650         rather than a file name.
7651         Pass an additional only_preamble parameter, useful for the forthcoming
7652         preview stuff.
7653
7654 2002-07-03  André Pönitz <poenitz@gmx.net>
7655
7656         * lyxfunc.C: simplify getStatus() a bit for math stuff
7657
7658 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7659
7660         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7661
7662 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7663
7664         * text.C (changeRegionCase): do not change case of all the
7665         document when region ends at paragraph end (bug #461)
7666
7667 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7668
7669         * paragraph.C (startTeXParParams):
7670         (endTeXParParams): add \protect when necessary
7671
7672 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7673
7674         * BufferView_pimpl.C (workAreaExpose): remove warning
7675
7676 2002-06-27  Angus Leeming  <leeming@lyx.org>
7677
7678         * Makefile.am: add lyxlayout_ptr_fwd.h.
7679
7680 2002-06-26  André Pönitz <poenitz@gmx.net>
7681
7682         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7683
7684 2002-06-25  Angus Leeming  <leeming@lyx.org>
7685
7686         * lyxfunc.C (dispatch): Comment out the call to
7687         grfx::GCache::changeDisplay. The method no longer exists now that the
7688         pixmap generation part of the graphics loader has been moved into
7689         InsetGraphics.
7690
7691 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7692
7693         * text2.C: layout as layout
7694
7695         * text.C: layout as layout
7696
7697         * tabular.C (OldFormatRead): layout as layout
7698
7699         * paragraph_pimpl.C (TeXDeeper): layout as layout
7700         (realizeFont): layout as layout
7701
7702         * paragraph.C (writeFile): layout as layout
7703         (validate): layout as layout
7704         (getFont): layout as layout
7705         (getLabelFont): layout as layout
7706         (getLayoutFont): layout as layout
7707         (breakParagraph): layout as layout
7708         (stripLeadingSpaces): layout as layout
7709         (getEndLabel): layout as layout
7710         (getMaxDepthAfter): layout as layout
7711         (applyLayout): layout as layout
7712         (TeXOnePar): layout as layout
7713         (simpleTeXOnePar): layout as layout
7714         (TeXEnvironment): layout as layout
7715         (layout): layout as layout
7716         (layout): layout as layout
7717
7718         * lyxtextclass.C (compare_name): new functor to work with
7719         shared_ptr, layout as layout
7720         (Read): layout as layout
7721         (hasLayout): layout as layout
7722         (operator): layout as layout
7723         (delete_layout): layout as layout
7724         (defaultLayout): layout as layout
7725
7726         * lyxlayout_ptr_fwd.h: new file
7727
7728         * lyxlayout.C (Read): layout as layout
7729
7730         * lyx_cb.C (MenuInsertLabel): layout as layout
7731
7732         * bufferlist.C (newFile): layout as layout
7733
7734         * buffer.C (readLyXformat2): layout as layout
7735         (parseSingleLyXformat2Token): layout as layout
7736         (insertStringAsLines): layout as layout
7737         (asciiParagraph): layout as layout
7738         (latexParagraphs): layout as layout
7739         (makeLinuxDocFile): layout as layout
7740         (simpleLinuxDocOnePar): layout as layout
7741         (makeDocBookFile): layout as layout
7742         (simpleDocBookOnePar): layout as layout
7743         (getLists): layout as layout
7744
7745         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7746
7747         * CutAndPaste.C (cutSelection): layout as layout
7748         (pasteSelection): layout as layout
7749         (SwitchLayoutsBetweenClasses): layout as layout
7750
7751         * BufferView_pimpl.C (Dispatch): layout as layout
7752         (smartQuote): layout as layout
7753
7754         * BufferView2.C (unlockInset): layout as layout
7755
7756 2002-06-24  André Pönitz <poenitz@gmx.net>
7757
7758         * lyxfunc.C: fix #487
7759
7760 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7761
7762         * lyxrc.h:
7763         * lyxrc.C:
7764         * lyxfunc.C: remove display_shortcuts, show_banner
7765
7766 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7767
7768         * Buffer_pimpl.C: oops, update on resize
7769
7770 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7771
7772         * buffer.C:
7773         * converter.C:
7774         * exporter.C:
7775         * lyxfunc.C:
7776         * BufferView.h:
7777         * BufferView.C: use repaint()
7778
7779         * BufferView_pimpl.h:
7780         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7781           as it's a clearer description. Remove superfluous
7782           redraws.
7783
7784 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7785
7786         * text.C: fix bug 488. Not ideal, but getting
7787           getWord() to work properly for the insets that
7788           matter is more difficult ...
7789
7790 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7791
7792         * BufferView_pimpl.C:
7793         * LyXAction.C:
7794         * commandtags.h:
7795         * lyxfunc.C: remove the six million index lyxfuncs to just
7796           one, and DTRT (bug 458)
7797
7798 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7799
7800         * BufferView.h:
7801         * BufferView.C:
7802         * BufferView_pimpl.h:
7803         * BufferView_pimpl.C: clean up resize() stuff,
7804           and unnecessary updateScreen()s
7805
7806 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7807
7808         * BufferView.h:
7809         * BufferView.C:
7810         * BufferView_pimpl.h:
7811         * BufferView_pimpl.C:
7812         * lyxfind.h:
7813         * lyxfind.C:
7814         * minibuffer.C: remove focus management of workarea,
7815           not needed. Use screen's greyOut()
7816
7817 2002-06-17  Herbert Voss  <voss@lyx.org>
7818
7819         * converter.C: (convert) do not post a message, when converting
7820         fails, let the calling function decide what to do in this case
7821
7822 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7823
7824         * lyxfunc.C: tidy up a little
7825
7826 2002-06-16    <alstrup@diku.dk>
7827
7828         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7829         Got rid of FORMS_H_LOCATION include. Now we are
7830         GUII.
7831
7832 2002-06-15  LyX Development team  <lyx@rilke>
7833
7834         * buffer.[Ch] (sgmlOpenTag):
7835         (sgmlCloseTag): Added support for avoiding pernicious mixed
7836         content. Return number of lines written.
7837
7838         (makeLinuxDocFile):
7839         (makeDocBookFile): Fixed calls to sgml*Tag.
7840         Simple white space clean.
7841
7842         (simpleDocBookOnePar): Simple white space clean.
7843
7844         * tabular.[Ch] (docBook): Renamed to docbook and got another
7845         argument to related with the pernicious mixed content.
7846
7847         (docbookRow): Fixed calls for docbook inset method.
7848
7849 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7850
7851         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7852         so it's X11 independent.
7853
7854         * kb*.[Ch]: ditto.
7855
7856         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7857
7858 2002-06-15  Lyx Development team  <lyx@electronia>
7859
7860         * intl.h: Renamed getTrans to getTransManager.
7861
7862 2002-06-14  Angus Leeming  <leeming@lyx.org>
7863
7864         * Makefile.am: nuke forgotten stl_string_fwd.h.
7865
7866 2002-06-12  Angus Leeming  <leeming@lyx.org>
7867
7868         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7869
7870 2002-06-13  Angus Leeming  <leeming@lyx.org>
7871
7872         * LaTeX.C:
7873         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7874
7875 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7876
7877         * kbmap.C (getiso): add support for cyrillic and greek
7878
7879 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7880
7881         * BufferView.h:
7882         * BufferView.C:
7883         * BufferView_pimpl.h:
7884         * BufferView_pimpl.C: move bogus scrolling logic
7885           to xforms
7886
7887 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7888
7889         * lyxfunc.C:
7890         * BufferView_pimpl.C: view->resize() change
7891
7892 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7893
7894         * BufferView_pimpl.C: topCursorVisible
7895           prototype change
7896
7897 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7898
7899         * Makefile.am:
7900         * lyx_gui.h:
7901         * lyx_gui.C: move to frontends/
7902
7903         * main.C:
7904         * lyx_main.h:
7905         * lyx_main.C: changes from above
7906
7907 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7908
7909         * intl.C:
7910         * intl.h:
7911         * kbmap.C:
7912         * kbsequence.C:
7913         * lyx_cb.C:
7914         * lyx_main.C: minor tidy
7915
7916 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7917
7918         * BufferView_pimpl.h:
7919         * BufferView_pimpl.C:
7920         * BufferView.h:
7921         * BufferView.C: make painter() const,
7922           remove dead code
7923
7924         * BufferView2.C: use screen() accessor
7925
7926         * lyx_main.h:
7927         * lyx_main.C: some minor cleanup
7928
7929 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * BufferView_pimpl.h:
7932         * BufferView_pimpl.C: remove enter/leaveView,
7933           use workHeight()
7934
7935 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7936
7937         * BufferView.h:
7938         * BufferView.C:
7939         * BufferView2.C:
7940         * BufferView_pimpl.h:
7941         * BufferView_pimpl.C: only construct screen once,
7942           rename
7943
7944         * lyxrc.C: remove pointless comment
7945
7946 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7947
7948         * BufferView.h:
7949         * BufferView.C: remove active() and belowMouse()
7950
7951         * BufferView_pimpl.h:
7952         * BufferView_pimpl.C: use workarea() not workarea_,
7953           and make it use a scoped_ptr instead
7954
7955 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7956
7957         * lyx_gui.C: add debug message on BadWindow
7958
7959 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7960
7961         * sp_spell.C: fdopen is not part of the C++ standard.
7962
7963         * paragraph.C (InsetIterator): use >= instead of ==
7964
7965 2002-06-07  Angus Leeming  <leeming@lyx.org>
7966
7967         Fixes needed to compile with Compaq cxx 6.5.
7968         * BufferView_pimpl.C:
7969         * DepTable.C:
7970         * buffer.C:
7971         * converter.C:
7972         * encoding.C:
7973         * lyx_gui.C:
7974         * lyx_main.C:
7975         * lyxtextclasslist.C:
7976         * minibuffer.C:
7977         * sp_spell.C:
7978         * tabular_funcs.C:
7979         * vc-backend.C:
7980         all c-library variables have been moved into namespace std. Wrap
7981         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7982
7983         * lyxlength.C:
7984         * tabular-old.C:
7985         * tabular.C:
7986         Add a using std::abs declaration.
7987
7988         * kbmap.h (modifier_pair):
7989         * paragraph.h (InsetTable, InsetList):
7990         * lyxfont.h (FontBits):
7991         type definition made public.
7992
7993         * bufferlist.C (emergencyWriteAll): the compiler complains that
7994         there is more than one possible lyx::class_fun template to choose from.
7995         I re-named the void specialisation as lyx::void_class_fun.
7996
7997         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7998
7999         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8000         the compiler is is unable to find tostr in write_attribute.
8001
8002 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8003
8004         * buffer.C (sgmlError): hide #warning
8005
8006 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8007
8008         * xtl/*: get rid of xtl, which is not in use anyway
8009
8010         * LyXAction.C (init):
8011         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8012         were unimplemented xtl experimentation
8013
8014 2002-06-04  André Pönitz <poenitz@gmx.net>
8015
8016         * lyxfunc.C: disable array operation on simple formulae
8017
8018 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8019
8020         * converter.C: constify a bit
8021
8022 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8023
8024         * lyx_gui.C: check xforms version correctly
8025
8026 2002-04-30  Herbert Voss  <voss@lyx.org>
8027
8028         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8029         "keep" option
8030
8031 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8032
8033         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8034           attempt to register it with a VCS)
8035
8036 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8037
8038         * lyx_main.C (init): honor variables LYX_DIR_13x and
8039         LYX_USERDIR_13x
8040
8041 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8042
8043         * buffer.h:
8044         * buffer.C:
8045         * lyx_main.C: fix a crash on bad command line,
8046           and give a useful exit status on error
8047
8048         * lyxfunc.C (doImport): allow -i lyx to work
8049
8050 2002-03-30  André Pönitz <poenitz@gmx.net>
8051
8052         * lyxfunc.C: mathed font changes
8053
8054 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8055
8056         * LaTeX.C:
8057         * importer.h:
8058         * importer.C:
8059         * lyx_sty.h:
8060         * lyx_sty.C:
8061         * lyxlex.C:
8062         * lyxrow.h:
8063         * lyxtext.h:
8064         * paragraph.h:
8065         * paragraph.C:
8066         * texrow.h:
8067         * texrow.C:
8068         * text.C:
8069         * trans_mgr.h: srcdocs, and some minor cleanups
8070
8071 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8072
8073         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8074         call getFont all the time)
8075
8076 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8077
8078         * switch from SigC signals to boost::signals
8079
8080 2002-05-29  André Pönitz <poenitz@gmx.net>
8081
8082         * paragraph_pimpl.C (getChar): don't call size() too often...
8083
8084 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8085
8086         * paragraph_pimpl.C (insertChar): do not try to update tables when
8087         appending (pos == size())
8088
8089         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8090         in order to reduce drastically the number of comparisons needed to
8091         parse a large document
8092
8093 2002-05-29  André Pönitz <poenitz@gmx.net>
8094
8095         * text.C:
8096         * text2.C:
8097         * lyxtextclass.C:
8098         * sp_pspell.h:
8099         * textclasslist.[Ch]:
8100         * sp_ispell.h: whitespace change
8101
8102 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8103
8104         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8105         lyxaction directly now.
8106
8107 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8108
8109         * trans.C:
8110         * lyxfont.C:
8111         * lyxvc.C: remove unused headers
8112
8113 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8114
8115         * Makefile.am:
8116         * buffer.h:
8117         * undostack.h:
8118         * undostack.C:
8119         * undo_funcs.h:
8120         * undo_funcs.C: some cleanups. Use shared_ptr
8121           and a template for the undo stacks.
8122
8123 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8124
8125         * BufferView_pimpl.h:
8126         * BufferView_pimpl.C:
8127         * kbmap.h:
8128         * kbmap.C:
8129         * kbsequence.h:
8130         * kbsequence.C:
8131         * lyxfunc.h:
8132         * lyxfunc.C:
8133         * text2.C: use key_state/mouse_state
8134
8135 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8136
8137         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8138         and LSubstring
8139
8140         * chset.C: change include order
8141         (loadFile): use boost regex and get rid of LRegex and LSubstring
8142
8143         * Makefile.am (BOOST_LIBS): new variable
8144         (lyx_LDADD): use it
8145
8146         * LaTeX.C: change include order.
8147         (scanAuxFile): use boost regex and get rid of LRegex and
8148         LSubstring
8149         (deplog): ditto
8150
8151 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8152
8153         * ColorHandler.h:
8154         * ColorHandler.C:
8155         * FontInfo.h:
8156         * FontInfo.C: moved to frontends/xforms/
8157
8158         * FontLoader.h:
8159         * FontLoader.C: moved into frontends for GUIIzation
8160
8161         * Makefile.am:
8162         * lyx_gui.C:
8163         * lyxfont.C:
8164         * lyxfunc.C: changes from above
8165
8166 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8167
8168         * LColor.C: remove spurious X include
8169
8170         * BufferView_pimpl.C:
8171         * Makefile.am:
8172         * font.h:
8173         * font.C:
8174         * text.C:
8175         * text2.C: move font metrics to frontends/
8176
8177 2002-05-24  Juergen Vigna  <jug@sad.it>
8178
8179         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8180         setting the undo_cursor.
8181
8182         * ParagraphParameters.h: include local includes first.
8183
8184 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8185
8186         * BufferView_pimpl.C:
8187         * BufferView_pimpl.h:
8188         * Makefile.am:
8189         * WorkArea.h:
8190         * WorkArea.C:
8191         * screen.C: move WorkArea into frontends/
8192
8193         * lyxscreen.h:
8194         * screen.C:
8195         * text.C:
8196         * BufferView.C:
8197         * BufferView2.C: move LyXScreen into frontends/
8198
8199         * lyxlookup.h:
8200         * lyxlookup.C:
8201         * lyx_gui.C: move lyxlookup into frontends/xforms/
8202
8203 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8204
8205         * BufferView2.C:
8206         * BufferView_pimpl.C:
8207         * FontLoader.C:
8208         * LyXView.h:
8209         * LyXView.C:
8210         * Makefile.am:
8211         * WorkArea.C:
8212         * XFormsView.h:
8213         * XFormsView.C:
8214         * buffer.C:
8215         * bufferlist.C:
8216         * bufferview_funcs.C:
8217         * converter.C:
8218         * importer.C:
8219         * lyx_cb.C:
8220         * lyx_gui.C:
8221         * lyx_main.C:
8222         * lyx_find.C:
8223         * lyxfunc.C:
8224         * lyxvc.C:
8225         * minibuffer.C:
8226         * text.C:
8227         * text2.C:
8228         * trans.C:
8229         * vc-backend.C: move LyX/XFormsView into frontends/
8230
8231 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8232
8233         * Makefile.am:
8234         * PainterBase.C:
8235         * PainterBase.h:
8236         * Painter.C:
8237         * Painter.h:
8238         * WorkArea.C:
8239         * WorkArea.h:
8240         * screen.C:
8241         * tabular.C:
8242         * text.C:
8243         * text2.C: move Painter to frontends/
8244
8245 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8246
8247         * buffer.C: comment out some some code that depend upon lyx_format
8248         < 220
8249
8250         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8251         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8252
8253         * buffer.h (NO_COMPABILITY): turn off compability
8254
8255         * ColorHandler.C: include scoped_array.hpp
8256
8257         * font.C: Use more specific smart_ptr header.
8258         * Painter.C: ditto
8259         * gettext.C: ditto
8260         * ShareContainer.h: ditto
8261         * lyx_main.h: ditto
8262         * kbmap.h: ditto
8263         * FontInfo.h: ditto
8264         * BufferView_pimpl.h: ditto
8265         * ColorHandler.h: ditto
8266
8267         * kbmap.C (defkey): change call to shared_ptr::reset
8268
8269 2002-05-21  Juergen Vigna  <jug@sad.it>
8270
8271         * buffer.C (insertErtContents): fix to insert ert asis if it is
8272         non empty. Skip it completely if it contains only whitespaces.
8273
8274 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8275
8276         * BufferView_pimpl.C:
8277         * BufferView2.C: clear selection on paste (bug 393)
8278
8279 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * DepTable.C: include ctime
8282
8283 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8284
8285         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8286
8287 2002-05-14  Juergen Vigna  <jug@sad.it>
8288
8289         * text.C (breakParagraph): fixed function to honor the keepempty
8290         layout in the right maner and also to permit the right breaking
8291         algorithm on empty or non empyt keepempty paragraphs.
8292
8293         * paragraph.C (breakParagraph): we have to check also if the par
8294         is really empty (!size()) for isempty otherwise we do the wrong
8295         paragraph break.
8296
8297 2002-05-10  Juergen Vigna  <jug@sad.it>
8298
8299         * buffer.[Ch] : The following are only changes to the ert
8300         compatibility read reading old LaTeX layout and font stuff and
8301         convert it to ERTInsets.
8302
8303         * buffer.h: added isErtInset().
8304
8305         * buffer.C (struct ErtComp): add a fromlayout bool to check
8306         if we're inside a LaTeX layout.
8307         (isErtInset): new helper function.
8308         (insertErtContents): look for other ert insets before this one
8309         and insert the contents there, so that we don't have subsequent
8310         ERT insets with nothing between them. This way we create only one
8311         inset with multiple paragraphs. Also check if we don't insert only
8312         spaces ' ' as they are ignored anyway afterwards in the .tex file
8313         so if we have only spaces we will ignore this latex part in the
8314         new file.
8315         (parseSingleLyXformat2Token \\layout): better compatibility when
8316         reading layout-latex stuff.
8317         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8318         language tag.
8319         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8320         stuff after reading the inset only get the information back from
8321         the stack.
8322
8323 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8324
8325         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8326
8327         * LaTeXFeatures.C (getBabelOptions): New method.
8328
8329 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8330
8331         * BufferView_pimpl.C (Dispatch): work around missing argument for
8332         'layout'
8333
8334 2002-05-08  Juergen Vigna  <jug@sad.it>
8335
8336         * text.C (leftMargin): handle paragraph leftindent.
8337
8338         * paragraph.C (writeFile): write the new \\leftindent tag.
8339         (validate): handle leftindent code.
8340         (TeXEnvironment): handle paragraphleftindent code again.
8341
8342         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8343
8344         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8345         for paragrap_extra indent code and new token \\leftindent.
8346         (latexParagraphs): handle the leftindent as environment.
8347
8348         * ParameterStruct.h: added leftindent support.
8349
8350         * ParagraphParameters.C (leftIndent): added support functions for
8351         the paragraph left indent.
8352
8353         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8354         more appropriate.
8355
8356 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8357
8358         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8359         inside insetERT.
8360
8361         * text.C (computeBidiTables): No bidi in insetERT.
8362
8363         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8364         in RTL documents.
8365
8366 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8367
8368         * version.C.in: pre 5
8369
8370 2002-05-02  José Matos  <jamatos@fep.up.pt>
8371         * buffer.C (makeDocBookFile): white space changes, add newline to
8372         command styles.
8373         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8374
8375         * tabular.C (docBook): fix typo.
8376
8377 2002-05-03  Juergen Vigna  <jug@sad.it>
8378
8379         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8380         change in LyXText as we can not be sure it was not freed.
8381         (drawOneRow): remove unused code.
8382
8383         * text.C (drawInset): redo the calculation of the need_break_row as
8384         it could have a row which was already freed.
8385         (draw): look at the return value of drawInset and return false if
8386         it also returned false.
8387         (paintRowText): look at the return value of draw and return false if
8388         it also returned false.
8389
8390         * lyxtext.h: added bool return type to drawInset() and draw() so that
8391         if we have a change in the row so that the rowbreak has to be redone
8392         we abort drawing as it will be called again.
8393
8394 2002-05-02  Juergen Vigna  <jug@sad.it>
8395
8396         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8397         a change in the maintext also if we're inside an inset.
8398         (Dispatch): set the cursor again after a break line and after the
8399         screen has been updated as it could be we're in a different row.
8400
8401         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8402         to set the cursor behind the pargraph with > size().
8403         (setCursor): check also for the same paragraph when checking where
8404         to put the cursor if we have a NFR inset.
8405
8406         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8407         parts of layout read further up as it still was in the wrong
8408         position.
8409
8410 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8411
8412         * screen.C (drawFromTo): change sine fullRebreak always return
8413         true.
8414
8415         * buffer.C (parseSingleLyXformat2Token): reindent some
8416
8417         * BufferView_pimpl.C (update): change since fullRebreak always
8418         return true.
8419         (Dispatch): git rid of the last hardcoded "Standard"s.
8420
8421 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8422
8423         * text2.[Ch] (fullRebreak): make it return void now that we always
8424         returned true.
8425
8426 2002-04-30  Juergen Vigna  <jug@sad.it>
8427
8428         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8429         ert compatibility check for "latex" layout.
8430
8431 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8432
8433         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8434         minipages: use col% instead of p%, and also use the current font.
8435         (makeLaTeXFile): Fix use babel condition.
8436         (parseSingleLyXformat2Token): Correct font when reading old floats.
8437
8438 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8439
8440         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8441         inserting list of floats.
8442
8443 2002-04-25  Herbert Voss  <voss@lyx.org>
8444
8445         * MenuBackend.C (expand): don't add the graphics extensions to the
8446         export menu
8447
8448 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8449
8450         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8451         non-existing layout, do not complain if it was the default layout
8452         of the original class (bug #342)
8453
8454 2002-04-24  Juergen Vigna  <jug@sad.it>
8455
8456         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8457         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8458
8459 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8460
8461         * buffer.C (getBibkeyList): If using \bibliography, return the
8462         option field with the reference itself. Enables us to provide natbib
8463         support when using \bibliography.
8464
8465 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8466
8467         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8468
8469         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8470         natbib is provided by the LaTeX class.
8471
8472 2002-04-23  Juergen Vigna  <jug@sad.it>
8473
8474         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8475         Wakeup functions.
8476
8477         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8478
8479 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8480
8481         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8482
8483         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8484         ensuremath around textordmasculine, textordfeminine and
8485         textdegree.
8486
8487 2002-04-19  Juergen Vigna  <jug@sad.it>
8488
8489         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8490         reinitializing the buffer otherwise row-dimensions may be wrong.
8491         (update): reset also the selection cursors if they do exits otherwise
8492         their x/y positions may be wrong.
8493
8494         * text2.C (cursorDown): don't enter the inset if we came from a row
8495         above and are one row over the inset.
8496
8497         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8498         really leaving an inset.
8499
8500 2002-04-18  Juergen Vigna  <jug@sad.it>
8501
8502         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8503         of the selected paragraph does not have the selected layout also if
8504         the last one had!
8505
8506         * text2.C (setLayout): fixed bug which did not change last selected
8507         paragraph.
8508
8509         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8510         changed the read and substituted \\end_float with \\end_inset!
8511
8512         * BufferView_pimpl.C (cursorPrevious):
8513         (cursorNext): fixed to make it work with rows heigher than the work
8514         area without moving the cursor only the draw of the row.
8515         (workAreaMotionNotify): fix jumping over high rows.
8516
8517 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8518
8519         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8520         Ressler.
8521
8522 2002-04-16  Juergen Vigna  <jug@sad.it>
8523
8524         * text2.C (setCursor): set also the irow().
8525         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8526         (cursorUp):
8527         (cursorDown): support for locking an inset if the x_fix value goes
8528         inside it. That way I can transverse insets too with cursor up/down.
8529
8530         * lyxrow.h: added irow helper function same as other (i) functions.
8531
8532         * BufferView_pimpl.C (cursorPrevious):
8533         (cursorNext): fixed for insets!
8534
8535 2002-04-15  Juergen Vigna  <jug@sad.it>
8536
8537         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8538         position otherwise it is wrong in some cases.
8539
8540         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8541         inside the inset before the call.
8542
8543 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8544
8545         * buffer.[Ch] (getBibkeyList): make it const.
8546
8547 2002-04-12  Juergen Vigna  <jug@sad.it>
8548
8549         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8550
8551         * text2.C (getCursorX): new helper function
8552         (setCursor): compute also ix_
8553         (setCursorFromCoordinates): set also ix.
8554
8555         * lyxcursor.h: added ix_ and helper functions.
8556
8557         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8558
8559         * buffer.C (insertStringAsLines): dont break paragraph if the this
8560         paragraph is inside an inset which does not permit it!
8561
8562         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8563         also with no chars on this paragraph.
8564         (paintRowText): only paint stuff if it's inside the workarea!
8565
8566         * paragraph.C (breakParagraph): honor keepempty flag and break the
8567         paragraph always below not above.
8568
8569         * BufferView2.C (unlockInset): update the paragraph layout on inset
8570         unlock as we changed paragraph in such a case.
8571
8572         * lyxfind.C (LyXFind): clear the former selection if not found!
8573
8574         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8575         again called in insertChar().
8576
8577         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8578         an inset which uses the whole row!
8579         (rightMargin): ditto.
8580         (insertChar): force a rebreak if we inserted an inset!
8581
8582 2002-03-28  Herbert Voss  <voss@lyx.org>
8583
8584         * lyxlength.[Ch]: add inBP() to get the right PS-point
8585         units (BigPoint). With inPixels we have rounding errors
8586
8587 2002-04-11  Juergen Vigna  <jug@sad.it>
8588
8589         * text2.C (setCursorFromCoordinates): set iy to the right value.
8590         (setCursor): add check if row->previous exists!
8591
8592         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8593         an old float_type as this was the case in the old code!
8594
8595         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8596
8597         * BufferView2.C (showLockedInsetCursor): use iy
8598         (fitLockedInsetCursor): ditto
8599
8600         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8601         locked insets as there we have the right value now.
8602
8603         * lyxcursor.C: added iy_ variable and iy functions to set to the
8604         baseline of cursor-y of the locked inset.
8605
8606         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8607         (setCursor): fixed for insets which need a full row.
8608
8609         * text.C (rowLastPrintable): don't ignore the last space when before
8610         an inset which needs a full row.
8611         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8612         as last character of a row when before a inset which needs a full row.
8613
8614 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8615
8616         * version.C.in: update date
8617
8618         * text2.C (fullRebreak): try to always return true and see what
8619         happens...
8620
8621 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8622
8623         * MenuBackend.C (expand): use Floating::listName
8624
8625         * FloatList.C (FloatList): add listName argument to the built-in
8626         floats
8627
8628         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8629         text associated with the float.
8630
8631 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8632
8633         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8634
8635 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8636
8637         * ShareContainer.h: add a couple of missing typenames.
8638
8639 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8640
8641         * lyxrc.C (getDescription): use _() correctly rather than N_().
8642
8643 2002-03-28  Herbert Voss  <voss@lyx.org>
8644
8645         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8646         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8647
8648 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8651         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8652
8653 2002-03-29  Juergen Vigna  <jug@sad.it>
8654
8655         * lyxfunc.C (dispatch): add a missing fitCursor call.
8656
8657         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8658         it was scrolled by a cursor move, so return the bool status.
8659
8660         * BufferView.C (fitCursor): return the bool flag also to the outside
8661         world as this is needed.
8662
8663         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8664
8665         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8666         call the edit() as it is not needed (and wrong) IMO.
8667         (workAreaButtonPress): set the screen_first variable before evt.
8668         unlock the inset as this may change screen_first and then we have
8669         a wrong y position for the click!
8670
8671 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8672
8673         * MenuBackend.C (expand): another translation that I missed
8674
8675 2002-03-28  Juergen Vigna  <jug@sad.it>
8676
8677         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8678
8679         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8680
8681 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8682
8683         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8684
8685         * MenuBackend.C (expand): fix export/view/update when there is no
8686         document open.
8687
8688 2002-03-27  Herbert Voss  <voss@lyx.org>
8689
8690         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8691         and text%
8692
8693 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8694
8695         * bufferview_funcs.C (currentState): only show paragraph number
8696         for is DEVEL_VERSION is set.
8697
8698         * lyxfunc.C (dispatch): put warning in INFO channel
8699
8700         * MenuBackend.C (expand): translate the name of floats
8701
8702         * FloatList.C (FloatList): mark the float names for translation
8703
8704         * converter.C (convert): use LibScriptSearch
8705
8706 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8707
8708         * MenuBackend.C (defaults): fix default menu (we might as well get
8709         rid of it...)
8710
8711 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8712
8713         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8714         directory.
8715
8716 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8717
8718         * lyxvc.C: reorder includes.
8719
8720 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8721
8722         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8723           properly
8724
8725 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8726
8727         * CutAndPaste.C: change layouts earlier on paste
8728           to avoid crashing when calling getFont()
8729
8730 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8731
8732         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8733         irritating #error.
8734
8735 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8736
8737         * WorkArea.C: remove 'Pending' debug message.
8738
8739         * most files: ws cleanup
8740
8741         * buffer.[Ch]: ws changes
8742
8743         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8744
8745 2002-03-21  Juergen Vigna  <jug@sad.it>
8746
8747         * tabular.C (SetMultiColumn): collapse also the contents of the
8748         cells and set the last border right. Added a Buffer const * param.
8749
8750 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8751
8752         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8753         linking or not.
8754
8755 2002-03-19  Juergen Vigna  <jug@sad.it>
8756
8757         * text2.C (clearSelection): reset also xsel_cache.
8758
8759         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8760         where it needs to be called (John tells us to do so too :)
8761         (selectionLost): reset sel_cache.
8762
8763         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8764
8765 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8766
8767         * text2.C (setCursorIntern): put debuging code in INSETS channel
8768
8769 2002-03-19  André Pönitz <poenitz@gmx.net>
8770
8771         * lyxfunc.C: tiny whitespace change
8772
8773 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8774
8775         * ToolbarDefaults.C (init):
8776         * LyXAction.C (init):
8777         * commandtags.h:
8778         * BufferView_pimpl.C (Dispatch):
8779         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8780
8781 2002-03-19  Allan Rae  <rae@lyx.org>
8782
8783         * exporter.C (Export): removeAutoInsets before doing anything else.
8784         While I've just introduced a dependency on BufferView this really is
8785         the best place to clean the buffer otherwise you need to cleanup in
8786         a dozen places before calling export or cleanup in a dozen functions
8787         that export calls.
8788
8789         * converter.C (runLaTeX):
8790         (scanLog): Better handling of removeAutoInsets and screen updates.
8791
8792         * lyxfunc.C (dispatch): small whitespace changes
8793
8794 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8795
8796         * WorkArea.C (C_WorkAreaEvent): return a value.
8797         (event_cb): return 1 if we handled the event, 0 otherwise.
8798
8799         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8800
8801 2002-03-18  Juergen Vigna  <jug@sad.it>
8802
8803         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8804         (GetAdditionalWidth): ditto.
8805         (RightLine): ditto.
8806         (LeftLine): ditto.
8807
8808         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8809         inset if we're there actually (probably not used right now but this
8810         is the direction to go for unifying code).
8811         (paste): disable code to clear the selection.
8812
8813         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8814         inside an InsetText and move the check further up as it is in the
8815         wrong place.
8816
8817         * text2.C (pasteSelection): set a selection over the pasted text.
8818
8819 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8820
8821         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8822         and libgraphics to build on Cygwin.
8823
8824 2002-03-15  Juergen Vigna  <jug@sad.it>
8825
8826         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8827         inserting an Inset into the paragraph. I know this is not the best
8828         fix but we already use current_view in CutAndPaste so we will remove
8829         all of it's using at the same time.
8830
8831         * buffer.C (sgmlError): deactivated function till it is rewritten in
8832         the right mode, now it can create problems.
8833
8834         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8835         before accessing it.
8836
8837 2002-03-14  Juergen Vigna  <jug@sad.it>
8838
8839         * undo_funcs.C (textHandleUndo): do the right thing when updating
8840         the inset after the undo/redo.
8841
8842         * text2.C (setCursor): just some testcode for #44 not ready yet.
8843
8844         * undo_funcs.C (textHandleUndo): set the next() and previous()
8845         pointers of the paragraph to 0 before deleting otherwise we have
8846         problems with the Paragraph::[destructor].
8847
8848         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8849         on a paragraph insertion.
8850
8851 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8852
8853         * buffer.C (asciiParagraph): use += operator for char append to
8854         string.
8855
8856         * paragraph.C (getFontSettings): compare >= not just >
8857         (highestFontInRange): ditto
8858         (setFont): ditto
8859
8860 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8861
8862         * paragraph.C: change several algorithm to be more appripriate for
8863         the problem domain. This is lookip in FontList and in the InsetList.
8864
8865 2002-03-13  André Pönitz <poenitz@gmx.net>
8866
8867         * commandtags.h:
8868         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8869
8870 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8871
8872         * commandtags.h:
8873         * LyXAction.C:
8874         * lyxfunc.C:
8875         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8876
8877 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8878
8879         * Painter.C (display): anon helper function, adjust code for this
8880         change.
8881         (pixmap): remove function.
8882
8883         * Painter.h: remove private display variable.
8884
8885         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8886
8887 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8888
8889         * WorkArea.[Ch]: remove figinset_canvas cruft.
8890
8891 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8892
8893         * lyxtextclass.C (operator): add one item cache optimization.
8894
8895         * bufferlist.h: doxy changes
8896
8897         * bufferlist.C: ws changes
8898
8899         * DepTable.[Ch] (ext_exist): place const in the right spot.
8900
8901         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8902         call resizeInsets.
8903         (workAreaExpose): call resizeInsets when the with BufferView changes.
8904         (Dispatch): adjust for protectedBlank removal
8905         (specialChar): call updateInset if the insert went ok.
8906
8907         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8908         specialChar instead.
8909
8910         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8911
8912         * BufferView.h: doxy change
8913
8914         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8915
8916         * lyxtextclass.C (operator[]): remove non-const version
8917         (defaultLayout): remove non-const version
8918
8919 2002-03-12  Juergen Vigna  <jug@sad.it>
8920
8921         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8922         did resize the LyXText too.
8923
8924         * buffer.C (readLyXformat2): set layout information on newly allocated
8925         paragraphs.
8926
8927         * tabular.C (OldFormatRead): set layout information on the paragraph.
8928
8929 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8930
8931         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8932
8933 2002-03-11  Juergen Vigna  <jug@sad.it>
8934
8935         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8936         plainly wrong.
8937         (resizeCurrentBuffer): force also the insets to resize themselfes.
8938         (moveCursorUpdate): fixed up for InsetText.
8939
8940 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8941
8942         * commandtags.h:
8943         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8944         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8945         value of Dialogs::tooltipsEnabled().
8946         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8947
8948 2002-03-08  Juergen Vigna  <jug@sad.it>
8949
8950         * BufferView_pimpl.C (updateInset): update inset inside inset also
8951         if it isn't inside theLockingInset().
8952
8953 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8954
8955         * buffer.C (asciiParagraph): redo some of the word and line length
8956         handling.
8957         (getLists): look for Caption instead of caption.
8958
8959 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8960
8961         * buffer.C (Buffer): initialize niceFile to true
8962         (makeLaTeXFile):
8963         (makeLinuxDocFile):
8964         (makeDocBookFile): make sure niceFile is true on exit
8965
8966 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8967
8968         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8969
8970 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8971
8972         * LyXSendto.C: remove.
8973         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8974         * lyx_gui.C: remove now-redundant comment.
8975         * ColorHandler.h: remove forward declaration of class WorkArea.
8976         * lyxfunc.C: remove #include "WorkArea.h".
8977
8978 2002-03-07  Juergen Vigna  <jug@sad.it>
8979
8980         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8981         got moved away with the DEPM and also set the inset_owner always
8982         right which before could have been omitted.
8983
8984 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8985
8986         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8987         wanted layout is not found.
8988
8989 2002-03-07  Juergen Vigna  <jug@sad.it>
8990
8991         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8992
8993 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8994
8995         * paragraph.C (breakParagraph): use default layout not layout of
8996         prev paragraph.
8997         (Paragraph): clear ParagraphParameters.
8998
8999 2002-03-06  Juergen Vigna  <jug@sad.it>
9000
9001         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9002         otherwise it would not be a valid lenght. Fixed a special case in
9003         the minipage compatibility read where we end the document with a
9004         minipage.
9005
9006         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9007         was set as it could be 0 for InsetTexts first entry.
9008
9009 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9010
9011         * paragraph.C (writeFile): if layout is empty write out
9012         defaultLayoutName().
9013
9014         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9015         file without named layout we set layout to defaultLayoutName().
9016
9017 2002-03-06  Juergen Vigna  <jug@sad.it>
9018
9019         * CutAndPaste.C (copySelection): set layout for new paragraph.
9020
9021         * text.C (prepareToPrint): leave ERT inset left aligned
9022         (leftMargin): don't indent paragraphs inside ERT insets
9023
9024 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * paragraph.C (breakParagraph): dont call clear do the work manually
9027
9028         * paragraph.[Ch] (clear): remove function
9029
9030 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9031
9032         * paragraph.C (Paragraph): dont call clear, the work has already
9033         been done.
9034
9035         * lyxtextclass.C (operator): assert if n is empty
9036
9037         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9038         work manually instead.
9039
9040 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9041
9042         * BufferView_pimpl.C: protect selectionLost against text == 0
9043
9044 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9045
9046         * text.C (breakParagraph): fix a setting layout to '0' problem.
9047
9048 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9049
9050         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9051         final location of file, for the included files, and graphics.
9052
9053 2002-03-05  Juergen Vigna  <jug@sad.it>
9054
9055         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9056
9057 2002-03-04  Juergen Vigna  <jug@sad.it>
9058
9059         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9060
9061         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9062         last column of multicolumn cells.
9063         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9064
9065 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9066
9067         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9068         file if it doesn't go to a temporary file.
9069
9070         * buffer.C (sgmlOpenTag):
9071         (sgmlCloseTag):  remove extra newline insertion.
9072
9073 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9074
9075         * text.C (getRowNearY): comment out debug msg
9076
9077 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9078
9079         * text2.C: first -> first_y
9080
9081         * text.C (getRowNearY): add some attemts at a possible
9082         optimization, not working.
9083
9084         * tabular.[Ch]: add BufferParams to several function so that newly
9085         created paragraph can be initialized to he default layotu for the
9086         buffers textclass.
9087
9088         * tabular-old.C (ReadOld): add buf->params to call of Init
9089
9090         * screen.C: rename text->first to text->first_y
9091
9092         * paragraph.C (breakParagraph): always set layout in the broken
9093         paragraph
9094
9095         * lyxtextclass.C (Read): remove lowercase
9096         (hasLayout): ditto
9097         (operator): ditto
9098         (delete_layout): ditto
9099
9100         * lyxtext.h: rename first -> first_y
9101
9102         * lyxlayout.C (Read): remove lowercase
9103         (name): ditto
9104         (setName): ditto
9105         (obsoleted_by): ditto
9106
9107         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9108
9109         * buffer.C (insertErtContents): add params are to InsetERT
9110         (parseSingleLyXformat2Token): add code to check if a paragraphs
9111         layout really exist.
9112         (parseSingleLyXformat2Token): add params to several inset
9113         constructors
9114         (asciiParagraph): remove lowercase, do the layout comparisons with
9115         no_case
9116
9117         * BufferView_pimpl.C (cursorNext): first -> first_y
9118         (resizeCurrentBuffer): first -> first_y
9119         (updateScrollbar): first -> first_y
9120         (scrollCB): first -> first_y
9121         (workAreaMotionNotify): first -> first_y
9122         (workAreaButtonPress): first -> first_y
9123         (checkInsetHit): first -> first_y
9124         (cursorPrevious): first -> first_y
9125         (cursorNext): first -> first_y
9126         (Dispatch): add buffer_->params to severl inset contructors
9127
9128 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9129
9130         * lyxlayout.C (Read): remove some debug info that I forgot.
9131
9132         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9133         clean up the code slightly.
9134         (makeLinuxDocFile): ditto
9135         (makeDocBookFile): ditto
9136
9137         * text2.C: layout as string
9138
9139         * text.C: layout as string
9140
9141         * paragraph_pimpl.C: layout as string
9142
9143         * paragraph.[Ch]: layout as string
9144
9145         * lyxtextclasslist.[Ch]: layout as string
9146
9147         * lyxtextclass.[Ch]: layout as string
9148
9149         * lyxtext.h: layout as string
9150
9151         * lyxlayout.[Ch]: layout as string
9152
9153         * lyx_cb.C: layout as string
9154
9155         * bufferview_funcs.C: layout as string
9156
9157         * bufferparams.C: layout as string
9158
9159         * buffer.C: layout as string
9160
9161         * LyXView.[Ch]: layout as string
9162
9163         * LaTeXFeatures.[Ch]: layout as string
9164
9165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9166
9167         * BufferView_pimpl.C: change current_layout to string, remove
9168         lyx::layout_type.
9169         (Dispatch):
9170         (smartQuote):
9171         (insertInset):
9172         (workAreaButtonRelease): layout as string
9173
9174         * BufferView2.C (unlockInset): adjust
9175
9176         * vspace.C (asLatexCommand): use an explict temp variable.
9177
9178 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * Makefile.am: use FRONTEND_*
9181
9182 2002-03-01  Juergen Vigna  <jug@sad.it>
9183
9184         * tabular.C (SetWidthOfMulticolCell): changed to something better
9185         I hope but still work in progress.
9186         (recalculateMulticolumnsOfColumn): renamed function from
9187         recalculateMulticolCells as it is more appropriate now.
9188         (SetWidthOfCell): calculate multicols better.
9189
9190 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9191
9192         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9193
9194         * lyxfunc.C (processKeySym): print sequence also if it is
9195         `deleted' (complete)
9196
9197         * kbsequence.C (print): print sequence even if it is deleted
9198         (complete would be a better word, actually).
9199
9200         * lyxfunc.C (dispatch): print complete options after a prefix key
9201
9202         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9203
9204 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9205
9206         * text2.C (setCharFont): eliminate setCharFont code duplication.
9207
9208 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9209
9210         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9211         LFUN_TABULAR_FEATURE (bug #177)
9212
9213 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9214
9215         * Makefile.am: remove figure.h
9216
9217 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9218
9219         * Bufferview_pimpl.C:
9220         * CutAndPasteC:
9221         * LaTeX.C:
9222         * LyXSendto.C:
9223         * buffer.C:
9224         * bufferlist.C:
9225         * converter.C:
9226         * language.C:
9227         * lyxfunc.C:
9228         * lyxvc.C:
9229         * paragraph.C:
9230         * text.C:
9231         * text2.C: remove #include "lyx_gui_misc.h".
9232
9233         * LaTeX.C: added #include <cstdio>
9234
9235 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9236
9237         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9238         that the paragraph following this one can have.
9239
9240         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9241
9242         * vspace.C (asLatexCommand): fix bogus gcc warning
9243
9244         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9245
9246 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9247
9248         * text2.C (setLayout): get rid of redundant code
9249
9250 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9251
9252         * text2.C (incDepth): make sure depth cannot be increased beyond
9253         reasonable values.
9254
9255 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9256
9257         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9258         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9259
9260         * PainterBase.h (image):
9261         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9262         a LyXImage const *.
9263
9264 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9265
9266         * BufferView.C:
9267         * BufferView.h:
9268         * BufferView_pimpl.C:
9269         * BufferView_pimpl.h:
9270         * LaTeXFeatures.C:
9271         * LyXAction.C:
9272         * LyXView.C:
9273         * Makefile.am:
9274         * UpdateList.h:
9275         * UpdateList.C:
9276         * buffer.C:
9277         * figure.h:
9278         * figureForm.C:
9279         * figureForm.h:
9280         * figure_form.C:
9281         * figure_form.h:
9282         * lyx_cb.C:
9283         * lyx_gui.C:
9284         * lyx_gui_misc.C:
9285         * lyxfunc.C:
9286         * sp_base.h:
9287         * sp_ispell.h:
9288         * sp_pspell.h:
9289         * sp_spell.C: remove fig inset, and the crap house of
9290           cards that follows it
9291
9292 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9293
9294         * Makefile.am:
9295         * lyxserver.C:
9296         * os2_defines.h:
9297         * os2_errortable.h:
9298         * nt_defines.h: move .h into support/
9299
9300         * vms_defines.h: remove
9301
9302         * WorkArea.C: add space in debug output
9303
9304         * text2.C:
9305         * paragraph.C:
9306         * buffer.C: add WITH_WARNINGS
9307
9308         * vc-backend.h:
9309         * vc-backend.C:
9310         * bufferlist.C: s/retrive/retrieve/, add docs
9311
9312         * vspace.h:
9313         * vspace.C:
9314         * kbmap.h:
9315         * lyxlength.h:
9316         * lyxgluelength.h:
9317         * length_common.h:
9318         * chset.h:
9319         * chset.C: add docs
9320
9321         * lyxgui.C: add ID to X error handler
9322
9323         * lyxtestclass.c: fix typo
9324
9325 2002-02-26  Juergen Vigna  <jug@sad.it>
9326
9327         * tabular_funcs.C (write_attribute): changed so that some default
9328         attributes are not written at all.
9329         (getTokenValue): set default values before trying to read the
9330         value so we have the return value always set as default if we don't
9331         find the token we search for.
9332
9333         * tabular.C (Write): write bools as bools not as strings!
9334
9335 2002-02-22  Juergen Vigna  <jug@sad.it>
9336
9337         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9338         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9339
9340         * text.C (leftMargin): don't add an indent for paragraphs inside
9341         tabular cells (fix #208).
9342
9343 2002-02-21  José Matos  <jamatos@fep.up.pt>
9344
9345         * tabular.C (docBook): fixed support for long tables.
9346
9347 2002-02-20  Juergen Vigna  <jug@sad.it>
9348
9349         * text2.C (getFont): get the drawing font of the Inset if this
9350         paragraph is inside an inset (only important for InsetERT for now).
9351
9352         * buffer.C (insertErtContents): use new lanugage params in ERT
9353         constructor.
9354
9355         * CutAndPaste.C: commenting out seemingly uneeded code.
9356
9357 2002-02-19  Allan Rae  <rae@lyx.org>
9358
9359         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9360         Iterators might be simple to use but they also get invalidated.
9361         (removeAutoInsets): renamed saved cursor tracking variables and added
9362         some comments to clarify what everything does.
9363
9364 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9365
9366         * Chktex.C:
9367         * LaTeX.C:
9368         * LyXSendto.C:
9369         * converter.C:
9370         * lyx_cb.C:
9371         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9372         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9373
9374         * lyxfunc.C:
9375         * vc-backend.h: remove #include "support/syscall.h"
9376
9377         * LaTeX.C:
9378         * LyXSendto.C:
9379         * converter.C: rearrange #includes in Lars' approved fashion.
9380
9381         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9382         forward declare class Timeout in the header file.
9383
9384         * XFormsView.C: changes due to the above.
9385
9386         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9387         similar to LyXView.
9388
9389         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9390         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9391
9392 2002-02-18  José Matos  <jamatos@fep.up.pt>
9393
9394         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9395         insets contents.
9396
9397 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9398
9399         * a lot of small ws changes
9400         * add a lot of using std::XXX
9401         * use std construcs some places where approp.
9402         * use some exisint stuff from lyxfunctional where approp.
9403         * Make file changes to use partial linking (lets test this now...)
9404
9405 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9406
9407         * Chktex.C:
9408         * buffer.C:
9409         remove #include "support/syscontr.h" as it's redundant. Always has been.
9410
9411         * Chktex.C:
9412         * LaTeX.C:
9413         * LyXSendto.C:
9414         * converter.C:
9415         * lyx_cb.C:
9416         * vc-backend.C:
9417         change Systemcalls::System to Systemcalls::Wait and
9418         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9419         No change of functionality, just reflects the stripped down Systemcalls
9420         class.
9421
9422 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9423
9424         * debug.[Ch]: add a GRAPHICS type to the enum.
9425
9426 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9427
9428         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9429
9430         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9431         there is an inset.
9432
9433 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9434
9435         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9436         match the changes below.
9437
9438         * text2.C (toggleInset): if there is not editable inset at cursor
9439         position, try to see if cursor is _inside_ a collapsable inset
9440         and close it.
9441
9442 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9443
9444         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9445         document menu has a nice checkbox
9446
9447 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9448
9449         * lyxlength.C (asLatexString): change PW to output as percent of
9450         \textwidth.
9451
9452         * lengthcommon.C: change '%' to 't%'
9453
9454         * lyxfunc.C (dispatch): a few comments from Martin
9455
9456 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * WorkArea.h:
9459         * WorkArea.C:
9460         * BufferView_pimpl.h:
9461         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9462           the X selection.
9463
9464 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9465
9466         * vspace.C (inPixels): fix compiler warning
9467
9468 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9469
9470         * lyxfunc.C (getStatus): fix status message for disabled commands.
9471
9472 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9473
9474         * BufferView_pimpl.C: fix crash on close buffer
9475         during selection (#227)
9476
9477 2002-01-27  Herbert Voss  <voss@lyx.org>
9478
9479         * buffer.C: link old Figure to new graphic inset
9480
9481 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9482
9483         * FontLoader.C (getFontinfo): Change the latex font names in order
9484         to match the names of type1inst.
9485
9486 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9487
9488         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9489
9490         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9491         (extchanged): ditto
9492         (ext_exist): ditto
9493         (remove_files_with_extension): ditto
9494         (remove_file): ditto
9495         (write): ditto
9496
9497         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9498         document is smaller than the work area height. Do not initialize
9499         static variables to 0.
9500
9501 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9504
9505         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9506         LFUN_LAYOUT_PARAGRAPHS.
9507
9508         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9509         tabular. It is possible to provide a possible cell, which will
9510         typically be the actcell from the corresponding insettabular
9511
9512         * lyxfunc.C (getStatus): small cleanup; disable
9513         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9514         true
9515
9516 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9517
9518         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9519
9520         * paragraph.C (startTeXParParams):
9521         (endTeXParParams): new methods. The LaTeX code to
9522         start/end paragraph formatting
9523         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9524         empty (fixes bug #200)
9525
9526         * vspace.C (inPixels): adapt to the change below
9527         (inPixels): [later] more cleanups (remove unused variables)
9528
9529         * lyxlength.C (inPixels): change to use a width and a height as
9530         parameter.
9531
9532 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9533
9534         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9535         Replaced with \paperwidth
9536
9537         * DepTable.C (insert): add std:: qualifier
9538
9539 2002-01-18  Allan Rae  <rae@lyx.org>
9540
9541         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9542         updated also?
9543
9544         * text.C (drawInset): Turned out I didn't know enough about how
9545         rebreaking worked.  This fixes most of the redraw problems.  I see
9546         an occasional cursor trail when a line is broken now and the cursor
9547         placement can seem out by a few pixels also after a rebreak.
9548
9549 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * buffer.C (parseSingleLyXformat2Token): update because minipage
9552         width is now a LyXLength
9553
9554         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9555
9556         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9557         math insets
9558
9559 2002-01-17  Juergen Vigna  <jug@sad.it>
9560
9561         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9562
9563         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9564         is set correctly and the inset is updated correctly.
9565
9566 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9567
9568         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9569         the beginning of the loop.
9570
9571 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9572
9573         * lyxrc.C: improve help for use_scalable_fonts
9574
9575 2002-01-17  Allan Rae  <rae@lyx.org>
9576
9577         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9578
9579 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9580
9581         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9582         make sure to set their inset_owner to the right value (bug #171)
9583
9584 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9585
9586         * DepTable.h
9587         * DepTable.C: Implement mtime checking to reduce time spent doing
9588         CRCs.
9589
9590 2002-01-16  Juergen Vigna  <jug@sad.it>
9591
9592         * tabular.C (GetAdditionalHeight): one of error fixed.
9593
9594         * lyxrc.C (output): small fix in writing use_pspell.
9595
9596 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9597
9598         * sp_base.h: #include LString.h
9599
9600 2002-01-16  Allan Rae  <rae@lyx.org>
9601
9602         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9603         Can someone check this please?
9604
9605         * text.C (drawInset): It was possible that p.row would be removed by
9606         breakAgainOneRow upsetting a few other settings.  There may be another
9607         small tweak possible by setting need_break_row = 0 when p.row has been
9608         removed but I don't know enough about the logic here.
9609
9610 2002-01-15  Allan Rae  <rae@lyx.org>
9611
9612         * text.C (insertChar): removed conditional truism.
9613
9614         * BufferView2.C (removeAutoInsets): More tweaks.
9615         cur_par_prev could be a stray pointer.  Check for trailing empty line
9616         in case last line was cur_par and only had an error inset on it.
9617
9618 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9621         absolute
9622
9623         * vc-backend.C (most methods):
9624         * exporter.C (Export):
9625         * converter.C (convert):
9626         (runLaTeX):
9627         * LyXSendto.C (SendtoApplyCB):
9628         * lyxfunc.C (dispatch):
9629         (menuNew):
9630         (open):
9631         (doImport):
9632         * lyx_cb.C (AutoSave):
9633         (InsertAsciiFile):
9634         * BufferView_pimpl.C (MenuInsertLyXFile):
9635         * buffer.C (runChktex): use Buffer::filePath().
9636
9637         * buffer.h: rename filename to filename_; rename filepath to
9638         filepath_ and make it private
9639         (filePath): new method
9640
9641         * buffer.C (writeFile): use fileName()
9642         (getLatexName):
9643
9644         * lyx_main.C (init): fix starting  of LyX when the binary is a
9645         link from so,ewhere else.
9646
9647         * minibuffer.C: include <cctype> for isprint
9648
9649 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9650
9651         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9652         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9653         name clash with InsetCollapsable's width function.
9654
9655 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9656
9657         * lastfiles.C: include <iterator>
9658
9659 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9660
9661         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9662         std::count.
9663
9664         * buffer.C (makeLaTeXFile): ditto.
9665         Also make loop operation more transparent.
9666
9667 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9668
9669         * ToolbarDefaults.C: remove trailing comma closing namespace.
9670
9671         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9672
9673         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9674         as in WorkArea.
9675
9676         * trans.C (Load): comment out unused variable, allowed.
9677
9678 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9679
9680         * minibuffer.[Ch] (append_char): new method to recieve input from the
9681         drop-down completion browser. If a key was pressed, then recieve this
9682         char and append it to the existing string.
9683         (peek_event): modify the positioning data passed to the completion
9684         browser so that it can be placed above the minibuffer rather than below.
9685 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9686
9687         * LyXAction.C (init): alloe error-next for readonly documents.
9688
9689         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9690         count.
9691
9692 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9693
9694         * bufferlist.C (readFile): create the buffer _after_ checking that
9695         the file exists.
9696
9697         * lyxfunc.C (verboseDispatch): fix handling of arguments
9698
9699         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9700
9701         * lyxrc.C: use string::erase() instead of initializing to "".
9702
9703
9704 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * BufferView_pimpl.h:
9707         * BufferView_pimpl.C:
9708         * WorkArea.h:
9709         * WorkArea.C:
9710         * text2.C: tell X when we have made a selection for copying
9711
9712 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9713
9714         * BufferView_pimpl.C (MenuInsertLyXFile):
9715         * lyxfunc.C (menuNew):
9716         (open):
9717         (doImport): add shortcuts to directory buttons
9718
9719         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9720         open a float)
9721
9722         * lyxfunc.C (setStatusMessage):
9723         (getStatusMessage): new methods
9724         (getStatus):use setStatusMessage instead of setErrorMessage
9725         (dispatch): when function is disabled, set error message here
9726         [instead of in getStatus previously]
9727
9728         * BufferView_pimpl.C (workAreaButtonRelease): update
9729         toolbar/menubar here too.
9730
9731 2002-01-13  Allan Rae  <rae@lyx.org>
9732
9733         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9734         Now seems indestructible.  Remaining task is to audit all other
9735         code affected by deleteEmptyParagraphMechanism.  One small quirk
9736         left is that an empty document with an error in the preamble can
9737         be made to report an error but no error box appears.  I don't know
9738         where it goes.
9739         (removeAutoInsets): Improved comments.
9740
9741 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * Thesaurus.h:
9744         * Thesaurus.C: update for Aiksaurus 0.14
9745
9746 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9747
9748         * text2.C (firstParagraph): removed member function, all uses
9749         replaces with ownerParagraph
9750         (redoParagraphs): here
9751         (updateInset): here
9752         (toggleAppendix): here
9753         * BufferView2.C (insertErrors): here
9754         (setCursorFromRow): here
9755
9756 2002-01-13  Allan Rae  <rae@lyx.org>
9757
9758         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9759         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9760         There is still a way to segfault this although you may have to do this
9761         multiple times: Have an InsetERT with an unknown command in it.
9762         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9763         <down-arrow>, <Enter> again, View->DVI, BANG!
9764
9765         * text2.C (setCursor):
9766         (deleteEmptyParagraphMechanism):
9767         * lyxtext.h (setCursor):
9768         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9769         Making use of the return value may help fix other bugs.
9770
9771 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9774
9775         * LyXView.C (updateMenubar): call MenuBar::update here
9776         (updateToolbar): but not here
9777         (showState): do not update toolbar/menubar
9778
9779         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9780         should need to care about that.
9781
9782         * lyxfunc.C (verboseDispatch): simplify a bit
9783         (getStatus): have a version which takes a pseudoaction, and
9784         another which requires a (kb_action,string).
9785
9786         * LyXAction.C (retrieveActionArg): make it work also when action
9787         is not a pseudo-action.
9788         (getActionName): simplify a bit
9789         (helpText):
9790
9791 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * lyxfunc.C (verboseDispatch): new families of methods with
9794         several ways to specify a command and a bool to indicate whether
9795         the command name and shortcut should be displayed in minibuffer
9796         (eventually, we could extend that to a finer bitmask like
9797         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9798         (dispatch): the pristine dispatch command which just, well,
9799         dispatchs! Note it still sets its result to minibuffer; I'm not
9800         sure we want that.
9801
9802         * lyxfunc.h: remove setHintMessage
9803
9804         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9805
9806 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9807
9808         * BufferView_pimpl.C (specialChar): delete new inset if we have
9809         not been able to insert it.
9810
9811         * kbmap.C: revert to using int instead of kb_action, since all we
9812         are dealing with is pseudo-actions.
9813
9814         * LyXAction.C (searchActionArg): change to return int instead of
9815         kb_action, since the result is a pseudoaction.
9816
9817 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9818
9819         * buffer.C (insertErtContents): Fix (partially) the font bug.
9820
9821 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9822
9823         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9824         as the other one is broken on my machine!
9825
9826 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9827
9828         * commandtags.h:
9829         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9830
9831 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9832
9833         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9834         reflect their actual use. Provide compatibility code for older lyxrc
9835         files.
9836
9837         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9838         FL_NORMAL_STYLE.
9839         change names of popup font variables in line with the changes to lyxrc.C
9840
9841 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9842
9843         * buffer.C (asciiParagraph): avoid outputing a word twice after
9844         an inset.
9845
9846         * lyxrc.C (getDescription): document that document_path and
9847         template_path can be empty.
9848
9849 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9850
9851         * LaTeXFeatures.C (getMacros):
9852         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9853
9854         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9855
9856         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9857         getPackages.
9858         (getPackages): rename feature "floats" to "float". Use an array to
9859         iterate over 'simple' features (i.e. just a \usepackage). Add
9860         handling of "amsmath" (renamed from "amsstyle").
9861
9862 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9863
9864         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9865         features list.
9866
9867 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9868
9869         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9870         FuncStaus::FuncStatus & FuncStaus::some_method().
9871
9872 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9873
9874         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9875         of the func_satus stuff. Edited and massaged in various ways by
9876         JMarc.
9877
9878         * lyxfunc.C (getStatus): use FuncStatus
9879
9880 2002-01-08  Juergen Vigna  <jug@sad.it>
9881
9882         * text.C (nextBreakPoint): use function Inset::isChar().
9883
9884         * paragraph.C (TeXOnePar): use function
9885         Inset::forceDefaultParagraphs.
9886
9887         * buffer.C (latexParagraphs): use function
9888         Inset::forceDefaultParagraphs.
9889
9890 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9891
9892         * lyx_gui.C (init): set the style of the menu popups to
9893         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9894
9895 2002-01-07  Juergen Vigna  <jug@sad.it>
9896
9897         * text.C (setHeightOfRow): small fix
9898         (prepareToPrint): don't look at alignment if we don't have the place
9899         for doing it.
9900
9901 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9902
9903         * box.C: New file. Move the Box methods and functions out of box.h,
9904         following Lars' suggestion.
9905
9906 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9907
9908         * box.h: #include "support/LOstream.h", needed for inlined function.
9909
9910         * lyxtextclass.C:
9911         * lyxtextclasslist.C: added some using std declarations.
9912
9913 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * box.h: make signed dimensions to allow insets wider than
9916           the screen (bug #162)
9917
9918         * BufferView_pimpl.C: add some insetHit debug
9919
9920 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * vc-backend.C: add FIXME
9923
9924 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9925
9926         * lyxfunc.C (getStatus): enable code for showing math font status
9927         in toolbar/menu.
9928
9929 2002-01-07  Juergen Vigna  <jug@sad.it>
9930
9931         * text.C (nextBreakPoint): removed debug output not needed anymore.
9932
9933 2002-01-06  Juergen Vigna  <jug@sad.it>
9934
9935         * text.C (nextBreakPoint): fixed up this function we had this bug
9936         since ever but now hopefully we break row better.
9937         (insertChar): we have to check if an inset is the next char as it
9938         could now happen that a large inset is causing a break.
9939
9940 2002-01-05  Juergen Vigna  <jug@sad.it>
9941
9942         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9943         if it doesn't like to be drawed.
9944
9945 2002-01-04  Juergen Vigna  <jug@sad.it>
9946
9947         * BufferView2.C (lockInset): forgot to set a cursor.
9948
9949         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9950
9951 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9952
9953         * FormMathsPanel.C:
9954         * FormMathsPanel.h
9955         * MathsSymbols.C:
9956         * form_maths_panel.C:
9957         * form_maths_panel.h:
9958         * form_maths_panel.fd: implemented sub- and super- buttons in math
9959         panel.
9960
9961         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9962         (or ^ space) to be used as in TeX (req'd by André).
9963
9964         * lyxfunc.C: Allow ^ and _ again to be used both as
9965         super/subscript (mathed) and as themselves (in text).
9966
9967 2002-01-03  Allan Rae  <rae@lyx.org>
9968
9969         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9970         "LyX" or the filename of the current buffer if it has one.  This is a
9971         modified form of John Levon's patch.
9972
9973         * XFormsView.C (setWindowTitle): also set icon title.
9974
9975         * LyXView.h (setWindowTitle): signature changed.
9976         * XFormsView.h (setWindowTitle): ditto.
9977
9978 2002-01-02  Juergen Vigna  <jug@sad.it>
9979
9980         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9981
9982 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9983
9984         * screen.C (topCursorVisible): introduce a temp var for
9985         text->cursor.row(), handle the case where this row is null. (kindo
9986         hachish)
9987
9988         * text2.C (setCursor): add a couple of asserts.
9989
9990         * paragraph.h (inset_iterator): add -> operator
9991
9992         * paragraph.[Ch] (autoDeleteInsets): remove member function
9993
9994         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9995         cursor pos correctly and handle inset deletion by itself.
9996         (insertErrors): move iterator declaration out of for expression
9997
9998         * lyxtextclass.C: add <algorithm>
9999
10000         * Makefile.am: added the new files to sources, removed layout.C
10001
10002         * layout.C: removed file
10003
10004         * layout.h: remove LYX_DUMMY_LAYOUT
10005
10006         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10007         layout.
10008
10009         * lyxlayout.[Ch]:
10010         * lyxtextclass.[Ch]:
10011         * lyxtextclasslist.[Ch]: new files
10012
10013         * include order changes to a lot of files, also changes because of
10014         the six new files.
10015
10016 2001-12-27  Juergen Vigna  <jug@sad.it>
10017
10018         * buffer.C (asciiParagraph): more fixes.
10019
10020         * tabular.C (ascii): make ascii export support export of only the
10021         data separated by a column-delimiter.
10022         (ascii): better support for ascii export.
10023
10024         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10025
10026 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10027
10028         * tabular_funcs.C: use a "using std::getline" instead of the
10029         previous fix from Angus (necessary for cxx + lyxstring)
10030
10031 2001-12-24  Juergen Vigna  <jug@sad.it>
10032
10033         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10034
10035         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10036         problems. First check a minipage also if we have some ert-contents
10037         (not only on par->size(), second set the right depth of the paragraph
10038         on the relink to the root-paragraph-list!
10039
10040         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10041         which then did not anymore update the main paragraphs on undo/redo!
10042
10043 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10046         code. Support all font-changing funcs (even those which are not in
10047         menu currently). Support for reporting font settings in
10048         mathed (disabled until Andre provides a function on mathed's side).
10049
10050         * func_status.h (toggle): small helper function to set toggle
10051         state on a flag.
10052
10053 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10054
10055         * tabular_funcs.C: getline -> std::getline
10056
10057 2001-12-21  Juergen Vigna  <jug@sad.it>
10058
10059         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10060         accessed and could be 0 (I couldn't generate this but it seems
10061         Michael could!).
10062
10063 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10064
10065         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10066         * tabular_funcs.h: here and include iosfwd
10067
10068 2001-12-20  Juergen Vigna  <jug@sad.it>
10069
10070         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10071         inside inset but undo_par was.
10072
10073 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10074
10075         * Thesaurus.C: always include <config.h> in sources.
10076
10077         * Painter.h:
10078         * lyxlookup.h:
10079         * box.h: do not include <config.h> in header files
10080
10081         * text.C (paintLastRow): remove unused variable
10082
10083         * text.C (transformChar):
10084         (insertChar):
10085         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10086
10087         * Painter.C (text):
10088         * font.C (width): rewrite to use uppercase() instead of
10089         islower/toupper.
10090
10091         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10092
10093 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10094
10095         * lyxfind.C: clean up of find failure position change
10096
10097 2001-12-20  Juergen Vigna  <jug@sad.it>
10098
10099         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10100
10101         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10102         (TeXRow): added to LaTeX a single tabular row.
10103         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10104         (Latex): simplified and finally good LT-h/f support.
10105         (various_functions): just small adaptions for LT-h/f support.
10106
10107         * tabular_funcs.[hC]: added and moved here all not classfunctions
10108         of LyXTabular.
10109
10110 2001-12-19  Juergen Vigna  <jug@sad.it>
10111
10112         * tabular.[Ch]: better support for longtabular options (not finished
10113         yet!)
10114
10115 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10116
10117         * text.C (paintLastRow): use the label font instead of the font of
10118         the last character to compute the size of *_BOX. This makes more
10119         sense and avoids a crash with empty paragraphs.
10120         Use Painter::rectangle to draw EMPTY_BOX.
10121
10122 2001-12-19  Juergen Vigna  <jug@sad.it>
10123
10124         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10125         the paragraphs if the replaced paragraph is not the first one!
10126         Tried to delete not used paragraphs but does not work yet so for
10127         now it's inside #ifdef's and by default off!
10128
10129 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10130
10131         * MenuBackend.C: include "lyx_main.h" instead of declaring
10132         lastfiles (actually was declared as LastFiles* instead of a
10133         scoped_ptr).
10134
10135 2001-12-17  Juergen Vigna  <jug@sad.it>
10136
10137         * tabular.C (AppendColumn): applied John's fix
10138
10139 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * BufferView.h:
10142         * BufferView.C:
10143         * BufferView_pimpl.h:
10144         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10145
10146         * Makefile.am:
10147         * box.h: new start of class for above
10148
10149         * lyxfunc.C: ignore space-only minibuffer dispatches.
10150           Show the command name when it doesn't exist
10151
10152         * minibuffer.C: don't add empty lines to the history
10153
10154         * minibuffer.C: add a space on dropdown completion
10155
10156 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10157
10158         * text.C: fix line above/below drawing in insets
10159
10160 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10161
10162         * lyxlength.C (LyXLength): Initialize private variables.
10163
10164 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10165
10166         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10167         when inserting error insets.
10168
10169 2001-12-13  Juergen Vigna  <jug@sad.it>
10170
10171         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10172         actually sometimes the before-paragraph.
10173         (setUndo): don't clear the redostack if we're not actually undoing!
10174
10175 2001-12-06  Juergen Vigna  <jug@sad.it>
10176
10177         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10178         and fixed redoing of main paragraph, so we can use it now ;)
10179
10180         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10181
10182 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10185         Juergen's request
10186
10187 2001-12-13  André Pönitz <poenitz@gmx.net>
10188
10189         * undostack.[Ch]:
10190         * undo_func.C: minor cleanup
10191
10192 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10195         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10196         font in urw-fonts package which is marked as -urw-fontspecific and
10197         does not work (incidentally, changing the encoding in the
10198         fonts.dir of this package to -adobe-fontspecific fixes the
10199         problem).
10200
10201         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10202         is a crash when undoing first paragraph (Juergen, please take a
10203         look). THis does not mean the undo fix is wrong, just that it
10204         uncovers problems.
10205
10206         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10207         the (Paragraph*) version when needed instead of duplicating the
10208         code.
10209
10210         * text.C (workWidth): use Inset::parOwner to find out where the
10211         inset has been inserted. This is a huge performance gain for large
10212         documents with lots of insets. If Inset::parOwner is not set, fall
10213         back on the brute force method
10214
10215         * paragraph_pimpl.C (insertInset):
10216         * paragraph.C (Paragraph):
10217         (cutIntoMinibuffer): set parOwner of insets when
10218         inserting/removing them
10219
10220         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10221
10222 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10223
10224         * commandtags.h:
10225         * LyXAction.C:
10226         * lyx_main.C:
10227         * lyxfunc.C:
10228         * mathed/formulabase.C:
10229         * mathed/math_cursor.[Ch]:
10230         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10231
10232
10233 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10234
10235         * lyxlength.[Ch] (operator!=): new function
10236
10237 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * text.C (workWidth): use Inset::parOwner to find out where the
10240         inset has been inserted. This is a huge performance gain for large
10241         documents with lots of insets. If Inset::parOwner is not set, fall
10242         back on the brute force method
10243
10244         * paragraph_pimpl.C (insertInset):
10245         * paragraph.C (Paragraph):
10246         (cutIntoMinibuffer): set parOwner of insets when
10247         inserting/removing them
10248
10249         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10250
10251 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * tabular-old.C (getTokenValue):
10254         * tabular.C (getTokenValue):
10255         (write_attribute): new versions for LyXLength
10256         (everywhere): adjust the use of widths
10257
10258         * tabular.h: change the type of widths from string to LyXLength
10259
10260 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10261
10262         * paragraph.C: fixed missing line number count when exporting
10263         Environments to LaTeX file
10264
10265         * buffer.C: added informational message for checking line numbers.
10266
10267 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10268
10269         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10270         paragraph, do the 'double space' part, but not the 'empty
10271         paragraph' one.
10272
10273         * text.C (workWidth): small optimization
10274         (getLengthMarkerHeight): use minimal size for negative lengths.
10275
10276 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10277
10278         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10279
10280         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10281
10282 2001-12-11  André Pönitz <poenitz@gmx.net>
10283
10284         * FontLoader.C:
10285         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10286
10287 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10288
10289         * text2.C: keep selection on a setFont()
10290
10291 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * lyx_cb.C: another bv->text misuse, from insert label
10294
10295 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * kbsequence.h:
10298         * kbsequence.C: re-instate nmodifier mask
10299
10300 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10301
10302         * lyx_main.h: make lyxGUI private.
10303
10304 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * lyxfind.C: place the cursor correctly on failed search
10307
10308 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10309
10310         * text.C (getLengthMarkerHeight): for small heights, the arrows
10311         are not always on top/bottom of the text
10312         (drawLengthMarker): smaller arrows; take the left margin in
10313         account; draw also vfills.
10314         (paintFirstRow):
10315         (paintLastRow): remove special code for vfill and standard spaces,
10316         since everything is handled in drawLengthMarker now.
10317
10318 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10319
10320         * buffer.C (insertErtContents): try to handle font and language
10321         interaction a bit better.g
10322
10323         * ColorHandler.C (updateColor): change the hash to cover the whole
10324         LColor enum, ws cleanup
10325         (getGCLinepars): ditto
10326         (getGCLinepars): only lookup in the linecache once.
10327
10328 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10329
10330         * iterators.C (operator++): Make the iterator more robust
10331
10332         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10333         (John's patch)
10334         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10335
10336 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * lyxtext.h:
10339         * text.C: better added space drawing
10340
10341 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10342
10343         * LyXView.C:
10344         * BufferView2.C: fix layout combo update on inset unlock
10345
10346 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * Makefile.am: don't compile unused files
10349
10350 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * lyxfunc.C:
10353         * commandtags.h:
10354         * LyXAction.C: remove old LFUN_LAYOUTNO
10355
10356 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * paragraph_pimpl.h:
10359         * paragraph_pimpl.C: isTextAt() doesn't need font param
10360
10361 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * lyxlex.h:
10364         * lyxlex.C: little cleanup
10365
10366 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * BufferView_pimpl.C: fix insertAscii for insets
10369
10370 2001-12-05  Juergen Vigna  <jug@sad.it>
10371
10372         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10373         set the right font on the "multi" paragraph paste!
10374
10375 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10376
10377         * trans_decl.h:
10378         * trans_mgr.[Ch]:
10379         * trans.[Ch]:
10380         * lyxgluelength.C:
10381         * lyxlength.C: remove out-commented code.
10382
10383         * BufferView_pimpl:
10384         * CutAndPaste.C:
10385         * DepTable.C:
10386         * buffer.C:
10387         * chset.C:
10388         * lastfiles.C:
10389         * lyxlex.C:
10390         * lyxlex_pimpl.C:
10391         * lyxserver.C:
10392         * screen.C:
10393         * tabular-old.C:
10394         * tabular.C:
10395         * text.C:
10396         * trans_mgr.C:
10397         * vc-backend.C: change "while(" to "while ("
10398
10399         * lyxlength.[Ch]: add zero function to check if length is zero or
10400         not
10401         * lyxgluelength.C: use it
10402
10403 2001-12-05  Allan Rae  <rae@lyx.org>
10404
10405         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10406         Works for 2.95.3, from what I understand of Garst's reports this should
10407         work for other g++ versions.  We're screwed if the abs(int) definition
10408         changed between bugfix releases of gcc.
10409
10410 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * text.C: fix chapter label offset !
10413
10414 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * lyxtext.h:
10417         * text.C: fix hfill at end of line, clean up
10418
10419 2001-12-04  Juergen Vigna  <jug@sad.it>
10420
10421         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10422         that we force an update of the inset and it's owners if neccessary.
10423
10424 2001-12-03  Juergen Vigna  <jug@sad.it>
10425
10426         * text.C (rowLast): simplified code
10427
10428 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * lyxfunc.C: fix show options on timeout
10431
10432 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10433
10434         * screen.C (topCursorVisible): scroll half a page when the cursor
10435         reached top of bottom of screen
10436
10437 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * minibuffer.C: deactivate on loss of focus
10440
10441 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10442
10443         * vspace.[Ch] (operator!=): add operator.
10444
10445 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * BufferView_pimpl.C: refuse to open an inset when
10448         there's a selection.
10449
10450 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10451
10452         * BufferView_pimpl.C: allow to click on RHS of full row insets
10453
10454 2001-11-30  Juergen Vigna  <jug@sad.it>
10455
10456         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10457         insets for undo reasons.
10458
10459 2001-11-28  André Pönitz <poenitz@gmx.net>
10460
10461         * vspace.[Ch]: cosmetical changes
10462
10463 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * LyXAction.h:
10466         * LyXAction.C:
10467         * lyxfunc.h:
10468         * lyxfunc.C:
10469         * kbmap.h:
10470         * kbmap.C:
10471         * lyxrc.C:
10472         * kbsequence.h:
10473         * kbsequence.C: part re-write of old kb code
10474
10475         * Painter.C:
10476         * WorkArea.C: remove Lgb_bug_find_hack
10477
10478 2001-11-30  José Matos <jamatos@fep.up.pt>
10479
10480         * buffer.C (makeDocBookFile): add a comment to point a hack.
10481         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10482         Fixed a double write of labels.
10483
10484 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10485
10486         * LaTeX.C:
10487         * LaTeX.h Fixed bug in LaTeX class where it would not
10488         re-run latex if no depfiles were changed, but the .dvi was removed.
10489
10490 2001-11-28  André Pönitz <poenitz@gmx.net>
10491
10492         * all the files from the change on 2001/11/26:
10493         use lyx::layout_type instead of LyXTextClass::size_type
10494         use lyx::textclass_type instead of LyXTextClassList::size_type
10495
10496 2001-11-29  Juergen Vigna  <jug@sad.it>
10497
10498         * text.C: added support for paragraph::isFreeSpacing()
10499
10500         * buffer.C: same as above
10501
10502         * paragraph.h: inserted isFreeSpacing() function to enable
10503         FreeSpacing inside InsetERT.
10504
10505         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10506         of the paragraph's in the cut/copy buffer to 0!
10507
10508         * text2.C (removeRow): remove the assert as it can!
10509
10510         * lyxtext.h: added helper function firstRow returning firstrow and
10511         made firstrow private again.
10512
10513         * BufferView2.C (lockInset): don't relock if we're already locked!
10514
10515         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10516         the only paragraph.
10517         (removeRow): added Assert::(firstrow)
10518
10519         * debug.C: forgot to add INSETTEXT here.
10520
10521 2001-11-28  Juergen Vigna  <jug@sad.it>
10522
10523         * sp_spell.C (initialize): changed error text to more general
10524         spellchecker command use (not only ispell!)
10525
10526         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10527
10528         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10529
10530 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * vspace.C: initialise lyxgluelength on failure
10533
10534 2001-11-28  Allan Rae  <rae@lyx.org>
10535
10536         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10537         declaration & definition that looks like a function declaration.
10538
10539 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10540
10541         * BufferView2.C (copy):
10542         (copyEnvironment): do not clear the selection when doing a copy.
10543
10544         * text.C (paintFirstRow): compilation fix
10545
10546 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10547
10548         * tabular.C (Latex): correct line count when writing latex.
10549
10550 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * paragraph_pimpl.h:
10553         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10554           bug a bit
10555
10556 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * text.C:
10559         * LColor.h:
10560         * LColor.C: change vfillline->added_space
10561
10562         * text.C: add markers and text for added space
10563
10564         * vspace.C: fix comment
10565
10566 2001-11-28  André Pönitz <poenitz@gmx.net>
10567
10568         * paragraph.C: whitespace changes
10569         * all the other files from the change on 2001/11/26:
10570         change *::pos_type into lyx::pos_type
10571
10572 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10573
10574         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10575         language of the document when inserting error insets.
10576
10577 2001-11-26  André Pönitz <poenitz@gmx.net>
10578
10579         * BufferView_pimpl.[Ch]:
10580         *       CutAndPaste.C:
10581         * buffer.[Ch]:
10582         * lyxcursor.[Ch]:
10583         * lyxfind.C:
10584         * lyxfunc.C:
10585         * lyxrow.[Ch]:
10586         * paragraph.[Ch]:
10587         * paragraph_pimpl.[Ch]:
10588         * sp_spell.C:
10589         * text.C:
10590         * text2.C: reduce header dependencies, introduce type for positions
10591
10592 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * <various>: change to use Alert.h
10595
10596 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10597
10598         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10599         when encountering an unknown token.
10600         (readLyXformat2): Show an error message if there were unknown tokens.
10601
10602 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10603
10604         * BufferView2.C:
10605         * BufferView_pimpl.C:
10606         * buffer.C:
10607         * paragraph.h:
10608         * text.C:
10609         * text2.C: use par->isInset()
10610
10611 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * paragraph_pimpl.h:
10614         * paragraph_pimpl.C: cleanup
10615
10616 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10617
10618         * text2.C (removeRow):
10619         * text.C (setHeightOfRow): remove useless (and costly) call to
10620         getRow.
10621
10622 2001-11-20  Allan Rae  <rae@lyx.org>
10623
10624         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10625         Now need Inset*::checkInsertChar() to return true for appropriate
10626         cases so that the characters in the minibuffer will actually be
10627         inserted.
10628
10629 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10630
10631         * text.C: change the order of the includes.
10632         (workWidth): initialize it at once.
10633         (workWidth): make maxw unsigned
10634         (setHeightOfRow): remove unused variable (inset)
10635         (selectSelectedWord): remove unused variable (inset)
10636         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10637
10638 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10639
10640         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10641         server is not running.
10642         (openConnection):
10643         (closeConnection): add debug info when server is disabled.
10644
10645         * ColorHandler.C (getGCForeground): send debug message to GUI
10646         channel.
10647
10648         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10649
10650         * kbmap.C (bind): modify because return conventions of
10651         kb_sequence::parse have changed.
10652
10653         * kbsequence.C (parse): only ignore spaces and not any stupid
10654         control character. This avoids tests like s[i] <= ' ', which are
10655         guaranteed to fail with 8bit characters and signed chars.
10656         Change return code to string::npos when there have been no error
10657         (0 was a bad idea when error is at first character)
10658
10659 2001-11-14  José Matos  <jamatos@fep.up.pt>
10660
10661         * buffer.h:
10662         * buffer.C (simpleDocBookOnePar): removed unused argument.
10663
10664 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10665
10666         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10667         insets which are part of a word. Paragraph::isLetter takes care of
10668         that now. Use Paragraph::isInset to identify insets.
10669         (selectSelectedWord): do not test for hyphenation break.
10670
10671         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10672         that protected spaces are considered as spaces.
10673
10674         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10675         Inset::isLetter.
10676
10677 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * lyxserver.h:
10680         * lyxserver.C: fix it. and small cleanup.
10681
10682 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * BufferView_pimpl.C: use inline helpers
10685
10686         * LaTeXFeatures.h:
10687         * LaTeXFeatures.C: fix typos
10688
10689         * Spacing.h:
10690         * Spacing.C: move spacing_string into class
10691
10692         * ToolbarDefaults.C: move stuff into namespace anon
10693
10694         * layout.h: update enum
10695
10696         * lyxfunc.C: use better debug
10697
10698         * minibuffer.h: fix typo
10699
10700         * debug.h:
10701         * debug.C:
10702         * WorkArea.C: add and use Debug::WORKAREA
10703
10704         * lyxtext.h:
10705         * text.C:
10706         * text2.C: code re-organisation, inline helpers
10707
10708 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10709
10710         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10711         std::vector.empty().
10712
10713 2001-11-09  Allan Rae  <rae@lyx.org>
10714
10715         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10716         '\n's after tables.  Tabular and ERT inset work now makes this no
10717         longer necessary.
10718
10719 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * minibuffer.h:
10722         * minibuffer.C: fix crash, improve drop-down completion
10723
10724 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10725
10726         * lyxserver.h:
10727         * lyxserver.C: invalidate fd's when doing endPipe()
10728
10729 2001-11-08  José Matos  <jamatos@fep.up.pt>
10730
10731         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10732         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10733
10734         * paragraph.h:
10735         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10736
10737 2001-11-07  José Matos  <jamatos@fep.up.pt>
10738
10739         * buffer.h:
10740         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10741         const qualifier.
10742
10743         * buffer.C (sgmlOpenTag):
10744         * buffer.C (sgmlCloseTag): removed debug info.
10745
10746         * buffer.h (sgmlOpenTag):
10747         * buffer.h (sgmlCloseTag): made public.
10748
10749 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10750
10751         * buffer.C (saveParamsAsDefaults):
10752         * lyx_cb.C (MenuLayoutSave): remove
10753
10754         * LyXAction.C (init):
10755         * commandtags.h:
10756         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10757
10758 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10759
10760         * buffer.C (setPaperStuff): removed from here...
10761
10762         * bufferparams.C (setPaperStuff): ... and moved there.
10763
10764 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * minibuffer.h:
10767         * minibuffer.C:
10768         * XFormsView.C: add support for drop-down completion
10769
10770 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10771
10772         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10773         commands.
10774
10775 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10776
10777         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10778         disabled.
10779
10780 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * lyx_main.C: change ref to known bugs
10783
10784 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10785
10786         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10787         to work around older babel problems.
10788
10789 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10790
10791         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10792
10793 2001-10-24  Juergen Vigna  <jug@sad.it>
10794
10795         * tabular-old.C (ReadOld): below variable changes reflected.
10796
10797         * tabular.[Ch]: added ltType struct for longtable header/footer
10798         defines and changed all instances where they are used. Added
10799         future support for double top/bottom rows.
10800
10801 2001-10-24  José Matos  <jamatos@fep.up.pt>
10802
10803         * buffer.h (docbookHandleCaption):
10804         * buffer.C (docbookHandleCaption): removed unused function.
10805         (makeDocBookFile): moved docbook supported version to v4.1.
10806
10807 2001-10-24  José Matos  <jamatos@fep.up.pt>
10808
10809         * tabular.h:
10810         * tabular.C (docbookRow): new function to export docbook code of a row.
10811         (DocBook): now honors the longtable flags.
10812
10813 2001-10-23  José Matos  <jamatos@fep.up.pt>
10814
10815         * LaTeXFeatures.h:
10816         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10817         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10818
10819         * buffer.C (makeLinuxDocFile):
10820         (makeDocBookFile): reworked the preamble, more clean, and with
10821         support for lyx defined entities. Changed the document declaration
10822         to be more XML friendly.
10823
10824         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10825         if we need to output XML that should be done with a filter.
10826
10827 2001-10-22  Juergen Vigna  <jug@sad.it>
10828
10829         * sp_pspell.h (class PSpell): add alive function needed in the
10830         controller to see if the spellchecker could be started.
10831
10832 2001-10-22  Juergen Vigna  <jug@sad.it>
10833
10834         * buffer.C (insertStringAsLines): modify the font for inserting
10835         chars in certain conditions by calling checkInsertChar(font).
10836
10837 2001-10-19  Juergen Vigna  <jug@sad.it>
10838
10839         * text.C (workWidth): use getRow instead of wrong algorithm.
10840         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10841
10842 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10843
10844         * lyxserver.h:
10845         * lyxserver.C:
10846         * lyx_main.h:
10847         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10848
10849 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10850
10851         * text.C (workWidth): do not search for the exact row when
10852         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10853         optimization for big documents.
10854
10855 2001-10-18  Juergen Vigna  <jug@sad.it>
10856
10857         * text.C (workWidth): new function with added Inset * parameter.
10858
10859 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10860
10861         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10862
10863         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10864         change return type of getColumnNearX.
10865
10866
10867         * text.C (changeRegionCase): use uppercase/lowercase instead of
10868         toupper/tolower.
10869         (leftMargin):
10870         (rightMargin): simplify code by factoring out the uses of
10871         textclasslist.
10872         (labelFill):
10873         (numberOfHfills):
10874         (setHeightOfRow):
10875         (appendParagraph): use Paragraph::size_type
10876
10877 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10878
10879         * vspace.C (asLatexString): add a missing break
10880
10881 2001-10-15  Herbert Voss  <voss@perce.de>
10882
10883         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10884
10885 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10886
10887         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10888         is not available.
10889
10890 2001-10-10  André Pönitz <poenitz@gmx.net>
10891
10892         * lyxfunc.C: removed greek_kb_flag.
10893
10894 2001-10-10  Herbert Voss  <voss@perce.de>
10895
10896         * lyx_main.C: delete global string help_lyxdir.
10897
10898 2001-10-09  Herbert Voss  <voss@perce.de>
10899
10900         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10901
10902         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10903
10904         * lyx_main.C: added global string help_lyxdir.
10905
10906         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10907
10908 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10909
10910         * lyxrc.C (set_font_norm_type): support iso8859-4
10911
10912 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10913
10914         * LaTeX.C (deplog): add another regex for MikTeX
10915
10916 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10917
10918         * lyxrc.C (set_font_norm_type): support iso8859-3
10919
10920 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10921
10922         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10923
10924         * LaTeXFeatures.C: remove special case of french and index
10925
10926         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10927         before \begin{document}). This solves several incompatibilities.
10928
10929 2001-10-03  Garst Reese  <reese@isn.net>
10930
10931         * lyx_cb.C: change CheckTex error msg.
10932
10933 2001-10-03  José Matos  <jamatos@fep.up.pt>
10934
10935         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10936
10937 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10938
10939         * .cvsignore: update
10940
10941         * lyx_main.C (commandLineVersionInfo): use new style version info.
10942
10943         * buffer.C (writeFile):
10944         (makeLaTeXFile):
10945         (makeLinuxDocFile):
10946         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10947
10948         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10949
10950         * version.h: update to use stuff in version.C
10951
10952         * version.C.in: new file. Contains version information determined
10953         at compile time. This is a merging of version.h and
10954         version_info.h.in.
10955
10956 2001-10-03  Juergen Vigna  <jug@sad.it>
10957
10958         * BufferView_pimpl.C (update): don't change "dirty" status in
10959         updateInset call.
10960
10961 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10962
10963         * WorkArea.C (c-tor): re-position version string slightly.
10964
10965 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10966
10967         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10968         revert to previous code.
10969
10970         WorkArea.[Ch]: (show, destroySplash): methods removed.
10971
10972         WorkArea.C: rework code so that it's an amalgam of the codes before and
10973         after the splash screen was moved to WorkArea.
10974
10975 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10976
10977         * lyxrc.C (read):
10978         * vspace.C (inPixels):
10979         (lyx_advance):
10980         * kbmap.C (bind):
10981         * buffer.C (insertStringAsLines):
10982         (asciiParagraph): fix types to be large enough
10983
10984         * lyxlex_pimpl.h: change member status from short to int
10985
10986         * layout.h: fix type of endlabeltype
10987
10988         * kbmap.C (bind):
10989         * kbsequence.C (parse): change return type to string::size_type
10990
10991         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10992         variable
10993
10994         * Bullet.C (bulletSize):
10995         (bulletEntry): do not use short ints as parameters
10996
10997         * BufferView2.C (insertLyXFile): change a char to an int.
10998
10999         * WorkArea.C (WorkArea): remove unneeded floats in computation
11000
11001 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11002
11003         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11004
11005         * paragraph.C (asString): Do not ignore newline/hfill chars when
11006         copying to the clipboard.
11007
11008 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11009
11010         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11011         after a multi-line inset.
11012
11013 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11014
11015         * paragraph.C (validate): Set NeedLyXFootnoteCode
11016
11017 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11018
11019         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11020         and decrease-error to decrease.
11021
11022 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11023
11024         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11025         it more readable (should be equivalent)
11026
11027 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11028
11029         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11030
11031 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11032
11033         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11034         of a cursor (row, etc.) after a character has been deleted
11035         (deleteEmptyParagraphMechanism): call the method above on _all_
11036         cursors held by the LyXText when a double space has been
11037         detected/deleted.
11038
11039 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11040
11041         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11042         pixmap.
11043         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11044
11045         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11046         background. Use greyOut() and the new show() methods to toggle between
11047         the foreground and background. Add code to remove the splash after
11048         its initial showing.
11049
11050         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11051         (create_forms): no longer call Dialogs::showSplash.
11052
11053 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11054
11055         * .cvsignore: add version_info.h
11056
11057 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11058
11059         * version_info.h.in: new file
11060
11061         * Makefile.am: add version_info.h.in
11062
11063         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11064         version_info.h instead of VERSION_INFO
11065
11066 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11067
11068         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11069         The ERT inset now returns string().
11070
11071 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11072
11073         * lyxtext.h, text.C (selectNextWord): renamed as
11074         selectNextWordToSpellcheck.
11075
11076         * text.C (selectNextWordToSpellcheck): Modified to not select
11077         words inside an ERT inset.
11078
11079 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11080
11081         * lyx_cb.C (MenuLayoutSave): change a bit the question
11082
11083         * sp_base.h: include <sys/types.h>
11084
11085 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11086
11087         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11088
11089 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11090
11091         * several files: fix typos in user-visible strings
11092
11093 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11094
11095         * text2.C (pasteSelection): do not set the selection, since it
11096         will be cleared later. Actually, the intent was to fix the way the
11097         selection was set, but I figured rmoving the code was just as good.
11098
11099 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11100
11101         * FontLoader.C (available): Check if font is available without
11102         loading the font.
11103
11104 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11105
11106         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11107
11108 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11109
11110         * lyxrc.[Ch]: added display_graphics variable and associated code.
11111
11112 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11113
11114         * bufferparams.C (hasClassDefaults): new method. Returns true if
11115         the buffer parameters correspond to known class defaults
11116
11117 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11118
11119         * XFormsView.C (show): set minimum size to the main window.
11120
11121 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11122
11123         * text2.C (copySelection):
11124         (cutSelection):
11125         * lyxfind.C (LyXReplace):
11126         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11127         LyXText::selectionAsString.
11128
11129         * paragraph.C (asString): add "label" argument to the second form
11130
11131         * text2.C (selectionAsString): add "label" argument and pass it to
11132         Paragraph::asString.
11133
11134 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11135
11136         * lyx_main.C (commandLineHelp): remove version information
11137
11138 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11139
11140         * lyx_main.C: add -version commandline option
11141
11142 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * paragraph.h: make the optional constructor arg required instead.
11145         some modifications to other files because of this.
11146
11147         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11148
11149         * lyxserver.C (C_LyXComm_callback): make it static
11150
11151         * lyx_main.C (error_handler): make it static
11152
11153         * lyx_gui.C (LyX_XErrHandler): make it static
11154
11155         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11156
11157         * WorkArea.C: make the extern "C" methods static.
11158
11159         * Makefile.am (lyx_LDADD): simplify
11160
11161 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11162
11163         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11164         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11165
11166         * LyXAction.C (init):
11167         * lyxfunc.C (dispatch): associated code removal.
11168
11169 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11170
11171         * lyxfont.h (isSymbolFont): shut off warning
11172
11173         * text.C (setHeightOfRow):
11174         (getVisibleRow): fix crash with empty paragraphs which have a
11175         bottom line
11176
11177 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11178
11179         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11180         code.
11181
11182 2001-09-04  José Matos  <jamatos@fep.up.pt>
11183         * buffer.C
11184         * buffer.h
11185         * tabular.C (docbook): rename docBook method to docbook.
11186
11187 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11188
11189         * Makefile.am: add dependencies to main.o.
11190
11191 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11192
11193         * FontLoader.C (available): Return false if !lyxrc.use_gui
11194
11195 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11196
11197         * FontInfo.C (query):
11198         * converter.C (view):
11199         * importer.C (Import):
11200         * exporter.C (Export): Can not -> cannot.
11201
11202 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * BufferView_pimpl.C: allow to create index inset even if
11205           string is empty
11206
11207 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11208
11209         * buffer.C (getLists): replace boost::tie code with an explicit pair
11210         as boost::tie can break some compilers.
11211
11212         * iterators.h: Added a std:: declaration to the return type of
11213         ParIterator::size.
11214
11215 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11216
11217         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11218           case.
11219
11220 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11221
11222         * iterators.[Ch]: New files. Provide paragraph iterators.
11223
11224         * buffer.C (changeLanguage): Use paragraph iterators.
11225         (isMultiLingual): ditto
11226
11227         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11228
11229 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11230
11231         * FontLoader.C: Support for cmr font.
11232
11233 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11234
11235         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11236         (available): New method.
11237
11238         * FontInfo.C (getFontname): Use scalable fonts even when
11239         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11240         found.
11241
11242 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11243
11244         * converter.C (Formats::view): reverted! Incorrect fix.
11245
11246 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11247
11248         * converter.C (Formats::view): only output the -paper option
11249         if the dvi viewer is xdvi, thereby fixing bug #233429.
11250
11251 2001-08-23  Herbert Voss  <voss@perce>
11252
11253         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11254
11255 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11256
11257         * Spacing.h (Spacing): Set space to Default on in the default
11258         constructor.
11259
11260 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11261
11262         * vc-backend.h (RCS::versionString): add RCS to version
11263         (CVS::versionString): add CVS to version
11264
11265         * vc-backend.C (scanMaster): do not add CVS to version.
11266         (scanMaster): do not add RCS to version
11267
11268         * lyxvc.C (versionString): new method
11269
11270         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11271
11272 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11273
11274         * Spacing.C (set): initialize fval
11275
11276 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11277
11278         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11279         " or \.
11280
11281 2001-08-16  Juergen Vigna  <jug@sad.it>
11282
11283         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11284
11285 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11286
11287         * BufferView_pimpl.C:
11288         * figureForm.C:
11289         * lyxtext.h:
11290         * text2.C: setParagraph takes linespacing now
11291
11292 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * LyxAction.C: add internal LFUN_CITATION_INSERT
11295
11296         * LyXView.C: actually apply fix
11297
11298         * bufferlist.C: fix open non-existent file
11299
11300         * lyxfind.C: fix indentation
11301
11302         * lyxfunc.C: remove unneeded assert, fix typo
11303
11304 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * MenuBackend.C: use "Floatname List"
11307
11308 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11309
11310         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11311         when converting LaTeX layout to insetERT.
11312         Generate a non-collapsed float when reading old float
11313
11314 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11315
11316         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11317         ERT insets.
11318
11319 2001-08-13  Juergen Vigna  <jug@sad.it>
11320
11321         * text.C (fill): return 0 instead of 20 as this seems to be the more
11322         correct value.
11323
11324 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11325
11326         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11327         lyxrc.font_norm.
11328
11329 2001-08-13  Juergen Vigna  <jug@sad.it>
11330
11331         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11332         casesensitive off.
11333         (SearchBackward): comment out the unlocking of the inset_owner this
11334         should not be needed!
11335
11336 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11337
11338         * Many files: Remove inherit_language, and add latex_language
11339
11340         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11341         collapsible insets.
11342
11343 2001-08-10  Juergen Vigna  <jug@sad.it>
11344
11345         * text.C (prepareToPrint): fixed hfill-width in draw!
11346
11347         * BufferView2.C (selectLastWord): save the selection cursor as this
11348         now is cleared in the function LyXText::clearSelection!
11349
11350 2001-08-08  Juergen Vigna  <jug@sad.it>
11351
11352         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11353         BACKSPACE type functions.
11354
11355         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11356         is only cutted from the document but not put in the cut-buffer, where
11357         still the old stuff should be.
11358
11359         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11360
11361         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11362
11363         * tabular.C (SetWidthOfCell): fixed special case where the width
11364         was not updated!
11365         (LeftLine): handle '|' in align_special.
11366         (RightLine): ditto
11367         (LeftAlreadyDrawed): ditto
11368         (SetWidthOfCell): ditto
11369
11370 2001-08-07  Juergen Vigna  <jug@sad.it>
11371
11372         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11373
11374 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11375
11376         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11377         * lyxlex.[hC]: ditto
11378
11379 2001-08-06  Juergen Vigna  <jug@sad.it>
11380
11381         * text.C (getVisibleRow): fix up row clearing a bit.
11382
11383 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * minibuffer.C: make sure the X server sees the changes in the input.
11386
11387 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11388
11389         * paragraph.C (getFont): split into...
11390         (getLabelFont): this
11391         (getLayoutFont): and this
11392         * paragraph_pimpl.C (realizeFont): calling this
11393
11394         * text2.C (getFont): split into...
11395         (getLayoutFont): this
11396         (getLabelFont): and this
11397         (realizeFont): all three calling this
11398
11399         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11400         files where used.
11401
11402 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11403
11404         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11405
11406 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11407
11408         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11409         layouts from the Quote inset insertion.
11410
11411 2001-08-03  Juergen Vigna  <jug@sad.it>
11412
11413         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11414
11415         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11416         only if status not is already CHANGED_IN_DRAW (second level).
11417
11418         * text.C (draw): don't set the need_break_row when inside an
11419         InsetText LyXText.
11420
11421 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11422
11423         * buffer.C (parseSingleLyXformat2Token): handle more latex
11424         conversion cases.
11425
11426         * bufferview_funcs.[hC]: change function names to
11427         begin with small char, adjust other files.
11428
11429 2001-08-02  André Pönitz <poenitz@gmx.net>
11430
11431         * lyxfunc.C:
11432         BufferView_pimpl.C: remove broken special code for math-greek
11433
11434 2001-08-02  Juergen Vigna  <jug@sad.it>
11435
11436         * BufferView_pimpl.C (update): redone this function so that we
11437         update the text again if there was a CHANGE_IN_DRAW.
11438
11439         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11440         (drawFromTo): added a new internal bool which is used by draw() and
11441         redraw() function.
11442         (general): some cursor drawing problems fixed.
11443
11444 2001-08-01  Juergen Vigna  <jug@sad.it>
11445
11446         * lyxfind.C (LyXFind): fixed
11447         (SearchForward): ditto
11448         (SearchBackward): ditto
11449
11450         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11451         spurius drawing of the cursor in the main area.
11452
11453         * text2.C (status): small fix which could lead to a segfault!
11454         (clearSelection): remove unneeded BufferView param.
11455
11456 2001-08-01  André Pönitz <poenitz@gmx.net>
11457
11458         * lyxfunc.C: small change due to changed mathed interface
11459
11460 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11461
11462         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11463
11464 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11465
11466         * lyxfunc.c: fail gracefully if file doesn't exist
11467
11468         * LyXSendto.C:
11469         * buffer.C:
11470         * lyxfunc.C:
11471         * BufferView_pimpl.C: IsDirWriteable() proto changed
11472
11473         * LyXView.C: fix updateWindowTitle() to store the last title
11474
11475 2001-07-31  Juergen Vigna  <jug@sad.it>
11476
11477         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11478         the font (wrong since using of Paragraph::highestFontInRange).
11479
11480         * paragraph.C (highestFontInRange): added a default_size parameter.
11481
11482         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11483         (setHeightOfRow): reformat
11484
11485 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * converter.[hC] + affected files: move to (inital-char)lowercase
11488         function names.
11489
11490         * ParagraphParameters.C (ParagraphParameters): remove commented code
11491
11492         * PainterBase.[Ch]: remove commented code
11493
11494         * LaTeXFeatures.h: add "bool floats" for float.sty
11495
11496         * LaTeXFeatures.C (LaTeXFeatures): init floats
11497         (require): handle float
11498         (getPackages): do it with floats
11499
11500 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11501
11502         * BufferView_pimpl.C (Dispatch): improve handling of
11503         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11504
11505         * commandtags.h: #include lyxfont.h here temporarily to avoid
11506         keybinding bug.
11507
11508         * bufferlist.h: include LString.h here.
11509
11510 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11511
11512         * text2.C (getStringToIndex): new method.
11513
11514 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11515
11516         * *: Reduced header file dependencies all over.
11517
11518 2001-07-30  Baruch Even  <baruch@lyx.org>
11519
11520         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11521
11522 2001-07-29  Baruch Even  <baruch@lyx.org>
11523
11524         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11525
11526 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11527
11528         * ParameterStruct.h (endif): add a default constructor to make
11529         sure that all variables is initialized.
11530
11531         * ParagraphParameters.C (ParagraphParameters): adjust
11532
11533 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11534
11535         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11536         index; also, check that there is something to index, and that it
11537         does not span over several paragraphs.
11538         (doubleClick): use WHOLE_WORD_STRICT for double click.
11539
11540         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11541
11542         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11543         scheme.
11544
11545 2001-07-26  Baruch Even  <baruch@lyx.org>
11546
11547         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11548         an InsetFig figure, backwards compatible reading of old figure code.
11549
11550 2001-07-27  Juergen Vigna  <jug@sad.it>
11551
11552         * text2.C: font.realize function adaption.
11553
11554         * text.C (draw): add a warnings lyxerr text if needed.
11555
11556         * layout.C: font.realize function adaption.
11557
11558         * language.C: add inherit_language and implement it's handlings
11559
11560         * bufferview_funcs.C (StyleReset): remove language parameter from
11561         font creation (should be language_inherit now).
11562
11563         * bufferparams.C (writeFile): handle ignore_language.
11564
11565         * paragraph.C (getFontSettings): the language has to be resolved
11566         otherwise we have problems in LyXFont!
11567
11568         * lyxfont.C (lyxWriteChanges): added document_language parameter
11569         (update): removed unneeded language parameter
11570
11571         * paragraph.C (validate): fixed wrong output of color-package when
11572         using interface colors for certain fonts in certain environments,
11573         which should not seen as that on the final output.
11574
11575 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * BufferView_pimpl.C:
11578         * Thesaurus.h:
11579         * Thesaurus.C:
11580         * Makefile.am:
11581         * commandtags.h:
11582         * LyXAction.C: add thesaurus support
11583
11584         * lyxfind.h:
11585         * lyxfind.C: add "once" parameter, for thesaurus, to not
11586           move to the next match
11587
11588 2001-07-26  Juergen Vigna  <jug@sad.it>
11589
11590         * lyxfont.C (realize): honor ignore_language too!
11591         (resolved): ditto.
11592
11593         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11594
11595         * text.C (draw): one place more for ignore_language to not draw
11596         itself!
11597
11598 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11599
11600         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11601
11602 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11603
11604         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11605         the minipage conversion problem.
11606
11607 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11610         insert an inset.
11611
11612 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * BufferView.h: don't forward declare WorkArea
11615
11616         * BufferView.C: don't include WorkArea.h
11617
11618 2001-07-25  André Pönitz <poenitz@gmx.net>
11619
11620         * commandtags.h:
11621         * LyXAction.C:
11622         * lyxfunc.C:  new LFUN 'math-space'
11623
11624         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11625
11626 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * text2.C (toggleInset): call open/close
11629
11630 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * lyxfunc.C (dispatch): add debug for the disabled case
11633
11634         * font.C (buttonText): make similar to rectText
11635
11636         * buffer.C (readInset): comment out parsing of insetlist and
11637         insttheorem
11638
11639         * PainterBase.C (rectText): small correction
11640
11641         * BufferView_pimpl.C: comment out insettheorem and insetlist
11642         * LyXAction.C: ditto
11643         * commandtags.h: ditto
11644
11645 2001-07-24  Juergen Vigna  <jug@sad.it>
11646
11647         * text.C (draw): honor the ignore_language.
11648
11649         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11650
11651 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11652
11653         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11654         char inset.
11655
11656 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11657
11658         * lyxtext.h: remove unused (and unimplemented) methods
11659
11660 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11661
11662         * text.C (getVisibleRow): honor background color
11663
11664         * PainterBase.h:
11665         * Painter.h: remove default color argument for fillRectangle
11666
11667         * text.C (backgroundColor): new method
11668
11669 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * text.C (getVisibleRow): adjust
11672
11673         * font.[Ch] (rectText): new method, metrics
11674         (buttonText): new method, metrics
11675
11676         * PainterBase.[hC]: make rectText and buttonText always draw and take
11677         fewer paramteres.
11678
11679 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11680
11681         * ToolbarDefaults.C (read):
11682         * MenuBackend.C (read): allow escaping in all strings
11683
11684         * BufferView_pimpl.C (insertAndEditInset): new method.
11685         (Dispatch): use insertAndEditInset whenever appropriate.
11686
11687         * BufferView_pimpl.C (insertNote): removed
11688
11689         * BufferView_pimpl.C (smartQuote): new method, moved from
11690         BufferView; if an insetquote cannot be inserted, insert a '"'
11691         character instead.
11692
11693         * BufferView2.C: remove insertCorrectQuote();
11694
11695         * lyxfunc.C (getStatus): Add support for all remaingin
11696         inset-insert lfuns.
11697
11698         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11699
11700         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11701         command (necessary to pass " as parameter of self-insert.
11702
11703         * text.C (selectWordWhenUnderCursor):
11704         (selectWord): add word_location parameter
11705         (selectWordWhenUnderCursor): same + remove special code for word
11706         boundary.
11707         (selectNextWord): use kind() to guess type of insetspecialchar,
11708         not latex().
11709
11710         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11711         (insertErtContents): create ert insets as collapsed.
11712         (readInset): better compatibility code for Info inset.
11713
11714 2001-07-20  Juergen Vigna  <jug@sad.it>
11715
11716         * lyxfunc.C (dispatch): use always LyXFind now!
11717
11718         * text2.C (init): add a reinit flag so that the LyXText can be
11719         reinited instead of deleted and reallocated (used in InsetText).
11720
11721         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11722
11723         * text.C: ditto
11724
11725         * text2.C: ditto
11726
11727 2001-07-18  Juergen Vigna  <jug@sad.it>
11728
11729         * text.C (selectNextWord): handle insets inside inset by calling
11730         always the bv->text functions so that we can go up the_locking_inset!
11731
11732         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11733         in strange locations when inside an inset!
11734
11735         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11736         handling to include insets.
11737
11738         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11739
11740 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11741
11742         * LyXAction.C (init):
11743         * commandtags.h:
11744         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11745         LIGATURE_BREAK, since the name is so stupid.
11746
11747 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11748
11749         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11750         InsetInfos.
11751
11752         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11753
11754         * sp_form.[Ch]: remove.
11755
11756         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11757
11758         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11759         InsetInfo.
11760
11761         * src/buffer.C (readInset): ditto.
11762
11763 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11764
11765         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11766         menuSeparator(), endOfSentenceDot(), ldots() and
11767         hyphenationPoint(), which are therefore removed.
11768         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11769
11770         * LyXAction.C (init):
11771         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11772
11773         * paragraph.C (getWord): removed.
11774
11775         * BufferView_pimpl.C (Dispatch): use last word or selection for
11776         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11777
11778         * lyx_main.C (queryUserLyXDir): do not ask before creating
11779         user_dir, except if it has been named explicitely.
11780
11781 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11782
11783         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11784         a document of zero size.
11785
11786 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11789         approriately in the c-tor and in require().
11790         (getPackages): output the appropriate LaTeX for natbib support.
11791
11792         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11793         variables "use_natbib" and "use_numerical_citations" when reading the
11794         LyX file.
11795         (readInset): read the various natbib cite commands.
11796         (validate): white-space change.
11797
11798         * bufferparams.[Ch]: new variables "bool use_natbib" and
11799         "bool use_numerical_citations".
11800         (writeFile): output them in the LyX file.
11801
11802 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11803
11804         * lyxfunc.C (getStatus): add support for all the inset insertion
11805         commands.
11806
11807         * text2.C (insertInset):
11808         * paragraph.C (insetAllowed):
11809         * BufferView_pimpl.C (insertInset): update to take in account the
11810         renaming of insertInsetAllowed
11811
11812         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11813
11814         * text2.C (getInset): new method. returns inset at cursor position.
11815
11816         * BufferView_pimpl.C (Dispatch): changes because of this.
11817
11818         * LyXAction.C (init): rename open-stuff to inset-toggle.
11819
11820         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11821
11822         * text2.C (toggleInset): renamed from openStuff; use
11823         Inset::open().
11824
11825 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11826
11827         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11828
11829         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11830
11831 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11832
11833         * buffer.C (readLyXformat2): Add filename to the error dialog
11834
11835 2001-07-18  Juergen Vigna  <jug@sad.it>
11836
11837         * tabular.C (GetCellNumber): put an assert here instead of the check!
11838
11839 2001-07-17  Juergen Vigna  <jug@sad.it>
11840
11841         * BufferView_pimpl.C (toggleSelection): adapted too.
11842
11843         * text.C (selectNextWord): adapted for use with insets.
11844         (selectSelectedWord): ditto
11845
11846 2001-07-17  Juergen Vigna  <jug@sad.it>
11847
11848         * sp_spell.C (PSpell): fix initialitation order.
11849
11850 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * paragraph.C: spacing
11853
11854 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11855
11856         * sp_spell.C: repair language selection for pspell
11857
11858 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11859
11860         * lyxfunc.h: change more methods to begin with lower char.
11861
11862 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11863
11864         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11865         for unknown layouts.
11866
11867 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11868
11869         * buffer.C (readLyXformat2): Generate an error dialog if there are
11870         unknown layouts.
11871
11872 2001-07-16  Juergen Vigna  <jug@sad.it>
11873
11874         * sp_spell.C: always compile ISpell part.
11875
11876         * lyxrc.C: added use_pspell entry and it's handling.
11877
11878 2001-07-13  Juergen Vigna  <jug@sad.it>
11879
11880         * sp_spell.C: removed double includes.
11881
11882 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11883
11884         Consistent use of Lsstream.h:
11885         * Lsstream.h: added using std::stringstream for consistencies sake.
11886
11887         * buffer.C: removed using std::stringstream
11888
11889         * lyxfont.C (stateText):
11890         * paragraph.C (asString):
11891         * text.C (selectNextWord, selectSelectedWord):
11892         * text2.C (setCounter):
11893         * vspace.C (asString, asLatexString):
11894         std::ostringstream -> ostringstream.
11895
11896 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11897
11898         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11899         * commandtags.h: add LFUN_HELP_ABOUTLYX
11900         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11901
11902 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11903
11904         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11905         cursorToggle()
11906         * lyx_gui_misc.C: remove spellchecker
11907         * lyxfunc.C: showSpellchecker
11908         * sp_base.h: added
11909         * sp_ispell.h: added
11910         * sp_pspell.h: added
11911         * sp_spell.C: added
11912         * sp_form.[Ch]: removed
11913         * spellchecker.[Ch]: removed
11914
11915 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11916
11917         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11918         is set.
11919         (simpleTeXSpecialChars): Simply print the input character without
11920         any special translation if pass_thru is set.
11921
11922         * layout.h: Added bool pass_thru to layout class for being able to
11923         implement pass through of a paragraph for Literate Programming.
11924
11925         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11926         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11927         * layout.C (Read): add "passthru" to list of layout tags and add
11928         code to set the pass_thru boolean when it is read.
11929
11930 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11931
11932         * trans_decl.h: remove allowed from KmodInfo
11933
11934         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11935         remove allowed code
11936         (Load): adjust
11937
11938         * paragraph_pimpl.C (erase): use boost::prior
11939
11940         * Painter.C (text): use data() instead of c_str() when length is
11941         also provided.
11942         * WorkArea.C (putClipboard): ditto
11943         * font.h (width): ditto
11944
11945         * BufferView2.C: use it-> instead of (*it). for iterators
11946         * texrow.C: ditto
11947         * paragraph_pimpl.C: ditto
11948         * paragraph.C: ditto
11949         * minibuffer.C: ditto
11950         * language.C: ditto
11951         * kbmap.C: ditto
11952         * encoding.C: ditto
11953         * counters.C: ditto
11954         * converter.C: ditto
11955         * chset.C: ditto
11956         * Variables.C: ditto
11957         * TextCache.C: ditto
11958         * MenuBackend.C: ditto
11959         * LyXAction.C: ditto
11960         * LColor.C: ditto
11961         * FloatList.C: ditto
11962         * DepTable.C: ditto
11963         * ColorHandler.C (LyXColorHandler): ditto
11964
11965 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11968
11969         * text2.C (openStuff): reintroduce this method (which had been
11970         nuked in NEW_INSETS frenzy).
11971
11972         * lyxfunc.C (Dispatch): when an action has not been handled, use
11973         its name in the error message, not its number.
11974
11975         * paragraph.C (inInset): change method name to begin with lowercase.
11976
11977         * undo_funcs.C:
11978         * text2.C: updates because of this.
11979
11980 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11981
11982         * ToolbarDefaults.C (add): add spaces in error message
11983
11984 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11985
11986         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11987         (readLyXformat2): rename return_par to first_par, use lyxlex's
11988         pushToken and remove the manual push handling.
11989         (parseSingleLyXformat2Token): add another ert comp. variable:
11990         in_tabular, rename return_par to first_par. handle newlines better
11991
11992 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11993
11994         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11995
11996 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * text2.C (getParFromID): removed
11999
12000         * buffer.C (getParFromID): new method moved form lyxtext.
12001         * BufferView2.C (insertErrors): adjust
12002         (setCursorFromRow): adjust
12003         * BufferView_pimpl.C (restorePosition): adjust
12004         * lyxfunc.C (Dispatch): adjust
12005         * undo_funcs.C (textUndo): adjust
12006         (textRedo): adjust
12007         (textHandleUndo): adjust
12008         (textHandleUndo): adjust
12009
12010 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * buffer.C: up' the LYX_FORMAT
12013
12014         * lyxfont.h: turn NO_LATEX on as default
12015
12016         * buffer.C (insertErtContents): new methods of tex style compability.
12017         (parseSingleLyXformat2Token): use it several places.
12018         * tabular.C (OldFormatRead): and here
12019
12020 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * text2.C: remove some commented code.
12023         reindent file.
12024
12025         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12026         * trans.C: changes because of the above.
12027
12028 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12029
12030         * text2.C (setCounter): Fix counters bug with bibliography layout.
12031
12032 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12033
12034         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12035         own member functions
12036         (simpleTeXSpecialChars): ditto
12037
12038 2001-07-06  Juergen Vigna  <jug@sad.it>
12039
12040         * a lot of files: changed the access to LyXText::status and the
12041         call of undo-functions.
12042
12043         * undo.[Ch]: added a inset_id to the undo informations.
12044
12045         * undo_funcs.[Ch]: added and moved here all undo functions.
12046
12047         * lyxtext.h: give the status enum a weight, made status_ a private
12048         variable and made accessor functions for it, removed the whole bunch
12049         of undo-functions as they are now in their own file, make some
12050         functions publically available. Added function ownerParagraph with
12051         int parameter.
12052
12053         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12054         made InInset() a const function, added getParFromID() function.
12055
12056         * buffer.[Ch]: added const version for inset_iterator functions,
12057         added getInsetFromID() function.
12058
12059         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12060         changed undo functions for new version.
12061
12062 2001-07-05  Juergen Vigna  <jug@sad.it>
12063
12064         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12065         unknow mechanism does not call the proper constructor but only this
12066         one also if I request the other!?
12067
12068 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12071
12072         * text2.C (LyXText): use initialization lists.
12073
12074         * lyxtext.h (Selection): initialize set_ and mark_
12075         (init): remove method
12076
12077 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12078
12079         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12080
12081 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12082
12083         * screen.[Ch]: change method names to begin with lowercase
12084
12085         * BufferView_pimpl.C (updateScrollbar): simplify further and
12086         hopefully make it a bit faster.
12087
12088 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12089
12090         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12091         calling directly xforms functions.
12092
12093         * Painter.C (Painter):
12094         * lyx_cb.C (MenuWrite):
12095         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12096         fl_display.
12097
12098         * lyx_gui.C: remove bogus guiruntime extern declaration.
12099
12100 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12101
12102         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12103         in NEW_INSETS
12104         (redoDrawingOfParagraph): ditto
12105         (redoParagraphs): ditto
12106         (cutSelection): don't create a object for CutAndPaste use the
12107         static method directly
12108         (pasteSelection): ditto
12109
12110         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12111         LyXview (+ rename)
12112
12113 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12114
12115         * modifications to some other files because of this.
12116
12117         * Makefile.am (lyx_SOURCES): add XFormsView
12118
12119         * XFormsView.[Ch]: new files
12120
12121         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12122         the main window. Move the gui dependent stuff to XFormsView
12123
12124 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12125
12126         * tabular.C (GetCellInset): update cur_cell also in the row/col
12127         version of this function.
12128
12129         * lyxfunc.C: no need to include figure_form.h here.
12130
12131         * FontLoader.h:
12132         * lyxfunc.h:
12133         * lyxscreen.h:
12134         * text2.C:
12135         * lyxvc.C: no need to include forms.h here.
12136
12137 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12138
12139         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12140
12141         * lyxfunc.C (Dispatch):
12142         * Spacing.C (set):
12143         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12144         constructor argument.
12145
12146 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * paragraph.C (Paragraph): dont't clear, and just set layout.
12149         (makeSameLayout): use params's copy contructor.
12150
12151         * ParagraphParameters.[Ch] (makeSame): delete method
12152
12153 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * Variables.[Ch]: fix indentation, rename set to isSet
12156
12157 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * lyxfunc.C (Dispatch): fix typo
12160
12161 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12162
12163         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12164         upper_bound.
12165
12166         * bufferlist.C: include assert.h for emergencyWrite().
12167
12168 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12171           give up at last (bug #425202) !
12172
12173 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * lyx_gui_misc.C:
12176         * sp_form.h:
12177         * sp_form.C:
12178         * spellchecker.h:
12179         * spellchecker.C: strip spellchecker options and bring up
12180           preferences tab instead
12181
12182 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12185         the istringstream constructor
12186
12187 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12188
12189         * paragraph.C (getLayout): fix return value
12190
12191         * paragraph.h: do not declare getLayout as inline.
12192
12193         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12194
12195 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12196
12197         * lyxcursor.h (operator<): new func
12198         (operator>): new func
12199         (operator>=): new func
12200         (operator<=): new func
12201
12202         * text.C (changeCase): use selection.start and selection.end
12203         (changeRegionCase): require from to be <= to. Require par to be a
12204         valid paragraph.
12205
12206         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12207
12208 2001-06-27  Juergen Vigna  <jug@sad.it>
12209
12210         * text.C (cursorLeftOneWord): changed to return the cursor and added
12211         overlay with BufferView * parameter which calls this one.
12212         (getWord): added
12213         (selectWord): use new getWord function.
12214         (changeCase): renamed from changeWordCase as and extended to work
12215         also on selections.
12216
12217         * lyxtext.h: added enum word_location
12218
12219         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12220         changeCase as this operates now also on selections.
12221
12222 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12223
12224         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12225
12226         * many files: send debug output to Debug::INFO instead of
12227         Debug::ANY.
12228
12229         * converter.C (View):
12230         (Convert):
12231         (Move): send debug output to Debug::FILES instead of console.
12232
12233 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12234
12235         * lyxfunc.C (getStatus): use func_status
12236
12237         * func_status.h: new header, describing the results of
12238         LyXFunc::getStatus;
12239
12240         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12241         LFUN_MATH_HALIGN.
12242
12243 2001-06-25  The LyX Project  <jug@sad.it>
12244
12245         * buffer.C (sgmlOpenTag):
12246         (sgmlCloseTag):
12247         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12248
12249 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * text2.C: remove some dead code
12252
12253         * tabular.C (GetCellInset): store the last cell checked (gotten)
12254
12255         * tabular.h: add the helper for the speedup
12256
12257         * lyxtext.h: remove some dead code
12258
12259 2001-06-26  The LyX Project  <Asger>
12260
12261         * paragraph.C: Change export to LaTeX of alignment to
12262         \begin{center} and family for better roundtrip work with reLyX.
12263
12264         * Tune the math drawing a bit.
12265
12266 2001-06-25  The LyX Project  <Asger>
12267
12268         * LColor.C (LColor): New color for math background. New color
12269         for buttons.
12270
12271 2001-06-25  The LyX Project  <jug@sad.it>
12272
12273         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12274
12275         * lyxfunc.C (Open):
12276         * bufferlist.C (newFile): do not restrict to files ending with
12277         .lyx
12278
12279         * BufferView_pimpl.C (MenuInsertLyXFile):
12280
12281 2001-06-24  The LyX Project  <jug@sad.it>
12282
12283         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12284         of compare_no_case
12285
12286 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * lyxtext.h: rename most methods to begin with a small char.
12289         Lots of changes because of this.
12290
12291         * paragraph.C (Paragraph): do not call fitToSize
12292         (erase): call Pimpl::erase
12293         (insertChar): call Pimpl::insertChar
12294         (insertInset): call Pipl::insertInset
12295         (breakParagraph): do not call fitToSize
12296         (breakParagraphConservative): do not call fitToSize
12297         (fitToSize): remove method
12298
12299         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12300
12301 2001-06-24  The LyX Project  <Asger>
12302
12303         * Fix Qt compilation^2
12304
12305 2001-06-24  The LyX Project  <jug@sad.it>
12306
12307         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12308         depthHook(getDepth()-1).
12309
12310         * paragraph.h:
12311         * ParagraphParameters.h:
12312         * ParameterStruct.h: change type of depth to unsigned int ==
12313         depth_type. Many adaptations to other files before of that.
12314
12315 2001-06-24  The LyX Project  <Asger>
12316
12317         * Fix Qt compilation.
12318
12319 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * paragraph.h: renamed several methods to begin with small letter.
12322         several changes to many parts of the code because of this.
12323
12324 2001-06-23  The LyX Project  <jug@sad.it>
12325
12326         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12327         rewritten to discard all double spaces when KeepEmpty is off
12328         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12329         to only handle newlines but not fiddle with spaces and friends.
12330
12331         * lyxfunc.C (MenuNew): when doing 'new from template', use
12332         template_path as default directory
12333
12334 2001-06-23  The LyX Project  <Asger>
12335
12336         * Clean-up of header file includes all over
12337         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12338
12339 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * paragraph.h: renamed from lyxparagraph.h
12342
12343 2001-06-23  Asger  <lyx@violet.home.sad.it>
12344
12345         * Buffer.h: Removed Buffer::resize
12346         * BufferList.h: Removed BufferList::resize
12347         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12348         the document lazily when we change the width, or the font settings.
12349
12350 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12353
12354 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * buffer.h: remove out of date comment
12357
12358 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * lyxscreen.h:
12361         * screen.C: fix "theoretical" GC leak
12362
12363 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12364
12365         * LaTeX.C (scanAuxFile):
12366         (deplog): remove trailing \r when reading stream (useful under
12367         win32)
12368
12369 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12370
12371         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12372         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12373         and BufferView::theLockingInset(Inset*), so should use them and not
12374         access bv_->text->the_locking_inset directly.
12375
12376         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12377
12378 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12379
12380         * Makefile.am:
12381         * tex-defs.h: remove old unused file
12382
12383 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * BufferView_pimpl.C: fix typo, remove minibuffer message
12386           when buffer has loaded
12387
12388 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * lyxfunc.C (Dispatch): use stringstream
12391         (MenuNew): use stringstream
12392         (Open): use stringstream
12393
12394         * importer.C (Import): use stringstream
12395
12396         * bufferview_funcs.C (CurrentState): use stringstream
12397
12398         * LaTeX.C (run): use stringstream
12399
12400         * BufferView_pimpl.C (savePosition): use stringstream
12401         (restorePosition): use stringstream
12402         (MenuInsertLyXFile): use stringstream
12403
12404 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12405
12406         * BufferView.C:
12407         * Bullet.C:
12408         * ColorHandler.C:
12409         * FontInfo.C:
12410         * FontLoader.C:
12411         * LColor.C:
12412         * LaTeXFeatures.C:
12413         * Painter.C:
12414         * gettext.C:
12415         * lyx_gui_misc.C:
12416         * lyxserver.C:
12417         * vspace.C: removed // -*- C++ -*- as first line.
12418
12419         * lyxfind.h:
12420         * version.h: added // -*- C++ -*- as first line.
12421
12422 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12423
12424         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12425
12426         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12427         of string
12428
12429 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12430
12431         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12432         of floats.
12433
12434 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12435
12436         * gettext.C: include LString.h even when --disable-nls is on.
12437
12438 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12439
12440         * converter.h (Get): changed argument type from int to
12441         FormatList::size_type to avoid unnecessary conversion.
12442
12443         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12444         before using it.
12445
12446 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12447
12448         * gettext.h: include LString.h even when --disable-nls is on.
12449
12450 2001-06-07  Juergen Vigna  <jug@sad.it>
12451
12452         * text.C (BreakAgain): subst spaces with tabs.
12453
12454         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12455         (resizeInsetsLyXText): set force on resizeLyXText.
12456
12457 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12458
12459         * gettext.h (gettext_init):
12460         (locale_init): use a real definition instead of a macro
12461
12462 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * Bufferview_pimpl.C:
12465         * LColor.h:
12466         * LColor.C: further lcolor tidies
12467
12468 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * BufferView_pimpl.C (updateScrollbar): simplify.
12471
12472         * BufferView2.C: don't include insets/insetinfo.h, change
12473         prototype for insertInset and call the Pimpl version. let
12474         updateInset call Pimpl version.
12475
12476         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12477         gotoInset to BufferView::Pimpl
12478
12479 2001-06-01  Juergen Vigna  <jug@sad.it>
12480
12481         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12482         inside a LockingInset (is the update needed at all?).
12483
12484 2001-05-31  Juergen Vigna  <jug@sad.it>
12485
12486         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12487         here not the old one otherwise how should we compare it afterwards
12488         if it's the same!
12489
12490 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12491
12492         * lyxfont.C:
12493         * tabular.C:
12494         * tabular-old.C:
12495         * FontInfo.C: bring C functions into global namespace when
12496         necessary
12497
12498 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12499
12500         * LString.h: make sure config.h has been loaded before LString.h.
12501
12502         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12503         (one for each char read by EatLine!).
12504
12505         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12506         variables.
12507
12508 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12511         to the same as the par we break from
12512
12513 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12514
12515         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12516
12517         * MenuBackend.C (expand): also create menu entries for wide
12518         versions of the floats.
12519
12520         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12521
12522         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12523
12524         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12525         frontends/Makefile.am
12526
12527         * text2.C: adjust
12528         * text.C: adjust
12529
12530
12531         * tabular.C (getTokenValue): add std::
12532
12533         * tabular-old.C (getTokenValue): add std::
12534         (getTokenValue): ditto
12535         (getTokenValue): ditto
12536
12537         * screen.C (ToggleSelection): adjust
12538
12539         * lyxtext.h: put selection cursors inside a Selection struct.
12540
12541         * lyxfunc.C (moveCursorUpdate): adjust
12542
12543         * lyxfont.C (latexWriteStartChanges): add std::
12544
12545         * lyxfind.C: adjust
12546
12547         * font.h: delete with(char const *, LyXFont const &)
12548
12549         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12550
12551         * FontInfo.C (getFontname): add std::
12552
12553         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12554         (workAreaButtonPress): adjust
12555         (tripleClick): adjust
12556         (update): adjust
12557         (moveCursorUpdate): adjust
12558         (Dispatch): adjust
12559
12560         * BufferView2.C (gotoInset): adjust
12561
12562 2001-05-30  Juergen Vigna  <jug@sad.it>
12563
12564         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12565         to check pspell I add this as default as I now have new pspell
12566         libraries and they seem to use this.
12567
12568 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * text2.C (CutSelection): make the cursor valid before the call to
12571         ClearSelection.
12572
12573 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12574
12575         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12576         relied on 0 terminated strings and other horrors. Bug found due to
12577         the new assert in lyxstring!
12578
12579         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12580         KP_ keys.
12581
12582 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12585         to latinkeys.bind.
12586
12587         * lyxfunc.C (processKeySym): change method of getting to the
12588         self-insert char.
12589
12590         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12591         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12592         * BufferView_pimpl.[Ch]: here as private methods.
12593
12594 2001-05-28  Juergen Vigna  <jug@sad.it>
12595
12596         * text.C (SetHeightOfRow): added the update() call again as it is
12597         needed to initialize inset dimensions!
12598
12599 2001-05-16  Juergen Vigna  <jug@sad.it>
12600
12601         * text2.C (SetCharFont): Add new function with BufferView * and
12602         bool toggleall parameters for setting insets internal fonts.
12603         (SetFont): Freeze the undo as we may change fonts in Insets and
12604         all this change should be inside only one Undo!
12605
12606         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12607         setting font's in insets as for them we have the SetFont function!
12608
12609 2001-05-15  Juergen Vigna  <jug@sad.it>
12610
12611         * text2.C (ClearSelection): to be sure we REALLY don't have any
12612         selection anymore!
12613
12614         * tabular.C (TeXCellPreamble): fixed the left border problem for
12615         multicolumn cells.
12616
12617 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12618
12619         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12620         dependancy file
12621
12622 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12625         LFUN_BREAKPARAGRAPH.
12626
12627         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12628         help test to "internal only", similar for LFUN_INSERT_URL
12629
12630         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12631         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12632         auto_region_delete and deadkeys.
12633
12634 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * LColor.h:
12637         * LColor.C: remove some dead entries, tidy a little
12638
12639 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12640
12641         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12642         commented code.
12643         (Dispatch): implement LFUN_ESCAPE
12644
12645         * commandtags.h: add LFUN_ESCAPE
12646
12647         * LyXAction.C (init): add entry for LFUN_ESCAPE
12648
12649         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12650         Remove commented code.
12651         (insertNote): moved here
12652         (open_new_inset): moved here
12653
12654         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12655         BufferView_pimpl
12656
12657 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12658
12659         * kbmap.C (findbinding): clean it up and make it work correctly.
12660
12661         * lyx_main.C (init): do not pass argc and argv as parameters
12662
12663 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12664
12665         * buffer.C: fix path for OS/2 & Win32
12666
12667         * lyx_gui.C:
12668         * lyx_main:
12669         * lyx_main.C: Added os:: class.
12670
12671         * os2_defines.h: update
12672
12673 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12674
12675         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12676         better by trying again with reduced state.
12677
12678 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12679
12680         * lyxrc.C (read): print error about invalid key sequence only when
12681         debugging (because not all latinX keysyms are known to some X
12682         servers)
12683
12684         * kbsequence.C (getiso): add a few std:: qualifiers
12685         (getiso): comment out extra return statement.
12686
12687 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12690         handling.
12691         (Dispatch): enhance the accent inset a bit. (not perfect)
12692
12693 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12696
12697 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12698
12699         * bufferlist.C (emergencyWrite): fix assert() call
12700
12701 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12702
12703         * text.C (InsertChar): Added trivial patch to only send the "you
12704         can not do multiple spaces this way" message once during a
12705         session.
12706
12707 2001-05-08  Baruch Even  <baruch@lyx.org>
12708
12709         * Makefile.am: Changed order of libraries to get LyX to link properly
12710         with the gnome frontend.
12711
12712 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * LaTeXFeatures.h: add a std:: qualifier
12715
12716 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12717
12718         * paragraph.C (String): use stringstream
12719
12720 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * paragraph.C (writeFile): remove footflag arg
12723
12724         * buffer.C (makeLaTeXFile): use stringstream
12725         (latexParagraphs): remove footnot gurba
12726
12727         * LaTeXFeatures.C (getPackages): use stringstream
12728         (getMacros): likewise
12729         (getTClassPreamble): likewise
12730         (getFloatDefinitions): new method
12731
12732         * paragraph.C (writeFile): reindent
12733         (Erase): reindent
12734
12735         * WorkArea.h: revert the xpos + etc changes.
12736
12737         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12738
12739         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12740
12741         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12742         (pasteSelection): likewise
12743         * text2.C (CreateUndo): likewise
12744
12745 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12746
12747         * minibuffer.C (peek_event): temporarily reduce the functionality
12748         of the minibuffer (to allow args on lfuns)
12749
12750         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12751         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12752
12753         * buffer.C (readInset): add compability reading of old float
12754         lists, add reading of new style float list.
12755         (readInset): avoid reevaluation of inscmd.getCmdName()
12756         (getLists): reindent
12757
12758         * MenuBackend.C (MenuItem): implement parsing of
12759         md_floatlistinsert and md_floatinsert.
12760         (expand::LastFiles): move initalizaton of iterators out of loop,
12761         avoid reevaluation.
12762         (expand::Documents): introduce typdedef vector<string> Strings,
12763         and use it.
12764         (expand::ExportFormats): introduce typedef vector<Format const *>
12765         Formats, and use it.
12766         (expand): implement FloatListInsert and FloatInsert.
12767
12768         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12769         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12770         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12771
12772         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12773         handling.
12774         (Dispatch::LFUN_FLOAT_LIST): implement
12775
12776 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12777
12778         * LaTeX.C (run): Fix problem with --export code.
12779
12780 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12781
12782         * BufferView.[Ch] (workarea): removed.
12783         (getClipboard) new method; wrapper for workarea()->getClipboard()
12784
12785         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12786         bug.
12787
12788         * WorkArea.h (width, height, xpos, ypos): These methods all
12789         returned the dimensions of the work_area sub-area of WorkArea,
12790         resulting in a position error if the WorkArea were resized. Now
12791         return the dimensions of the entire WorkArea.
12792
12793         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12794
12795 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * LaTeX.C (deplog): correct the syntax of regex reg1
12798
12799 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * undo.C: remove !NEW_INSETS cruft
12802
12803 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * text2.C: remove !NEW_INSETS cruft
12806
12807         * text.C: remove !NEW_INSETS cruft
12808
12809         * tabular.C: remove !NEW_INSETS cruft
12810
12811         * spellchecker.C: remove !NEW_INSETS cruft
12812
12813         * lyxtext.h: remove !NEW_INSETS cruft
12814
12815         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12816
12817         * lyxfunc.C: remove !NEW_INSETS cruft
12818
12819         * lyxfind.C: remove !NEW_INSETS cruft
12820
12821         * lyx_cb.C: remove !NEW_INSETS cruft
12822
12823         * figureForm.C: remove  !NEW_INSETS cruft
12824
12825         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12826
12827         * buffer.[Ch]: remove !NEW_INSETS cruft
12828
12829         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12830
12831         * CutAndPaste.C: remove !NEW_INSETS cruft
12832
12833         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12834
12835         * BufferView2.C: remove !NEW_INSETS cruft
12836
12837         * BufferView.h: remove !NEW_INSETS cruft
12838
12839 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12840
12841         * Lsstream.h: include LString.h before the sstream headers to
12842         fix problem with gcc 2.95.3 and lyxstring
12843
12844 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12845
12846         * lyx_main.C: add using directives when needed for C functions
12847         declared in std:: namespace.
12848
12849 2001-04-27  Juergen Vigna  <jug@sad.it>
12850
12851         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12852         (SetHeightOfRow): comment out the update call should not be needed!
12853
12854 2001-04-13  Juergen Vigna  <jug@sad.it>
12855
12856         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12857         (LyXTabular): tried to minimize operator= operations (and realized
12858         hopfully Lars wish).
12859
12860 2001-04-27  Juergen Vigna  <jug@sad.it>
12861
12862         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12863
12864 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12867
12868         * buffer.C (readInset): hack to make listof algorithm work
12869
12870         * BufferView_pimpl.C: hack to make listof algorithm work
12871
12872 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12873
12874         * LyXAction.C: removed all !NEW_INSETS cruft
12875         (init): moved lfun_item in method
12876
12877         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12878
12879 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12880
12881         * BufferView2.C (theLockingInset): white space.
12882
12883 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * minibuffer.C: include <iostream>
12886
12887         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12888
12889         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12890
12891         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12892
12893         * text.[Ch] (TransposeChars): new method
12894
12895 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12896
12897         * call message directly through LyXView instead of through LyXFunc
12898         * BufferView2.C: adjust
12899         * BufferView_pimpl.C: adjust
12900         * FontLoader.C: adjust
12901         * buffer.C: adjust
12902         * bufferview_funcs.C: adjust
12903         * converter.C: adjust
12904         * figureForm.C: adjust
12905         * importer.C: adjust
12906         * lyx_cb.C: adjust
12907         * lyx_gui_misc.C: adjust
12908         * lyxfunc.C: adjust
12909         * lyxvc.C: adjust
12910         * text2.C: adjust
12911         + more files in subdirs
12912
12913         * lyxparagraph.h (size): move up int file
12914         (GetLayout): ditto
12915
12916         * adjust all uses of Assert to lyx::Assert.
12917
12918         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12919         lyxfunctional in namespace lyx
12920         * layout.C (hasLayout): ditto
12921         (GetLayout): ditto
12922         (GetLayout): ditto
12923         (delete_layout): ditto
12924         (NumberOfClass): ditto
12925         * converter.C (GetFormat): ditto
12926         (GetNumber): ditto
12927         (Add): ditto
12928         (Delete): ditto
12929         (SetViewer): ditto
12930         * bufferlist.C (getFileNames): ditto
12931         (emergencyWriteAll): ditto
12932         (exists): ditto
12933         (getBuffer): ditto
12934         * MenuBackend.C (hasSubmenu): ditto
12935         (hasMenu): ditto
12936         (getMenu): ditto
12937         * BufferView_pimpl.C (getInsetByCode): ditto
12938
12939 2001-04-18  Juergen Vigna  <jug@sad.it>
12940
12941         * vspace.C (asLatexString): fixed the 100% problem.
12942
12943 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12944
12945         * lyxfunc.C (Dispatch):
12946         * minibuffer.C:
12947         * minibuffer.h: add a few std:: qualifiers
12948
12949 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * minibuffer.[Ch]: reimplement so that commands is initiated and
12952         run from lyxfunc, simplified som handling, and made the completion
12953         and history code for complete. wip.
12954
12955         * lyxfunc.C (processKeySym): call message
12956         (miniDispatch): new temporary method
12957         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12958         (LFUN_MESSAGE): implement
12959         (LFUN_MESSAGE_PUSH): implement
12960         (LFUN_MESSAGE_POP): implement
12961         (initMiniBuffer): the initial/defualt minibuffer message.
12962
12963         * lyxfont.[Ch]: inline some more getters
12964
12965         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12966
12967         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12968
12969         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12970         (AutoSave): use LFUN_MESSAGE
12971         (Reconfigure): ditto
12972
12973         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12974
12975         * figureForm.C: use LFUN_MESSAGE
12976
12977         * converter.C (runLaTeX): use LFUN_MESSAGE
12978
12979         * bufferview_funcs.C: use LFUN_MESSAGE
12980         (Melt): ditto
12981         (changeDepth): ditto
12982
12983         * bufferparams.h: use boost::
12984
12985         * bufferlist.h: inherit privately from noncopyable
12986
12987         * bufferlist.C (loadLyXFile): remove some commented code.
12988
12989         * buffer.C (runChktex): use LFUN_MESSAGE
12990
12991         * ShareContainer.h: inherit privately from noncopyable
12992
12993         * ParagraphParameters.[hC] (depth): inline it.
12994
12995         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12996         methods.
12997         (message): new method
12998         (messagePush): ditto
12999         (messagePop): ditto
13000         (show): init minibuffer
13001         (showState): direct call
13002
13003         * LaTeX.[Ch]: inherit privately from noncopyable
13004         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13005         instead of WriteStatus.
13006
13007         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13008
13009         * BufferView_pimpl.C (buffer): don't init minibuffer
13010         (workAreaButtonPress): use LFUN_MESSAGE
13011         (workAreaButtonRelease): ditto
13012         (savePosition): ditto
13013         (restorePosition): ditto
13014         (MenuInsertLyXFile): ditto
13015         (workAreaExpose): don't init minibuffer
13016         (update): remove commented code, simplify
13017
13018         * BufferView2.C (openStuff): use LFUN_MESSAGE
13019         (toggleFloat): ditto
13020         (menuUndo): ditto
13021         (menuRedo): ditto
13022         (copyEnvironment): ditto
13023         (pasteEnvironment): ditto
13024         (copy): ditto
13025         (cut): ditto
13026         (paste): ditto
13027         (gotoInset): ditto
13028         (updateInset): remove some commented code
13029
13030         * lastfiles.h: inherit privately from noncopyable
13031         * layout.h: ditto
13032         * lyx_gui.h: ditto
13033         * lyx_main.h: ditto
13034         * lyxlex.h: ditto
13035         * lyxlex_pimpl.h: ditto
13036
13037         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13038         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13039         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13040
13041         * LyXAction.h: inherit privately from noncopyable, add methods
13042         func_begin, func_end, returning iterators to the func map.
13043
13044         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13045         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13046         (func_begin): new method
13047         (func_end): new method
13048
13049         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13050         and not)
13051         (copySelection): ditto
13052         (pasteSelection): ditto
13053
13054         * BufferView.C: whitespace change
13055         * BufferView.h: inherit privately from noncopyable
13056
13057 2001-04-16  Allan Rae  <rae@lyx.org>
13058
13059         * tabular-old.C (l_getline):
13060         * spellchecker.C (sc_check_word):
13061         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13062         an unrecognised preprocessor directive.  So ensure they're wrapped.
13063
13064 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * src/exporter.C (Export): Give an error message when path to file
13067         contains spaces.
13068
13069 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13070
13071         * LaTeX.C (deplog): Always check that foundfile exists.
13072
13073 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13074
13075         * lyx_main.h:
13076         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13077
13078 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13079
13080         * tabular.[Ch] (getLabelList): implement new method
13081
13082         * minibuffer.h: comment ouf setTiimer
13083
13084         * minibuffer.C (ExecutingCB): constify res
13085         (peek_event): constify s
13086         (Set): constify ntext
13087         (Init): constify nicename
13088
13089         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13090
13091         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13092         (savePosition): use two params to Minibuffer::Set
13093         (restorePosition): ditto
13094
13095 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13096
13097         * lyx_main.C: include language.h
13098
13099         * Makefile.am (lyx_main.o): add language.h
13100
13101 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * exporter.C:
13104         * paragraph.C:
13105         * screen.C:
13106         * tabular.C:
13107         * CutAndPaste.C: include gettext.h
13108
13109         * lyxfont.h: remove old hack with ON and OFF.
13110
13111         * lyxparagraph.h:
13112         * lyxfont.h: do not include language.h...
13113
13114         * BufferView2.C:
13115         * LaTeXFeatures.C:
13116         * Painter.C:
13117         * bufferview_funcs.C:
13118         * font.C:
13119         * lyxfont.C:
13120         * text.C:
13121         * text2.C:
13122         * trans_mgr.C:
13123         * paragraph.C: ... but do it here instead
13124
13125 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13128
13129         * tabular.C: small reformat
13130
13131         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13132         NEW_INSETS version
13133         (GetChar): ditto
13134         (BreakParagraph): ditto
13135         (SetOnlyLayout): ditto
13136         (SetLayout): ditto
13137
13138         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13139         with one arg less.
13140
13141         * lastfiles.C: removed most using decl, add std:: where needed
13142
13143         * buffer.C: ws changes
13144
13145         * MenuBackend.C (class compare_format): put into anon namespace
13146         (expand): constify label, names, action, action2
13147         (expand):
13148
13149         * text.C (SingleWidth): constify font
13150         (IsBoundary): constify rtl2
13151         (GetVisibleRow): constify ww
13152
13153         * LaTeX.C (deplog): constify logfile
13154
13155         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13156         start_x, end_x
13157         (workAreaExpose): constify widthChange, heightChange
13158
13159         * lyxrow.C (par): moved
13160         (height): moved
13161         (next): moved
13162         * lyxrow.h: as inlines here
13163
13164         * lyxfont.h (shape): moved from lyxfont.C
13165         (emph): moved from lyxfont.C
13166
13167         * lyxfont.C (LyXFont): use initialization list for all
13168         constructors
13169         (shape): move to lyxfont.h as inline
13170         (emph): move to lyxfont.h as inline
13171
13172
13173 2001-04-04  Juergen Vigna  <jug@sad.it>
13174
13175         * vspace.C: had to include stdio.h for use of sscanf
13176
13177 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13178
13179         * BufferView.h:
13180         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13181         independent of xforms.
13182
13183 2001-04-02  Juergen Vigna  <jug@sad.it>
13184
13185         * spellchecker.C: fixed namespace placing!
13186
13187 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13188
13189         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13190         the LyXParagraph * is 0.
13191
13192 2001-03-29  Juergen Vigna  <jug@sad.it>
13193
13194         * vspace.C: added support for %, c%, p%, l%.
13195         (stringFromUnit): added helper function.
13196         (asLatexString): changed to give right results for the %-values.
13197
13198         * buffer.C: convert the widthp in a width%.
13199
13200 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13203         figureForm.[Ch].
13204
13205         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13206         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13207
13208         * lyx_cb.[Ch]: see above.
13209
13210         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13211         form1.[Ch].
13212
13213         * form1.[Ch]:
13214         * lyx.[Ch]: replaced by figure_form.[Ch].
13215
13216         * lyx_gui.C:
13217         * lyx_gui_misc.C:
13218         * lyxfunc.C: changed headers associated with above changes.
13219
13220 2001-03-27  Juergen Vigna  <jug@sad.it>
13221
13222         * BufferView_pimpl.C: set the temporary cursor right!
13223
13224 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13225
13226         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13227
13228 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13229
13230         * LString.h: removed "using std::getline"!
13231
13232         * BufferView_pimpl.C (Dispatch): changes due to changes in
13233         InsetInclude::Params.
13234
13235         * buffer.C (tag_name): removed redundant break statements as they were
13236         producing lots of warnings with my compiler.
13237
13238 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13239
13240         * LString.h: add "using std::getline" when using the real <string>.
13241
13242 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13243
13244         * buffer.C: removed bitset usage.
13245         PAR_TAG moved to an anonymous name space.
13246         (tag_name): new funtion, also in the anonymous namespace.
13247         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13248         (makeDocBookFile): clean code. Completed transition from string arrays
13249         to string vectors.
13250         (SimpleDocBookOnePar): code clean.
13251
13252 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13253
13254         * tabular.C: add some comments.
13255
13256 2001-03-22  Juergen Vigna  <jug@sad.it>
13257
13258         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13259         compatibility read a bit and fixed bug with minipage in different
13260         depth.
13261
13262 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13263
13264         * buffer.C (pop_tag): removed.
13265         (push_tag): removed.
13266         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13267         array replaced with vector. Added support for CDATA sections.
13268         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13269         at any nest level.
13270         (makeDocBookFile): XML conformant declaration of CDATA section,
13271         fixed bug related to <emphasis> in the first paragraph char.
13272         (sgmlOpenTag): exclude empty tags.
13273         (sgmlCloseTag): ditto.
13274
13275         * buffer.h (pop_tag): removed.
13276         (push_tag): removed.
13277
13278 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13279
13280         * language.h (Languages): added size_type and size().
13281
13282 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13283
13284         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13285         response on compability reading of minipages. One probliem is that
13286         the old usage of minipages was «flertydig»
13287
13288         * several files here and in subdirs: don't use static at file
13289         scope use anon namespaces instead.
13290
13291 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13292
13293         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13294         LaTeX output. This is necessary for Literate document
13295         processing.
13296
13297 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13298
13299         * buffer.C: insert hfill when needed.
13300
13301         * tabular.C (l_getline): use string::erase, small whitespace change.
13302
13303         * BufferView_pimpl.C: try the anon namespace.
13304         * WorkArea.C: ditto
13305
13306 2001-03-16  Juergen Vigna  <jug@sad.it>
13307
13308         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13309         otherwise it won't open options-dialogs.
13310
13311         * buffer.C: honor pextraWidth(p) on converting minipages.
13312
13313         * tabular.C (l_getline): changed the functions to strip trailing \r.
13314
13315 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13316
13317         * BufferView_pimpl.C:
13318         * minibuffer..C: added "using SigC::slot" declaration.
13319
13320 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13321
13322         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13323
13324         * text2.C: ditto
13325
13326         * text.C: ditto
13327
13328         * paragraph.C: ditto
13329
13330         * lyxtext.h: NO_PEXTRA
13331
13332         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13333
13334         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13335         * ParameterStruct.h: ditto
13336         * ParagraphParameters.h: ditto
13337         * lyxparagraph.h: ditto
13338
13339 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13340
13341         * buffer.C: add compability for minipage alignment.
13342         (latexParagraphs): remove unwanted pextra check.
13343
13344         * several files: remove CXX_WORKING_NAMESPACES
13345
13346         * buffer.C (pop_tag): tie is in namespace boost
13347
13348         * BufferView.h: noncopyable is in namespace boost
13349         * lyxlex.h: ditto
13350         * lyx_main.h: ditto
13351         * lyx_gui.h: ditto
13352         * layout.h: ditto
13353         * lastfiles.h: ditto
13354         * bufferlist.h: ditto
13355         * ShareContainer.h: ditto
13356         * LyXView.h: ditto
13357         * LyXAction.h: ditto
13358         * LaTeX.h: ditto
13359
13360 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13361
13362         * Merging changes from BRANCH_MVC back into HEAD.
13363
13364         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13365
13366 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13367
13368         * BufferView_pimpl.C: change from intl.C
13369
13370         * combox.h:
13371         * combox.C:
13372         * Makefile.am: move combox.*
13373
13374         * form1.h:
13375         * form1.C:
13376         * lyx_gui.C:
13377         * intl.h:
13378         * intl.C: remove dialog (covered by prefs)
13379
13380 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13381
13382         * lyxfunc.C (Dispatch): removed redundant break statement.
13383
13384 2001-03-14  Juergen Vigna  <jug@sad.it>
13385
13386         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13387
13388 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13389
13390         * buffer.C: add hack to fix compability reading of minipages.
13391
13392 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13393
13394         * buffer.C (getLists): Cleanup.
13395
13396 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * lyxfont.C (update): don't honor toggleall on font size.
13399
13400 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13401
13402         * bmtable.c:
13403         * bmtable.h:
13404         * Makefile.am: moved to frontends/xforms/
13405
13406         * lyx_gui_misc.C:
13407         * lyxfunc.C:
13408         * BufferView_pimpl.C: changes for moved mathpanel
13409
13410 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13411
13412         * gettext.h: fix gettext_init() in --disable-nls
13413
13414 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13415
13416         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13417
13418 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13419
13420         * lyx.C:
13421         * lyx.h: strip external form
13422
13423 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13424
13425         * BufferView_pimpl.C: add comment, destroySplash()
13426
13427 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13428
13429         * BufferView_pimpl.C:
13430         * LyXAction.C:
13431         * buffer.C:
13432         * commandtags.h:
13433         * lyxfunc.C: use re-worked insetinclude
13434
13435 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13436
13437         * buffer.C: add using std::stringstream.
13438
13439         * lyx_cb.C: readd using std::ios.
13440
13441         * buffer.C: add using std::map.
13442
13443         * BufferView_pimpl.C: add using std::vector.
13444
13445         * ShareContainer.h: add std:: to swap.
13446
13447         * buffer.h: add some typedefs
13448         * buffer.C (getLists): use them
13449         (getLists): renamed from getTocList.
13450         add a counter for the different float types and use it in the
13451         generated string.
13452         (getLists): use the same counter for the NEW_INSETS and the "non"
13453         NEW_INSETS
13454
13455         * lyx_cb.h: remove unused items, includes, using etc.
13456
13457         * ShareContainer.h: remove some commented code, add more comments
13458         and "documentation".
13459
13460 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13461
13462         * buffer.C (getTocList): make the list also when NEW_INSETS is
13463         defined.
13464
13465         * buffer.h: remove TocType
13466
13467         * buffer.C (getTocList): change to return a map<string,
13468         vector<TocItem> >, implement for dynamic number of list.
13469
13470         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13471         * text2.C (PasteSelection): adjust
13472         * CutAndPaste.C (pasteSelection): adjust
13473
13474         * FloatList.C (FloatList): update from the new_insets branch.
13475         * Floating.[Ch]: ditto
13476         * LaTeXFeatures.C: ditto
13477         * buffer.C: ditto
13478         * lyxlex_pimpl.C: ditto
13479
13480         * paragraph.C (Last): remove when NEW_INSETS is defined.
13481
13482         * other file: changes because of the above.
13483
13484 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13485
13486         * lyxparagraph.h: rename next to next_, previous to previous_,
13487         make them private for NEW_INSETS. Rename Next() to next(),
13488         Previous() to previous().
13489
13490         * other files: changes because of the above.
13491
13492 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13493
13494         * BufferView.h:
13495         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13496         problem.
13497
13498 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13499
13500         * main.C (main): pass lyx_localedir to gettext_init().
13501
13502         * gettext.h: remove locale_init and gettext_init macros
13503
13504         * gettext.C (locale_init): new function
13505         (gettext_init): new function
13506
13507         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13508         setlocale().
13509
13510 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13511
13512         * Moved credits to frontends:
13513         * credits.[Ch]: removed
13514         * credits_form.[Ch]: removed
13515         * lyx_gui_misc.C: remove credits stuff
13516         * Makefile.am:
13517
13518 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13519
13520         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13521
13522         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13523         unneeded destructor.
13524
13525         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13526         a standalone pointer again.
13527
13528         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13529
13530 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * Makefile.am:
13533         * filedlg.h:
13534         * filedlg.C:
13535         * LyXAction.C:
13536         * ToolbarDefaults.C:
13537         * bufferlist.C:
13538         * commandtags.h:
13539         * form1.C:
13540         * form1.h:
13541         * lyx_cb.C:
13542         * lyx_cb.h:
13543         * lyxfunc.h:
13544         * lyxfunc.C:
13545         * BufferView_pimpl.C: use new file dialog in GUII
13546
13547         * lyx_cb.h:
13548         * lyx_cb.C: remove LayoutsCB to Toolbar
13549
13550 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13551
13552         * ShareContainer.h (get): add std:: qualifier
13553
13554 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13555
13556         * ShareContainer.h: define a proper ShareContainer::value_type
13557         type (and use typename to please compaq cxx)
13558
13559 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13560
13561         * lyxparagraph.h: move serveral local vars to
13562         ParameterStruct/ParagraphParameters., use ShareContainer in
13563         FontTable., make vars in FontTable private and add getter and
13564         setter.
13565
13566         * paragraph.C: changes because of the above.
13567
13568         * lyxfont.h: remove copy constructor and copy assignment. (the
13569         default ones is ok), move number inside FontBits. move inlines to
13570         lyxfont.C
13571
13572         * lyxfont.C: add number to initializaton of statics, move several
13573         inlines here. constify several local vars. some whitespace
13574         cleanup. Dont hide outerscope variables.
13575
13576         * Spacing.h: add two new constructors to match the set methods.
13577
13578         * ShareContainer.h: new file, will perhaps be moved to support
13579
13580         * ParameterStruct.h: new file
13581
13582         * ParagraphParameters.h: new file
13583
13584         * ParagraphParameters.C: new file
13585
13586         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13587         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13588
13589         * BufferView_pimpl.C: ParagraphParameter changes.
13590         * buffer.C: Likewise.
13591         * bufferview_funcs.C: Likewise.
13592         * text.C: Likewise.
13593         * text2.C: Likewise.
13594
13595 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13596
13597         * lyxfind.C (LyXReplace): do not redefine default argument in
13598         implementation.
13599         (IsStringInText): ditto
13600         (SearchForward): ditto
13601         (SearchBackward): ditto
13602
13603 2001-03-06  Juergen Vigna  <jug@sad.it>
13604
13605         * lyxfind.C (IsStringInText): put parentes around expressions.
13606
13607 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13608
13609         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13610
13611 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13614
13615         * stl_string_fwd.h: add comment
13616
13617         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13618
13619         * tabular.h:
13620         * tabular.C: remove unused DocBook methods
13621
13622         * intl.C:
13623         * language.C:
13624         * paragraph.C:
13625         * buffer.C:
13626         killed DO_USE_DEFAULT_LANGUAGE
13627
13628 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * lyx_gui.C: do not include language.h.
13631
13632         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13633         arguments in function implementation.
13634
13635 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13636
13637         * BufferView_pimpl.C: add <ctime>
13638
13639 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13640
13641         * BufferView_pimpl.C: add using std::find_if
13642
13643 2001-02-27  José Matos  <jamatos@fep.up.pt>
13644
13645         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13646         by OnlyPath.
13647
13648 2001-02-11  José Matos  <jamatos@fep.up.pt>
13649
13650         * buffer.C (makeDocBookFile): command styles now have a parameter as
13651         "title" by default.
13652
13653 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13654
13655         * layout_forms.[Ch]: removed
13656         * lyx_cb.[Ch]: out character
13657         * lyx_gui.C: out character
13658         * lyx_gui_misc.C: out character
13659         * bufferview_funcs.C: : out character,
13660         added toggleall as parameter in ToggleAndShow
13661
13662 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13663
13664         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13665
13666         * text2.C (SetCurrentFont): Disable number property at boundary.
13667
13668 2001-02-26  Juergen Vigna  <jug@sad.it>
13669
13670         * lyxfunc.C (getStatus): added a string argument override function so
13671         that this is correctly called from LyXFunc::Dispatch if it contains a
13672         do_not_use_argument which is used!
13673         (Dispatch): added check for "custom" export and call appropriate func.
13674
13675 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * lyxrc.C: Add language_command_local, language_use_babel and
13678         language_global_options.
13679
13680         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13681
13682         * buffer.C (makeLaTeXFile): Use language_use_babel and
13683         language_global_options.
13684
13685 2001-02-23  Juergen Vigna  <jug@sad.it>
13686
13687         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13688         which works with LyXText and putted it inside BufferView. Here now we
13689         only call for that part the BufferView::Dispatch() function.
13690
13691         * BufferView.C (Dispatch): added.
13692
13693         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13694         functions which needs to use a LyXText over from LyXFunc.
13695         (MenuInsertLyXFile): added
13696         (getInsetByCode): added
13697         (moveCursorUpdate): added
13698         (static TEXT): added
13699
13700 2001-02-22  Juergen Vigna  <jug@sad.it>
13701
13702         * BufferView_pimpl.C (update): call a status update to see if LyXText
13703         needs it.
13704
13705 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13706
13707         * vc-backend.C (revert): implement for CVS
13708         (getLog): implement for CVS
13709
13710 2001-02-20  Juergen Vigna  <jug@sad.it>
13711
13712         * text2.C (ClearSelection): added BufferView param for inset_owner call
13713
13714         * lyxfunc.C (TEXT): added this function and use it instead of
13715         directly owner->view()-text of getLyXText().
13716
13717 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13718
13719         * src/layout_forms.C: out preamble
13720         * src/layout_forms.h: out preamble
13721         * src/lyx_cb.C: out preamble
13722         * src/lyx_cb.h: out preamble
13723         * src/lyx_gui.C: out preamble
13724         * src/lyx_gui_misc.C: out preamble
13725         * src/lyxfunc.C: connect with guii preamble
13726
13727 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13728
13729         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13730
13731 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13732
13733         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13734         whether to run bibtex.
13735
13736 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13737
13738         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13739
13740 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13741
13742         * Makefile.am (lyx_SOURCES): removed bibforms.h
13743
13744         * vspace.h: doxygen
13745
13746         * text.C (GetVisibleRow): make several local vars const
13747
13748         * tabular.C: small cleanup.
13749
13750         * lyxserver.C (callback): use compare instead of strncmp
13751
13752         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13753         inlines to after class or to paragraph.C
13754
13755         * lyxfont.h: remove friend operator!=
13756
13757         * converter.h: move friend bool operator< to non friend and after
13758         class def.
13759
13760         * combox.h: small cleanup
13761
13762         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13763         to inlines after class def.
13764
13765         * buffer.C (pop_tag): use string operations instead of strcmp
13766
13767         * bmtable.c: doxygen, small cleanup
13768
13769         * LaTeX.h: remove friend operator==
13770
13771 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13772
13773         * screen.C:
13774         * lyxrc.[Ch]:
13775         * lyxfunc.C:
13776         * lyxfont.[Ch]:
13777         * lyx_cb.C:
13778         * intl.[Ch]:
13779         * commandtags.h:
13780         * buffer.C:
13781         * WorkArea.[Ch]:
13782         * LyXAction.C:
13783         * BufferView_pimpl.C:
13784         * BufferView.[Ch]: remove cruft
13785
13786 2001-02-14  Juergen Vigna  <jug@sad.it>
13787
13788         * lyxfunc.C: removed #if 0 unused code
13789
13790         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13791
13792         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13793
13794         * text2.C (SetSelection): added a BufferView * parameter
13795
13796 2001-02-13  Juergen Vigna  <jug@sad.it>
13797
13798         * lyxfunc.C (Dispatch): fixed protected blank problem.
13799         * BufferView2.C (protectedBlank): added LyxText * parameter.
13800
13801         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13802         (AppendColumn): same as above for column_info.
13803
13804         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13805         (moveCursorUpdate): use a LyXText param for support of InsetText.
13806
13807         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13808         (tripleClick): ditto
13809
13810         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13811
13812         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13813
13814         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13815
13816         * text2.C (SetSelection): set correct update status if inset_owner
13817         (ToggleFree): ditto
13818
13819 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13820
13821         * tabular.C: remove some commented code.
13822
13823 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13824
13825         * BufferView_pimpl.C: call hideSplash()
13826
13827         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13828
13829         * include_form.h:
13830         * bibforms.h: remove
13831
13832         * lyxfunc.C:
13833         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13834           add LFUN_CHILD_CREATE
13835
13836         * counters.h: fix tiny typo
13837
13838         * lyx_cb.C:
13839         * lyx.h:
13840         * lyx_gui.C:
13841         * lyx.C: move splash to frontends/xforms/
13842
13843         * lyx_gui_misc.C: move Include and Bibform to frontends
13844
13845         * lyxvc.h: clarify comment
13846
13847         * vspace.C: tiny housekeeping
13848
13849 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13850
13851         * text.C (PrepareToPrint): RTL Fix.
13852
13853         * paragraph.C (GetUChar): New method.
13854         (String):  Use GetUChar.
13855
13856         * buffer.C (asciiParagraph): Use GetUChar.
13857
13858 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13859
13860         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13861
13862 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13863
13864         * buffer.h:
13865         * buffer.C: rename to getLogName(), handle
13866           build log / latex log nicely
13867
13868 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13869
13870         * MenuBackend.C:
13871         * MenuBackend.h: remove support for reference menuitem type.
13872
13873 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * BufferView_pimpl.C: housekeeping
13876         * BufferView_pimpl.h:
13877         * LyXView.h:
13878         * Makefile.am:
13879         * Timeout.C:
13880         * Timeout.h:
13881         * minibuffer.h: move Timeout GUI-I
13882
13883 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13884
13885         * lyxrc.C (read): Update converters data-structures.
13886
13887 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13888
13889         * LaTeX.h (operator!=): add operator != for Aux_Info
13890
13891 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13892
13893         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13894
13895         * LaTeXLog.C: deleted, useful code moved to Buffer
13896
13897         * buffer.h:
13898         * buffer.C: new function getLatexLogName()
13899
13900         * lyx_gui_misc.C:
13901         * lyx_gui.C:
13902         * lyxvc.C:
13903         * lyxvc.h:
13904         * lyxfunc.C: use frontends for LaTeX and VC logs
13905
13906 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13907
13908         * LaTeX.h: yet another std:: that Allan forgot.
13909
13910         * Variables.C (set): renamed from isset(), because this clashes
13911         with some HP-UX macros (grr).
13912
13913 2001-02-06  Allan Rae  <rae@lyx.org>
13914
13915         * LaTeX.h: Another bug fix.  Missing std:: this time.
13916
13917 2001-02-04  Allan Rae  <rae@lyx.org>
13918
13919         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13920         floats problem. I've left it commented out because it's not quite
13921         correct.  It should also test that the current object is a table or
13922         figure inset.  But I haven't gotten around to figuring out how to do
13923         that.  I *think* it'll be something like: "table" == inset.type()
13924
13925         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13926         bool.
13927
13928 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13929
13930         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13931         all the citation/databases/styles in the auxilary file.
13932         (run): Rerun latex if there was a babel language error.
13933
13934 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13935
13936         * text.C (Backspace): Preserve the font when changing newline char
13937         with a space.
13938         (BreakParagraph): If the cursor is before a space, delete the space.
13939
13940         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13941
13942 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13943
13944         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13945         new argument (code).
13946         (ChangeCitationsIfUnique): New method.
13947
13948         * paragraph.C (GetPositionOfInset): Handle bibkey.
13949
13950 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * BufferView_pimpl.h: change type of Position::par_pos to
13953         LyXParagraph::size_type.
13954
13955 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13956
13957         * BufferView_pimpl.C (savePosition, restorePosition): Write
13958         messages to minibuffer.
13959
13960 2001-01-28  José Matos  <jamatos@fep.up.pt>
13961
13962         * buffer.C (makeDocBookFile): adds support for document language.
13963         A silly restriction on the name of LatexCommand types where removed.
13964         Added support for CDATA sections, allows to chars unescaped, used
13965         among others in code, to avoid escape < and >.
13966
13967 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13968
13969         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13970         saved positions instrad of a stack. Furthermore, a position is
13971         stored using paragraph id/paragraph position.
13972
13973         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13974         Remove LFUN_REF_BACK.
13975
13976 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13977
13978         * converter.C (dvipdfm_options): New method.
13979
13980 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13981
13982         * vspace.C (isValidLength): Fix for empty input string.
13983
13984 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13985
13986         * LyXAction.C (init): change description of LFUN_FIGURE to
13987         "Insert Graphics"
13988
13989 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13990
13991         * LaTeX.C: add using directive
13992
13993 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13994
13995         * MenuBackend.C (expand): Fix the sorting of the formats.
13996
13997 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13998
13999         * lyx_main.C: tiny error message fix
14000
14001 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14002
14003         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14004         calling fl_initialize(). This fixes the problem with ',' as
14005         decimal separator in text files.
14006
14007 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14008
14009         * trans.C (process): Fix the keymap bug.
14010
14011 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14012
14013         * LaTeX.C (scanAuxFiles): New method. Provides support for
14014         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14015         (scanLogFile) Scan for "run BibTeX" messages.
14016
14017         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14018         OT1 font encoding. Also, load the aecompl package if the ae
14019         package is loaded.
14020
14021         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14022
14023 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14024
14025         * texrow.C (increasePos): turn two error messages into debug
14026         messages.
14027
14028 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14029
14030         * LaTeX.C (scanAux): Handle the \@input macro.
14031         (runBibTeX): Use scanAux().
14032
14033         * language.C (latex_options_): New field.
14034
14035         * LaTeXFeatures.C (getMacros): Add language macros.
14036
14037         * buffer.C (makeLaTeXFile): Small fix.
14038
14039 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14040
14041         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14042
14043         * text2.C: add a using directive.
14044
14045 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14046
14047         * BufferView2.C:
14048         * lyx_gui_misc.h:
14049         * lyxfr1.C:
14050         * lyxfunc.C: kill LyXBell.
14051
14052 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14053
14054         * text.C (IsBoundary): Remove the error message
14055
14056         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14057
14058         * lyxrc.C (setDefaults): Correct initialization value for
14059         font_norm_type.
14060
14061 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14062
14063         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14064         gotoError().
14065
14066         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14067         and GotoNextNote().
14068
14069         * src/LyXAction.C: Added reference-next.
14070
14071         * text.C (InsertChar): Use contains instead of strchr.
14072
14073         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14074
14075 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14076
14077         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14078         alignment commands (when needed).
14079
14080         * text.C (InsertChar): Add ':' to number separator chars.