]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
739733ea8b99786f98c73290af8fbe6eb5a5b796
[lyx.git] / src / ChangeLog
1 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4         master file to any child files. Fixes bug 546.
5
6 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
9
10 2003-11-24  André Pönitz  <poenitz@gmx.net>
11
12         * rowpainter.C: simplification
13
14         * text2.C (updateCounters): remove call to redoParagraph on 
15         changed labels as this is far too expensive.
16
17 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
18
19         * converter.C (convert): fix a crash: this function gets
20         called with buffer == 0 from importer code.
21
22 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
23
24         * text3.C (cursorPrevious): make sure that we do not compare
25         iterators form different containers.
26         (cursorNext): ditto
27
28         * rowpainter.C (paintSelection): make sure that we do not compare
29         iterators from different containers.
30
31         * text3.C (dispatch): [PRIOR] make sure that we do not compare
32         iterators from different ParagraphList containers.
33         [NEXT] ditto
34
35         * text2.C (LyXText): change order of initialization slightly
36         (operator=): new function. copy all variables except cache_par_
37         (moveUp): make sure that we do not compare iterators from
38         different ParagraphList constainers.
39         (moveDown): ditto
40
41         * text.C (firstPar): new function
42         (lastPar): new function
43         (endPar): new function
44
45         * lyxtext.h: move things around and group public functions, public
46         variables, private functions, private variables
47
48 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
49
50         * factory.C: change call to InsetERT constructor to avoid
51         additional invocation of method status
52         * text2.C (toggleInset): remove redundant update() call
53         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
54         instead of a Bufferview pointer
55
56 2003-11-21  André Pönitz  <poenitz@gmx.net>
57
58         * rowpainter.C: simplification
59
60 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
61
62         * text3.C (dispatch): make possible to extend a word/row selection
63         with the mouse
64
65 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
66
67         * lyxtext.h: x0_,y0_ -> xo_,yo_
68         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
69         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
70         * rowpainter.C (paintRows): paint full paragraphs
71
72 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
73
74         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
75         screen coordinates)
76
77 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
78
79         * lyxtext.h: add x0_, y0_
80         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
81         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
82
83 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * text2.C (setCursorIntern): move the x_target update here *
86         * text3.C: change some bv() to true/false in calls to
87         cursorUp/Down/Right/Left
88         * cursor.C: use helper function.
89
90 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
91
92         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
93         * paragraph_funcs.[Ch]: correct comment
94         * rowpainter.C: do not paint selections away from bv->cursor()
95         Fix a long standing selection painting bug.
96         * text3.C: generalize mouse-selection code to LyXTexts other that
97         top one
98         * textcursor.C: do not use y coords if we can use par offsets
99
100 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
101
102         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
103         cursor position after e.g. inset insert)
104
105 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
106
107         * lyxfind.C (replace): adjust to locking removal + some
108         code simplification
109
110 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
113         of the path
114
115 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
116
117         * lyxlayout.[Ch]:
118         * output_docbook.C: XML sanitation: new layout
119         parameters InnerTag and CommandDepth
120
121 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * BufferView_pimpl.C:
124         * factory.C:
125         * text3.C: Fix the insertion and modification of button-style
126         insets
127
128 2003-11-13  André Pönitz  <poenitz@gmx.net>
129
130         * InsetList.[Ch]: remove deleteLyXText
131
132         * paragraph.[Ch]: cache beginOfBody position
133
134         * Bidi.C:
135         * text.C:
136         * text2.C:
137         * text3.C: remove superfluous update() calls
138
139         * vspace.C: cleanup
140
141 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
142
143         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
144         * BufferView.C (fitLockedInsetCursor): remove
145         * cursor.[Ch] (getDim): add
146         * text.C (getRowNearY): add faster version
147         * text3.C: remove some update calls
148
149 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
150
151         * LaTeXFeatures.C:
152         * LyXAction.C:
153         * MenuBackend.C:
154         * MenuBackend.h:
155         * dispatchresult.h:
156         * factory.C:
157         * lfuns.h:
158         * lyxfunc.C:
159         * lyxtextclass.C:
160         * lyxtextclass.h:
161         * text3.C: The Character Style /XML short element patch.
162
163 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
164
165         * text3.C:
166         * factory.C: Small step to solving 'unable to insert some insets'
167         problem
168
169 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
170
171         * cursor.[Ch] (updatePos): new function for updating the y
172         position of the tip inset
173         * bufferview_funcs.C (put_selection_at):
174         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
175
176 2003-11-11  André Pönitz  <poenitz@gmx.net>
177
178         * text.C: remove big comment on invalid Paragraph pointers as it is
179         not valid anymore
180
181 2003-11-11  André Pönitz  <poenitz@gmx.net>
182
183         * text_funcs.[Ch]: merge with ...
184
185         * text.C: ... this
186
187         * lyxtext.h:
188         * text2.C:
189         * text3.C: adjust
190
191         * Makefile.am: remove text_funcs.[Ch]
192
193 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
194
195         * cursor.C (getPos): return absolute cached y coord
196
197         * BufferView_pimpl.C (fitCursor): new simplistic code
198         (workAreaDispatch): add a fitCursor call
199
200 2003-11-10  André Pönitz  <poenitz@gmx.net>
201
202         * BufferView.[Ch]:
203         * BufferView_pimpl.[Ch]: merge update() and updateInset()
204
205 2003-11-10  André Pönitz  <poenitz@gmx.net>
206
207         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
208         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
209         indicate that the cursor needs to leave an inset
210
211         * lyxtext.h: remove inset locking
212
213         * cursor.[Ch]: re-implement functionality provided by inset locking
214
215         * BufferView.[Ch]:
216         * BufferView_pimpl.[Ch]:
217         * LyXAction.C:
218         * bufferview_funcs.[Ch]:
219         * factory.C:
220         * funcrequest.[Ch]:
221         * iterators.C:
222         * lyx_cb.C:
223         * lyxfind.C:
224         * lyxfunc.C:
225         * text.C:
226         * text2.C:
227         * text3.C:
228         * undo.C: adjust
229
230 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
231
232         * PosIterator.[Ch]: replace the stack with a vector, add inset
233         accesor
234         * iterators.[C]: adjust
235
236 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
237
238         * lyxfind.C (replaceAll): mark the buffer dirty if something was
239         replaced
240         * paragraph_funcs.C (readParToken): put the correct id in the
241         error item, not the id of the top paragraph
242
243 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
244
245         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
246         * bufferview_funcs.C (put_selection_at): use the above
247
248 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
249
250         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
251
252 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * output_linuxdoc.h:
255         * output_plaintext.h:
256         * output.h:
257         * output_docbook.h: add #include statements
258
259 2003-11-05  José Matos  <jamatos@lyx.org>
260
261         * output_docbook.[Ch]:
262         * output_latex.[Ch]:
263         * output_linuxdoc.[Ch]:
264         * output_plaintext.[Ch]: New files for output formats.
265         * output.[Ch]: New file for helper functions.
266
267         * buffer.[Ch]:
268         * paragraph_funcs.[Ch]: output functions moved to new files.
269
270         * outputparams.h: rename of latexrunparams.h
271
272         * LaTeX.[Ch]:
273         * buffer.[Ch]:
274         * bufferlist.[Ch]:
275         * converter.[Ch]:
276         * exporter.C:
277         * paragraph.[Ch]:
278         * paragraph_funcs.[Ch]:
279         * paragraph_pimpl.[Ch]:
280         * tabular.[Ch]: rename ascii to plaintext
281         and LatexRunParams to OutputParams.
282
283 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
284
285         * iterators.[Ch] (text): require bv argument
286         * undo.C (recordUndo):
287         * lyxfunc.C (dispatch):
288         * bufferview_funcs.C (put_selection_at): adjust
289
290 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
291
292         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
293
294 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
295
296         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
297         nestings
298
299 2003-11-04  André Pönitz  <poenitz@gmx.net>
300
301         * cursor.[Ch]: restructure
302
303         * BufferView.[Ch]:
304         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
305
306         * iterators.[Ch] (asCursor): remove
307
308         * lfuns.h: remove LFUN_INSET_EDIT
309
310         * lyxfunc.C:
311         * tabular.C:
312         * text.C:
313         * text2.C:
314         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
315
316 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
317
318         * lyxfind.[Ch]: complete overhaul
319         * BufferView_pimpl.C:
320         * lyxfunc.C: adjust
321         * paragraph.[Ch] (insert): add
322
323 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
324
325         * BufferView.[Ch]:
326         * lyxtext.h:
327         * text.C: remove dead spellcheck code
328
329 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
330
331         * dispatchresult.h: add a val setter
332
333         * cursor.C (dispatch): use a tempvar for data_[i]
334
335 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
336
337         * PosIterator.[Ch]: compile fix
338
339 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
340
341         * text.C (cursorPar): deactivate the cursor cache
342
343 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
344
345         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
346
347 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
348
349         * text3.C (dispatch): adjust for new DisptchResult semantics.
350
351         * lyxfunc.C (dispatch): handle update when return from
352         Cursor::dispatch, adjust for new DispatchResult semantics.
353
354         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
355         DispatchResult(true) mean to not update. Add class functions for
356         setting dispatched and update, as well as reading.
357
358         * cursor.C (dispatch): don't handle update here
359
360 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
361
362         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
363         * trans_mgr.C: adjust
364
365         * paragraph_funcs.C (readParToken): exception safety
366
367         * lyxvc.h: store the vcs pointer in a scoped_ptr
368         * lyxvc.C: adjust
369
370         * lyxsocket.C (serverCallback): exception safety
371
372         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
373
374         * ispell.C (clone): make it return a auto_ptr
375
376         * factory.C (createInset): exception safety
377         (readInset): exception safety
378
379         * bufferlist.C (newBuffer): exception safety
380
381         * Thesaurus.C (Thesaurus): use initialization for aik_
382
383         * MenuBackend.C (expandToc): exception safety.
384
385 2003-11-03  André Pönitz  <poenitz@gmx.net>
386
387         * buffer.C:
388         * buffer.h:
389         * bufferview_funcs.C: remove getInsetFromId()
390
391         * lyxcursor.[Ch]:
392         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
393
394         * lyxfunc.C:
395         * text2.C:
396         * text3.C: adjust
397
398 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
399
400         * PosIterator.C (distance, advance): new
401         * bufferview_funcs.[Ch] (put_selection_at): new
402         * iterators.[Ch] (lockPath): new
403
404 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
405
406         * iterators.[Ch] (asPosIterator): added
407         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
408         * PosIterator.[Ch]: added
409
410 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
411
412         * text3.C:
413         * lyxfunc.C:
414         * cursor.C (dispatch):
415         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
416
417         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
418         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
419         contructor, add a class function dispatched. Remove operator>=
420
421 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
422
423         * debug.C: only use the default constructor for debugstream
424         (lyxerr) here.
425
426         * main.C (main): include debug.h and setup the lyxerr streambuf
427         here.
428
429 2003-10-31  José Matos  <jamatos@lyx.org>
430
431         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
432
433         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
434         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
435         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
436         * paragraph_pimpl.C (simpleTeXSpecialC):
437         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
438         add LatexRunParams argument.
439
440         * exporter.C (Export): change call accordingly.
441
442         * latexrunparams.h: add new member to take care of the other backends.
443 2003-10-30  José Matos  <jamatos@lyx.org>
444
445         * buffer.C (makeLinuxDocFile, makeDocBookFile):
446         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
447         factorise code for paragraph output.
448         * buffer.[Ch]:
449         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
450         move functions.
451
452 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
453
454         * text3.C (dispatch):
455         * lyxfunc.C (dispatch):
456         * cursor.C (dispatch):
457         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
458
459         * dispatchresult.h: make the dispatch_result_t ctor explicit
460
461 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * sgml.[Ch]:
464         * buffer.C: small refactoring of docbook stuff
465
466 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
467
468         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
469         meaning.
470
471 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
472
473         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
474         operator dispatch_result_t, and operators for == != and >=
475
476         * cursor.C (dispatch): adjust for operator dispatch_result_t
477         removal. comment out call to update
478
479         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
480
481 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
482
483         * text3.C:
484         * text2.C:
485         * text.C:
486         * lyxtext.h:
487         * lyxfunc.C:
488         * cursor.C:
489         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
490         (dispatch):
491
492         * dispatchresult.h: new file, DispatchResult broken out of
493         insets/insetbase.h
494
495         * Makefile.am (lyx_SOURCES): add dispatchresult.h
496
497 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
498
499         * text.C (rowBreakPoint): put a hack inside #if 0
500
501 2003-10-28  André Pönitz  <poenitz@gmx.net>
502
503         * lyxtext.h:
504         * metricsinfo.C:
505         * paragraph_funcs.C:
506         * rowpainter.C:
507         * text.C:
508         * text2.C: general cleanup (lots of small stuff)
509
510 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
511
512         * text2.C (cursorEnd): simple fix to the "end key goes to one
513         before the end on last row" bug
514
515 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
516
517         * text.C (backspace): fix the "zombie characters"
518
519 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
520
521         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
522
523 2003-10-27  André Pönitz  <poenitz@gmx.net>
524
525         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
526
527         * factory.C: handle new InsetPagebreak, InsetLine
528
529         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
530         and move handling into new InsetPagebreak, InsetLine
531
532         * BufferView_pimpl.C:
533         * LyXAction.C:
534         * ParagraphParameters.C:
535         * ParameterStruct.h:
536         * lyxfunc.C:
537         * lyxtext.h:
538         * paragraph.C:
539         * paragraph.h:
540         * paragraph_funcs.C:
541         * paragraph_pimpl.C:
542         * rowpainter.C:
543         * text.C:
544         * text2.C:
545         * text3.C: adjust
546
547 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
548
549         * text.C:
550         * lyxrow_funcs.[Ch]:
551         * Bidi.C:
552         * paragraph.C:
553         * lyxtext.h:
554         * rowpainter.C:
555         * text2.C:
556         * text3.C: remove lastPos uses in favour of Row::endpos
557
558 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
559
560         * undo.C (performUndoOrRedo): fix two crashes by setting a
561         cursor by hand and reordering some calls. Use bv->lockInset instead
562         of inset->edit because the latter loses cursor information
563
564 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
565
566         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
567         by Martin
568         (rowBreakPoint): fix width. change point to point + 1.
569         Add a missing check.
570
571 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
572
573         * MenuBackend.C:
574         * lyxfunc.C: fix (at least partly) the problems
575         with the Nav menu and headers inside branch insets
576         reported by Kayvan
577
578 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
579
580         * paragraph.C (getChar): add strong asserts
581
582         * lyxrow_funcs.C (lastPos): remove hideous hack
583
584         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
585         (fill): adjust to that (avoid an infinite loop)
586
587 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
588
589         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
590
591 2003-10-23  André Pönitz  <poenitz@gmx.net>
592
593         * RowList_fwd.h: change list<> to vector<> to gain speed
594         after suggestion from Alfredo
595
596 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
597
598         * lyxtext.h: move the bidi stuff from here...
599         * text.C: and here
600         * text2.C: and here
601         * Bidi.[Ch]: ... to here
602
603 2003-10-23  André Pönitz  <poenitz@gmx.net>
604
605         * lyxtext.h:
606         * text.C (isLastRow, isFirstRow): new functions
607
608         * paragraph.h: new width cache member
609
610         * rowpainter.C: replace RowList::iterator with Row & where possible
611
612         * lyxfunc.C: replace several view()->text with a single call
613
614         * toc.C: fix 'unused' warning
615
616 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
617
618         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
619         when woring with stream::pos_type
620         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
621
622 2003-10-22  André Pönitz  <poenitz@gmx.net>
623
624         * lyxtext.h:
625         * text.C: use Row & instead of RowList::iterator
626
627         * lyxrow.h: rename end() to endpos()
628
629         * rowpainter.C:
630         * text.C:
631         * text2.C: adjust
632
633 2003-10-22  Angus Leeming  <leeming@lyx.org>
634
635         * buffer.[Ch] (fully_loaded): new member function, returning true
636         only when the file has been loaded fully.
637         Used to prevent the premature generation of previews and by the
638         citation inset to prevent computation of the natbib-style label.
639
640         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
641         templates are all set up.
642
643         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
644
645 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
646
647         * text.C: fixed an "oops" in the "is a bit silly"
648         bug fix
649
650 2003-10-21  André Pönitz  <poenitz@gmx.net>
651
652         * FuncStatus.[Ch]: small stuff, whitespace
653
654         * lyxfont.[Ch]: operator<<() for debug reasons
655
656         * lyxfunc.C:
657         * lyxrow_funcs.C:
658         * lyxtext.h: whitespace, spelling
659
660         * paragraph.C: naming of variables
661
662         * text.C:
663         * text2.C: small stuff
664
665
666 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * text.C: (1) finish off the inset display() work;
669         (2) fix the "is a bit silly" bug (accessing char
670         past end of par).
671
672 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
673
674         * text.C: re-introduce display() for insets, fixing the
675         various bugs (stretch of line above, math inset
676         positioning, ...)
677
678 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * text.C (rightMargin): remove spurious semicolon
681
682         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
683         1415)
684
685 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
686
687         * text3.C: fix one crash due to wrong cursor def
688
689 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
690
691         * vc-backend.C (scanMaster): make the regex static
692
693         * LaTeX.C (scanAuxFile): make the regexs static
694
695         * text3.C (doInsertInset, dispatch, dispatch):
696         * text2.C (cursorUp, cursorDown):
697         * text.C (selectNextWordToSpellcheck):
698         * BufferView_pimpl.C (dispatch):
699         * lyxfunc.C (dispatch):  localDispatch -> dispatch
700
701 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * lyxsocket.C: include <cerrno>
704
705 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
706
707         * lyxfunc.C (dispatch): remove textcache stuff
708
709         * bufferlist.C (release): remove textcache stuff
710         (closeAll): ditto
711
712         * TextCache.C: delete file
713         * TextCache.h: delete file
714
715         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
716
717         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
718         delete of the bv_->text.
719         (resizeCurrentBuffer): remove texcache stuff
720         (workAreaResize): ditto
721
722 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
723
724         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
725         action.
726
727 2003-10-16  André Pönitz  <poenitz@gmx.net>
728
729         * lyxrow.[Ch]:
730         * paragraph.h:
731         * rowpainter.C:
732         * text.C:
733         * text2.C:
734         * text3.C: speed up by storing y positions per paragraph plus per-row
735         offset instead of having a 'full' y position in the row.
736
737 2003-10-15  André Pönitz  <poenitz@gmx.net>
738
739         * iterators.[Ch]:
740         * iterators.[Ch]:
741         * undo.[Ch]: make undo aware of inner insets
742
743 2003-10-14  Angus Leeming  <leeming@lyx.org>
744
745         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
746         static member functions LyX::ref() and LyX::cref.
747         (lastfiles): new accessor functions for the new lastfiles_ member var.
748         (addLyXView, views_): add a new LyXView to the list of views_.
749         (updateInset): loop over all LyXViews to call their own updateInset
750         member function, returning a pointer to the Buffer owning the inset.
751
752         * BufferView_pimpl.C (loadLyXFile):
753         * MenuBackend.C (expandLastfiles):
754         * bufferlist.C (MenuWrite, QuitLyX):
755         lastfiles is no longer a global variable.
756         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
757
758         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
759         static function. Access through LyX::cref().emergencyCleanup().
760
761 2003-10-14  André Pönitz  <poenitz@gmx.net>
762
763         * iterators.[Ch]: new direct access to innermost LyXText and Inset
764
765         * undo.[Ch]: restoring part of 'undo in insets'
766
767         * Makefile.am:
768         * undo_funcs.[Ch]: merge with undo.[Ch]
769
770         * tabular.C: small cleansing stuff
771
772 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
773
774         * paragraph_funcs.C (readParToken): report unknown insets as error
775         boxes. Use the outer paragraph as location (also for unknown
776         tokens).
777
778         * factory.C (readInset): do not abort on reading an unknown inset.
779         Eat it and return 0.
780
781 2003-10-13  Angus Leeming  <leeming@lyx.org>
782
783         * lyx_main.C (LyX): remove call to setDisplayTranslator().
784
785         * lyxrc.C: displayTranslator is now a function,
786         declared in GraphicsTypes.h.
787
788 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
789
790         * format.C: new placeholder $$a to pass the socket address.
791
792         * bufferlist.[Ch]: new function getBufferFromTmp.
793
794         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
795           files in the temporary dir.
796
797 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
798
799         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
800
801         * Makefile.am: add lyxsocket.[Ch].
802
803         * lyx_main.C (error_handler): handle SIGPIPE.
804
805 2003-10-13  André Pönitz  <poenitz@gmx.net>
806
807         * BufferView_pimpl.C:
808         * lyxtext.h:
809         * text.C:
810         * text2.C:
811         * text3.C:
812         * undo_funcs.[Ch]: use paroffset_type instead of
813           ParagraphList::iterators to prevent multiple conversion
814           (and get a more robust interface)
815
816 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
817
818         * lyxfunc.C (dispatch): RESULT -> dispatch_result
819         * lyxtext.h: ditto
820         * text3.C (dispatch): ditto
821
822 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
823
824         * LaTeX.C (handleFoundFile): move the static to smaller scope,
825         move the onlyfile, use onlyfile instead of foundfile in a couple
826         of places.
827
828         * DepTable.C (update): flush the error stream a bit more
829
830 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
831
832         * lyxserver.C (callback): adjust
833
834         * lyxfunc.C (getStatus): add a missing brace in commented code
835         (ensureBufferClean): reindent
836         (dispatch): delete version taking a string
837
838 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
839
840         * LaTeX.C (deplog): move found file handlig from here...
841         (handleFoundFile): .. to new function here.
842         (deplog): make sure to discover several files mentioned on the
843         same log line.
844
845 2003-10-10  André Pönitz  <poenitz@gmx.net>
846
847         * lyxfunc.C:
848         * lyxtext.h:
849         * tabular.C:
850         * text.C:
851         * text2.C:
852         * text3.C: fix some of the tabular crashes
853
854 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
855
856         * MenuBackend.C (binding): put debug message into Debug::KBMAP
857
858         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
859
860 2003-10-09  André Pönitz  <poenitz@gmx.net>
861
862         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
863
864         * BufferView.C:
865         * BufferView_pimpl.C:
866         * bufferview_funcs.C:
867         * lyx_cb.C:
868         * lyxcursor.C:
869         * lyxfind.C:
870         * lyxfunc.C:
871         * lyxtext.h:
872         * text.C:
873         * text2.C:
874         * text3.C:
875         * text_funcs.[Ch]:
876         * textcursor.[Ch]:
877         * undo_funcs.C: adjust
878
879 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
880
881         * text2.C (incrementItemDepth): new function, use a backtracking
882         algorithm to discover the correct item depth.
883         (resetEnumCounterIfNeeded): new function, use a backtracking
884         algorithm to discover if counter reset is needed.
885         (setCounter): use them. Simplify a bit. Add different labels for
886         different item depths for itemize.
887
888         * paragraph.C (Paragraph): remove initialization of enumdepth
889         (operator=): ditto
890
891         * paragraph.h: get rid of enumdepth, and use itemdepth both for
892         enumerate and itemize. Change the type of itemdepth to signed char.
893
894 2003-10-08  André Pönitz  <poenitz@gmx.net>
895
896         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
897           thing assignable.
898         * text.C:
899         * text2.C: adjust
900
901         * tabular.[Ch]: fix crash after 'row-insert'
902
903 2003-10-08  Angus Leeming  <leeming@lyx.org>
904
905         Fix doxygen warnings.
906
907         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
908         Remove CutAndPaste:: prefix from header file declaration.
909
910         * LColor.h (fill): remove LColor:: prefix from declaration.
911
912         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
913         use lyx::depth_type rather than Paragraph::depth_type so that
914         header file and .C file match.
915
916         * converter.h (intToFormat): remove Converters:: prefix from declaration.
917
918         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
919         * aspell.C: \file aspell_local.C -> \file aspell.C
920         * gettext.C: \file gettext.C -> \file src/gettext.C
921         * gettext.h: \file gettext.h -> \file src/gettext.h
922         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
923         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
924         * text.C: \file text.C -> \file src/text.C
925
926         * toc.C: move comment so that doxygen is not confused.
927
928 2003-10-07  Angus Leeming  <leeming@lyx.org>
929
930         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
931
932 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
933
934         * aspell.C:
935         * aspell_local.h: add forgotten std::string's.
936
937 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
938
939         * LaTeXFeatures.C:
940         * LyXAction.C:
941         * factory.C:
942         * lfuns.h:
943         * lyxfunc.C:
944         * text3.C: The Box patch. Fancybox support, minipage, parbox
945
946 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
947
948         * CutAndPaste.h:
949         * DepTable.h:
950         * FloatList.h:
951         * LaTeXFeatures.h:
952         * ParagraphParameters.h:
953         * TextCache.h:
954         * Thesaurus.h:
955         * bufferlist.h:
956         * exporter.h:
957         * importer.h:
958         * lastfiles.h:
959         * lyxfind.h:
960         * lyxfont.h:
961         * lyxlex.h:
962         * lyxtextclasslist.h:
963         * messages.h:
964         * paragraph.h:
965         * paragraph_pimpl.C:
966         * textcursor.h: add <string> and other small fixes to make Lars'
967         std::string patch compile with STLport.
968
969 2003-10-06  Angus Leeming  <leeming@lyx.org>
970
971         * LColor.h: Add missing #include <string>.
972
973 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
974
975         * All most all file in all subdirs: Make <string> be the prefered
976         way of getting to std::string, add using declarations.
977
978 2003-10-06  André Pönitz  <poenitz@gmx.net>
979
980         * metricsinfo.C: initialize LyXFont before changing attribute.
981         (fixes the 'math in \emph is upright' bug)
982
983 2003-10-06  André Pönitz  <poenitz@gmx.net>
984
985         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
986
987 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
988
989         * graph.C:
990         * paragraph_pimpl.C: Small fixes to build using STLport
991
992 2003-10-02  André Pönitz  <poenitz@gmx.net>
993
994         * lyxfunc.C:
995         * text3.C: move handling of LFUN_DEPTH *; fix #1360
996
997 2003-10-01  André Pönitz  <poenitz@gmx.net>
998
999         * factory.C: assert early
1000
1001 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1002
1003         * lyx_main.C: remove the global debug object
1004
1005         * debug.h: adjust for new debugstream
1006
1007         * debug.C: adjust for new debugstream and keep the global debug
1008         object here.
1009
1010 2003-09-22  Angus Leeming  <leeming@lyx.org>
1011
1012         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1013         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1014         an incomplete class LyXFont.
1015
1016 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1017
1018         * factory.C: bug fix in branches
1019
1020 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1021
1022         * lyxfunc.C (processKeySym): adjust
1023         (dispatch): adjust
1024         (dispatch): change arg name from ev to func, adjust
1025         (sendDispatchMessage): ditto
1026
1027         * lyx_main.C (defaultKeyBindings): adjust keybindings
1028         (deadKeyBindings): ditto
1029
1030         * kbsequence.C (addkey): return a FuncRequest
1031
1032         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1033
1034         * kbmap.C (bind): take a FuncRequest as arg, adjust
1035         (read): adjust
1036         (lookup): adjust
1037         (defkey): change to take a FuncRequest as arg, adjust
1038         (findbinding): take a FuncRequest as arg, adjust.
1039
1040         * funcrequest.h (operator=): added
1041
1042         * funcrequest.C (FuncRequest): default kb_action changed from
1043         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1044
1045         * buffer.C (dispatch): simplify
1046         (dispatch): adjust to take a FuncRequest as arg, adjust
1047
1048         * boost.C (assertion_failed): change assertion message slightly
1049
1050         * ToolbarBackend.C (read): simplify
1051
1052         * MenuBackend.C (binding): adjust call to findbinding, add a
1053         message if no binding is found.
1054         (read): simplify
1055         (expandToc): correct by adding a empty FuncRequest
1056
1057         * LyXAction.C: include <boost/assert.hpp>
1058         (isPseudoAction): delete function
1059         (LookupFunc): change name to...
1060         (lookupFunc): this. change return type to FuncRequest.
1061         (getActionName): take kb_action as arg, simplify
1062         (funcHasFlag): add an assert, simplify.
1063
1064 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1065
1066         * toc.C (action): return a FuncRequest, simplify
1067
1068         * lyxfunc.C (processKeySym): adjust
1069         (getStatus): delete version that takes an int.
1070         (getStatus): adjust
1071         (dispatch): delete version that takes action as int
1072         (dispatch): adjust
1073         (sendDispatchMessage): simplify and adjust
1074
1075         * funcrequest.C (getArg): take unsigned int as arg
1076
1077         * ToolbarBackend.C (read): adjust
1078         (add): delete version that takes func as a string.
1079         (getIton): take a FuncRequest as arg
1080
1081         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1082         action.
1083
1084         * MenuBackend.C (MenuItem): add a new construct that only takes a
1085         Kind, simplify the constructor use for submenus.
1086         (add): adjust
1087         (expandLastfiles): adjust
1088         (expandDocuments): adjust
1089         (expandFormats): adjust
1090         (expandFloatListInsert): adjust
1091         (expandFloatInsert): adjust
1092         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1093
1094         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1095         Remove class variables lyx_pseudo_map and lyx_arg_map
1096
1097         * LyXAction.C (searchActionArg): delete function
1098         (getPseudoAction): delete function
1099         (retrieveActionArg): delete function
1100         (LookupFunc): make it return kb_action, simplify.
1101         (getActionName): simplify
1102
1103         * factory.C (createInset): fix new bug
1104
1105 2003-09-19  Angus Leeming  <leeming@lyx.org>
1106
1107         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1108         masterFilename_ parameter in the include inset.
1109
1110         * factory.C (createInset): changes due to the changes to InsetInclude.
1111
1112 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1113
1114         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1115
1116 2003-09-18  Angus Leeming  <leeming@lyx.org>
1117
1118         * buffer.C:
1119         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1120         Inset::fillWithBibKeys.
1121         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1122
1123 2003-09-18  Angus Leeming  <leeming@lyx.org>
1124
1125         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1126         variables.
1127         (ctor): pass and store a 'Buffer const &'
1128         (buffer): new member function.
1129
1130         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1131         '*this' to the LaTeXFeatures ctor.
1132
1133 2003-09-18  Angus Leeming  <leeming@lyx.org>
1134
1135         * LColor.h:
1136         * lyxfont.C:
1137         * lyxfont.h:
1138         * lyxtext.h:
1139         * text.C: rename EnumLColor as LColor_color.
1140
1141 2003-09-18  Angus Leeming  <leeming@lyx.org>
1142
1143         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1144         remove #include "insets/insetbase.h" from cursor.h.
1145
1146 2003-09-18  Angus Leeming  <leeming@lyx.org>
1147
1148         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1149         InsetOld_code to remove #include "inset.h".
1150
1151         * iterators.C: add #include "insets/inset.h"
1152
1153 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1154
1155         * BufferView.C: remove more locking stuff that apparently doesn't
1156         do anything sensible.
1157
1158 2003-09-16  André Pönitz  <poenitz@gmx.net>
1159
1160         * paragraph.[Ch]:
1161         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1162           performance boost.
1163
1164 2003-09-16  Angus Leeming  <leeming@lyx.org>
1165
1166         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1167
1168         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1169         arg/return type.
1170
1171         * paragraph.h: remove #include "lyxfont.h". Forward declare
1172         LyXFont_size.
1173
1174 2003-09-16  Angus Leeming  <leeming@lyx.org>
1175
1176         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1177         of support/textutils.h.
1178         (isWord): move the contents of support/textutils.h's IsWordChar here.
1179
1180         * buffer.C:
1181         * lyxfind.C:
1182         * rowpainter.C:
1183         * text.C:
1184         * text2.C: add #include "paragraph.h".
1185
1186         * rowpainter.C:
1187         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1188
1189 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1190
1191         * main.C:
1192         * lyx_main.C:
1193         * lyx_cb.C:
1194         * buffer.C:
1195         * LaTeX.C: use namespace alias for lyx::support::os
1196
1197 2003-09-16  Angus Leeming  <leeming@lyx.org>
1198
1199         * bufferparams.C:
1200         * bufferview_funcs.C:
1201         * factory.C:
1202         * lyxfunc.C:
1203         * paragraph_pimpl.C:
1204         * rowpainter.C:
1205         * text.C: add #include "LColor.h".
1206
1207 2003-09-16  Angus Leeming  <leeming@lyx.org>
1208
1209         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1210         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1211         return LyXFont &.
1212         Store the FontBits::color variable as an int rather than as an
1213         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1214         file.
1215
1216         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1217         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1218         string calls together.
1219
1220         * lyxrc.C: add #include "LColor.h".
1221
1222 2003-09-15  Angus Leeming  <leeming@lyx.org>
1223
1224         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1225         a cow_ptr.
1226
1227 2003-09-15  Angus Leeming  <leeming@lyx.org>
1228
1229         * LColor.h: add an EnumLColor wrapper for LColor::color.
1230
1231         * lyxfont.[Ch] (color, setColor, realColor):
1232         * lyxtext.h, text.C (backgroundColor):
1233         pass EnumLColor args to/from the functions, rather than LColor::color
1234         ones.
1235
1236         * lyxfont.h:
1237         * lyxtext.h: forward declare EnumLColor.
1238
1239         * lyx_main.C: add #include "LColor.h".
1240
1241 2003-09-15  Angus Leeming  <leeming@lyx.org>
1242
1243         * .cvsignore: add lyx-gtk.
1244
1245 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1246
1247         * Chktex.C
1248         * LaTeX.C
1249         * LaTeXFeatures.C
1250         * ParagraphParameters.C
1251         * Spacing.C
1252         * buffer.C
1253         * bufferparams.C
1254         * bufferview_funcs.C
1255         * chset.C
1256         * counters.C
1257         * funcrequest.C
1258         * lyxfont.C
1259         * lyxgluelength.C
1260         * lyxlength.C
1261         * paragraph.C
1262         * paragraph_funcs.C
1263         * text3.C
1264         * vc-backend.C: remove usage of STRCONV
1265
1266 2003-09-15  Angus Leeming  <leeming@lyx.org>
1267
1268         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1269         explicitly define the color passed to the painter.
1270
1271 2003-09-15  Angus Leeming  <leeming@lyx.org>
1272
1273         * bufferparams.C (BufferParams): reorder member initializers to avoid
1274         compiler warning.
1275
1276 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1277
1278         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1279         * text.C (updateRowPositions): remove an unusual nop
1280
1281 2003-09-12  André Pönitz  <poenitz@gmx.net>
1282
1283         * BufferView_pimpl.C:
1284         * Bullet.C:
1285         * layout.h:
1286         * lyxfunc.C:
1287         * lyxlayout.[Ch]:
1288         * lyxtextclass.C:
1289         * rowpainter.C:
1290         * text.C:
1291         * text2.C:
1292         * Counters.[Ch]: finish the 'automatic counters' job
1293
1294 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1295
1296         * aspell.C: include <boost/assert.cpp> (compile fix)
1297
1298 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1299
1300         * boost.C (assertion_failed): use lyx::support::abort instead of
1301         assert.
1302
1303 2003-09-10  Angus Leeming  <leeming@lyx.org>
1304
1305         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1306         with their _fwd progeny.
1307
1308 2003-09-09  Angus Leeming  <leeming@lyx.org>
1309
1310         134 files throughtout the source tree: replace 'using namespace abc;'
1311         directives with the appropriate 'using abc::xyz;' declarations.
1312
1313 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1314
1315         * boost.C (emergencyCleanup): moved here from LAssert.c
1316         (assertion_failed): new function, called by BOOST_ASSERT
1317
1318         * several files: change Assert to BOOST_ASSERT
1319
1320 2003-09-09  Angus Leeming  <leeming@lyx.org>
1321
1322         * buffer.[Ch]: Add an Impl class and move Buffer's member
1323         variables into it. As a result move several header files out of
1324         buffer.h.
1325
1326         Add header files to lots of .C files all over the tree as a result.
1327
1328 2003-09-09  Angus Leeming  <leeming@lyx.org>
1329
1330         * buffer.[Ch]: make Buffer's member variables private. Add
1331         accessor functions.
1332
1333         Lots of changes all over the tree as a result.
1334
1335 2003-09-08  Angus Leeming  <leeming@lyx.org>
1336
1337         * graph.C: #include <config.h>.
1338
1339 2003-09-08  Angus Leeming  <leeming@lyx.org>
1340
1341         * BranchList.C:
1342         * BufferView.C:
1343         * BufferView_pimpl.C:
1344         * CutAndPaste.C:
1345         * DepTable.C:
1346         * LaTeX.C:
1347         * LaTeXFeatures.C:
1348         * LyXAction.C:
1349         * MenuBackend.C:
1350         * TextCache.C:
1351         * aspell.C:
1352         * buffer.C:
1353         * bufferlist.C:
1354         * changes.C:
1355         * chset.C:
1356         * converter.C:
1357         * counters.C:
1358         * debug.C:
1359         * graph.C:
1360         * ispell.C:
1361         * lyx_cb.C:
1362         * lyxfind.C:
1363         * lyxfunc.C:
1364         * lyxlex_pimpl.C:
1365         * lyxrc.C:
1366         * lyxrow.C:
1367         * paragraph.C:
1368         * rowpainter.C:
1369         * texrow.C:
1370         * text.C:
1371         * text2.C:
1372         * toc.C: remove redundant using directives.
1373
1374 2003-09-07  Angus Leeming  <leeming@lyx.org>
1375
1376         * LaTeXFeatures.h: remove #include "support/types.h".
1377         * ToolbarBackend.h: remove #include <algorithm>.
1378         * changes.h: remove #include <ctime>.
1379         * debug.h: remove #include <iosfwd>.
1380         * graph.h: remove #include "support/std_string.h".
1381         * lyx_main.h: remove #include <csignal>.
1382         * lyxlex_pimpl.h: remove #include <fstream>.
1383         * sgml.h: remove #include <algorithm>, <utility>.
1384         * toc.h: remove #include "support/std_ostream.h".
1385         Add #include <iosfwd>.
1386
1387 2003-09-07  Angus Leeming  <leeming@lyx.org>
1388
1389         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1390
1391         * converter.h: forward declare LatexRunParams.
1392         * encoding.h: remove #include "lyxrc.h".
1393         * lyxtext.h: remove #include "LColor.h".
1394         * lyxtextclass.h: remove #include "support/types.h".
1395         * trans.h: remove #include "tex-accent.h".
1396         * trans_mgr.h: remove #include "tex-accent.h".
1397         * insets/inset.h: remove #include "support/types.h", <vector>.
1398         * insets/insetcollapsable.h: remove #include "LColor.h".
1399         * insets/insetinclude.h: remove #include "dimension.h".
1400         * insets/insetlatexaccent.h: remove #include "dimension.h".
1401         * insets/insetoptarg.h:: remove #include "insettext.h".
1402         * insets/insettext.h: remove #include "dimension.h",
1403         <boost/shared_ptr.hpp>
1404
1405         * insets/renderers.h: add #include "dimension.h".
1406         * insets/updatableinset.h: add #include "support/types.h".
1407
1408         * many .C files: Associated changes.
1409
1410 2003-09-06  Angus Leeming  <leeming@lyx.org>
1411
1412         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1413         one, inside testInvariant.
1414
1415         * PrinterParams.C: new file.
1416         * PrinterParams.[Ch]: move the function bodies out of line.
1417
1418 2003-09-06  Angus Leeming  <leeming@lyx.org>
1419
1420         * ParagraphParameters.h: forward declare ParameterStruct rather than
1421         including its header file.
1422         (depth): moved out-of-line.
1423
1424 2003-09-06  Angus Leeming  <leeming@lyx.org>
1425
1426         * BufferView_pimpl.h:
1427         * kbmap.h:
1428         * kbsequence.h:
1429         * lyxfunc.h: forward declare LyXKeySym rather than
1430         #include "frontends/LyXKeySym.h".
1431
1432         * BufferView_pimpl.C:
1433         * kbmap.C:
1434         * kbsequence.C:
1435         * lyxfunc.C: associated changes.
1436
1437 2003-09-06  Angus Leeming  <leeming@lyx.org>
1438
1439         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1440         As a result, can remove the #include "insets/inset.h" from BufferView.h
1441
1442 2003-09-06  Angus Leeming  <leeming@lyx.org>
1443
1444         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1445         As a result, can remove the #include "insets/inset.h" from BufferView.h
1446
1447 2003-09-06  Angus Leeming  <leeming@lyx.org>
1448
1449         * buffer_funcs.C:
1450         * buffer.h:
1451         * bufferlist.C:
1452         * BufferView.C:
1453         * bufferview_funcs.C:
1454         * BufferView_pimpl.C:
1455         * CutAndPaste.C:
1456         * lyx_cb.C:
1457         * lyxfunc.C:
1458         * paragraph.h:
1459         * ParagraphParameters.C:
1460         * tabular.C:
1461         * text3.C:
1462         * toc.C:
1463         * undo_funcs.C:
1464         * frontends/controllers/ControlDocument.C:
1465         * insets/insetcaption.C: rearrange the #includes into some sort of
1466         coherent order.
1467
1468         * buffer.h: remove #includes ErrorList.h, undo.h
1469
1470 2003-09-06  Angus Leeming  <leeming@lyx.org>
1471
1472         * support/types.h: add a 'depth_type' typedef, used to store the
1473         nesting depth of a paragraph.
1474
1475         * paragraph.h:
1476         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1477         defining explicitly.
1478
1479         * buffer.h:
1480         * paragraph_funcs.h:
1481         * ParagraphParameters.h:
1482         * sgml.h: use lyx::depth_type rather than Paragraph or
1483         ParameterStruct's depth_type.
1484
1485         * buffer.h
1486         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1487
1488         * BufferView.C:
1489         * BufferView_pimpl.C:
1490         * CutAndPaste.C:
1491         * ParagraphParameters.C:
1492         * buffer_funcs.C:
1493         * bufferlist.C:
1494         * bufferview_funcs.C:
1495         * lyx_cb.C:
1496         * lyxfunc.C:
1497         * tabular.C:
1498         * text3.C:
1499         * toc.C:
1500         * undo_funcs.C:
1501         * frontends/LyXView.C:
1502         * frontends/controllers/ControlDocument.C:
1503         * frontends/controllers/ControlErrorList.C:
1504         * insets/insetbibitem.C:
1505         * insets/insetbranch.C:
1506         * insets/insetcaption.C:
1507         * insets/insetcollapsable.C:
1508         * insets/insetenv.C:
1509         * insets/insetert.C:
1510         * insets/insetfloat.C:
1511         * insets/insetfoot.C:
1512         * insets/insetfootlike.C:
1513         * insets/insetnewline.C:
1514         * insets/insetquotes.C:
1515         * insets/insettabular.C:
1516         * insets/insettext.C:
1517         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1518
1519         * frontends/controllers/ControlChanges.C: #include "changes.h".
1520
1521 2003-09-06  Angus Leeming  <leeming@lyx.org>
1522
1523         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1524         than #including paragraph.h.
1525
1526         * ParagraphList.h:
1527         * RowList.h: deleted. Superfluous.
1528
1529         * CutAndPaste.h:
1530         * iterators.h:
1531         * lyxcursor.h:
1532         * lyxtext.h:
1533         * text_funcs.h:
1534         * undo.h:
1535         * undo_funcs.h:
1536         * insets/inset.h:
1537         * insets/insettext.h: use ParagraphList_fwd.h rather than
1538         ParagraphList.h.
1539
1540         * paragraph.h: don't forward declare ParagraphList.
1541
1542         * buffer.h:
1543         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1544         rather than ParagraphList.h. paragraph.h is still needed for the
1545         Paragraph::depth_type parameters.
1546
1547         * textcursor.h: enable it to compile stand-alone in light of the
1548         above changes.
1549
1550         * bufferview_funcs.C:
1551         * iterators.C:
1552         * lyxfunc.C:
1553         * lyxrow_funcs.C:
1554         * paragraph.C:
1555         * rowpainter.C:
1556         * text.C:
1557         * text2.C:
1558         * text3.C:
1559         * text_funcs.C:
1560         * textcursor.C:
1561         * undo.C:
1562         * frontends/controllers/ControlParagraph.C:
1563         * frontends/controllers/ControlTabular.C:
1564         * insets/insetmarginal.C:
1565         * insets/insetminipage.C:
1566         * insets/insetnote.C:
1567         * insets/insetoptarg.C: add header files needed to compile again.
1568
1569 2003-09-06  Angus Leeming  <leeming@lyx.org>
1570
1571         * RowList_fwd.h: new file, forward-declaring Row rather than
1572         #including lyxrow.h.
1573
1574         * lyxrow_funcs.h:
1575         * lyxtext.h:
1576         * paragraph.h:
1577         * insets/insettext.h: use it instead of RowList.h
1578
1579         * bufferview_funcs.C:
1580         * lyxfunc.C:
1581         * lyxrow_funcs.C:
1582         * paragraph.C:
1583         * rowpainter.C:
1584         * text.C:
1585         * text2.C:
1586         * text3.C: #include "RowList.h".
1587
1588 2003-09-05  Angus Leeming  <leeming@lyx.org>
1589
1590         * factory.C (createInset):
1591         * vspace.C (c-tor): replace sscanf call with an istringstream.
1592         * ispell.C: re-add missing HP/UX headers.
1593         * lyxserver.C: re-add missing  os2 headers.
1594
1595 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1596
1597         * BranchList.C:
1598         * graph.C:
1599         * ispell.C:
1600         * lastfiles.C:
1601         * lyx_cb.C:
1602         * lyxserver.C:
1603         * texrow.C:
1604         * text3.C: re-add missing system headers, needed for 2.95.2.
1605
1606 2003-09-05  Angus Leeming  <leeming@lyx.org>
1607
1608         Changes most place everywhere due to the removal of using directives
1609         from support/std_sstream.h.
1610
1611 2003-09-05  Angus Leeming  <leeming@lyx.org>
1612
1613         Replace LString.h with support/std_string.h,
1614         Lsstream.h with support/std_sstream.h,
1615         support/LIstream.h with support/std_istream.h,
1616         support/LOstream.h with support/std_ostream.h.
1617
1618         Changes resulting throughout the tree.
1619
1620 2003-09-05  Angus Leeming  <leeming@lyx.org>
1621
1622         * sgml.h: ensure that the header file can be compiled stand-alone.
1623         * *.C: strip out redundant #includes. (320 in total.)
1624
1625 2003-09-04  Angus Leeming  <leeming@lyx.org>
1626
1627         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1628         here (from getPackages).
1629
1630         * debug.[Ch]: add a new EXTERNAL tag.
1631
1632 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1633
1634         * text2.C (cursorEnd): simplify
1635         (setCursor): adjust
1636         (getColumnNearX): adjust
1637
1638         * text.C (computeBidiTables): adjust
1639         (fill): adjust
1640
1641         * rowpainter.C (paintChars): adjust
1642         (paintSelection): adjust
1643         (paintChangeBar): adjust
1644         (paintText): adjust
1645
1646         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1647         lastPos instead.
1648         (numberOfSeparators): adjust
1649
1650 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1651
1652         * LyXAction.C:
1653         * box.[Ch]:
1654         * lfuns.h:
1655         * lyxfunc.C:
1656         * text3.C: Restricts the mouse click functionality
1657         of insets like bibtex, include, toc and floatlist to the visible
1658         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1659         up the dialogs. Cursor has to be in front of the inset (i.e.
1660         start of row) for this to function.
1661
1662 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1663
1664         * bufferview_funcs.C (currentState): output row information
1665
1666 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1667
1668         * bufferview_funcs.C (currentState): output paragraph position
1669
1670 2003-09-04  Angus Leeming  <leeming@lyx.org>
1671
1672         * FloatList.h: move out #include "Floating.h".
1673         * LaTeX.h: move out #include "DepTable.h".
1674         * LyXAction.h: move out #include "funcrequest.h".
1675         * buffer.h: move out #include "author.h", "iterators.h".
1676         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1677         * lyx_main.h: move out #include "errorlist.h".
1678         * lyxfunc.h: move out #include "FuncStatus.h".
1679         * lyxtext: move out #include "lyxcursor.h".
1680         * paragraph_pimpl.h: move out #include "counters.h".
1681
1682 2003-09-03  Angus Leeming  <leeming@lyx.org>
1683
1684         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1685         preamble_snippets list, enabling us to add snippets to the preamble
1686         only if the snippet was not there already.
1687
1688 2003-09-04  Angus Leeming  <leeming@lyx.org>
1689
1690         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1691
1692 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1693
1694         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1695         update
1696
1697 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1698
1699         * BranchList.C: point fix, earlier forgotten
1700
1701 2003-09-02  Angus Leeming  <leeming@lyx.org>
1702
1703         * box.C (contains): renamed from 'contained' after a fantastic
1704         amount of hot air.
1705
1706 2003-09-02  John Levon  <levon@movementarian.org>
1707
1708         * BufferView.C:
1709         * lyxcursor.h:
1710         * lyxcursor.C:
1711         * lyxfunc.C:
1712         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1713
1714 2003-09-02  John Levon  <levon@movementarian.org>
1715
1716         * text2.C: simplification of cursorEnd(), including partial
1717         fix for bug 1376
1718
1719 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1720
1721         * buffer.C (readFile): add a space
1722
1723 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1724
1725         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1726
1727 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1728
1729         * buffer.C (readFile): new function, take a filename and a
1730         ParagraphList::iterator
1731         (readFile): adjust
1732         (readFile): adjust, make it private. don't use setStream, make
1733         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1734         always contain the filename.
1735
1736         * BufferView.C (insertLyXFile): simplify and make it work for
1737         gzipped files.
1738
1739 2003-08-30  John Levon  <levon@movementarian.org>
1740
1741         * Makefile.am: fix dist (from Kayvan)
1742
1743 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1744
1745         * most files: change to use const Buffer refs
1746
1747 2003-08-27  André Pönitz  <poenitz@gmx.net>
1748
1749         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1750         on top of ownerPar().
1751
1752 2003-08-27  John Levon  <levon@movementarian.org>
1753
1754         * funcrequest.C: properly initialise POD members
1755
1756 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1757
1758         * lyxtext.h (top_y): move top_y from here
1759         * text.C:
1760         * text2.C:
1761         * text3.C:
1762         * BufferView.[Ch]:
1763         * BufferView_pimpl.[Ch]: to here
1764         * frontends/screen.C:
1765         * insets/insettabular.C:
1766         * insets/insettext.C: adjust
1767         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1768
1769 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1770
1771         * BufferView.[Ch]:
1772         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1773
1774 2003-08-26  André Pönitz  <poenitz@gmx.net>
1775
1776         * paragraph_func.[Ch] (outerPar): new function
1777
1778         * paragraph.C:
1779         * paragraph_funcs.C:
1780         * paragraph_funcs.h:
1781         * paragraph_pimpl.C:
1782         * text2.C: remove Inset::par_owner
1783
1784 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1785
1786         * lyxrow_funcs.C:
1787         * lyxtext.h:
1788         * text.C:
1789         * text2.C: eliminates the needFullRow/display() stuff
1790         altogether, putting the logic in metrics/draw in the insets.
1791
1792 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1793
1794         * text2.C (redoParagraphInternal, redoParagraphs):
1795         * text.C (redoParagraph): add a call to updateRowPositions at the
1796         end of each 'metrics-like' call. Remove all others.
1797         (getRow): remove the 'y-computing' version.
1798         (getRowNearY): do not compute nor return the real y. Solve the
1799         'y < 0' problem and simplify.
1800
1801 2003-08-22  Angus Leeming  <leeming@lyx.org>
1802
1803         * *.[Ch]: clean-up of licence and author blurbs.
1804         Also move config.h out of a few .h files and into a few .C files.
1805
1806 2003-08-22  André Pönitz  <poenitz@gmx.net>
1807
1808         * lyxrow.[Ch]: add x_ and *fill_ members
1809
1810         * lyxtext.h:
1811         * text.C:
1812         * rowpainter.C:
1813         * text2.C: adjust/remove prepareToPrint() calls
1814
1815 2003-08-22  André Pönitz  <poenitz@gmx.net>
1816
1817         * lyxrow.[Ch]: add  end_ member
1818
1819         * lyxrow_funcs.C: use LyXRow::end_
1820
1821         * lyxtext.h (singleWidth): add LyXFont parameter
1822
1823         * rowpainter.C:
1824         * text2.C: adjust LyXText::singleWidth() calls
1825
1826         * text.C (redoParagraph): simplify row breaking logic
1827
1828
1829 2003-08-19  André Pönitz  <poenitz@gmx.net>
1830
1831         * funcrequest.C: initialize button_ member
1832
1833         * text3.C:
1834         * rowpainter.[Ch]: interface consolidation
1835
1836 2003-08-18  André Pönitz  <poenitz@gmx.net>
1837
1838         * BufferView.C:
1839         * BufferView_pimpl.C:
1840         * lyxfind.C:
1841         * paragraph_funcs.C:
1842         * rowpainter.C:
1843         * text3.C: remove LyXScreen::draw() and fitCursor calls
1844
1845         * BranchList.h: remove spurious semicolons
1846
1847         * MenuBackend.C: fix branchlist related crash
1848
1849 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1850
1851         * BranchList.[Ch]:
1852         * InsetList.[Ch]:
1853         * LColor.[Ch]:
1854         * LyXAction.C:
1855         * Makefile.am:
1856         * MenuBackend.[Ch]:
1857         * bufferparams.[Ch]:
1858         * factory.C:
1859         * lfuns.h:
1860         * lyxfunc.C:
1861         * text3.C: implements the 'branch inset'
1862         idea. This allows the output of various versions of a document
1863         from a single source version, selectively outputing or suppressing
1864         output of parts of the text.
1865         This implementation contains a 'branch list editor' in a separate
1866         tab of the document settings dialog. Branches are user definable
1867         and have a "display colour" to distinguish them on-screen.
1868
1869         ColorHandler was somewhat cleaned up.
1870         (1) make possible a dynamically growing LColor list by allowing
1871         the graphic context cache to grow along (vector);
1872         (2) eliminate an IMHO unnecessary step in colour allocation.
1873
1874 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1875
1876         * BufferView_pimpl.C: compile fix
1877
1878 2003-08-15  André Pönitz  <poenitz@gmx.net>
1879
1880         * rowpainter.C: remove extra metrics calls
1881
1882         * lyxtext.h: merge the two constructors into a single one,
1883           pass reference to owner's par list
1884
1885         * BufferView_pimpl.C:
1886         * text.C:
1887         * text2.C: adjust
1888
1889 2003-08-15  André Pönitz  <poenitz@gmx.net>
1890
1891         * lyxrow_funcs.[Ch]:
1892         * lyxtext.h:
1893         * paragraph.h:
1894         * paragraph_funcs.C:
1895         * rowpainter.C:
1896         * text.C:
1897         * text2.C:
1898         * text3.C:
1899         * text_funcs.C: split LyXText::rowlist_ into individual
1900         Paragraph::rows_ chunks
1901
1902         * BufferView.[Ch]:
1903         * BufferView_pimpl.[Ch]:
1904         * lyxfind.C:
1905         * lyxtext.h:
1906         * text3.C: remove toggleSelection()
1907
1908 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1909
1910         * bufferlist.C: beautify two alerts (shorter text of buttons)
1911         * buffer.C: Remove redundant ' ' from message
1912         * tabular.h:
1913         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1914         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1915         rename VALIGN_CENTER to VALIGN_MIDDLE
1916
1917 2003-08-11  André Pönitz  <poenitz@gmx.net>
1918
1919         * lyxtext.h (getPar):
1920         * text.C: new function
1921
1922 2003-08-11  André Pönitz  <poenitz@gmx.net>
1923
1924         * Makefile.am:
1925         * tracer.[Ch]: remove unneeded files
1926
1927         * InsetList.[Ch]: remove resizeInsetsLyXText()
1928
1929         * lyxtext.h:
1930         * text.C:
1931         * text2.C:
1932         * text3.C: merge insertParagraphs() and appendParagraph()
1933         remove breakAgain(), update()
1934
1935         * BufferView_pimpl.[Ch]:
1936         * bufferview_funcs.[Ch]:
1937         * lyxfunc.C:
1938         * paragraph.[Ch]:
1939         * rowpainter.C:
1940         * tabular.C: adjust after text & InsetList changes.
1941
1942 2003-08-08  André Pönitz  <poenitz@gmx.net>
1943
1944         * text.C (insertChar, backspace): replace rowlist fiddling
1945         with rebreak of full par
1946
1947         * lyxtext.h:
1948         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1949         checkParagraph, updateInset): removed
1950
1951 2003-08-07  André Pönitz  <poenitz@gmx.net>
1952
1953         * paragraph.C:
1954         * text3.C: merge some LFUN handlers, remove dead code
1955
1956 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1959
1960 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1961
1962         * text2.C (DEPM): fix part of bug 1255 and 1256
1963
1964 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1965
1966         * BufferView_pimpl.C (workAreaDispatch): change to use
1967         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1968         that are no mouse related.
1969
1970 2003-08-05  André Pönitz  <poenitz@gmx.net>
1971
1972         * BufferView.[Ch]:
1973         * BufferView_pimpl.[Ch]:
1974         * bufferview_funcs.C:
1975         * text2.C:
1976         * text3.C: rip out "deep update"
1977
1978         * textcursor.[Ch] (last_sel_cursor): remove unused member
1979
1980 2003-08-04  André Pönitz  <poenitz@gmx.net>
1981
1982         * BufferView.[Ch]:
1983         * BufferView_pimpl.[Ch]:
1984         * ParagraphParameters.C:
1985         * bufferview_funcs.C:
1986         * lyx_cb.C:
1987         * lyxfind.C:
1988         * lyxfunc.C:
1989         * text.C:
1990         * text2.C:
1991         * text3.C: replace "complicated" BufferView::update(...) calls with
1992         simpler ones.
1993
1994         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1995
1996 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1997
1998         * Makefile.am (lyx_SOURCES): add paper.h
1999
2000 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2001
2002         * Makefile.am: move things around so that both lyx-qt and
2003         lyx-xforms can be built (according to --with-frontend). Then lyx
2004         is a symbolic link to lyx-[firstfrontend]
2005
2006 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2007
2008         * Always use std::endl with lyxerr
2009
2010 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2011
2012         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2013
2014 2003-08-01  André Pönitz  <poenitz@gmx.net>
2015
2016         * BufferView.[Ch]:
2017         * BufferView_pimpl.[Ch]:
2018         * lyxfunc.C:
2019         * text3.C: merge BufferView::repaint() and BufferView::update()
2020
2021 2003-08-01  José Matos  <jamatos@lyx.org>
2022
2023         * buffer.[Ch]: file_format is no longer a buffer data element.
2024
2025 2003-08-01  André Pönitz  <poenitz@gmx.net>
2026
2027         * BufferView.C:
2028         * lyxtext.h:
2029         * text.C:
2030         * text2.C: make redoParagraph more independent of current cursor
2031
2032         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2033         * text.C:
2034         * text2.C: remove unneeded members
2035
2036 2003-07-30  André Pönitz  <poenitz@gmx.net>
2037
2038         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2039
2040         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2041           create a single function...
2042
2043         * paragraph_funcs.C (moveItem): ... here.
2044
2045         * text.C:
2046           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2047
2048 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2049
2050         * LColor.[Ch]: Add comment and greyedout logical colors.
2051
2052 2003-07-30  André Pönitz  <poenitz@gmx.net>
2053
2054         * tabular.C: don't use Assert too heavily. This crashes where it
2055           shouldn't
2056
2057 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2058
2059         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2060         is disabled (bug 1232)
2061
2062 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2063
2064         * factory.C: limited 'arg' scope
2065
2066 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2067
2068         * factory.C: fixed Note submenu issues
2069
2070 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2071
2072         * factory.C: submenu for Note/Comment/Greyedout
2073
2074 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2075
2076         * lyx_main.C (LyX):
2077         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2078
2079 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2080
2081         * LaTeXFeatures.C:
2082         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2083         greyedout. Patch provided by Jürgen Spitzmüller.
2084
2085 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * kbmap.C (read): fix error message when reading bind files
2088
2089 2003-07-29  Angus Leeming  <leeming@lyx.org>
2090
2091         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2092         certainly does not do what it purports to do. I am doing it, and
2093         us, a favour by killing it.
2094
2095 2003-07-28  José Matos  <jamatos@lyx.org>
2096
2097         * buffer.C (readBody, do_writeFile):
2098         * paragraph.C(readParagraph): \end_document replaces \the_end.
2099
2100 2003-07-29  André Pönitz  <poenitz@gmx.net>
2101
2102         * BufferView.[Ch]:
2103         * BufferView_pimpl.[Ch]:
2104         * lyxfunc.C:
2105         * text2.C:
2106         * text3.C:
2107         * textcursor.[Ch]: remove toggleToggle & Co
2108
2109 2003-07-28  José Matos  <jamatos@fep.up.pt>
2110
2111         * buffer.C (readParagraph):
2112         * params_func (readParToken, readParagraph):
2113         * paragraph.C (write): \layout -> \begin_layout.
2114
2115 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2116
2117         * lyxlex_pimpl.C (setFile): clean up slightly.
2118
2119         * bufferparams.h: add compressed var
2120
2121         * buffer_funcs.C (readFile): adjust for LyXLex change
2122         (newFile): ditto + simplify
2123
2124         * buffer.C (writeFile): handle writing of compressed files
2125
2126         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2127         Check if the file is compressed and set a bufferparm if so.
2128
2129         * Makefile.am (lyx_LDADD): remove explicit -lz
2130
2131 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2134         makeDocBookFile): put the real LyX version in the first line of
2135         the file
2136
2137         * version.h:
2138         * version.C.in: remove lyx_docversion
2139
2140         * tabular.C (write_attribute): add a template-based version to
2141         write enums properly
2142
2143 2003-07-28  André Pönitz  <poenitz@gmx.net>
2144
2145         * lyxtext.h:
2146         * text.C:
2147         * text2.C:
2148         * text3.C: use doubles again for x-coordinates. They are needed.
2149
2150 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2151
2152         * messages.C (getLocaleDir): use lyx_localedir()
2153
2154         * lyxlex_pimpl.C (setFile): compress stuff
2155
2156         * buffer.C (writeFile): add some compression stuff
2157         (do_writeFile): new func, dont call expliti close... will this
2158         breake anything?
2159
2160         * Makefile.am (lyx_LDADD): add -lz
2161
2162 2003-07-28  José Matos  <jamatos@fep.up.pt>
2163
2164         * buffer.C: increment file format.
2165         * paragraph_funcs (readParagraph, readParToken):
2166         * paragraph.C (readParagraph): add \end_layout.
2167
2168 2003-07-27  Angus Leeming  <leeming@lyx.org>
2169
2170         * Makefile.am: remove special casing for configure-time setting of
2171         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2172
2173         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2174         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2175
2176 2003-07-26  André Pönitz  <poenitz@gmx.net>
2177
2178         * paragraph_func.[Ch]:
2179         * paragraph.C (realizeFont): inline it whereever it is used
2180
2181         * rowpainter.C:
2182         * text.C:
2183         * text2.C:
2184         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2185
2186
2187 2003-07-26  André Pönitz  <poenitz@gmx.net>
2188
2189         *       lyxtext.h:
2190         * text.C:
2191         * text2.C: get rid of LyXText::need_break_row
2192
2193 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2194
2195         * toc.[Ch]: put namespace toc inside namespace lyx
2196
2197         * MenuBackend.C (expandToc2): adjust for lyx::toc
2198         (expandToc): ditto
2199
2200         * lyxfunc.C (dispatch): adjust for lyx::find
2201
2202         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2203         lyx::find instead. Reorganize a bit.
2204         (LyXReplace): rename to replace
2205         (LyXFind): rename to find
2206
2207         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2208         (dispatch): ditto
2209
2210 2003-07-26  André Pönitz  <poenitz@gmx.net>
2211
2212         * text.C (setHeightOfRow): restrict scope of temporary variable
2213
2214         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2215           code (never has been used?)
2216
2217 2003-07-27  Asger Alstrup  <alstrup@local>
2218
2219         * text.C (fill): Optimise algorithm to exploit that we can reuse
2220         the LyXFont for many characters.
2221         (setHeightOfRow): Same thing.
2222         (rowBreakPoint): Same thing.
2223
2224 2003-07-26  Asger Alstrup  <alstrup@local>
2225
2226         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2227
2228         * text.C (singleWidth): Spurious font copying in hot-spot
2229         singleWidth avoided. Reorder tests for arabic for efficiency.
2230
2231         * text.C (fill): handle empty paragraphs better.
2232
2233 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         * ispell.C:
2236         * encoding.h: add includes
2237
2238         * lyxrc.C: remove reading of bind files
2239
2240         * lyx_main.C (init): setup bindings and menus only if we have a
2241         gui.
2242
2243         * kbmap.C (read): new method. Do the actual reading of bind
2244         files.
2245
2246         * converter.C (dvipdfm_options):
2247         * bufferparams.C:
2248         * lyxrc.C (read):
2249         (output): adapt PAPER_* enums.
2250
2251         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2252
2253         * bufferparams.h: remove paper-related enums from there
2254
2255         * paper.h: New file. A trivial header file to hold paper-related
2256         enums. It should later expand to contain many paper-related
2257         horrors access.
2258
2259         * lyxrc.C: declare extern displayTranslator
2260
2261 2003-07-27  José Matos  <jamatos@fep.up.pt>
2262
2263         * tabular.[Ch] (linuxdoc): add support for tables and figures
2264         (linuxdoc).
2265
2266 2003-07-27  José Matos  <jamatos@fep.up.pt>
2267
2268         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2269         consistency in both functions.
2270         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2271
2272 2003-07-26  Asger Alstrup  <alstrup@local>
2273
2274         * rowpainter.C (paintRows): Change algorithm to work directly on
2275         the insets rather than asking every character in the document
2276         whether its an inset.
2277
2278 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2279
2280         * buffer.C (openFileWrite): factorize some code
2281
2282 2003-07-26  Angus Leeming  <leeming@lyx.org>
2283
2284         * lyx_cb.C:
2285         * lyx_main.[Ch]: replace occurances of system_tempdir with
2286         os::getTmpDir().
2287
2288 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2289
2290         * rename Inset to InsetOld
2291
2292 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2293
2294         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2295         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2296         which I think is a bit clearer. EDIT is gone, since it was
2297         premature optimisation, and broken for mathed anyway.
2298         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2299         with cursor positioning in insets as well (math insets still do not
2300         work, but that's a different story anyway.) It mysteriously
2301         crashes sometimes with undo in the first paragraph, but I'm fairly
2302         confident that this is a compiler bug.
2303
2304 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2305
2306         * paragraph.C (Paragraph): adjust for new clone return type
2307         (operator==): ditto
2308         (copyIntoMinibuffer): ditto
2309
2310 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2311
2312         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2313         by not having a special case, and always doing a full rebreak of
2314         the document after undo.
2315
2316 2003-07-23  Angus Leeming  <leeming@lyx.org>
2317
2318         * factory.C (createInset): InsetExternal::setParams now takes a
2319         Buffer const * arg.
2320
2321 2003-07-23  Angus Leeming  <leeming@lyx.org>
2322
2323         * factory.C (createInset): changed interface to the external and
2324         graphics mailers' string2params functions.
2325
2326 2003-07-23  Angus Leeming  <leeming@lyx.org>
2327
2328         * factory.C (createInset): pass a
2329         Buffer const * parameter to InsetExternalMailer's string2params.
2330
2331 2003-07-22  John Levon  <levon@movementarian.org>
2332
2333         * Thesaurus.h: include the right aiksaurus header
2334
2335 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * MenuBackend.C (expand): check menu shortcuts unconditionally
2338
2339 2003-07-21  Angus Leeming  <leeming@lyx.org>
2340
2341         * factory.C (createInset): pass a
2342         buffer_path parameter to InsetGraphicsMailer's string2params.
2343
2344 2003-07-21  Angus Leeming  <leeming@lyx.org>
2345
2346         * BufferView_pimpl.C (buffer):
2347         * buffer.C (d-tor):
2348         * lyx_main.C (LyX):
2349         * lyxfunc.C (dispatch):
2350         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2351         rather than the grfx shortcut.
2352
2353 2003-07-21  André Pönitz  <poenitz@gmx.net>
2354
2355         * rowpainter.C: remove unused variables
2356
2357         * tabular_funcs.C:
2358         * tabular_funcs.h: move to tabular.C
2359         * Makefile.am: adjust
2360
2361         * tabular.[Ch]: basic optical cleaning
2362
2363         * author.h: pass references, not values
2364
2365 2003-07-18  André Pönitz  <poenitz@gmx.net>
2366
2367         * lyxtext.h:
2368         * metricsinfo.C:
2369         * metricsinfo.h:
2370         * rowpainter.C:
2371         * text.C:
2372         * text2.C:
2373         * text3.C: two-phase drawing for InsetText and InsetTabular
2374         some float -> int changes.
2375
2376 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2377
2378         * lyx_main.C: fix the fix
2379
2380 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2381
2382         * lyx_main.C: fix a crash in batch mode if no files specified
2383         * converter.C: ws
2384
2385 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2386
2387         * format.[Ch] (papersize): moved to BufferParams
2388         * converter.[Ch] (dvips_options): moved to BufferParams
2389         (dvipdfm_options): moved to anon namespace
2390         * bufferparams.[Ch]: added above functions.
2391
2392 2003-07-17  André Pönitz  <poenitz@gmx.net>
2393
2394         * lyxtext.h:
2395         * rowpainter.C:
2396         * text2.C: don't call inset->update() anymore
2397
2398         * metricsinfo.[Ch]: add convenience constructor
2399
2400 2003-07-16  André Pönitz  <poenitz@gmx.net>
2401
2402         * lyxcursor.[Ch]:
2403         * lyxfunc.[Ch]:
2404         * text.C:
2405         * text2.C: replace the LyXCursor::irow_ member with
2406          on-demand computation of the value
2407
2408 2003-07-16  John Levon  <levon@movementarian.org>
2409
2410         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2411
2412 2003-07-15  André Pönitz  <poenitz@gmx.net>
2413
2414         * text.C:
2415         * text2.C: remove no more needed refresh_row
2416
2417 2003-07-15  André Pönitz  <poenitz@gmx.net>
2418
2419         * lyxtext.h:
2420         * rowpainter.C:
2421         * text2.C:
2422         * text3.C: refresh_status tristate -> need_update bool
2423
2424 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2425
2426         * lyxtext.h (init): remove reinit argument (act as if always true)
2427         * text2.C: adjust to that
2428
2429 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2430
2431         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2432         * text3.C: use it to delete selections in some cases
2433         (bugs 441, 673, 702, 954).
2434
2435 2003-07-14  André Pönitz  <poenitz@gmx.net>
2436
2437         * rowpainter.[Ch]: reduce interface
2438
2439 2003-07-14  André Pönitz  <poenitz@gmx.net>
2440
2441         * BufferView_pimpl.C:
2442         * text2.C: adjust after removing unused BufferView * argument
2443
2444 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2445
2446         * text2.C (init): fix a crash fired on resize
2447
2448 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2449
2450         * buffer.[Ch]: added new closing signal
2451         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2452         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2453         BufferView::Pimpl via the closing the signal
2454
2455 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2456
2457         * buffer.[Ch]: take out all bv-related from buffer
2458         * BufferView.C:
2459         * BufferView_pimpl.[Ch]: connect to new signals
2460         * CutAndPaste.C: removed useless asserts
2461         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2462         * lyxvc.[Ch]:
2463         * vc-backend.[Ch]:
2464         * lyxfunc.C: moved view-related funciontality from vc here
2465         * paragraph.C: removed outdated comments
2466         * text.C: ws
2467
2468 2003-07-10  André Pönitz  <poenitz@gmx.net>
2469
2470         * BufferView_pimpl.C:
2471         * tabular.h:
2472         * tabular_funcs.C:
2473         * text.C:
2474         * text2.C: remove InsetText::InnerCache, clean up consequences
2475
2476 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2477
2478         * ispell.C: fix two typos in error messages
2479
2480 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2481
2482         * Extend Note inset to other forms of annotation like Comment
2483         and Greyedout. Right button click gives dialog.
2484
2485         Files modified or added (+):
2486
2487         * insetnote.[Ch]
2488         * FormNote.[Ch]      +
2489         * ControlNote.[Ch]   +
2490         * form_note.fd       +
2491         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2492         frontends/controllers
2493         * xforms/Dialogs.C
2494         * factory.C
2495
2496 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2497
2498         * aspell.C: add missing namespace lyx::support
2499
2500 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2501
2502         * BufferView.[Ch] (newFile): Add
2503         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2504         * LaTeX.[Ch] (message): added this signal and use it
2505         * buffer.[Ch] (busy, message): added these signals and use them
2506         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2507         * converter.C:
2508         * exporter.C:
2509         * format.C:
2510         * importer.C: use buffer signals instead of direct bv calling
2511         * lyx_cb.[Ch] (ShowMessage): removed
2512         * lyx_main.C:
2513         * lyxfunc.C:
2514         * paragraph_funcs.C:
2515         * text2.C: use buffer signals
2516
2517 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2518
2519         * introduce namespace lyx::graphics
2520
2521 2003-07-02  André Pönitz  <poenitz@gmx.net>
2522
2523         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2524
2525 2003-07-01  André Pönitz  <poenitz@gmx.net>
2526
2527         * text.C:
2528         * text2.C:
2529         * text3.C:
2530         * text_funcs.[Ch]:
2531         * textcursor.h:
2532         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2533           text*.C to text_func.C
2534
2535 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2536
2537         * introduce namespace lyx::support
2538
2539 2003-06-30  André Pönitz  <poenitz@gmx.net>
2540
2541         * Chktex.C:
2542         * funcrequest.C:
2543         * lyxtext.h:
2544         * text.C: re-enable --with-included-string
2545
2546 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2547
2548         * textcursor.C: add <config.h>
2549
2550         * text.C (getWord): remove const from word_location arg
2551
2552         * lyxvc.C (getLogFile): fix const type order
2553
2554         * lyxtext.h: remove const from word_location arg, add arg name
2555
2556         * lyxlayout.h: currect type on labeltype.
2557
2558         * importer.C: correct \file
2559
2560         * converter.C (intToFormat): use std:: on ret val, ws changes
2561
2562         * bufferlist.h: correct \file
2563
2564         * buffer.C (makeLinuxDocFile): fix const type order
2565         (makeDocBookFile): ditto
2566         (fillWithBibKeys): use std:: on stdlib args.
2567
2568         * CutAndPaste.C: fix authors.
2569         (availableSelections): use std:: on return vector
2570
2571 2003-06-27  André Pönitz  <poenitz@gmx.net>
2572
2573         * BufferView_pimpl.C:
2574         * bufferview_funcs.C:
2575         * lyxcursor.C:
2576         * lyxcursor.h:
2577         * lyxfunc.C:
2578         * lyxtext.h:
2579         * rowpainter.C:
2580         * text.C:
2581         * text2.C:
2582         * text3.C: remove LyXCursor::row_ member
2583
2584         * lyxtext.h:
2585         * text.C: rename fullRebreak() to partialRebreak() and implement
2586           a fullRebreak() that really bereks fully
2587
2588         * textcursor.h: new struct for cursor-related data
2589
2590 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * lyx_main.C (LyX): get full path of document loaded on the
2593         command line
2594
2595 2003-06-26  André Pönitz  <poenitz@gmx.net>
2596
2597         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2598           remove unused/broken operator>,<,>=.
2599
2600         *       text.C: remove only use of broken operator<= in an Assert().
2601
2602 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2603
2604         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2605         moved errorlist_.clear to showErrorList
2606
2607 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2608
2609         * converter.C (scanLog, runLaTeX):
2610         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2611         move the bv->showErrorList call to the callers
2612         * lyxfunc.C: i.e. here...
2613         * text2.C: and here
2614         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2615         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2616         namespace, the second to...
2617         * buffer_funcs (BufferFormat, parseErrors): added
2618         * errorlist.C (ErrorList(TeXErrors const &)): removed
2619
2620 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2621
2622         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2623
2624 2003-06-24  "Garst R. Reese" <reese@isn.net>
2625
2626         * debug.C: fix typo
2627
2628 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2629
2630         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2631
2632         * version.C.in: change docversion to 1.4
2633
2634 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2635
2636         * buffer.C: fix a bug just introduced
2637
2638 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2639
2640         * buffer.[Ch]: added the parseError signal and use it, removed
2641         sgmlError
2642         * BufferView.[Ch] (addError): moved to ...
2643         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2644         to the Buffer::parseError signal to catch (guess what) parse errors
2645         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2646
2647 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2648
2649         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2650         ability to create a buffer and to return an existing one from
2651         the list. Moved these functions to...
2652         * buffer_funcs.[Ch]: added
2653         * BufferView.[Ch] (loadLyXFile): added
2654         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2655         job removed from bufferlist::loadLyXFile.
2656         * buffer.C (setReadOnly): make it work without view
2657         (i.e added an if (users))
2658
2659 2003-06-19  Angus Leeming  <leeming@lyx.org>
2660
2661         * lfuns.h:
2662         * LyXAction.C (init):
2663         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2664         with LFUN_DIALOG_SHOW <name> <data>.
2665
2666 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * CutAndPaste.C (availableSelections): small compilation fix for
2669         ancient (gcc 2.9x) compilers
2670
2671 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * text3.C (cursorNext): add tmp var
2674
2675         * text2.C (updateCounters): for function calling out of for clause
2676         (replaceSelectionWithString): ditto
2677         (insertStringAsParagraphs): ditto
2678         (getColumnNearX): add tmp var
2679         (setCursorFromCoordinates): add tmp var
2680         (cursorDownParagraph): add tmp var
2681         (deleteEmptyParagraphMechanism): add tmp var
2682
2683         * text.C (insertChar): add tmp var
2684
2685         * rowpainter.C (paintDepthBar): add tmp var
2686
2687         * CutAndPaste.C (availableSelections): potentially check all
2688         paragraphs in a cut to fill the shown strings.
2689
2690 2003-06-18  André Pönitz  <poenitz@gmx.net>
2691
2692         * kbmap.[Ch]: use vector<> instead of list<>
2693
2694 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2695
2696         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2697         pasteSelection with index
2698
2699         * text2.C (pasteSelection): modify, call pasteSelection with index
2700
2701         * paragraph.C (asString): reimplement version with no interval to
2702         call the one with interval.
2703
2704         * lyxtext.h: add index arg to pasteSelection
2705
2706         * MenuBackend.C (MenuItem): handle PasteRecent
2707         (Menu::read::Menutags): add md_pasterecent
2708         (read): handle it
2709         (expandPasteRecent): new function
2710         (expand): use it
2711
2712         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2713
2714         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2715         the limited stack
2716         (availableSelections): new function
2717
2718 2003-06-17  Angus Leeming  <leeming@lyx.org>
2719
2720         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2721
2722 2003-06-17  Angus Leeming  <leeming@lyx.org>
2723
2724         * lfuns.h:
2725         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2726
2727         * lyxfunc.C (dispatch): invoke it.
2728
2729 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2730
2731         * iterators.C (operator++, ParPosition): reintroduce some
2732         const_cast for the benefit of older compilers.
2733
2734 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2735
2736         * text3.C (dispatch): do not modify clipboard when doing
2737         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2738         LFUN_DELETE_SKIP on a selection selection
2739
2740 2003-06-16  André Pönitz  <poenitz@gmx.net>
2741
2742         * BufferView.C:
2743         * buffer.C:
2744         * buffer.h:
2745         * paragraph.C:
2746         * tabular.[Ch]: IU of clone() and getLabelList();
2747
2748 2003-06-13  André Pönitz  <poenitz@gmx.net>
2749
2750         * tabular.h: compactification
2751
2752 2003-06-12  André Pönitz  <poenitz@gmx.net>
2753
2754         * tabular.C:
2755         * tabular.h:
2756         * tabular_funcs.h: some renaming plus whitespace
2757
2758 2003-06-12  André Pönitz  <poenitz@gmx.net>
2759
2760         * BufferView.C:
2761         * BufferView_pimpl.C:
2762         * CutAndPaste.C:
2763         * buffer.C:
2764         * iterators.[Ch]:
2765         * lyxfunc.C:
2766         * text.C:
2767         * toc.C: Return a Paragraph & for ParIterator::operator*()
2768
2769 2003-06-11  John Levon  <levon@movementarian.org>
2770
2771         * lyx_main.C:
2772         * ToolbarBackend.h:
2773         * ToolbarBackend.C: add "Toolbars" section and
2774         put the flags there
2775
2776 2003-06-10  Angus Leeming  <leeming@lyx.org>
2777
2778         * lfuns.h:
2779         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2780
2781         * lyxfunc.C (dispatch): invoke it.
2782
2783 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * main.C: protect <ios> with HAVE_IOS
2786         (main): protect sync_with_stdio with HAVE_IOS
2787
2788 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2789
2790         * text2.C (cutSelection): adjust
2791         (pasteSelection): adjust
2792
2793         * messages.C: handle get of empty string
2794
2795         * main.C (main): use sync_with_stdio(false)
2796
2797         * lyxfunc.C (dispatch): adjust
2798
2799         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2800         (WriteAs): remove unneeded BufferView arg.
2801
2802         * bufferparams.h: use correct types on papersize, papersize2 and
2803         paperpackage.
2804
2805         * bufferparams.C (readToken): adjust for type
2806         (writeLaTeX): add missing cases to switch.
2807
2808         * bufferlist.C (quitWriteBuffer): adjust
2809         (close): adjust
2810
2811         * buffer.C (asciiParagraph): remove some commented code.
2812
2813         * CutAndPaste.C: remove current_view extern variable.
2814         (cutSelection): add BufferParams arg.
2815         (eraseSelection): add BufferParams arg.
2816         (pasteSelection): add Buffer const & arg
2817
2818 2003-06-07  John Levon  <levon@movementarian.org>
2819
2820         * buffer.C:
2821         * paragraph_funcs.C:
2822         * paragraph_pimpl.C:
2823         * text.C:
2824         * text2.C:
2825         * paragraph.h:
2826         * paragraph.C: allow InsetERT to freely space lines,
2827         and some consolidation of code
2828
2829 2003-06-06  José Matos  <jamatos@fep.up.pt>
2830
2831         * buffer.C (makeDocBookFile): fix bug #821
2832
2833 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2836
2837 2003-06-04  Angus Leeming  <leeming@lyx.org>
2838
2839         * buffer.C: bump format to 224.
2840
2841 2003-06-05  André Pönitz  <poenitz@gmx.net>
2842
2843         * text2.C (redoParagraphs): remove two const_cast<>
2844
2845 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2846
2847         * ParagraphList.h: remove last remnants of NO_STD_LIST
2848
2849 2003-06-03  Angus Leeming  <leeming@lyx.org>
2850
2851         * factory.C (createInset): small change to the way InsetExternal's params
2852         are set.
2853
2854 2003-06-04  André Pönitz  <poenitz@gmx.net>
2855
2856         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2857
2858         * paragraph_pimpl.h:
2859         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2860
2861         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2862
2863         * undo_funcs.C: make some simple cases of undo work again
2864
2865 2003-06-03  John Levon  <levon@movementarian.org>
2866
2867         * ispell.C: HPUX doesn't have sys/select.h
2868         (from Albert Chin)
2869
2870 2003-06-03  John Levon  <levon@movementarian.org>
2871
2872         * CutAndPaste.C: update tabular and include inset
2873         buffer references
2874
2875         * buffer.h:
2876         * paragraph.h:
2877         * paragraph.C: remove owningBuffer(), don't pass Buffer
2878         to clone()
2879
2880         * factory.C: insetGraphicsParams changed
2881
2882 2003-06-02  John Levon  <levon@movementarian.org>
2883
2884         * LyXAction.C:
2885         * factory.C:
2886         * lfuns.h:
2887         * lyxfunc.C:
2888         * text3.C: remove insetparent
2889
2890 2003-06-02  John Levon  <levon@movementarian.org>
2891
2892         * buffer.h:
2893         * buffer.C: fix inset_iterator.end(), move out of line
2894         (bug 1149)
2895
2896 2003-06-01  John Levon  <levon@movementarian.org>
2897
2898         * text3.C: use a proper cut/paste when doing inset
2899         insert (from Jürgen Spitzmüller)
2900
2901 2003-06-01  John Levon  <levon@movementarian.org>
2902
2903         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2904
2905 2003-05-30  André Pönitz  <poenitz@gmx.net>
2906
2907         * rowpainter.C: unify second drawing phase
2908
2909 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * trans_mgr.C: remove one case of current_view
2912
2913         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2914
2915         * paragraph_funcs.h: remove paragraph.h include
2916
2917         * paragraph.h: delete NO_STD_LIST stuff
2918
2919         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2920
2921         * buffer.h: remove paragraph.h include
2922
2923         * ParagraphList.C: delete file
2924
2925         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2926
2927         * toc.C (getTocList): adjust
2928
2929         * paragraph_pimpl.C (validate): adjust
2930
2931         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2932
2933         * paragraph.C (Paragraph): adjust
2934         (getPositionOfInset): use const_iterator, adjust
2935         (bibitem): use const_iterator, adjust
2936         (setInsetOwner): adjust
2937
2938         * iterators.C (operator++): adjust
2939
2940         * InsetList.[Ch]: Replace selfmade iterator with standard
2941         vector::iterator also introduce const_iterator. Remove getPos,
2942         getInset and setInset from InsetTable. Adjust accordingly.
2943
2944         * BufferView.C (lockInset): adjust
2945         (ChangeInsets): adjust
2946
2947         * tabular.[Ch]: delete commented same_id functions
2948
2949 2003-05-28  John Levon  <levon@movementarian.org>
2950
2951         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2952
2953 2003-05-28  André Pönitz  <poenitz@gmx.net>
2954
2955         * metricsinfo.[Ch]: remove 'fullredraw' member
2956
2957 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2958
2959         * lyxtextclass.C (operator): remove caching.
2960
2961 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2962
2963         * text3.C: adjust
2964
2965         * text2.C (cursorBottom): adjust
2966         (setCounter): use ParagraphList::find, adjust
2967
2968         * text.C (workWidth): use ParagraphList::find, adjust
2969
2970         * lyxcursor.C (LyXCursor): adjust
2971
2972         * buffer.C (inset_iterator): adjust
2973
2974         * ParagraphList.h: make iterator(value_type) private, make
2975         ParagraphList a friend of iterator.
2976
2977         * ParagraphList.C (find): new function
2978
2979         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2980
2981 2003-05-27  André Pönitz  <poenitz@gmx.net>
2982
2983         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2984
2985 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2988
2989 2003-05-26  John Levon  <levon@movementarian.org>
2990
2991         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2992
2993 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2994
2995         * remove same_id from function signatures, adjust.
2996
2997 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3000
3001         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3002
3003         * paragraph.C (Paragraph): get rid of same_ids parameter
3004
3005         * ParagraphList.C (insert): adjust
3006         (push_back): adjust
3007
3008 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * paragraph_funcs.C (breakParagraph): adjust
3011         (breakParagraphConservative): adjust
3012
3013         * buffer.C (readParagraph): adjust
3014
3015         * ParagraphList.C (insert): take a reference instead of a pointer
3016         (insert): adjust
3017
3018         * paragraph.[Ch] (id): new function
3019
3020         * bufferlist.C (newFile): adjust
3021
3022         * ParagraphList.C (ParagraphList): adjust
3023         (assign): adjust
3024         (push_back): take a reference instead of a pointer.
3025
3026         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3027
3028         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3029         instead.
3030
3031         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3032         set else use old code.
3033
3034         * ParagraphList.C: remove all NO_NEXT code and only compile this
3035         code of NO_STD_LIST is set.
3036
3037 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3038
3039         * BufferView_pimpl.C:
3040         * TextCache.C:
3041         * TextCache.h:
3042         * bufferlist.C:
3043         * errorlist.h:
3044         * format.C:
3045         * format.h:
3046         * graph.C:
3047         * lyxfunc.C:
3048         * lyxrc.C:
3049         * graphics/GraphicsConverter.C:
3050         * graphics/PreviewLoader.C: header adjustment
3051
3052 2003-05-23  Angus Leeming  <leeming@lyx.org>
3053
3054         * LaTeXFeatures.[Ch] (useBabel): new method.
3055         * bufferparams.C (writeLaTeX): use it.
3056
3057 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * ParagraphList.h (set): remove unused function.
3060
3061 2003-05-23  André Pönitz  <poenitz@gmx.net>
3062
3063         * BufferView.C:
3064         * BufferView_pimpl.C:
3065         * buffer.C:
3066         * buffer.h:
3067         * lyxfunc.C:
3068         * undo_funcs.C: setUndo reworked
3069
3070         * iterators.[Ch]: add access to topmost ParagraphList
3071
3072         * lyxtext.[Ch] (workWidth): add a const
3073
3074 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * texrow.[Ch] (increasePos): remove function
3077         * exporter.C (export): removed unused var and outdated comment
3078
3079 2003-05-23  Angus Leeming  <leeming@lyx.org>
3080
3081         * latexrunparams.h: rename fragile as moving_arg.
3082         * paragraph.C (simpleTeXOnePar): ditto.
3083         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3084
3085 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3088         (createUndo): ditto
3089         (textUndoOrRedo): comment out a currently unused var.
3090
3091         * paragraph.h (NO_NEXT): enable NO_NEXT
3092
3093         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3094
3095         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3096
3097         * exporter.C (Export): adjust for removeAutoInsets removal.
3098
3099         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3100
3101         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3102
3103         * BufferView.[Ch] (removeAutoInsets): delete function
3104
3105 2003-05-22  Angus Leeming  <leeming@lyx.org>
3106
3107         * latexrunparams.h: add a free_spacing variable.
3108
3109         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3110         to pass moving_arg, as the data is stored in runparams.fragile.
3111
3112         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3113         to Inset::latexOptional or to simpleTeXOnePar.
3114
3115         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3116         free_spacing arg to Inset::latexOptional.
3117
3118         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3119         free_spacing arg.
3120
3121 2003-05-22  Angus Leeming  <leeming@lyx.org>
3122
3123         * latexrunparams.h: add fragile and use_babel variables.
3124
3125         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3126         * buffer.C (makeLaTeXFile): store this returned value in
3127         runparams.use_babel, thus passing it to the inset::latex methods.
3128
3129         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3130         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3131
3132         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3133         longer has a fragile arg, as it is stored in runparams.fragile.
3134
3135         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3136         moving_arg parameter as the data is stored in runparams.fragile.
3137
3138         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3139         a fragile parameter as the data is stored in runparams.fragile.
3140
3141 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3144
3145 2003-05-22  Angus Leeming  <leeming@lyx.org>
3146
3147         * latexrunparams.h: add a 'bool nice' which defaults to false.
3148
3149         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3150         now encapsulated within runparams.
3151
3152         * bufferlist.C (updateIncludedTeXfiles):
3153         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3154
3155 2003-05-22  Angus Leeming  <leeming@lyx.org>
3156
3157         * latexrunparams.h: new file containing struct LatexRunParams.
3158         * Makefile.am: add new file.
3159
3160         * LaTeX.[Ch] (c-tor, run):
3161         * buffer.[Ch] (makeLaTeXFile):
3162         * bufferlist.[Ch] (updateIncludedTeXfiles):
3163         * converter.C (convert, scanLog):
3164         * converter.[Ch] (runLaTeX):
3165         * exporter.C (Export):
3166         * paragraph.[Ch] (simpleTeXOnePar):
3167         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3168         * paragraph_funcs.[Ch] (latexParagraphs):
3169         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3170         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3171         pass around a LatexRunParams parameter.
3172
3173 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * paragraph.[Ch]: remove unused constructor
3176
3177         * ParagraphList.C (erase): new function, taking two iterators
3178
3179 2003-05-22  André Pönitz  <poenitz@gmx.net>
3180
3181         * undo_funcs.C: remove duplicated code
3182
3183         * iterator.[Ch]: operator=
3184
3185 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3186
3187         * tabular.C (SetMultiColumn): ws changes
3188
3189         * rowpainter.C (paintFirst): get rid of a ->previous
3190
3191         * lyx_cb.C (getPossibleLabel): parlist simplification
3192
3193         * BufferView.C (ChangeInsets): simplify slightly.
3194
3195 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3196
3197         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3198         * lfuns.h: new LFUN_SPACE
3199         * lyxfunc.C: protected space has a new lfun
3200         * paragraph_funcs.C: read new space insets
3201         * text3.C:
3202         * factory.C: handle new space insets
3203
3204 2003-05-22  André Pönitz  <poenitz@gmx.net>
3205
3206         * BufferView.C:
3207         * BufferView_pimpl.C:
3208         * buffer.[Ch]:
3209         * lyxfunc.C:
3210         * undo_funcs.C: return a ParIterator from getParFromID.
3211
3212         * iterators.[Ch]: add two const's
3213
3214 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * toc.C (getTocList): adjust
3217
3218         * iterators.[Ch]: rework for parlist
3219
3220         * buffer.C (par_iterator_begin): adjust
3221         (par_iterator_end): adjust
3222
3223         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3224
3225         * BufferView.C (removeAutoInsets): adjust
3226         (ChangeInsets): adjust
3227
3228 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3229
3230         * text.C (top_y): fix bug 1110
3231
3232 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3233
3234         * errorlist.[Ch]: added
3235         * buffer.C:
3236         * BufferView.[Ch]:
3237         * BufferView_pimpl.C:
3238         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3239         instead
3240
3241 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3242
3243         * Makefile.am: ensure that lyx is relinked upon changes to the
3244         various "convenience" libs.
3245
3246 2003-05-20  Angus Leeming  <leeming@lyx.org>
3247
3248         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3249         files are compiled in alphabetical order again.
3250
3251         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3252
3253 2003-05-19  Angus Leeming  <leeming@lyx.org>
3254
3255         * gettext.[Ch]: remove "char const * _(char const *)".
3256
3257 2003-05-19  André Pönitz  <poenitz@gmx.net>
3258
3259         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3260
3261         * Makefile.am:
3262         * BufferView.C:
3263         * DepTable.h:
3264         * LaTeXFeatures.C:
3265         * buffer.C:
3266         * lyxfont.C:
3267         * lyxlex.h:
3268         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3269
3270 2003-05-19  André Pönitz  <poenitz@gmx.net>
3271
3272         * buffer.C:
3273         * lyxlayout.[Ch]:
3274         * lyxtextclass.[Ch]:
3275         * paragraph.C:
3276         * paragraph_funcs.[Ch]:
3277         * text2.C:
3278         * text3.C: more insetenv work
3279
3280 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3281
3282         * ParagraphParameters.C (params2string): small bug fixed
3283
3284 2003-05-16  André Pönitz  <poenitz@gmx.net>
3285
3286         * debug.C:
3287         * bufferview_funcs.C: patch from Kornel Benko to prevent
3288           crash when _(...) is called twice in a statement
3289
3290 2003-05-16  André Pönitz  <poenitz@gmx.net>
3291
3292         * BufferView.C:
3293         * lyxfunc.C:
3294         * text.C:
3295         * text2.C:
3296         * text3.C:
3297         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3298
3299 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3300
3301         * lyx_main.C (init): remove spurious static_cast
3302
3303 2003-05-14  André Pönitz  <poenitz@gmx.net>
3304
3305         * BufferView.C: fix format string
3306
3307 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3308
3309         * BufferView.[Ch] (insertErrors): removed
3310         * BufferView.[Ch] (showErrorList): added
3311         * buffer.C (runChkTeX):
3312         * converter.C (scanLog): call showErrorList instead of inserterrors
3313
3314 2003-05-13  André Pönitz  <poenitz@gmx.net>
3315
3316         * BufferView_pimpl.C:
3317         * buffer.C:
3318         * bufferview_func.C:
3319         * MenuBackend.C:
3320         * lyxfunc.C:
3321         * lyxrc.C:
3322         * tex-accent.C:
3323         * text3.C:
3324         * toc.C:
3325         * tabular_funcs.h: tostr() from its own header
3326
3327         * ParagraphParameters.C:
3328         * ToolbarBackend.C:
3329         * bufferparams.C:
3330         * format.C:
3331         * lyxlex_pimpl.C:
3332         * text3.C: STRCONV()
3333
3334 2003-05-12  André Pönitz  <poenitz@gmx.net>
3335
3336         * BufferView.C:
3337         * BufferView_pimpl.C:
3338         * CutAndPaste.C:
3339         * LaTeX.C:
3340         * LaTeXFeatures.C:
3341         * ParagraphParameters.C:
3342         * buffer.C:
3343         * bufferlist.C:
3344         * bufferparams.C:
3345         * bufferview_funcs.C:
3346         * converter.C:
3347         * counters.C:
3348         * debug.C:
3349         * exporter.C:
3350         * format.C:
3351         * importer.C:
3352         * lyx_cb.C:
3353         * lyx_main.C:
3354         * lyxfont.C:
3355         * lyxfunc.C:
3356         * lyxvc.C:
3357         * paragraph.C:
3358         * paragraph_funcs.C:
3359         * tabular.C:
3360         * tabular_funcs.C:
3361         * text2.C:
3362         * text3.C:  boost::format -> bformat  all over the place
3363
3364
3365 2003-05-09  André Pönitz  <poenitz@gmx.net>
3366
3367         * LColor.[Ch]: Pimpl the #include <map> away
3368
3369 2003-05-09  John Levon  <levon@movementarian.org>
3370
3371         * bufferlist.C: never remove emergency saves
3372
3373 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3374
3375         * Makefile.am: better lib building
3376
3377 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3380         instead.
3381         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3382         (simpleTeXSpecialChars): adjust
3383         (simpleTeXSpecialChars): adjust
3384         * paragraph.C (simpleTeXOnePar): adjust
3385         * buffer.C (makeLaTeXFile): adjust
3386
3387         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3388
3389         * text2.C (changeDepth): parlist cleanup
3390         (getColumnNearX): ditto
3391
3392         * rowpainter.C (getLabelFont): parlist cleanup
3393
3394         * bufferlist.C (newFile): parlist cleanup
3395
3396         * CutAndPaste.C (eraseSelection): parlist cleanup
3397
3398         * BufferView_pimpl.C (trackChanges): parlist cleanup
3399         (dispatch): ditto
3400
3401         * BufferView.C (lockInset): parlist cleanup.
3402         (ChangeInsets): ditto
3403
3404 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * CutAndPaste.h: Update file header.
3407
3408         * CutAndPaste.C: Update file header.
3409         Store the parts cut out of the Document in a limited_stack.
3410         (copySelection): adjust
3411         (pasteSelection): new function, takes the index in the limited stack.
3412         (nrOfParagraphs): adjust
3413         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3414         simplify error inset insertion.
3415         (checkPastePossible): adjust
3416
3417 2003-05-06  John Levon  <levon@movementarian.org>
3418
3419         * text2.C: don't cast wrap inset to float
3420
3421 2003-05-05  André Pönitz  <poenitz@gmx.net>
3422
3423         * iterator.C:
3424         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3425
3426         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3427           few naked Paragraph *.
3428
3429 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3430
3431         * bufferparams.C: Output warning if a document with missing
3432         TeX document class is loaded
3433         * exporter.C: Disable TeX exports if the document class is missing
3434         * lyxtextclass.C:
3435         * lyxtextclass.h:
3436         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3437         isTeXClassAvailable()
3438
3439 2003-05-03  John Levon  <levon@movementarian.org>
3440
3441         * BufferView.h:
3442         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3443         explicit cursor show/hide
3444
3445         * BufferView_pimpl.h:
3446         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3447         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3448
3449         * lyxfunc.C: hide cursor before dispatching.
3450
3451         * lyx_cb.C:
3452         * lyxfind.C:
3453         * text.C:
3454         * text3.C: remove explicit cursor hides
3455
3456 2003-05-02  André Pönitz  <poenitz@gmx.net>
3457
3458         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3459
3460         * undo_funcs.C:
3461         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3462           linked lists
3463
3464         * text2.C: tiny whitespace
3465
3466 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3467
3468         * undo_funcs.C: almost only ws changes.
3469
3470         * ParagraphList.C (splice): just return if pl is empty.
3471
3472 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * ParagraphList.C (splice): new function.
3475
3476         * CutAndPaste.C (pasteSelection): use it
3477
3478 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * CutAndPaste.C (pasteSelection): remove the last next and
3481         previous from this file.
3482
3483 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * CutAndPaste.C (pasteSelection): more clean up, user proper
3486         ParagraphList functions for pasteing.
3487
3488         * ParagraphList.C (insert): new function, three arg insert
3489
3490 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * ParagraphList.C (insert): new function, three arg insert
3493
3494         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3495         not on paragraphs.
3496
3497 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3498
3499         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3500
3501 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3502
3503         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3504
3505 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3506
3507         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3508         (copySelection): clean up a bit.
3509         (pasteSelection): use make_pair
3510
3511         * ParagraphList.C (ParagraphList): implement copy constructor
3512         (operator=): implement, base on copy constructor.
3513         (assign): new func
3514
3515         * paragraph.C (erase): return a bool
3516
3517         * paragraph_pimpl.C (erasePos): remove function, move contents...
3518         (erase): ... here. Return a bool.
3519         (erase): call erase instead of erasePos.
3520
3521 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * ParagraphList.h: define PitPosPair
3524         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3525         ParagraphList, fix a bug on pasting multiple pars
3526         * text2.C: change interface to C&P
3527
3528 2003-04-30  André Pönitz  <poenitz@gmx.net>
3529
3530         * undo_func.C: revert part of yesterday's patch 2
3531
3532 2003-04-30  John Levon  <levon@movementarian.org>
3533
3534         * LColor.C: s/tabular/table/
3535
3536 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * text3.C (dispatch): do not convert iterator -> pointer
3539         * undo_funcs.C (setCursorParUndo): ditto
3540         * text_funcs.C (transposeChars): ditto
3541
3542         * text2.C (setLayout): ws changes only
3543
3544         * text.C (breakParagraph): do not convert iterator -> pointer
3545         (insertChar): ditto
3546         (acceptChange): ditto
3547         (rejectChange): ditto
3548         (changeCase): ditto
3549         (Delete): ditto
3550         (backspace): ditto
3551
3552         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3553         pointer
3554
3555 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * text3.C (gotoInset): YABG (yet another bad getChar)
3558
3559 2003-04-29  André Pönitz  <poenitz@gmx.net>
3560
3561         * paragraph.h: make operator= private unimplemented as long as
3562           it is unusable
3563
3564         * ParagraphList.C: whitespace
3565
3566         * paragraph.[Ch]:
3567         * paragraph_pimpl.[Ch]:
3568         * paragraph_funcs.C:
3569         * CutAndPaste.C:
3570         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3571
3572         * text2.C:
3573           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3574
3575 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3576
3577         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3578         * paragraph.[Ch] (erase):
3579         * paragraph_pimpl.[Ch] (erase): change return type and value
3580         * text2.C (cutSelection): some rework
3581
3582 2003-04-28  John Levon  <levon@movementarian.org>
3583
3584         * bufferlist.C: changes for unsaved changes dialog
3585
3586 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3587
3588         * bufferlist.C (newFile): set language (messages_) for new
3589         documents also.
3590
3591         * buffer.C (readFile): ws changes only.
3592
3593 2003-04-28  André Pönitz  <poenitz@gmx.net>
3594
3595         * undo_funcs.C:
3596         * lyxfunc.C:
3597         * buffer.[Ch]:
3598         * BufferView_pimpl.C:
3599         * BufferView.C: getParFromID related ParagraphList::iterator changes
3600
3601 2003-04-28  André Pönitz  <poenitz@gmx.net>
3602
3603         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3604           Changes
3605
3606 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * messages.C: remove one more localedir class variable.
3609
3610 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * messages.C (getLocaleDir): singleton generation function
3613         (Pimpl): use it.
3614         (Messages): add a default constructor.
3615
3616         * main.C (main): do not setup localedir here, do not call
3617         gettext_init.
3618
3619         * gettext.C (_): use it.
3620         (gettext_init): delete funciton
3621
3622 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * gettext.C (getLyXMessages): new singleton generating function.
3625
3626         * buffer.C (updateDocLang): adjust
3627
3628         * Makefile.am (messages.o): add target
3629         (main.o): remove target
3630
3631 2003-04-27  John Levon  <levon@movementarian.org>
3632
3633         * bufferlist.C:
3634         * lyx_cb.C:
3635         * lyxfunc.C:
3636         * lyxvc.C: specify cancel button in Alert::prompt
3637
3638 2003-04-26  John Levon  <levon@movementarian.org>
3639
3640         * text3.C:
3641         * lyxfunc.C:
3642         * lfuns.h:
3643         * LyXAction.C: add LFUN_INSET_SETTINGS
3644
3645         * lyxfunc.C: don't enable tabular-feature when there's
3646         just any locking inset
3647
3648 2003-04-26  John Levon  <levon@movementarian.org>
3649
3650         * bufferlist.C: re-add Cancel to buffer close question
3651
3652         * lyxfunc.C: fix import UI a bit
3653
3654 2003-04-25  John Levon  <levon@movementarian.org>
3655
3656         * gettext.C: remove the broken asserts for now
3657
3658 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * messages.C: make case where setlocale cannot comply work better.
3661
3662         * buffer.C (updateDocLang): new function
3663         (changeLanguage): use it
3664         (readFile): use it
3665
3666         * text2.C (setCounter): use B_ a bit.
3667
3668         * lyxlayout.C (Read): be sure to trim the label strings.
3669
3670         * messages.C (Messages): fix typo in comment
3671
3672         * buffer.C (readFile): set message_ after file is loaded.
3673         (makeDocBookFile): remove double return
3674         (changeLanguage): reset message_ upon language change.
3675         (B_): new func, use this to get translated buffer strings.
3676
3677         * main.C: add myself and Jean Marc as authors.
3678
3679 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * messages.[hC]: pimplify Messages, and three different pimpls to be
3682         used in different circumstances.
3683
3684         * gettext.[Ch]: change for use with new message code.
3685
3686 2003-04-24 André Pönitz <poenitz@gmx.net>
3687
3688         * factory.C: support for eqref
3689
3690 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * messages.[Ch]: add missing char
3693
3694         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3695
3696         * messages.[Ch]: New files
3697
3698 2003-04-18  John Levon  <levon@movementarian.org>
3699
3700         * BufferView.h:
3701         * BufferView.C:
3702         * BufferView_pimpl.C:
3703         * lfuns.h:
3704         * LyXAction.C:
3705         * lyxtext.h:
3706         * text2.C: remove layout-copy/paste (bug 778)
3707
3708 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3709
3710         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3711
3712 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3713
3714         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3715         if they succeed. Act accordingly.
3716
3717 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * text2.C (setCharFont): adjust
3720         (setCounter): adjust
3721         (insertStringAsLines): adjust
3722
3723         * text.C (leftMargin): adjust
3724         (setHeightOfRow): adjust
3725
3726         * rowpainter.C (paintFirst): adjust
3727         (paintLast): adjust
3728
3729         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3730         (outerHook): ditto
3731         (isFirstInSequence): ditto
3732         (getEndLabel): ditto
3733         (outerFont): adjust
3734
3735         * paragraph.C (getParLanguage): comment out some hard stuff.
3736
3737         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3738         (sgmlError): ditto
3739         (simpleDocBookOnePar): ditto
3740         (makeDocBookFile): use ParagraphList::iterator
3741
3742         * CutAndPaste.C (pasteSelection): adjust
3743
3744 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * text2.C (getFont): adjust
3747         (getLayoutFont): adjust
3748         (getLabelFont): adjust
3749
3750         * paragraph_funcs.C (TeXOnePar): adjust
3751
3752         * buffer.C (simpleLinuxDocOnePar): adjust
3753         (simpleDocBookOnePar): adjust
3754
3755         * CutAndPaste.C (pasteSelection): adjust
3756
3757         * BufferView.C (getEncoding): adjust
3758
3759         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3760
3761 2003-04-16  John Levon  <levon@movementarian.org>
3762
3763         * lyxfind.C: use parlist stuff for search/changes
3764
3765 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3768
3769         * text2.C (deleteEmptyParagraphMechanism): adjust
3770
3771         * text2.[Ch] (ownerParagraph): delete func (both of them
3772
3773 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3776
3777 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * ParagraphList.C: prepare for NO_NEXT
3780
3781 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3782
3783         * text2.C (getFont): adjust
3784         (getLayoutFont): adjust
3785         (getLabelFont): adjust
3786
3787         * paragraph.C (getFont): adjust
3788         (getLabelFont): adjust
3789         (getLayoutFont): adjust
3790
3791         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3792
3793 2003-04-15  John Levon  <levon@movementarian.org>
3794
3795         From Angus Leeming
3796
3797         * lyx_main.C: handle Include in .ui files
3798
3799 2003-04-15  John Levon  <levon@movementarian.org>
3800
3801         * MenuBackend.C: make the doc files length shorter
3802
3803         * ToolbarBackend.h:
3804         * ToolbarBackend.C: handle toolbar placement flags,
3805         Minibuffer
3806
3807 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3808
3809         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3810         adjust
3811
3812         * paragraph_funcs.C (TeXOnePar): adjust
3813
3814         * paragraph.C (getLabelFont): add outerfont arg, adjust
3815         (getLayoutFont): ditto
3816         (simpleTeXOnePar): adjust
3817
3818         * paragraph_pimpl.C (realizeFont): delete func
3819
3820 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3823         row argument, constify cur argument.
3824
3825 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * text2.C (getFont): adjust
3828         (getLayoutFont): adjust
3829         (getLabelFont): adjust
3830
3831         * paragraph_funcs.C (TeXOnePar): adjust
3832         (outerFont): new func...
3833         (realizeFont): ...moved out from here, changed this to facilitate
3834         transition
3835
3836         * paragraph.C (getFont): take outerfont as arg, adjust
3837         (simpleTeXOnePar): add outerfont arg, adjust
3838
3839         * buffer.C (simpleLinuxDocOnePar): adjust
3840         (simpleDocBookOnePar): adjust
3841
3842         * CutAndPaste.C (pasteSelection): adjust
3843
3844         * BufferView.C (getEncoding): adjust
3845
3846 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * text2.C (setCharFont): adjust
3849         (setCounter): adjust
3850
3851         * text.C (leftMargin): adjust
3852         (setHeightOfRow): adjust
3853
3854         * rowpainter.C (paintFirst): adjust
3855         (paintLast): adjust
3856
3857         * paragraph_pimpl.C (realizeFont): adjust
3858
3859         * paragraph.C (isFirstInSequence): move from here...
3860         * paragraph_funcs.C (isFirstInSequence): ...to here
3861
3862         * paragraph.C (outerHook): move from here...
3863         * paragraph_funcs.C (outerHook): ...to here
3864
3865         * paragraph.C (depthHook): move from here...
3866         * paragraph_funcs.C (depthHook): ...to here
3867
3868         * paragraph.C (getEndLabel): move from here...
3869         * paragraph_funcs.C (getEndLabel): ...to here
3870
3871         * text2.C (realizeFont): move from here...
3872         * paragraph_funcs.C (realizeFont): ...to here
3873
3874 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3875
3876         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3877
3878 2003-04-14  Angus Leeming  <leeming@lyx.org>
3879
3880         * LColor.[Ch]: scrap LColor mathcursor.
3881
3882 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * lyxlex.[Ch] (text): delete function
3885         * trans.C (Load): adjust
3886         * paragraph_funcs.C (readParToken): adjust
3887
3888 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3891         vector<char> instead of a char[].
3892
3893         * lyxlex_pimpl.C (getString): adjust
3894         (next): adjust
3895         (lex): use getString
3896         (eatLine): adjust
3897         (nextToken): adjust
3898
3899         * lyxlex.C (text): use pimpl_->getString()
3900         (getBool): ditto
3901         (findToken): ditto
3902
3903 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3906         (makeFontEntriesLayoutSpecific): temp var for par.size()
3907         (setLayout): temp var for ownerParagraphs().end()
3908         (fullRebreak): temp var for rows().end()
3909         (selectionAsString): temp var for boost::next(startpit), realize
3910         that the while really is a regular for loop.
3911         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3912         setCursor in one place.
3913         (setParagraph): temp vr for ownerParagraphs().end()
3914         (updateCounters): make the while loop a for loop
3915         (cutSelection): temp var for ownerParagraphs().end()
3916         (updateInset): make the do {} while() a regular for loop
3917         (getCursorX): use temp vars
3918         (setCurrentFont): use temp vars
3919         (getColumnNearX): use temp vars
3920
3921 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * text.C (transformChar): use temp var for getChar
3924         (computeBidiTables): use temp var for row->par()
3925         (fill): move temp vars for row->par() and pit->layout() earlier in
3926         the function.
3927         (labelFill): use temp var for row->par()
3928         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3929         asc and desc, realize that pit never changes and that firstpit is
3930         just a duplicate and not needed. Exchange rit->par() with pit in a
3931         lot of places.
3932         (breakAgain): use a temp var for boost::next(rit)
3933         (breakAgainOneRow): ditto
3934         (breakParagraph): use a temp var for rows().begin()
3935         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3936         (cursorRightOneWord): use temp var for cursor.par() and
3937         cursor.pos(), remove usage of tmpcursor.
3938         (cursorLeftOneWord): use temp var for cursor.par() and
3939         cursor.pos() only set cur at end of function.
3940
3941 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * text.C, text2.C: exchange all usage of Paragraph::next with
3944         boost::next(ParagraphList::iterator)
3945
3946         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3947
3948         * text2.C (cursorTop): simplify implementation
3949         (cursorBottom): ditto
3950         (setParagraph): use ParagraphList::iterator
3951         (setCurrentFont): adjust
3952         (getColumnNearX): adjust
3953         (cursorRight): adjust
3954         (cursorLeft): remove usage of Paragraph::previous
3955         (cursorUpParagraph): ditto
3956         (deleteEmptyParagraphMechanism): slight cleanup
3957
3958         * text.C (isBoundary): take a Paragraph const & instead of a
3959         pointer as arg.
3960         (addressBreakPoint): ditto
3961         (leftMargin): remove usage of Paragraph::previous.
3962         (setHeightOfRow): ditto
3963         (cursorLeftOneWord): ditto
3964         (selectNextWordToSpellcheck): ditto
3965         (Delete): ditto
3966         (backspace): ditto
3967         (breakParagraph): remove one usage of Paragraph::next
3968         (redoParagraph): ditto
3969         (acceptChange): ditto
3970         (insertChar): adjust
3971         (rowBreakPoint): adjust
3972
3973         * bufferview_funcs.C (toggleAndShow): adjust
3974
3975 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3976
3977         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3978         methods to access it.
3979         * lyxtext.h:
3980         * text.C: Added updateRowPositions to compute all row positions.
3981         Make top_y and getRowNearY() to use the cached y position
3982
3983 2003-04-11  John Levon  <levon@movementarian.org>
3984
3985         * text.C (rowBreakPoint): reintroduce the labelEnd
3986         checks, code copied from the row fill stuff. Deep voodoo.
3987
3988         * text.C (fill): add a comment and debugging for the
3989         next poor soul.
3990
3991 2003-04-11  John Levon  <levon@movementarian.org>
3992
3993         * text.C: make sure fullrow insets get wrapped to the next line,
3994         even when they're in a manual label
3995
3996 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * text2.C (insertParagraph): make it take ParagraphList::iterator
3999         as arg.
4000         (setLayout): make it return ParagraphList::iterator
4001         (redoParagraphs): ditto
4002         (setCounter): ditto
4003         (checkParagraph): ditto
4004
4005         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4006
4007         * text2.C: adjust several funcs.
4008         (realizeFont): take a ParagraphList::iterator as arg.
4009         (getLayoutFont): ditto
4010         (getLabelFont): ditto
4011         (setCharFont): ditto
4012
4013         * text.C: adjust several funcs.
4014
4015 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4016
4017         * text.C (selectNextWordToSpellcheck): don't accidentally
4018         skip insets
4019
4020 2003-04-10  John Levon  <levon@movementarian.org>
4021
4022         * ToolbarBackend.C (getIcon): special handling for
4023         LFUN_MATH_DELIM
4024
4025 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4026
4027         * text2.C (cursorRight): a getChar assert fixed
4028
4029 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * text2.C (getFont): change to take a ParagraphList::iterator
4032         instead of Paragraph*
4033         Adjust several functions.
4034
4035         * text.C (transformChar): change to take a ParagraphList::iterator
4036         instead of Paragraph*
4037         (singleWidth): ditto
4038         Adjust several functions.
4039
4040         * rowpainter.C: adjust several functions
4041         * rowpainter.h:store a ParagraphList::iterator and not a
4042         Paragraph&.
4043
4044
4045 2003-04-09  John Levon  <levon@movementarian.org>
4046
4047         * lyxfunc.C:
4048         * lfuns.h:
4049         * LyXAction.h:
4050         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4051         and the "help" bits as well
4052
4053 2003-04-09  John Levon  <levon@movementarian.org>
4054
4055         * ToolbarBackend.h:
4056         * ToolbarBackend.C: allow multiple toolbars
4057
4058 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * undo_funcs.C (setCursorParUndo): adjust
4061
4062         * text_funcs.C (transposeChars): adjust
4063
4064         * text3.C (gotoNextInset): adjust
4065         (dispatch): adjust
4066
4067         * text2.C (setLayout): adjust
4068         (changeDepth): adjust
4069         (setFont): adjust
4070         (redoParagraphs): adjust
4071         (selectionAsString): adjust
4072         (setParagraph): adjust
4073         (insertInset): adjust
4074         (cutSelection): adjust
4075         (copySelection): adjust
4076         (pasteSelection): adjust
4077         (insertStringAsLines): adjust
4078         (updateInset): adjust
4079         (setCursor): change to take a ParagraphList::iterator parameter
4080         (setCursorIntern): change to take a ParagraphList::iterator parameter
4081         (setCurrentFont): adjust
4082         (cursorLeft): adjust
4083         (cursorRight): adjust
4084         (deleteEmptyParagraphMechanism): adjust
4085
4086         * text.C (breakParagraph): adjust
4087         (insertChar): adjust
4088         (acceptChange): adjust
4089         (rejectChange): adjust
4090         (selectNextWordToSpellcheck): adjust
4091         (changeCase): adjust
4092         (Delete): adjust
4093         (backspace): adjust
4094
4095         * lyxfind.C (SearchForward): adjust
4096         (SearchBackward): adjust
4097         (nextChange): adjust
4098
4099         * lyxcursor.C (par): adjust
4100
4101         * lyxcursor.h: store a ParagraphList::iterator instead of a
4102         Paragraph*
4103
4104         * lyx_cb.C (getPossibleLabel): adjust
4105
4106         * bufferview_funcs.C (toggleAndShow): adjust
4107
4108         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4109         (dispatch): adjust
4110
4111         * BufferView.C (removeAutoInsets): adjust
4112         (lockedInsetStoreUndo): adjust
4113
4114 2003-04-09  John Levon  <levon@movementarian.org>
4115
4116         * ToolbarBackend.C: try icon without argument
4117         if with argument fails
4118
4119 2003-04-08  John Levon  <levon@movementarian.org>
4120
4121         * ToolbarBackend.h:
4122         * ToolbarBackend.C: add getIcon(), handle tooltip,
4123         and change from "Icon" to "Item".
4124
4125 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4126
4127         * BufferView.C (lockInset): another bad getchar crunched
4128
4129 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4130
4131         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4132         again)
4133
4134 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4135
4136         * lyxfind.C (searchForward, searchBackwards): bug 782
4137
4138 2003-04-07  John Levon  <levon@movementarian.org>
4139
4140         * paragraph.C: remove dead comment
4141
4142         * text.C: remove troublesome depth-fiddling code
4143         in leftMargin() and rightMargin() (bug 1017)
4144
4145         * text.C: fix breaking of rows in nested lists
4146         (bug 1004)
4147
4148         * text2.C (updateCounters): fix up depth values
4149         (bug 1013)
4150
4151 2003-04-07  John Levon  <levon@movementarian.org>
4152
4153         * BufferView_pimpl.C: clear message when doc finishes resizing,
4154         and after a mouse event
4155
4156         * lyxfunc.C: clear message after exiting inset
4157
4158 2003-04-07  John Levon  <levon@movementarian.org>
4159
4160         * bufferview_funcs.C: show math status not outside
4161         status in the statusbar
4162
4163 2003-04-07  John Levon  <levon@movementarian.org>
4164
4165         * lyxfunc.C: note status changed after a depth change
4166
4167 2003-04-04  Angus Leeming  <leeming@lyx.org>
4168
4169         * LaTeX.h: move AuxInfo operator==, != out of line.
4170         Remove LaTeX virtual destructor; nothing derives from it.
4171         Move operator()() out of public area and rename it startscript().
4172         Change protected for private.
4173
4174 2003-04-04  Angus Leeming  <leeming@lyx.org>
4175
4176         * lyxfunc.C:
4177         * text2.C: remove unneeded #includes.
4178
4179 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4180
4181         * text2.C (dEPM): fix the heigth of the next row
4182
4183 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4184
4185         * text.C: squashed an invalid getChar requester + some ws changes
4186
4187 2003-04-03  John Levon  <levon@movementarian.org>
4188
4189         * bufferview_funcs.h:
4190         * bufferview_funcs.C:
4191         * lyxfunc.C:
4192         * lyxtext.h:
4193         * text2.C: make getStatus work for the env depth lfuns
4194
4195 2003-04-03  John Levon  <levon@movementarian.org>
4196
4197         * bufferview_funcs.h:
4198         * bufferview_funcs.C:
4199         * lyxfunc.C:
4200         * lyxtext.h:
4201         * text2.C: parlistize decDepth(), by merging it with incDepth()
4202
4203 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4204
4205         * lyxrow.h: store a ParagraphList::iterator instead of a
4206         Paragraph* and adjust other class functions to suit.
4207
4208         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4209         above.
4210
4211 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * text2.C (setCursor): do not anchor to cursor row for the time being
4214
4215 2003-04-02  John Levon  <levon@movementarian.org>
4216
4217         * LyXAction.C:
4218         * lfuns.h:
4219         * lyx_main.C:
4220         * lyxtext.h:
4221         * text.C:
4222         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4223
4224 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4225
4226         * paragraph.h: make ParagraphList and ParagraphList::iterator
4227         friends of Paragraph.
4228
4229         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4230
4231         * ParagraphList.C: Use the private next_ and previous_ from
4232         Paragraph.
4233
4234 2003-04-01  John Levon  <levon@movementarian.org>
4235
4236         * ToolbarBackend.h:
4237         * ToolbarBackend.C:
4238         * Makefile.am: rename, remove defaults gunk
4239
4240         * MenuBackend.h:
4241         * MenuBackend.C: remove defaults gunk
4242
4243         * Languages.h:
4244         * Languages.C: remove defaults gunk
4245
4246         * lyx_main.h:
4247         * lyx_main.C: error out if files couldn't be found.
4248
4249 2003-04-02  John Levon  <levon@movementarian.org>
4250
4251         * text2.C: make incDepth() use parlist
4252
4253 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4254
4255         * undo_funcs.C (firstUndoParagraph): adjust
4256
4257         * text3.C (gotoInset): adjust
4258         (dispatch): adjust, and rewrite loop.
4259
4260         * text2.C (init): adjust, and rewrite loop.
4261         (redoParagraphs): adjust
4262         (updateInset): adjust, and rewrite loop.
4263         (deleteEmptyParagraphMechanism): adjust
4264
4265         * tabular.C (LyXTabular): adjust
4266         (SetMultiColumn): adjust
4267         (TeXRow): adjust
4268
4269         * lyxtext.[Ch] (ownerParagraph): delete function
4270         (ownerParagraphs): new function returns a ParagraphList.
4271
4272         * BufferView.C (removeAutoInsets): adjust
4273         (insertErrors): adjust
4274         (setCursorFromRow): adjust
4275
4276 2003-04-01  Angus Leeming  <leeming@lyx.org>
4277
4278         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4279         in the frontends.
4280
4281 2003-04-02  John Levon  <levon@movementarian.org>
4282
4283         * lyxtext.h:
4284         * text.C:
4285         * Makefile.am:
4286         * text_funcs.h:
4287         * text_funcs.C: make transposeChars a free function
4288
4289         * lyxrow_funcs.C: remove wrong comment
4290
4291 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * lyxtext.h: adjust
4294         * rowpainter.C: adjust
4295         * text.C: adjust
4296         * text2.C: adjust
4297         * text3.C: adjust
4298
4299         * lyxrow_funcs. [Ch]: new files
4300
4301         * lyxrow.[Ch]: remove next and previous pointers
4302         (next,previous): remove accessor functions
4303         (isParEnd): move to lyxrow_funcs
4304         (lastPos): move to lyxrow_funcs
4305         (nextRowIsAllInset): move to lyxrow_funcs
4306         (lastPrintablePos): move to lyxrow_funcs
4307         (numberOfSeparators): move to lyxrow_funcs
4308         (numberOfHfills): move to lyxrow_funcs
4309         (numberOfLabelHfills): move to lyxrow_funcs
4310         (hfillExpansion): move to lyxrow_funcs
4311
4312         * lyxfunc.C: adjust
4313
4314         * bufferview_funcs.C (toggleAndShow): adjust
4315
4316         * RowList.h: Remove class RowList from file leave just a
4317         std::list<Row>.
4318
4319         * RowList.C: delete file
4320
4321         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4322         and lyxrow_funcs.h
4323
4324 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * text3.C (cursorPrevious): adjust
4327         (cursorNext): adjust
4328         (dispatch): adjust
4329
4330         * text2.C (redoHeightOfParagraph): adjust
4331         (redoDrawingOfParagraph): adjust
4332         (setCursor): adjust
4333
4334         * text.C (breakParagraph): adjust
4335         (insertChar): adjust
4336         (backspace): adjust
4337
4338         * rowpainter.C (RowPainter): adjust
4339         (leftMargin): simplify and adjust
4340         (most rowpainter functions): adjust.
4341
4342         * rowpainter.h: store the row as RowList::iterator not as Row*
4343
4344         * lyxcursor.C (row): taka RowList::iterator as arg
4345         (irow): ditto
4346
4347         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4348         of Row*.
4349
4350 2003-04-01  Angus Leeming  <leeming@lyx.org>
4351
4352         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4353         stuff like bool Bool.
4354
4355 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4358         rewrite a loop
4359
4360 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4363         RowList::iterator.
4364
4365         * lyxtext.h (rows): drop one version and leve a const variant that
4366         returns a RowList::iterator.
4367
4368 2003-03-31  Angus Leeming  <leeming@lyx.org>
4369
4370         * text.C (fill): ensure that the signature is the same as that in the
4371         header file.
4372
4373 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * text2.C (redoParagraphs): adjust
4376         (updateCounters): adjust
4377         (checkParagraph): adjust
4378         (getColumnNearX): adjust and reformat a bit.
4379
4380         * text.C (top_y): adjust
4381         (workWidth): adjust
4382         (leftMargin): adjust
4383         (prepareToPrint): adjust
4384         (getRow): adjust
4385         (getRowNearY): adjust
4386
4387         * lyxtext.h: make rowlist_ mutable.
4388
4389         * RowList.h: add const_iterator
4390         * RowList.C: adjust for RowList::const_iterator.
4391
4392         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4393         adjust.
4394
4395 2003-03-31  John Levon  <levon@movementarian.org>
4396
4397         * lyxrc.h:
4398         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4399
4400         * lyx_main.C: set default fonts from using lyx_gui funcs
4401
4402         * exporter.C: pdf_mode moved from lyxrc
4403
4404         * lyx_cb.C:
4405         * lyxfunc.C: changes from above
4406
4407 2003-03-31  John Levon  <levon@movementarian.org>
4408
4409         * lyx_main.C: fix to the last fix
4410
4411 2003-03-31  John Levon  <levon@movementarian.org>
4412
4413         * bufferlist.C: "Load original" -> "Load Original"
4414
4415         * converter.C:
4416         * exporter.C:
4417         * importer.C:
4418         * lyx_main.C:
4419         * format.C: more Alert cleanups
4420
4421 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * text2.C (removeParagraph): make it take a RowList::iterator as
4424         arg, adjust.
4425         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4426         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4427
4428         * text.C (anchor_row): make it take a RowList::iterator as arg,
4429         adjust.
4430         (computeBidiTables): make it take a const reference to Row instead
4431         of Row pointer, adjust.
4432         (leftMargin): make it take a RowList::iterator as arg, adjust.
4433         (rowBreakPoint): adjust
4434         (breakAgainOneRow): make it take a RowList::iterator as arg,
4435         adjust.
4436         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4437
4438         * bufferview_funcs.C (toggleAndShow): adjust
4439
4440 2003-03-30  John Levon  <levon@movementarian.org>
4441
4442         * Makefile.am:
4443         * BoostFormat.h:
4444         * boost-inst.C: moved to support
4445
4446         * several files: changes as a result
4447
4448 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * text2.C (LyXText): adjust.
4451         (init): adjust
4452         (removeRow): make it take a RowList::iterator as arg, adjust.
4453         (fullRebreak): adjust
4454         (deleteEmptyParagraphMechanism): adjust
4455         (clearPaint): adjust
4456         (postPaint): adjust
4457
4458         * text.C (top_y): adjust
4459         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4460         (breakAgain): make it take a RowList::iterator as arg, adjust.
4461         (breakParagraph): adjust
4462         (insertChar): adjust
4463         (backspace): adjust
4464
4465         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4466         need_break_row, and refresh_row.
4467
4468         * text3.C (dispatch): adjust
4469
4470         * text2.C (checkParagraph): adjust
4471         (setCursor): adjust
4472         (setCursorFromCoordinates): adjust
4473
4474         * text.C (top_y): adjust
4475         (workWidth): adjust
4476         (getRow): make it return a RowList::iterator, adjust
4477         (getRowNearY): make it return a RowList::iterator, adjust
4478
4479         * text2.C (init): adjust
4480         (insertRow): remove function
4481         (insertParagraph): adjust
4482         (redoParagraphs): adjust
4483         (fullRebreak): adjust
4484         (updateCounters): adjust
4485
4486         * text.C (top_y): rewrite to use RowList iterators.
4487         (top_y): adjust
4488         (setHeightOfRow): rewrite to sue RowList iterators.
4489         (appendParagraph): adjust
4490         (breakAgain): adjust
4491         (breakAgainOneRow): adjust
4492         (breakParagraph): adjust
4493         (getRow): adjust
4494         (getRowNearY): adjust, and remove commented code.
4495
4496         * lyxtext.h (firstRow): delete function
4497         (lastRow): delete function
4498         (rows): new function (const and non-const versions.)
4499         (insertRow): delete function
4500
4501         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4502
4503 2003-03-29  John Levon  <levon@movementarian.org>
4504
4505         * BufferView_pimpl.C: always update scrollbar top
4506         because pasting text when we're anchored could mean we
4507         miss an update altogether
4508
4509 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * text2.C (init): use rowlist_.end() and not 0.
4512         (insertRow): change to take a RowList::iterator as arg, adjust
4513         for this.
4514         (insertParagraph): change to take a RowList::iterator as arg,
4515         adjust for this.
4516         (redoParagraphs): remove some debug msgs.
4517
4518         * text.C (appendParagraph): change to take a RowList::iterator
4519         arg, adjust for this.
4520         (breakAgain): add an assert
4521         (breakAgainOneRow): ditto
4522
4523 2003-03-29  John Levon  <levon@movementarian.org>
4524
4525         * text2.C: do not clear selection after inc/decDepth
4526         (bug 550)
4527
4528 2003-03-29  John Levon  <levon@movementarian.org>
4529
4530         * BufferView.C:
4531         * buffer.C: fix broken strerrors according to Lars
4532
4533 2003-03-29  John Levon  <levon@movementarian.org>
4534
4535         * converters.C: more Alert cleanups
4536
4537 2003-03-29  John Levon  <levon@movementarian.org>
4538
4539         * bufferview_funcs.C: remove pointless Alert
4540
4541         * buffer.C: fix confusing error message when
4542         a template is chmoded 000
4543
4544 2003-03-29  John Levon  <levon@movementarian.org>
4545
4546         * BufferView.C:
4547         * BufferView.h:
4548         * BufferView_pimpl.C: Alert fixes
4549
4550         * Makefile.am:
4551         * tabular.C:
4552         * tabular-old.C: remove unused table compat reading
4553
4554 2003-03-29  John Levon  <levon@movementarian.org>
4555
4556         * BufferView.C:
4557         * buffer.C:
4558         * lyx_cb.h:
4559         * lyx_cb.C: more Alert cleanups
4560
4561         * lyxfunc.C: don't allow chktex if not latex document
4562
4563 2003-03-29  John Levon  <levon@movementarian.org>
4564
4565         * lyx_cb.C:
4566         * BufferView.C:
4567         * buffer.C: warnings pushed down from support/,
4568         kill err_alert
4569
4570 2003-03-29  John Levon  <levon@movementarian.org>
4571
4572         * lyxfunc.C: safety check for C-r (revert)
4573
4574 2003-03-29  John Levon  <levon@movementarian.org>
4575
4576         * bufferlist.h:
4577         * bufferlist.C: several UI fixes using Alert::prompt.
4578         Fix the pointless looping quit code. Fix stupid revert
4579         behaviour (bug 938)
4580
4581         * lyxvc.h:
4582         * lyxvc.C:
4583         * lyx_cb.C: use Alert::prompt
4584
4585         * lyx_main.C: remove a silly question
4586
4587         * lyxfunc.C: remove a couple of silly questions,
4588         use Alert::prompt
4589
4590 2003-03-28  John Levon  <levon@movementarian.org>
4591
4592         * text2.C: fix bug 974 (End on empty par)
4593
4594 2003-03-28  John Levon  <levon@movementarian.org>
4595
4596         * BufferView_pimpl.C:
4597         * LyXAction.C:
4598         * lfuns.h: remove do-nothing math greek lfuns
4599
4600 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * lyxgluelength.h (isValidGlueLength): add default arg on
4603         parameter 2. Remove default arg from friend in class.
4604
4605         * lyxlength.h (isValidLength): add default arg on parameter 2.
4606         Remove default arg from friend in class.
4607
4608         * text2.C (LyXText): adjust, initialize refresh_row.
4609         (init): adjust
4610         (removeRow): adjust
4611         (insertRow): adjust
4612         (insertParagraph): adjst
4613         (redoParagraphs): adjust
4614         (fullRebreak): adjust
4615         (updateCounters): adjust
4616         (deleteEmptyParagraphMechanism): first attempt at fixing a
4617         crashing bug.
4618
4619         * text.C (top_y): adjust
4620         (setHeightOfRow): adjust
4621         (getRow): adjust
4622         (getRowNearY): adjust
4623
4624         * lyxtext.h: include RowList.h
4625         (~LyXText): not needed anymore, deleted.
4626         (firstRow): modify for RowList
4627         (lastRow): new function
4628         Delete firstrow and lastrow class variables, add a Rowlist
4629         rowlist_ class variable.
4630
4631         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4632         paragraph is empty.
4633
4634         * RowList.C (insert): fix case where it == begin().
4635
4636 2003-03-26  Angus Leeming  <leeming@lyx.org>
4637
4638         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4639         the thesaurus dialog.
4640
4641 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4642
4643         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4644
4645         * RowList.[Ch]: new files
4646
4647         * ParagraphList.C (erase): handle the case where it == begin
4648         correctly.
4649
4650 2003-03-25  John Levon  <levon@movementarian.org>
4651
4652         * Makefile.am:
4653         * aspell_local.h:
4654         * aspell.C: add new aspell support
4655
4656         * lyxrc.h:
4657         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4658         have it accessible.
4659
4660 2003-03-25  Angus Leeming  <leeming@lyx.org>
4661
4662         * lfuns.h:
4663         * LyXAction.C (init): new LFUN_INSET_INSERT.
4664
4665         * BufferView_pimpl.C (dispatch): split out part of the
4666         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4667
4668         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4669         LFUN_INSET_APPLY.
4670
4671 2003-03-25  Angus Leeming  <leeming@lyx.org>
4672
4673         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4674
4675 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * text2.C:
4678         * text3.C: remove useless row->height(0)
4679
4680 2003-03-25  John Levon  <levon@movementarian.org>
4681
4682         * lyxtext.h:
4683         * text2.C:
4684         * text3.C: rename the refreshing stuff to better names
4685
4686 2003-03-24  John Levon  <levon@movementarian.org>
4687
4688         * BufferView_pimpl.h:
4689         * BufferView_pimpl.C: update layout choice on a mouse
4690         press/release
4691
4692 2003-03-23  John Levon  <levon@movementarian.org>
4693
4694         * Makefile.am: fix commandtags.h reference
4695
4696 2003-03-22  John Levon  <levon@movementarian.org>
4697
4698         * BufferView_pimpl.C:
4699         * lyxtext.h:
4700         * rowpainter.C:
4701         * rowpainter.h:
4702         * text.C:
4703         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4704
4705 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * lyxtext.h:
4708         * text.C: take the rtl methods out of line
4709
4710 2003-03-21 André Pönitz <poenitz@gmx.net>
4711
4712         * metricsinfo.[Ch]: new files containing structures to be passed around
4713         during the two-phase-drawing...
4714
4715 2003-03-21 André Pönitz <poenitz@gmx.net>
4716
4717         * lyxtextclass.C: read 'environment' tag.
4718
4719 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4720
4721         * text2.C (removeRow): fix bug 964
4722
4723 2003-03-20  John Levon  <levon@movementarian.org>
4724
4725         * rowpainter.C:
4726         * text.C:
4727         * text2.C: paint cleanups. Inset::update() dropped font
4728         parameter
4729
4730 2003-03-19  John Levon  <levon@movementarian.org>
4731
4732         * lyxfunc.C: only fitcursor/markDirty if available()
4733
4734 2003-03-19  John Levon  <levon@movementarian.org>
4735
4736         * commandtags.h: rename to ...
4737
4738         * lfuns.h: ... this, and renumber / cleanup
4739
4740 2003-03-19  John Levon  <levon@movementarian.org>
4741
4742         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4743         fit the cursor after an lfun
4744
4745         * BufferView.h:
4746         * BufferView.C:
4747         * BufferView_pimpl.h:
4748         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4749
4750         * LyXAction.C: layout-character should have ReadOnly
4751
4752         * ParagraphParameters.C:
4753         * buffer.C:
4754         * bufferview_funcs.C:
4755         * lyx_cb.C:
4756         * lyxfind.C:
4757         * lyxtext.h:
4758         * text.C:
4759         * text2.C:
4760         * text3.C:
4761         * undo_funcs.C: changes from above
4762
4763 2003-03-18  John Levon  <levon@movementarian.org>
4764
4765         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4766         remove it from update()
4767
4768         * lyxfunc.C: update layout choice after an lfun
4769
4770         * text3.C: remove extra updateLayoutChoice()s
4771
4772 2003-03-18  John Levon  <levon@movementarian.org>
4773
4774         * text.C: top_y change means full repaint, fix
4775         a drawing bug with cursor movement
4776
4777 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4778
4779         * lyxtext.h:
4780         * text.C:
4781         * text2.C: anchor row on setCursor
4782
4783 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4784
4785         * lyxtext.h: remove almost all mutable keywords
4786         * text.C:
4787         * text2.C:
4788         * text3.C: remove const keywords accordingly
4789
4790 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4793         anon namespace
4794         (TeXEnvironment): ditto
4795         (TeXOnePar): ditto
4796
4797 2003-03-17  John Levon  <levon@movementarian.org>
4798
4799         * text.C (rowBreakPoint): remove attempt to fix displayed
4800         math insets inside a manual label
4801
4802 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * lyxtext.h: remove BufferView* as first arg from almost all class
4805         functions.
4806         * other files: adjust.
4807
4808 2003-03-17  John Levon  <levon@movementarian.org>
4809
4810         * lyxtext.h:
4811         * undo_funcs.C:
4812         * text2.C: more paint cleanups
4813
4814         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4815
4816         * rowpainter.h:
4817         * rowpainter.C: remove "smart" background painting code
4818
4819 2003-03-16  John Levon  <levon@movementarian.org>
4820
4821         * lyxtext.h:
4822         * text.C:
4823         * text2.C:
4824         * text3.C: add helper functions for setting refresh_row/y
4825
4826 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4827
4828         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4829         newline inset which *can* get inserted in the pass_thru layouts.
4830         This is primarily for literate documents.
4831
4832 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4833
4834         * buffer.C: increment LYX_FORMAT to 223
4835
4836 2003-03-14 André Pönitz <poenitz@gmx.net>
4837
4838         * textclass.h: prepare for environment handling, ws changes
4839         * lyxlayout.C: read latexheader and latexfooter tags
4840
4841 2003-03-14  John Levon  <levon@movementarian.org>
4842
4843         * text2.C: rewrite ::status() a bit
4844
4845 2003-03-13  John Levon  <levon@movementarian.org>
4846
4847         * lyxtext.h: add some docs
4848
4849 2003-03-13  John Levon  <levon@movementarian.org>
4850
4851         * lyxtext.h:
4852         * text.C:
4853         * text2.C:
4854         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4855
4856 2003-03-13  John Levon  <levon@movementarian.org>
4857
4858         * text3.C: fix appendix redrawing
4859
4860 2003-03-13  John Levon  <levon@movementarian.org>
4861
4862         * text.C (setHeightOfRow):
4863         * rowpainter.h:
4864         * rowpainter.C: make appendix mark have the text
4865           "Appendix" so the user knows what it is
4866
4867         * LColor.h:
4868         * LColor.C: s/appendixline/appendix/ from above
4869
4870 2003-03-13  John Levon  <levon@movementarian.org>
4871
4872         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4873
4874         * text.C: fix a getChar(pos) bug properly
4875
4876 2003-03-13  Angus Leeming  <leeming@lyx.org>
4877
4878         * commandtags.h:
4879         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4880         Probably only temporary. Let's see how things pan out.
4881
4882         * BufferView.C (unlockInset):
4883         * BufferView_pimpl.C (fitCursor):
4884         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4885
4886         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4887         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4888
4889         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4890         new functions that convert ParagraphParameters to and from a string.
4891
4892         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4893         BufferView::Pimpl's dispatch.
4894         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4895
4896 2003-03-13 André Pönitz <poenitz@gmx.net>
4897
4898         * lyxfunc.C:
4899         * text3.C:
4900         * factory.C: make it aware of InsetEnv
4901
4902 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4903
4904         * text2.C (setCursor): never ask for one past last
4905         (setCursor): add some debugging messages.
4906
4907         * text.C (singleWidth): never ask for one past last
4908         (singleWidth): ditto
4909         (leftMargin): ditto
4910         (rightMargin): ditto
4911         (rowBreakPoint): ditto
4912         (setHeightOfRow): ditto
4913         (prepareToPrint): ditto
4914
4915         * rowpainter.C (paintBackground): never ask for one past last
4916         (paintText): never ask for one past last
4917
4918         * paragraph_pimpl.C (getChar): make the assert stricter, never
4919         allow the one past last pos to be taken
4920
4921         * paragraph.C (getChar): ws changes only
4922
4923         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4924         (numberOfSeparators): ditto
4925         (numberOfHfills): ditto
4926
4927 2003-03-12  John Levon  <levon@movementarian.org>
4928
4929         * author.h:
4930         * author.C:
4931         * bufferparams.h:
4932         * bufferparams.C:
4933         * paragraph_funcs.C: fix per-buffer authorlists
4934
4935 2003-03-12  John Levon  <levon@movementarian.org>
4936
4937         * text.C: fix newline in right address
4938
4939 2003-03-12  Angus Leeming  <leeming@lyx.org>
4940
4941         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4942         duplicate those in LyXFunc::dispatch.
4943
4944         * commandtags.h:
4945         * LyXAction.C:
4946         * ToolbarDefaults.C:
4947         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4948         Add LFUN_FONTFREE_UPDATE.
4949
4950         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4951         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4952
4953         * bufferview_func.[Ch]: several new functions to facilliate
4954         transfer of data to and from the character dialog.
4955
4956 2003-03-12  John Levon  <levon@movementarian.org>
4957
4958         * buffer.C:
4959         * paragraph.h:
4960         * paragraph.C:
4961         * paragraph_funcs.C:
4962         * paragraph_pimpl.C:
4963         * sgml.C:
4964         * tabular.C:
4965         * text.C:
4966         * text3.C: remove META_NEWLINE in favour of an inset
4967
4968         * rowpainter.h:
4969         * rowpainter.C: remove paintNewline (done by inset)
4970
4971 2003-03-12  John Levon  <levon@movementarian.org>
4972
4973         * paragraph_pimpl.C: complain about bad getChar()s
4974         for a while at least
4975
4976 2003-03-12  John Levon  <levon@movementarian.org>
4977
4978         * buffer.h:
4979         * buffer.C: move paragraph read into a separate function,
4980         a little renaming to reflect that.
4981
4982         * bufferparams.h:
4983         * bufferparams.C: remove the author_ids map, not necessary now
4984
4985         * factory.h:
4986         * factory.C: moved Buffer::readInset to here
4987
4988         * paragraph_funcs.h:
4989         * paragraph_funcs.C: readParagraph free function moved from
4990         buffer.C
4991
4992         * tabular.C: name change
4993
4994 2003-03-12  John Levon  <levon@movementarian.org>
4995
4996         * buffer.C:
4997         * ParagraphParameters.C: move par params input to
4998         a read() method
4999
5000         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5001         behave like a normal read from the stream wrt reading
5002         a line vs. a \\token
5003
5004 2003-03-12  John Levon  <levon@movementarian.org>
5005
5006         * paragraph.C:
5007         * ParagraphParameters.h:
5008         * ParagraphParameters.C: move output code to a
5009         ::write() method
5010
5011 2003-03-12  John Levon  <levon@movementarian.org>
5012
5013         * BufferView.C (insertLyXFile):
5014         * buffer.h:
5015         * buffer.C:
5016         * tabular.C: use a parlist iterator for creating the
5017           document.
5018
5019 2003-03-12  John Levon  <levon@movementarian.org>
5020
5021         * buffer.C: make current_change static local not
5022           static file-scope
5023
5024 2003-03-12  John Levon  <levon@movementarian.org>
5025
5026         * buffer.C: fix insertStringAsLines for change tracking
5027
5028 2003-03-12  John Levon  <levon@movementarian.org>
5029
5030         * BufferView.C:
5031         * tabular.C:
5032         * buffer.h:
5033         * buffer.C:
5034         * bufferparams.h:
5035         * bufferparams.C: move author list into params. Rename some
5036           functions. Move the header reading into a separate token
5037           loop. Move the header token reading into BufferParams.
5038
5039 2003-03-12  John Levon  <levon@movementarian.org>
5040
5041         * changes.C: put debug inside lyxerr.debugging() checks
5042
5043 2003-03-11 André Pönitz <poenitz@gmx.net>
5044
5045         * factory.C: make it aware of InsetHFill
5046
5047 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5048
5049         * buffer.C (latexParagraphs): move function from here...
5050         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5051         args.
5052
5053 2003-03-10  Angus Leeming  <leeming@lyx.org>
5054
5055         * LyXAction.C (init): fix bug in poplating array with multiple entries
5056         with the same LFUN (spotted by JMarc).
5057
5058 2003-03-10  John Levon  <levon@movementarian.org>
5059
5060         * text.C:
5061         * text2.C: move getColumnNearX() near its
5062         only call site
5063
5064 2003-03-10  John Levon  <levon@movementarian.org>
5065
5066         * text.C: fix break before a minipage
5067
5068 2003-03-10  John Levon  <levon@movementarian.org>
5069
5070         * text.C: fix the last commit
5071
5072 2003-03-09  John Levon  <levon@movementarian.org>
5073
5074         * lyxtext.h:
5075         * text.C:
5076         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5077         bug 365 (don't break before insets unless needed). Don't
5078         return a value > last under any circumstances.
5079
5080 2003-03-09  Angus Leeming  <leeming@lyx.org>
5081
5082         * BufferView_pimpl.C (trackChanges, dispatch): call
5083         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5084
5085 2003-03-09  Angus Leeming  <leeming@lyx.org>
5086
5087         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5088         than Dialogs::showAboutlyx().
5089
5090 2003-03-09  Angus Leeming  <leeming@lyx.org>
5091
5092         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5093         than Dialogs::showTabularCreate().
5094
5095 2003-03-09  John Levon  <levon@movementarian.org>
5096
5097         * lyxtext.h:
5098         * text.C:
5099         * text2.C: 3rd arg to nextBreakPoint was always the same.
5100           Use references.
5101
5102 2003-03-08  John Levon  <levon@movementarian.org>
5103
5104         * lyxrow.C:
5105         * paragraph.C:
5106         * paragraph.h:
5107         * rowpainter.C:
5108         * text.C:
5109         * text2.C: Remove the "main" bit from the "main body"
5110           notion.
5111
5112 2003-03-08  John Levon  <levon@movementarian.org>
5113
5114         * text.C (leftMargin): The left margin of an empty
5115         manual label paragraph should not include the label width
5116         string length.
5117
5118         * text.C (prepareToPrint): don't attempt to measure hfills
5119         for empty manual label paragraphs - the answer should be 0
5120
5121 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * CutAndPaste.C: remove commented code and reindent.
5124
5125 2003-03-08  John Levon  <levon@movementarian.org>
5126
5127         * lyxfunc.h:
5128         * lyxfunc.C: move reloadBuffer()
5129
5130         * BufferView.h:
5131         * BufferView.C: to here
5132
5133         * lyxvc.C: add comment
5134
5135         * vc-backend.h:
5136         * vc-backend.C: call bv->reload() to avoid
5137           getStatus() check on MENURELOAD
5138
5139 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5140
5141         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5142         to an old format .dep file.
5143
5144 2003-03-07  Angus Leeming  <leeming@lyx.org>
5145
5146         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5147         when the LFUN_MOUSE_RELEASE should have been handled by
5148         inset->localDispatch.
5149
5150 2003-03-07  Angus Leeming  <leeming@lyx.org>
5151
5152         * BufferView_pimpl.C (dispatch):
5153         * LyXAction.C (init):
5154         * ToolbarDefaults.C (init):
5155         * commandtags.h:
5156         * lyxfunc.C (getStatus):
5157         remove LFUN_INSET_GRAPHICS.
5158
5159         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5160
5161 2003-03-07  Angus Leeming  <leeming@lyx.org>
5162
5163         * commandtags.h:
5164         * LyXAction.C (init):
5165         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5166
5167         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5168
5169         * commandtags.h:
5170         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5171
5172         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5173         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5174
5175 2003-03-07  Angus Leeming  <leeming@lyx.org>
5176
5177         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5178         remove "ert".
5179
5180 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * ParagraphList.C (front): new function
5183         (back): implement
5184
5185 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5186
5187         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5188         and top_row_offset_. removed var first_y.
5189         * text.C (top_y):
5190         * text2.C (LyXText, removeRow):
5191         * text3.C:
5192         * BufferView_pimpl.C:
5193         use these methods instead of using first_y
5194
5195 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * text2.C (pasteSelection): adjust for checkPastePossible
5198
5199         * CutAndPaste.C: remove Paragraph * buf and replace with
5200         ParagraphList paragraphs.
5201         (DeleteBuffer): delete
5202         (cutSelection): change the tc type to textclass_type
5203         (copySelection): change the tc type to textclass_type
5204         (copySelection): adjust for ParagraphList
5205         (pasteSelection): change the tc type to textclass_type
5206         (pasteSelection): adjust for Paragraphlist
5207         (nrOfParagraphs): simplify for ParagraphList
5208         (checkPastePossible): simplify for ParagraphList
5209         (checkPastePossible): remove unused arg
5210
5211         * ParagraphList.C (insert): handle the case where there are no
5212         paragraphs yet.
5213
5214         * CutAndPaste.h: make CutAndPaste a namespace.
5215
5216         * text3.C (dispatch): adjust
5217
5218         * text.C (breakParagraph): add a ParagraphList as arg
5219
5220         * paragraph_funcs.C (breakParagraph): change to take a
5221         BufferParams and a ParagraphList as args.
5222         (breakParagraphConservative): ditto
5223         (mergeParagraph): ditto
5224         (TeXDeeper): add a ParagraphList arg
5225         (TeXEnvironment): ditto
5226         (TeXOnePar): ditto
5227
5228         * buffer.C (readLyXformat2): adjust
5229         (insertStringAsLines): adjust
5230         (latexParagraphs): adjust
5231
5232         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5233         (cutSelection): adjust
5234         (pasteSelection): adjust
5235
5236         * BufferView_pimpl.C (insertInset): adjust
5237
5238 2003-03-05  Angus Leeming  <leeming@lyx.org>
5239
5240         * commandtags.h:
5241         * LyXAction.C (init):
5242         * BufferView_pimpl.C (dispatch):
5243         * lyxfunc.C (getStatus):
5244         remove LFUN_CHILD_INSERT.
5245
5246         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5247
5248 2003-03-05  Angus Leeming  <leeming@lyx.org>
5249
5250         * commandtags.h:
5251         * LyXAction.C (init):
5252         * src/factory.C (createInset):
5253         * lyxfunc.C (getStatus):
5254         * text3.C (dispatch):
5255         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5256
5257         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5258
5259 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * ParagraphList.C (insert): handle insert right before end()
5262         (erase): fix cases where it can be first or last paragraph.
5263
5264 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5267         Paragraph::next and Paragraph::previous
5268         (TeXOnePar): ditto
5269
5270         * text.C (breakParagraph): adjust
5271
5272         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5273         BufferParams& as arg.
5274         (breakParagraph): use ParagraphList::insert
5275         (breakParagraphConservative): take a Buffer* instead of a
5276         BufferParams& as arg.
5277         (breakParagraphConservative): use ParagraphList::insert.
5278
5279         * buffer.C (insertStringAsLines): un-const it
5280         (insertStringAsLines): adjust
5281
5282         * ParagraphList.C (insert): new function
5283
5284         * CutAndPaste.C (pasteSelection): adjust
5285
5286         * text.C (backspace): adjust
5287
5288         * tabular.C (SetMultiColumn): adjust
5289
5290         * CutAndPaste.C (cutSelection): adjust
5291         (pasteSelection): adjust
5292
5293         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5294         Buffer const * as arg
5295
5296         * ParagraphList.C (erase): new function
5297         * paragraph_funcs.C (mergeParagraph): use it
5298         (mergeParagraph): make it take a Buffer* instead of a
5299         BufferParams* as arg
5300
5301         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5302         as arg
5303         (breakParagraphConservative): ditto
5304
5305         * paragraph.h: remove the breakParagraph friend
5306
5307         * paragraph.C (eraseIntern): new function
5308         (setChange): new function
5309
5310         * paragraph_funcs.C (mergeParagraph): make it take a
5311         ParagraphList::iterator instead of a Paragraph *, adjust
5312         accordingly.
5313
5314         * paragraph.h: move an #endif so that the change tracking stuff
5315         also works in the NO_NEXT case.
5316
5317 2003-03-04  Angus Leeming  <leeming@lyx.org>
5318
5319         * commandtags.h:
5320         * LyXAction.C: new LFUN_INSET_MODIFY.
5321
5322         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5323         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5324
5325 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * several files: ws changes only
5328
5329         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5330         (TeXEnvironment): ditto
5331         (TeXDeeper): ditto
5332
5333         * buffer.C (makeLaTeXFile): adjust
5334         (latexParagraphs): make it take ParagraphList::iterator as args
5335
5336 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * buffer.C (latexParagraphs): adjust
5339
5340         * paragraph.C (TeXOnePar): move function...
5341         (optArgInset): move function...
5342         (TeXEnvironment): move function...
5343         * paragraph_pimpl.C (TeXDeeper): move function...
5344         * paragraph_funcs.C: ...here
5345
5346         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5347
5348 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * buffer.C (readInset): remove compability code for old Figure and
5351         InsetInfo insets
5352
5353 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * buffer.C: ws changes
5356         (readInset):
5357
5358         * BufferView_pimpl.C: ditto
5359         * author.C: ditto
5360         * buffer.h: ditto
5361         * bufferlist.h: ditto
5362         * changes.h: ditto
5363         * lyxfunc.C: ditto
5364
5365 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5366
5367         * converter.[Ch]: split into itself +
5368         * graph.[Ch]
5369         * format.[Ch]
5370         * Makefile.am: += graph.[Ch] + format.[Ch]
5371         * MenuBackend.C
5372         * buffer.C
5373         * exporter.C
5374         * importer.C
5375         * lyx_main.C
5376         * lyxfunc.C
5377         * lyxrc.C: added #include "format.h"
5378
5379 2003-02-27  Angus Leeming  <leeming@lyx.org>
5380
5381         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5382           a label.
5383
5384         * factory.C (createInset): add "label" to the factory.
5385
5386         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5387           string and do no more.
5388
5389 2003-02-27  Angus Leeming  <leeming@lyx.org>
5390
5391         * commandtags.h:
5392         * LyXAction.C (init):
5393         * factory.C (createInset):
5394         * BufferView_pimpl.C (dispatch):
5395           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5396
5397         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5398
5399         * lyxfunc.C (dispatch):
5400         * text3.C (dispatch): pass name to params2string.
5401
5402 2003-02-26  Angus Leeming  <leeming@lyx.org>
5403
5404         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5405           blocks together.
5406           Rearrange the ~includes. Strip out the unnecessary ones.
5407
5408         * factory.C (createInset): reformat.
5409           create new insets for the various LFUN_XYZ_APPLY lfuns.
5410
5411 2003-02-26  John Levon  <levon@movementarian.org>
5412
5413         * lyxrow.h:
5414         * lyxrow.C: add isParStart,isParEnd helpers
5415
5416         * paragraph.h: make isInserted/DeletedText take refs
5417
5418         * paragraph_funcs.h:
5419         * paragraph_funcs.C: remove #if 0'd code
5420
5421         * lyxtext.h:
5422         * text3.C:
5423         * text2.C:
5424         * text.C: use lyxrow helpers above.
5425           Move draw and paint routines to RowPainter.
5426           Make several methods use refs not pointers.
5427           Make backgroundColor() const.
5428           Add markChangeInDraw(), isInInset().
5429           Merge changeRegionCase into changeCase.
5430           Make workWidth() shouldn't-happen code into an Assert.
5431
5432         * rowpainter.h:
5433         * rowpainter.C: new class for painting a row.
5434
5435         * vspace.h:
5436         * vspace.C: make inPixels take a ref
5437
5438 2003-02-26  Angus Leeming  <leeming@lyx.org>
5439
5440         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5441         LFUN_REF_APPLY.
5442
5443 2003-02-25  John Levon  <levon@movementarian.org>
5444
5445         * ispell.C: give the forked command a more accurate name
5446
5447 2003-02-22  John Levon  <levon@movementarian.org>
5448
5449         * toc.h:
5450         * toc.C: make TocItem store an id not a Paragraph *
5451           (bug #913)
5452
5453 2003-02-21  Angus Leeming  <leeming@lyx.org>
5454
5455         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5456           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5457           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5458           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5459           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5460           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5461
5462         * BufferView_pimpl.C (dispatch):
5463         * LyXAction.C (init):
5464         * factory.C (createInset):
5465         * lyxfunc.C (getStatus, dispatch):
5466         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5467
5468 2003-02-21  Angus Leeming  <leeming@lyx.org>
5469
5470         * BufferView_pimpl.C (MenuInsertLyXFile):
5471         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5472         * lyxfunc.C (menuNew, open, doImport):
5473           no longer pass a LyXView & to fileDlg.
5474
5475 2003-02-21  Angus Leeming  <leeming@lyx.org>
5476
5477         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5478         * LyXAction.C: change, BIBKEY to BIBITEM.
5479         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5480         Change InsetBibKey to InsetBibitem.
5481         Change BIBKEY_CODE to BIBITEM_CODE.
5482         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5483         * factory.C: replace insetbib.h with insetbibitem.h.
5484         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5485         * paragraph.C: replace insetbib.h with insetbibitem.h.
5486         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5487         Change bibkey() to bibitem().
5488         * text.C: remove insetbib.h.
5489         * text2.C: replace insetbib.h with insetbibitem.h.
5490         change bibkey() to bibitem().
5491         * text3.C: remove insetbib.h.
5492         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5493
5494 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5495
5496         * lyxrc.C (output): enclose user email in quotes (in case there are
5497         several words)
5498
5499 2003-02-18  John Levon  <levon@movementarian.org>
5500
5501         * buffer.h: add std::
5502
5503 2003-02-17  John Levon  <levon@movementarian.org>
5504
5505         * SpellBase.h:
5506         * ispell.h:
5507         * ispell.C:
5508         * pspell.h:
5509         * pspell.C: reworking. Especially in ispell, a large
5510           number of clean ups and bug fixes.
5511
5512         * lyxfunc.C: fix revert to behave sensibly
5513
5514 2003-02-17 André Pönitz <poenitz@gmx.net>
5515
5516         * LyXAction.C:
5517         * commandtags.h: new LFUN_INSERT_BIBKEY
5518
5519         * layout.h:
5520         * lyxlayout.C:
5521         * buffer.C:
5522         * factory.C:
5523         * text.C:
5524         * text2.C:
5525         * text3.C:
5526         * paragraph.[Ch]:
5527         * paragraph_func.C: remove special bibkey handling
5528
5529 2003-02-17  John Levon  <levon@movementarian.org>
5530
5531         * text.C (Delete): fix case where delete at the end of
5532           the very first paragraph would not merge the pars
5533
5534 2003-02-17  John Levon  <levon@movementarian.org>
5535
5536         * lyxrow.C: fix lastPrintablePos()
5537
5538 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5539
5540         * bufferparams.C (writeLaTeX): add a std:here
5541
5542         * buffer.C: and remove a using directive there
5543
5544 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5545
5546         * buffer.C (makeLaTeXFile): move the code that generates the
5547           preamble...
5548
5549         * bufferparams.C (writeLaTeX): ... in this new method
5550
5551         * LaTeXFeatures.C (getEncodingSet): make const
5552           (getLanguages): make const
5553
5554         * MenuBackend.C (binding): returns the binding associated to this
5555           action
5556           (add): sets the status of each item by calling getStatus. Adds
5557           some intelligence.
5558           (read): add support for OptSubMenu
5559           (expand): remove extra separator at the end of expanded menu
5560
5561 2003-02-15  John Levon  <levon@movementarian.org>
5562
5563         * BufferView.C:
5564         * BufferView_pimpl.C:
5565         * bufferlist.h:
5566         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5567           inset code that had no actual effect. Remove unneeded status
5568           code.
5569
5570 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5571
5572         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5573           in preamble
5574
5575 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5576
5577         * text.C (drawLengthMarker): also draw an arrow marker for
5578           symbolic lengths (medskip...)
5579
5580 2003-02-14  John Levon  <levon@movementarian.org>
5581
5582         * tabular.h:
5583         * tabular.C: better method names
5584
5585 2003-02-14  John Levon  <levon@movementarian.org>
5586
5587         * BufferView_pimpl.C:
5588         * bufferlist.C:
5589         * buffer.C:
5590         * converter.C:
5591         * lyx_cb.C:
5592         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5593           it's a more accurate name. Remove some pointless uses.
5594
5595 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5596
5597         * text2.C (LyXText): change order of initilizers to shut off
5598           warnings
5599
5600 2003-02-14  John Levon  <levon@movementarian.org>
5601
5602         * buffer.C: use ParIterator for getParFromID()
5603
5604         * paragraph.h:
5605         * paragraph.C:
5606         * paragraph_pimpl.h:
5607         * paragraph_pimpl.C: remove unused getParFromID()
5608
5609 2003-02-14  John Levon  <levon@movementarian.org>
5610
5611         * buffer.C: remove some very old #if 0'd parse code
5612
5613 2003-02-13  John Levon  <levon@movementarian.org>
5614
5615         * text.h:
5616         * text.C:
5617         * text2.C: move hfillExpansion(), numberOfSeparators(),
5618           rowLast(), rowLastPrintable(), numberofHfills(),
5619           numberOfLabelHfills() ...
5620
5621         * lyxrow.h:
5622         * lyxrow.C: ... to member functions here.
5623
5624         * paragraph.h:
5625         * paragraph.C:
5626         * lyxtext.h:
5627         * text.C: remove LyXText::beginningOfMainBody(), and call
5628           p->beginningOfMainBody() directly. Move the check for
5629           LABEL_MANUAL into the latter.
5630
5631         * text.h:
5632         * text.C:
5633         * text2.C:
5634         * vspace.C:
5635         * BufferView.h:
5636         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5637
5638         * text.h:
5639         * text.C:
5640         * text2.C:
5641         * text3.C:
5642         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5643           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5644
5645 2003-02-13  John Levon  <levon@movementarian.org>
5646
5647         * CutAndPaste.C: remove debug
5648
5649 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5650
5651         * paragraph.C (asString): remove two unused variables
5652
5653         * lyxtextclass.C (readTitleType):
5654           (Read):
5655           (LyXTextClass): handle new members titletype_ and titlename_
5656
5657         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5658
5659 2003-02-09  John Levon  <levon@movementarian.org>
5660
5661         * buffer.h:
5662         * buffer.C: replace hand-coded list with a map for the dep clean
5663
5664 2003-02-08  John Levon  <levon@movementarian.org>
5665
5666         * LaTeX.C: consolidate code into showRunMessage() helper
5667
5668 2003-02-08  John Levon  <levon@movementarian.org>
5669
5670         * lyxfind.C:
5671         * lyxtext.h:
5672         * text2.C:
5673         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5674           and pass the size in explicitly
5675
5676         * BufferView_pimpl.h:
5677         * BufferView_pimpl.C:
5678         * BufferView.h:
5679         * BufferView.C: add getCurrentChange()
5680
5681         * BufferView_pimpl.h:
5682         * BufferView_pimpl.C: handle change lfuns
5683
5684         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5685           for changes. Mark pasted paragraphs as new.
5686
5687         * support/lyxtime.h:
5688         * support/lyxtime.C:
5689         * DepTable.C: abstract time_t as lyx::time_type
5690
5691         * LColor.h:
5692         * LColor.C: add colours for new text, deleted text, changebars
5693
5694         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5695           package use "usenames" option.
5696
5697         * commandtags.h:
5698         * lyxfunc.C:
5699         * LyXAction.C: add change lfuns
5700
5701         * Makefile.am:
5702         * author.h:
5703         * author.C: author handling
5704
5705         * buffer.h:
5706         * buffer.C: add a per-buffer author list, with first entry as
5707           current author. Handle new .lyx tokens for change tracking. Output
5708           author list to .lyx file. Output dvipost stuff to .tex preamble.
5709           Bump lyx format to 222.
5710
5711         * bufferlist.h:
5712         * bufferlist.C: add setCurrentAuthor() to reset current author details
5713           in all buffers.
5714
5715         * bufferparams.h:
5716         * bufferparams.C: add param for tracking
5717
5718         * bufferview_funcs.C: output change info in minibuffer
5719
5720         * Makefile.am:
5721         * changes.h:
5722         * changes.C: add change-tracking structure
5723
5724         * debug.h:
5725         * debug.C: add CHANGES debug flag
5726
5727         * lyxfind.h:
5728         * lyxfind.C: add code for finding the next change piece
5729
5730         * lyxrc.h:
5731         * lyxrc.C: add user_name and user_email
5732
5733         * lyxrow.h:
5734         * lyxrow.C: add a metric for the top of the text line
5735
5736         * lyxtext.h:
5737         * text.C: implement accept/rejectChange()
5738
5739         * lyxtext.h:
5740         * text.C: paint changebars. Paint new/deleted text in the chosen
5741         colours. Strike through deleted text.
5742
5743         * paragraph.h:
5744         * paragraph.C:
5745         * paragraph_pimpl.h:
5746         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5747           in the current change to the insert functions. Rework erase to
5748           mark text as deleted, adding an eraseIntern() and a range-based
5749           erase(). Implement per-paragraph change lookup and
5750           accept/reject.
5751
5752         * paragraph_funcs.C: Fixup paste for change tracking.
5753
5754         * tabular.C: mark added row/columns as new.
5755
5756         * text.C: fix rowLast() to never return -1. Don't allow
5757           spellchecking of deleted text. Track transpose changes. Don't
5758           allow paragraph break or merge where appropriate.
5759
5760         * text2.C: leave cursor at end of selection after a cut.
5761
5762 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5763
5764         * text.C (getLengthMarkerHeight):
5765         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5766         visible on screen too.
5767
5768 2003-02-07  John Levon  <levon@movementarian.org>
5769
5770         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5771
5772 2003-02-05  Angus Leeming  <leeming@lyx.org>
5773
5774         * lyxserver.C (read_ready): revert my patch of 11 September last year
5775         as it sends PC cpu through the roof. Presumably this means that
5776         the lyxserver will no longer run on an Alpha...
5777
5778 2003-01-30  Angus Leeming  <leeming@lyx.org>
5779
5780         * factory.C (createInset): create an InsetCommandParam of type "index"
5781         and use it to 'do the right thing'.
5782
5783         * text2.C (getStringToIndex): ensure that cursor position is always
5784         reset to the reset_cursor position.
5785
5786 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5787
5788         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5789         disabled.
5790
5791 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5792
5793         * bufferview.C:
5794         * lyxcb.C:
5795         * lyxfunc.C: Output messages with identical spelling, punctuation,
5796         and spaces
5797
5798 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5799
5800         * MenuBackend.C (expandFormats): List only viewable export formats
5801         in "View" menu
5802
5803         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5804         message
5805
5806         * lyxfunc.C (getStatus): Make sure that formats other than
5807         "fax" can also be disabled
5808
5809 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5810
5811         * text3.C (dispatch): put the lfuns that insert insets in 3
5812         groups, and call doInsertInset with appropriate arguments.
5813         (doInsertInset): new function, that creates an inset and inserts
5814         it according to some boolean parameters.
5815
5816 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * buffer.C (readFile): remember to pass on 'par' when calling
5819         readFile recursively.
5820
5821 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5822
5823         * MenuBackend.C (expandFormats): add "..." to import formats.
5824
5825 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5826
5827         * paragraph.C (asString): Remove XForms RTL hacks.
5828
5829 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5830         * buffer.C: fix typo
5831
5832 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5833
5834         * Makefile.am (LIBS): delete var
5835         (lyx_LDADD): add @LIBS@ here instead.
5836
5837 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5838
5839         * Clarify the meaning of "wheel mouse jump"
5840
5841 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5842
5843         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5844         tabular in a float
5845
5846 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5847
5848         * importer.C (Loaders): do not preallocate 3 elements in the
5849         vector, since one ends up with 6 elements otherwise
5850
5851 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5852
5853         * DepTable.C (write): write the file name as last element of the
5854         .dep file (because it may contain spaces)
5855         (read): read info in the right order
5856
5857 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5858
5859         * paragraph_pimpl.C (simpleTeXBlanks):
5860         (simpleTeXSpecialChars):
5861         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5862
5863         * tabular.C (latex): add some missing case statements. Reindent.
5864
5865         * MenuBackend.C (expandToc): remove unused variable.
5866
5867 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5868
5869         * LColor.C:
5870         * LaTeX.C:
5871         * LyXAction.C:
5872         * MenuBackend.C:
5873         * buffer.C:
5874         * exporter.C:
5875         * lyxfunc.C:
5876         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5877         and the like.
5878
5879 2003-01-05  John Levon  <levon@movementarian.org>
5880
5881         * BufferView.h:
5882         * BufferView.C: add getEncoding()
5883
5884         * kbsequence.h:
5885         * kbsequence.C: do not store last keypress
5886
5887         * lyxfunc.h:
5888         * lyxfunc.C: store last keypress here instead. Pass encoding
5889           to getISOEncoded()
5890
5891 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5892
5893         * lyx_main.C (init): remove annoying error message when following
5894         symbolic links (bug #780)
5895
5896 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5897
5898         * text.C (insertChar):
5899         * lyxrc.C (getDescription): remove extra spaces
5900
5901 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5902
5903         * lyxrc.C (getDescription): remove extra spaces
5904
5905 2002-12-20  John Levon  <levon@movementarian.org>
5906
5907         * text3.C: hack fix for page up/down across tall rows
5908
5909 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5910
5911         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5912         not been invoked
5913
5914 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5915
5916         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5917         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5918         thesaurus is not compiled in
5919
5920 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5921
5922         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5923
5924 2002-12-16  Angus Leeming  <leeming@lyx.org>
5925
5926         * lyxrc.[Ch]:
5927         * lyx_main.C (init): remove override_x_deadkeys stuff.
5928
5929 2002-12-12  John Levon  <levon@movementarian.org>
5930
5931         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5932           insert. Only remove shift modifier under strict
5933           circumstances.
5934
5935 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * MenuBackend.C (expandToc): fix crash.
5938
5939 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5940
5941         * MenuBackend.C (expandToc): gettext on float names.
5942
5943 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5944
5945         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5946         implement bool empty() [bug 490]
5947
5948 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5951
5952 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * several files: ws changes
5955
5956 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * text2.C (setCounter): clean up a bit, use boost.format.
5959         (updateCounters): initialize par upon declaration.
5960
5961         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5962         if the layout exists. We do not just store the layout any more.
5963         (SwitchLayoutsBetweenClasses): use boost.format
5964
5965 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5966
5967         * converter.C (convert): if from and to files are the same, use a
5968         temporary files as intermediary
5969
5970 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5971
5972         * commandtags.h:
5973         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5974
5975 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5976
5977         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5978
5979 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * tabular.C (asciiPrintCell): use string(size, char) instead of
5982         explicit loop.
5983
5984         * sgml.C (openTag): fix order of arguments to string constructor
5985         (closeTag): ditto
5986
5987         * lyxfunc.C (dispatch): use boost.format
5988
5989         * lots of files: change "c" -> 'c'
5990
5991 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5992
5993         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5994
5995 2002-11-25  Angus Leeming  <leeming@lyx.org>
5996
5997         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5998
5999         * lyx_main.C (init): compile fix.
6000
6001 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6002
6003         * lyx_cb.C (start): boost.formatify
6004         do not include <iostream>
6005
6006         * lengthcommon.C: ws only
6007
6008         * boost-inst.C,BoostFormat.h: add more explict instantations
6009
6010 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * lots of files: handle USE_BOOST_FORMAT
6013
6014 2002-11-21  John Levon  <levon@movementarian.org>
6015
6016         * pspell.C: fix compile
6017
6018 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6019
6020         * lyxfunc.C (dispatch): use boost::format
6021         (open): ditto
6022         (doImport): ditto
6023
6024         * lyxfont.C (stateText): use boost::format
6025
6026         * lyx_main.C (LyX): use boost::format
6027         (init): ditto
6028         (queryUserLyXDir): ditto
6029         (readRcFile): ditto
6030         (parse_dbg): ditto
6031         (typedef boost::function): use the recommened syntax.
6032
6033         * importer.C (Import): use boost::format
6034
6035         * debug.C (showLevel): use boost::format
6036
6037         * converter.C (view): use boost::format
6038         (convert): ditto
6039         (move): ditto
6040         (scanLog): ditto
6041
6042         * bufferview_funcs.C (currentState): use boost::format
6043
6044         * bufferlist.C (emergencyWrite): use boost::format
6045
6046         * buffer.C (readLyXformat2): use boost::format
6047         (parseSingleLyXformat2Token): ditto
6048
6049         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6050
6051         * LaTeX.C (run): use boost::format
6052
6053         * Chktex.C (scanLogFile): use boost::format
6054
6055         * BufferView_pimpl.C (savePosition): use boost::format
6056         (restorePosition): ditto
6057         (MenuInsertLyXFile): ditto
6058
6059         * BoostFormat.h: help file for explicit instation.
6060
6061 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6062
6063         * tabular.C (latex): Support for block alignment in fixed width
6064         columns.
6065
6066 2002-11-17  John Levon  <levon@movementarian.org>
6067
6068         * BufferView_pimpl.C:
6069         * lyx_cb.C:
6070         * lyxfunc.C: split filedialog into open/save
6071
6072 2002-11-08  Juergen Vigna  <jug@sad.it>
6073
6074         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6075         by my last patch (hopefully).
6076
6077 2002-11-08  John Levon  <levon@movementarian.org>
6078
6079         * iterators.h:
6080         * iterators.C:
6081         * buffer.h:
6082         * buffer.C:
6083         * paragraph.h:
6084         * paragraph.C:
6085         * toc.h:
6086         * toc.C: ParConstIterator, and use it (from Lars)
6087
6088 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6089
6090         * lyxtextclass.[Ch]: revise and add doxygen comments
6091
6092 2002-11-07  John Levon  <levon@movementarian.org>
6093
6094         * text.C: fix progress value for spellchecker
6095
6096         * toc.C: fix navigate menu for insetwrap inside minipage
6097
6098         * paragraph_funcs.C: added FIXME for suspect code
6099
6100 2002-11-07  John Levon  <levon@movementarian.org>
6101
6102         * BufferView_pimpl.C: fix redrawing of insets
6103           on buffer switch
6104
6105 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6106
6107         * text2.C (updateCounters): fix bug 668
6108
6109 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6110
6111         * text3.C (dispatch): Do not make the buffer dirty when moving the
6112         cursor.
6113
6114 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * vc-backend.C: STRCONV
6117         (scanMaster): ditto
6118
6119         * text2.C (setCounter): STRCONV
6120
6121         * paragraph.C (asString): STRCONV
6122
6123         * lyxlength.C (asString): STRCONV
6124         (asLatexString): ditto
6125
6126         * lyxgluelength.C (asString): STRCONV
6127         (asLatexString): ditto
6128
6129         * lyxfunc.C (dispatch): STRCONV
6130         (open): ditto
6131
6132         * lyxfont.C (stateText): STRCONV
6133
6134         * importer.C (Import): STRCONV
6135
6136         * counters.C (labelItem): STRCONV
6137         (numberLabel): ditto
6138         (numberLabel): remove unused ostringstream o
6139
6140         * chset.C: STRCONV
6141         (loadFile): ditto
6142
6143         * bufferview_funcs.C (currentState): STRCONV
6144
6145         * buffer.C (readFile): STRCONV
6146         (asciiParagraph): ditto
6147         (makeLaTeXFile): ditto
6148
6149         * Spacing.C (writeEnvirBegin): STRCONV
6150
6151         * LaTeXFeatures.C (getLanguages): STRCONV
6152         (getPackages): ditto
6153         (getMacros): ditto
6154         (getBabelOptions): ditto
6155         (getTClassPreamble): ditto
6156         (getLyXSGMLEntities): ditto
6157         (getIncludedFiles): ditto
6158
6159         * LaTeX.C: STRCONV
6160         (run): ditto
6161         (scanAuxFile): ditto
6162         (deplog): ditto
6163
6164         * LString.h: add the STRCONV macros
6165
6166         * BufferView_pimpl.C (savePosition): STRCONV
6167         (restorePosition): ditto
6168         (MenuInsertLyXFile): ditto
6169
6170         * vc-backend.C (scanMaster): change from submatch[...] to
6171         submatch.str(...)
6172
6173         * funcrequest.C: include config.h
6174
6175         * factory.C: include config.h
6176
6177         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6178
6179         * box.C: include config.h
6180
6181         * LaTeX.C (scanAuxFile): change from submatch[...] to
6182         submatch.str(...)
6183         (deplog): ditto
6184
6185 2002-10-25  Angus Leeming  <leeming@lyx.org>
6186
6187         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6188
6189         * ispell.[Ch] (setError): new method.
6190         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6191         Use setError() insetead of goto END.
6192
6193         * lyx_cb.C (AutoSave): move out child process into new class
6194         AutoSaveBuffer.
6195
6196 2002-10-30  John Levon  <levon@movementarian.org>
6197
6198         * text3.C: make start appendix undoable
6199
6200 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6201
6202         * lyxlength.C (inPixels): Fix returned value.
6203
6204         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6205         environment.
6206
6207 2002-10-24  Angus Leeming  <leeming@lyx.org>
6208
6209         * lyxgluelength.h: no need to forward declare BufferParams
6210         or BufferView, so don't.
6211
6212 2002-10-21  John Levon  <levon@movementarian.org>
6213
6214         * BufferView.C: menuUndo ->undo, redo
6215
6216         * BufferView.h: document, remove dead, make some methods private
6217
6218         * paragraph_funcs.h:
6219         * paragraph_funcs.C:
6220         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6221
6222         * buffer.h:
6223         * buffer.C:
6224         * sgml.h:
6225         * sgml.C: move sgml open/close tag into sgml.C
6226
6227         * bufferview_funcs.h: unused prototype
6228
6229         * lyxfunc.h:
6230         * lyxfunc.C: remove unused
6231
6232         * lyxtext.h:
6233         * text.C: remove unused
6234
6235 2002-10-21  John Levon  <levon@movementarian.org>
6236
6237         * BufferView.h:
6238         * BufferView.C:
6239         * BufferView_pimpl.h:
6240         * BufferView_pimpl.C: fix mouse wheel handling based on
6241           patch from Darren Freeman
6242
6243 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6244
6245         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6246
6247 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6248
6249         * lyxlength.C (inPixels): Fix hanfling of negative length.
6250         Fix LyXLength::MU case.
6251
6252 2002-10-16  John Levon  <levon@movementarian.org>
6253
6254         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6255
6256 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6257
6258         * converter.C (view): add support for $$i (file name) and $$p
6259         (file path) for the viewer command. If $$i is not specified, then
6260         it is appended to the command (for compatibility with old syntax)
6261
6262 2002-10-14  Juergen Vigna  <jug@sad.it>
6263
6264         * undo_funcs.C (textHandleUndo): alter the order in which the
6265         new undopar is added to the LyXText, as we have to set first
6266         the right prev/next and then add it as otherwise the rebuild of
6267         LyXText is not correct. Also reset the cursor to the right paragraph,
6268         with this IMO we could remove the hack in "redoParagraphs()".
6269
6270 2002-10-09  Angus Leeming  <leeming@lyx.org>
6271
6272         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6273         to turn off an optimisation if a new inset is to be inserted.
6274
6275 2002-10-11 André Pönitz <poenitz@gmx.net>
6276
6277         * lyxtext.h: make some functions public to allow access
6278         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6279
6280 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6281
6282         * text3.C (dispatch): when changing layout, avoid an infinite loop
6283         [bug #652]
6284
6285 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6286
6287         * lyxrc.C (read): treat a viewer or converter command of "none" as
6288         if it were empty.
6289
6290         * MenuBackend.C (expandFormats): for an update, also allow the
6291         formats that are not viewable
6292
6293         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6294         script if it is newer than the lyxrc.defaults in user directory
6295
6296 2002-10-07 André Pönitz <poenitz@gmx.net>
6297
6298         * text.C: Vitaly Lipatov's small i18n fix
6299
6300 2002-09-25  Angus Leeming  <leeming@lyx.org>
6301
6302         * ispell.h: doxygen fix.
6303
6304 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6305
6306         * buffer.h (readFile): Add a new argument to the method, to allow
6307         reading of old-format templates.
6308
6309 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6310
6311         * toc.C (getTocList): Get TOC from InsetWrap.
6312
6313 2002-09-16  John Levon  <levon@movementarian.org>
6314
6315         * lyxfunc.C: check tabular for cut/copy too
6316
6317 2002-09-12  John Levon  <levon@movementarian.org>
6318
6319         * LyXAction.C: tidy
6320
6321         * factory.h:
6322         * factory.C: add header
6323
6324         * paragraph_funcs.h:
6325         * paragraph_funcs.C: cleanup
6326
6327 2002-09-11  John Levon  <levon@movementarian.org>
6328
6329         * PrinterParams.h: odd/even default to true
6330
6331 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6332
6333         * PrinterParams.h: update printer parameters for new xforms dialog
6334
6335 2002-09-11  Angus Leeming  <leeming@lyx.org>
6336
6337         * lyxserver.C (read_ready): re-write to make it more transparent
6338         and to make it work in coherent fashion under Tru64 Unix.
6339
6340 2002-09-11  André Pönitz <poenitz@gmx.net>
6341
6342         * commandtags.h:
6343         * LyXAction.C:
6344         * text3.C: implement LFUN_WORDSEL
6345
6346 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6349         make floatlist_ a boost::shared_ptr<FloatList>
6350
6351         * lyxtextclass.C: include FloatList.h
6352         (LyXTextClass): initialize floatlist_
6353         (TextClassTags): add TC_NOFLOAT
6354         (Read): match "nofloat" to TC_NOFLOAT and use it.
6355         (readFloat): modify call to floatlist_
6356         (floats): ditto
6357         (floats): ditto
6358
6359         * FloatList.[Ch] (FloatList): remove commented out float
6360         initialization.
6361         (erase): new function
6362
6363 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6364
6365         * MenuBackend.C (expandToc): fix crash when there is no document
6366         open
6367
6368 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6369
6370         * many files: Add insetwrap.
6371
6372 2002-09-09  John Levon  <levon@movementarian.org>
6373
6374         * text2.C: remove confusing and awkward depth wraparound
6375
6376 2002-09-09  John Levon  <levon@movementarian.org>
6377
6378         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6379
6380         * buffer.h:
6381         * buffer.C: remove getIncludeonlyList()
6382
6383         * paragraph.C:
6384         * lyxfunc.C: remove headers
6385
6386 2002-09-09  Juergen Vigna  <jug@sad.it>
6387
6388         * text.C (getColumnNearX): fix form Michael this is most
6389         probably a cut&paste bug.
6390
6391 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6394
6395         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6396         references, ws changes.
6397
6398         * text2.C (init): update counters after init
6399         (insertParagraph): no need to set counter on idividual paragraphs.
6400         (setCounter): access the counters object in the textclass object
6401         on in the buffer object.
6402         (updateCounters): ditto
6403
6404         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6405         shared_ptr<Counters> to avoid loading counters.h in all
6406         compilation units.
6407         (LyXTextClass): initialize ctrs_
6408         (TextClassTags): add TC_COUNTER, and ...
6409         (Read): use it here.
6410         (CounterTags): new tags
6411         (readCounter): new function
6412         (counters): new funtion
6413         (defaultLayoutName): return a const reference
6414
6415         * counters.C (Counters): remove contructor
6416         (newCounter): remove a couple of unneeded statements.
6417         (newCounter): simplify a bit.
6418         (numberLabel): some small formatting changes.
6419
6420         * buffer.[Ch]: remove all traces of counters, move the Counters
6421         object to the LyXTextClass.
6422
6423 2002-09-06  Alain Castera  <castera@in2p3.fr>
6424
6425         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6426         package to set the horizontal alignment on fixed width columns.
6427
6428         * lyx_sty.C:
6429         * lyx_sty.h: added tabularnewline macro def.
6430
6431         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6432
6433 2002-09-06  John Levon  <levon@movementarian.org>
6434
6435         * LyXAction.C: tooltips for sub/superscript
6436
6437         * MenuBackend.C: a bit more verbose
6438
6439         * lyxfunc.C: tiny clean
6440
6441         * undo_funcs.C: document undo_frozen
6442
6443 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * counters.C (Counters): add missing algorithm counter.
6446
6447         * text2.C (setCounter): lookup the counter with layouts latexname
6448         instead of by section number.
6449         (setCounter): use a hackish way to lookup the correct enum
6450         counter.
6451         a float name->type change
6452         reset enum couners with counter name directly instead of depth value.
6453
6454         * counters.C (Counters): remove the push_backs, change to use the
6455         float type not the float name.
6456         (labelItem): remove unused string, float name->type change
6457
6458         * counters.h: don't include vector, loose the enums and sects vectors
6459
6460 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6463         (Read): add float->TC_FLOAT to textclassTags
6464         (Read): and handle it in the switch
6465         (readFloat): new function
6466
6467         * FloatList.C (FloatList): comment out the hardcoded float
6468         definitions.
6469
6470         * lyxlayout.h: ws change.
6471
6472 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6473
6474         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6475
6476 2002-09-03  Angus Leeming  <leeming@lyx.org>
6477
6478         * BufferView_pimpl.h: qualified name is not allowed in member
6479         declaration: WorkArea & Pimpl::workarea() const;
6480
6481         * factory.C: added using std::endl directive.
6482
6483         * text3.C: added using std::find and std::vector directives.
6484
6485 2002-08-29  André Pönitz <poenitz@gmx.net>
6486
6487         * lyxtext.h:
6488         * text2.C: remove unused member number_of_rows
6489
6490         * Makefile.am:
6491         * BufferView2.C: remove file, move contents to...
6492         * BufferView.C: ... here
6493
6494         * BufferView_pimpl.C:
6495         * factory.C: move more inset creation to factory
6496
6497         * vspace.C: avoid direct usage of LyXText, ws changes
6498
6499         * BufferView.[Ch]:
6500                 don't provide direct access to WorkArea, use two simple
6501                 acessors haveSelction() and workHeight() instead
6502
6503
6504 2002-08-29  John Levon  <levon@movementarian.org>
6505
6506         * BufferView_pimpl.C (dispatch): do not continue when
6507           no buffer
6508
6509 2002-08-28  André Pönitz <poenitz@gmx.net>
6510
6511         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6512
6513         * BufferView.h:
6514         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6515
6516 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6517
6518         * buffer.C: increment LYX_FORMAT to 221
6519
6520         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6521         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6522
6523         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6524
6525         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6526
6527 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6528
6529         * factory.C (createInset): use LyXTextClass::floats
6530
6531         * MenuBackend.C (expandFloatListInsert):
6532         (expandFloatInsert):
6533         (expandToc):
6534
6535         * text2.C (setCounter):
6536
6537         * LaTeXFeatures.C (useFloat):
6538         (getFloatDefinitions):
6539
6540         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6541
6542         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6543         floatlist_, with accessor floats().
6544
6545         * FloatList.h: remove global FloatList
6546
6547 2002-08-26  André Pönitz <poenitz@gmx.net>
6548
6549         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6550
6551         * BufferView.h:
6552         * BufferView2.C:
6553         * BufferView_pimpl.C:
6554         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6555
6556 2002-08-25  John Levon  <levon@movementarian.org>
6557
6558         * LyXAction.C: fix margin note description
6559
6560 2002-08-24  John Levon  <levon@movementarian.org>
6561
6562         * buffer.C:
6563         * bufferlist.C:
6564         * bufferview_funcs.C:
6565         * lyxfont.C:
6566         * undo_funcs.C: cleanups
6567
6568         * lyxfunc.C: disable CUT/COPY when no selection
6569
6570 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6571
6572         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6573         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6574
6575         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6576         Add backward compatibility to "mono", "gray" and "no".
6577
6578 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6579
6580         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6581         (and file_format >= 200).
6582
6583 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6584
6585         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6586
6587 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6588
6589         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6590
6591 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6592
6593         * BufferView_pimpl.C:
6594         * LyXAction.C:
6595         * buffer.C:
6596         * commandtags.h:
6597         * lyxfunc.C:
6598         * paragraph.[Ch]:
6599         * text2.C:
6600         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6601         inset and code to make it  work with the paragraph code. The inset
6602         can be anywhere in the paragraph, but will only do the expected
6603         thing in LaTeX if the layout file contains the parameter line
6604                         OptionalArgs    1
6605         (or more generally, a nonzero value) for that layout.
6606
6607 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6608
6609         * paragraph.h: remove the declaration of undefined counters class
6610         function.
6611
6612 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6613
6614         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6615         Dr. Richard Hawkins.
6616
6617 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6618
6619         * paragraph_funcs.h: remove some unneeded includes
6620
6621         * text.C (backspace): pasteParagraph now in global scipe
6622
6623         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6624         (pasteSelection): ditto
6625
6626         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6627         * paragraph_funcs.C (pasteParagraph): ... here
6628
6629 2002-08-20  André Pönitz <poenitz@gmx.net>
6630
6631         * commandtags.h: new LFUNs for swapping/copying table row/colums
6632
6633         * LyXAction.C:
6634         * lyxfunc.C: support for new lfuns
6635
6636 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * tabular.C:
6639         * buffer.[Ch]: remove NO_COMPABILITY stuff
6640
6641 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6642
6643         * boost.C (throw_exception): new file, with helper function for
6644         boost compiled without exceptions.
6645
6646         * paragraph.h:
6647         * lyxlength.C:
6648         * buffer.C:
6649         * ParameterStruct.h:
6650         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6651
6652         * bufferlist.C (emergencyWriteAll): use boost bind
6653
6654         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6655
6656         * text.C: include paragraph_funcs.h
6657         (breakParagraph): breakParagraph is now in global scope
6658
6659         * paragraph_funcs.[Ch]: new files
6660
6661         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6662         global scope
6663
6664         * buffer.C: include paragraph_funcs.h
6665         (insertStringAsLines): breakParagraph is now in global scope
6666
6667         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6668         paragraph_funcs.C
6669
6670         * CutAndPaste.C: include paragraph_funcs.h
6671         (cutSelection): breakParagraphConservative is now in global scope
6672         (pasteSelection): ditto
6673
6674         * buffer.h: declare oprator== and operator!= for
6675         Buffer::inset_iterator
6676
6677         * bufferlist.C (emergencyWrite): don't use fmt(...)
6678
6679         * text3.C: add using std::endl
6680
6681         * BufferView.C (moveCursorUpdate): remove default arg
6682
6683 2002-08-20  André Pönitz <poenitz@gmx.net>
6684
6685         * buffer.[Ch]: move inline functions to .C
6686
6687         * BufferView2.C:
6688         * BufferView_pimpl.C:
6689         * text.C:
6690         * buffer.[Ch]: use improved inset_iterator
6691
6692         * buffer.C:
6693         * paragraph.[Ch]: write one paragraph at a time
6694
6695 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6696
6697         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6698         style if style is not specified.
6699
6700 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6701
6702         * text2.C (setCounter): when searching for right label for a
6703         caption, make sure to recurse to parent insets (so that a caption
6704         in a minipage in a figure float works) (bug #568)
6705
6706 2002-08-20  André Pönitz <poenitz@gmx.net>
6707
6708         * text3.C: new file for LyXText::dispatch() and helpers
6709
6710         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6711
6712         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6713
6714 2002-08-19  André Pönitz <poenitz@gmx.net>
6715
6716         * lyxtext.h:
6717         * text.C: new LyXText::dispatch()
6718
6719         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6720
6721 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6722
6723         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6724
6725         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6726         Hebrew text.
6727
6728 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6729
6730         * Makefile.am: use $(variables) instead of @substitutions@
6731
6732 2002-08-15  André Pönitz <poenitz@gmx.net>
6733
6734         * lyxfunc.C:
6735         * BufferView_pimpl.C: streamlining mathed <-> outer world
6736         interaction
6737
6738         * commandtags.h:
6739         * LyXAction.C: remove unused LFUN_MATH
6740
6741 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6744
6745 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * paragraph.C (Paragraph): reformat a bit
6748         (cutIntoMinibuffer): use builtin InsetList function instad of
6749         doing it manually.
6750         (getInset): ditto
6751
6752         * buffer.C: include boost/bind.hpp, add using std::for_each
6753         (writeFileAscii): use ParagraphList iterators
6754         (validate): use for_each for validate traversal of paragraphs
6755         (getBibkeyList): use ParagraphList iterators
6756         (resizeInsets): use for_each to resizeInsetsLyXText for all
6757         paragraphs.
6758         (getParFromID): use ParagraphList iterators
6759
6760         * BufferView2.C (lockInset): use paragraph list and iterators
6761
6762 2002-08-14  John Levon  <levon@movementarian.org>
6763
6764         * lyxserver.C: remove spurious xforms include
6765
6766 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6767
6768         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6769
6770 2002-08-13  André Pönitz <poenitz@gmx.net>
6771
6772         * LyXAction.[Ch]:
6773         * lyxfunc.C: further cleaning
6774
6775 2002-08-13  André Pönitz <poenitz@gmx.net>
6776
6777         * funcrequest.h: new constructor
6778
6779         * funcrequest.C: move stuff here from .h
6780
6781         * Makefile.am:
6782         * BufferView_pimpl.C:
6783         * LyXAction.C:
6784         * toc.C:
6785         * lyxfunc.C: subsequent changes
6786
6787         * lyxfunc.h: new view() member function
6788
6789         * lyxfunc.C: subsequent changes
6790
6791 2002-08-13  Angus Leeming  <leeming@lyx.org>
6792
6793         * BufferView2.C:
6794         * BufferView_pimpl.C:
6795         * buffer.C:
6796         * converter.C:
6797         * importer.C:
6798         * lyxfunc.C:
6799         * lyxvc.C:
6800         * toc.C:
6801         * vc-backend.C:
6802         changes due to the changed LyXView interface that now returns references
6803         to member variables not pointers.
6804
6805 2002-08-13  Angus Leeming  <leeming@lyx.org>
6806
6807         * WordLangTuple (word, lang_code): return references to strings,
6808         not strings.
6809
6810         * BufferView.h:
6811         * SpellBase.h:
6812         * lyxtext.h: forward-declare WordLangTuple.
6813
6814         * BufferView2.C:
6815         * ispell.C:
6816         * pspell.C:
6817         * text.C: #include "WordLangTuple.h".
6818
6819         * lyxtext.h:
6820         * text.C: (selectNextWordToSpellcheck): constify return type.
6821
6822 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6823
6824         * buffer.C:
6825         * buffer.h:
6826         * lyxtext.h:
6827         * paragraph.C:
6828         * paragraph_pimpl.h:
6829         * text.C:
6830         * text2.C:
6831         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6832         suggested by Angus.
6833         Made updateCounter always count from start of buffer, and removed
6834         second argument (par).
6835         Reverted floats number display to '#'. Perhaps I'll try again when the
6836         code base is sanitized a bit.
6837
6838 2002-08-12  Angus Leeming  <leeming@lyx.org>
6839
6840         * buffer.[Ch] (getLabelList): constify.
6841
6842 2002-08-07  André Pönitz <poenitz@gmx.net>
6843
6844         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6845
6846         * funcrequest.h: extension to keep mouse (x,y) position
6847
6848 2002-08-12  Juergen Vigna  <jug@sad.it>
6849
6850         * BufferView2.C (insertErrors): forbid undo when inserting error
6851         insets.
6852
6853         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6854
6855 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * ParagraphList.[Ch]: new files
6858
6859         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6860
6861         * BufferView2.C (lockInset): ParagraphList changes
6862         * toc.C: ditto
6863         * text2.C: ditto
6864         * bufferlist.C: ditto
6865         * buffer.h: ditto
6866         * buffer.C: ditto
6867
6868 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6871         unused class variable counter_,
6872
6873         * paragraph.[Ch] (getFirstCounter): delete unused function
6874
6875         * counters.C: include LAssert.h
6876         (reset): add a new function with no arg, change other version to
6877         not have def. arg and to not allow empty arg.
6878
6879         * text2.C (setCounter): remove empty arg from call to Counters::reset
6880
6881 2002-08-11  John Levon  <levon@movementarian.org>
6882
6883         * Makefile.am: add WordLangTuple.h
6884
6885 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6886
6887         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6888         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6889
6890         * insets/insettext.C: InsetList changes
6891
6892         * graphics/GraphicsSupport.C (operator()): InsetList changes
6893
6894         * toc.C (getTocList): InsetList changes
6895
6896         * paragraph_pimpl.[Ch]: InsetList changes
6897
6898         * paragraph.[Ch]: InsetList changes
6899
6900         * buffer.C (inset_iterator): InsetList changes
6901         (setParagraph): ditto
6902         * buffer.h (inset_iterator): ditto
6903         * iterators.C (operator++): ditto
6904         * iterators.h: ditto
6905
6906         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6907
6908         * InsetList.[Ch]: new files, most InsetList handling moved out of
6909         paragraph.C.
6910
6911         * BufferView2.C (removeAutoInsets): InsetList changes
6912         (lockInset): ditto
6913         (ChangeInsets): ditto
6914
6915 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * paragraph_pimpl.h (empty): new function
6918
6919         * paragraph.[Ch] (empty): new function
6920
6921         * other files: use the new Paragraph::empty function
6922
6923 2002-08-09  John Levon  <levon@movementarian.org>
6924
6925         * lyxtext.h: remove unused refresh_height
6926
6927 2002-08-09  John Levon  <levon@movementarian.org>
6928
6929         * Makefile.am:
6930         * sgml.h:
6931         * sgml.C:
6932         * buffer.C:
6933         * paragraph.h:
6934         * paragraph.C: move sgml char escaping out of paragraph
6935
6936         * paragraph.h:
6937         * paragraph.C: remove id setter
6938
6939         * buffer.C:
6940         * paragraph.C:
6941         * paragraph_pimpl.C: remove dead tex_code_break_column
6942
6943         * bufferview_funcs.C: small cleanup
6944
6945         * lyxfunc.C: remove dead proto
6946
6947         * lyxtext.h: make some stuff private. Remove some dead stuff.
6948
6949         * lyxgluelength.C: make as[LyX]String() readable
6950
6951 2002-08-08  John Levon  <levon@movementarian.org>
6952
6953         * LyXAction.h:
6954         * LyXAction.C:
6955         * MenuBackend.C:
6956         * ToolbarDefaults.C:
6957         * lyxfunc.C:
6958         * lyxrc.C:
6959         * toc.C: lyxaction cleanup
6960
6961 2002-08-08  John Levon  <levon@movementarian.org>
6962
6963         * BufferView2.C: small cleanup
6964
6965         * lyxfind.h:
6966         * lyxfind.C: move unnecessary header into the .C
6967
6968 2002-08-08  John Levon  <levon@movementarian.org>
6969
6970         * funcrequest.h: just tedious nonsense
6971
6972         * lyx_main.h:
6973         * lyx_main.C: cleanups
6974
6975         * buffer.C:
6976         * vspace.C: remove dead header lyx_main.h
6977
6978 2002-08-07  Angus Leeming  <leeming@lyx.org>
6979
6980         * Paragraph.[Ch]:
6981         * paragraph_pimpl.h:
6982         Forward declare class Counters in paragraph.h by moving the ctrs member
6983         variable into Paragraph::Pimpl.
6984         (counters): new method, returning a reference to pimpl_->ctrs.
6985
6986         * text2.C: ensuing changes.
6987
6988 2002-08-07  John Levon  <levon@movementarian.org>
6989
6990         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6991
6992         * BufferView_pimpl.C: announce X selection on double/triple
6993           click
6994
6995         * lyx_main.C: use correct bool in batch dispatch
6996
6997         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6998
6999 2002-08-07  André Pönitz <poenitz@gmx.net>
7000
7001         * funcrequest.h: new class to wrap a kb_action and its argument
7002
7003         * BufferView.[Ch]:
7004         * BufferView_pimpl[Ch]:
7005         * LaTeX.C:
7006         * LyXAction.[Ch]:
7007         * lyxfunc.[Ch]:
7008         * lyxrc.C: subsequent changes
7009
7010
7011 2002-08-07  John Levon  <levon@movementarian.org>
7012
7013         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7014           document options change.
7015
7016 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7017
7018         * counters.[Ch]
7019         * text2.C
7020         * paragraph.[Ch]
7021         * makefile.am: move counters functionality over from
7022         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7023
7024 2002-08-06  John Levon  <levon@movementarian.org>
7025
7026         * WordLangTuple.h: new file for word + language code tuple
7027
7028         * SpellBase.h:
7029         * pspell.h:
7030         * pspell.C:
7031         * ispell.h:
7032         * ispell.C:
7033         * lyxtext.h:
7034         * text.C:
7035         * text2.C:
7036         * BufferView.h:
7037         * BufferView2.C: use WordLangTuple
7038
7039         * layout.h:
7040         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7041
7042 2002-08-06  John Levon  <levon@movementarian.org>
7043
7044         * lyx_main.C: fix cmdline batch handling
7045
7046 2002-08-06  André Pönitz <poenitz@gmx.net>
7047
7048         * lyxrc.C: set default for show_banner to true
7049
7050 2002-08-06  John Levon  <levon@movementarian.org>
7051
7052         * pspell.C: fix a crash, and allow new aspell to work
7053
7054 2002-08-06  John Levon  <levon@movementarian.org>
7055
7056         * lyxfunc.C:
7057         * kbmap.C: small cleanup
7058
7059         * vspace.h:
7060         * vspace.C: add const
7061
7062 2002-08-05  John Levon  <levon@movementarian.org>
7063
7064         * LyXAction.C: back to tabular-insert
7065
7066 2002-08-04  John Levon  <levon@movementarian.org>
7067
7068         * BufferView.h:
7069         * BufferView.C: cosmetic change
7070
7071         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7072
7073         * bufferlist.C:
7074         * buffer.h:
7075         * buffer.C:
7076         * lyxcb.h:
7077         * lyxcb.C:
7078         * lyxserver.C:
7079         * lyxvc.C:
7080         * vc-backend.C:
7081         * BufferView2.C: purge all "Lyx" not "LyX" strings
7082
7083         * lyxcursor.h:
7084         * lyxcursor.C: attempt to add some documentation
7085
7086         * lyxfunc.C:
7087         * commandtags.h:
7088         * LyXAction.C:
7089         * ToolbarDefaults.C:
7090         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7091           merge with LFUN_TABULAR_INSERT
7092
7093         * Makefile.am:
7094         * SpellBase.h:
7095         * ispell.h:
7096         * ispell.C:
7097         * pspell.h:
7098         * pspell.C: split up i/pspell implementations into separate
7099           files, many cleanups
7100
7101         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7102
7103         * text2.C: some cleanup
7104
7105         * lyxfunc.C: don't check for isp_command == "none" any more, it
7106           didn't make any sense
7107
7108 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7109
7110         * counters.[Ch]
7111         * text2.C
7112         * paragraph.[Ch]
7113         * makefile.am: move counters functionality over
7114         from text2.C/paragraph.[Ch] to counters.[Ch], and
7115         make proper C++.
7116 2002-08-02  John Levon  <levon@movementarian.org>
7117
7118         * buffer.C: s/lyxconvert/lyx2lyx/
7119
7120 2002-08-02  Angus Leeming  <leeming@lyx.org>
7121
7122         * lyxlex.C: revert John's change as it breaks reading of the user
7123         preamble.
7124
7125 2002-08-02  Angus Leeming  <leeming@lyx.org>
7126
7127         * importer.C (Import):
7128         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7129         changes due to LyXView::view() now returning a boost::shared_ptr.
7130
7131 2002-08-02  John Levon  <levon@movementarian.org>
7132
7133         * lyxlex.C: small cleanup
7134
7135 2002-08-02  John Levon  <levon@movementarian.org>
7136
7137         * text2.C (status): small cleanup, no logic change
7138
7139 2002-08-01  John Levon  <levon@movementarian.org>
7140
7141         * buffer.h:
7142         * buffer.C (writeFile): don't output alerts, caller
7143           handles this
7144
7145         * bufferlist.C:
7146         * lyx_cb.C: from above
7147
7148         * lyxfunc.C: allow to open non-existent files
7149
7150 2002-07-31  John Levon  <levon@movementarian.org>
7151
7152         * lyxserver.C: don't let incidental errors get
7153           in the way (errno)
7154
7155 2002-07-30  John Levon  <levon@movementarian.org>
7156
7157         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7158
7159 2002-07-30  John Levon  <levon@movementarian.org>
7160
7161         * lyxserver.h:
7162         * lyxserver.C: remove I/O callback too
7163
7164 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7165
7166         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7167         log.
7168
7169 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7170
7171         * many files: strip,frontStrip -> trim,ltrim,rtrim
7172
7173 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7174
7175         * PrinterParams.h: remove extern containsOnly, and include
7176         support/lstrings.h instead.
7177
7178         * LaTeX.C (scanAuxFile): modify because of strip changes
7179         (deplog): ditto
7180         * buffer.C (makeLaTeXFile): ditto
7181         * bufferparams.C (writeFile): ditt
7182         * lyxfont.C (stateText): ditto
7183         * lyxserver.C (read_ready): ditto
7184         * vc-backend.C (scanMaster): ditto
7185
7186         * BufferView_pimpl.h: ws changes
7187
7188         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7189
7190 2002-07-26  André Pönitz <poenitz@gmx.net>
7191
7192         * kb_sequence.C: remove unnedred usings
7193
7194 2002-07-26  Juergen Vigna  <jug@sad.it>
7195
7196         * lyxfind.C (LyXReplace): we have to check better if the returned
7197         text is not of theLockingInset()->getLockingInset().
7198
7199 2002-07-25  Juergen Vigna  <jug@sad.it>
7200
7201         * lyxfind.C (LyXReplace): don't replace if we don't get the
7202         right LyXText.
7203
7204         * undo_funcs.C (createUndo): remove debugging code.
7205
7206 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7207
7208         * buffer.C (parseSingleLyXformat2Token): Use default placement
7209         when reading old floats.
7210
7211         * FloatList.C (FloatList): Change the default placement of figure
7212         and tables to "tbp".
7213
7214 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7215
7216         * MenuBackend.C: using std::max
7217
7218 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7219
7220         * MenuBackend.C (expandToc):
7221         (expandToc2): code moved from xforms menu frontend. It is now
7222         generic and TOCs are transparent to menu frontends.
7223
7224 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7225
7226         * toc.C (getTocList): protect against buf=0
7227
7228         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7229         Menu as first parameter. Now, this calls itself recursively to
7230         expand a whole tree (this will be useful for TOC handling)
7231         (expandFloatInsert): remove 'wide' version of floats
7232
7233         * MenuBackend.h (submenuname): returns the name of the submenu.
7234         (submenu): returns the submenu itself, provided it has been
7235         created by MenuBackend::expand
7236
7237 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7238
7239         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7240         insets which have noFontChange == true. (bug #172)
7241
7242 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7243
7244         * BufferView_pimpl.C: add connection objects and use them...
7245         (Pimpl): here.
7246
7247 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7248
7249         * MenuBackend.C (expandLastfiles):
7250         (expandDocuments):
7251         (expandFormats):
7252         (expandFloatListInsert):
7253         (expandFloatInsert):
7254         (expand): split expand in parts
7255
7256 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7257
7258         * lyx_gui.C: use lyx_gui::exit()
7259
7260 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7261
7262         * LyXAction.C: show the failing pseudo action
7263
7264 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7265
7266         * buffer.C (readFile): Run the lyxconvert script in order to read
7267         old files.
7268
7269 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7270
7271         * LyXAction.C:
7272         * commandtags.h:
7273         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7274
7275 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7276
7277         * LyXAction.C:
7278         * commandtags.h:
7279         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7280
7281 2002-07-22  Herbert Voss  <voss@lyx.org>
7282
7283         * lengthcommon.C:
7284         * lyxlength.[Ch]: add support for the vertical lengths
7285
7286 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7287
7288         * toc.[Ch]: std:: fixes
7289
7290 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7291
7292         * lyxrc.C: do not include lyx_main.h
7293
7294         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7295         for layouts
7296
7297         * lyxrc.C:
7298         * encoding.C:
7299         * bufferlist.C:
7300         * BufferView2.C: include "lyxlex.h"
7301
7302         * tabular.h:
7303         * bufferparams.h: do not #include "lyxlex.h"
7304
7305         * lyxtextclasslist.C (Add): remove method
7306         (classlist): renamed to classlist_
7307
7308         * paragraph_pimpl.C:
7309         * paragraph.C:
7310         * text2.C:
7311         * CutAndPaste.C:
7312         * bufferview_funcs.C:
7313         * bufferlist.C:
7314         * text.C:
7315         * LaTeXFeatures.C:
7316         * buffer.C:
7317         * toc.C (getTocList): use BufferParams::getLyXTextClass
7318
7319         * toc.C (getTocList): use InsetFloat::addToToc
7320
7321         * toc.[Ch]: new files, containing helper functions to handle table
7322         of contents
7323
7324         * lyxfunc.C (dispatch): no need to remove spaces around command
7325         given as a string
7326         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7327         first command of the sequence; it is not very clever, but I do not
7328         have a better idea, actually
7329
7330         * LyXAction.C (LookupFunc): make sure to remove space at the
7331         beginning and end of the command
7332
7333 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7334
7335         * MenuBackend.C (getMenubar): new method: return the menubar of
7336         this menu set
7337         (read): treat differently reading of menu and menubar (in
7338         particular, the menubar has no name now)
7339         (Menu::menubar): remove
7340
7341         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7342         saving is finished
7343
7344 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7345
7346         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7347         a bibitem inset in a RTL paragraph.
7348
7349 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7350
7351         * paragraph_pimpl.C: constify
7352
7353         * BufferView_pimpl.C:
7354         * LaTeX.C:
7355         * lyxfunc.C: fix dispatch in a nicer way
7356
7357 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7358
7359         * lyxfunc.C (dispatch):
7360         * BufferView_pimpl.C:
7361         * BufferView_pimpl.h:
7362         * BufferView.C:
7363         * BufferView.h: rename Dispatch() to dispatch()
7364
7365         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7366
7367         * lyxlayout.C (Read): honor DependsOn tag
7368
7369         * lyxlayout.[Ch] (depends_on): new method
7370
7371         * version.C.in: update lyx_docversion
7372
7373         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7374
7375         * paragraph.C (validate): remove from here...
7376         * paragraph_pimpl.C (validate): ... and move here
7377         (isTextAt): make it const
7378
7379         * buffer.C (getLists): ws cleanup
7380
7381 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7382
7383         * language.C (read): Use iso8859-1 encoding in latex_lang
7384         (this prevents LyX from crashing when using iso10646-1 encoding).
7385
7386 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7387
7388         * text2.C (toggleInset): if cursor is inside an inset, close the
7389         inset and leave cursor _after_ it
7390
7391 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7392
7393         * lyxfunc.C: move minibuffer completion handling out of here
7394
7395 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7396
7397         * BufferView_pimpl.C:
7398         * LaTeX.C: fix dispatch calls
7399
7400 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7401
7402         * text.C (drawChars): Fix Arabic text rendering.
7403
7404 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7405
7406         * LyXAction.C:
7407         * commandtags.h:
7408         * lyxfunc.C: remove message-push/pop
7409
7410         * lyxserver.C:
7411         * lyxfunc.h:
7412         * lyxfunc.C: rationalise some code by removing verboseDispatch
7413           in favour of a bool argument to dispatch()
7414
7415 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7416
7417         * lyx_main.C (init): make sure to read symlinks as absolute paths
7418
7419 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7420
7421         * lyxfunc.h:
7422         * lyxfunc.C: no need for commandshortcut to be a member
7423
7424 2002-07-15  André Pönitz <poenitz@gmx.net>
7425
7426         * converter.C: add support for $$s (scripts from lib/scripts dir)
7427         * lyx_main.C: white space
7428
7429 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7430
7431         * bufferlist.C:
7432         * lyxrc.h:
7433         * lyxrc.C: remove second exit confirmation
7434
7435 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7436
7437         * BufferView.h:
7438         * BufferView.C:
7439         * BufferView2.C:
7440         * BufferView_pimpl.h:
7441         * BufferView_pimpl.C:
7442         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7443
7444 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7445
7446         * MenuBackend.C (expand): add numeric shortcuts to document menu
7447
7448         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7449
7450 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7451
7452         * lyxfont.C (setLyXFamily):
7453         (setLyXSeries):
7454         (setLyXShape):
7455         (setLyXSize):
7456         (setLyXMisc):
7457         (lyxRead):
7458         * debug.C (value):
7459         * buffer.C (asciiParagraph): use ascii_lowercase
7460
7461 2002-07-15  Mike Fabian  <mfabian@suse.de>
7462
7463         * lyxlex_pimpl.C (search_kw):
7464         * lyxlex.C (getLongString):
7465         * converter.h (operator<):
7466         * converter.C (operator<):
7467         * buffer.C (parseSingleLyXformat2Token):
7468         (asciiParagraph):
7469         * ToolbarDefaults.C (read):
7470         * MenuBackend.C (checkShortcuts):
7471         (read):
7472         * LColor.C (getFromGUIName):
7473         (getFromLyXName): use the compare_ascii_no_case instead of
7474         compare_no_case, because in turkish, 'i' is not the lowercase
7475         version of 'I', and thus turkish locale breaks parsing of tags.
7476
7477 2002-07-16  Angus Leeming  <leeming@lyx.org>
7478
7479         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7480         now takes a Buffer const & argument.
7481
7482 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7483
7484         * BufferView.C (resize): check there's a buffer to resize
7485
7486 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7487
7488         * lyxfunc.C: remove dead code
7489
7490         * lyxserver.h:
7491         * lyxserver.C: use lyx_guii::set_read_callback
7492
7493 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7494
7495         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7496         an inset in a RTL paragraph.
7497
7498 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * lyxfunc.C: repaint after a font size update
7501
7502 2002-07-15  André Pönitz <poenitz@gmx.net>
7503
7504         * lyxlength.C: inBP should be able to return negative values
7505
7506 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7507
7508         * lyxfunc.C: use lyx_gui::update_fonts()
7509
7510 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7511
7512         * lyxfunc.C: use lyx_gui::update_color()
7513
7514 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7515
7516         * bufferlist.C:
7517         * lyxfunc.h:
7518         * lyxfunc.C:
7519         * lyxrc.h:
7520         * lyxrc.C: remove file->new asks for name option, and let
7521           buffer-new take an argument
7522
7523 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7524
7525         * BufferView_pimpl.C: remove unneeded extra repaint()
7526
7527 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7528
7529         * LyXAction.C: allow command-sequence with NoBuffer
7530
7531         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7532
7533 2002-07-10  Angus Leeming  <leeming@lyx.org>
7534
7535         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7536
7537 2002-07-09  Angus Leeming  <leeming@lyx.org>
7538
7539         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7540
7541 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * lengthcommon.h: whitespace
7544
7545         * lyxfunc.C: update scrollbar after goto paragraph
7546
7547         * lyxtext.h: factor out page break drawing, and fix it so
7548           page break/added space paints as selected nicely
7549
7550 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7551
7552         * BufferView_pimpl.C: add FIXMEs, clean up a little
7553
7554 2002-07-09  André Pönitz <poenitz@gmx.net>
7555
7556         * lyxfont.[Ch]: support for wasy symbols
7557
7558 2002-07-08  André Pönitz <poenitz@gmx.net>
7559
7560         * BufferView_pimpl.C: apply John's patch for #93.
7561
7562 2002-07-05  Angus Leeming  <leeming@lyx.org>
7563
7564         * BufferView_pimpl.C (buffer): generate previews if desired.
7565
7566         * LColor.h: add "preview" to the color enum.
7567
7568         * LColor.C (LColor): add a corresponding entry to the items array.
7569
7570         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7571         with this buffer.
7572
7573 2002-07-05  Angus Leeming  <leeming@lyx.org>
7574
7575         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7576         The body of the code is now in the method that is passed an ostream &
7577         rather than a file name.
7578         Pass an additional only_preamble parameter, useful for the forthcoming
7579         preview stuff.
7580
7581 2002-07-03  André Pönitz <poenitz@gmx.net>
7582
7583         * lyxfunc.C: simplify getStatus() a bit for math stuff
7584
7585 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7586
7587         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7588
7589 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7590
7591         * text.C (changeRegionCase): do not change case of all the
7592         document when region ends at paragraph end (bug #461)
7593
7594 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7595
7596         * paragraph.C (startTeXParParams):
7597         (endTeXParParams): add \protect when necessary
7598
7599 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7600
7601         * BufferView_pimpl.C (workAreaExpose): remove warning
7602
7603 2002-06-27  Angus Leeming  <leeming@lyx.org>
7604
7605         * Makefile.am: add lyxlayout_ptr_fwd.h.
7606
7607 2002-06-26  André Pönitz <poenitz@gmx.net>
7608
7609         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7610
7611 2002-06-25  Angus Leeming  <leeming@lyx.org>
7612
7613         * lyxfunc.C (dispatch): Comment out the call to
7614         grfx::GCache::changeDisplay. The method no longer exists now that the
7615         pixmap generation part of the graphics loader has been moved into
7616         InsetGraphics.
7617
7618 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7619
7620         * text2.C: layout as layout
7621
7622         * text.C: layout as layout
7623
7624         * tabular.C (OldFormatRead): layout as layout
7625
7626         * paragraph_pimpl.C (TeXDeeper): layout as layout
7627         (realizeFont): layout as layout
7628
7629         * paragraph.C (writeFile): layout as layout
7630         (validate): layout as layout
7631         (getFont): layout as layout
7632         (getLabelFont): layout as layout
7633         (getLayoutFont): layout as layout
7634         (breakParagraph): layout as layout
7635         (stripLeadingSpaces): layout as layout
7636         (getEndLabel): layout as layout
7637         (getMaxDepthAfter): layout as layout
7638         (applyLayout): layout as layout
7639         (TeXOnePar): layout as layout
7640         (simpleTeXOnePar): layout as layout
7641         (TeXEnvironment): layout as layout
7642         (layout): layout as layout
7643         (layout): layout as layout
7644
7645         * lyxtextclass.C (compare_name): new functor to work with
7646         shared_ptr, layout as layout
7647         (Read): layout as layout
7648         (hasLayout): layout as layout
7649         (operator): layout as layout
7650         (delete_layout): layout as layout
7651         (defaultLayout): layout as layout
7652
7653         * lyxlayout_ptr_fwd.h: new file
7654
7655         * lyxlayout.C (Read): layout as layout
7656
7657         * lyx_cb.C (MenuInsertLabel): layout as layout
7658
7659         * bufferlist.C (newFile): layout as layout
7660
7661         * buffer.C (readLyXformat2): layout as layout
7662         (parseSingleLyXformat2Token): layout as layout
7663         (insertStringAsLines): layout as layout
7664         (asciiParagraph): layout as layout
7665         (latexParagraphs): layout as layout
7666         (makeLinuxDocFile): layout as layout
7667         (simpleLinuxDocOnePar): layout as layout
7668         (makeDocBookFile): layout as layout
7669         (simpleDocBookOnePar): layout as layout
7670         (getLists): layout as layout
7671
7672         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7673
7674         * CutAndPaste.C (cutSelection): layout as layout
7675         (pasteSelection): layout as layout
7676         (SwitchLayoutsBetweenClasses): layout as layout
7677
7678         * BufferView_pimpl.C (Dispatch): layout as layout
7679         (smartQuote): layout as layout
7680
7681         * BufferView2.C (unlockInset): layout as layout
7682
7683 2002-06-24  André Pönitz <poenitz@gmx.net>
7684
7685         * lyxfunc.C: fix #487
7686
7687 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7688
7689         * lyxrc.h:
7690         * lyxrc.C:
7691         * lyxfunc.C: remove display_shortcuts, show_banner
7692
7693 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7694
7695         * Buffer_pimpl.C: oops, update on resize
7696
7697 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7698
7699         * buffer.C:
7700         * converter.C:
7701         * exporter.C:
7702         * lyxfunc.C:
7703         * BufferView.h:
7704         * BufferView.C: use repaint()
7705
7706         * BufferView_pimpl.h:
7707         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7708           as it's a clearer description. Remove superfluous
7709           redraws.
7710
7711 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7712
7713         * text.C: fix bug 488. Not ideal, but getting
7714           getWord() to work properly for the insets that
7715           matter is more difficult ...
7716
7717 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * BufferView_pimpl.C:
7720         * LyXAction.C:
7721         * commandtags.h:
7722         * lyxfunc.C: remove the six million index lyxfuncs to just
7723           one, and DTRT (bug 458)
7724
7725 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7726
7727         * BufferView.h:
7728         * BufferView.C:
7729         * BufferView_pimpl.h:
7730         * BufferView_pimpl.C: clean up resize() stuff,
7731           and unnecessary updateScreen()s
7732
7733 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7734
7735         * BufferView.h:
7736         * BufferView.C:
7737         * BufferView_pimpl.h:
7738         * BufferView_pimpl.C:
7739         * lyxfind.h:
7740         * lyxfind.C:
7741         * minibuffer.C: remove focus management of workarea,
7742           not needed. Use screen's greyOut()
7743
7744 2002-06-17  Herbert Voss  <voss@lyx.org>
7745
7746         * converter.C: (convert) do not post a message, when converting
7747         fails, let the calling function decide what to do in this case
7748
7749 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7750
7751         * lyxfunc.C: tidy up a little
7752
7753 2002-06-16    <alstrup@diku.dk>
7754
7755         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7756         Got rid of FORMS_H_LOCATION include. Now we are
7757         GUII.
7758
7759 2002-06-15  LyX Development team  <lyx@rilke>
7760
7761         * buffer.[Ch] (sgmlOpenTag):
7762         (sgmlCloseTag): Added support for avoiding pernicious mixed
7763         content. Return number of lines written.
7764
7765         (makeLinuxDocFile):
7766         (makeDocBookFile): Fixed calls to sgml*Tag.
7767         Simple white space clean.
7768
7769         (simpleDocBookOnePar): Simple white space clean.
7770
7771         * tabular.[Ch] (docBook): Renamed to docbook and got another
7772         argument to related with the pernicious mixed content.
7773
7774         (docbookRow): Fixed calls for docbook inset method.
7775
7776 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7777
7778         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7779         so it's X11 independent.
7780
7781         * kb*.[Ch]: ditto.
7782
7783         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7784
7785 2002-06-15  Lyx Development team  <lyx@electronia>
7786
7787         * intl.h: Renamed getTrans to getTransManager.
7788
7789 2002-06-14  Angus Leeming  <leeming@lyx.org>
7790
7791         * Makefile.am: nuke forgotten stl_string_fwd.h.
7792
7793 2002-06-12  Angus Leeming  <leeming@lyx.org>
7794
7795         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7796
7797 2002-06-13  Angus Leeming  <leeming@lyx.org>
7798
7799         * LaTeX.C:
7800         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7801
7802 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7803
7804         * kbmap.C (getiso): add support for cyrillic and greek
7805
7806 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7807
7808         * BufferView.h:
7809         * BufferView.C:
7810         * BufferView_pimpl.h:
7811         * BufferView_pimpl.C: move bogus scrolling logic
7812           to xforms
7813
7814 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * lyxfunc.C:
7817         * BufferView_pimpl.C: view->resize() change
7818
7819 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7820
7821         * BufferView_pimpl.C: topCursorVisible
7822           prototype change
7823
7824 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7825
7826         * Makefile.am:
7827         * lyx_gui.h:
7828         * lyx_gui.C: move to frontends/
7829
7830         * main.C:
7831         * lyx_main.h:
7832         * lyx_main.C: changes from above
7833
7834 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7835
7836         * intl.C:
7837         * intl.h:
7838         * kbmap.C:
7839         * kbsequence.C:
7840         * lyx_cb.C:
7841         * lyx_main.C: minor tidy
7842
7843 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7844
7845         * BufferView_pimpl.h:
7846         * BufferView_pimpl.C:
7847         * BufferView.h:
7848         * BufferView.C: make painter() const,
7849           remove dead code
7850
7851         * BufferView2.C: use screen() accessor
7852
7853         * lyx_main.h:
7854         * lyx_main.C: some minor cleanup
7855
7856 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7857
7858         * BufferView_pimpl.h:
7859         * BufferView_pimpl.C: remove enter/leaveView,
7860           use workHeight()
7861
7862 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7863
7864         * BufferView.h:
7865         * BufferView.C:
7866         * BufferView2.C:
7867         * BufferView_pimpl.h:
7868         * BufferView_pimpl.C: only construct screen once,
7869           rename
7870
7871         * lyxrc.C: remove pointless comment
7872
7873 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7874
7875         * BufferView.h:
7876         * BufferView.C: remove active() and belowMouse()
7877
7878         * BufferView_pimpl.h:
7879         * BufferView_pimpl.C: use workarea() not workarea_,
7880           and make it use a scoped_ptr instead
7881
7882 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7883
7884         * lyx_gui.C: add debug message on BadWindow
7885
7886 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7887
7888         * sp_spell.C: fdopen is not part of the C++ standard.
7889
7890         * paragraph.C (InsetIterator): use >= instead of ==
7891
7892 2002-06-07  Angus Leeming  <leeming@lyx.org>
7893
7894         Fixes needed to compile with Compaq cxx 6.5.
7895         * BufferView_pimpl.C:
7896         * DepTable.C:
7897         * buffer.C:
7898         * converter.C:
7899         * encoding.C:
7900         * lyx_gui.C:
7901         * lyx_main.C:
7902         * lyxtextclasslist.C:
7903         * minibuffer.C:
7904         * sp_spell.C:
7905         * tabular_funcs.C:
7906         * vc-backend.C:
7907         all c-library variables have been moved into namespace std. Wrap
7908         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7909
7910         * lyxlength.C:
7911         * tabular-old.C:
7912         * tabular.C:
7913         Add a using std::abs declaration.
7914
7915         * kbmap.h (modifier_pair):
7916         * paragraph.h (InsetTable, InsetList):
7917         * lyxfont.h (FontBits):
7918         type definition made public.
7919
7920         * bufferlist.C (emergencyWriteAll): the compiler complains that
7921         there is more than one possible lyx::class_fun template to choose from.
7922         I re-named the void specialisation as lyx::void_class_fun.
7923
7924         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7925
7926         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7927         the compiler is is unable to find tostr in write_attribute.
7928
7929 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7930
7931         * buffer.C (sgmlError): hide #warning
7932
7933 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * xtl/*: get rid of xtl, which is not in use anyway
7936
7937         * LyXAction.C (init):
7938         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7939         were unimplemented xtl experimentation
7940
7941 2002-06-04  André Pönitz <poenitz@gmx.net>
7942
7943         * lyxfunc.C: disable array operation on simple formulae
7944
7945 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7946
7947         * converter.C: constify a bit
7948
7949 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7950
7951         * lyx_gui.C: check xforms version correctly
7952
7953 2002-04-30  Herbert Voss  <voss@lyx.org>
7954
7955         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7956         "keep" option
7957
7958 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7959
7960         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7961           attempt to register it with a VCS)
7962
7963 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7964
7965         * lyx_main.C (init): honor variables LYX_DIR_13x and
7966         LYX_USERDIR_13x
7967
7968 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7969
7970         * buffer.h:
7971         * buffer.C:
7972         * lyx_main.C: fix a crash on bad command line,
7973           and give a useful exit status on error
7974
7975         * lyxfunc.C (doImport): allow -i lyx to work
7976
7977 2002-03-30  André Pönitz <poenitz@gmx.net>
7978
7979         * lyxfunc.C: mathed font changes
7980
7981 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7982
7983         * LaTeX.C:
7984         * importer.h:
7985         * importer.C:
7986         * lyx_sty.h:
7987         * lyx_sty.C:
7988         * lyxlex.C:
7989         * lyxrow.h:
7990         * lyxtext.h:
7991         * paragraph.h:
7992         * paragraph.C:
7993         * texrow.h:
7994         * texrow.C:
7995         * text.C:
7996         * trans_mgr.h: srcdocs, and some minor cleanups
7997
7998 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7999
8000         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8001         call getFont all the time)
8002
8003 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8004
8005         * switch from SigC signals to boost::signals
8006
8007 2002-05-29  André Pönitz <poenitz@gmx.net>
8008
8009         * paragraph_pimpl.C (getChar): don't call size() too often...
8010
8011 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8012
8013         * paragraph_pimpl.C (insertChar): do not try to update tables when
8014         appending (pos == size())
8015
8016         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8017         in order to reduce drastically the number of comparisons needed to
8018         parse a large document
8019
8020 2002-05-29  André Pönitz <poenitz@gmx.net>
8021
8022         * text.C:
8023         * text2.C:
8024         * lyxtextclass.C:
8025         * sp_pspell.h:
8026         * textclasslist.[Ch]:
8027         * sp_ispell.h: whitespace change
8028
8029 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8030
8031         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8032         lyxaction directly now.
8033
8034 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8035
8036         * trans.C:
8037         * lyxfont.C:
8038         * lyxvc.C: remove unused headers
8039
8040 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8041
8042         * Makefile.am:
8043         * buffer.h:
8044         * undostack.h:
8045         * undostack.C:
8046         * undo_funcs.h:
8047         * undo_funcs.C: some cleanups. Use shared_ptr
8048           and a template for the undo stacks.
8049
8050 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8051
8052         * BufferView_pimpl.h:
8053         * BufferView_pimpl.C:
8054         * kbmap.h:
8055         * kbmap.C:
8056         * kbsequence.h:
8057         * kbsequence.C:
8058         * lyxfunc.h:
8059         * lyxfunc.C:
8060         * text2.C: use key_state/mouse_state
8061
8062 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8063
8064         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8065         and LSubstring
8066
8067         * chset.C: change include order
8068         (loadFile): use boost regex and get rid of LRegex and LSubstring
8069
8070         * Makefile.am (BOOST_LIBS): new variable
8071         (lyx_LDADD): use it
8072
8073         * LaTeX.C: change include order.
8074         (scanAuxFile): use boost regex and get rid of LRegex and
8075         LSubstring
8076         (deplog): ditto
8077
8078 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8079
8080         * ColorHandler.h:
8081         * ColorHandler.C:
8082         * FontInfo.h:
8083         * FontInfo.C: moved to frontends/xforms/
8084
8085         * FontLoader.h:
8086         * FontLoader.C: moved into frontends for GUIIzation
8087
8088         * Makefile.am:
8089         * lyx_gui.C:
8090         * lyxfont.C:
8091         * lyxfunc.C: changes from above
8092
8093 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * LColor.C: remove spurious X include
8096
8097         * BufferView_pimpl.C:
8098         * Makefile.am:
8099         * font.h:
8100         * font.C:
8101         * text.C:
8102         * text2.C: move font metrics to frontends/
8103
8104 2002-05-24  Juergen Vigna  <jug@sad.it>
8105
8106         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8107         setting the undo_cursor.
8108
8109         * ParagraphParameters.h: include local includes first.
8110
8111 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8112
8113         * BufferView_pimpl.C:
8114         * BufferView_pimpl.h:
8115         * Makefile.am:
8116         * WorkArea.h:
8117         * WorkArea.C:
8118         * screen.C: move WorkArea into frontends/
8119
8120         * lyxscreen.h:
8121         * screen.C:
8122         * text.C:
8123         * BufferView.C:
8124         * BufferView2.C: move LyXScreen into frontends/
8125
8126         * lyxlookup.h:
8127         * lyxlookup.C:
8128         * lyx_gui.C: move lyxlookup into frontends/xforms/
8129
8130 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8131
8132         * BufferView2.C:
8133         * BufferView_pimpl.C:
8134         * FontLoader.C:
8135         * LyXView.h:
8136         * LyXView.C:
8137         * Makefile.am:
8138         * WorkArea.C:
8139         * XFormsView.h:
8140         * XFormsView.C:
8141         * buffer.C:
8142         * bufferlist.C:
8143         * bufferview_funcs.C:
8144         * converter.C:
8145         * importer.C:
8146         * lyx_cb.C:
8147         * lyx_gui.C:
8148         * lyx_main.C:
8149         * lyx_find.C:
8150         * lyxfunc.C:
8151         * lyxvc.C:
8152         * minibuffer.C:
8153         * text.C:
8154         * text2.C:
8155         * trans.C:
8156         * vc-backend.C: move LyX/XFormsView into frontends/
8157
8158 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8159
8160         * Makefile.am:
8161         * PainterBase.C:
8162         * PainterBase.h:
8163         * Painter.C:
8164         * Painter.h:
8165         * WorkArea.C:
8166         * WorkArea.h:
8167         * screen.C:
8168         * tabular.C:
8169         * text.C:
8170         * text2.C: move Painter to frontends/
8171
8172 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8173
8174         * buffer.C: comment out some some code that depend upon lyx_format
8175         < 220
8176
8177         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8178         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8179
8180         * buffer.h (NO_COMPABILITY): turn off compability
8181
8182         * ColorHandler.C: include scoped_array.hpp
8183
8184         * font.C: Use more specific smart_ptr header.
8185         * Painter.C: ditto
8186         * gettext.C: ditto
8187         * ShareContainer.h: ditto
8188         * lyx_main.h: ditto
8189         * kbmap.h: ditto
8190         * FontInfo.h: ditto
8191         * BufferView_pimpl.h: ditto
8192         * ColorHandler.h: ditto
8193
8194         * kbmap.C (defkey): change call to shared_ptr::reset
8195
8196 2002-05-21  Juergen Vigna  <jug@sad.it>
8197
8198         * buffer.C (insertErtContents): fix to insert ert asis if it is
8199         non empty. Skip it completely if it contains only whitespaces.
8200
8201 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8202
8203         * BufferView_pimpl.C:
8204         * BufferView2.C: clear selection on paste (bug 393)
8205
8206 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8207
8208         * DepTable.C: include ctime
8209
8210 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8211
8212         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8213
8214 2002-05-14  Juergen Vigna  <jug@sad.it>
8215
8216         * text.C (breakParagraph): fixed function to honor the keepempty
8217         layout in the right maner and also to permit the right breaking
8218         algorithm on empty or non empyt keepempty paragraphs.
8219
8220         * paragraph.C (breakParagraph): we have to check also if the par
8221         is really empty (!size()) for isempty otherwise we do the wrong
8222         paragraph break.
8223
8224 2002-05-10  Juergen Vigna  <jug@sad.it>
8225
8226         * buffer.[Ch] : The following are only changes to the ert
8227         compatibility read reading old LaTeX layout and font stuff and
8228         convert it to ERTInsets.
8229
8230         * buffer.h: added isErtInset().
8231
8232         * buffer.C (struct ErtComp): add a fromlayout bool to check
8233         if we're inside a LaTeX layout.
8234         (isErtInset): new helper function.
8235         (insertErtContents): look for other ert insets before this one
8236         and insert the contents there, so that we don't have subsequent
8237         ERT insets with nothing between them. This way we create only one
8238         inset with multiple paragraphs. Also check if we don't insert only
8239         spaces ' ' as they are ignored anyway afterwards in the .tex file
8240         so if we have only spaces we will ignore this latex part in the
8241         new file.
8242         (parseSingleLyXformat2Token \\layout): better compatibility when
8243         reading layout-latex stuff.
8244         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8245         language tag.
8246         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8247         stuff after reading the inset only get the information back from
8248         the stack.
8249
8250 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8251
8252         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8253
8254         * LaTeXFeatures.C (getBabelOptions): New method.
8255
8256 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8257
8258         * BufferView_pimpl.C (Dispatch): work around missing argument for
8259         'layout'
8260
8261 2002-05-08  Juergen Vigna  <jug@sad.it>
8262
8263         * text.C (leftMargin): handle paragraph leftindent.
8264
8265         * paragraph.C (writeFile): write the new \\leftindent tag.
8266         (validate): handle leftindent code.
8267         (TeXEnvironment): handle paragraphleftindent code again.
8268
8269         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8270
8271         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8272         for paragrap_extra indent code and new token \\leftindent.
8273         (latexParagraphs): handle the leftindent as environment.
8274
8275         * ParameterStruct.h: added leftindent support.
8276
8277         * ParagraphParameters.C (leftIndent): added support functions for
8278         the paragraph left indent.
8279
8280         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8281         more appropriate.
8282
8283 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8284
8285         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8286         inside insetERT.
8287
8288         * text.C (computeBidiTables): No bidi in insetERT.
8289
8290         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8291         in RTL documents.
8292
8293 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8294
8295         * version.C.in: pre 5
8296
8297 2002-05-02  José Matos  <jamatos@fep.up.pt>
8298         * buffer.C (makeDocBookFile): white space changes, add newline to
8299         command styles.
8300         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8301
8302         * tabular.C (docBook): fix typo.
8303
8304 2002-05-03  Juergen Vigna  <jug@sad.it>
8305
8306         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8307         change in LyXText as we can not be sure it was not freed.
8308         (drawOneRow): remove unused code.
8309
8310         * text.C (drawInset): redo the calculation of the need_break_row as
8311         it could have a row which was already freed.
8312         (draw): look at the return value of drawInset and return false if
8313         it also returned false.
8314         (paintRowText): look at the return value of draw and return false if
8315         it also returned false.
8316
8317         * lyxtext.h: added bool return type to drawInset() and draw() so that
8318         if we have a change in the row so that the rowbreak has to be redone
8319         we abort drawing as it will be called again.
8320
8321 2002-05-02  Juergen Vigna  <jug@sad.it>
8322
8323         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8324         a change in the maintext also if we're inside an inset.
8325         (Dispatch): set the cursor again after a break line and after the
8326         screen has been updated as it could be we're in a different row.
8327
8328         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8329         to set the cursor behind the pargraph with > size().
8330         (setCursor): check also for the same paragraph when checking where
8331         to put the cursor if we have a NFR inset.
8332
8333         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8334         parts of layout read further up as it still was in the wrong
8335         position.
8336
8337 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8338
8339         * screen.C (drawFromTo): change sine fullRebreak always return
8340         true.
8341
8342         * buffer.C (parseSingleLyXformat2Token): reindent some
8343
8344         * BufferView_pimpl.C (update): change since fullRebreak always
8345         return true.
8346         (Dispatch): git rid of the last hardcoded "Standard"s.
8347
8348 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8349
8350         * text2.[Ch] (fullRebreak): make it return void now that we always
8351         returned true.
8352
8353 2002-04-30  Juergen Vigna  <jug@sad.it>
8354
8355         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8356         ert compatibility check for "latex" layout.
8357
8358 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8359
8360         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8361         minipages: use col% instead of p%, and also use the current font.
8362         (makeLaTeXFile): Fix use babel condition.
8363         (parseSingleLyXformat2Token): Correct font when reading old floats.
8364
8365 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8366
8367         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8368         inserting list of floats.
8369
8370 2002-04-25  Herbert Voss  <voss@lyx.org>
8371
8372         * MenuBackend.C (expand): don't add the graphics extensions to the
8373         export menu
8374
8375 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8376
8377         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8378         non-existing layout, do not complain if it was the default layout
8379         of the original class (bug #342)
8380
8381 2002-04-24  Juergen Vigna  <jug@sad.it>
8382
8383         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8384         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8385
8386 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8387
8388         * buffer.C (getBibkeyList): If using \bibliography, return the
8389         option field with the reference itself. Enables us to provide natbib
8390         support when using \bibliography.
8391
8392 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8393
8394         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8395
8396         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8397         natbib is provided by the LaTeX class.
8398
8399 2002-04-23  Juergen Vigna  <jug@sad.it>
8400
8401         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8402         Wakeup functions.
8403
8404         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8405
8406 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8407
8408         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8409
8410         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8411         ensuremath around textordmasculine, textordfeminine and
8412         textdegree.
8413
8414 2002-04-19  Juergen Vigna  <jug@sad.it>
8415
8416         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8417         reinitializing the buffer otherwise row-dimensions may be wrong.
8418         (update): reset also the selection cursors if they do exits otherwise
8419         their x/y positions may be wrong.
8420
8421         * text2.C (cursorDown): don't enter the inset if we came from a row
8422         above and are one row over the inset.
8423
8424         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8425         really leaving an inset.
8426
8427 2002-04-18  Juergen Vigna  <jug@sad.it>
8428
8429         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8430         of the selected paragraph does not have the selected layout also if
8431         the last one had!
8432
8433         * text2.C (setLayout): fixed bug which did not change last selected
8434         paragraph.
8435
8436         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8437         changed the read and substituted \\end_float with \\end_inset!
8438
8439         * BufferView_pimpl.C (cursorPrevious):
8440         (cursorNext): fixed to make it work with rows heigher than the work
8441         area without moving the cursor only the draw of the row.
8442         (workAreaMotionNotify): fix jumping over high rows.
8443
8444 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8445
8446         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8447         Ressler.
8448
8449 2002-04-16  Juergen Vigna  <jug@sad.it>
8450
8451         * text2.C (setCursor): set also the irow().
8452         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8453         (cursorUp):
8454         (cursorDown): support for locking an inset if the x_fix value goes
8455         inside it. That way I can transverse insets too with cursor up/down.
8456
8457         * lyxrow.h: added irow helper function same as other (i) functions.
8458
8459         * BufferView_pimpl.C (cursorPrevious):
8460         (cursorNext): fixed for insets!
8461
8462 2002-04-15  Juergen Vigna  <jug@sad.it>
8463
8464         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8465         position otherwise it is wrong in some cases.
8466
8467         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8468         inside the inset before the call.
8469
8470 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8471
8472         * buffer.[Ch] (getBibkeyList): make it const.
8473
8474 2002-04-12  Juergen Vigna  <jug@sad.it>
8475
8476         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8477
8478         * text2.C (getCursorX): new helper function
8479         (setCursor): compute also ix_
8480         (setCursorFromCoordinates): set also ix.
8481
8482         * lyxcursor.h: added ix_ and helper functions.
8483
8484         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8485
8486         * buffer.C (insertStringAsLines): dont break paragraph if the this
8487         paragraph is inside an inset which does not permit it!
8488
8489         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8490         also with no chars on this paragraph.
8491         (paintRowText): only paint stuff if it's inside the workarea!
8492
8493         * paragraph.C (breakParagraph): honor keepempty flag and break the
8494         paragraph always below not above.
8495
8496         * BufferView2.C (unlockInset): update the paragraph layout on inset
8497         unlock as we changed paragraph in such a case.
8498
8499         * lyxfind.C (LyXFind): clear the former selection if not found!
8500
8501         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8502         again called in insertChar().
8503
8504         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8505         an inset which uses the whole row!
8506         (rightMargin): ditto.
8507         (insertChar): force a rebreak if we inserted an inset!
8508
8509 2002-03-28  Herbert Voss  <voss@lyx.org>
8510
8511         * lyxlength.[Ch]: add inBP() to get the right PS-point
8512         units (BigPoint). With inPixels we have rounding errors
8513
8514 2002-04-11  Juergen Vigna  <jug@sad.it>
8515
8516         * text2.C (setCursorFromCoordinates): set iy to the right value.
8517         (setCursor): add check if row->previous exists!
8518
8519         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8520         an old float_type as this was the case in the old code!
8521
8522         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8523
8524         * BufferView2.C (showLockedInsetCursor): use iy
8525         (fitLockedInsetCursor): ditto
8526
8527         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8528         locked insets as there we have the right value now.
8529
8530         * lyxcursor.C: added iy_ variable and iy functions to set to the
8531         baseline of cursor-y of the locked inset.
8532
8533         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8534         (setCursor): fixed for insets which need a full row.
8535
8536         * text.C (rowLastPrintable): don't ignore the last space when before
8537         an inset which needs a full row.
8538         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8539         as last character of a row when before a inset which needs a full row.
8540
8541 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8542
8543         * version.C.in: update date
8544
8545         * text2.C (fullRebreak): try to always return true and see what
8546         happens...
8547
8548 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8549
8550         * MenuBackend.C (expand): use Floating::listName
8551
8552         * FloatList.C (FloatList): add listName argument to the built-in
8553         floats
8554
8555         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8556         text associated with the float.
8557
8558 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8561
8562 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8563
8564         * ShareContainer.h: add a couple of missing typenames.
8565
8566 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8567
8568         * lyxrc.C (getDescription): use _() correctly rather than N_().
8569
8570 2002-03-28  Herbert Voss  <voss@lyx.org>
8571
8572         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8573         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8574
8575 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8576
8577         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8578         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8579
8580 2002-03-29  Juergen Vigna  <jug@sad.it>
8581
8582         * lyxfunc.C (dispatch): add a missing fitCursor call.
8583
8584         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8585         it was scrolled by a cursor move, so return the bool status.
8586
8587         * BufferView.C (fitCursor): return the bool flag also to the outside
8588         world as this is needed.
8589
8590         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8591
8592         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8593         call the edit() as it is not needed (and wrong) IMO.
8594         (workAreaButtonPress): set the screen_first variable before evt.
8595         unlock the inset as this may change screen_first and then we have
8596         a wrong y position for the click!
8597
8598 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * MenuBackend.C (expand): another translation that I missed
8601
8602 2002-03-28  Juergen Vigna  <jug@sad.it>
8603
8604         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8605
8606         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8607
8608 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8609
8610         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8611
8612         * MenuBackend.C (expand): fix export/view/update when there is no
8613         document open.
8614
8615 2002-03-27  Herbert Voss  <voss@lyx.org>
8616
8617         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8618         and text%
8619
8620 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * bufferview_funcs.C (currentState): only show paragraph number
8623         for is DEVEL_VERSION is set.
8624
8625         * lyxfunc.C (dispatch): put warning in INFO channel
8626
8627         * MenuBackend.C (expand): translate the name of floats
8628
8629         * FloatList.C (FloatList): mark the float names for translation
8630
8631         * converter.C (convert): use LibScriptSearch
8632
8633 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8634
8635         * MenuBackend.C (defaults): fix default menu (we might as well get
8636         rid of it...)
8637
8638 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8639
8640         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8641         directory.
8642
8643 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8644
8645         * lyxvc.C: reorder includes.
8646
8647 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8648
8649         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8650           properly
8651
8652 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8653
8654         * CutAndPaste.C: change layouts earlier on paste
8655           to avoid crashing when calling getFont()
8656
8657 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8658
8659         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8660         irritating #error.
8661
8662 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8663
8664         * WorkArea.C: remove 'Pending' debug message.
8665
8666         * most files: ws cleanup
8667
8668         * buffer.[Ch]: ws changes
8669
8670         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8671
8672 2002-03-21  Juergen Vigna  <jug@sad.it>
8673
8674         * tabular.C (SetMultiColumn): collapse also the contents of the
8675         cells and set the last border right. Added a Buffer const * param.
8676
8677 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8678
8679         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8680         linking or not.
8681
8682 2002-03-19  Juergen Vigna  <jug@sad.it>
8683
8684         * text2.C (clearSelection): reset also xsel_cache.
8685
8686         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8687         where it needs to be called (John tells us to do so too :)
8688         (selectionLost): reset sel_cache.
8689
8690         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8691
8692 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8693
8694         * text2.C (setCursorIntern): put debuging code in INSETS channel
8695
8696 2002-03-19  André Pönitz <poenitz@gmx.net>
8697
8698         * lyxfunc.C: tiny whitespace change
8699
8700 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8701
8702         * ToolbarDefaults.C (init):
8703         * LyXAction.C (init):
8704         * commandtags.h:
8705         * BufferView_pimpl.C (Dispatch):
8706         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8707
8708 2002-03-19  Allan Rae  <rae@lyx.org>
8709
8710         * exporter.C (Export): removeAutoInsets before doing anything else.
8711         While I've just introduced a dependency on BufferView this really is
8712         the best place to clean the buffer otherwise you need to cleanup in
8713         a dozen places before calling export or cleanup in a dozen functions
8714         that export calls.
8715
8716         * converter.C (runLaTeX):
8717         (scanLog): Better handling of removeAutoInsets and screen updates.
8718
8719         * lyxfunc.C (dispatch): small whitespace changes
8720
8721 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8722
8723         * WorkArea.C (C_WorkAreaEvent): return a value.
8724         (event_cb): return 1 if we handled the event, 0 otherwise.
8725
8726         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8727
8728 2002-03-18  Juergen Vigna  <jug@sad.it>
8729
8730         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8731         (GetAdditionalWidth): ditto.
8732         (RightLine): ditto.
8733         (LeftLine): ditto.
8734
8735         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8736         inset if we're there actually (probably not used right now but this
8737         is the direction to go for unifying code).
8738         (paste): disable code to clear the selection.
8739
8740         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8741         inside an InsetText and move the check further up as it is in the
8742         wrong place.
8743
8744         * text2.C (pasteSelection): set a selection over the pasted text.
8745
8746 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8747
8748         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8749         and libgraphics to build on Cygwin.
8750
8751 2002-03-15  Juergen Vigna  <jug@sad.it>
8752
8753         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8754         inserting an Inset into the paragraph. I know this is not the best
8755         fix but we already use current_view in CutAndPaste so we will remove
8756         all of it's using at the same time.
8757
8758         * buffer.C (sgmlError): deactivated function till it is rewritten in
8759         the right mode, now it can create problems.
8760
8761         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8762         before accessing it.
8763
8764 2002-03-14  Juergen Vigna  <jug@sad.it>
8765
8766         * undo_funcs.C (textHandleUndo): do the right thing when updating
8767         the inset after the undo/redo.
8768
8769         * text2.C (setCursor): just some testcode for #44 not ready yet.
8770
8771         * undo_funcs.C (textHandleUndo): set the next() and previous()
8772         pointers of the paragraph to 0 before deleting otherwise we have
8773         problems with the Paragraph::[destructor].
8774
8775         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8776         on a paragraph insertion.
8777
8778 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8779
8780         * buffer.C (asciiParagraph): use += operator for char append to
8781         string.
8782
8783         * paragraph.C (getFontSettings): compare >= not just >
8784         (highestFontInRange): ditto
8785         (setFont): ditto
8786
8787 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8788
8789         * paragraph.C: change several algorithm to be more appripriate for
8790         the problem domain. This is lookip in FontList and in the InsetList.
8791
8792 2002-03-13  André Pönitz <poenitz@gmx.net>
8793
8794         * commandtags.h:
8795         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8796
8797 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8798
8799         * commandtags.h:
8800         * LyXAction.C:
8801         * lyxfunc.C:
8802         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8803
8804 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8805
8806         * Painter.C (display): anon helper function, adjust code for this
8807         change.
8808         (pixmap): remove function.
8809
8810         * Painter.h: remove private display variable.
8811
8812         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8813
8814 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8815
8816         * WorkArea.[Ch]: remove figinset_canvas cruft.
8817
8818 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8819
8820         * lyxtextclass.C (operator): add one item cache optimization.
8821
8822         * bufferlist.h: doxy changes
8823
8824         * bufferlist.C: ws changes
8825
8826         * DepTable.[Ch] (ext_exist): place const in the right spot.
8827
8828         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8829         call resizeInsets.
8830         (workAreaExpose): call resizeInsets when the with BufferView changes.
8831         (Dispatch): adjust for protectedBlank removal
8832         (specialChar): call updateInset if the insert went ok.
8833
8834         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8835         specialChar instead.
8836
8837         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8838
8839         * BufferView.h: doxy change
8840
8841         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8842
8843         * lyxtextclass.C (operator[]): remove non-const version
8844         (defaultLayout): remove non-const version
8845
8846 2002-03-12  Juergen Vigna  <jug@sad.it>
8847
8848         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8849         did resize the LyXText too.
8850
8851         * buffer.C (readLyXformat2): set layout information on newly allocated
8852         paragraphs.
8853
8854         * tabular.C (OldFormatRead): set layout information on the paragraph.
8855
8856 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8857
8858         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8859
8860 2002-03-11  Juergen Vigna  <jug@sad.it>
8861
8862         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8863         plainly wrong.
8864         (resizeCurrentBuffer): force also the insets to resize themselfes.
8865         (moveCursorUpdate): fixed up for InsetText.
8866
8867 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8868
8869         * commandtags.h:
8870         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8871         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8872         value of Dialogs::tooltipsEnabled().
8873         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8874
8875 2002-03-08  Juergen Vigna  <jug@sad.it>
8876
8877         * BufferView_pimpl.C (updateInset): update inset inside inset also
8878         if it isn't inside theLockingInset().
8879
8880 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8881
8882         * buffer.C (asciiParagraph): redo some of the word and line length
8883         handling.
8884         (getLists): look for Caption instead of caption.
8885
8886 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8887
8888         * buffer.C (Buffer): initialize niceFile to true
8889         (makeLaTeXFile):
8890         (makeLinuxDocFile):
8891         (makeDocBookFile): make sure niceFile is true on exit
8892
8893 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8894
8895         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8896
8897 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8898
8899         * LyXSendto.C: remove.
8900         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8901         * lyx_gui.C: remove now-redundant comment.
8902         * ColorHandler.h: remove forward declaration of class WorkArea.
8903         * lyxfunc.C: remove #include "WorkArea.h".
8904
8905 2002-03-07  Juergen Vigna  <jug@sad.it>
8906
8907         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8908         got moved away with the DEPM and also set the inset_owner always
8909         right which before could have been omitted.
8910
8911 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8912
8913         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8914         wanted layout is not found.
8915
8916 2002-03-07  Juergen Vigna  <jug@sad.it>
8917
8918         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8919
8920 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8921
8922         * paragraph.C (breakParagraph): use default layout not layout of
8923         prev paragraph.
8924         (Paragraph): clear ParagraphParameters.
8925
8926 2002-03-06  Juergen Vigna  <jug@sad.it>
8927
8928         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8929         otherwise it would not be a valid lenght. Fixed a special case in
8930         the minipage compatibility read where we end the document with a
8931         minipage.
8932
8933         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8934         was set as it could be 0 for InsetTexts first entry.
8935
8936 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8937
8938         * paragraph.C (writeFile): if layout is empty write out
8939         defaultLayoutName().
8940
8941         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8942         file without named layout we set layout to defaultLayoutName().
8943
8944 2002-03-06  Juergen Vigna  <jug@sad.it>
8945
8946         * CutAndPaste.C (copySelection): set layout for new paragraph.
8947
8948         * text.C (prepareToPrint): leave ERT inset left aligned
8949         (leftMargin): don't indent paragraphs inside ERT insets
8950
8951 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8952
8953         * paragraph.C (breakParagraph): dont call clear do the work manually
8954
8955         * paragraph.[Ch] (clear): remove function
8956
8957 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * paragraph.C (Paragraph): dont call clear, the work has already
8960         been done.
8961
8962         * lyxtextclass.C (operator): assert if n is empty
8963
8964         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8965         work manually instead.
8966
8967 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8968
8969         * BufferView_pimpl.C: protect selectionLost against text == 0
8970
8971 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8972
8973         * text.C (breakParagraph): fix a setting layout to '0' problem.
8974
8975 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8976
8977         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8978         final location of file, for the included files, and graphics.
8979
8980 2002-03-05  Juergen Vigna  <jug@sad.it>
8981
8982         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8983
8984 2002-03-04  Juergen Vigna  <jug@sad.it>
8985
8986         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8987
8988         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8989         last column of multicolumn cells.
8990         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8991
8992 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8993
8994         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8995         file if it doesn't go to a temporary file.
8996
8997         * buffer.C (sgmlOpenTag):
8998         (sgmlCloseTag):  remove extra newline insertion.
8999
9000 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9001
9002         * text.C (getRowNearY): comment out debug msg
9003
9004 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9005
9006         * text2.C: first -> first_y
9007
9008         * text.C (getRowNearY): add some attemts at a possible
9009         optimization, not working.
9010
9011         * tabular.[Ch]: add BufferParams to several function so that newly
9012         created paragraph can be initialized to he default layotu for the
9013         buffers textclass.
9014
9015         * tabular-old.C (ReadOld): add buf->params to call of Init
9016
9017         * screen.C: rename text->first to text->first_y
9018
9019         * paragraph.C (breakParagraph): always set layout in the broken
9020         paragraph
9021
9022         * lyxtextclass.C (Read): remove lowercase
9023         (hasLayout): ditto
9024         (operator): ditto
9025         (delete_layout): ditto
9026
9027         * lyxtext.h: rename first -> first_y
9028
9029         * lyxlayout.C (Read): remove lowercase
9030         (name): ditto
9031         (setName): ditto
9032         (obsoleted_by): ditto
9033
9034         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9035
9036         * buffer.C (insertErtContents): add params are to InsetERT
9037         (parseSingleLyXformat2Token): add code to check if a paragraphs
9038         layout really exist.
9039         (parseSingleLyXformat2Token): add params to several inset
9040         constructors
9041         (asciiParagraph): remove lowercase, do the layout comparisons with
9042         no_case
9043
9044         * BufferView_pimpl.C (cursorNext): first -> first_y
9045         (resizeCurrentBuffer): first -> first_y
9046         (updateScrollbar): first -> first_y
9047         (scrollCB): first -> first_y
9048         (workAreaMotionNotify): first -> first_y
9049         (workAreaButtonPress): first -> first_y
9050         (checkInsetHit): first -> first_y
9051         (cursorPrevious): first -> first_y
9052         (cursorNext): first -> first_y
9053         (Dispatch): add buffer_->params to severl inset contructors
9054
9055 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * lyxlayout.C (Read): remove some debug info that I forgot.
9058
9059         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9060         clean up the code slightly.
9061         (makeLinuxDocFile): ditto
9062         (makeDocBookFile): ditto
9063
9064         * text2.C: layout as string
9065
9066         * text.C: layout as string
9067
9068         * paragraph_pimpl.C: layout as string
9069
9070         * paragraph.[Ch]: layout as string
9071
9072         * lyxtextclasslist.[Ch]: layout as string
9073
9074         * lyxtextclass.[Ch]: layout as string
9075
9076         * lyxtext.h: layout as string
9077
9078         * lyxlayout.[Ch]: layout as string
9079
9080         * lyx_cb.C: layout as string
9081
9082         * bufferview_funcs.C: layout as string
9083
9084         * bufferparams.C: layout as string
9085
9086         * buffer.C: layout as string
9087
9088         * LyXView.[Ch]: layout as string
9089
9090         * LaTeXFeatures.[Ch]: layout as string
9091
9092         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9093
9094         * BufferView_pimpl.C: change current_layout to string, remove
9095         lyx::layout_type.
9096         (Dispatch):
9097         (smartQuote):
9098         (insertInset):
9099         (workAreaButtonRelease): layout as string
9100
9101         * BufferView2.C (unlockInset): adjust
9102
9103         * vspace.C (asLatexCommand): use an explict temp variable.
9104
9105 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9106
9107         * Makefile.am: use FRONTEND_*
9108
9109 2002-03-01  Juergen Vigna  <jug@sad.it>
9110
9111         * tabular.C (SetWidthOfMulticolCell): changed to something better
9112         I hope but still work in progress.
9113         (recalculateMulticolumnsOfColumn): renamed function from
9114         recalculateMulticolCells as it is more appropriate now.
9115         (SetWidthOfCell): calculate multicols better.
9116
9117 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9118
9119         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9120
9121         * lyxfunc.C (processKeySym): print sequence also if it is
9122         `deleted' (complete)
9123
9124         * kbsequence.C (print): print sequence even if it is deleted
9125         (complete would be a better word, actually).
9126
9127         * lyxfunc.C (dispatch): print complete options after a prefix key
9128
9129         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9130
9131 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9132
9133         * text2.C (setCharFont): eliminate setCharFont code duplication.
9134
9135 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9136
9137         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9138         LFUN_TABULAR_FEATURE (bug #177)
9139
9140 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9141
9142         * Makefile.am: remove figure.h
9143
9144 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9145
9146         * Bufferview_pimpl.C:
9147         * CutAndPasteC:
9148         * LaTeX.C:
9149         * LyXSendto.C:
9150         * buffer.C:
9151         * bufferlist.C:
9152         * converter.C:
9153         * language.C:
9154         * lyxfunc.C:
9155         * lyxvc.C:
9156         * paragraph.C:
9157         * text.C:
9158         * text2.C: remove #include "lyx_gui_misc.h".
9159
9160         * LaTeX.C: added #include <cstdio>
9161
9162 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9163
9164         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9165         that the paragraph following this one can have.
9166
9167         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9168
9169         * vspace.C (asLatexCommand): fix bogus gcc warning
9170
9171         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9172
9173 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9174
9175         * text2.C (setLayout): get rid of redundant code
9176
9177 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9178
9179         * text2.C (incDepth): make sure depth cannot be increased beyond
9180         reasonable values.
9181
9182 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9183
9184         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9185         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9186
9187         * PainterBase.h (image):
9188         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9189         a LyXImage const *.
9190
9191 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * BufferView.C:
9194         * BufferView.h:
9195         * BufferView_pimpl.C:
9196         * BufferView_pimpl.h:
9197         * LaTeXFeatures.C:
9198         * LyXAction.C:
9199         * LyXView.C:
9200         * Makefile.am:
9201         * UpdateList.h:
9202         * UpdateList.C:
9203         * buffer.C:
9204         * figure.h:
9205         * figureForm.C:
9206         * figureForm.h:
9207         * figure_form.C:
9208         * figure_form.h:
9209         * lyx_cb.C:
9210         * lyx_gui.C:
9211         * lyx_gui_misc.C:
9212         * lyxfunc.C:
9213         * sp_base.h:
9214         * sp_ispell.h:
9215         * sp_pspell.h:
9216         * sp_spell.C: remove fig inset, and the crap house of
9217           cards that follows it
9218
9219 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * Makefile.am:
9222         * lyxserver.C:
9223         * os2_defines.h:
9224         * os2_errortable.h:
9225         * nt_defines.h: move .h into support/
9226
9227         * vms_defines.h: remove
9228
9229         * WorkArea.C: add space in debug output
9230
9231         * text2.C:
9232         * paragraph.C:
9233         * buffer.C: add WITH_WARNINGS
9234
9235         * vc-backend.h:
9236         * vc-backend.C:
9237         * bufferlist.C: s/retrive/retrieve/, add docs
9238
9239         * vspace.h:
9240         * vspace.C:
9241         * kbmap.h:
9242         * lyxlength.h:
9243         * lyxgluelength.h:
9244         * length_common.h:
9245         * chset.h:
9246         * chset.C: add docs
9247
9248         * lyxgui.C: add ID to X error handler
9249
9250         * lyxtestclass.c: fix typo
9251
9252 2002-02-26  Juergen Vigna  <jug@sad.it>
9253
9254         * tabular_funcs.C (write_attribute): changed so that some default
9255         attributes are not written at all.
9256         (getTokenValue): set default values before trying to read the
9257         value so we have the return value always set as default if we don't
9258         find the token we search for.
9259
9260         * tabular.C (Write): write bools as bools not as strings!
9261
9262 2002-02-22  Juergen Vigna  <jug@sad.it>
9263
9264         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9265         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9266
9267         * text.C (leftMargin): don't add an indent for paragraphs inside
9268         tabular cells (fix #208).
9269
9270 2002-02-21  José Matos  <jamatos@fep.up.pt>
9271
9272         * tabular.C (docBook): fixed support for long tables.
9273
9274 2002-02-20  Juergen Vigna  <jug@sad.it>
9275
9276         * text2.C (getFont): get the drawing font of the Inset if this
9277         paragraph is inside an inset (only important for InsetERT for now).
9278
9279         * buffer.C (insertErtContents): use new lanugage params in ERT
9280         constructor.
9281
9282         * CutAndPaste.C: commenting out seemingly uneeded code.
9283
9284 2002-02-19  Allan Rae  <rae@lyx.org>
9285
9286         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9287         Iterators might be simple to use but they also get invalidated.
9288         (removeAutoInsets): renamed saved cursor tracking variables and added
9289         some comments to clarify what everything does.
9290
9291 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9292
9293         * Chktex.C:
9294         * LaTeX.C:
9295         * LyXSendto.C:
9296         * converter.C:
9297         * lyx_cb.C:
9298         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9299         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9300
9301         * lyxfunc.C:
9302         * vc-backend.h: remove #include "support/syscall.h"
9303
9304         * LaTeX.C:
9305         * LyXSendto.C:
9306         * converter.C: rearrange #includes in Lars' approved fashion.
9307
9308         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9309         forward declare class Timeout in the header file.
9310
9311         * XFormsView.C: changes due to the above.
9312
9313         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9314         similar to LyXView.
9315
9316         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9317         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9318
9319 2002-02-18  José Matos  <jamatos@fep.up.pt>
9320
9321         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9322         insets contents.
9323
9324 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9325
9326         * a lot of small ws changes
9327         * add a lot of using std::XXX
9328         * use std construcs some places where approp.
9329         * use some exisint stuff from lyxfunctional where approp.
9330         * Make file changes to use partial linking (lets test this now...)
9331
9332 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9333
9334         * Chktex.C:
9335         * buffer.C:
9336         remove #include "support/syscontr.h" as it's redundant. Always has been.
9337
9338         * Chktex.C:
9339         * LaTeX.C:
9340         * LyXSendto.C:
9341         * converter.C:
9342         * lyx_cb.C:
9343         * vc-backend.C:
9344         change Systemcalls::System to Systemcalls::Wait and
9345         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9346         No change of functionality, just reflects the stripped down Systemcalls
9347         class.
9348
9349 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9350
9351         * debug.[Ch]: add a GRAPHICS type to the enum.
9352
9353 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9354
9355         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9356
9357         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9358         there is an inset.
9359
9360 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9361
9362         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9363         match the changes below.
9364
9365         * text2.C (toggleInset): if there is not editable inset at cursor
9366         position, try to see if cursor is _inside_ a collapsable inset
9367         and close it.
9368
9369 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9370
9371         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9372         document menu has a nice checkbox
9373
9374 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9375
9376         * lyxlength.C (asLatexString): change PW to output as percent of
9377         \textwidth.
9378
9379         * lengthcommon.C: change '%' to 't%'
9380
9381         * lyxfunc.C (dispatch): a few comments from Martin
9382
9383 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * WorkArea.h:
9386         * WorkArea.C:
9387         * BufferView_pimpl.h:
9388         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9389           the X selection.
9390
9391 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9392
9393         * vspace.C (inPixels): fix compiler warning
9394
9395 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9396
9397         * lyxfunc.C (getStatus): fix status message for disabled commands.
9398
9399 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9400
9401         * BufferView_pimpl.C: fix crash on close buffer
9402         during selection (#227)
9403
9404 2002-01-27  Herbert Voss  <voss@lyx.org>
9405
9406         * buffer.C: link old Figure to new graphic inset
9407
9408 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9409
9410         * FontLoader.C (getFontinfo): Change the latex font names in order
9411         to match the names of type1inst.
9412
9413 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9416
9417         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9418         (extchanged): ditto
9419         (ext_exist): ditto
9420         (remove_files_with_extension): ditto
9421         (remove_file): ditto
9422         (write): ditto
9423
9424         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9425         document is smaller than the work area height. Do not initialize
9426         static variables to 0.
9427
9428 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9429
9430         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9431
9432         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9433         LFUN_LAYOUT_PARAGRAPHS.
9434
9435         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9436         tabular. It is possible to provide a possible cell, which will
9437         typically be the actcell from the corresponding insettabular
9438
9439         * lyxfunc.C (getStatus): small cleanup; disable
9440         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9441         true
9442
9443 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9446
9447         * paragraph.C (startTeXParParams):
9448         (endTeXParParams): new methods. The LaTeX code to
9449         start/end paragraph formatting
9450         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9451         empty (fixes bug #200)
9452
9453         * vspace.C (inPixels): adapt to the change below
9454         (inPixels): [later] more cleanups (remove unused variables)
9455
9456         * lyxlength.C (inPixels): change to use a width and a height as
9457         parameter.
9458
9459 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9460
9461         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9462         Replaced with \paperwidth
9463
9464         * DepTable.C (insert): add std:: qualifier
9465
9466 2002-01-18  Allan Rae  <rae@lyx.org>
9467
9468         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9469         updated also?
9470
9471         * text.C (drawInset): Turned out I didn't know enough about how
9472         rebreaking worked.  This fixes most of the redraw problems.  I see
9473         an occasional cursor trail when a line is broken now and the cursor
9474         placement can seem out by a few pixels also after a rebreak.
9475
9476 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9477
9478         * buffer.C (parseSingleLyXformat2Token): update because minipage
9479         width is now a LyXLength
9480
9481         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9482
9483         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9484         math insets
9485
9486 2002-01-17  Juergen Vigna  <jug@sad.it>
9487
9488         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9489
9490         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9491         is set correctly and the inset is updated correctly.
9492
9493 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9496         the beginning of the loop.
9497
9498 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * lyxrc.C: improve help for use_scalable_fonts
9501
9502 2002-01-17  Allan Rae  <rae@lyx.org>
9503
9504         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9505
9506 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9509         make sure to set their inset_owner to the right value (bug #171)
9510
9511 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9512
9513         * DepTable.h
9514         * DepTable.C: Implement mtime checking to reduce time spent doing
9515         CRCs.
9516
9517 2002-01-16  Juergen Vigna  <jug@sad.it>
9518
9519         * tabular.C (GetAdditionalHeight): one of error fixed.
9520
9521         * lyxrc.C (output): small fix in writing use_pspell.
9522
9523 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9524
9525         * sp_base.h: #include LString.h
9526
9527 2002-01-16  Allan Rae  <rae@lyx.org>
9528
9529         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9530         Can someone check this please?
9531
9532         * text.C (drawInset): It was possible that p.row would be removed by
9533         breakAgainOneRow upsetting a few other settings.  There may be another
9534         small tweak possible by setting need_break_row = 0 when p.row has been
9535         removed but I don't know enough about the logic here.
9536
9537 2002-01-15  Allan Rae  <rae@lyx.org>
9538
9539         * text.C (insertChar): removed conditional truism.
9540
9541         * BufferView2.C (removeAutoInsets): More tweaks.
9542         cur_par_prev could be a stray pointer.  Check for trailing empty line
9543         in case last line was cur_par and only had an error inset on it.
9544
9545 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9546
9547         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9548         absolute
9549
9550         * vc-backend.C (most methods):
9551         * exporter.C (Export):
9552         * converter.C (convert):
9553         (runLaTeX):
9554         * LyXSendto.C (SendtoApplyCB):
9555         * lyxfunc.C (dispatch):
9556         (menuNew):
9557         (open):
9558         (doImport):
9559         * lyx_cb.C (AutoSave):
9560         (InsertAsciiFile):
9561         * BufferView_pimpl.C (MenuInsertLyXFile):
9562         * buffer.C (runChktex): use Buffer::filePath().
9563
9564         * buffer.h: rename filename to filename_; rename filepath to
9565         filepath_ and make it private
9566         (filePath): new method
9567
9568         * buffer.C (writeFile): use fileName()
9569         (getLatexName):
9570
9571         * lyx_main.C (init): fix starting  of LyX when the binary is a
9572         link from so,ewhere else.
9573
9574         * minibuffer.C: include <cctype> for isprint
9575
9576 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9577
9578         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9579         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9580         name clash with InsetCollapsable's width function.
9581
9582 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9583
9584         * lastfiles.C: include <iterator>
9585
9586 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9587
9588         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9589         std::count.
9590
9591         * buffer.C (makeLaTeXFile): ditto.
9592         Also make loop operation more transparent.
9593
9594 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9595
9596         * ToolbarDefaults.C: remove trailing comma closing namespace.
9597
9598         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9599
9600         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9601         as in WorkArea.
9602
9603         * trans.C (Load): comment out unused variable, allowed.
9604
9605 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9606
9607         * minibuffer.[Ch] (append_char): new method to recieve input from the
9608         drop-down completion browser. If a key was pressed, then recieve this
9609         char and append it to the existing string.
9610         (peek_event): modify the positioning data passed to the completion
9611         browser so that it can be placed above the minibuffer rather than below.
9612 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9613
9614         * LyXAction.C (init): alloe error-next for readonly documents.
9615
9616         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9617         count.
9618
9619 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * bufferlist.C (readFile): create the buffer _after_ checking that
9622         the file exists.
9623
9624         * lyxfunc.C (verboseDispatch): fix handling of arguments
9625
9626         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9627
9628         * lyxrc.C: use string::erase() instead of initializing to "".
9629
9630
9631 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9632
9633         * BufferView_pimpl.h:
9634         * BufferView_pimpl.C:
9635         * WorkArea.h:
9636         * WorkArea.C:
9637         * text2.C: tell X when we have made a selection for copying
9638
9639 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * BufferView_pimpl.C (MenuInsertLyXFile):
9642         * lyxfunc.C (menuNew):
9643         (open):
9644         (doImport): add shortcuts to directory buttons
9645
9646         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9647         open a float)
9648
9649         * lyxfunc.C (setStatusMessage):
9650         (getStatusMessage): new methods
9651         (getStatus):use setStatusMessage instead of setErrorMessage
9652         (dispatch): when function is disabled, set error message here
9653         [instead of in getStatus previously]
9654
9655         * BufferView_pimpl.C (workAreaButtonRelease): update
9656         toolbar/menubar here too.
9657
9658 2002-01-13  Allan Rae  <rae@lyx.org>
9659
9660         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9661         Now seems indestructible.  Remaining task is to audit all other
9662         code affected by deleteEmptyParagraphMechanism.  One small quirk
9663         left is that an empty document with an error in the preamble can
9664         be made to report an error but no error box appears.  I don't know
9665         where it goes.
9666         (removeAutoInsets): Improved comments.
9667
9668 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * Thesaurus.h:
9671         * Thesaurus.C: update for Aiksaurus 0.14
9672
9673 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9674
9675         * text2.C (firstParagraph): removed member function, all uses
9676         replaces with ownerParagraph
9677         (redoParagraphs): here
9678         (updateInset): here
9679         (toggleAppendix): here
9680         * BufferView2.C (insertErrors): here
9681         (setCursorFromRow): here
9682
9683 2002-01-13  Allan Rae  <rae@lyx.org>
9684
9685         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9686         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9687         There is still a way to segfault this although you may have to do this
9688         multiple times: Have an InsetERT with an unknown command in it.
9689         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9690         <down-arrow>, <Enter> again, View->DVI, BANG!
9691
9692         * text2.C (setCursor):
9693         (deleteEmptyParagraphMechanism):
9694         * lyxtext.h (setCursor):
9695         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9696         Making use of the return value may help fix other bugs.
9697
9698 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9699
9700         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9701
9702         * LyXView.C (updateMenubar): call MenuBar::update here
9703         (updateToolbar): but not here
9704         (showState): do not update toolbar/menubar
9705
9706         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9707         should need to care about that.
9708
9709         * lyxfunc.C (verboseDispatch): simplify a bit
9710         (getStatus): have a version which takes a pseudoaction, and
9711         another which requires a (kb_action,string).
9712
9713         * LyXAction.C (retrieveActionArg): make it work also when action
9714         is not a pseudo-action.
9715         (getActionName): simplify a bit
9716         (helpText):
9717
9718 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9719
9720         * lyxfunc.C (verboseDispatch): new families of methods with
9721         several ways to specify a command and a bool to indicate whether
9722         the command name and shortcut should be displayed in minibuffer
9723         (eventually, we could extend that to a finer bitmask like
9724         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9725         (dispatch): the pristine dispatch command which just, well,
9726         dispatchs! Note it still sets its result to minibuffer; I'm not
9727         sure we want that.
9728
9729         * lyxfunc.h: remove setHintMessage
9730
9731         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9732
9733 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9734
9735         * BufferView_pimpl.C (specialChar): delete new inset if we have
9736         not been able to insert it.
9737
9738         * kbmap.C: revert to using int instead of kb_action, since all we
9739         are dealing with is pseudo-actions.
9740
9741         * LyXAction.C (searchActionArg): change to return int instead of
9742         kb_action, since the result is a pseudoaction.
9743
9744 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9745
9746         * buffer.C (insertErtContents): Fix (partially) the font bug.
9747
9748 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9749
9750         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9751         as the other one is broken on my machine!
9752
9753 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9754
9755         * commandtags.h:
9756         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9757
9758 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9759
9760         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9761         reflect their actual use. Provide compatibility code for older lyxrc
9762         files.
9763
9764         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9765         FL_NORMAL_STYLE.
9766         change names of popup font variables in line with the changes to lyxrc.C
9767
9768 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9769
9770         * buffer.C (asciiParagraph): avoid outputing a word twice after
9771         an inset.
9772
9773         * lyxrc.C (getDescription): document that document_path and
9774         template_path can be empty.
9775
9776 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * LaTeXFeatures.C (getMacros):
9779         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9780
9781         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9782
9783         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9784         getPackages.
9785         (getPackages): rename feature "floats" to "float". Use an array to
9786         iterate over 'simple' features (i.e. just a \usepackage). Add
9787         handling of "amsmath" (renamed from "amsstyle").
9788
9789 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9790
9791         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9792         features list.
9793
9794 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9795
9796         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9797         FuncStaus::FuncStatus & FuncStaus::some_method().
9798
9799 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9800
9801         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9802         of the func_satus stuff. Edited and massaged in various ways by
9803         JMarc.
9804
9805         * lyxfunc.C (getStatus): use FuncStatus
9806
9807 2002-01-08  Juergen Vigna  <jug@sad.it>
9808
9809         * text.C (nextBreakPoint): use function Inset::isChar().
9810
9811         * paragraph.C (TeXOnePar): use function
9812         Inset::forceDefaultParagraphs.
9813
9814         * buffer.C (latexParagraphs): use function
9815         Inset::forceDefaultParagraphs.
9816
9817 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9818
9819         * lyx_gui.C (init): set the style of the menu popups to
9820         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9821
9822 2002-01-07  Juergen Vigna  <jug@sad.it>
9823
9824         * text.C (setHeightOfRow): small fix
9825         (prepareToPrint): don't look at alignment if we don't have the place
9826         for doing it.
9827
9828 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9829
9830         * box.C: New file. Move the Box methods and functions out of box.h,
9831         following Lars' suggestion.
9832
9833 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9834
9835         * box.h: #include "support/LOstream.h", needed for inlined function.
9836
9837         * lyxtextclass.C:
9838         * lyxtextclasslist.C: added some using std declarations.
9839
9840 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9841
9842         * box.h: make signed dimensions to allow insets wider than
9843           the screen (bug #162)
9844
9845         * BufferView_pimpl.C: add some insetHit debug
9846
9847 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9848
9849         * vc-backend.C: add FIXME
9850
9851 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9852
9853         * lyxfunc.C (getStatus): enable code for showing math font status
9854         in toolbar/menu.
9855
9856 2002-01-07  Juergen Vigna  <jug@sad.it>
9857
9858         * text.C (nextBreakPoint): removed debug output not needed anymore.
9859
9860 2002-01-06  Juergen Vigna  <jug@sad.it>
9861
9862         * text.C (nextBreakPoint): fixed up this function we had this bug
9863         since ever but now hopefully we break row better.
9864         (insertChar): we have to check if an inset is the next char as it
9865         could now happen that a large inset is causing a break.
9866
9867 2002-01-05  Juergen Vigna  <jug@sad.it>
9868
9869         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9870         if it doesn't like to be drawed.
9871
9872 2002-01-04  Juergen Vigna  <jug@sad.it>
9873
9874         * BufferView2.C (lockInset): forgot to set a cursor.
9875
9876         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9877
9878 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9879
9880         * FormMathsPanel.C:
9881         * FormMathsPanel.h
9882         * MathsSymbols.C:
9883         * form_maths_panel.C:
9884         * form_maths_panel.h:
9885         * form_maths_panel.fd: implemented sub- and super- buttons in math
9886         panel.
9887
9888         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9889         (or ^ space) to be used as in TeX (req'd by André).
9890
9891         * lyxfunc.C: Allow ^ and _ again to be used both as
9892         super/subscript (mathed) and as themselves (in text).
9893
9894 2002-01-03  Allan Rae  <rae@lyx.org>
9895
9896         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9897         "LyX" or the filename of the current buffer if it has one.  This is a
9898         modified form of John Levon's patch.
9899
9900         * XFormsView.C (setWindowTitle): also set icon title.
9901
9902         * LyXView.h (setWindowTitle): signature changed.
9903         * XFormsView.h (setWindowTitle): ditto.
9904
9905 2002-01-02  Juergen Vigna  <jug@sad.it>
9906
9907         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9908
9909 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9910
9911         * screen.C (topCursorVisible): introduce a temp var for
9912         text->cursor.row(), handle the case where this row is null. (kindo
9913         hachish)
9914
9915         * text2.C (setCursor): add a couple of asserts.
9916
9917         * paragraph.h (inset_iterator): add -> operator
9918
9919         * paragraph.[Ch] (autoDeleteInsets): remove member function
9920
9921         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9922         cursor pos correctly and handle inset deletion by itself.
9923         (insertErrors): move iterator declaration out of for expression
9924
9925         * lyxtextclass.C: add <algorithm>
9926
9927         * Makefile.am: added the new files to sources, removed layout.C
9928
9929         * layout.C: removed file
9930
9931         * layout.h: remove LYX_DUMMY_LAYOUT
9932
9933         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9934         layout.
9935
9936         * lyxlayout.[Ch]:
9937         * lyxtextclass.[Ch]:
9938         * lyxtextclasslist.[Ch]: new files
9939
9940         * include order changes to a lot of files, also changes because of
9941         the six new files.
9942
9943 2001-12-27  Juergen Vigna  <jug@sad.it>
9944
9945         * buffer.C (asciiParagraph): more fixes.
9946
9947         * tabular.C (ascii): make ascii export support export of only the
9948         data separated by a column-delimiter.
9949         (ascii): better support for ascii export.
9950
9951         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9952
9953 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9954
9955         * tabular_funcs.C: use a "using std::getline" instead of the
9956         previous fix from Angus (necessary for cxx + lyxstring)
9957
9958 2001-12-24  Juergen Vigna  <jug@sad.it>
9959
9960         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9961
9962         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9963         problems. First check a minipage also if we have some ert-contents
9964         (not only on par->size(), second set the right depth of the paragraph
9965         on the relink to the root-paragraph-list!
9966
9967         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9968         which then did not anymore update the main paragraphs on undo/redo!
9969
9970 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9973         code. Support all font-changing funcs (even those which are not in
9974         menu currently). Support for reporting font settings in
9975         mathed (disabled until Andre provides a function on mathed's side).
9976
9977         * func_status.h (toggle): small helper function to set toggle
9978         state on a flag.
9979
9980 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9981
9982         * tabular_funcs.C: getline -> std::getline
9983
9984 2001-12-21  Juergen Vigna  <jug@sad.it>
9985
9986         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9987         accessed and could be 0 (I couldn't generate this but it seems
9988         Michael could!).
9989
9990 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9991
9992         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9993         * tabular_funcs.h: here and include iosfwd
9994
9995 2001-12-20  Juergen Vigna  <jug@sad.it>
9996
9997         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9998         inside inset but undo_par was.
9999
10000 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10001
10002         * Thesaurus.C: always include <config.h> in sources.
10003
10004         * Painter.h:
10005         * lyxlookup.h:
10006         * box.h: do not include <config.h> in header files
10007
10008         * text.C (paintLastRow): remove unused variable
10009
10010         * text.C (transformChar):
10011         (insertChar):
10012         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10013
10014         * Painter.C (text):
10015         * font.C (width): rewrite to use uppercase() instead of
10016         islower/toupper.
10017
10018         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10019
10020 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * lyxfind.C: clean up of find failure position change
10023
10024 2001-12-20  Juergen Vigna  <jug@sad.it>
10025
10026         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10027
10028         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10029         (TeXRow): added to LaTeX a single tabular row.
10030         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10031         (Latex): simplified and finally good LT-h/f support.
10032         (various_functions): just small adaptions for LT-h/f support.
10033
10034         * tabular_funcs.[hC]: added and moved here all not classfunctions
10035         of LyXTabular.
10036
10037 2001-12-19  Juergen Vigna  <jug@sad.it>
10038
10039         * tabular.[Ch]: better support for longtabular options (not finished
10040         yet!)
10041
10042 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10043
10044         * text.C (paintLastRow): use the label font instead of the font of
10045         the last character to compute the size of *_BOX. This makes more
10046         sense and avoids a crash with empty paragraphs.
10047         Use Painter::rectangle to draw EMPTY_BOX.
10048
10049 2001-12-19  Juergen Vigna  <jug@sad.it>
10050
10051         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10052         the paragraphs if the replaced paragraph is not the first one!
10053         Tried to delete not used paragraphs but does not work yet so for
10054         now it's inside #ifdef's and by default off!
10055
10056 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10057
10058         * MenuBackend.C: include "lyx_main.h" instead of declaring
10059         lastfiles (actually was declared as LastFiles* instead of a
10060         scoped_ptr).
10061
10062 2001-12-17  Juergen Vigna  <jug@sad.it>
10063
10064         * tabular.C (AppendColumn): applied John's fix
10065
10066 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * BufferView.h:
10069         * BufferView.C:
10070         * BufferView_pimpl.h:
10071         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10072
10073         * Makefile.am:
10074         * box.h: new start of class for above
10075
10076         * lyxfunc.C: ignore space-only minibuffer dispatches.
10077           Show the command name when it doesn't exist
10078
10079         * minibuffer.C: don't add empty lines to the history
10080
10081         * minibuffer.C: add a space on dropdown completion
10082
10083 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10084
10085         * text.C: fix line above/below drawing in insets
10086
10087 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10088
10089         * lyxlength.C (LyXLength): Initialize private variables.
10090
10091 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10092
10093         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10094         when inserting error insets.
10095
10096 2001-12-13  Juergen Vigna  <jug@sad.it>
10097
10098         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10099         actually sometimes the before-paragraph.
10100         (setUndo): don't clear the redostack if we're not actually undoing!
10101
10102 2001-12-06  Juergen Vigna  <jug@sad.it>
10103
10104         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10105         and fixed redoing of main paragraph, so we can use it now ;)
10106
10107         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10108
10109 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10110
10111         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10112         Juergen's request
10113
10114 2001-12-13  André Pönitz <poenitz@gmx.net>
10115
10116         * undostack.[Ch]:
10117         * undo_func.C: minor cleanup
10118
10119 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10122         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10123         font in urw-fonts package which is marked as -urw-fontspecific and
10124         does not work (incidentally, changing the encoding in the
10125         fonts.dir of this package to -adobe-fontspecific fixes the
10126         problem).
10127
10128         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10129         is a crash when undoing first paragraph (Juergen, please take a
10130         look). THis does not mean the undo fix is wrong, just that it
10131         uncovers problems.
10132
10133         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10134         the (Paragraph*) version when needed instead of duplicating the
10135         code.
10136
10137         * text.C (workWidth): use Inset::parOwner to find out where the
10138         inset has been inserted. This is a huge performance gain for large
10139         documents with lots of insets. If Inset::parOwner is not set, fall
10140         back on the brute force method
10141
10142         * paragraph_pimpl.C (insertInset):
10143         * paragraph.C (Paragraph):
10144         (cutIntoMinibuffer): set parOwner of insets when
10145         inserting/removing them
10146
10147         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10148
10149 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10150
10151         * commandtags.h:
10152         * LyXAction.C:
10153         * lyx_main.C:
10154         * lyxfunc.C:
10155         * mathed/formulabase.C:
10156         * mathed/math_cursor.[Ch]:
10157         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10158
10159
10160 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10161
10162         * lyxlength.[Ch] (operator!=): new function
10163
10164 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10165
10166         * text.C (workWidth): use Inset::parOwner to find out where the
10167         inset has been inserted. This is a huge performance gain for large
10168         documents with lots of insets. If Inset::parOwner is not set, fall
10169         back on the brute force method
10170
10171         * paragraph_pimpl.C (insertInset):
10172         * paragraph.C (Paragraph):
10173         (cutIntoMinibuffer): set parOwner of insets when
10174         inserting/removing them
10175
10176         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10177
10178 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * tabular-old.C (getTokenValue):
10181         * tabular.C (getTokenValue):
10182         (write_attribute): new versions for LyXLength
10183         (everywhere): adjust the use of widths
10184
10185         * tabular.h: change the type of widths from string to LyXLength
10186
10187 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10188
10189         * paragraph.C: fixed missing line number count when exporting
10190         Environments to LaTeX file
10191
10192         * buffer.C: added informational message for checking line numbers.
10193
10194 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10195
10196         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10197         paragraph, do the 'double space' part, but not the 'empty
10198         paragraph' one.
10199
10200         * text.C (workWidth): small optimization
10201         (getLengthMarkerHeight): use minimal size for negative lengths.
10202
10203 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10204
10205         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10206
10207         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10208
10209 2001-12-11  André Pönitz <poenitz@gmx.net>
10210
10211         * FontLoader.C:
10212         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10213
10214 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * text2.C: keep selection on a setFont()
10217
10218 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * lyx_cb.C: another bv->text misuse, from insert label
10221
10222 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * kbsequence.h:
10225         * kbsequence.C: re-instate nmodifier mask
10226
10227 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10228
10229         * lyx_main.h: make lyxGUI private.
10230
10231 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * lyxfind.C: place the cursor correctly on failed search
10234
10235 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * text.C (getLengthMarkerHeight): for small heights, the arrows
10238         are not always on top/bottom of the text
10239         (drawLengthMarker): smaller arrows; take the left margin in
10240         account; draw also vfills.
10241         (paintFirstRow):
10242         (paintLastRow): remove special code for vfill and standard spaces,
10243         since everything is handled in drawLengthMarker now.
10244
10245 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10246
10247         * buffer.C (insertErtContents): try to handle font and language
10248         interaction a bit better.g
10249
10250         * ColorHandler.C (updateColor): change the hash to cover the whole
10251         LColor enum, ws cleanup
10252         (getGCLinepars): ditto
10253         (getGCLinepars): only lookup in the linecache once.
10254
10255 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * iterators.C (operator++): Make the iterator more robust
10258
10259         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10260         (John's patch)
10261         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10262
10263 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * lyxtext.h:
10266         * text.C: better added space drawing
10267
10268 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * LyXView.C:
10271         * BufferView2.C: fix layout combo update on inset unlock
10272
10273 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10274
10275         * Makefile.am: don't compile unused files
10276
10277 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * lyxfunc.C:
10280         * commandtags.h:
10281         * LyXAction.C: remove old LFUN_LAYOUTNO
10282
10283 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10284
10285         * paragraph_pimpl.h:
10286         * paragraph_pimpl.C: isTextAt() doesn't need font param
10287
10288 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * lyxlex.h:
10291         * lyxlex.C: little cleanup
10292
10293 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10294
10295         * BufferView_pimpl.C: fix insertAscii for insets
10296
10297 2001-12-05  Juergen Vigna  <jug@sad.it>
10298
10299         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10300         set the right font on the "multi" paragraph paste!
10301
10302 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10303
10304         * trans_decl.h:
10305         * trans_mgr.[Ch]:
10306         * trans.[Ch]:
10307         * lyxgluelength.C:
10308         * lyxlength.C: remove out-commented code.
10309
10310         * BufferView_pimpl:
10311         * CutAndPaste.C:
10312         * DepTable.C:
10313         * buffer.C:
10314         * chset.C:
10315         * lastfiles.C:
10316         * lyxlex.C:
10317         * lyxlex_pimpl.C:
10318         * lyxserver.C:
10319         * screen.C:
10320         * tabular-old.C:
10321         * tabular.C:
10322         * text.C:
10323         * trans_mgr.C:
10324         * vc-backend.C: change "while(" to "while ("
10325
10326         * lyxlength.[Ch]: add zero function to check if length is zero or
10327         not
10328         * lyxgluelength.C: use it
10329
10330 2001-12-05  Allan Rae  <rae@lyx.org>
10331
10332         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10333         Works for 2.95.3, from what I understand of Garst's reports this should
10334         work for other g++ versions.  We're screwed if the abs(int) definition
10335         changed between bugfix releases of gcc.
10336
10337 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * text.C: fix chapter label offset !
10340
10341 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10342
10343         * lyxtext.h:
10344         * text.C: fix hfill at end of line, clean up
10345
10346 2001-12-04  Juergen Vigna  <jug@sad.it>
10347
10348         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10349         that we force an update of the inset and it's owners if neccessary.
10350
10351 2001-12-03  Juergen Vigna  <jug@sad.it>
10352
10353         * text.C (rowLast): simplified code
10354
10355 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10356
10357         * lyxfunc.C: fix show options on timeout
10358
10359 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10360
10361         * screen.C (topCursorVisible): scroll half a page when the cursor
10362         reached top of bottom of screen
10363
10364 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * minibuffer.C: deactivate on loss of focus
10367
10368 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10369
10370         * vspace.[Ch] (operator!=): add operator.
10371
10372 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * BufferView_pimpl.C: refuse to open an inset when
10375         there's a selection.
10376
10377 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * BufferView_pimpl.C: allow to click on RHS of full row insets
10380
10381 2001-11-30  Juergen Vigna  <jug@sad.it>
10382
10383         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10384         insets for undo reasons.
10385
10386 2001-11-28  André Pönitz <poenitz@gmx.net>
10387
10388         * vspace.[Ch]: cosmetical changes
10389
10390 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * LyXAction.h:
10393         * LyXAction.C:
10394         * lyxfunc.h:
10395         * lyxfunc.C:
10396         * kbmap.h:
10397         * kbmap.C:
10398         * lyxrc.C:
10399         * kbsequence.h:
10400         * kbsequence.C: part re-write of old kb code
10401
10402         * Painter.C:
10403         * WorkArea.C: remove Lgb_bug_find_hack
10404
10405 2001-11-30  José Matos <jamatos@fep.up.pt>
10406
10407         * buffer.C (makeDocBookFile): add a comment to point a hack.
10408         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10409         Fixed a double write of labels.
10410
10411 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10412
10413         * LaTeX.C:
10414         * LaTeX.h Fixed bug in LaTeX class where it would not
10415         re-run latex if no depfiles were changed, but the .dvi was removed.
10416
10417 2001-11-28  André Pönitz <poenitz@gmx.net>
10418
10419         * all the files from the change on 2001/11/26:
10420         use lyx::layout_type instead of LyXTextClass::size_type
10421         use lyx::textclass_type instead of LyXTextClassList::size_type
10422
10423 2001-11-29  Juergen Vigna  <jug@sad.it>
10424
10425         * text.C: added support for paragraph::isFreeSpacing()
10426
10427         * buffer.C: same as above
10428
10429         * paragraph.h: inserted isFreeSpacing() function to enable
10430         FreeSpacing inside InsetERT.
10431
10432         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10433         of the paragraph's in the cut/copy buffer to 0!
10434
10435         * text2.C (removeRow): remove the assert as it can!
10436
10437         * lyxtext.h: added helper function firstRow returning firstrow and
10438         made firstrow private again.
10439
10440         * BufferView2.C (lockInset): don't relock if we're already locked!
10441
10442         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10443         the only paragraph.
10444         (removeRow): added Assert::(firstrow)
10445
10446         * debug.C: forgot to add INSETTEXT here.
10447
10448 2001-11-28  Juergen Vigna  <jug@sad.it>
10449
10450         * sp_spell.C (initialize): changed error text to more general
10451         spellchecker command use (not only ispell!)
10452
10453         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10454
10455         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10456
10457 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * vspace.C: initialise lyxgluelength on failure
10460
10461 2001-11-28  Allan Rae  <rae@lyx.org>
10462
10463         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10464         declaration & definition that looks like a function declaration.
10465
10466 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10467
10468         * BufferView2.C (copy):
10469         (copyEnvironment): do not clear the selection when doing a copy.
10470
10471         * text.C (paintFirstRow): compilation fix
10472
10473 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10474
10475         * tabular.C (Latex): correct line count when writing latex.
10476
10477 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * paragraph_pimpl.h:
10480         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10481           bug a bit
10482
10483 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * text.C:
10486         * LColor.h:
10487         * LColor.C: change vfillline->added_space
10488
10489         * text.C: add markers and text for added space
10490
10491         * vspace.C: fix comment
10492
10493 2001-11-28  André Pönitz <poenitz@gmx.net>
10494
10495         * paragraph.C: whitespace changes
10496         * all the other files from the change on 2001/11/26:
10497         change *::pos_type into lyx::pos_type
10498
10499 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10500
10501         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10502         language of the document when inserting error insets.
10503
10504 2001-11-26  André Pönitz <poenitz@gmx.net>
10505
10506         * BufferView_pimpl.[Ch]:
10507         *       CutAndPaste.C:
10508         * buffer.[Ch]:
10509         * lyxcursor.[Ch]:
10510         * lyxfind.C:
10511         * lyxfunc.C:
10512         * lyxrow.[Ch]:
10513         * paragraph.[Ch]:
10514         * paragraph_pimpl.[Ch]:
10515         * sp_spell.C:
10516         * text.C:
10517         * text2.C: reduce header dependencies, introduce type for positions
10518
10519 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10520
10521         * <various>: change to use Alert.h
10522
10523 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10526         when encountering an unknown token.
10527         (readLyXformat2): Show an error message if there were unknown tokens.
10528
10529 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * BufferView2.C:
10532         * BufferView_pimpl.C:
10533         * buffer.C:
10534         * paragraph.h:
10535         * text.C:
10536         * text2.C: use par->isInset()
10537
10538 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * paragraph_pimpl.h:
10541         * paragraph_pimpl.C: cleanup
10542
10543 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10544
10545         * text2.C (removeRow):
10546         * text.C (setHeightOfRow): remove useless (and costly) call to
10547         getRow.
10548
10549 2001-11-20  Allan Rae  <rae@lyx.org>
10550
10551         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10552         Now need Inset*::checkInsertChar() to return true for appropriate
10553         cases so that the characters in the minibuffer will actually be
10554         inserted.
10555
10556 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * text.C: change the order of the includes.
10559         (workWidth): initialize it at once.
10560         (workWidth): make maxw unsigned
10561         (setHeightOfRow): remove unused variable (inset)
10562         (selectSelectedWord): remove unused variable (inset)
10563         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10564
10565 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10566
10567         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10568         server is not running.
10569         (openConnection):
10570         (closeConnection): add debug info when server is disabled.
10571
10572         * ColorHandler.C (getGCForeground): send debug message to GUI
10573         channel.
10574
10575         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10576
10577         * kbmap.C (bind): modify because return conventions of
10578         kb_sequence::parse have changed.
10579
10580         * kbsequence.C (parse): only ignore spaces and not any stupid
10581         control character. This avoids tests like s[i] <= ' ', which are
10582         guaranteed to fail with 8bit characters and signed chars.
10583         Change return code to string::npos when there have been no error
10584         (0 was a bad idea when error is at first character)
10585
10586 2001-11-14  José Matos  <jamatos@fep.up.pt>
10587
10588         * buffer.h:
10589         * buffer.C (simpleDocBookOnePar): removed unused argument.
10590
10591 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10592
10593         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10594         insets which are part of a word. Paragraph::isLetter takes care of
10595         that now. Use Paragraph::isInset to identify insets.
10596         (selectSelectedWord): do not test for hyphenation break.
10597
10598         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10599         that protected spaces are considered as spaces.
10600
10601         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10602         Inset::isLetter.
10603
10604 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * lyxserver.h:
10607         * lyxserver.C: fix it. and small cleanup.
10608
10609 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * BufferView_pimpl.C: use inline helpers
10612
10613         * LaTeXFeatures.h:
10614         * LaTeXFeatures.C: fix typos
10615
10616         * Spacing.h:
10617         * Spacing.C: move spacing_string into class
10618
10619         * ToolbarDefaults.C: move stuff into namespace anon
10620
10621         * layout.h: update enum
10622
10623         * lyxfunc.C: use better debug
10624
10625         * minibuffer.h: fix typo
10626
10627         * debug.h:
10628         * debug.C:
10629         * WorkArea.C: add and use Debug::WORKAREA
10630
10631         * lyxtext.h:
10632         * text.C:
10633         * text2.C: code re-organisation, inline helpers
10634
10635 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10636
10637         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10638         std::vector.empty().
10639
10640 2001-11-09  Allan Rae  <rae@lyx.org>
10641
10642         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10643         '\n's after tables.  Tabular and ERT inset work now makes this no
10644         longer necessary.
10645
10646 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * minibuffer.h:
10649         * minibuffer.C: fix crash, improve drop-down completion
10650
10651 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10652
10653         * lyxserver.h:
10654         * lyxserver.C: invalidate fd's when doing endPipe()
10655
10656 2001-11-08  José Matos  <jamatos@fep.up.pt>
10657
10658         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10659         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10660
10661         * paragraph.h:
10662         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10663
10664 2001-11-07  José Matos  <jamatos@fep.up.pt>
10665
10666         * buffer.h:
10667         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10668         const qualifier.
10669
10670         * buffer.C (sgmlOpenTag):
10671         * buffer.C (sgmlCloseTag): removed debug info.
10672
10673         * buffer.h (sgmlOpenTag):
10674         * buffer.h (sgmlCloseTag): made public.
10675
10676 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10677
10678         * buffer.C (saveParamsAsDefaults):
10679         * lyx_cb.C (MenuLayoutSave): remove
10680
10681         * LyXAction.C (init):
10682         * commandtags.h:
10683         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10684
10685 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10686
10687         * buffer.C (setPaperStuff): removed from here...
10688
10689         * bufferparams.C (setPaperStuff): ... and moved there.
10690
10691 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * minibuffer.h:
10694         * minibuffer.C:
10695         * XFormsView.C: add support for drop-down completion
10696
10697 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10698
10699         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10700         commands.
10701
10702 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10703
10704         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10705         disabled.
10706
10707 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10708
10709         * lyx_main.C: change ref to known bugs
10710
10711 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10712
10713         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10714         to work around older babel problems.
10715
10716 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10717
10718         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10719
10720 2001-10-24  Juergen Vigna  <jug@sad.it>
10721
10722         * tabular-old.C (ReadOld): below variable changes reflected.
10723
10724         * tabular.[Ch]: added ltType struct for longtable header/footer
10725         defines and changed all instances where they are used. Added
10726         future support for double top/bottom rows.
10727
10728 2001-10-24  José Matos  <jamatos@fep.up.pt>
10729
10730         * buffer.h (docbookHandleCaption):
10731         * buffer.C (docbookHandleCaption): removed unused function.
10732         (makeDocBookFile): moved docbook supported version to v4.1.
10733
10734 2001-10-24  José Matos  <jamatos@fep.up.pt>
10735
10736         * tabular.h:
10737         * tabular.C (docbookRow): new function to export docbook code of a row.
10738         (DocBook): now honors the longtable flags.
10739
10740 2001-10-23  José Matos  <jamatos@fep.up.pt>
10741
10742         * LaTeXFeatures.h:
10743         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10744         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10745
10746         * buffer.C (makeLinuxDocFile):
10747         (makeDocBookFile): reworked the preamble, more clean, and with
10748         support for lyx defined entities. Changed the document declaration
10749         to be more XML friendly.
10750
10751         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10752         if we need to output XML that should be done with a filter.
10753
10754 2001-10-22  Juergen Vigna  <jug@sad.it>
10755
10756         * sp_pspell.h (class PSpell): add alive function needed in the
10757         controller to see if the spellchecker could be started.
10758
10759 2001-10-22  Juergen Vigna  <jug@sad.it>
10760
10761         * buffer.C (insertStringAsLines): modify the font for inserting
10762         chars in certain conditions by calling checkInsertChar(font).
10763
10764 2001-10-19  Juergen Vigna  <jug@sad.it>
10765
10766         * text.C (workWidth): use getRow instead of wrong algorithm.
10767         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10768
10769 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * lyxserver.h:
10772         * lyxserver.C:
10773         * lyx_main.h:
10774         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10775
10776 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10777
10778         * text.C (workWidth): do not search for the exact row when
10779         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10780         optimization for big documents.
10781
10782 2001-10-18  Juergen Vigna  <jug@sad.it>
10783
10784         * text.C (workWidth): new function with added Inset * parameter.
10785
10786 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10787
10788         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10789
10790         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10791         change return type of getColumnNearX.
10792
10793
10794         * text.C (changeRegionCase): use uppercase/lowercase instead of
10795         toupper/tolower.
10796         (leftMargin):
10797         (rightMargin): simplify code by factoring out the uses of
10798         textclasslist.
10799         (labelFill):
10800         (numberOfHfills):
10801         (setHeightOfRow):
10802         (appendParagraph): use Paragraph::size_type
10803
10804 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10805
10806         * vspace.C (asLatexString): add a missing break
10807
10808 2001-10-15  Herbert Voss  <voss@perce.de>
10809
10810         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10811
10812 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10813
10814         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10815         is not available.
10816
10817 2001-10-10  André Pönitz <poenitz@gmx.net>
10818
10819         * lyxfunc.C: removed greek_kb_flag.
10820
10821 2001-10-10  Herbert Voss  <voss@perce.de>
10822
10823         * lyx_main.C: delete global string help_lyxdir.
10824
10825 2001-10-09  Herbert Voss  <voss@perce.de>
10826
10827         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10828
10829         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10830
10831         * lyx_main.C: added global string help_lyxdir.
10832
10833         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10834
10835 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10836
10837         * lyxrc.C (set_font_norm_type): support iso8859-4
10838
10839 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10840
10841         * LaTeX.C (deplog): add another regex for MikTeX
10842
10843 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10844
10845         * lyxrc.C (set_font_norm_type): support iso8859-3
10846
10847 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10848
10849         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10850
10851         * LaTeXFeatures.C: remove special case of french and index
10852
10853         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10854         before \begin{document}). This solves several incompatibilities.
10855
10856 2001-10-03  Garst Reese  <reese@isn.net>
10857
10858         * lyx_cb.C: change CheckTex error msg.
10859
10860 2001-10-03  José Matos  <jamatos@fep.up.pt>
10861
10862         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10863
10864 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10865
10866         * .cvsignore: update
10867
10868         * lyx_main.C (commandLineVersionInfo): use new style version info.
10869
10870         * buffer.C (writeFile):
10871         (makeLaTeXFile):
10872         (makeLinuxDocFile):
10873         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10874
10875         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10876
10877         * version.h: update to use stuff in version.C
10878
10879         * version.C.in: new file. Contains version information determined
10880         at compile time. This is a merging of version.h and
10881         version_info.h.in.
10882
10883 2001-10-03  Juergen Vigna  <jug@sad.it>
10884
10885         * BufferView_pimpl.C (update): don't change "dirty" status in
10886         updateInset call.
10887
10888 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10889
10890         * WorkArea.C (c-tor): re-position version string slightly.
10891
10892 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10893
10894         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10895         revert to previous code.
10896
10897         WorkArea.[Ch]: (show, destroySplash): methods removed.
10898
10899         WorkArea.C: rework code so that it's an amalgam of the codes before and
10900         after the splash screen was moved to WorkArea.
10901
10902 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10903
10904         * lyxrc.C (read):
10905         * vspace.C (inPixels):
10906         (lyx_advance):
10907         * kbmap.C (bind):
10908         * buffer.C (insertStringAsLines):
10909         (asciiParagraph): fix types to be large enough
10910
10911         * lyxlex_pimpl.h: change member status from short to int
10912
10913         * layout.h: fix type of endlabeltype
10914
10915         * kbmap.C (bind):
10916         * kbsequence.C (parse): change return type to string::size_type
10917
10918         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10919         variable
10920
10921         * Bullet.C (bulletSize):
10922         (bulletEntry): do not use short ints as parameters
10923
10924         * BufferView2.C (insertLyXFile): change a char to an int.
10925
10926         * WorkArea.C (WorkArea): remove unneeded floats in computation
10927
10928 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10929
10930         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10931
10932         * paragraph.C (asString): Do not ignore newline/hfill chars when
10933         copying to the clipboard.
10934
10935 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10936
10937         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10938         after a multi-line inset.
10939
10940 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10941
10942         * paragraph.C (validate): Set NeedLyXFootnoteCode
10943
10944 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10945
10946         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10947         and decrease-error to decrease.
10948
10949 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10950
10951         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10952         it more readable (should be equivalent)
10953
10954 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10955
10956         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10957
10958 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10959
10960         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10961         of a cursor (row, etc.) after a character has been deleted
10962         (deleteEmptyParagraphMechanism): call the method above on _all_
10963         cursors held by the LyXText when a double space has been
10964         detected/deleted.
10965
10966 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10967
10968         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10969         pixmap.
10970         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10971
10972         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10973         background. Use greyOut() and the new show() methods to toggle between
10974         the foreground and background. Add code to remove the splash after
10975         its initial showing.
10976
10977         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10978         (create_forms): no longer call Dialogs::showSplash.
10979
10980 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10981
10982         * .cvsignore: add version_info.h
10983
10984 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10985
10986         * version_info.h.in: new file
10987
10988         * Makefile.am: add version_info.h.in
10989
10990         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10991         version_info.h instead of VERSION_INFO
10992
10993 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10994
10995         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10996         The ERT inset now returns string().
10997
10998 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10999
11000         * lyxtext.h, text.C (selectNextWord): renamed as
11001         selectNextWordToSpellcheck.
11002
11003         * text.C (selectNextWordToSpellcheck): Modified to not select
11004         words inside an ERT inset.
11005
11006 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11007
11008         * lyx_cb.C (MenuLayoutSave): change a bit the question
11009
11010         * sp_base.h: include <sys/types.h>
11011
11012 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11013
11014         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11015
11016 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11017
11018         * several files: fix typos in user-visible strings
11019
11020 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11021
11022         * text2.C (pasteSelection): do not set the selection, since it
11023         will be cleared later. Actually, the intent was to fix the way the
11024         selection was set, but I figured rmoving the code was just as good.
11025
11026 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11027
11028         * FontLoader.C (available): Check if font is available without
11029         loading the font.
11030
11031 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11032
11033         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11034
11035 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11036
11037         * lyxrc.[Ch]: added display_graphics variable and associated code.
11038
11039 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * bufferparams.C (hasClassDefaults): new method. Returns true if
11042         the buffer parameters correspond to known class defaults
11043
11044 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11045
11046         * XFormsView.C (show): set minimum size to the main window.
11047
11048 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11049
11050         * text2.C (copySelection):
11051         (cutSelection):
11052         * lyxfind.C (LyXReplace):
11053         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11054         LyXText::selectionAsString.
11055
11056         * paragraph.C (asString): add "label" argument to the second form
11057
11058         * text2.C (selectionAsString): add "label" argument and pass it to
11059         Paragraph::asString.
11060
11061 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11062
11063         * lyx_main.C (commandLineHelp): remove version information
11064
11065 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11066
11067         * lyx_main.C: add -version commandline option
11068
11069 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11070
11071         * paragraph.h: make the optional constructor arg required instead.
11072         some modifications to other files because of this.
11073
11074         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11075
11076         * lyxserver.C (C_LyXComm_callback): make it static
11077
11078         * lyx_main.C (error_handler): make it static
11079
11080         * lyx_gui.C (LyX_XErrHandler): make it static
11081
11082         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11083
11084         * WorkArea.C: make the extern "C" methods static.
11085
11086         * Makefile.am (lyx_LDADD): simplify
11087
11088 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11089
11090         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11091         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11092
11093         * LyXAction.C (init):
11094         * lyxfunc.C (dispatch): associated code removal.
11095
11096 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11097
11098         * lyxfont.h (isSymbolFont): shut off warning
11099
11100         * text.C (setHeightOfRow):
11101         (getVisibleRow): fix crash with empty paragraphs which have a
11102         bottom line
11103
11104 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11105
11106         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11107         code.
11108
11109 2001-09-04  José Matos  <jamatos@fep.up.pt>
11110         * buffer.C
11111         * buffer.h
11112         * tabular.C (docbook): rename docBook method to docbook.
11113
11114 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11115
11116         * Makefile.am: add dependencies to main.o.
11117
11118 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11119
11120         * FontLoader.C (available): Return false if !lyxrc.use_gui
11121
11122 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11123
11124         * FontInfo.C (query):
11125         * converter.C (view):
11126         * importer.C (Import):
11127         * exporter.C (Export): Can not -> cannot.
11128
11129 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * BufferView_pimpl.C: allow to create index inset even if
11132           string is empty
11133
11134 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11135
11136         * buffer.C (getLists): replace boost::tie code with an explicit pair
11137         as boost::tie can break some compilers.
11138
11139         * iterators.h: Added a std:: declaration to the return type of
11140         ParIterator::size.
11141
11142 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11145           case.
11146
11147 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11148
11149         * iterators.[Ch]: New files. Provide paragraph iterators.
11150
11151         * buffer.C (changeLanguage): Use paragraph iterators.
11152         (isMultiLingual): ditto
11153
11154         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11155
11156 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11157
11158         * FontLoader.C: Support for cmr font.
11159
11160 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11161
11162         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11163         (available): New method.
11164
11165         * FontInfo.C (getFontname): Use scalable fonts even when
11166         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11167         found.
11168
11169 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11170
11171         * converter.C (Formats::view): reverted! Incorrect fix.
11172
11173 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11174
11175         * converter.C (Formats::view): only output the -paper option
11176         if the dvi viewer is xdvi, thereby fixing bug #233429.
11177
11178 2001-08-23  Herbert Voss  <voss@perce>
11179
11180         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11181
11182 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11183
11184         * Spacing.h (Spacing): Set space to Default on in the default
11185         constructor.
11186
11187 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * vc-backend.h (RCS::versionString): add RCS to version
11190         (CVS::versionString): add CVS to version
11191
11192         * vc-backend.C (scanMaster): do not add CVS to version.
11193         (scanMaster): do not add RCS to version
11194
11195         * lyxvc.C (versionString): new method
11196
11197         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11198
11199 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11200
11201         * Spacing.C (set): initialize fval
11202
11203 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11204
11205         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11206         " or \.
11207
11208 2001-08-16  Juergen Vigna  <jug@sad.it>
11209
11210         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11211
11212 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * BufferView_pimpl.C:
11215         * figureForm.C:
11216         * lyxtext.h:
11217         * text2.C: setParagraph takes linespacing now
11218
11219 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * LyxAction.C: add internal LFUN_CITATION_INSERT
11222
11223         * LyXView.C: actually apply fix
11224
11225         * bufferlist.C: fix open non-existent file
11226
11227         * lyxfind.C: fix indentation
11228
11229         * lyxfunc.C: remove unneeded assert, fix typo
11230
11231 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * MenuBackend.C: use "Floatname List"
11234
11235 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11236
11237         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11238         when converting LaTeX layout to insetERT.
11239         Generate a non-collapsed float when reading old float
11240
11241 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11242
11243         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11244         ERT insets.
11245
11246 2001-08-13  Juergen Vigna  <jug@sad.it>
11247
11248         * text.C (fill): return 0 instead of 20 as this seems to be the more
11249         correct value.
11250
11251 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11252
11253         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11254         lyxrc.font_norm.
11255
11256 2001-08-13  Juergen Vigna  <jug@sad.it>
11257
11258         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11259         casesensitive off.
11260         (SearchBackward): comment out the unlocking of the inset_owner this
11261         should not be needed!
11262
11263 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11264
11265         * Many files: Remove inherit_language, and add latex_language
11266
11267         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11268         collapsible insets.
11269
11270 2001-08-10  Juergen Vigna  <jug@sad.it>
11271
11272         * text.C (prepareToPrint): fixed hfill-width in draw!
11273
11274         * BufferView2.C (selectLastWord): save the selection cursor as this
11275         now is cleared in the function LyXText::clearSelection!
11276
11277 2001-08-08  Juergen Vigna  <jug@sad.it>
11278
11279         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11280         BACKSPACE type functions.
11281
11282         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11283         is only cutted from the document but not put in the cut-buffer, where
11284         still the old stuff should be.
11285
11286         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11287
11288         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11289
11290         * tabular.C (SetWidthOfCell): fixed special case where the width
11291         was not updated!
11292         (LeftLine): handle '|' in align_special.
11293         (RightLine): ditto
11294         (LeftAlreadyDrawed): ditto
11295         (SetWidthOfCell): ditto
11296
11297 2001-08-07  Juergen Vigna  <jug@sad.it>
11298
11299         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11300
11301 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11302
11303         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11304         * lyxlex.[hC]: ditto
11305
11306 2001-08-06  Juergen Vigna  <jug@sad.it>
11307
11308         * text.C (getVisibleRow): fix up row clearing a bit.
11309
11310 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * minibuffer.C: make sure the X server sees the changes in the input.
11313
11314 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11315
11316         * paragraph.C (getFont): split into...
11317         (getLabelFont): this
11318         (getLayoutFont): and this
11319         * paragraph_pimpl.C (realizeFont): calling this
11320
11321         * text2.C (getFont): split into...
11322         (getLayoutFont): this
11323         (getLabelFont): and this
11324         (realizeFont): all three calling this
11325
11326         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11327         files where used.
11328
11329 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11330
11331         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11332
11333 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11334
11335         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11336         layouts from the Quote inset insertion.
11337
11338 2001-08-03  Juergen Vigna  <jug@sad.it>
11339
11340         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11341
11342         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11343         only if status not is already CHANGED_IN_DRAW (second level).
11344
11345         * text.C (draw): don't set the need_break_row when inside an
11346         InsetText LyXText.
11347
11348 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11349
11350         * buffer.C (parseSingleLyXformat2Token): handle more latex
11351         conversion cases.
11352
11353         * bufferview_funcs.[hC]: change function names to
11354         begin with small char, adjust other files.
11355
11356 2001-08-02  André Pönitz <poenitz@gmx.net>
11357
11358         * lyxfunc.C:
11359         BufferView_pimpl.C: remove broken special code for math-greek
11360
11361 2001-08-02  Juergen Vigna  <jug@sad.it>
11362
11363         * BufferView_pimpl.C (update): redone this function so that we
11364         update the text again if there was a CHANGE_IN_DRAW.
11365
11366         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11367         (drawFromTo): added a new internal bool which is used by draw() and
11368         redraw() function.
11369         (general): some cursor drawing problems fixed.
11370
11371 2001-08-01  Juergen Vigna  <jug@sad.it>
11372
11373         * lyxfind.C (LyXFind): fixed
11374         (SearchForward): ditto
11375         (SearchBackward): ditto
11376
11377         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11378         spurius drawing of the cursor in the main area.
11379
11380         * text2.C (status): small fix which could lead to a segfault!
11381         (clearSelection): remove unneeded BufferView param.
11382
11383 2001-08-01  André Pönitz <poenitz@gmx.net>
11384
11385         * lyxfunc.C: small change due to changed mathed interface
11386
11387 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11388
11389         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11390
11391 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * lyxfunc.c: fail gracefully if file doesn't exist
11394
11395         * LyXSendto.C:
11396         * buffer.C:
11397         * lyxfunc.C:
11398         * BufferView_pimpl.C: IsDirWriteable() proto changed
11399
11400         * LyXView.C: fix updateWindowTitle() to store the last title
11401
11402 2001-07-31  Juergen Vigna  <jug@sad.it>
11403
11404         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11405         the font (wrong since using of Paragraph::highestFontInRange).
11406
11407         * paragraph.C (highestFontInRange): added a default_size parameter.
11408
11409         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11410         (setHeightOfRow): reformat
11411
11412 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * converter.[hC] + affected files: move to (inital-char)lowercase
11415         function names.
11416
11417         * ParagraphParameters.C (ParagraphParameters): remove commented code
11418
11419         * PainterBase.[Ch]: remove commented code
11420
11421         * LaTeXFeatures.h: add "bool floats" for float.sty
11422
11423         * LaTeXFeatures.C (LaTeXFeatures): init floats
11424         (require): handle float
11425         (getPackages): do it with floats
11426
11427 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11428
11429         * BufferView_pimpl.C (Dispatch): improve handling of
11430         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11431
11432         * commandtags.h: #include lyxfont.h here temporarily to avoid
11433         keybinding bug.
11434
11435         * bufferlist.h: include LString.h here.
11436
11437 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11438
11439         * text2.C (getStringToIndex): new method.
11440
11441 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11442
11443         * *: Reduced header file dependencies all over.
11444
11445 2001-07-30  Baruch Even  <baruch@lyx.org>
11446
11447         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11448
11449 2001-07-29  Baruch Even  <baruch@lyx.org>
11450
11451         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11452
11453 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * ParameterStruct.h (endif): add a default constructor to make
11456         sure that all variables is initialized.
11457
11458         * ParagraphParameters.C (ParagraphParameters): adjust
11459
11460 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11461
11462         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11463         index; also, check that there is something to index, and that it
11464         does not span over several paragraphs.
11465         (doubleClick): use WHOLE_WORD_STRICT for double click.
11466
11467         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11468
11469         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11470         scheme.
11471
11472 2001-07-26  Baruch Even  <baruch@lyx.org>
11473
11474         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11475         an InsetFig figure, backwards compatible reading of old figure code.
11476
11477 2001-07-27  Juergen Vigna  <jug@sad.it>
11478
11479         * text2.C: font.realize function adaption.
11480
11481         * text.C (draw): add a warnings lyxerr text if needed.
11482
11483         * layout.C: font.realize function adaption.
11484
11485         * language.C: add inherit_language and implement it's handlings
11486
11487         * bufferview_funcs.C (StyleReset): remove language parameter from
11488         font creation (should be language_inherit now).
11489
11490         * bufferparams.C (writeFile): handle ignore_language.
11491
11492         * paragraph.C (getFontSettings): the language has to be resolved
11493         otherwise we have problems in LyXFont!
11494
11495         * lyxfont.C (lyxWriteChanges): added document_language parameter
11496         (update): removed unneeded language parameter
11497
11498         * paragraph.C (validate): fixed wrong output of color-package when
11499         using interface colors for certain fonts in certain environments,
11500         which should not seen as that on the final output.
11501
11502 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11503
11504         * BufferView_pimpl.C:
11505         * Thesaurus.h:
11506         * Thesaurus.C:
11507         * Makefile.am:
11508         * commandtags.h:
11509         * LyXAction.C: add thesaurus support
11510
11511         * lyxfind.h:
11512         * lyxfind.C: add "once" parameter, for thesaurus, to not
11513           move to the next match
11514
11515 2001-07-26  Juergen Vigna  <jug@sad.it>
11516
11517         * lyxfont.C (realize): honor ignore_language too!
11518         (resolved): ditto.
11519
11520         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11521
11522         * text.C (draw): one place more for ignore_language to not draw
11523         itself!
11524
11525 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11526
11527         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11528
11529 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11530
11531         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11532         the minipage conversion problem.
11533
11534 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11535
11536         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11537         insert an inset.
11538
11539 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * BufferView.h: don't forward declare WorkArea
11542
11543         * BufferView.C: don't include WorkArea.h
11544
11545 2001-07-25  André Pönitz <poenitz@gmx.net>
11546
11547         * commandtags.h:
11548         * LyXAction.C:
11549         * lyxfunc.C:  new LFUN 'math-space'
11550
11551         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11552
11553 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11554
11555         * text2.C (toggleInset): call open/close
11556
11557 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11558
11559         * lyxfunc.C (dispatch): add debug for the disabled case
11560
11561         * font.C (buttonText): make similar to rectText
11562
11563         * buffer.C (readInset): comment out parsing of insetlist and
11564         insttheorem
11565
11566         * PainterBase.C (rectText): small correction
11567
11568         * BufferView_pimpl.C: comment out insettheorem and insetlist
11569         * LyXAction.C: ditto
11570         * commandtags.h: ditto
11571
11572 2001-07-24  Juergen Vigna  <jug@sad.it>
11573
11574         * text.C (draw): honor the ignore_language.
11575
11576         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11577
11578 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11579
11580         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11581         char inset.
11582
11583 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11584
11585         * lyxtext.h: remove unused (and unimplemented) methods
11586
11587 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11588
11589         * text.C (getVisibleRow): honor background color
11590
11591         * PainterBase.h:
11592         * Painter.h: remove default color argument for fillRectangle
11593
11594         * text.C (backgroundColor): new method
11595
11596 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11597
11598         * text.C (getVisibleRow): adjust
11599
11600         * font.[Ch] (rectText): new method, metrics
11601         (buttonText): new method, metrics
11602
11603         * PainterBase.[hC]: make rectText and buttonText always draw and take
11604         fewer paramteres.
11605
11606 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11607
11608         * ToolbarDefaults.C (read):
11609         * MenuBackend.C (read): allow escaping in all strings
11610
11611         * BufferView_pimpl.C (insertAndEditInset): new method.
11612         (Dispatch): use insertAndEditInset whenever appropriate.
11613
11614         * BufferView_pimpl.C (insertNote): removed
11615
11616         * BufferView_pimpl.C (smartQuote): new method, moved from
11617         BufferView; if an insetquote cannot be inserted, insert a '"'
11618         character instead.
11619
11620         * BufferView2.C: remove insertCorrectQuote();
11621
11622         * lyxfunc.C (getStatus): Add support for all remaingin
11623         inset-insert lfuns.
11624
11625         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11626
11627         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11628         command (necessary to pass " as parameter of self-insert.
11629
11630         * text.C (selectWordWhenUnderCursor):
11631         (selectWord): add word_location parameter
11632         (selectWordWhenUnderCursor): same + remove special code for word
11633         boundary.
11634         (selectNextWord): use kind() to guess type of insetspecialchar,
11635         not latex().
11636
11637         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11638         (insertErtContents): create ert insets as collapsed.
11639         (readInset): better compatibility code for Info inset.
11640
11641 2001-07-20  Juergen Vigna  <jug@sad.it>
11642
11643         * lyxfunc.C (dispatch): use always LyXFind now!
11644
11645         * text2.C (init): add a reinit flag so that the LyXText can be
11646         reinited instead of deleted and reallocated (used in InsetText).
11647
11648         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11649
11650         * text.C: ditto
11651
11652         * text2.C: ditto
11653
11654 2001-07-18  Juergen Vigna  <jug@sad.it>
11655
11656         * text.C (selectNextWord): handle insets inside inset by calling
11657         always the bv->text functions so that we can go up the_locking_inset!
11658
11659         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11660         in strange locations when inside an inset!
11661
11662         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11663         handling to include insets.
11664
11665         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11666
11667 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11668
11669         * LyXAction.C (init):
11670         * commandtags.h:
11671         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11672         LIGATURE_BREAK, since the name is so stupid.
11673
11674 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11675
11676         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11677         InsetInfos.
11678
11679         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11680
11681         * sp_form.[Ch]: remove.
11682
11683         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11684
11685         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11686         InsetInfo.
11687
11688         * src/buffer.C (readInset): ditto.
11689
11690 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11691
11692         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11693         menuSeparator(), endOfSentenceDot(), ldots() and
11694         hyphenationPoint(), which are therefore removed.
11695         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11696
11697         * LyXAction.C (init):
11698         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11699
11700         * paragraph.C (getWord): removed.
11701
11702         * BufferView_pimpl.C (Dispatch): use last word or selection for
11703         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11704
11705         * lyx_main.C (queryUserLyXDir): do not ask before creating
11706         user_dir, except if it has been named explicitely.
11707
11708 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11709
11710         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11711         a document of zero size.
11712
11713 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11714
11715         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11716         approriately in the c-tor and in require().
11717         (getPackages): output the appropriate LaTeX for natbib support.
11718
11719         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11720         variables "use_natbib" and "use_numerical_citations" when reading the
11721         LyX file.
11722         (readInset): read the various natbib cite commands.
11723         (validate): white-space change.
11724
11725         * bufferparams.[Ch]: new variables "bool use_natbib" and
11726         "bool use_numerical_citations".
11727         (writeFile): output them in the LyX file.
11728
11729 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11730
11731         * lyxfunc.C (getStatus): add support for all the inset insertion
11732         commands.
11733
11734         * text2.C (insertInset):
11735         * paragraph.C (insetAllowed):
11736         * BufferView_pimpl.C (insertInset): update to take in account the
11737         renaming of insertInsetAllowed
11738
11739         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11740
11741         * text2.C (getInset): new method. returns inset at cursor position.
11742
11743         * BufferView_pimpl.C (Dispatch): changes because of this.
11744
11745         * LyXAction.C (init): rename open-stuff to inset-toggle.
11746
11747         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11748
11749         * text2.C (toggleInset): renamed from openStuff; use
11750         Inset::open().
11751
11752 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11753
11754         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11755
11756         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11757
11758 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11759
11760         * buffer.C (readLyXformat2): Add filename to the error dialog
11761
11762 2001-07-18  Juergen Vigna  <jug@sad.it>
11763
11764         * tabular.C (GetCellNumber): put an assert here instead of the check!
11765
11766 2001-07-17  Juergen Vigna  <jug@sad.it>
11767
11768         * BufferView_pimpl.C (toggleSelection): adapted too.
11769
11770         * text.C (selectNextWord): adapted for use with insets.
11771         (selectSelectedWord): ditto
11772
11773 2001-07-17  Juergen Vigna  <jug@sad.it>
11774
11775         * sp_spell.C (PSpell): fix initialitation order.
11776
11777 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11778
11779         * paragraph.C: spacing
11780
11781 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11782
11783         * sp_spell.C: repair language selection for pspell
11784
11785 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * lyxfunc.h: change more methods to begin with lower char.
11788
11789 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11790
11791         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11792         for unknown layouts.
11793
11794 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11795
11796         * buffer.C (readLyXformat2): Generate an error dialog if there are
11797         unknown layouts.
11798
11799 2001-07-16  Juergen Vigna  <jug@sad.it>
11800
11801         * sp_spell.C: always compile ISpell part.
11802
11803         * lyxrc.C: added use_pspell entry and it's handling.
11804
11805 2001-07-13  Juergen Vigna  <jug@sad.it>
11806
11807         * sp_spell.C: removed double includes.
11808
11809 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11810
11811         Consistent use of Lsstream.h:
11812         * Lsstream.h: added using std::stringstream for consistencies sake.
11813
11814         * buffer.C: removed using std::stringstream
11815
11816         * lyxfont.C (stateText):
11817         * paragraph.C (asString):
11818         * text.C (selectNextWord, selectSelectedWord):
11819         * text2.C (setCounter):
11820         * vspace.C (asString, asLatexString):
11821         std::ostringstream -> ostringstream.
11822
11823 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11824
11825         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11826         * commandtags.h: add LFUN_HELP_ABOUTLYX
11827         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11828
11829 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11830
11831         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11832         cursorToggle()
11833         * lyx_gui_misc.C: remove spellchecker
11834         * lyxfunc.C: showSpellchecker
11835         * sp_base.h: added
11836         * sp_ispell.h: added
11837         * sp_pspell.h: added
11838         * sp_spell.C: added
11839         * sp_form.[Ch]: removed
11840         * spellchecker.[Ch]: removed
11841
11842 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11843
11844         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11845         is set.
11846         (simpleTeXSpecialChars): Simply print the input character without
11847         any special translation if pass_thru is set.
11848
11849         * layout.h: Added bool pass_thru to layout class for being able to
11850         implement pass through of a paragraph for Literate Programming.
11851
11852         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11853         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11854         * layout.C (Read): add "passthru" to list of layout tags and add
11855         code to set the pass_thru boolean when it is read.
11856
11857 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * trans_decl.h: remove allowed from KmodInfo
11860
11861         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11862         remove allowed code
11863         (Load): adjust
11864
11865         * paragraph_pimpl.C (erase): use boost::prior
11866
11867         * Painter.C (text): use data() instead of c_str() when length is
11868         also provided.
11869         * WorkArea.C (putClipboard): ditto
11870         * font.h (width): ditto
11871
11872         * BufferView2.C: use it-> instead of (*it). for iterators
11873         * texrow.C: ditto
11874         * paragraph_pimpl.C: ditto
11875         * paragraph.C: ditto
11876         * minibuffer.C: ditto
11877         * language.C: ditto
11878         * kbmap.C: ditto
11879         * encoding.C: ditto
11880         * counters.C: ditto
11881         * converter.C: ditto
11882         * chset.C: ditto
11883         * Variables.C: ditto
11884         * TextCache.C: ditto
11885         * MenuBackend.C: ditto
11886         * LyXAction.C: ditto
11887         * LColor.C: ditto
11888         * FloatList.C: ditto
11889         * DepTable.C: ditto
11890         * ColorHandler.C (LyXColorHandler): ditto
11891
11892 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11893
11894         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11895
11896         * text2.C (openStuff): reintroduce this method (which had been
11897         nuked in NEW_INSETS frenzy).
11898
11899         * lyxfunc.C (Dispatch): when an action has not been handled, use
11900         its name in the error message, not its number.
11901
11902         * paragraph.C (inInset): change method name to begin with lowercase.
11903
11904         * undo_funcs.C:
11905         * text2.C: updates because of this.
11906
11907 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11908
11909         * ToolbarDefaults.C (add): add spaces in error message
11910
11911 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11914         (readLyXformat2): rename return_par to first_par, use lyxlex's
11915         pushToken and remove the manual push handling.
11916         (parseSingleLyXformat2Token): add another ert comp. variable:
11917         in_tabular, rename return_par to first_par. handle newlines better
11918
11919 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11920
11921         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11922
11923 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * text2.C (getParFromID): removed
11926
11927         * buffer.C (getParFromID): new method moved form lyxtext.
11928         * BufferView2.C (insertErrors): adjust
11929         (setCursorFromRow): adjust
11930         * BufferView_pimpl.C (restorePosition): adjust
11931         * lyxfunc.C (Dispatch): adjust
11932         * undo_funcs.C (textUndo): adjust
11933         (textRedo): adjust
11934         (textHandleUndo): adjust
11935         (textHandleUndo): adjust
11936
11937 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * buffer.C: up' the LYX_FORMAT
11940
11941         * lyxfont.h: turn NO_LATEX on as default
11942
11943         * buffer.C (insertErtContents): new methods of tex style compability.
11944         (parseSingleLyXformat2Token): use it several places.
11945         * tabular.C (OldFormatRead): and here
11946
11947 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * text2.C: remove some commented code.
11950         reindent file.
11951
11952         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11953         * trans.C: changes because of the above.
11954
11955 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11956
11957         * text2.C (setCounter): Fix counters bug with bibliography layout.
11958
11959 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11962         own member functions
11963         (simpleTeXSpecialChars): ditto
11964
11965 2001-07-06  Juergen Vigna  <jug@sad.it>
11966
11967         * a lot of files: changed the access to LyXText::status and the
11968         call of undo-functions.
11969
11970         * undo.[Ch]: added a inset_id to the undo informations.
11971
11972         * undo_funcs.[Ch]: added and moved here all undo functions.
11973
11974         * lyxtext.h: give the status enum a weight, made status_ a private
11975         variable and made accessor functions for it, removed the whole bunch
11976         of undo-functions as they are now in their own file, make some
11977         functions publically available. Added function ownerParagraph with
11978         int parameter.
11979
11980         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11981         made InInset() a const function, added getParFromID() function.
11982
11983         * buffer.[Ch]: added const version for inset_iterator functions,
11984         added getInsetFromID() function.
11985
11986         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11987         changed undo functions for new version.
11988
11989 2001-07-05  Juergen Vigna  <jug@sad.it>
11990
11991         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11992         unknow mechanism does not call the proper constructor but only this
11993         one also if I request the other!?
11994
11995 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11998
11999         * text2.C (LyXText): use initialization lists.
12000
12001         * lyxtext.h (Selection): initialize set_ and mark_
12002         (init): remove method
12003
12004 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12005
12006         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12007
12008 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * screen.[Ch]: change method names to begin with lowercase
12011
12012         * BufferView_pimpl.C (updateScrollbar): simplify further and
12013         hopefully make it a bit faster.
12014
12015 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12016
12017         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12018         calling directly xforms functions.
12019
12020         * Painter.C (Painter):
12021         * lyx_cb.C (MenuWrite):
12022         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12023         fl_display.
12024
12025         * lyx_gui.C: remove bogus guiruntime extern declaration.
12026
12027 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12028
12029         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12030         in NEW_INSETS
12031         (redoDrawingOfParagraph): ditto
12032         (redoParagraphs): ditto
12033         (cutSelection): don't create a object for CutAndPaste use the
12034         static method directly
12035         (pasteSelection): ditto
12036
12037         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12038         LyXview (+ rename)
12039
12040 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12041
12042         * modifications to some other files because of this.
12043
12044         * Makefile.am (lyx_SOURCES): add XFormsView
12045
12046         * XFormsView.[Ch]: new files
12047
12048         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12049         the main window. Move the gui dependent stuff to XFormsView
12050
12051 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * tabular.C (GetCellInset): update cur_cell also in the row/col
12054         version of this function.
12055
12056         * lyxfunc.C: no need to include figure_form.h here.
12057
12058         * FontLoader.h:
12059         * lyxfunc.h:
12060         * lyxscreen.h:
12061         * text2.C:
12062         * lyxvc.C: no need to include forms.h here.
12063
12064 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12065
12066         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12067
12068         * lyxfunc.C (Dispatch):
12069         * Spacing.C (set):
12070         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12071         constructor argument.
12072
12073 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12074
12075         * paragraph.C (Paragraph): dont't clear, and just set layout.
12076         (makeSameLayout): use params's copy contructor.
12077
12078         * ParagraphParameters.[Ch] (makeSame): delete method
12079
12080 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * Variables.[Ch]: fix indentation, rename set to isSet
12083
12084 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12085
12086         * lyxfunc.C (Dispatch): fix typo
12087
12088 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12089
12090         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12091         upper_bound.
12092
12093         * bufferlist.C: include assert.h for emergencyWrite().
12094
12095 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12098           give up at last (bug #425202) !
12099
12100 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12101
12102         * lyx_gui_misc.C:
12103         * sp_form.h:
12104         * sp_form.C:
12105         * spellchecker.h:
12106         * spellchecker.C: strip spellchecker options and bring up
12107           preferences tab instead
12108
12109 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12110
12111         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12112         the istringstream constructor
12113
12114 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12115
12116         * paragraph.C (getLayout): fix return value
12117
12118         * paragraph.h: do not declare getLayout as inline.
12119
12120         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12121
12122 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12123
12124         * lyxcursor.h (operator<): new func
12125         (operator>): new func
12126         (operator>=): new func
12127         (operator<=): new func
12128
12129         * text.C (changeCase): use selection.start and selection.end
12130         (changeRegionCase): require from to be <= to. Require par to be a
12131         valid paragraph.
12132
12133         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12134
12135 2001-06-27  Juergen Vigna  <jug@sad.it>
12136
12137         * text.C (cursorLeftOneWord): changed to return the cursor and added
12138         overlay with BufferView * parameter which calls this one.
12139         (getWord): added
12140         (selectWord): use new getWord function.
12141         (changeCase): renamed from changeWordCase as and extended to work
12142         also on selections.
12143
12144         * lyxtext.h: added enum word_location
12145
12146         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12147         changeCase as this operates now also on selections.
12148
12149 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12150
12151         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12152
12153         * many files: send debug output to Debug::INFO instead of
12154         Debug::ANY.
12155
12156         * converter.C (View):
12157         (Convert):
12158         (Move): send debug output to Debug::FILES instead of console.
12159
12160 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12161
12162         * lyxfunc.C (getStatus): use func_status
12163
12164         * func_status.h: new header, describing the results of
12165         LyXFunc::getStatus;
12166
12167         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12168         LFUN_MATH_HALIGN.
12169
12170 2001-06-25  The LyX Project  <jug@sad.it>
12171
12172         * buffer.C (sgmlOpenTag):
12173         (sgmlCloseTag):
12174         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12175
12176 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * text2.C: remove some dead code
12179
12180         * tabular.C (GetCellInset): store the last cell checked (gotten)
12181
12182         * tabular.h: add the helper for the speedup
12183
12184         * lyxtext.h: remove some dead code
12185
12186 2001-06-26  The LyX Project  <Asger>
12187
12188         * paragraph.C: Change export to LaTeX of alignment to
12189         \begin{center} and family for better roundtrip work with reLyX.
12190
12191         * Tune the math drawing a bit.
12192
12193 2001-06-25  The LyX Project  <Asger>
12194
12195         * LColor.C (LColor): New color for math background. New color
12196         for buttons.
12197
12198 2001-06-25  The LyX Project  <jug@sad.it>
12199
12200         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12201
12202         * lyxfunc.C (Open):
12203         * bufferlist.C (newFile): do not restrict to files ending with
12204         .lyx
12205
12206         * BufferView_pimpl.C (MenuInsertLyXFile):
12207
12208 2001-06-24  The LyX Project  <jug@sad.it>
12209
12210         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12211         of compare_no_case
12212
12213 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * lyxtext.h: rename most methods to begin with a small char.
12216         Lots of changes because of this.
12217
12218         * paragraph.C (Paragraph): do not call fitToSize
12219         (erase): call Pimpl::erase
12220         (insertChar): call Pimpl::insertChar
12221         (insertInset): call Pipl::insertInset
12222         (breakParagraph): do not call fitToSize
12223         (breakParagraphConservative): do not call fitToSize
12224         (fitToSize): remove method
12225
12226         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12227
12228 2001-06-24  The LyX Project  <Asger>
12229
12230         * Fix Qt compilation^2
12231
12232 2001-06-24  The LyX Project  <jug@sad.it>
12233
12234         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12235         depthHook(getDepth()-1).
12236
12237         * paragraph.h:
12238         * ParagraphParameters.h:
12239         * ParameterStruct.h: change type of depth to unsigned int ==
12240         depth_type. Many adaptations to other files before of that.
12241
12242 2001-06-24  The LyX Project  <Asger>
12243
12244         * Fix Qt compilation.
12245
12246 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12247
12248         * paragraph.h: renamed several methods to begin with small letter.
12249         several changes to many parts of the code because of this.
12250
12251 2001-06-23  The LyX Project  <jug@sad.it>
12252
12253         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12254         rewritten to discard all double spaces when KeepEmpty is off
12255         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12256         to only handle newlines but not fiddle with spaces and friends.
12257
12258         * lyxfunc.C (MenuNew): when doing 'new from template', use
12259         template_path as default directory
12260
12261 2001-06-23  The LyX Project  <Asger>
12262
12263         * Clean-up of header file includes all over
12264         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12265
12266 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * paragraph.h: renamed from lyxparagraph.h
12269
12270 2001-06-23  Asger  <lyx@violet.home.sad.it>
12271
12272         * Buffer.h: Removed Buffer::resize
12273         * BufferList.h: Removed BufferList::resize
12274         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12275         the document lazily when we change the width, or the font settings.
12276
12277 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12278
12279         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12280
12281 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * buffer.h: remove out of date comment
12284
12285 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * lyxscreen.h:
12288         * screen.C: fix "theoretical" GC leak
12289
12290 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * LaTeX.C (scanAuxFile):
12293         (deplog): remove trailing \r when reading stream (useful under
12294         win32)
12295
12296 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12297
12298         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12299         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12300         and BufferView::theLockingInset(Inset*), so should use them and not
12301         access bv_->text->the_locking_inset directly.
12302
12303         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12304
12305 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * Makefile.am:
12308         * tex-defs.h: remove old unused file
12309
12310 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * BufferView_pimpl.C: fix typo, remove minibuffer message
12313           when buffer has loaded
12314
12315 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * lyxfunc.C (Dispatch): use stringstream
12318         (MenuNew): use stringstream
12319         (Open): use stringstream
12320
12321         * importer.C (Import): use stringstream
12322
12323         * bufferview_funcs.C (CurrentState): use stringstream
12324
12325         * LaTeX.C (run): use stringstream
12326
12327         * BufferView_pimpl.C (savePosition): use stringstream
12328         (restorePosition): use stringstream
12329         (MenuInsertLyXFile): use stringstream
12330
12331 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * BufferView.C:
12334         * Bullet.C:
12335         * ColorHandler.C:
12336         * FontInfo.C:
12337         * FontLoader.C:
12338         * LColor.C:
12339         * LaTeXFeatures.C:
12340         * Painter.C:
12341         * gettext.C:
12342         * lyx_gui_misc.C:
12343         * lyxserver.C:
12344         * vspace.C: removed // -*- C++ -*- as first line.
12345
12346         * lyxfind.h:
12347         * version.h: added // -*- C++ -*- as first line.
12348
12349 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12350
12351         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12352
12353         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12354         of string
12355
12356 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12357
12358         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12359         of floats.
12360
12361 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12362
12363         * gettext.C: include LString.h even when --disable-nls is on.
12364
12365 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12366
12367         * converter.h (Get): changed argument type from int to
12368         FormatList::size_type to avoid unnecessary conversion.
12369
12370         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12371         before using it.
12372
12373 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12374
12375         * gettext.h: include LString.h even when --disable-nls is on.
12376
12377 2001-06-07  Juergen Vigna  <jug@sad.it>
12378
12379         * text.C (BreakAgain): subst spaces with tabs.
12380
12381         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12382         (resizeInsetsLyXText): set force on resizeLyXText.
12383
12384 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12385
12386         * gettext.h (gettext_init):
12387         (locale_init): use a real definition instead of a macro
12388
12389 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * Bufferview_pimpl.C:
12392         * LColor.h:
12393         * LColor.C: further lcolor tidies
12394
12395 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * BufferView_pimpl.C (updateScrollbar): simplify.
12398
12399         * BufferView2.C: don't include insets/insetinfo.h, change
12400         prototype for insertInset and call the Pimpl version. let
12401         updateInset call Pimpl version.
12402
12403         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12404         gotoInset to BufferView::Pimpl
12405
12406 2001-06-01  Juergen Vigna  <jug@sad.it>
12407
12408         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12409         inside a LockingInset (is the update needed at all?).
12410
12411 2001-05-31  Juergen Vigna  <jug@sad.it>
12412
12413         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12414         here not the old one otherwise how should we compare it afterwards
12415         if it's the same!
12416
12417 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12418
12419         * lyxfont.C:
12420         * tabular.C:
12421         * tabular-old.C:
12422         * FontInfo.C: bring C functions into global namespace when
12423         necessary
12424
12425 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12426
12427         * LString.h: make sure config.h has been loaded before LString.h.
12428
12429         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12430         (one for each char read by EatLine!).
12431
12432         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12433         variables.
12434
12435 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12438         to the same as the par we break from
12439
12440 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12443
12444         * MenuBackend.C (expand): also create menu entries for wide
12445         versions of the floats.
12446
12447         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12448
12449         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12450
12451         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12452         frontends/Makefile.am
12453
12454         * text2.C: adjust
12455         * text.C: adjust
12456
12457
12458         * tabular.C (getTokenValue): add std::
12459
12460         * tabular-old.C (getTokenValue): add std::
12461         (getTokenValue): ditto
12462         (getTokenValue): ditto
12463
12464         * screen.C (ToggleSelection): adjust
12465
12466         * lyxtext.h: put selection cursors inside a Selection struct.
12467
12468         * lyxfunc.C (moveCursorUpdate): adjust
12469
12470         * lyxfont.C (latexWriteStartChanges): add std::
12471
12472         * lyxfind.C: adjust
12473
12474         * font.h: delete with(char const *, LyXFont const &)
12475
12476         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12477
12478         * FontInfo.C (getFontname): add std::
12479
12480         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12481         (workAreaButtonPress): adjust
12482         (tripleClick): adjust
12483         (update): adjust
12484         (moveCursorUpdate): adjust
12485         (Dispatch): adjust
12486
12487         * BufferView2.C (gotoInset): adjust
12488
12489 2001-05-30  Juergen Vigna  <jug@sad.it>
12490
12491         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12492         to check pspell I add this as default as I now have new pspell
12493         libraries and they seem to use this.
12494
12495 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * text2.C (CutSelection): make the cursor valid before the call to
12498         ClearSelection.
12499
12500 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12501
12502         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12503         relied on 0 terminated strings and other horrors. Bug found due to
12504         the new assert in lyxstring!
12505
12506         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12507         KP_ keys.
12508
12509 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12510
12511         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12512         to latinkeys.bind.
12513
12514         * lyxfunc.C (processKeySym): change method of getting to the
12515         self-insert char.
12516
12517         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12518         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12519         * BufferView_pimpl.[Ch]: here as private methods.
12520
12521 2001-05-28  Juergen Vigna  <jug@sad.it>
12522
12523         * text.C (SetHeightOfRow): added the update() call again as it is
12524         needed to initialize inset dimensions!
12525
12526 2001-05-16  Juergen Vigna  <jug@sad.it>
12527
12528         * text2.C (SetCharFont): Add new function with BufferView * and
12529         bool toggleall parameters for setting insets internal fonts.
12530         (SetFont): Freeze the undo as we may change fonts in Insets and
12531         all this change should be inside only one Undo!
12532
12533         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12534         setting font's in insets as for them we have the SetFont function!
12535
12536 2001-05-15  Juergen Vigna  <jug@sad.it>
12537
12538         * text2.C (ClearSelection): to be sure we REALLY don't have any
12539         selection anymore!
12540
12541         * tabular.C (TeXCellPreamble): fixed the left border problem for
12542         multicolumn cells.
12543
12544 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12545
12546         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12547         dependancy file
12548
12549 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12550
12551         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12552         LFUN_BREAKPARAGRAPH.
12553
12554         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12555         help test to "internal only", similar for LFUN_INSERT_URL
12556
12557         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12558         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12559         auto_region_delete and deadkeys.
12560
12561 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * LColor.h:
12564         * LColor.C: remove some dead entries, tidy a little
12565
12566 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12567
12568         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12569         commented code.
12570         (Dispatch): implement LFUN_ESCAPE
12571
12572         * commandtags.h: add LFUN_ESCAPE
12573
12574         * LyXAction.C (init): add entry for LFUN_ESCAPE
12575
12576         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12577         Remove commented code.
12578         (insertNote): moved here
12579         (open_new_inset): moved here
12580
12581         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12582         BufferView_pimpl
12583
12584 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12585
12586         * kbmap.C (findbinding): clean it up and make it work correctly.
12587
12588         * lyx_main.C (init): do not pass argc and argv as parameters
12589
12590 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12591
12592         * buffer.C: fix path for OS/2 & Win32
12593
12594         * lyx_gui.C:
12595         * lyx_main:
12596         * lyx_main.C: Added os:: class.
12597
12598         * os2_defines.h: update
12599
12600 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12601
12602         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12603         better by trying again with reduced state.
12604
12605 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12606
12607         * lyxrc.C (read): print error about invalid key sequence only when
12608         debugging (because not all latinX keysyms are known to some X
12609         servers)
12610
12611         * kbsequence.C (getiso): add a few std:: qualifiers
12612         (getiso): comment out extra return statement.
12613
12614 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12617         handling.
12618         (Dispatch): enhance the accent inset a bit. (not perfect)
12619
12620 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12621
12622         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12623
12624 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12625
12626         * bufferlist.C (emergencyWrite): fix assert() call
12627
12628 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12629
12630         * text.C (InsertChar): Added trivial patch to only send the "you
12631         can not do multiple spaces this way" message once during a
12632         session.
12633
12634 2001-05-08  Baruch Even  <baruch@lyx.org>
12635
12636         * Makefile.am: Changed order of libraries to get LyX to link properly
12637         with the gnome frontend.
12638
12639 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12640
12641         * LaTeXFeatures.h: add a std:: qualifier
12642
12643 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * paragraph.C (String): use stringstream
12646
12647 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * paragraph.C (writeFile): remove footflag arg
12650
12651         * buffer.C (makeLaTeXFile): use stringstream
12652         (latexParagraphs): remove footnot gurba
12653
12654         * LaTeXFeatures.C (getPackages): use stringstream
12655         (getMacros): likewise
12656         (getTClassPreamble): likewise
12657         (getFloatDefinitions): new method
12658
12659         * paragraph.C (writeFile): reindent
12660         (Erase): reindent
12661
12662         * WorkArea.h: revert the xpos + etc changes.
12663
12664         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12665
12666         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12667
12668         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12669         (pasteSelection): likewise
12670         * text2.C (CreateUndo): likewise
12671
12672 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12673
12674         * minibuffer.C (peek_event): temporarily reduce the functionality
12675         of the minibuffer (to allow args on lfuns)
12676
12677         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12678         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12679
12680         * buffer.C (readInset): add compability reading of old float
12681         lists, add reading of new style float list.
12682         (readInset): avoid reevaluation of inscmd.getCmdName()
12683         (getLists): reindent
12684
12685         * MenuBackend.C (MenuItem): implement parsing of
12686         md_floatlistinsert and md_floatinsert.
12687         (expand::LastFiles): move initalizaton of iterators out of loop,
12688         avoid reevaluation.
12689         (expand::Documents): introduce typdedef vector<string> Strings,
12690         and use it.
12691         (expand::ExportFormats): introduce typedef vector<Format const *>
12692         Formats, and use it.
12693         (expand): implement FloatListInsert and FloatInsert.
12694
12695         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12696         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12697         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12698
12699         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12700         handling.
12701         (Dispatch::LFUN_FLOAT_LIST): implement
12702
12703 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12704
12705         * LaTeX.C (run): Fix problem with --export code.
12706
12707 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * BufferView.[Ch] (workarea): removed.
12710         (getClipboard) new method; wrapper for workarea()->getClipboard()
12711
12712         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12713         bug.
12714
12715         * WorkArea.h (width, height, xpos, ypos): These methods all
12716         returned the dimensions of the work_area sub-area of WorkArea,
12717         resulting in a position error if the WorkArea were resized. Now
12718         return the dimensions of the entire WorkArea.
12719
12720         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12721
12722 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12723
12724         * LaTeX.C (deplog): correct the syntax of regex reg1
12725
12726 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12727
12728         * undo.C: remove !NEW_INSETS cruft
12729
12730 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * text2.C: remove !NEW_INSETS cruft
12733
12734         * text.C: remove !NEW_INSETS cruft
12735
12736         * tabular.C: remove !NEW_INSETS cruft
12737
12738         * spellchecker.C: remove !NEW_INSETS cruft
12739
12740         * lyxtext.h: remove !NEW_INSETS cruft
12741
12742         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12743
12744         * lyxfunc.C: remove !NEW_INSETS cruft
12745
12746         * lyxfind.C: remove !NEW_INSETS cruft
12747
12748         * lyx_cb.C: remove !NEW_INSETS cruft
12749
12750         * figureForm.C: remove  !NEW_INSETS cruft
12751
12752         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12753
12754         * buffer.[Ch]: remove !NEW_INSETS cruft
12755
12756         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12757
12758         * CutAndPaste.C: remove !NEW_INSETS cruft
12759
12760         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12761
12762         * BufferView2.C: remove !NEW_INSETS cruft
12763
12764         * BufferView.h: remove !NEW_INSETS cruft
12765
12766 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * Lsstream.h: include LString.h before the sstream headers to
12769         fix problem with gcc 2.95.3 and lyxstring
12770
12771 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * lyx_main.C: add using directives when needed for C functions
12774         declared in std:: namespace.
12775
12776 2001-04-27  Juergen Vigna  <jug@sad.it>
12777
12778         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12779         (SetHeightOfRow): comment out the update call should not be needed!
12780
12781 2001-04-13  Juergen Vigna  <jug@sad.it>
12782
12783         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12784         (LyXTabular): tried to minimize operator= operations (and realized
12785         hopfully Lars wish).
12786
12787 2001-04-27  Juergen Vigna  <jug@sad.it>
12788
12789         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12790
12791 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12792
12793         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12794
12795         * buffer.C (readInset): hack to make listof algorithm work
12796
12797         * BufferView_pimpl.C: hack to make listof algorithm work
12798
12799 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * LyXAction.C: removed all !NEW_INSETS cruft
12802         (init): moved lfun_item in method
12803
12804         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12805
12806 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12807
12808         * BufferView2.C (theLockingInset): white space.
12809
12810 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * minibuffer.C: include <iostream>
12813
12814         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12815
12816         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12817
12818         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12819
12820         * text.[Ch] (TransposeChars): new method
12821
12822 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * call message directly through LyXView instead of through LyXFunc
12825         * BufferView2.C: adjust
12826         * BufferView_pimpl.C: adjust
12827         * FontLoader.C: adjust
12828         * buffer.C: adjust
12829         * bufferview_funcs.C: adjust
12830         * converter.C: adjust
12831         * figureForm.C: adjust
12832         * importer.C: adjust
12833         * lyx_cb.C: adjust
12834         * lyx_gui_misc.C: adjust
12835         * lyxfunc.C: adjust
12836         * lyxvc.C: adjust
12837         * text2.C: adjust
12838         + more files in subdirs
12839
12840         * lyxparagraph.h (size): move up int file
12841         (GetLayout): ditto
12842
12843         * adjust all uses of Assert to lyx::Assert.
12844
12845         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12846         lyxfunctional in namespace lyx
12847         * layout.C (hasLayout): ditto
12848         (GetLayout): ditto
12849         (GetLayout): ditto
12850         (delete_layout): ditto
12851         (NumberOfClass): ditto
12852         * converter.C (GetFormat): ditto
12853         (GetNumber): ditto
12854         (Add): ditto
12855         (Delete): ditto
12856         (SetViewer): ditto
12857         * bufferlist.C (getFileNames): ditto
12858         (emergencyWriteAll): ditto
12859         (exists): ditto
12860         (getBuffer): ditto
12861         * MenuBackend.C (hasSubmenu): ditto
12862         (hasMenu): ditto
12863         (getMenu): ditto
12864         * BufferView_pimpl.C (getInsetByCode): ditto
12865
12866 2001-04-18  Juergen Vigna  <jug@sad.it>
12867
12868         * vspace.C (asLatexString): fixed the 100% problem.
12869
12870 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12871
12872         * lyxfunc.C (Dispatch):
12873         * minibuffer.C:
12874         * minibuffer.h: add a few std:: qualifiers
12875
12876 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * minibuffer.[Ch]: reimplement so that commands is initiated and
12879         run from lyxfunc, simplified som handling, and made the completion
12880         and history code for complete. wip.
12881
12882         * lyxfunc.C (processKeySym): call message
12883         (miniDispatch): new temporary method
12884         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12885         (LFUN_MESSAGE): implement
12886         (LFUN_MESSAGE_PUSH): implement
12887         (LFUN_MESSAGE_POP): implement
12888         (initMiniBuffer): the initial/defualt minibuffer message.
12889
12890         * lyxfont.[Ch]: inline some more getters
12891
12892         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12893
12894         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12895
12896         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12897         (AutoSave): use LFUN_MESSAGE
12898         (Reconfigure): ditto
12899
12900         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12901
12902         * figureForm.C: use LFUN_MESSAGE
12903
12904         * converter.C (runLaTeX): use LFUN_MESSAGE
12905
12906         * bufferview_funcs.C: use LFUN_MESSAGE
12907         (Melt): ditto
12908         (changeDepth): ditto
12909
12910         * bufferparams.h: use boost::
12911
12912         * bufferlist.h: inherit privately from noncopyable
12913
12914         * bufferlist.C (loadLyXFile): remove some commented code.
12915
12916         * buffer.C (runChktex): use LFUN_MESSAGE
12917
12918         * ShareContainer.h: inherit privately from noncopyable
12919
12920         * ParagraphParameters.[hC] (depth): inline it.
12921
12922         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12923         methods.
12924         (message): new method
12925         (messagePush): ditto
12926         (messagePop): ditto
12927         (show): init minibuffer
12928         (showState): direct call
12929
12930         * LaTeX.[Ch]: inherit privately from noncopyable
12931         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12932         instead of WriteStatus.
12933
12934         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12935
12936         * BufferView_pimpl.C (buffer): don't init minibuffer
12937         (workAreaButtonPress): use LFUN_MESSAGE
12938         (workAreaButtonRelease): ditto
12939         (savePosition): ditto
12940         (restorePosition): ditto
12941         (MenuInsertLyXFile): ditto
12942         (workAreaExpose): don't init minibuffer
12943         (update): remove commented code, simplify
12944
12945         * BufferView2.C (openStuff): use LFUN_MESSAGE
12946         (toggleFloat): ditto
12947         (menuUndo): ditto
12948         (menuRedo): ditto
12949         (copyEnvironment): ditto
12950         (pasteEnvironment): ditto
12951         (copy): ditto
12952         (cut): ditto
12953         (paste): ditto
12954         (gotoInset): ditto
12955         (updateInset): remove some commented code
12956
12957         * lastfiles.h: inherit privately from noncopyable
12958         * layout.h: ditto
12959         * lyx_gui.h: ditto
12960         * lyx_main.h: ditto
12961         * lyxlex.h: ditto
12962         * lyxlex_pimpl.h: ditto
12963
12964         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12965         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12966         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12967
12968         * LyXAction.h: inherit privately from noncopyable, add methods
12969         func_begin, func_end, returning iterators to the func map.
12970
12971         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12972         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12973         (func_begin): new method
12974         (func_end): new method
12975
12976         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12977         and not)
12978         (copySelection): ditto
12979         (pasteSelection): ditto
12980
12981         * BufferView.C: whitespace change
12982         * BufferView.h: inherit privately from noncopyable
12983
12984 2001-04-16  Allan Rae  <rae@lyx.org>
12985
12986         * tabular-old.C (l_getline):
12987         * spellchecker.C (sc_check_word):
12988         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12989         an unrecognised preprocessor directive.  So ensure they're wrapped.
12990
12991 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12992
12993         * src/exporter.C (Export): Give an error message when path to file
12994         contains spaces.
12995
12996 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12997
12998         * LaTeX.C (deplog): Always check that foundfile exists.
12999
13000 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * lyx_main.h:
13003         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13004
13005 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13006
13007         * tabular.[Ch] (getLabelList): implement new method
13008
13009         * minibuffer.h: comment ouf setTiimer
13010
13011         * minibuffer.C (ExecutingCB): constify res
13012         (peek_event): constify s
13013         (Set): constify ntext
13014         (Init): constify nicename
13015
13016         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13017
13018         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13019         (savePosition): use two params to Minibuffer::Set
13020         (restorePosition): ditto
13021
13022 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13023
13024         * lyx_main.C: include language.h
13025
13026         * Makefile.am (lyx_main.o): add language.h
13027
13028 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13029
13030         * exporter.C:
13031         * paragraph.C:
13032         * screen.C:
13033         * tabular.C:
13034         * CutAndPaste.C: include gettext.h
13035
13036         * lyxfont.h: remove old hack with ON and OFF.
13037
13038         * lyxparagraph.h:
13039         * lyxfont.h: do not include language.h...
13040
13041         * BufferView2.C:
13042         * LaTeXFeatures.C:
13043         * Painter.C:
13044         * bufferview_funcs.C:
13045         * font.C:
13046         * lyxfont.C:
13047         * text.C:
13048         * text2.C:
13049         * trans_mgr.C:
13050         * paragraph.C: ... but do it here instead
13051
13052 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13055
13056         * tabular.C: small reformat
13057
13058         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13059         NEW_INSETS version
13060         (GetChar): ditto
13061         (BreakParagraph): ditto
13062         (SetOnlyLayout): ditto
13063         (SetLayout): ditto
13064
13065         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13066         with one arg less.
13067
13068         * lastfiles.C: removed most using decl, add std:: where needed
13069
13070         * buffer.C: ws changes
13071
13072         * MenuBackend.C (class compare_format): put into anon namespace
13073         (expand): constify label, names, action, action2
13074         (expand):
13075
13076         * text.C (SingleWidth): constify font
13077         (IsBoundary): constify rtl2
13078         (GetVisibleRow): constify ww
13079
13080         * LaTeX.C (deplog): constify logfile
13081
13082         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13083         start_x, end_x
13084         (workAreaExpose): constify widthChange, heightChange
13085
13086         * lyxrow.C (par): moved
13087         (height): moved
13088         (next): moved
13089         * lyxrow.h: as inlines here
13090
13091         * lyxfont.h (shape): moved from lyxfont.C
13092         (emph): moved from lyxfont.C
13093
13094         * lyxfont.C (LyXFont): use initialization list for all
13095         constructors
13096         (shape): move to lyxfont.h as inline
13097         (emph): move to lyxfont.h as inline
13098
13099
13100 2001-04-04  Juergen Vigna  <jug@sad.it>
13101
13102         * vspace.C: had to include stdio.h for use of sscanf
13103
13104 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13105
13106         * BufferView.h:
13107         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13108         independent of xforms.
13109
13110 2001-04-02  Juergen Vigna  <jug@sad.it>
13111
13112         * spellchecker.C: fixed namespace placing!
13113
13114 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13117         the LyXParagraph * is 0.
13118
13119 2001-03-29  Juergen Vigna  <jug@sad.it>
13120
13121         * vspace.C: added support for %, c%, p%, l%.
13122         (stringFromUnit): added helper function.
13123         (asLatexString): changed to give right results for the %-values.
13124
13125         * buffer.C: convert the widthp in a width%.
13126
13127 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13128
13129         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13130         figureForm.[Ch].
13131
13132         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13133         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13134
13135         * lyx_cb.[Ch]: see above.
13136
13137         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13138         form1.[Ch].
13139
13140         * form1.[Ch]:
13141         * lyx.[Ch]: replaced by figure_form.[Ch].
13142
13143         * lyx_gui.C:
13144         * lyx_gui_misc.C:
13145         * lyxfunc.C: changed headers associated with above changes.
13146
13147 2001-03-27  Juergen Vigna  <jug@sad.it>
13148
13149         * BufferView_pimpl.C: set the temporary cursor right!
13150
13151 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13152
13153         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13154
13155 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13156
13157         * LString.h: removed "using std::getline"!
13158
13159         * BufferView_pimpl.C (Dispatch): changes due to changes in
13160         InsetInclude::Params.
13161
13162         * buffer.C (tag_name): removed redundant break statements as they were
13163         producing lots of warnings with my compiler.
13164
13165 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13166
13167         * LString.h: add "using std::getline" when using the real <string>.
13168
13169 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13170
13171         * buffer.C: removed bitset usage.
13172         PAR_TAG moved to an anonymous name space.
13173         (tag_name): new funtion, also in the anonymous namespace.
13174         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13175         (makeDocBookFile): clean code. Completed transition from string arrays
13176         to string vectors.
13177         (SimpleDocBookOnePar): code clean.
13178
13179 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13180
13181         * tabular.C: add some comments.
13182
13183 2001-03-22  Juergen Vigna  <jug@sad.it>
13184
13185         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13186         compatibility read a bit and fixed bug with minipage in different
13187         depth.
13188
13189 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13190
13191         * buffer.C (pop_tag): removed.
13192         (push_tag): removed.
13193         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13194         array replaced with vector. Added support for CDATA sections.
13195         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13196         at any nest level.
13197         (makeDocBookFile): XML conformant declaration of CDATA section,
13198         fixed bug related to <emphasis> in the first paragraph char.
13199         (sgmlOpenTag): exclude empty tags.
13200         (sgmlCloseTag): ditto.
13201
13202         * buffer.h (pop_tag): removed.
13203         (push_tag): removed.
13204
13205 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13206
13207         * language.h (Languages): added size_type and size().
13208
13209 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13210
13211         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13212         response on compability reading of minipages. One probliem is that
13213         the old usage of minipages was «flertydig»
13214
13215         * several files here and in subdirs: don't use static at file
13216         scope use anon namespaces instead.
13217
13218 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13219
13220         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13221         LaTeX output. This is necessary for Literate document
13222         processing.
13223
13224 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13225
13226         * buffer.C: insert hfill when needed.
13227
13228         * tabular.C (l_getline): use string::erase, small whitespace change.
13229
13230         * BufferView_pimpl.C: try the anon namespace.
13231         * WorkArea.C: ditto
13232
13233 2001-03-16  Juergen Vigna  <jug@sad.it>
13234
13235         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13236         otherwise it won't open options-dialogs.
13237
13238         * buffer.C: honor pextraWidth(p) on converting minipages.
13239
13240         * tabular.C (l_getline): changed the functions to strip trailing \r.
13241
13242 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13243
13244         * BufferView_pimpl.C:
13245         * minibuffer..C: added "using SigC::slot" declaration.
13246
13247 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13248
13249         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13250
13251         * text2.C: ditto
13252
13253         * text.C: ditto
13254
13255         * paragraph.C: ditto
13256
13257         * lyxtext.h: NO_PEXTRA
13258
13259         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13260
13261         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13262         * ParameterStruct.h: ditto
13263         * ParagraphParameters.h: ditto
13264         * lyxparagraph.h: ditto
13265
13266 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13267
13268         * buffer.C: add compability for minipage alignment.
13269         (latexParagraphs): remove unwanted pextra check.
13270
13271         * several files: remove CXX_WORKING_NAMESPACES
13272
13273         * buffer.C (pop_tag): tie is in namespace boost
13274
13275         * BufferView.h: noncopyable is in namespace boost
13276         * lyxlex.h: ditto
13277         * lyx_main.h: ditto
13278         * lyx_gui.h: ditto
13279         * layout.h: ditto
13280         * lastfiles.h: ditto
13281         * bufferlist.h: ditto
13282         * ShareContainer.h: ditto
13283         * LyXView.h: ditto
13284         * LyXAction.h: ditto
13285         * LaTeX.h: ditto
13286
13287 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13288
13289         * Merging changes from BRANCH_MVC back into HEAD.
13290
13291         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13292
13293 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13294
13295         * BufferView_pimpl.C: change from intl.C
13296
13297         * combox.h:
13298         * combox.C:
13299         * Makefile.am: move combox.*
13300
13301         * form1.h:
13302         * form1.C:
13303         * lyx_gui.C:
13304         * intl.h:
13305         * intl.C: remove dialog (covered by prefs)
13306
13307 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13308
13309         * lyxfunc.C (Dispatch): removed redundant break statement.
13310
13311 2001-03-14  Juergen Vigna  <jug@sad.it>
13312
13313         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13314
13315 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13316
13317         * buffer.C: add hack to fix compability reading of minipages.
13318
13319 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13320
13321         * buffer.C (getLists): Cleanup.
13322
13323 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13324
13325         * lyxfont.C (update): don't honor toggleall on font size.
13326
13327 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13328
13329         * bmtable.c:
13330         * bmtable.h:
13331         * Makefile.am: moved to frontends/xforms/
13332
13333         * lyx_gui_misc.C:
13334         * lyxfunc.C:
13335         * BufferView_pimpl.C: changes for moved mathpanel
13336
13337 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13338
13339         * gettext.h: fix gettext_init() in --disable-nls
13340
13341 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13342
13343         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13344
13345 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * lyx.C:
13348         * lyx.h: strip external form
13349
13350 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13351
13352         * BufferView_pimpl.C: add comment, destroySplash()
13353
13354 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * BufferView_pimpl.C:
13357         * LyXAction.C:
13358         * buffer.C:
13359         * commandtags.h:
13360         * lyxfunc.C: use re-worked insetinclude
13361
13362 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13363
13364         * buffer.C: add using std::stringstream.
13365
13366         * lyx_cb.C: readd using std::ios.
13367
13368         * buffer.C: add using std::map.
13369
13370         * BufferView_pimpl.C: add using std::vector.
13371
13372         * ShareContainer.h: add std:: to swap.
13373
13374         * buffer.h: add some typedefs
13375         * buffer.C (getLists): use them
13376         (getLists): renamed from getTocList.
13377         add a counter for the different float types and use it in the
13378         generated string.
13379         (getLists): use the same counter for the NEW_INSETS and the "non"
13380         NEW_INSETS
13381
13382         * lyx_cb.h: remove unused items, includes, using etc.
13383
13384         * ShareContainer.h: remove some commented code, add more comments
13385         and "documentation".
13386
13387 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13388
13389         * buffer.C (getTocList): make the list also when NEW_INSETS is
13390         defined.
13391
13392         * buffer.h: remove TocType
13393
13394         * buffer.C (getTocList): change to return a map<string,
13395         vector<TocItem> >, implement for dynamic number of list.
13396
13397         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13398         * text2.C (PasteSelection): adjust
13399         * CutAndPaste.C (pasteSelection): adjust
13400
13401         * FloatList.C (FloatList): update from the new_insets branch.
13402         * Floating.[Ch]: ditto
13403         * LaTeXFeatures.C: ditto
13404         * buffer.C: ditto
13405         * lyxlex_pimpl.C: ditto
13406
13407         * paragraph.C (Last): remove when NEW_INSETS is defined.
13408
13409         * other file: changes because of the above.
13410
13411 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13412
13413         * lyxparagraph.h: rename next to next_, previous to previous_,
13414         make them private for NEW_INSETS. Rename Next() to next(),
13415         Previous() to previous().
13416
13417         * other files: changes because of the above.
13418
13419 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13420
13421         * BufferView.h:
13422         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13423         problem.
13424
13425 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * main.C (main): pass lyx_localedir to gettext_init().
13428
13429         * gettext.h: remove locale_init and gettext_init macros
13430
13431         * gettext.C (locale_init): new function
13432         (gettext_init): new function
13433
13434         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13435         setlocale().
13436
13437 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13438
13439         * Moved credits to frontends:
13440         * credits.[Ch]: removed
13441         * credits_form.[Ch]: removed
13442         * lyx_gui_misc.C: remove credits stuff
13443         * Makefile.am:
13444
13445 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13446
13447         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13448
13449         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13450         unneeded destructor.
13451
13452         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13453         a standalone pointer again.
13454
13455         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13456
13457 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13458
13459         * Makefile.am:
13460         * filedlg.h:
13461         * filedlg.C:
13462         * LyXAction.C:
13463         * ToolbarDefaults.C:
13464         * bufferlist.C:
13465         * commandtags.h:
13466         * form1.C:
13467         * form1.h:
13468         * lyx_cb.C:
13469         * lyx_cb.h:
13470         * lyxfunc.h:
13471         * lyxfunc.C:
13472         * BufferView_pimpl.C: use new file dialog in GUII
13473
13474         * lyx_cb.h:
13475         * lyx_cb.C: remove LayoutsCB to Toolbar
13476
13477 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13478
13479         * ShareContainer.h (get): add std:: qualifier
13480
13481 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13482
13483         * ShareContainer.h: define a proper ShareContainer::value_type
13484         type (and use typename to please compaq cxx)
13485
13486 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13487
13488         * lyxparagraph.h: move serveral local vars to
13489         ParameterStruct/ParagraphParameters., use ShareContainer in
13490         FontTable., make vars in FontTable private and add getter and
13491         setter.
13492
13493         * paragraph.C: changes because of the above.
13494
13495         * lyxfont.h: remove copy constructor and copy assignment. (the
13496         default ones is ok), move number inside FontBits. move inlines to
13497         lyxfont.C
13498
13499         * lyxfont.C: add number to initializaton of statics, move several
13500         inlines here. constify several local vars. some whitespace
13501         cleanup. Dont hide outerscope variables.
13502
13503         * Spacing.h: add two new constructors to match the set methods.
13504
13505         * ShareContainer.h: new file, will perhaps be moved to support
13506
13507         * ParameterStruct.h: new file
13508
13509         * ParagraphParameters.h: new file
13510
13511         * ParagraphParameters.C: new file
13512
13513         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13514         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13515
13516         * BufferView_pimpl.C: ParagraphParameter changes.
13517         * buffer.C: Likewise.
13518         * bufferview_funcs.C: Likewise.
13519         * text.C: Likewise.
13520         * text2.C: Likewise.
13521
13522 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * lyxfind.C (LyXReplace): do not redefine default argument in
13525         implementation.
13526         (IsStringInText): ditto
13527         (SearchForward): ditto
13528         (SearchBackward): ditto
13529
13530 2001-03-06  Juergen Vigna  <jug@sad.it>
13531
13532         * lyxfind.C (IsStringInText): put parentes around expressions.
13533
13534 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13535
13536         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13537
13538 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13539
13540         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13541
13542         * stl_string_fwd.h: add comment
13543
13544         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13545
13546         * tabular.h:
13547         * tabular.C: remove unused DocBook methods
13548
13549         * intl.C:
13550         * language.C:
13551         * paragraph.C:
13552         * buffer.C:
13553         killed DO_USE_DEFAULT_LANGUAGE
13554
13555 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * lyx_gui.C: do not include language.h.
13558
13559         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13560         arguments in function implementation.
13561
13562 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13563
13564         * BufferView_pimpl.C: add <ctime>
13565
13566 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13567
13568         * BufferView_pimpl.C: add using std::find_if
13569
13570 2001-02-27  José Matos  <jamatos@fep.up.pt>
13571
13572         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13573         by OnlyPath.
13574
13575 2001-02-11  José Matos  <jamatos@fep.up.pt>
13576
13577         * buffer.C (makeDocBookFile): command styles now have a parameter as
13578         "title" by default.
13579
13580 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13581
13582         * layout_forms.[Ch]: removed
13583         * lyx_cb.[Ch]: out character
13584         * lyx_gui.C: out character
13585         * lyx_gui_misc.C: out character
13586         * bufferview_funcs.C: : out character,
13587         added toggleall as parameter in ToggleAndShow
13588
13589 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13590
13591         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13592
13593         * text2.C (SetCurrentFont): Disable number property at boundary.
13594
13595 2001-02-26  Juergen Vigna  <jug@sad.it>
13596
13597         * lyxfunc.C (getStatus): added a string argument override function so
13598         that this is correctly called from LyXFunc::Dispatch if it contains a
13599         do_not_use_argument which is used!
13600         (Dispatch): added check for "custom" export and call appropriate func.
13601
13602 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13603
13604         * lyxrc.C: Add language_command_local, language_use_babel and
13605         language_global_options.
13606
13607         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13608
13609         * buffer.C (makeLaTeXFile): Use language_use_babel and
13610         language_global_options.
13611
13612 2001-02-23  Juergen Vigna  <jug@sad.it>
13613
13614         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13615         which works with LyXText and putted it inside BufferView. Here now we
13616         only call for that part the BufferView::Dispatch() function.
13617
13618         * BufferView.C (Dispatch): added.
13619
13620         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13621         functions which needs to use a LyXText over from LyXFunc.
13622         (MenuInsertLyXFile): added
13623         (getInsetByCode): added
13624         (moveCursorUpdate): added
13625         (static TEXT): added
13626
13627 2001-02-22  Juergen Vigna  <jug@sad.it>
13628
13629         * BufferView_pimpl.C (update): call a status update to see if LyXText
13630         needs it.
13631
13632 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13633
13634         * vc-backend.C (revert): implement for CVS
13635         (getLog): implement for CVS
13636
13637 2001-02-20  Juergen Vigna  <jug@sad.it>
13638
13639         * text2.C (ClearSelection): added BufferView param for inset_owner call
13640
13641         * lyxfunc.C (TEXT): added this function and use it instead of
13642         directly owner->view()-text of getLyXText().
13643
13644 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13645
13646         * src/layout_forms.C: out preamble
13647         * src/layout_forms.h: out preamble
13648         * src/lyx_cb.C: out preamble
13649         * src/lyx_cb.h: out preamble
13650         * src/lyx_gui.C: out preamble
13651         * src/lyx_gui_misc.C: out preamble
13652         * src/lyxfunc.C: connect with guii preamble
13653
13654 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13655
13656         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13657
13658 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13661         whether to run bibtex.
13662
13663 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13664
13665         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13666
13667 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13668
13669         * Makefile.am (lyx_SOURCES): removed bibforms.h
13670
13671         * vspace.h: doxygen
13672
13673         * text.C (GetVisibleRow): make several local vars const
13674
13675         * tabular.C: small cleanup.
13676
13677         * lyxserver.C (callback): use compare instead of strncmp
13678
13679         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13680         inlines to after class or to paragraph.C
13681
13682         * lyxfont.h: remove friend operator!=
13683
13684         * converter.h: move friend bool operator< to non friend and after
13685         class def.
13686
13687         * combox.h: small cleanup
13688
13689         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13690         to inlines after class def.
13691
13692         * buffer.C (pop_tag): use string operations instead of strcmp
13693
13694         * bmtable.c: doxygen, small cleanup
13695
13696         * LaTeX.h: remove friend operator==
13697
13698 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13699
13700         * screen.C:
13701         * lyxrc.[Ch]:
13702         * lyxfunc.C:
13703         * lyxfont.[Ch]:
13704         * lyx_cb.C:
13705         * intl.[Ch]:
13706         * commandtags.h:
13707         * buffer.C:
13708         * WorkArea.[Ch]:
13709         * LyXAction.C:
13710         * BufferView_pimpl.C:
13711         * BufferView.[Ch]: remove cruft
13712
13713 2001-02-14  Juergen Vigna  <jug@sad.it>
13714
13715         * lyxfunc.C: removed #if 0 unused code
13716
13717         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13718
13719         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13720
13721         * text2.C (SetSelection): added a BufferView * parameter
13722
13723 2001-02-13  Juergen Vigna  <jug@sad.it>
13724
13725         * lyxfunc.C (Dispatch): fixed protected blank problem.
13726         * BufferView2.C (protectedBlank): added LyxText * parameter.
13727
13728         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13729         (AppendColumn): same as above for column_info.
13730
13731         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13732         (moveCursorUpdate): use a LyXText param for support of InsetText.
13733
13734         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13735         (tripleClick): ditto
13736
13737         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13738
13739         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13740
13741         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13742
13743         * text2.C (SetSelection): set correct update status if inset_owner
13744         (ToggleFree): ditto
13745
13746 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13747
13748         * tabular.C: remove some commented code.
13749
13750 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13751
13752         * BufferView_pimpl.C: call hideSplash()
13753
13754         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13755
13756         * include_form.h:
13757         * bibforms.h: remove
13758
13759         * lyxfunc.C:
13760         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13761           add LFUN_CHILD_CREATE
13762
13763         * counters.h: fix tiny typo
13764
13765         * lyx_cb.C:
13766         * lyx.h:
13767         * lyx_gui.C:
13768         * lyx.C: move splash to frontends/xforms/
13769
13770         * lyx_gui_misc.C: move Include and Bibform to frontends
13771
13772         * lyxvc.h: clarify comment
13773
13774         * vspace.C: tiny housekeeping
13775
13776 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13777
13778         * text.C (PrepareToPrint): RTL Fix.
13779
13780         * paragraph.C (GetUChar): New method.
13781         (String):  Use GetUChar.
13782
13783         * buffer.C (asciiParagraph): Use GetUChar.
13784
13785 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13786
13787         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13788
13789 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13790
13791         * buffer.h:
13792         * buffer.C: rename to getLogName(), handle
13793           build log / latex log nicely
13794
13795 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13796
13797         * MenuBackend.C:
13798         * MenuBackend.h: remove support for reference menuitem type.
13799
13800 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13801
13802         * BufferView_pimpl.C: housekeeping
13803         * BufferView_pimpl.h:
13804         * LyXView.h:
13805         * Makefile.am:
13806         * Timeout.C:
13807         * Timeout.h:
13808         * minibuffer.h: move Timeout GUI-I
13809
13810 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13811
13812         * lyxrc.C (read): Update converters data-structures.
13813
13814 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13815
13816         * LaTeX.h (operator!=): add operator != for Aux_Info
13817
13818 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13819
13820         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13821
13822         * LaTeXLog.C: deleted, useful code moved to Buffer
13823
13824         * buffer.h:
13825         * buffer.C: new function getLatexLogName()
13826
13827         * lyx_gui_misc.C:
13828         * lyx_gui.C:
13829         * lyxvc.C:
13830         * lyxvc.h:
13831         * lyxfunc.C: use frontends for LaTeX and VC logs
13832
13833 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13834
13835         * LaTeX.h: yet another std:: that Allan forgot.
13836
13837         * Variables.C (set): renamed from isset(), because this clashes
13838         with some HP-UX macros (grr).
13839
13840 2001-02-06  Allan Rae  <rae@lyx.org>
13841
13842         * LaTeX.h: Another bug fix.  Missing std:: this time.
13843
13844 2001-02-04  Allan Rae  <rae@lyx.org>
13845
13846         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13847         floats problem. I've left it commented out because it's not quite
13848         correct.  It should also test that the current object is a table or
13849         figure inset.  But I haven't gotten around to figuring out how to do
13850         that.  I *think* it'll be something like: "table" == inset.type()
13851
13852         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13853         bool.
13854
13855 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13856
13857         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13858         all the citation/databases/styles in the auxilary file.
13859         (run): Rerun latex if there was a babel language error.
13860
13861 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13862
13863         * text.C (Backspace): Preserve the font when changing newline char
13864         with a space.
13865         (BreakParagraph): If the cursor is before a space, delete the space.
13866
13867         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13868
13869 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13870
13871         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13872         new argument (code).
13873         (ChangeCitationsIfUnique): New method.
13874
13875         * paragraph.C (GetPositionOfInset): Handle bibkey.
13876
13877 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13878
13879         * BufferView_pimpl.h: change type of Position::par_pos to
13880         LyXParagraph::size_type.
13881
13882 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13883
13884         * BufferView_pimpl.C (savePosition, restorePosition): Write
13885         messages to minibuffer.
13886
13887 2001-01-28  José Matos  <jamatos@fep.up.pt>
13888
13889         * buffer.C (makeDocBookFile): adds support for document language.
13890         A silly restriction on the name of LatexCommand types where removed.
13891         Added support for CDATA sections, allows to chars unescaped, used
13892         among others in code, to avoid escape < and >.
13893
13894 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13897         saved positions instrad of a stack. Furthermore, a position is
13898         stored using paragraph id/paragraph position.
13899
13900         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13901         Remove LFUN_REF_BACK.
13902
13903 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13904
13905         * converter.C (dvipdfm_options): New method.
13906
13907 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13908
13909         * vspace.C (isValidLength): Fix for empty input string.
13910
13911 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13912
13913         * LyXAction.C (init): change description of LFUN_FIGURE to
13914         "Insert Graphics"
13915
13916 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13917
13918         * LaTeX.C: add using directive
13919
13920 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13921
13922         * MenuBackend.C (expand): Fix the sorting of the formats.
13923
13924 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * lyx_main.C: tiny error message fix
13927
13928 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13929
13930         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13931         calling fl_initialize(). This fixes the problem with ',' as
13932         decimal separator in text files.
13933
13934 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13935
13936         * trans.C (process): Fix the keymap bug.
13937
13938 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13939
13940         * LaTeX.C (scanAuxFiles): New method. Provides support for
13941         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13942         (scanLogFile) Scan for "run BibTeX" messages.
13943
13944         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13945         OT1 font encoding. Also, load the aecompl package if the ae
13946         package is loaded.
13947
13948         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13949
13950 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * texrow.C (increasePos): turn two error messages into debug
13953         messages.
13954
13955 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13956
13957         * LaTeX.C (scanAux): Handle the \@input macro.
13958         (runBibTeX): Use scanAux().
13959
13960         * language.C (latex_options_): New field.
13961
13962         * LaTeXFeatures.C (getMacros): Add language macros.
13963
13964         * buffer.C (makeLaTeXFile): Small fix.
13965
13966 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13967
13968         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13969
13970         * text2.C: add a using directive.
13971
13972 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13973
13974         * BufferView2.C:
13975         * lyx_gui_misc.h:
13976         * lyxfr1.C:
13977         * lyxfunc.C: kill LyXBell.
13978
13979 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13980
13981         * text.C (IsBoundary): Remove the error message
13982
13983         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13984
13985         * lyxrc.C (setDefaults): Correct initialization value for
13986         font_norm_type.
13987
13988 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13989
13990         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13991         gotoError().
13992
13993         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13994         and GotoNextNote().
13995
13996         * src/LyXAction.C: Added reference-next.
13997
13998         * text.C (InsertChar): Use contains instead of strchr.
13999
14000         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14001
14002 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14003
14004         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14005         alignment commands (when needed).
14006
14007         * text.C (InsertChar): Add ':' to number separator chars.