]> git.lyx.org Git - features.git/blob - src/ChangeLog
fix a crash while importing from LaTeX
[features.git] / src / ChangeLog
1 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * converter.C (convert): fix a crash: this function gets
4         called with buffer == 0 from importer code.
5
6 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
7
8         * text3.C (cursorPrevious): make sure that we do not compare
9         iterators form different containers.
10         (cursorNext): ditto
11
12         * rowpainter.C (paintSelection): make sure that we do not compare
13         iterators from different containers.
14
15         * text3.C (dispatch): [PRIOR] make sure that we do not compare
16         iterators from different ParagraphList containers.
17         [NEXT] ditto
18
19         * text2.C (LyXText): change order of initialization slightly
20         (operator=): new function. copy all variables except cache_par_
21         (moveUp): make sure that we do not compare iterators from
22         different ParagraphList constainers.
23         (moveDown): ditto
24
25         * text.C (firstPar): new function
26         (lastPar): new function
27         (endPar): new function
28
29         * lyxtext.h: move things around and group public functions, public
30         variables, private functions, private variables
31
32 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
33
34         * factory.C: change call to InsetERT constructor to avoid
35         additional invocation of method status
36         * text2.C (toggleInset): remove redundant update() call
37         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
38         instead of a Bufferview pointer
39
40 2003-11-21  André Pönitz  <poenitz@gmx.net>
41
42         * rowpainter.C: simplification
43
44 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
45
46         * text3.C (dispatch): make possible to extend a word/row selection
47         with the mouse
48
49 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
50
51         * lyxtext.h: x0_,y0_ -> xo_,yo_
52         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
53         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
54         * rowpainter.C (paintRows): paint full paragraphs
55
56 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
57
58         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
59         screen coordinates)
60
61 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
62
63         * lyxtext.h: add x0_, y0_
64         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
65         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
66
67 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
68
69         * text2.C (setCursorIntern): move the x_target update here *
70         * text3.C: change some bv() to true/false in calls to
71         cursorUp/Down/Right/Left
72         * cursor.C: use helper function.
73
74 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
75
76         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
77         * paragraph_funcs.[Ch]: correct comment
78         * rowpainter.C: do not paint selections away from bv->cursor()
79         Fix a long standing selection painting bug.
80         * text3.C: generalize mouse-selection code to LyXTexts other that
81         top one
82         * textcursor.C: do not use y coords if we can use par offsets
83
84 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
85
86         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
87         cursor position after e.g. inset insert)
88
89 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
90
91         * lyxfind.C (replace): adjust to locking removal + some
92         code simplification
93
94 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
95
96         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
97         of the path
98
99 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * lyxlayout.[Ch]:
102         * output_docbook.C: XML sanitation: new layout
103         parameters InnerTag and CommandDepth
104
105 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
106
107         * BufferView_pimpl.C:
108         * factory.C:
109         * text3.C: Fix the insertion and modification of button-style
110         insets
111
112 2003-11-13  André Pönitz  <poenitz@gmx.net>
113
114         * InsetList.[Ch]: remove deleteLyXText
115
116         * paragraph.[Ch]: cache beginOfBody position
117
118         * Bidi.C:
119         * text.C:
120         * text2.C:
121         * text3.C: remove superfluous update() calls
122
123         * vspace.C: cleanup
124
125 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
126
127         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
128         * BufferView.C (fitLockedInsetCursor): remove
129         * cursor.[Ch] (getDim): add
130         * text.C (getRowNearY): add faster version
131         * text3.C: remove some update calls
132
133 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
134
135         * LaTeXFeatures.C:
136         * LyXAction.C:
137         * MenuBackend.C:
138         * MenuBackend.h:
139         * dispatchresult.h:
140         * factory.C:
141         * lfuns.h:
142         * lyxfunc.C:
143         * lyxtextclass.C:
144         * lyxtextclass.h:
145         * text3.C: The Character Style /XML short element patch.
146
147 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
148
149         * text3.C:
150         * factory.C: Small step to solving 'unable to insert some insets'
151         problem
152
153 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
154
155         * cursor.[Ch] (updatePos): new function for updating the y
156         position of the tip inset
157         * bufferview_funcs.C (put_selection_at):
158         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
159
160 2003-11-11  André Pönitz  <poenitz@gmx.net>
161
162         * text.C: remove big comment on invalid Paragraph pointers as it is
163         not valid anymore
164
165 2003-11-11  André Pönitz  <poenitz@gmx.net>
166
167         * text_funcs.[Ch]: merge with ...
168
169         * text.C: ... this
170
171         * lyxtext.h:
172         * text2.C:
173         * text3.C: adjust
174
175         * Makefile.am: remove text_funcs.[Ch]
176
177 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
178
179         * cursor.C (getPos): return absolute cached y coord
180
181         * BufferView_pimpl.C (fitCursor): new simplistic code
182         (workAreaDispatch): add a fitCursor call
183
184 2003-11-10  André Pönitz  <poenitz@gmx.net>
185
186         * BufferView.[Ch]:
187         * BufferView_pimpl.[Ch]: merge update() and updateInset()
188
189 2003-11-10  André Pönitz  <poenitz@gmx.net>
190
191         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
192         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
193         indicate that the cursor needs to leave an inset
194
195         * lyxtext.h: remove inset locking
196
197         * cursor.[Ch]: re-implement functionality provided by inset locking
198
199         * BufferView.[Ch]:
200         * BufferView_pimpl.[Ch]:
201         * LyXAction.C:
202         * bufferview_funcs.[Ch]:
203         * factory.C:
204         * funcrequest.[Ch]:
205         * iterators.C:
206         * lyx_cb.C:
207         * lyxfind.C:
208         * lyxfunc.C:
209         * text.C:
210         * text2.C:
211         * text3.C:
212         * undo.C: adjust
213
214 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
215
216         * PosIterator.[Ch]: replace the stack with a vector, add inset
217         accesor
218         * iterators.[C]: adjust
219
220 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
221
222         * lyxfind.C (replaceAll): mark the buffer dirty if something was
223         replaced
224         * paragraph_funcs.C (readParToken): put the correct id in the
225         error item, not the id of the top paragraph
226
227 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
228
229         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
230         * bufferview_funcs.C (put_selection_at): use the above
231
232 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
233
234         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
235
236 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * output_linuxdoc.h:
239         * output_plaintext.h:
240         * output.h:
241         * output_docbook.h: add #include statements
242
243 2003-11-05  José Matos  <jamatos@lyx.org>
244
245         * output_docbook.[Ch]:
246         * output_latex.[Ch]:
247         * output_linuxdoc.[Ch]:
248         * output_plaintext.[Ch]: New files for output formats.
249         * output.[Ch]: New file for helper functions.
250
251         * buffer.[Ch]:
252         * paragraph_funcs.[Ch]: output functions moved to new files.
253
254         * outputparams.h: rename of latexrunparams.h
255
256         * LaTeX.[Ch]:
257         * buffer.[Ch]:
258         * bufferlist.[Ch]:
259         * converter.[Ch]:
260         * exporter.C:
261         * paragraph.[Ch]:
262         * paragraph_funcs.[Ch]:
263         * paragraph_pimpl.[Ch]:
264         * tabular.[Ch]: rename ascii to plaintext
265         and LatexRunParams to OutputParams.
266
267 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
268
269         * iterators.[Ch] (text): require bv argument
270         * undo.C (recordUndo):
271         * lyxfunc.C (dispatch):
272         * bufferview_funcs.C (put_selection_at): adjust
273
274 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
275
276         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
277
278 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
279
280         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
281         nestings
282
283 2003-11-04  André Pönitz  <poenitz@gmx.net>
284
285         * cursor.[Ch]: restructure
286
287         * BufferView.[Ch]:
288         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
289
290         * iterators.[Ch] (asCursor): remove
291
292         * lfuns.h: remove LFUN_INSET_EDIT
293
294         * lyxfunc.C:
295         * tabular.C:
296         * text.C:
297         * text2.C:
298         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
299
300 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
301
302         * lyxfind.[Ch]: complete overhaul
303         * BufferView_pimpl.C:
304         * lyxfunc.C: adjust
305         * paragraph.[Ch] (insert): add
306
307 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
308
309         * BufferView.[Ch]:
310         * lyxtext.h:
311         * text.C: remove dead spellcheck code
312
313 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
314
315         * dispatchresult.h: add a val setter
316
317         * cursor.C (dispatch): use a tempvar for data_[i]
318
319 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
320
321         * PosIterator.[Ch]: compile fix
322
323 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
324
325         * text.C (cursorPar): deactivate the cursor cache
326
327 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
328
329         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
330
331 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
332
333         * text3.C (dispatch): adjust for new DisptchResult semantics.
334
335         * lyxfunc.C (dispatch): handle update when return from
336         Cursor::dispatch, adjust for new DispatchResult semantics.
337
338         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
339         DispatchResult(true) mean to not update. Add class functions for
340         setting dispatched and update, as well as reading.
341
342         * cursor.C (dispatch): don't handle update here
343
344 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
345
346         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
347         * trans_mgr.C: adjust
348
349         * paragraph_funcs.C (readParToken): exception safety
350
351         * lyxvc.h: store the vcs pointer in a scoped_ptr
352         * lyxvc.C: adjust
353
354         * lyxsocket.C (serverCallback): exception safety
355
356         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
357
358         * ispell.C (clone): make it return a auto_ptr
359
360         * factory.C (createInset): exception safety
361         (readInset): exception safety
362
363         * bufferlist.C (newBuffer): exception safety
364
365         * Thesaurus.C (Thesaurus): use initialization for aik_
366
367         * MenuBackend.C (expandToc): exception safety.
368
369 2003-11-03  André Pönitz  <poenitz@gmx.net>
370
371         * buffer.C:
372         * buffer.h:
373         * bufferview_funcs.C: remove getInsetFromId()
374
375         * lyxcursor.[Ch]:
376         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
377
378         * lyxfunc.C:
379         * text2.C:
380         * text3.C: adjust
381
382 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
383
384         * PosIterator.C (distance, advance): new
385         * bufferview_funcs.[Ch] (put_selection_at): new
386         * iterators.[Ch] (lockPath): new
387
388 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
389
390         * iterators.[Ch] (asPosIterator): added
391         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
392         * PosIterator.[Ch]: added
393
394 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
395
396         * text3.C:
397         * lyxfunc.C:
398         * cursor.C (dispatch):
399         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
400
401         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
402         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
403         contructor, add a class function dispatched. Remove operator>=
404
405 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
406
407         * debug.C: only use the default constructor for debugstream
408         (lyxerr) here.
409
410         * main.C (main): include debug.h and setup the lyxerr streambuf
411         here.
412
413 2003-10-31  José Matos  <jamatos@lyx.org>
414
415         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
416
417         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
418         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
419         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
420         * paragraph_pimpl.C (simpleTeXSpecialC):
421         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
422         add LatexRunParams argument.
423
424         * exporter.C (Export): change call accordingly.
425
426         * latexrunparams.h: add new member to take care of the other backends.
427 2003-10-30  José Matos  <jamatos@lyx.org>
428
429         * buffer.C (makeLinuxDocFile, makeDocBookFile):
430         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
431         factorise code for paragraph output.
432         * buffer.[Ch]:
433         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
434         move functions.
435
436 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
437
438         * text3.C (dispatch):
439         * lyxfunc.C (dispatch):
440         * cursor.C (dispatch):
441         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
442
443         * dispatchresult.h: make the dispatch_result_t ctor explicit
444
445 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
446
447         * sgml.[Ch]:
448         * buffer.C: small refactoring of docbook stuff
449
450 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
451
452         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
453         meaning.
454
455 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
456
457         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
458         operator dispatch_result_t, and operators for == != and >=
459
460         * cursor.C (dispatch): adjust for operator dispatch_result_t
461         removal. comment out call to update
462
463         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
464
465 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
466
467         * text3.C:
468         * text2.C:
469         * text.C:
470         * lyxtext.h:
471         * lyxfunc.C:
472         * cursor.C:
473         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
474         (dispatch):
475
476         * dispatchresult.h: new file, DispatchResult broken out of
477         insets/insetbase.h
478
479         * Makefile.am (lyx_SOURCES): add dispatchresult.h
480
481 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
482
483         * text.C (rowBreakPoint): put a hack inside #if 0
484
485 2003-10-28  André Pönitz  <poenitz@gmx.net>
486
487         * lyxtext.h:
488         * metricsinfo.C:
489         * paragraph_funcs.C:
490         * rowpainter.C:
491         * text.C:
492         * text2.C: general cleanup (lots of small stuff)
493
494 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
495
496         * text2.C (cursorEnd): simple fix to the "end key goes to one
497         before the end on last row" bug
498
499 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
500
501         * text.C (backspace): fix the "zombie characters"
502
503 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
504
505         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
506
507 2003-10-27  André Pönitz  <poenitz@gmx.net>
508
509         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
510
511         * factory.C: handle new InsetPagebreak, InsetLine
512
513         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
514         and move handling into new InsetPagebreak, InsetLine
515
516         * BufferView_pimpl.C:
517         * LyXAction.C:
518         * ParagraphParameters.C:
519         * ParameterStruct.h:
520         * lyxfunc.C:
521         * lyxtext.h:
522         * paragraph.C:
523         * paragraph.h:
524         * paragraph_funcs.C:
525         * paragraph_pimpl.C:
526         * rowpainter.C:
527         * text.C:
528         * text2.C:
529         * text3.C: adjust
530
531 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
532
533         * text.C:
534         * lyxrow_funcs.[Ch]:
535         * Bidi.C:
536         * paragraph.C:
537         * lyxtext.h:
538         * rowpainter.C:
539         * text2.C:
540         * text3.C: remove lastPos uses in favour of Row::endpos
541
542 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
543
544         * undo.C (performUndoOrRedo): fix two crashes by setting a
545         cursor by hand and reordering some calls. Use bv->lockInset instead
546         of inset->edit because the latter loses cursor information
547
548 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
549
550         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
551         by Martin
552         (rowBreakPoint): fix width. change point to point + 1.
553         Add a missing check.
554
555 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
556
557         * MenuBackend.C:
558         * lyxfunc.C: fix (at least partly) the problems
559         with the Nav menu and headers inside branch insets
560         reported by Kayvan
561
562 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
563
564         * paragraph.C (getChar): add strong asserts
565
566         * lyxrow_funcs.C (lastPos): remove hideous hack
567
568         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
569         (fill): adjust to that (avoid an infinite loop)
570
571 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
572
573         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
574
575 2003-10-23  André Pönitz  <poenitz@gmx.net>
576
577         * RowList_fwd.h: change list<> to vector<> to gain speed
578         after suggestion from Alfredo
579
580 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
581
582         * lyxtext.h: move the bidi stuff from here...
583         * text.C: and here
584         * text2.C: and here
585         * Bidi.[Ch]: ... to here
586
587 2003-10-23  André Pönitz  <poenitz@gmx.net>
588
589         * lyxtext.h:
590         * text.C (isLastRow, isFirstRow): new functions
591
592         * paragraph.h: new width cache member
593
594         * rowpainter.C: replace RowList::iterator with Row & where possible
595
596         * lyxfunc.C: replace several view()->text with a single call
597
598         * toc.C: fix 'unused' warning
599
600 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
601
602         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
603         when woring with stream::pos_type
604         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
605
606 2003-10-22  André Pönitz  <poenitz@gmx.net>
607
608         * lyxtext.h:
609         * text.C: use Row & instead of RowList::iterator
610
611         * lyxrow.h: rename end() to endpos()
612
613         * rowpainter.C:
614         * text.C:
615         * text2.C: adjust
616
617 2003-10-22  Angus Leeming  <leeming@lyx.org>
618
619         * buffer.[Ch] (fully_loaded): new member function, returning true
620         only when the file has been loaded fully.
621         Used to prevent the premature generation of previews and by the
622         citation inset to prevent computation of the natbib-style label.
623
624         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
625         templates are all set up.
626
627         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
628
629 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
630
631         * text.C: fixed an "oops" in the "is a bit silly"
632         bug fix
633
634 2003-10-21  André Pönitz  <poenitz@gmx.net>
635
636         * FuncStatus.[Ch]: small stuff, whitespace
637
638         * lyxfont.[Ch]: operator<<() for debug reasons
639
640         * lyxfunc.C:
641         * lyxrow_funcs.C:
642         * lyxtext.h: whitespace, spelling
643
644         * paragraph.C: naming of variables
645
646         * text.C:
647         * text2.C: small stuff
648
649
650 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
651
652         * text.C: (1) finish off the inset display() work;
653         (2) fix the "is a bit silly" bug (accessing char
654         past end of par).
655
656 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
657
658         * text.C: re-introduce display() for insets, fixing the
659         various bugs (stretch of line above, math inset
660         positioning, ...)
661
662 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
663
664         * text.C (rightMargin): remove spurious semicolon
665
666         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
667         1415)
668
669 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
670
671         * text3.C: fix one crash due to wrong cursor def
672
673 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
674
675         * vc-backend.C (scanMaster): make the regex static
676
677         * LaTeX.C (scanAuxFile): make the regexs static
678
679         * text3.C (doInsertInset, dispatch, dispatch):
680         * text2.C (cursorUp, cursorDown):
681         * text.C (selectNextWordToSpellcheck):
682         * BufferView_pimpl.C (dispatch):
683         * lyxfunc.C (dispatch):  localDispatch -> dispatch
684
685 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
686
687         * lyxsocket.C: include <cerrno>
688
689 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
690
691         * lyxfunc.C (dispatch): remove textcache stuff
692
693         * bufferlist.C (release): remove textcache stuff
694         (closeAll): ditto
695
696         * TextCache.C: delete file
697         * TextCache.h: delete file
698
699         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
700
701         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
702         delete of the bv_->text.
703         (resizeCurrentBuffer): remove texcache stuff
704         (workAreaResize): ditto
705
706 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
707
708         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
709         action.
710
711 2003-10-16  André Pönitz  <poenitz@gmx.net>
712
713         * lyxrow.[Ch]:
714         * paragraph.h:
715         * rowpainter.C:
716         * text.C:
717         * text2.C:
718         * text3.C: speed up by storing y positions per paragraph plus per-row
719         offset instead of having a 'full' y position in the row.
720
721 2003-10-15  André Pönitz  <poenitz@gmx.net>
722
723         * iterators.[Ch]:
724         * iterators.[Ch]:
725         * undo.[Ch]: make undo aware of inner insets
726
727 2003-10-14  Angus Leeming  <leeming@lyx.org>
728
729         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
730         static member functions LyX::ref() and LyX::cref.
731         (lastfiles): new accessor functions for the new lastfiles_ member var.
732         (addLyXView, views_): add a new LyXView to the list of views_.
733         (updateInset): loop over all LyXViews to call their own updateInset
734         member function, returning a pointer to the Buffer owning the inset.
735
736         * BufferView_pimpl.C (loadLyXFile):
737         * MenuBackend.C (expandLastfiles):
738         * bufferlist.C (MenuWrite, QuitLyX):
739         lastfiles is no longer a global variable.
740         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
741
742         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
743         static function. Access through LyX::cref().emergencyCleanup().
744
745 2003-10-14  André Pönitz  <poenitz@gmx.net>
746
747         * iterators.[Ch]: new direct access to innermost LyXText and Inset
748
749         * undo.[Ch]: restoring part of 'undo in insets'
750
751         * Makefile.am:
752         * undo_funcs.[Ch]: merge with undo.[Ch]
753
754         * tabular.C: small cleansing stuff
755
756 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
757
758         * paragraph_funcs.C (readParToken): report unknown insets as error
759         boxes. Use the outer paragraph as location (also for unknown
760         tokens).
761
762         * factory.C (readInset): do not abort on reading an unknown inset.
763         Eat it and return 0.
764
765 2003-10-13  Angus Leeming  <leeming@lyx.org>
766
767         * lyx_main.C (LyX): remove call to setDisplayTranslator().
768
769         * lyxrc.C: displayTranslator is now a function,
770         declared in GraphicsTypes.h.
771
772 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
773
774         * format.C: new placeholder $$a to pass the socket address.
775
776         * bufferlist.[Ch]: new function getBufferFromTmp.
777
778         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
779           files in the temporary dir.
780
781 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
782
783         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
784
785         * Makefile.am: add lyxsocket.[Ch].
786
787         * lyx_main.C (error_handler): handle SIGPIPE.
788
789 2003-10-13  André Pönitz  <poenitz@gmx.net>
790
791         * BufferView_pimpl.C:
792         * lyxtext.h:
793         * text.C:
794         * text2.C:
795         * text3.C:
796         * undo_funcs.[Ch]: use paroffset_type instead of
797           ParagraphList::iterators to prevent multiple conversion
798           (and get a more robust interface)
799
800 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
801
802         * lyxfunc.C (dispatch): RESULT -> dispatch_result
803         * lyxtext.h: ditto
804         * text3.C (dispatch): ditto
805
806 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
807
808         * LaTeX.C (handleFoundFile): move the static to smaller scope,
809         move the onlyfile, use onlyfile instead of foundfile in a couple
810         of places.
811
812         * DepTable.C (update): flush the error stream a bit more
813
814 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
815
816         * lyxserver.C (callback): adjust
817
818         * lyxfunc.C (getStatus): add a missing brace in commented code
819         (ensureBufferClean): reindent
820         (dispatch): delete version taking a string
821
822 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
823
824         * LaTeX.C (deplog): move found file handlig from here...
825         (handleFoundFile): .. to new function here.
826         (deplog): make sure to discover several files mentioned on the
827         same log line.
828
829 2003-10-10  André Pönitz  <poenitz@gmx.net>
830
831         * lyxfunc.C:
832         * lyxtext.h:
833         * tabular.C:
834         * text.C:
835         * text2.C:
836         * text3.C: fix some of the tabular crashes
837
838 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
839
840         * MenuBackend.C (binding): put debug message into Debug::KBMAP
841
842         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
843
844 2003-10-09  André Pönitz  <poenitz@gmx.net>
845
846         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
847
848         * BufferView.C:
849         * BufferView_pimpl.C:
850         * bufferview_funcs.C:
851         * lyx_cb.C:
852         * lyxcursor.C:
853         * lyxfind.C:
854         * lyxfunc.C:
855         * lyxtext.h:
856         * text.C:
857         * text2.C:
858         * text3.C:
859         * text_funcs.[Ch]:
860         * textcursor.[Ch]:
861         * undo_funcs.C: adjust
862
863 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
864
865         * text2.C (incrementItemDepth): new function, use a backtracking
866         algorithm to discover the correct item depth.
867         (resetEnumCounterIfNeeded): new function, use a backtracking
868         algorithm to discover if counter reset is needed.
869         (setCounter): use them. Simplify a bit. Add different labels for
870         different item depths for itemize.
871
872         * paragraph.C (Paragraph): remove initialization of enumdepth
873         (operator=): ditto
874
875         * paragraph.h: get rid of enumdepth, and use itemdepth both for
876         enumerate and itemize. Change the type of itemdepth to signed char.
877
878 2003-10-08  André Pönitz  <poenitz@gmx.net>
879
880         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
881           thing assignable.
882         * text.C:
883         * text2.C: adjust
884
885         * tabular.[Ch]: fix crash after 'row-insert'
886
887 2003-10-08  Angus Leeming  <leeming@lyx.org>
888
889         Fix doxygen warnings.
890
891         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
892         Remove CutAndPaste:: prefix from header file declaration.
893
894         * LColor.h (fill): remove LColor:: prefix from declaration.
895
896         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
897         use lyx::depth_type rather than Paragraph::depth_type so that
898         header file and .C file match.
899
900         * converter.h (intToFormat): remove Converters:: prefix from declaration.
901
902         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
903         * aspell.C: \file aspell_local.C -> \file aspell.C
904         * gettext.C: \file gettext.C -> \file src/gettext.C
905         * gettext.h: \file gettext.h -> \file src/gettext.h
906         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
907         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
908         * text.C: \file text.C -> \file src/text.C
909
910         * toc.C: move comment so that doxygen is not confused.
911
912 2003-10-07  Angus Leeming  <leeming@lyx.org>
913
914         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
915
916 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
917
918         * aspell.C:
919         * aspell_local.h: add forgotten std::string's.
920
921 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
922
923         * LaTeXFeatures.C:
924         * LyXAction.C:
925         * factory.C:
926         * lfuns.h:
927         * lyxfunc.C:
928         * text3.C: The Box patch. Fancybox support, minipage, parbox
929
930 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
931
932         * CutAndPaste.h:
933         * DepTable.h:
934         * FloatList.h:
935         * LaTeXFeatures.h:
936         * ParagraphParameters.h:
937         * TextCache.h:
938         * Thesaurus.h:
939         * bufferlist.h:
940         * exporter.h:
941         * importer.h:
942         * lastfiles.h:
943         * lyxfind.h:
944         * lyxfont.h:
945         * lyxlex.h:
946         * lyxtextclasslist.h:
947         * messages.h:
948         * paragraph.h:
949         * paragraph_pimpl.C:
950         * textcursor.h: add <string> and other small fixes to make Lars'
951         std::string patch compile with STLport.
952
953 2003-10-06  Angus Leeming  <leeming@lyx.org>
954
955         * LColor.h: Add missing #include <string>.
956
957 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
958
959         * All most all file in all subdirs: Make <string> be the prefered
960         way of getting to std::string, add using declarations.
961
962 2003-10-06  André Pönitz  <poenitz@gmx.net>
963
964         * metricsinfo.C: initialize LyXFont before changing attribute.
965         (fixes the 'math in \emph is upright' bug)
966
967 2003-10-06  André Pönitz  <poenitz@gmx.net>
968
969         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
970
971 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * graph.C:
974         * paragraph_pimpl.C: Small fixes to build using STLport
975
976 2003-10-02  André Pönitz  <poenitz@gmx.net>
977
978         * lyxfunc.C:
979         * text3.C: move handling of LFUN_DEPTH *; fix #1360
980
981 2003-10-01  André Pönitz  <poenitz@gmx.net>
982
983         * factory.C: assert early
984
985 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
986
987         * lyx_main.C: remove the global debug object
988
989         * debug.h: adjust for new debugstream
990
991         * debug.C: adjust for new debugstream and keep the global debug
992         object here.
993
994 2003-09-22  Angus Leeming  <leeming@lyx.org>
995
996         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
997         of g++ which otherwise complain that the scoped_ptr destructor can't delete
998         an incomplete class LyXFont.
999
1000 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1001
1002         * factory.C: bug fix in branches
1003
1004 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1005
1006         * lyxfunc.C (processKeySym): adjust
1007         (dispatch): adjust
1008         (dispatch): change arg name from ev to func, adjust
1009         (sendDispatchMessage): ditto
1010
1011         * lyx_main.C (defaultKeyBindings): adjust keybindings
1012         (deadKeyBindings): ditto
1013
1014         * kbsequence.C (addkey): return a FuncRequest
1015
1016         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1017
1018         * kbmap.C (bind): take a FuncRequest as arg, adjust
1019         (read): adjust
1020         (lookup): adjust
1021         (defkey): change to take a FuncRequest as arg, adjust
1022         (findbinding): take a FuncRequest as arg, adjust.
1023
1024         * funcrequest.h (operator=): added
1025
1026         * funcrequest.C (FuncRequest): default kb_action changed from
1027         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1028
1029         * buffer.C (dispatch): simplify
1030         (dispatch): adjust to take a FuncRequest as arg, adjust
1031
1032         * boost.C (assertion_failed): change assertion message slightly
1033
1034         * ToolbarBackend.C (read): simplify
1035
1036         * MenuBackend.C (binding): adjust call to findbinding, add a
1037         message if no binding is found.
1038         (read): simplify
1039         (expandToc): correct by adding a empty FuncRequest
1040
1041         * LyXAction.C: include <boost/assert.hpp>
1042         (isPseudoAction): delete function
1043         (LookupFunc): change name to...
1044         (lookupFunc): this. change return type to FuncRequest.
1045         (getActionName): take kb_action as arg, simplify
1046         (funcHasFlag): add an assert, simplify.
1047
1048 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1049
1050         * toc.C (action): return a FuncRequest, simplify
1051
1052         * lyxfunc.C (processKeySym): adjust
1053         (getStatus): delete version that takes an int.
1054         (getStatus): adjust
1055         (dispatch): delete version that takes action as int
1056         (dispatch): adjust
1057         (sendDispatchMessage): simplify and adjust
1058
1059         * funcrequest.C (getArg): take unsigned int as arg
1060
1061         * ToolbarBackend.C (read): adjust
1062         (add): delete version that takes func as a string.
1063         (getIton): take a FuncRequest as arg
1064
1065         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1066         action.
1067
1068         * MenuBackend.C (MenuItem): add a new construct that only takes a
1069         Kind, simplify the constructor use for submenus.
1070         (add): adjust
1071         (expandLastfiles): adjust
1072         (expandDocuments): adjust
1073         (expandFormats): adjust
1074         (expandFloatListInsert): adjust
1075         (expandFloatInsert): adjust
1076         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1077
1078         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1079         Remove class variables lyx_pseudo_map and lyx_arg_map
1080
1081         * LyXAction.C (searchActionArg): delete function
1082         (getPseudoAction): delete function
1083         (retrieveActionArg): delete function
1084         (LookupFunc): make it return kb_action, simplify.
1085         (getActionName): simplify
1086
1087         * factory.C (createInset): fix new bug
1088
1089 2003-09-19  Angus Leeming  <leeming@lyx.org>
1090
1091         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1092         masterFilename_ parameter in the include inset.
1093
1094         * factory.C (createInset): changes due to the changes to InsetInclude.
1095
1096 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1097
1098         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1099
1100 2003-09-18  Angus Leeming  <leeming@lyx.org>
1101
1102         * buffer.C:
1103         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1104         Inset::fillWithBibKeys.
1105         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1106
1107 2003-09-18  Angus Leeming  <leeming@lyx.org>
1108
1109         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1110         variables.
1111         (ctor): pass and store a 'Buffer const &'
1112         (buffer): new member function.
1113
1114         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1115         '*this' to the LaTeXFeatures ctor.
1116
1117 2003-09-18  Angus Leeming  <leeming@lyx.org>
1118
1119         * LColor.h:
1120         * lyxfont.C:
1121         * lyxfont.h:
1122         * lyxtext.h:
1123         * text.C: rename EnumLColor as LColor_color.
1124
1125 2003-09-18  Angus Leeming  <leeming@lyx.org>
1126
1127         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1128         remove #include "insets/insetbase.h" from cursor.h.
1129
1130 2003-09-18  Angus Leeming  <leeming@lyx.org>
1131
1132         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1133         InsetOld_code to remove #include "inset.h".
1134
1135         * iterators.C: add #include "insets/inset.h"
1136
1137 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1138
1139         * BufferView.C: remove more locking stuff that apparently doesn't
1140         do anything sensible.
1141
1142 2003-09-16  André Pönitz  <poenitz@gmx.net>
1143
1144         * paragraph.[Ch]:
1145         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1146           performance boost.
1147
1148 2003-09-16  Angus Leeming  <leeming@lyx.org>
1149
1150         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1151
1152         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1153         arg/return type.
1154
1155         * paragraph.h: remove #include "lyxfont.h". Forward declare
1156         LyXFont_size.
1157
1158 2003-09-16  Angus Leeming  <leeming@lyx.org>
1159
1160         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1161         of support/textutils.h.
1162         (isWord): move the contents of support/textutils.h's IsWordChar here.
1163
1164         * buffer.C:
1165         * lyxfind.C:
1166         * rowpainter.C:
1167         * text.C:
1168         * text2.C: add #include "paragraph.h".
1169
1170         * rowpainter.C:
1171         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1172
1173 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * main.C:
1176         * lyx_main.C:
1177         * lyx_cb.C:
1178         * buffer.C:
1179         * LaTeX.C: use namespace alias for lyx::support::os
1180
1181 2003-09-16  Angus Leeming  <leeming@lyx.org>
1182
1183         * bufferparams.C:
1184         * bufferview_funcs.C:
1185         * factory.C:
1186         * lyxfunc.C:
1187         * paragraph_pimpl.C:
1188         * rowpainter.C:
1189         * text.C: add #include "LColor.h".
1190
1191 2003-09-16  Angus Leeming  <leeming@lyx.org>
1192
1193         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1194         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1195         return LyXFont &.
1196         Store the FontBits::color variable as an int rather than as an
1197         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1198         file.
1199
1200         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1201         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1202         string calls together.
1203
1204         * lyxrc.C: add #include "LColor.h".
1205
1206 2003-09-15  Angus Leeming  <leeming@lyx.org>
1207
1208         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1209         a cow_ptr.
1210
1211 2003-09-15  Angus Leeming  <leeming@lyx.org>
1212
1213         * LColor.h: add an EnumLColor wrapper for LColor::color.
1214
1215         * lyxfont.[Ch] (color, setColor, realColor):
1216         * lyxtext.h, text.C (backgroundColor):
1217         pass EnumLColor args to/from the functions, rather than LColor::color
1218         ones.
1219
1220         * lyxfont.h:
1221         * lyxtext.h: forward declare EnumLColor.
1222
1223         * lyx_main.C: add #include "LColor.h".
1224
1225 2003-09-15  Angus Leeming  <leeming@lyx.org>
1226
1227         * .cvsignore: add lyx-gtk.
1228
1229 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1230
1231         * Chktex.C
1232         * LaTeX.C
1233         * LaTeXFeatures.C
1234         * ParagraphParameters.C
1235         * Spacing.C
1236         * buffer.C
1237         * bufferparams.C
1238         * bufferview_funcs.C
1239         * chset.C
1240         * counters.C
1241         * funcrequest.C
1242         * lyxfont.C
1243         * lyxgluelength.C
1244         * lyxlength.C
1245         * paragraph.C
1246         * paragraph_funcs.C
1247         * text3.C
1248         * vc-backend.C: remove usage of STRCONV
1249
1250 2003-09-15  Angus Leeming  <leeming@lyx.org>
1251
1252         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1253         explicitly define the color passed to the painter.
1254
1255 2003-09-15  Angus Leeming  <leeming@lyx.org>
1256
1257         * bufferparams.C (BufferParams): reorder member initializers to avoid
1258         compiler warning.
1259
1260 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1261
1262         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1263         * text.C (updateRowPositions): remove an unusual nop
1264
1265 2003-09-12  André Pönitz  <poenitz@gmx.net>
1266
1267         * BufferView_pimpl.C:
1268         * Bullet.C:
1269         * layout.h:
1270         * lyxfunc.C:
1271         * lyxlayout.[Ch]:
1272         * lyxtextclass.C:
1273         * rowpainter.C:
1274         * text.C:
1275         * text2.C:
1276         * Counters.[Ch]: finish the 'automatic counters' job
1277
1278 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1279
1280         * aspell.C: include <boost/assert.cpp> (compile fix)
1281
1282 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1283
1284         * boost.C (assertion_failed): use lyx::support::abort instead of
1285         assert.
1286
1287 2003-09-10  Angus Leeming  <leeming@lyx.org>
1288
1289         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1290         with their _fwd progeny.
1291
1292 2003-09-09  Angus Leeming  <leeming@lyx.org>
1293
1294         134 files throughtout the source tree: replace 'using namespace abc;'
1295         directives with the appropriate 'using abc::xyz;' declarations.
1296
1297 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1298
1299         * boost.C (emergencyCleanup): moved here from LAssert.c
1300         (assertion_failed): new function, called by BOOST_ASSERT
1301
1302         * several files: change Assert to BOOST_ASSERT
1303
1304 2003-09-09  Angus Leeming  <leeming@lyx.org>
1305
1306         * buffer.[Ch]: Add an Impl class and move Buffer's member
1307         variables into it. As a result move several header files out of
1308         buffer.h.
1309
1310         Add header files to lots of .C files all over the tree as a result.
1311
1312 2003-09-09  Angus Leeming  <leeming@lyx.org>
1313
1314         * buffer.[Ch]: make Buffer's member variables private. Add
1315         accessor functions.
1316
1317         Lots of changes all over the tree as a result.
1318
1319 2003-09-08  Angus Leeming  <leeming@lyx.org>
1320
1321         * graph.C: #include <config.h>.
1322
1323 2003-09-08  Angus Leeming  <leeming@lyx.org>
1324
1325         * BranchList.C:
1326         * BufferView.C:
1327         * BufferView_pimpl.C:
1328         * CutAndPaste.C:
1329         * DepTable.C:
1330         * LaTeX.C:
1331         * LaTeXFeatures.C:
1332         * LyXAction.C:
1333         * MenuBackend.C:
1334         * TextCache.C:
1335         * aspell.C:
1336         * buffer.C:
1337         * bufferlist.C:
1338         * changes.C:
1339         * chset.C:
1340         * converter.C:
1341         * counters.C:
1342         * debug.C:
1343         * graph.C:
1344         * ispell.C:
1345         * lyx_cb.C:
1346         * lyxfind.C:
1347         * lyxfunc.C:
1348         * lyxlex_pimpl.C:
1349         * lyxrc.C:
1350         * lyxrow.C:
1351         * paragraph.C:
1352         * rowpainter.C:
1353         * texrow.C:
1354         * text.C:
1355         * text2.C:
1356         * toc.C: remove redundant using directives.
1357
1358 2003-09-07  Angus Leeming  <leeming@lyx.org>
1359
1360         * LaTeXFeatures.h: remove #include "support/types.h".
1361         * ToolbarBackend.h: remove #include <algorithm>.
1362         * changes.h: remove #include <ctime>.
1363         * debug.h: remove #include <iosfwd>.
1364         * graph.h: remove #include "support/std_string.h".
1365         * lyx_main.h: remove #include <csignal>.
1366         * lyxlex_pimpl.h: remove #include <fstream>.
1367         * sgml.h: remove #include <algorithm>, <utility>.
1368         * toc.h: remove #include "support/std_ostream.h".
1369         Add #include <iosfwd>.
1370
1371 2003-09-07  Angus Leeming  <leeming@lyx.org>
1372
1373         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1374
1375         * converter.h: forward declare LatexRunParams.
1376         * encoding.h: remove #include "lyxrc.h".
1377         * lyxtext.h: remove #include "LColor.h".
1378         * lyxtextclass.h: remove #include "support/types.h".
1379         * trans.h: remove #include "tex-accent.h".
1380         * trans_mgr.h: remove #include "tex-accent.h".
1381         * insets/inset.h: remove #include "support/types.h", <vector>.
1382         * insets/insetcollapsable.h: remove #include "LColor.h".
1383         * insets/insetinclude.h: remove #include "dimension.h".
1384         * insets/insetlatexaccent.h: remove #include "dimension.h".
1385         * insets/insetoptarg.h:: remove #include "insettext.h".
1386         * insets/insettext.h: remove #include "dimension.h",
1387         <boost/shared_ptr.hpp>
1388
1389         * insets/renderers.h: add #include "dimension.h".
1390         * insets/updatableinset.h: add #include "support/types.h".
1391
1392         * many .C files: Associated changes.
1393
1394 2003-09-06  Angus Leeming  <leeming@lyx.org>
1395
1396         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1397         one, inside testInvariant.
1398
1399         * PrinterParams.C: new file.
1400         * PrinterParams.[Ch]: move the function bodies out of line.
1401
1402 2003-09-06  Angus Leeming  <leeming@lyx.org>
1403
1404         * ParagraphParameters.h: forward declare ParameterStruct rather than
1405         including its header file.
1406         (depth): moved out-of-line.
1407
1408 2003-09-06  Angus Leeming  <leeming@lyx.org>
1409
1410         * BufferView_pimpl.h:
1411         * kbmap.h:
1412         * kbsequence.h:
1413         * lyxfunc.h: forward declare LyXKeySym rather than
1414         #include "frontends/LyXKeySym.h".
1415
1416         * BufferView_pimpl.C:
1417         * kbmap.C:
1418         * kbsequence.C:
1419         * lyxfunc.C: associated changes.
1420
1421 2003-09-06  Angus Leeming  <leeming@lyx.org>
1422
1423         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1424         As a result, can remove the #include "insets/inset.h" from BufferView.h
1425
1426 2003-09-06  Angus Leeming  <leeming@lyx.org>
1427
1428         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1429         As a result, can remove the #include "insets/inset.h" from BufferView.h
1430
1431 2003-09-06  Angus Leeming  <leeming@lyx.org>
1432
1433         * buffer_funcs.C:
1434         * buffer.h:
1435         * bufferlist.C:
1436         * BufferView.C:
1437         * bufferview_funcs.C:
1438         * BufferView_pimpl.C:
1439         * CutAndPaste.C:
1440         * lyx_cb.C:
1441         * lyxfunc.C:
1442         * paragraph.h:
1443         * ParagraphParameters.C:
1444         * tabular.C:
1445         * text3.C:
1446         * toc.C:
1447         * undo_funcs.C:
1448         * frontends/controllers/ControlDocument.C:
1449         * insets/insetcaption.C: rearrange the #includes into some sort of
1450         coherent order.
1451
1452         * buffer.h: remove #includes ErrorList.h, undo.h
1453
1454 2003-09-06  Angus Leeming  <leeming@lyx.org>
1455
1456         * support/types.h: add a 'depth_type' typedef, used to store the
1457         nesting depth of a paragraph.
1458
1459         * paragraph.h:
1460         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1461         defining explicitly.
1462
1463         * buffer.h:
1464         * paragraph_funcs.h:
1465         * ParagraphParameters.h:
1466         * sgml.h: use lyx::depth_type rather than Paragraph or
1467         ParameterStruct's depth_type.
1468
1469         * buffer.h
1470         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1471
1472         * BufferView.C:
1473         * BufferView_pimpl.C:
1474         * CutAndPaste.C:
1475         * ParagraphParameters.C:
1476         * buffer_funcs.C:
1477         * bufferlist.C:
1478         * bufferview_funcs.C:
1479         * lyx_cb.C:
1480         * lyxfunc.C:
1481         * tabular.C:
1482         * text3.C:
1483         * toc.C:
1484         * undo_funcs.C:
1485         * frontends/LyXView.C:
1486         * frontends/controllers/ControlDocument.C:
1487         * frontends/controllers/ControlErrorList.C:
1488         * insets/insetbibitem.C:
1489         * insets/insetbranch.C:
1490         * insets/insetcaption.C:
1491         * insets/insetcollapsable.C:
1492         * insets/insetenv.C:
1493         * insets/insetert.C:
1494         * insets/insetfloat.C:
1495         * insets/insetfoot.C:
1496         * insets/insetfootlike.C:
1497         * insets/insetnewline.C:
1498         * insets/insetquotes.C:
1499         * insets/insettabular.C:
1500         * insets/insettext.C:
1501         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1502
1503         * frontends/controllers/ControlChanges.C: #include "changes.h".
1504
1505 2003-09-06  Angus Leeming  <leeming@lyx.org>
1506
1507         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1508         than #including paragraph.h.
1509
1510         * ParagraphList.h:
1511         * RowList.h: deleted. Superfluous.
1512
1513         * CutAndPaste.h:
1514         * iterators.h:
1515         * lyxcursor.h:
1516         * lyxtext.h:
1517         * text_funcs.h:
1518         * undo.h:
1519         * undo_funcs.h:
1520         * insets/inset.h:
1521         * insets/insettext.h: use ParagraphList_fwd.h rather than
1522         ParagraphList.h.
1523
1524         * paragraph.h: don't forward declare ParagraphList.
1525
1526         * buffer.h:
1527         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1528         rather than ParagraphList.h. paragraph.h is still needed for the
1529         Paragraph::depth_type parameters.
1530
1531         * textcursor.h: enable it to compile stand-alone in light of the
1532         above changes.
1533
1534         * bufferview_funcs.C:
1535         * iterators.C:
1536         * lyxfunc.C:
1537         * lyxrow_funcs.C:
1538         * paragraph.C:
1539         * rowpainter.C:
1540         * text.C:
1541         * text2.C:
1542         * text3.C:
1543         * text_funcs.C:
1544         * textcursor.C:
1545         * undo.C:
1546         * frontends/controllers/ControlParagraph.C:
1547         * frontends/controllers/ControlTabular.C:
1548         * insets/insetmarginal.C:
1549         * insets/insetminipage.C:
1550         * insets/insetnote.C:
1551         * insets/insetoptarg.C: add header files needed to compile again.
1552
1553 2003-09-06  Angus Leeming  <leeming@lyx.org>
1554
1555         * RowList_fwd.h: new file, forward-declaring Row rather than
1556         #including lyxrow.h.
1557
1558         * lyxrow_funcs.h:
1559         * lyxtext.h:
1560         * paragraph.h:
1561         * insets/insettext.h: use it instead of RowList.h
1562
1563         * bufferview_funcs.C:
1564         * lyxfunc.C:
1565         * lyxrow_funcs.C:
1566         * paragraph.C:
1567         * rowpainter.C:
1568         * text.C:
1569         * text2.C:
1570         * text3.C: #include "RowList.h".
1571
1572 2003-09-05  Angus Leeming  <leeming@lyx.org>
1573
1574         * factory.C (createInset):
1575         * vspace.C (c-tor): replace sscanf call with an istringstream.
1576         * ispell.C: re-add missing HP/UX headers.
1577         * lyxserver.C: re-add missing  os2 headers.
1578
1579 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1580
1581         * BranchList.C:
1582         * graph.C:
1583         * ispell.C:
1584         * lastfiles.C:
1585         * lyx_cb.C:
1586         * lyxserver.C:
1587         * texrow.C:
1588         * text3.C: re-add missing system headers, needed for 2.95.2.
1589
1590 2003-09-05  Angus Leeming  <leeming@lyx.org>
1591
1592         Changes most place everywhere due to the removal of using directives
1593         from support/std_sstream.h.
1594
1595 2003-09-05  Angus Leeming  <leeming@lyx.org>
1596
1597         Replace LString.h with support/std_string.h,
1598         Lsstream.h with support/std_sstream.h,
1599         support/LIstream.h with support/std_istream.h,
1600         support/LOstream.h with support/std_ostream.h.
1601
1602         Changes resulting throughout the tree.
1603
1604 2003-09-05  Angus Leeming  <leeming@lyx.org>
1605
1606         * sgml.h: ensure that the header file can be compiled stand-alone.
1607         * *.C: strip out redundant #includes. (320 in total.)
1608
1609 2003-09-04  Angus Leeming  <leeming@lyx.org>
1610
1611         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1612         here (from getPackages).
1613
1614         * debug.[Ch]: add a new EXTERNAL tag.
1615
1616 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1617
1618         * text2.C (cursorEnd): simplify
1619         (setCursor): adjust
1620         (getColumnNearX): adjust
1621
1622         * text.C (computeBidiTables): adjust
1623         (fill): adjust
1624
1625         * rowpainter.C (paintChars): adjust
1626         (paintSelection): adjust
1627         (paintChangeBar): adjust
1628         (paintText): adjust
1629
1630         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1631         lastPos instead.
1632         (numberOfSeparators): adjust
1633
1634 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1635
1636         * LyXAction.C:
1637         * box.[Ch]:
1638         * lfuns.h:
1639         * lyxfunc.C:
1640         * text3.C: Restricts the mouse click functionality
1641         of insets like bibtex, include, toc and floatlist to the visible
1642         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1643         up the dialogs. Cursor has to be in front of the inset (i.e.
1644         start of row) for this to function.
1645
1646 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1647
1648         * bufferview_funcs.C (currentState): output row information
1649
1650 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1651
1652         * bufferview_funcs.C (currentState): output paragraph position
1653
1654 2003-09-04  Angus Leeming  <leeming@lyx.org>
1655
1656         * FloatList.h: move out #include "Floating.h".
1657         * LaTeX.h: move out #include "DepTable.h".
1658         * LyXAction.h: move out #include "funcrequest.h".
1659         * buffer.h: move out #include "author.h", "iterators.h".
1660         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1661         * lyx_main.h: move out #include "errorlist.h".
1662         * lyxfunc.h: move out #include "FuncStatus.h".
1663         * lyxtext: move out #include "lyxcursor.h".
1664         * paragraph_pimpl.h: move out #include "counters.h".
1665
1666 2003-09-03  Angus Leeming  <leeming@lyx.org>
1667
1668         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1669         preamble_snippets list, enabling us to add snippets to the preamble
1670         only if the snippet was not there already.
1671
1672 2003-09-04  Angus Leeming  <leeming@lyx.org>
1673
1674         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1675
1676 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1677
1678         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1679         update
1680
1681 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1682
1683         * BranchList.C: point fix, earlier forgotten
1684
1685 2003-09-02  Angus Leeming  <leeming@lyx.org>
1686
1687         * box.C (contains): renamed from 'contained' after a fantastic
1688         amount of hot air.
1689
1690 2003-09-02  John Levon  <levon@movementarian.org>
1691
1692         * BufferView.C:
1693         * lyxcursor.h:
1694         * lyxcursor.C:
1695         * lyxfunc.C:
1696         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1697
1698 2003-09-02  John Levon  <levon@movementarian.org>
1699
1700         * text2.C: simplification of cursorEnd(), including partial
1701         fix for bug 1376
1702
1703 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * buffer.C (readFile): add a space
1706
1707 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1708
1709         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1710
1711 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1712
1713         * buffer.C (readFile): new function, take a filename and a
1714         ParagraphList::iterator
1715         (readFile): adjust
1716         (readFile): adjust, make it private. don't use setStream, make
1717         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1718         always contain the filename.
1719
1720         * BufferView.C (insertLyXFile): simplify and make it work for
1721         gzipped files.
1722
1723 2003-08-30  John Levon  <levon@movementarian.org>
1724
1725         * Makefile.am: fix dist (from Kayvan)
1726
1727 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1728
1729         * most files: change to use const Buffer refs
1730
1731 2003-08-27  André Pönitz  <poenitz@gmx.net>
1732
1733         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1734         on top of ownerPar().
1735
1736 2003-08-27  John Levon  <levon@movementarian.org>
1737
1738         * funcrequest.C: properly initialise POD members
1739
1740 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1741
1742         * lyxtext.h (top_y): move top_y from here
1743         * text.C:
1744         * text2.C:
1745         * text3.C:
1746         * BufferView.[Ch]:
1747         * BufferView_pimpl.[Ch]: to here
1748         * frontends/screen.C:
1749         * insets/insettabular.C:
1750         * insets/insettext.C: adjust
1751         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1752
1753 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1754
1755         * BufferView.[Ch]:
1756         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1757
1758 2003-08-26  André Pönitz  <poenitz@gmx.net>
1759
1760         * paragraph_func.[Ch] (outerPar): new function
1761
1762         * paragraph.C:
1763         * paragraph_funcs.C:
1764         * paragraph_funcs.h:
1765         * paragraph_pimpl.C:
1766         * text2.C: remove Inset::par_owner
1767
1768 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1769
1770         * lyxrow_funcs.C:
1771         * lyxtext.h:
1772         * text.C:
1773         * text2.C: eliminates the needFullRow/display() stuff
1774         altogether, putting the logic in metrics/draw in the insets.
1775
1776 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1777
1778         * text2.C (redoParagraphInternal, redoParagraphs):
1779         * text.C (redoParagraph): add a call to updateRowPositions at the
1780         end of each 'metrics-like' call. Remove all others.
1781         (getRow): remove the 'y-computing' version.
1782         (getRowNearY): do not compute nor return the real y. Solve the
1783         'y < 0' problem and simplify.
1784
1785 2003-08-22  Angus Leeming  <leeming@lyx.org>
1786
1787         * *.[Ch]: clean-up of licence and author blurbs.
1788         Also move config.h out of a few .h files and into a few .C files.
1789
1790 2003-08-22  André Pönitz  <poenitz@gmx.net>
1791
1792         * lyxrow.[Ch]: add x_ and *fill_ members
1793
1794         * lyxtext.h:
1795         * text.C:
1796         * rowpainter.C:
1797         * text2.C: adjust/remove prepareToPrint() calls
1798
1799 2003-08-22  André Pönitz  <poenitz@gmx.net>
1800
1801         * lyxrow.[Ch]: add  end_ member
1802
1803         * lyxrow_funcs.C: use LyXRow::end_
1804
1805         * lyxtext.h (singleWidth): add LyXFont parameter
1806
1807         * rowpainter.C:
1808         * text2.C: adjust LyXText::singleWidth() calls
1809
1810         * text.C (redoParagraph): simplify row breaking logic
1811
1812
1813 2003-08-19  André Pönitz  <poenitz@gmx.net>
1814
1815         * funcrequest.C: initialize button_ member
1816
1817         * text3.C:
1818         * rowpainter.[Ch]: interface consolidation
1819
1820 2003-08-18  André Pönitz  <poenitz@gmx.net>
1821
1822         * BufferView.C:
1823         * BufferView_pimpl.C:
1824         * lyxfind.C:
1825         * paragraph_funcs.C:
1826         * rowpainter.C:
1827         * text3.C: remove LyXScreen::draw() and fitCursor calls
1828
1829         * BranchList.h: remove spurious semicolons
1830
1831         * MenuBackend.C: fix branchlist related crash
1832
1833 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1834
1835         * BranchList.[Ch]:
1836         * InsetList.[Ch]:
1837         * LColor.[Ch]:
1838         * LyXAction.C:
1839         * Makefile.am:
1840         * MenuBackend.[Ch]:
1841         * bufferparams.[Ch]:
1842         * factory.C:
1843         * lfuns.h:
1844         * lyxfunc.C:
1845         * text3.C: implements the 'branch inset'
1846         idea. This allows the output of various versions of a document
1847         from a single source version, selectively outputing or suppressing
1848         output of parts of the text.
1849         This implementation contains a 'branch list editor' in a separate
1850         tab of the document settings dialog. Branches are user definable
1851         and have a "display colour" to distinguish them on-screen.
1852
1853         ColorHandler was somewhat cleaned up.
1854         (1) make possible a dynamically growing LColor list by allowing
1855         the graphic context cache to grow along (vector);
1856         (2) eliminate an IMHO unnecessary step in colour allocation.
1857
1858 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1859
1860         * BufferView_pimpl.C: compile fix
1861
1862 2003-08-15  André Pönitz  <poenitz@gmx.net>
1863
1864         * rowpainter.C: remove extra metrics calls
1865
1866         * lyxtext.h: merge the two constructors into a single one,
1867           pass reference to owner's par list
1868
1869         * BufferView_pimpl.C:
1870         * text.C:
1871         * text2.C: adjust
1872
1873 2003-08-15  André Pönitz  <poenitz@gmx.net>
1874
1875         * lyxrow_funcs.[Ch]:
1876         * lyxtext.h:
1877         * paragraph.h:
1878         * paragraph_funcs.C:
1879         * rowpainter.C:
1880         * text.C:
1881         * text2.C:
1882         * text3.C:
1883         * text_funcs.C: split LyXText::rowlist_ into individual
1884         Paragraph::rows_ chunks
1885
1886         * BufferView.[Ch]:
1887         * BufferView_pimpl.[Ch]:
1888         * lyxfind.C:
1889         * lyxtext.h:
1890         * text3.C: remove toggleSelection()
1891
1892 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1893
1894         * bufferlist.C: beautify two alerts (shorter text of buttons)
1895         * buffer.C: Remove redundant ' ' from message
1896         * tabular.h:
1897         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1898         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1899         rename VALIGN_CENTER to VALIGN_MIDDLE
1900
1901 2003-08-11  André Pönitz  <poenitz@gmx.net>
1902
1903         * lyxtext.h (getPar):
1904         * text.C: new function
1905
1906 2003-08-11  André Pönitz  <poenitz@gmx.net>
1907
1908         * Makefile.am:
1909         * tracer.[Ch]: remove unneeded files
1910
1911         * InsetList.[Ch]: remove resizeInsetsLyXText()
1912
1913         * lyxtext.h:
1914         * text.C:
1915         * text2.C:
1916         * text3.C: merge insertParagraphs() and appendParagraph()
1917         remove breakAgain(), update()
1918
1919         * BufferView_pimpl.[Ch]:
1920         * bufferview_funcs.[Ch]:
1921         * lyxfunc.C:
1922         * paragraph.[Ch]:
1923         * rowpainter.C:
1924         * tabular.C: adjust after text & InsetList changes.
1925
1926 2003-08-08  André Pönitz  <poenitz@gmx.net>
1927
1928         * text.C (insertChar, backspace): replace rowlist fiddling
1929         with rebreak of full par
1930
1931         * lyxtext.h:
1932         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1933         checkParagraph, updateInset): removed
1934
1935 2003-08-07  André Pönitz  <poenitz@gmx.net>
1936
1937         * paragraph.C:
1938         * text3.C: merge some LFUN handlers, remove dead code
1939
1940 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1941
1942         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1943
1944 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1945
1946         * text2.C (DEPM): fix part of bug 1255 and 1256
1947
1948 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1949
1950         * BufferView_pimpl.C (workAreaDispatch): change to use
1951         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1952         that are no mouse related.
1953
1954 2003-08-05  André Pönitz  <poenitz@gmx.net>
1955
1956         * BufferView.[Ch]:
1957         * BufferView_pimpl.[Ch]:
1958         * bufferview_funcs.C:
1959         * text2.C:
1960         * text3.C: rip out "deep update"
1961
1962         * textcursor.[Ch] (last_sel_cursor): remove unused member
1963
1964 2003-08-04  André Pönitz  <poenitz@gmx.net>
1965
1966         * BufferView.[Ch]:
1967         * BufferView_pimpl.[Ch]:
1968         * ParagraphParameters.C:
1969         * bufferview_funcs.C:
1970         * lyx_cb.C:
1971         * lyxfind.C:
1972         * lyxfunc.C:
1973         * text.C:
1974         * text2.C:
1975         * text3.C: replace "complicated" BufferView::update(...) calls with
1976         simpler ones.
1977
1978         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1979
1980 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1981
1982         * Makefile.am (lyx_SOURCES): add paper.h
1983
1984 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1985
1986         * Makefile.am: move things around so that both lyx-qt and
1987         lyx-xforms can be built (according to --with-frontend). Then lyx
1988         is a symbolic link to lyx-[firstfrontend]
1989
1990 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1991
1992         * Always use std::endl with lyxerr
1993
1994 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1995
1996         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1997
1998 2003-08-01  André Pönitz  <poenitz@gmx.net>
1999
2000         * BufferView.[Ch]:
2001         * BufferView_pimpl.[Ch]:
2002         * lyxfunc.C:
2003         * text3.C: merge BufferView::repaint() and BufferView::update()
2004
2005 2003-08-01  José Matos  <jamatos@lyx.org>
2006
2007         * buffer.[Ch]: file_format is no longer a buffer data element.
2008
2009 2003-08-01  André Pönitz  <poenitz@gmx.net>
2010
2011         * BufferView.C:
2012         * lyxtext.h:
2013         * text.C:
2014         * text2.C: make redoParagraph more independent of current cursor
2015
2016         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2017         * text.C:
2018         * text2.C: remove unneeded members
2019
2020 2003-07-30  André Pönitz  <poenitz@gmx.net>
2021
2022         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2023
2024         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2025           create a single function...
2026
2027         * paragraph_funcs.C (moveItem): ... here.
2028
2029         * text.C:
2030           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2031
2032 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2033
2034         * LColor.[Ch]: Add comment and greyedout logical colors.
2035
2036 2003-07-30  André Pönitz  <poenitz@gmx.net>
2037
2038         * tabular.C: don't use Assert too heavily. This crashes where it
2039           shouldn't
2040
2041 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2042
2043         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2044         is disabled (bug 1232)
2045
2046 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2047
2048         * factory.C: limited 'arg' scope
2049
2050 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2051
2052         * factory.C: fixed Note submenu issues
2053
2054 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2055
2056         * factory.C: submenu for Note/Comment/Greyedout
2057
2058 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2059
2060         * lyx_main.C (LyX):
2061         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2062
2063 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2064
2065         * LaTeXFeatures.C:
2066         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2067         greyedout. Patch provided by Jürgen Spitzmüller.
2068
2069 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * kbmap.C (read): fix error message when reading bind files
2072
2073 2003-07-29  Angus Leeming  <leeming@lyx.org>
2074
2075         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2076         certainly does not do what it purports to do. I am doing it, and
2077         us, a favour by killing it.
2078
2079 2003-07-28  José Matos  <jamatos@lyx.org>
2080
2081         * buffer.C (readBody, do_writeFile):
2082         * paragraph.C(readParagraph): \end_document replaces \the_end.
2083
2084 2003-07-29  André Pönitz  <poenitz@gmx.net>
2085
2086         * BufferView.[Ch]:
2087         * BufferView_pimpl.[Ch]:
2088         * lyxfunc.C:
2089         * text2.C:
2090         * text3.C:
2091         * textcursor.[Ch]: remove toggleToggle & Co
2092
2093 2003-07-28  José Matos  <jamatos@fep.up.pt>
2094
2095         * buffer.C (readParagraph):
2096         * params_func (readParToken, readParagraph):
2097         * paragraph.C (write): \layout -> \begin_layout.
2098
2099 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2100
2101         * lyxlex_pimpl.C (setFile): clean up slightly.
2102
2103         * bufferparams.h: add compressed var
2104
2105         * buffer_funcs.C (readFile): adjust for LyXLex change
2106         (newFile): ditto + simplify
2107
2108         * buffer.C (writeFile): handle writing of compressed files
2109
2110         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2111         Check if the file is compressed and set a bufferparm if so.
2112
2113         * Makefile.am (lyx_LDADD): remove explicit -lz
2114
2115 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2116
2117         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2118         makeDocBookFile): put the real LyX version in the first line of
2119         the file
2120
2121         * version.h:
2122         * version.C.in: remove lyx_docversion
2123
2124         * tabular.C (write_attribute): add a template-based version to
2125         write enums properly
2126
2127 2003-07-28  André Pönitz  <poenitz@gmx.net>
2128
2129         * lyxtext.h:
2130         * text.C:
2131         * text2.C:
2132         * text3.C: use doubles again for x-coordinates. They are needed.
2133
2134 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2135
2136         * messages.C (getLocaleDir): use lyx_localedir()
2137
2138         * lyxlex_pimpl.C (setFile): compress stuff
2139
2140         * buffer.C (writeFile): add some compression stuff
2141         (do_writeFile): new func, dont call expliti close... will this
2142         breake anything?
2143
2144         * Makefile.am (lyx_LDADD): add -lz
2145
2146 2003-07-28  José Matos  <jamatos@fep.up.pt>
2147
2148         * buffer.C: increment file format.
2149         * paragraph_funcs (readParagraph, readParToken):
2150         * paragraph.C (readParagraph): add \end_layout.
2151
2152 2003-07-27  Angus Leeming  <leeming@lyx.org>
2153
2154         * Makefile.am: remove special casing for configure-time setting of
2155         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2156
2157         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2158         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2159
2160 2003-07-26  André Pönitz  <poenitz@gmx.net>
2161
2162         * paragraph_func.[Ch]:
2163         * paragraph.C (realizeFont): inline it whereever it is used
2164
2165         * rowpainter.C:
2166         * text.C:
2167         * text2.C:
2168         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2169
2170
2171 2003-07-26  André Pönitz  <poenitz@gmx.net>
2172
2173         *       lyxtext.h:
2174         * text.C:
2175         * text2.C: get rid of LyXText::need_break_row
2176
2177 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2178
2179         * toc.[Ch]: put namespace toc inside namespace lyx
2180
2181         * MenuBackend.C (expandToc2): adjust for lyx::toc
2182         (expandToc): ditto
2183
2184         * lyxfunc.C (dispatch): adjust for lyx::find
2185
2186         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2187         lyx::find instead. Reorganize a bit.
2188         (LyXReplace): rename to replace
2189         (LyXFind): rename to find
2190
2191         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2192         (dispatch): ditto
2193
2194 2003-07-26  André Pönitz  <poenitz@gmx.net>
2195
2196         * text.C (setHeightOfRow): restrict scope of temporary variable
2197
2198         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2199           code (never has been used?)
2200
2201 2003-07-27  Asger Alstrup  <alstrup@local>
2202
2203         * text.C (fill): Optimise algorithm to exploit that we can reuse
2204         the LyXFont for many characters.
2205         (setHeightOfRow): Same thing.
2206         (rowBreakPoint): Same thing.
2207
2208 2003-07-26  Asger Alstrup  <alstrup@local>
2209
2210         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2211
2212         * text.C (singleWidth): Spurious font copying in hot-spot
2213         singleWidth avoided. Reorder tests for arabic for efficiency.
2214
2215         * text.C (fill): handle empty paragraphs better.
2216
2217 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2218
2219         * ispell.C:
2220         * encoding.h: add includes
2221
2222         * lyxrc.C: remove reading of bind files
2223
2224         * lyx_main.C (init): setup bindings and menus only if we have a
2225         gui.
2226
2227         * kbmap.C (read): new method. Do the actual reading of bind
2228         files.
2229
2230         * converter.C (dvipdfm_options):
2231         * bufferparams.C:
2232         * lyxrc.C (read):
2233         (output): adapt PAPER_* enums.
2234
2235         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2236
2237         * bufferparams.h: remove paper-related enums from there
2238
2239         * paper.h: New file. A trivial header file to hold paper-related
2240         enums. It should later expand to contain many paper-related
2241         horrors access.
2242
2243         * lyxrc.C: declare extern displayTranslator
2244
2245 2003-07-27  José Matos  <jamatos@fep.up.pt>
2246
2247         * tabular.[Ch] (linuxdoc): add support for tables and figures
2248         (linuxdoc).
2249
2250 2003-07-27  José Matos  <jamatos@fep.up.pt>
2251
2252         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2253         consistency in both functions.
2254         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2255
2256 2003-07-26  Asger Alstrup  <alstrup@local>
2257
2258         * rowpainter.C (paintRows): Change algorithm to work directly on
2259         the insets rather than asking every character in the document
2260         whether its an inset.
2261
2262 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2263
2264         * buffer.C (openFileWrite): factorize some code
2265
2266 2003-07-26  Angus Leeming  <leeming@lyx.org>
2267
2268         * lyx_cb.C:
2269         * lyx_main.[Ch]: replace occurances of system_tempdir with
2270         os::getTmpDir().
2271
2272 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2273
2274         * rename Inset to InsetOld
2275
2276 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2277
2278         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2279         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2280         which I think is a bit clearer. EDIT is gone, since it was
2281         premature optimisation, and broken for mathed anyway.
2282         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2283         with cursor positioning in insets as well (math insets still do not
2284         work, but that's a different story anyway.) It mysteriously
2285         crashes sometimes with undo in the first paragraph, but I'm fairly
2286         confident that this is a compiler bug.
2287
2288 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2289
2290         * paragraph.C (Paragraph): adjust for new clone return type
2291         (operator==): ditto
2292         (copyIntoMinibuffer): ditto
2293
2294 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2295
2296         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2297         by not having a special case, and always doing a full rebreak of
2298         the document after undo.
2299
2300 2003-07-23  Angus Leeming  <leeming@lyx.org>
2301
2302         * factory.C (createInset): InsetExternal::setParams now takes a
2303         Buffer const * arg.
2304
2305 2003-07-23  Angus Leeming  <leeming@lyx.org>
2306
2307         * factory.C (createInset): changed interface to the external and
2308         graphics mailers' string2params functions.
2309
2310 2003-07-23  Angus Leeming  <leeming@lyx.org>
2311
2312         * factory.C (createInset): pass a
2313         Buffer const * parameter to InsetExternalMailer's string2params.
2314
2315 2003-07-22  John Levon  <levon@movementarian.org>
2316
2317         * Thesaurus.h: include the right aiksaurus header
2318
2319 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2320
2321         * MenuBackend.C (expand): check menu shortcuts unconditionally
2322
2323 2003-07-21  Angus Leeming  <leeming@lyx.org>
2324
2325         * factory.C (createInset): pass a
2326         buffer_path parameter to InsetGraphicsMailer's string2params.
2327
2328 2003-07-21  Angus Leeming  <leeming@lyx.org>
2329
2330         * BufferView_pimpl.C (buffer):
2331         * buffer.C (d-tor):
2332         * lyx_main.C (LyX):
2333         * lyxfunc.C (dispatch):
2334         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2335         rather than the grfx shortcut.
2336
2337 2003-07-21  André Pönitz  <poenitz@gmx.net>
2338
2339         * rowpainter.C: remove unused variables
2340
2341         * tabular_funcs.C:
2342         * tabular_funcs.h: move to tabular.C
2343         * Makefile.am: adjust
2344
2345         * tabular.[Ch]: basic optical cleaning
2346
2347         * author.h: pass references, not values
2348
2349 2003-07-18  André Pönitz  <poenitz@gmx.net>
2350
2351         * lyxtext.h:
2352         * metricsinfo.C:
2353         * metricsinfo.h:
2354         * rowpainter.C:
2355         * text.C:
2356         * text2.C:
2357         * text3.C: two-phase drawing for InsetText and InsetTabular
2358         some float -> int changes.
2359
2360 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2361
2362         * lyx_main.C: fix the fix
2363
2364 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2365
2366         * lyx_main.C: fix a crash in batch mode if no files specified
2367         * converter.C: ws
2368
2369 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2370
2371         * format.[Ch] (papersize): moved to BufferParams
2372         * converter.[Ch] (dvips_options): moved to BufferParams
2373         (dvipdfm_options): moved to anon namespace
2374         * bufferparams.[Ch]: added above functions.
2375
2376 2003-07-17  André Pönitz  <poenitz@gmx.net>
2377
2378         * lyxtext.h:
2379         * rowpainter.C:
2380         * text2.C: don't call inset->update() anymore
2381
2382         * metricsinfo.[Ch]: add convenience constructor
2383
2384 2003-07-16  André Pönitz  <poenitz@gmx.net>
2385
2386         * lyxcursor.[Ch]:
2387         * lyxfunc.[Ch]:
2388         * text.C:
2389         * text2.C: replace the LyXCursor::irow_ member with
2390          on-demand computation of the value
2391
2392 2003-07-16  John Levon  <levon@movementarian.org>
2393
2394         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2395
2396 2003-07-15  André Pönitz  <poenitz@gmx.net>
2397
2398         * text.C:
2399         * text2.C: remove no more needed refresh_row
2400
2401 2003-07-15  André Pönitz  <poenitz@gmx.net>
2402
2403         * lyxtext.h:
2404         * rowpainter.C:
2405         * text2.C:
2406         * text3.C: refresh_status tristate -> need_update bool
2407
2408 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2409
2410         * lyxtext.h (init): remove reinit argument (act as if always true)
2411         * text2.C: adjust to that
2412
2413 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2414
2415         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2416         * text3.C: use it to delete selections in some cases
2417         (bugs 441, 673, 702, 954).
2418
2419 2003-07-14  André Pönitz  <poenitz@gmx.net>
2420
2421         * rowpainter.[Ch]: reduce interface
2422
2423 2003-07-14  André Pönitz  <poenitz@gmx.net>
2424
2425         * BufferView_pimpl.C:
2426         * text2.C: adjust after removing unused BufferView * argument
2427
2428 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2429
2430         * text2.C (init): fix a crash fired on resize
2431
2432 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2433
2434         * buffer.[Ch]: added new closing signal
2435         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2436         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2437         BufferView::Pimpl via the closing the signal
2438
2439 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2440
2441         * buffer.[Ch]: take out all bv-related from buffer
2442         * BufferView.C:
2443         * BufferView_pimpl.[Ch]: connect to new signals
2444         * CutAndPaste.C: removed useless asserts
2445         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2446         * lyxvc.[Ch]:
2447         * vc-backend.[Ch]:
2448         * lyxfunc.C: moved view-related funciontality from vc here
2449         * paragraph.C: removed outdated comments
2450         * text.C: ws
2451
2452 2003-07-10  André Pönitz  <poenitz@gmx.net>
2453
2454         * BufferView_pimpl.C:
2455         * tabular.h:
2456         * tabular_funcs.C:
2457         * text.C:
2458         * text2.C: remove InsetText::InnerCache, clean up consequences
2459
2460 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2461
2462         * ispell.C: fix two typos in error messages
2463
2464 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2465
2466         * Extend Note inset to other forms of annotation like Comment
2467         and Greyedout. Right button click gives dialog.
2468
2469         Files modified or added (+):
2470
2471         * insetnote.[Ch]
2472         * FormNote.[Ch]      +
2473         * ControlNote.[Ch]   +
2474         * form_note.fd       +
2475         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2476         frontends/controllers
2477         * xforms/Dialogs.C
2478         * factory.C
2479
2480 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2481
2482         * aspell.C: add missing namespace lyx::support
2483
2484 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2485
2486         * BufferView.[Ch] (newFile): Add
2487         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2488         * LaTeX.[Ch] (message): added this signal and use it
2489         * buffer.[Ch] (busy, message): added these signals and use them
2490         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2491         * converter.C:
2492         * exporter.C:
2493         * format.C:
2494         * importer.C: use buffer signals instead of direct bv calling
2495         * lyx_cb.[Ch] (ShowMessage): removed
2496         * lyx_main.C:
2497         * lyxfunc.C:
2498         * paragraph_funcs.C:
2499         * text2.C: use buffer signals
2500
2501 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * introduce namespace lyx::graphics
2504
2505 2003-07-02  André Pönitz  <poenitz@gmx.net>
2506
2507         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2508
2509 2003-07-01  André Pönitz  <poenitz@gmx.net>
2510
2511         * text.C:
2512         * text2.C:
2513         * text3.C:
2514         * text_funcs.[Ch]:
2515         * textcursor.h:
2516         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2517           text*.C to text_func.C
2518
2519 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * introduce namespace lyx::support
2522
2523 2003-06-30  André Pönitz  <poenitz@gmx.net>
2524
2525         * Chktex.C:
2526         * funcrequest.C:
2527         * lyxtext.h:
2528         * text.C: re-enable --with-included-string
2529
2530 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2531
2532         * textcursor.C: add <config.h>
2533
2534         * text.C (getWord): remove const from word_location arg
2535
2536         * lyxvc.C (getLogFile): fix const type order
2537
2538         * lyxtext.h: remove const from word_location arg, add arg name
2539
2540         * lyxlayout.h: currect type on labeltype.
2541
2542         * importer.C: correct \file
2543
2544         * converter.C (intToFormat): use std:: on ret val, ws changes
2545
2546         * bufferlist.h: correct \file
2547
2548         * buffer.C (makeLinuxDocFile): fix const type order
2549         (makeDocBookFile): ditto
2550         (fillWithBibKeys): use std:: on stdlib args.
2551
2552         * CutAndPaste.C: fix authors.
2553         (availableSelections): use std:: on return vector
2554
2555 2003-06-27  André Pönitz  <poenitz@gmx.net>
2556
2557         * BufferView_pimpl.C:
2558         * bufferview_funcs.C:
2559         * lyxcursor.C:
2560         * lyxcursor.h:
2561         * lyxfunc.C:
2562         * lyxtext.h:
2563         * rowpainter.C:
2564         * text.C:
2565         * text2.C:
2566         * text3.C: remove LyXCursor::row_ member
2567
2568         * lyxtext.h:
2569         * text.C: rename fullRebreak() to partialRebreak() and implement
2570           a fullRebreak() that really bereks fully
2571
2572         * textcursor.h: new struct for cursor-related data
2573
2574 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2575
2576         * lyx_main.C (LyX): get full path of document loaded on the
2577         command line
2578
2579 2003-06-26  André Pönitz  <poenitz@gmx.net>
2580
2581         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2582           remove unused/broken operator>,<,>=.
2583
2584         *       text.C: remove only use of broken operator<= in an Assert().
2585
2586 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2587
2588         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2589         moved errorlist_.clear to showErrorList
2590
2591 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2592
2593         * converter.C (scanLog, runLaTeX):
2594         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2595         move the bv->showErrorList call to the callers
2596         * lyxfunc.C: i.e. here...
2597         * text2.C: and here
2598         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2599         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2600         namespace, the second to...
2601         * buffer_funcs (BufferFormat, parseErrors): added
2602         * errorlist.C (ErrorList(TeXErrors const &)): removed
2603
2604 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2605
2606         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2607
2608 2003-06-24  "Garst R. Reese" <reese@isn.net>
2609
2610         * debug.C: fix typo
2611
2612 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2613
2614         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2615
2616         * version.C.in: change docversion to 1.4
2617
2618 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2619
2620         * buffer.C: fix a bug just introduced
2621
2622 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2623
2624         * buffer.[Ch]: added the parseError signal and use it, removed
2625         sgmlError
2626         * BufferView.[Ch] (addError): moved to ...
2627         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2628         to the Buffer::parseError signal to catch (guess what) parse errors
2629         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2630
2631 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2632
2633         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2634         ability to create a buffer and to return an existing one from
2635         the list. Moved these functions to...
2636         * buffer_funcs.[Ch]: added
2637         * BufferView.[Ch] (loadLyXFile): added
2638         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2639         job removed from bufferlist::loadLyXFile.
2640         * buffer.C (setReadOnly): make it work without view
2641         (i.e added an if (users))
2642
2643 2003-06-19  Angus Leeming  <leeming@lyx.org>
2644
2645         * lfuns.h:
2646         * LyXAction.C (init):
2647         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2648         with LFUN_DIALOG_SHOW <name> <data>.
2649
2650 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2651
2652         * CutAndPaste.C (availableSelections): small compilation fix for
2653         ancient (gcc 2.9x) compilers
2654
2655 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2656
2657         * text3.C (cursorNext): add tmp var
2658
2659         * text2.C (updateCounters): for function calling out of for clause
2660         (replaceSelectionWithString): ditto
2661         (insertStringAsParagraphs): ditto
2662         (getColumnNearX): add tmp var
2663         (setCursorFromCoordinates): add tmp var
2664         (cursorDownParagraph): add tmp var
2665         (deleteEmptyParagraphMechanism): add tmp var
2666
2667         * text.C (insertChar): add tmp var
2668
2669         * rowpainter.C (paintDepthBar): add tmp var
2670
2671         * CutAndPaste.C (availableSelections): potentially check all
2672         paragraphs in a cut to fill the shown strings.
2673
2674 2003-06-18  André Pönitz  <poenitz@gmx.net>
2675
2676         * kbmap.[Ch]: use vector<> instead of list<>
2677
2678 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2679
2680         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2681         pasteSelection with index
2682
2683         * text2.C (pasteSelection): modify, call pasteSelection with index
2684
2685         * paragraph.C (asString): reimplement version with no interval to
2686         call the one with interval.
2687
2688         * lyxtext.h: add index arg to pasteSelection
2689
2690         * MenuBackend.C (MenuItem): handle PasteRecent
2691         (Menu::read::Menutags): add md_pasterecent
2692         (read): handle it
2693         (expandPasteRecent): new function
2694         (expand): use it
2695
2696         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2697
2698         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2699         the limited stack
2700         (availableSelections): new function
2701
2702 2003-06-17  Angus Leeming  <leeming@lyx.org>
2703
2704         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2705
2706 2003-06-17  Angus Leeming  <leeming@lyx.org>
2707
2708         * lfuns.h:
2709         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2710
2711         * lyxfunc.C (dispatch): invoke it.
2712
2713 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2714
2715         * iterators.C (operator++, ParPosition): reintroduce some
2716         const_cast for the benefit of older compilers.
2717
2718 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2719
2720         * text3.C (dispatch): do not modify clipboard when doing
2721         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2722         LFUN_DELETE_SKIP on a selection selection
2723
2724 2003-06-16  André Pönitz  <poenitz@gmx.net>
2725
2726         * BufferView.C:
2727         * buffer.C:
2728         * buffer.h:
2729         * paragraph.C:
2730         * tabular.[Ch]: IU of clone() and getLabelList();
2731
2732 2003-06-13  André Pönitz  <poenitz@gmx.net>
2733
2734         * tabular.h: compactification
2735
2736 2003-06-12  André Pönitz  <poenitz@gmx.net>
2737
2738         * tabular.C:
2739         * tabular.h:
2740         * tabular_funcs.h: some renaming plus whitespace
2741
2742 2003-06-12  André Pönitz  <poenitz@gmx.net>
2743
2744         * BufferView.C:
2745         * BufferView_pimpl.C:
2746         * CutAndPaste.C:
2747         * buffer.C:
2748         * iterators.[Ch]:
2749         * lyxfunc.C:
2750         * text.C:
2751         * toc.C: Return a Paragraph & for ParIterator::operator*()
2752
2753 2003-06-11  John Levon  <levon@movementarian.org>
2754
2755         * lyx_main.C:
2756         * ToolbarBackend.h:
2757         * ToolbarBackend.C: add "Toolbars" section and
2758         put the flags there
2759
2760 2003-06-10  Angus Leeming  <leeming@lyx.org>
2761
2762         * lfuns.h:
2763         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2764
2765         * lyxfunc.C (dispatch): invoke it.
2766
2767 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2768
2769         * main.C: protect <ios> with HAVE_IOS
2770         (main): protect sync_with_stdio with HAVE_IOS
2771
2772 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2773
2774         * text2.C (cutSelection): adjust
2775         (pasteSelection): adjust
2776
2777         * messages.C: handle get of empty string
2778
2779         * main.C (main): use sync_with_stdio(false)
2780
2781         * lyxfunc.C (dispatch): adjust
2782
2783         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2784         (WriteAs): remove unneeded BufferView arg.
2785
2786         * bufferparams.h: use correct types on papersize, papersize2 and
2787         paperpackage.
2788
2789         * bufferparams.C (readToken): adjust for type
2790         (writeLaTeX): add missing cases to switch.
2791
2792         * bufferlist.C (quitWriteBuffer): adjust
2793         (close): adjust
2794
2795         * buffer.C (asciiParagraph): remove some commented code.
2796
2797         * CutAndPaste.C: remove current_view extern variable.
2798         (cutSelection): add BufferParams arg.
2799         (eraseSelection): add BufferParams arg.
2800         (pasteSelection): add Buffer const & arg
2801
2802 2003-06-07  John Levon  <levon@movementarian.org>
2803
2804         * buffer.C:
2805         * paragraph_funcs.C:
2806         * paragraph_pimpl.C:
2807         * text.C:
2808         * text2.C:
2809         * paragraph.h:
2810         * paragraph.C: allow InsetERT to freely space lines,
2811         and some consolidation of code
2812
2813 2003-06-06  José Matos  <jamatos@fep.up.pt>
2814
2815         * buffer.C (makeDocBookFile): fix bug #821
2816
2817 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2818
2819         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2820
2821 2003-06-04  Angus Leeming  <leeming@lyx.org>
2822
2823         * buffer.C: bump format to 224.
2824
2825 2003-06-05  André Pönitz  <poenitz@gmx.net>
2826
2827         * text2.C (redoParagraphs): remove two const_cast<>
2828
2829 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2830
2831         * ParagraphList.h: remove last remnants of NO_STD_LIST
2832
2833 2003-06-03  Angus Leeming  <leeming@lyx.org>
2834
2835         * factory.C (createInset): small change to the way InsetExternal's params
2836         are set.
2837
2838 2003-06-04  André Pönitz  <poenitz@gmx.net>
2839
2840         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2841
2842         * paragraph_pimpl.h:
2843         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2844
2845         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2846
2847         * undo_funcs.C: make some simple cases of undo work again
2848
2849 2003-06-03  John Levon  <levon@movementarian.org>
2850
2851         * ispell.C: HPUX doesn't have sys/select.h
2852         (from Albert Chin)
2853
2854 2003-06-03  John Levon  <levon@movementarian.org>
2855
2856         * CutAndPaste.C: update tabular and include inset
2857         buffer references
2858
2859         * buffer.h:
2860         * paragraph.h:
2861         * paragraph.C: remove owningBuffer(), don't pass Buffer
2862         to clone()
2863
2864         * factory.C: insetGraphicsParams changed
2865
2866 2003-06-02  John Levon  <levon@movementarian.org>
2867
2868         * LyXAction.C:
2869         * factory.C:
2870         * lfuns.h:
2871         * lyxfunc.C:
2872         * text3.C: remove insetparent
2873
2874 2003-06-02  John Levon  <levon@movementarian.org>
2875
2876         * buffer.h:
2877         * buffer.C: fix inset_iterator.end(), move out of line
2878         (bug 1149)
2879
2880 2003-06-01  John Levon  <levon@movementarian.org>
2881
2882         * text3.C: use a proper cut/paste when doing inset
2883         insert (from Jürgen Spitzmüller)
2884
2885 2003-06-01  John Levon  <levon@movementarian.org>
2886
2887         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2888
2889 2003-05-30  André Pönitz  <poenitz@gmx.net>
2890
2891         * rowpainter.C: unify second drawing phase
2892
2893 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2894
2895         * trans_mgr.C: remove one case of current_view
2896
2897         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2898
2899         * paragraph_funcs.h: remove paragraph.h include
2900
2901         * paragraph.h: delete NO_STD_LIST stuff
2902
2903         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2904
2905         * buffer.h: remove paragraph.h include
2906
2907         * ParagraphList.C: delete file
2908
2909         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2910
2911         * toc.C (getTocList): adjust
2912
2913         * paragraph_pimpl.C (validate): adjust
2914
2915         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2916
2917         * paragraph.C (Paragraph): adjust
2918         (getPositionOfInset): use const_iterator, adjust
2919         (bibitem): use const_iterator, adjust
2920         (setInsetOwner): adjust
2921
2922         * iterators.C (operator++): adjust
2923
2924         * InsetList.[Ch]: Replace selfmade iterator with standard
2925         vector::iterator also introduce const_iterator. Remove getPos,
2926         getInset and setInset from InsetTable. Adjust accordingly.
2927
2928         * BufferView.C (lockInset): adjust
2929         (ChangeInsets): adjust
2930
2931         * tabular.[Ch]: delete commented same_id functions
2932
2933 2003-05-28  John Levon  <levon@movementarian.org>
2934
2935         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2936
2937 2003-05-28  André Pönitz  <poenitz@gmx.net>
2938
2939         * metricsinfo.[Ch]: remove 'fullredraw' member
2940
2941 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2942
2943         * lyxtextclass.C (operator): remove caching.
2944
2945 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2946
2947         * text3.C: adjust
2948
2949         * text2.C (cursorBottom): adjust
2950         (setCounter): use ParagraphList::find, adjust
2951
2952         * text.C (workWidth): use ParagraphList::find, adjust
2953
2954         * lyxcursor.C (LyXCursor): adjust
2955
2956         * buffer.C (inset_iterator): adjust
2957
2958         * ParagraphList.h: make iterator(value_type) private, make
2959         ParagraphList a friend of iterator.
2960
2961         * ParagraphList.C (find): new function
2962
2963         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2964
2965 2003-05-27  André Pönitz  <poenitz@gmx.net>
2966
2967         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2968
2969 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2970
2971         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2972
2973 2003-05-26  John Levon  <levon@movementarian.org>
2974
2975         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2976
2977 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * remove same_id from function signatures, adjust.
2980
2981 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2982
2983         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2984
2985         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2986
2987         * paragraph.C (Paragraph): get rid of same_ids parameter
2988
2989         * ParagraphList.C (insert): adjust
2990         (push_back): adjust
2991
2992 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * paragraph_funcs.C (breakParagraph): adjust
2995         (breakParagraphConservative): adjust
2996
2997         * buffer.C (readParagraph): adjust
2998
2999         * ParagraphList.C (insert): take a reference instead of a pointer
3000         (insert): adjust
3001
3002         * paragraph.[Ch] (id): new function
3003
3004         * bufferlist.C (newFile): adjust
3005
3006         * ParagraphList.C (ParagraphList): adjust
3007         (assign): adjust
3008         (push_back): take a reference instead of a pointer.
3009
3010         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3011
3012         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3013         instead.
3014
3015         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3016         set else use old code.
3017
3018         * ParagraphList.C: remove all NO_NEXT code and only compile this
3019         code of NO_STD_LIST is set.
3020
3021 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3022
3023         * BufferView_pimpl.C:
3024         * TextCache.C:
3025         * TextCache.h:
3026         * bufferlist.C:
3027         * errorlist.h:
3028         * format.C:
3029         * format.h:
3030         * graph.C:
3031         * lyxfunc.C:
3032         * lyxrc.C:
3033         * graphics/GraphicsConverter.C:
3034         * graphics/PreviewLoader.C: header adjustment
3035
3036 2003-05-23  Angus Leeming  <leeming@lyx.org>
3037
3038         * LaTeXFeatures.[Ch] (useBabel): new method.
3039         * bufferparams.C (writeLaTeX): use it.
3040
3041 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3042
3043         * ParagraphList.h (set): remove unused function.
3044
3045 2003-05-23  André Pönitz  <poenitz@gmx.net>
3046
3047         * BufferView.C:
3048         * BufferView_pimpl.C:
3049         * buffer.C:
3050         * buffer.h:
3051         * lyxfunc.C:
3052         * undo_funcs.C: setUndo reworked
3053
3054         * iterators.[Ch]: add access to topmost ParagraphList
3055
3056         * lyxtext.[Ch] (workWidth): add a const
3057
3058 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3059
3060         * texrow.[Ch] (increasePos): remove function
3061         * exporter.C (export): removed unused var and outdated comment
3062
3063 2003-05-23  Angus Leeming  <leeming@lyx.org>
3064
3065         * latexrunparams.h: rename fragile as moving_arg.
3066         * paragraph.C (simpleTeXOnePar): ditto.
3067         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3068
3069 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3072         (createUndo): ditto
3073         (textUndoOrRedo): comment out a currently unused var.
3074
3075         * paragraph.h (NO_NEXT): enable NO_NEXT
3076
3077         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3078
3079         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3080
3081         * exporter.C (Export): adjust for removeAutoInsets removal.
3082
3083         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3084
3085         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3086
3087         * BufferView.[Ch] (removeAutoInsets): delete function
3088
3089 2003-05-22  Angus Leeming  <leeming@lyx.org>
3090
3091         * latexrunparams.h: add a free_spacing variable.
3092
3093         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3094         to pass moving_arg, as the data is stored in runparams.fragile.
3095
3096         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3097         to Inset::latexOptional or to simpleTeXOnePar.
3098
3099         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3100         free_spacing arg to Inset::latexOptional.
3101
3102         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3103         free_spacing arg.
3104
3105 2003-05-22  Angus Leeming  <leeming@lyx.org>
3106
3107         * latexrunparams.h: add fragile and use_babel variables.
3108
3109         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3110         * buffer.C (makeLaTeXFile): store this returned value in
3111         runparams.use_babel, thus passing it to the inset::latex methods.
3112
3113         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3114         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3115
3116         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3117         longer has a fragile arg, as it is stored in runparams.fragile.
3118
3119         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3120         moving_arg parameter as the data is stored in runparams.fragile.
3121
3122         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3123         a fragile parameter as the data is stored in runparams.fragile.
3124
3125 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3128
3129 2003-05-22  Angus Leeming  <leeming@lyx.org>
3130
3131         * latexrunparams.h: add a 'bool nice' which defaults to false.
3132
3133         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3134         now encapsulated within runparams.
3135
3136         * bufferlist.C (updateIncludedTeXfiles):
3137         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3138
3139 2003-05-22  Angus Leeming  <leeming@lyx.org>
3140
3141         * latexrunparams.h: new file containing struct LatexRunParams.
3142         * Makefile.am: add new file.
3143
3144         * LaTeX.[Ch] (c-tor, run):
3145         * buffer.[Ch] (makeLaTeXFile):
3146         * bufferlist.[Ch] (updateIncludedTeXfiles):
3147         * converter.C (convert, scanLog):
3148         * converter.[Ch] (runLaTeX):
3149         * exporter.C (Export):
3150         * paragraph.[Ch] (simpleTeXOnePar):
3151         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3152         * paragraph_funcs.[Ch] (latexParagraphs):
3153         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3154         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3155         pass around a LatexRunParams parameter.
3156
3157 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * paragraph.[Ch]: remove unused constructor
3160
3161         * ParagraphList.C (erase): new function, taking two iterators
3162
3163 2003-05-22  André Pönitz  <poenitz@gmx.net>
3164
3165         * undo_funcs.C: remove duplicated code
3166
3167         * iterator.[Ch]: operator=
3168
3169 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3170
3171         * tabular.C (SetMultiColumn): ws changes
3172
3173         * rowpainter.C (paintFirst): get rid of a ->previous
3174
3175         * lyx_cb.C (getPossibleLabel): parlist simplification
3176
3177         * BufferView.C (ChangeInsets): simplify slightly.
3178
3179 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3180
3181         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3182         * lfuns.h: new LFUN_SPACE
3183         * lyxfunc.C: protected space has a new lfun
3184         * paragraph_funcs.C: read new space insets
3185         * text3.C:
3186         * factory.C: handle new space insets
3187
3188 2003-05-22  André Pönitz  <poenitz@gmx.net>
3189
3190         * BufferView.C:
3191         * BufferView_pimpl.C:
3192         * buffer.[Ch]:
3193         * lyxfunc.C:
3194         * undo_funcs.C: return a ParIterator from getParFromID.
3195
3196         * iterators.[Ch]: add two const's
3197
3198 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * toc.C (getTocList): adjust
3201
3202         * iterators.[Ch]: rework for parlist
3203
3204         * buffer.C (par_iterator_begin): adjust
3205         (par_iterator_end): adjust
3206
3207         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3208
3209         * BufferView.C (removeAutoInsets): adjust
3210         (ChangeInsets): adjust
3211
3212 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3213
3214         * text.C (top_y): fix bug 1110
3215
3216 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3217
3218         * errorlist.[Ch]: added
3219         * buffer.C:
3220         * BufferView.[Ch]:
3221         * BufferView_pimpl.C:
3222         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3223         instead
3224
3225 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3226
3227         * Makefile.am: ensure that lyx is relinked upon changes to the
3228         various "convenience" libs.
3229
3230 2003-05-20  Angus Leeming  <leeming@lyx.org>
3231
3232         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3233         files are compiled in alphabetical order again.
3234
3235         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3236
3237 2003-05-19  Angus Leeming  <leeming@lyx.org>
3238
3239         * gettext.[Ch]: remove "char const * _(char const *)".
3240
3241 2003-05-19  André Pönitz  <poenitz@gmx.net>
3242
3243         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3244
3245         * Makefile.am:
3246         * BufferView.C:
3247         * DepTable.h:
3248         * LaTeXFeatures.C:
3249         * buffer.C:
3250         * lyxfont.C:
3251         * lyxlex.h:
3252         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3253
3254 2003-05-19  André Pönitz  <poenitz@gmx.net>
3255
3256         * buffer.C:
3257         * lyxlayout.[Ch]:
3258         * lyxtextclass.[Ch]:
3259         * paragraph.C:
3260         * paragraph_funcs.[Ch]:
3261         * text2.C:
3262         * text3.C: more insetenv work
3263
3264 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3265
3266         * ParagraphParameters.C (params2string): small bug fixed
3267
3268 2003-05-16  André Pönitz  <poenitz@gmx.net>
3269
3270         * debug.C:
3271         * bufferview_funcs.C: patch from Kornel Benko to prevent
3272           crash when _(...) is called twice in a statement
3273
3274 2003-05-16  André Pönitz  <poenitz@gmx.net>
3275
3276         * BufferView.C:
3277         * lyxfunc.C:
3278         * text.C:
3279         * text2.C:
3280         * text3.C:
3281         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3282
3283 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3284
3285         * lyx_main.C (init): remove spurious static_cast
3286
3287 2003-05-14  André Pönitz  <poenitz@gmx.net>
3288
3289         * BufferView.C: fix format string
3290
3291 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3292
3293         * BufferView.[Ch] (insertErrors): removed
3294         * BufferView.[Ch] (showErrorList): added
3295         * buffer.C (runChkTeX):
3296         * converter.C (scanLog): call showErrorList instead of inserterrors
3297
3298 2003-05-13  André Pönitz  <poenitz@gmx.net>
3299
3300         * BufferView_pimpl.C:
3301         * buffer.C:
3302         * bufferview_func.C:
3303         * MenuBackend.C:
3304         * lyxfunc.C:
3305         * lyxrc.C:
3306         * tex-accent.C:
3307         * text3.C:
3308         * toc.C:
3309         * tabular_funcs.h: tostr() from its own header
3310
3311         * ParagraphParameters.C:
3312         * ToolbarBackend.C:
3313         * bufferparams.C:
3314         * format.C:
3315         * lyxlex_pimpl.C:
3316         * text3.C: STRCONV()
3317
3318 2003-05-12  André Pönitz  <poenitz@gmx.net>
3319
3320         * BufferView.C:
3321         * BufferView_pimpl.C:
3322         * CutAndPaste.C:
3323         * LaTeX.C:
3324         * LaTeXFeatures.C:
3325         * ParagraphParameters.C:
3326         * buffer.C:
3327         * bufferlist.C:
3328         * bufferparams.C:
3329         * bufferview_funcs.C:
3330         * converter.C:
3331         * counters.C:
3332         * debug.C:
3333         * exporter.C:
3334         * format.C:
3335         * importer.C:
3336         * lyx_cb.C:
3337         * lyx_main.C:
3338         * lyxfont.C:
3339         * lyxfunc.C:
3340         * lyxvc.C:
3341         * paragraph.C:
3342         * paragraph_funcs.C:
3343         * tabular.C:
3344         * tabular_funcs.C:
3345         * text2.C:
3346         * text3.C:  boost::format -> bformat  all over the place
3347
3348
3349 2003-05-09  André Pönitz  <poenitz@gmx.net>
3350
3351         * LColor.[Ch]: Pimpl the #include <map> away
3352
3353 2003-05-09  John Levon  <levon@movementarian.org>
3354
3355         * bufferlist.C: never remove emergency saves
3356
3357 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3358
3359         * Makefile.am: better lib building
3360
3361 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3364         instead.
3365         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3366         (simpleTeXSpecialChars): adjust
3367         (simpleTeXSpecialChars): adjust
3368         * paragraph.C (simpleTeXOnePar): adjust
3369         * buffer.C (makeLaTeXFile): adjust
3370
3371         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3372
3373         * text2.C (changeDepth): parlist cleanup
3374         (getColumnNearX): ditto
3375
3376         * rowpainter.C (getLabelFont): parlist cleanup
3377
3378         * bufferlist.C (newFile): parlist cleanup
3379
3380         * CutAndPaste.C (eraseSelection): parlist cleanup
3381
3382         * BufferView_pimpl.C (trackChanges): parlist cleanup
3383         (dispatch): ditto
3384
3385         * BufferView.C (lockInset): parlist cleanup.
3386         (ChangeInsets): ditto
3387
3388 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3389
3390         * CutAndPaste.h: Update file header.
3391
3392         * CutAndPaste.C: Update file header.
3393         Store the parts cut out of the Document in a limited_stack.
3394         (copySelection): adjust
3395         (pasteSelection): new function, takes the index in the limited stack.
3396         (nrOfParagraphs): adjust
3397         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3398         simplify error inset insertion.
3399         (checkPastePossible): adjust
3400
3401 2003-05-06  John Levon  <levon@movementarian.org>
3402
3403         * text2.C: don't cast wrap inset to float
3404
3405 2003-05-05  André Pönitz  <poenitz@gmx.net>
3406
3407         * iterator.C:
3408         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3409
3410         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3411           few naked Paragraph *.
3412
3413 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3414
3415         * bufferparams.C: Output warning if a document with missing
3416         TeX document class is loaded
3417         * exporter.C: Disable TeX exports if the document class is missing
3418         * lyxtextclass.C:
3419         * lyxtextclass.h:
3420         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3421         isTeXClassAvailable()
3422
3423 2003-05-03  John Levon  <levon@movementarian.org>
3424
3425         * BufferView.h:
3426         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3427         explicit cursor show/hide
3428
3429         * BufferView_pimpl.h:
3430         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3431         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3432
3433         * lyxfunc.C: hide cursor before dispatching.
3434
3435         * lyx_cb.C:
3436         * lyxfind.C:
3437         * text.C:
3438         * text3.C: remove explicit cursor hides
3439
3440 2003-05-02  André Pönitz  <poenitz@gmx.net>
3441
3442         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3443
3444         * undo_funcs.C:
3445         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3446           linked lists
3447
3448         * text2.C: tiny whitespace
3449
3450 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * undo_funcs.C: almost only ws changes.
3453
3454         * ParagraphList.C (splice): just return if pl is empty.
3455
3456 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3457
3458         * ParagraphList.C (splice): new function.
3459
3460         * CutAndPaste.C (pasteSelection): use it
3461
3462 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * CutAndPaste.C (pasteSelection): remove the last next and
3465         previous from this file.
3466
3467 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3468
3469         * CutAndPaste.C (pasteSelection): more clean up, user proper
3470         ParagraphList functions for pasteing.
3471
3472         * ParagraphList.C (insert): new function, three arg insert
3473
3474 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3475
3476         * ParagraphList.C (insert): new function, three arg insert
3477
3478         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3479         not on paragraphs.
3480
3481 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3484
3485 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3486
3487         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3488
3489 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3490
3491         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3492         (copySelection): clean up a bit.
3493         (pasteSelection): use make_pair
3494
3495         * ParagraphList.C (ParagraphList): implement copy constructor
3496         (operator=): implement, base on copy constructor.
3497         (assign): new func
3498
3499         * paragraph.C (erase): return a bool
3500
3501         * paragraph_pimpl.C (erasePos): remove function, move contents...
3502         (erase): ... here. Return a bool.
3503         (erase): call erase instead of erasePos.
3504
3505 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3506
3507         * ParagraphList.h: define PitPosPair
3508         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3509         ParagraphList, fix a bug on pasting multiple pars
3510         * text2.C: change interface to C&P
3511
3512 2003-04-30  André Pönitz  <poenitz@gmx.net>
3513
3514         * undo_func.C: revert part of yesterday's patch 2
3515
3516 2003-04-30  John Levon  <levon@movementarian.org>
3517
3518         * LColor.C: s/tabular/table/
3519
3520 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * text3.C (dispatch): do not convert iterator -> pointer
3523         * undo_funcs.C (setCursorParUndo): ditto
3524         * text_funcs.C (transposeChars): ditto
3525
3526         * text2.C (setLayout): ws changes only
3527
3528         * text.C (breakParagraph): do not convert iterator -> pointer
3529         (insertChar): ditto
3530         (acceptChange): ditto
3531         (rejectChange): ditto
3532         (changeCase): ditto
3533         (Delete): ditto
3534         (backspace): ditto
3535
3536         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3537         pointer
3538
3539 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3540
3541         * text3.C (gotoInset): YABG (yet another bad getChar)
3542
3543 2003-04-29  André Pönitz  <poenitz@gmx.net>
3544
3545         * paragraph.h: make operator= private unimplemented as long as
3546           it is unusable
3547
3548         * ParagraphList.C: whitespace
3549
3550         * paragraph.[Ch]:
3551         * paragraph_pimpl.[Ch]:
3552         * paragraph_funcs.C:
3553         * CutAndPaste.C:
3554         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3555
3556         * text2.C:
3557           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3558
3559 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3562         * paragraph.[Ch] (erase):
3563         * paragraph_pimpl.[Ch] (erase): change return type and value
3564         * text2.C (cutSelection): some rework
3565
3566 2003-04-28  John Levon  <levon@movementarian.org>
3567
3568         * bufferlist.C: changes for unsaved changes dialog
3569
3570 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * bufferlist.C (newFile): set language (messages_) for new
3573         documents also.
3574
3575         * buffer.C (readFile): ws changes only.
3576
3577 2003-04-28  André Pönitz  <poenitz@gmx.net>
3578
3579         * undo_funcs.C:
3580         * lyxfunc.C:
3581         * buffer.[Ch]:
3582         * BufferView_pimpl.C:
3583         * BufferView.C: getParFromID related ParagraphList::iterator changes
3584
3585 2003-04-28  André Pönitz  <poenitz@gmx.net>
3586
3587         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3588           Changes
3589
3590 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * messages.C: remove one more localedir class variable.
3593
3594 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3595
3596         * messages.C (getLocaleDir): singleton generation function
3597         (Pimpl): use it.
3598         (Messages): add a default constructor.
3599
3600         * main.C (main): do not setup localedir here, do not call
3601         gettext_init.
3602
3603         * gettext.C (_): use it.
3604         (gettext_init): delete funciton
3605
3606 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * gettext.C (getLyXMessages): new singleton generating function.
3609
3610         * buffer.C (updateDocLang): adjust
3611
3612         * Makefile.am (messages.o): add target
3613         (main.o): remove target
3614
3615 2003-04-27  John Levon  <levon@movementarian.org>
3616
3617         * bufferlist.C:
3618         * lyx_cb.C:
3619         * lyxfunc.C:
3620         * lyxvc.C: specify cancel button in Alert::prompt
3621
3622 2003-04-26  John Levon  <levon@movementarian.org>
3623
3624         * text3.C:
3625         * lyxfunc.C:
3626         * lfuns.h:
3627         * LyXAction.C: add LFUN_INSET_SETTINGS
3628
3629         * lyxfunc.C: don't enable tabular-feature when there's
3630         just any locking inset
3631
3632 2003-04-26  John Levon  <levon@movementarian.org>
3633
3634         * bufferlist.C: re-add Cancel to buffer close question
3635
3636         * lyxfunc.C: fix import UI a bit
3637
3638 2003-04-25  John Levon  <levon@movementarian.org>
3639
3640         * gettext.C: remove the broken asserts for now
3641
3642 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3643
3644         * messages.C: make case where setlocale cannot comply work better.
3645
3646         * buffer.C (updateDocLang): new function
3647         (changeLanguage): use it
3648         (readFile): use it
3649
3650         * text2.C (setCounter): use B_ a bit.
3651
3652         * lyxlayout.C (Read): be sure to trim the label strings.
3653
3654         * messages.C (Messages): fix typo in comment
3655
3656         * buffer.C (readFile): set message_ after file is loaded.
3657         (makeDocBookFile): remove double return
3658         (changeLanguage): reset message_ upon language change.
3659         (B_): new func, use this to get translated buffer strings.
3660
3661         * main.C: add myself and Jean Marc as authors.
3662
3663 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * messages.[hC]: pimplify Messages, and three different pimpls to be
3666         used in different circumstances.
3667
3668         * gettext.[Ch]: change for use with new message code.
3669
3670 2003-04-24 André Pönitz <poenitz@gmx.net>
3671
3672         * factory.C: support for eqref
3673
3674 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3675
3676         * messages.[Ch]: add missing char
3677
3678         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3679
3680         * messages.[Ch]: New files
3681
3682 2003-04-18  John Levon  <levon@movementarian.org>
3683
3684         * BufferView.h:
3685         * BufferView.C:
3686         * BufferView_pimpl.C:
3687         * lfuns.h:
3688         * LyXAction.C:
3689         * lyxtext.h:
3690         * text2.C: remove layout-copy/paste (bug 778)
3691
3692 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3693
3694         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3695
3696 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3699         if they succeed. Act accordingly.
3700
3701 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * text2.C (setCharFont): adjust
3704         (setCounter): adjust
3705         (insertStringAsLines): adjust
3706
3707         * text.C (leftMargin): adjust
3708         (setHeightOfRow): adjust
3709
3710         * rowpainter.C (paintFirst): adjust
3711         (paintLast): adjust
3712
3713         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3714         (outerHook): ditto
3715         (isFirstInSequence): ditto
3716         (getEndLabel): ditto
3717         (outerFont): adjust
3718
3719         * paragraph.C (getParLanguage): comment out some hard stuff.
3720
3721         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3722         (sgmlError): ditto
3723         (simpleDocBookOnePar): ditto
3724         (makeDocBookFile): use ParagraphList::iterator
3725
3726         * CutAndPaste.C (pasteSelection): adjust
3727
3728 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * text2.C (getFont): adjust
3731         (getLayoutFont): adjust
3732         (getLabelFont): adjust
3733
3734         * paragraph_funcs.C (TeXOnePar): adjust
3735
3736         * buffer.C (simpleLinuxDocOnePar): adjust
3737         (simpleDocBookOnePar): adjust
3738
3739         * CutAndPaste.C (pasteSelection): adjust
3740
3741         * BufferView.C (getEncoding): adjust
3742
3743         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3744
3745 2003-04-16  John Levon  <levon@movementarian.org>
3746
3747         * lyxfind.C: use parlist stuff for search/changes
3748
3749 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3750
3751         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3752
3753         * text2.C (deleteEmptyParagraphMechanism): adjust
3754
3755         * text2.[Ch] (ownerParagraph): delete func (both of them
3756
3757 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3760
3761 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * ParagraphList.C: prepare for NO_NEXT
3764
3765 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * text2.C (getFont): adjust
3768         (getLayoutFont): adjust
3769         (getLabelFont): adjust
3770
3771         * paragraph.C (getFont): adjust
3772         (getLabelFont): adjust
3773         (getLayoutFont): adjust
3774
3775         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3776
3777 2003-04-15  John Levon  <levon@movementarian.org>
3778
3779         From Angus Leeming
3780
3781         * lyx_main.C: handle Include in .ui files
3782
3783 2003-04-15  John Levon  <levon@movementarian.org>
3784
3785         * MenuBackend.C: make the doc files length shorter
3786
3787         * ToolbarBackend.h:
3788         * ToolbarBackend.C: handle toolbar placement flags,
3789         Minibuffer
3790
3791 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3794         adjust
3795
3796         * paragraph_funcs.C (TeXOnePar): adjust
3797
3798         * paragraph.C (getLabelFont): add outerfont arg, adjust
3799         (getLayoutFont): ditto
3800         (simpleTeXOnePar): adjust
3801
3802         * paragraph_pimpl.C (realizeFont): delete func
3803
3804 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3807         row argument, constify cur argument.
3808
3809 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * text2.C (getFont): adjust
3812         (getLayoutFont): adjust
3813         (getLabelFont): adjust
3814
3815         * paragraph_funcs.C (TeXOnePar): adjust
3816         (outerFont): new func...
3817         (realizeFont): ...moved out from here, changed this to facilitate
3818         transition
3819
3820         * paragraph.C (getFont): take outerfont as arg, adjust
3821         (simpleTeXOnePar): add outerfont arg, adjust
3822
3823         * buffer.C (simpleLinuxDocOnePar): adjust
3824         (simpleDocBookOnePar): adjust
3825
3826         * CutAndPaste.C (pasteSelection): adjust
3827
3828         * BufferView.C (getEncoding): adjust
3829
3830 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3831
3832         * text2.C (setCharFont): adjust
3833         (setCounter): adjust
3834
3835         * text.C (leftMargin): adjust
3836         (setHeightOfRow): adjust
3837
3838         * rowpainter.C (paintFirst): adjust
3839         (paintLast): adjust
3840
3841         * paragraph_pimpl.C (realizeFont): adjust
3842
3843         * paragraph.C (isFirstInSequence): move from here...
3844         * paragraph_funcs.C (isFirstInSequence): ...to here
3845
3846         * paragraph.C (outerHook): move from here...
3847         * paragraph_funcs.C (outerHook): ...to here
3848
3849         * paragraph.C (depthHook): move from here...
3850         * paragraph_funcs.C (depthHook): ...to here
3851
3852         * paragraph.C (getEndLabel): move from here...
3853         * paragraph_funcs.C (getEndLabel): ...to here
3854
3855         * text2.C (realizeFont): move from here...
3856         * paragraph_funcs.C (realizeFont): ...to here
3857
3858 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3861
3862 2003-04-14  Angus Leeming  <leeming@lyx.org>
3863
3864         * LColor.[Ch]: scrap LColor mathcursor.
3865
3866 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3867
3868         * lyxlex.[Ch] (text): delete function
3869         * trans.C (Load): adjust
3870         * paragraph_funcs.C (readParToken): adjust
3871
3872 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3873
3874         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3875         vector<char> instead of a char[].
3876
3877         * lyxlex_pimpl.C (getString): adjust
3878         (next): adjust
3879         (lex): use getString
3880         (eatLine): adjust
3881         (nextToken): adjust
3882
3883         * lyxlex.C (text): use pimpl_->getString()
3884         (getBool): ditto
3885         (findToken): ditto
3886
3887 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3890         (makeFontEntriesLayoutSpecific): temp var for par.size()
3891         (setLayout): temp var for ownerParagraphs().end()
3892         (fullRebreak): temp var for rows().end()
3893         (selectionAsString): temp var for boost::next(startpit), realize
3894         that the while really is a regular for loop.
3895         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3896         setCursor in one place.
3897         (setParagraph): temp vr for ownerParagraphs().end()
3898         (updateCounters): make the while loop a for loop
3899         (cutSelection): temp var for ownerParagraphs().end()
3900         (updateInset): make the do {} while() a regular for loop
3901         (getCursorX): use temp vars
3902         (setCurrentFont): use temp vars
3903         (getColumnNearX): use temp vars
3904
3905 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * text.C (transformChar): use temp var for getChar
3908         (computeBidiTables): use temp var for row->par()
3909         (fill): move temp vars for row->par() and pit->layout() earlier in
3910         the function.
3911         (labelFill): use temp var for row->par()
3912         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3913         asc and desc, realize that pit never changes and that firstpit is
3914         just a duplicate and not needed. Exchange rit->par() with pit in a
3915         lot of places.
3916         (breakAgain): use a temp var for boost::next(rit)
3917         (breakAgainOneRow): ditto
3918         (breakParagraph): use a temp var for rows().begin()
3919         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3920         (cursorRightOneWord): use temp var for cursor.par() and
3921         cursor.pos(), remove usage of tmpcursor.
3922         (cursorLeftOneWord): use temp var for cursor.par() and
3923         cursor.pos() only set cur at end of function.
3924
3925 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * text.C, text2.C: exchange all usage of Paragraph::next with
3928         boost::next(ParagraphList::iterator)
3929
3930         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3931
3932         * text2.C (cursorTop): simplify implementation
3933         (cursorBottom): ditto
3934         (setParagraph): use ParagraphList::iterator
3935         (setCurrentFont): adjust
3936         (getColumnNearX): adjust
3937         (cursorRight): adjust
3938         (cursorLeft): remove usage of Paragraph::previous
3939         (cursorUpParagraph): ditto
3940         (deleteEmptyParagraphMechanism): slight cleanup
3941
3942         * text.C (isBoundary): take a Paragraph const & instead of a
3943         pointer as arg.
3944         (addressBreakPoint): ditto
3945         (leftMargin): remove usage of Paragraph::previous.
3946         (setHeightOfRow): ditto
3947         (cursorLeftOneWord): ditto
3948         (selectNextWordToSpellcheck): ditto
3949         (Delete): ditto
3950         (backspace): ditto
3951         (breakParagraph): remove one usage of Paragraph::next
3952         (redoParagraph): ditto
3953         (acceptChange): ditto
3954         (insertChar): adjust
3955         (rowBreakPoint): adjust
3956
3957         * bufferview_funcs.C (toggleAndShow): adjust
3958
3959 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3960
3961         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3962         methods to access it.
3963         * lyxtext.h:
3964         * text.C: Added updateRowPositions to compute all row positions.
3965         Make top_y and getRowNearY() to use the cached y position
3966
3967 2003-04-11  John Levon  <levon@movementarian.org>
3968
3969         * text.C (rowBreakPoint): reintroduce the labelEnd
3970         checks, code copied from the row fill stuff. Deep voodoo.
3971
3972         * text.C (fill): add a comment and debugging for the
3973         next poor soul.
3974
3975 2003-04-11  John Levon  <levon@movementarian.org>
3976
3977         * text.C: make sure fullrow insets get wrapped to the next line,
3978         even when they're in a manual label
3979
3980 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * text2.C (insertParagraph): make it take ParagraphList::iterator
3983         as arg.
3984         (setLayout): make it return ParagraphList::iterator
3985         (redoParagraphs): ditto
3986         (setCounter): ditto
3987         (checkParagraph): ditto
3988
3989         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3990
3991         * text2.C: adjust several funcs.
3992         (realizeFont): take a ParagraphList::iterator as arg.
3993         (getLayoutFont): ditto
3994         (getLabelFont): ditto
3995         (setCharFont): ditto
3996
3997         * text.C: adjust several funcs.
3998
3999 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4000
4001         * text.C (selectNextWordToSpellcheck): don't accidentally
4002         skip insets
4003
4004 2003-04-10  John Levon  <levon@movementarian.org>
4005
4006         * ToolbarBackend.C (getIcon): special handling for
4007         LFUN_MATH_DELIM
4008
4009 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4010
4011         * text2.C (cursorRight): a getChar assert fixed
4012
4013 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4014
4015         * text2.C (getFont): change to take a ParagraphList::iterator
4016         instead of Paragraph*
4017         Adjust several functions.
4018
4019         * text.C (transformChar): change to take a ParagraphList::iterator
4020         instead of Paragraph*
4021         (singleWidth): ditto
4022         Adjust several functions.
4023
4024         * rowpainter.C: adjust several functions
4025         * rowpainter.h:store a ParagraphList::iterator and not a
4026         Paragraph&.
4027
4028
4029 2003-04-09  John Levon  <levon@movementarian.org>
4030
4031         * lyxfunc.C:
4032         * lfuns.h:
4033         * LyXAction.h:
4034         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4035         and the "help" bits as well
4036
4037 2003-04-09  John Levon  <levon@movementarian.org>
4038
4039         * ToolbarBackend.h:
4040         * ToolbarBackend.C: allow multiple toolbars
4041
4042 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * undo_funcs.C (setCursorParUndo): adjust
4045
4046         * text_funcs.C (transposeChars): adjust
4047
4048         * text3.C (gotoNextInset): adjust
4049         (dispatch): adjust
4050
4051         * text2.C (setLayout): adjust
4052         (changeDepth): adjust
4053         (setFont): adjust
4054         (redoParagraphs): adjust
4055         (selectionAsString): adjust
4056         (setParagraph): adjust
4057         (insertInset): adjust
4058         (cutSelection): adjust
4059         (copySelection): adjust
4060         (pasteSelection): adjust
4061         (insertStringAsLines): adjust
4062         (updateInset): adjust
4063         (setCursor): change to take a ParagraphList::iterator parameter
4064         (setCursorIntern): change to take a ParagraphList::iterator parameter
4065         (setCurrentFont): adjust
4066         (cursorLeft): adjust
4067         (cursorRight): adjust
4068         (deleteEmptyParagraphMechanism): adjust
4069
4070         * text.C (breakParagraph): adjust
4071         (insertChar): adjust
4072         (acceptChange): adjust
4073         (rejectChange): adjust
4074         (selectNextWordToSpellcheck): adjust
4075         (changeCase): adjust
4076         (Delete): adjust
4077         (backspace): adjust
4078
4079         * lyxfind.C (SearchForward): adjust
4080         (SearchBackward): adjust
4081         (nextChange): adjust
4082
4083         * lyxcursor.C (par): adjust
4084
4085         * lyxcursor.h: store a ParagraphList::iterator instead of a
4086         Paragraph*
4087
4088         * lyx_cb.C (getPossibleLabel): adjust
4089
4090         * bufferview_funcs.C (toggleAndShow): adjust
4091
4092         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4093         (dispatch): adjust
4094
4095         * BufferView.C (removeAutoInsets): adjust
4096         (lockedInsetStoreUndo): adjust
4097
4098 2003-04-09  John Levon  <levon@movementarian.org>
4099
4100         * ToolbarBackend.C: try icon without argument
4101         if with argument fails
4102
4103 2003-04-08  John Levon  <levon@movementarian.org>
4104
4105         * ToolbarBackend.h:
4106         * ToolbarBackend.C: add getIcon(), handle tooltip,
4107         and change from "Icon" to "Item".
4108
4109 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4110
4111         * BufferView.C (lockInset): another bad getchar crunched
4112
4113 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4116         again)
4117
4118 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * lyxfind.C (searchForward, searchBackwards): bug 782
4121
4122 2003-04-07  John Levon  <levon@movementarian.org>
4123
4124         * paragraph.C: remove dead comment
4125
4126         * text.C: remove troublesome depth-fiddling code
4127         in leftMargin() and rightMargin() (bug 1017)
4128
4129         * text.C: fix breaking of rows in nested lists
4130         (bug 1004)
4131
4132         * text2.C (updateCounters): fix up depth values
4133         (bug 1013)
4134
4135 2003-04-07  John Levon  <levon@movementarian.org>
4136
4137         * BufferView_pimpl.C: clear message when doc finishes resizing,
4138         and after a mouse event
4139
4140         * lyxfunc.C: clear message after exiting inset
4141
4142 2003-04-07  John Levon  <levon@movementarian.org>
4143
4144         * bufferview_funcs.C: show math status not outside
4145         status in the statusbar
4146
4147 2003-04-07  John Levon  <levon@movementarian.org>
4148
4149         * lyxfunc.C: note status changed after a depth change
4150
4151 2003-04-04  Angus Leeming  <leeming@lyx.org>
4152
4153         * LaTeX.h: move AuxInfo operator==, != out of line.
4154         Remove LaTeX virtual destructor; nothing derives from it.
4155         Move operator()() out of public area and rename it startscript().
4156         Change protected for private.
4157
4158 2003-04-04  Angus Leeming  <leeming@lyx.org>
4159
4160         * lyxfunc.C:
4161         * text2.C: remove unneeded #includes.
4162
4163 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * text2.C (dEPM): fix the heigth of the next row
4166
4167 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * text.C: squashed an invalid getChar requester + some ws changes
4170
4171 2003-04-03  John Levon  <levon@movementarian.org>
4172
4173         * bufferview_funcs.h:
4174         * bufferview_funcs.C:
4175         * lyxfunc.C:
4176         * lyxtext.h:
4177         * text2.C: make getStatus work for the env depth lfuns
4178
4179 2003-04-03  John Levon  <levon@movementarian.org>
4180
4181         * bufferview_funcs.h:
4182         * bufferview_funcs.C:
4183         * lyxfunc.C:
4184         * lyxtext.h:
4185         * text2.C: parlistize decDepth(), by merging it with incDepth()
4186
4187 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * lyxrow.h: store a ParagraphList::iterator instead of a
4190         Paragraph* and adjust other class functions to suit.
4191
4192         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4193         above.
4194
4195 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * text2.C (setCursor): do not anchor to cursor row for the time being
4198
4199 2003-04-02  John Levon  <levon@movementarian.org>
4200
4201         * LyXAction.C:
4202         * lfuns.h:
4203         * lyx_main.C:
4204         * lyxtext.h:
4205         * text.C:
4206         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4207
4208 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * paragraph.h: make ParagraphList and ParagraphList::iterator
4211         friends of Paragraph.
4212
4213         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4214
4215         * ParagraphList.C: Use the private next_ and previous_ from
4216         Paragraph.
4217
4218 2003-04-01  John Levon  <levon@movementarian.org>
4219
4220         * ToolbarBackend.h:
4221         * ToolbarBackend.C:
4222         * Makefile.am: rename, remove defaults gunk
4223
4224         * MenuBackend.h:
4225         * MenuBackend.C: remove defaults gunk
4226
4227         * Languages.h:
4228         * Languages.C: remove defaults gunk
4229
4230         * lyx_main.h:
4231         * lyx_main.C: error out if files couldn't be found.
4232
4233 2003-04-02  John Levon  <levon@movementarian.org>
4234
4235         * text2.C: make incDepth() use parlist
4236
4237 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * undo_funcs.C (firstUndoParagraph): adjust
4240
4241         * text3.C (gotoInset): adjust
4242         (dispatch): adjust, and rewrite loop.
4243
4244         * text2.C (init): adjust, and rewrite loop.
4245         (redoParagraphs): adjust
4246         (updateInset): adjust, and rewrite loop.
4247         (deleteEmptyParagraphMechanism): adjust
4248
4249         * tabular.C (LyXTabular): adjust
4250         (SetMultiColumn): adjust
4251         (TeXRow): adjust
4252
4253         * lyxtext.[Ch] (ownerParagraph): delete function
4254         (ownerParagraphs): new function returns a ParagraphList.
4255
4256         * BufferView.C (removeAutoInsets): adjust
4257         (insertErrors): adjust
4258         (setCursorFromRow): adjust
4259
4260 2003-04-01  Angus Leeming  <leeming@lyx.org>
4261
4262         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4263         in the frontends.
4264
4265 2003-04-02  John Levon  <levon@movementarian.org>
4266
4267         * lyxtext.h:
4268         * text.C:
4269         * Makefile.am:
4270         * text_funcs.h:
4271         * text_funcs.C: make transposeChars a free function
4272
4273         * lyxrow_funcs.C: remove wrong comment
4274
4275 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * lyxtext.h: adjust
4278         * rowpainter.C: adjust
4279         * text.C: adjust
4280         * text2.C: adjust
4281         * text3.C: adjust
4282
4283         * lyxrow_funcs. [Ch]: new files
4284
4285         * lyxrow.[Ch]: remove next and previous pointers
4286         (next,previous): remove accessor functions
4287         (isParEnd): move to lyxrow_funcs
4288         (lastPos): move to lyxrow_funcs
4289         (nextRowIsAllInset): move to lyxrow_funcs
4290         (lastPrintablePos): move to lyxrow_funcs
4291         (numberOfSeparators): move to lyxrow_funcs
4292         (numberOfHfills): move to lyxrow_funcs
4293         (numberOfLabelHfills): move to lyxrow_funcs
4294         (hfillExpansion): move to lyxrow_funcs
4295
4296         * lyxfunc.C: adjust
4297
4298         * bufferview_funcs.C (toggleAndShow): adjust
4299
4300         * RowList.h: Remove class RowList from file leave just a
4301         std::list<Row>.
4302
4303         * RowList.C: delete file
4304
4305         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4306         and lyxrow_funcs.h
4307
4308 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * text3.C (cursorPrevious): adjust
4311         (cursorNext): adjust
4312         (dispatch): adjust
4313
4314         * text2.C (redoHeightOfParagraph): adjust
4315         (redoDrawingOfParagraph): adjust
4316         (setCursor): adjust
4317
4318         * text.C (breakParagraph): adjust
4319         (insertChar): adjust
4320         (backspace): adjust
4321
4322         * rowpainter.C (RowPainter): adjust
4323         (leftMargin): simplify and adjust
4324         (most rowpainter functions): adjust.
4325
4326         * rowpainter.h: store the row as RowList::iterator not as Row*
4327
4328         * lyxcursor.C (row): taka RowList::iterator as arg
4329         (irow): ditto
4330
4331         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4332         of Row*.
4333
4334 2003-04-01  Angus Leeming  <leeming@lyx.org>
4335
4336         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4337         stuff like bool Bool.
4338
4339 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4340
4341         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4342         rewrite a loop
4343
4344 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4347         RowList::iterator.
4348
4349         * lyxtext.h (rows): drop one version and leve a const variant that
4350         returns a RowList::iterator.
4351
4352 2003-03-31  Angus Leeming  <leeming@lyx.org>
4353
4354         * text.C (fill): ensure that the signature is the same as that in the
4355         header file.
4356
4357 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * text2.C (redoParagraphs): adjust
4360         (updateCounters): adjust
4361         (checkParagraph): adjust
4362         (getColumnNearX): adjust and reformat a bit.
4363
4364         * text.C (top_y): adjust
4365         (workWidth): adjust
4366         (leftMargin): adjust
4367         (prepareToPrint): adjust
4368         (getRow): adjust
4369         (getRowNearY): adjust
4370
4371         * lyxtext.h: make rowlist_ mutable.
4372
4373         * RowList.h: add const_iterator
4374         * RowList.C: adjust for RowList::const_iterator.
4375
4376         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4377         adjust.
4378
4379 2003-03-31  John Levon  <levon@movementarian.org>
4380
4381         * lyxrc.h:
4382         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4383
4384         * lyx_main.C: set default fonts from using lyx_gui funcs
4385
4386         * exporter.C: pdf_mode moved from lyxrc
4387
4388         * lyx_cb.C:
4389         * lyxfunc.C: changes from above
4390
4391 2003-03-31  John Levon  <levon@movementarian.org>
4392
4393         * lyx_main.C: fix to the last fix
4394
4395 2003-03-31  John Levon  <levon@movementarian.org>
4396
4397         * bufferlist.C: "Load original" -> "Load Original"
4398
4399         * converter.C:
4400         * exporter.C:
4401         * importer.C:
4402         * lyx_main.C:
4403         * format.C: more Alert cleanups
4404
4405 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * text2.C (removeParagraph): make it take a RowList::iterator as
4408         arg, adjust.
4409         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4410         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4411
4412         * text.C (anchor_row): make it take a RowList::iterator as arg,
4413         adjust.
4414         (computeBidiTables): make it take a const reference to Row instead
4415         of Row pointer, adjust.
4416         (leftMargin): make it take a RowList::iterator as arg, adjust.
4417         (rowBreakPoint): adjust
4418         (breakAgainOneRow): make it take a RowList::iterator as arg,
4419         adjust.
4420         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4421
4422         * bufferview_funcs.C (toggleAndShow): adjust
4423
4424 2003-03-30  John Levon  <levon@movementarian.org>
4425
4426         * Makefile.am:
4427         * BoostFormat.h:
4428         * boost-inst.C: moved to support
4429
4430         * several files: changes as a result
4431
4432 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * text2.C (LyXText): adjust.
4435         (init): adjust
4436         (removeRow): make it take a RowList::iterator as arg, adjust.
4437         (fullRebreak): adjust
4438         (deleteEmptyParagraphMechanism): adjust
4439         (clearPaint): adjust
4440         (postPaint): adjust
4441
4442         * text.C (top_y): adjust
4443         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4444         (breakAgain): make it take a RowList::iterator as arg, adjust.
4445         (breakParagraph): adjust
4446         (insertChar): adjust
4447         (backspace): adjust
4448
4449         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4450         need_break_row, and refresh_row.
4451
4452         * text3.C (dispatch): adjust
4453
4454         * text2.C (checkParagraph): adjust
4455         (setCursor): adjust
4456         (setCursorFromCoordinates): adjust
4457
4458         * text.C (top_y): adjust
4459         (workWidth): adjust
4460         (getRow): make it return a RowList::iterator, adjust
4461         (getRowNearY): make it return a RowList::iterator, adjust
4462
4463         * text2.C (init): adjust
4464         (insertRow): remove function
4465         (insertParagraph): adjust
4466         (redoParagraphs): adjust
4467         (fullRebreak): adjust
4468         (updateCounters): adjust
4469
4470         * text.C (top_y): rewrite to use RowList iterators.
4471         (top_y): adjust
4472         (setHeightOfRow): rewrite to sue RowList iterators.
4473         (appendParagraph): adjust
4474         (breakAgain): adjust
4475         (breakAgainOneRow): adjust
4476         (breakParagraph): adjust
4477         (getRow): adjust
4478         (getRowNearY): adjust, and remove commented code.
4479
4480         * lyxtext.h (firstRow): delete function
4481         (lastRow): delete function
4482         (rows): new function (const and non-const versions.)
4483         (insertRow): delete function
4484
4485         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4486
4487 2003-03-29  John Levon  <levon@movementarian.org>
4488
4489         * BufferView_pimpl.C: always update scrollbar top
4490         because pasting text when we're anchored could mean we
4491         miss an update altogether
4492
4493 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * text2.C (init): use rowlist_.end() and not 0.
4496         (insertRow): change to take a RowList::iterator as arg, adjust
4497         for this.
4498         (insertParagraph): change to take a RowList::iterator as arg,
4499         adjust for this.
4500         (redoParagraphs): remove some debug msgs.
4501
4502         * text.C (appendParagraph): change to take a RowList::iterator
4503         arg, adjust for this.
4504         (breakAgain): add an assert
4505         (breakAgainOneRow): ditto
4506
4507 2003-03-29  John Levon  <levon@movementarian.org>
4508
4509         * text2.C: do not clear selection after inc/decDepth
4510         (bug 550)
4511
4512 2003-03-29  John Levon  <levon@movementarian.org>
4513
4514         * BufferView.C:
4515         * buffer.C: fix broken strerrors according to Lars
4516
4517 2003-03-29  John Levon  <levon@movementarian.org>
4518
4519         * converters.C: more Alert cleanups
4520
4521 2003-03-29  John Levon  <levon@movementarian.org>
4522
4523         * bufferview_funcs.C: remove pointless Alert
4524
4525         * buffer.C: fix confusing error message when
4526         a template is chmoded 000
4527
4528 2003-03-29  John Levon  <levon@movementarian.org>
4529
4530         * BufferView.C:
4531         * BufferView.h:
4532         * BufferView_pimpl.C: Alert fixes
4533
4534         * Makefile.am:
4535         * tabular.C:
4536         * tabular-old.C: remove unused table compat reading
4537
4538 2003-03-29  John Levon  <levon@movementarian.org>
4539
4540         * BufferView.C:
4541         * buffer.C:
4542         * lyx_cb.h:
4543         * lyx_cb.C: more Alert cleanups
4544
4545         * lyxfunc.C: don't allow chktex if not latex document
4546
4547 2003-03-29  John Levon  <levon@movementarian.org>
4548
4549         * lyx_cb.C:
4550         * BufferView.C:
4551         * buffer.C: warnings pushed down from support/,
4552         kill err_alert
4553
4554 2003-03-29  John Levon  <levon@movementarian.org>
4555
4556         * lyxfunc.C: safety check for C-r (revert)
4557
4558 2003-03-29  John Levon  <levon@movementarian.org>
4559
4560         * bufferlist.h:
4561         * bufferlist.C: several UI fixes using Alert::prompt.
4562         Fix the pointless looping quit code. Fix stupid revert
4563         behaviour (bug 938)
4564
4565         * lyxvc.h:
4566         * lyxvc.C:
4567         * lyx_cb.C: use Alert::prompt
4568
4569         * lyx_main.C: remove a silly question
4570
4571         * lyxfunc.C: remove a couple of silly questions,
4572         use Alert::prompt
4573
4574 2003-03-28  John Levon  <levon@movementarian.org>
4575
4576         * text2.C: fix bug 974 (End on empty par)
4577
4578 2003-03-28  John Levon  <levon@movementarian.org>
4579
4580         * BufferView_pimpl.C:
4581         * LyXAction.C:
4582         * lfuns.h: remove do-nothing math greek lfuns
4583
4584 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * lyxgluelength.h (isValidGlueLength): add default arg on
4587         parameter 2. Remove default arg from friend in class.
4588
4589         * lyxlength.h (isValidLength): add default arg on parameter 2.
4590         Remove default arg from friend in class.
4591
4592         * text2.C (LyXText): adjust, initialize refresh_row.
4593         (init): adjust
4594         (removeRow): adjust
4595         (insertRow): adjust
4596         (insertParagraph): adjst
4597         (redoParagraphs): adjust
4598         (fullRebreak): adjust
4599         (updateCounters): adjust
4600         (deleteEmptyParagraphMechanism): first attempt at fixing a
4601         crashing bug.
4602
4603         * text.C (top_y): adjust
4604         (setHeightOfRow): adjust
4605         (getRow): adjust
4606         (getRowNearY): adjust
4607
4608         * lyxtext.h: include RowList.h
4609         (~LyXText): not needed anymore, deleted.
4610         (firstRow): modify for RowList
4611         (lastRow): new function
4612         Delete firstrow and lastrow class variables, add a Rowlist
4613         rowlist_ class variable.
4614
4615         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4616         paragraph is empty.
4617
4618         * RowList.C (insert): fix case where it == begin().
4619
4620 2003-03-26  Angus Leeming  <leeming@lyx.org>
4621
4622         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4623         the thesaurus dialog.
4624
4625 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4628
4629         * RowList.[Ch]: new files
4630
4631         * ParagraphList.C (erase): handle the case where it == begin
4632         correctly.
4633
4634 2003-03-25  John Levon  <levon@movementarian.org>
4635
4636         * Makefile.am:
4637         * aspell_local.h:
4638         * aspell.C: add new aspell support
4639
4640         * lyxrc.h:
4641         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4642         have it accessible.
4643
4644 2003-03-25  Angus Leeming  <leeming@lyx.org>
4645
4646         * lfuns.h:
4647         * LyXAction.C (init): new LFUN_INSET_INSERT.
4648
4649         * BufferView_pimpl.C (dispatch): split out part of the
4650         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4651
4652         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4653         LFUN_INSET_APPLY.
4654
4655 2003-03-25  Angus Leeming  <leeming@lyx.org>
4656
4657         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4658
4659 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * text2.C:
4662         * text3.C: remove useless row->height(0)
4663
4664 2003-03-25  John Levon  <levon@movementarian.org>
4665
4666         * lyxtext.h:
4667         * text2.C:
4668         * text3.C: rename the refreshing stuff to better names
4669
4670 2003-03-24  John Levon  <levon@movementarian.org>
4671
4672         * BufferView_pimpl.h:
4673         * BufferView_pimpl.C: update layout choice on a mouse
4674         press/release
4675
4676 2003-03-23  John Levon  <levon@movementarian.org>
4677
4678         * Makefile.am: fix commandtags.h reference
4679
4680 2003-03-22  John Levon  <levon@movementarian.org>
4681
4682         * BufferView_pimpl.C:
4683         * lyxtext.h:
4684         * rowpainter.C:
4685         * rowpainter.h:
4686         * text.C:
4687         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4688
4689 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * lyxtext.h:
4692         * text.C: take the rtl methods out of line
4693
4694 2003-03-21 André Pönitz <poenitz@gmx.net>
4695
4696         * metricsinfo.[Ch]: new files containing structures to be passed around
4697         during the two-phase-drawing...
4698
4699 2003-03-21 André Pönitz <poenitz@gmx.net>
4700
4701         * lyxtextclass.C: read 'environment' tag.
4702
4703 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4704
4705         * text2.C (removeRow): fix bug 964
4706
4707 2003-03-20  John Levon  <levon@movementarian.org>
4708
4709         * rowpainter.C:
4710         * text.C:
4711         * text2.C: paint cleanups. Inset::update() dropped font
4712         parameter
4713
4714 2003-03-19  John Levon  <levon@movementarian.org>
4715
4716         * lyxfunc.C: only fitcursor/markDirty if available()
4717
4718 2003-03-19  John Levon  <levon@movementarian.org>
4719
4720         * commandtags.h: rename to ...
4721
4722         * lfuns.h: ... this, and renumber / cleanup
4723
4724 2003-03-19  John Levon  <levon@movementarian.org>
4725
4726         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4727         fit the cursor after an lfun
4728
4729         * BufferView.h:
4730         * BufferView.C:
4731         * BufferView_pimpl.h:
4732         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4733
4734         * LyXAction.C: layout-character should have ReadOnly
4735
4736         * ParagraphParameters.C:
4737         * buffer.C:
4738         * bufferview_funcs.C:
4739         * lyx_cb.C:
4740         * lyxfind.C:
4741         * lyxtext.h:
4742         * text.C:
4743         * text2.C:
4744         * text3.C:
4745         * undo_funcs.C: changes from above
4746
4747 2003-03-18  John Levon  <levon@movementarian.org>
4748
4749         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4750         remove it from update()
4751
4752         * lyxfunc.C: update layout choice after an lfun
4753
4754         * text3.C: remove extra updateLayoutChoice()s
4755
4756 2003-03-18  John Levon  <levon@movementarian.org>
4757
4758         * text.C: top_y change means full repaint, fix
4759         a drawing bug with cursor movement
4760
4761 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4762
4763         * lyxtext.h:
4764         * text.C:
4765         * text2.C: anchor row on setCursor
4766
4767 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4768
4769         * lyxtext.h: remove almost all mutable keywords
4770         * text.C:
4771         * text2.C:
4772         * text3.C: remove const keywords accordingly
4773
4774 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4777         anon namespace
4778         (TeXEnvironment): ditto
4779         (TeXOnePar): ditto
4780
4781 2003-03-17  John Levon  <levon@movementarian.org>
4782
4783         * text.C (rowBreakPoint): remove attempt to fix displayed
4784         math insets inside a manual label
4785
4786 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * lyxtext.h: remove BufferView* as first arg from almost all class
4789         functions.
4790         * other files: adjust.
4791
4792 2003-03-17  John Levon  <levon@movementarian.org>
4793
4794         * lyxtext.h:
4795         * undo_funcs.C:
4796         * text2.C: more paint cleanups
4797
4798         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4799
4800         * rowpainter.h:
4801         * rowpainter.C: remove "smart" background painting code
4802
4803 2003-03-16  John Levon  <levon@movementarian.org>
4804
4805         * lyxtext.h:
4806         * text.C:
4807         * text2.C:
4808         * text3.C: add helper functions for setting refresh_row/y
4809
4810 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4811
4812         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4813         newline inset which *can* get inserted in the pass_thru layouts.
4814         This is primarily for literate documents.
4815
4816 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4817
4818         * buffer.C: increment LYX_FORMAT to 223
4819
4820 2003-03-14 André Pönitz <poenitz@gmx.net>
4821
4822         * textclass.h: prepare for environment handling, ws changes
4823         * lyxlayout.C: read latexheader and latexfooter tags
4824
4825 2003-03-14  John Levon  <levon@movementarian.org>
4826
4827         * text2.C: rewrite ::status() a bit
4828
4829 2003-03-13  John Levon  <levon@movementarian.org>
4830
4831         * lyxtext.h: add some docs
4832
4833 2003-03-13  John Levon  <levon@movementarian.org>
4834
4835         * lyxtext.h:
4836         * text.C:
4837         * text2.C:
4838         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4839
4840 2003-03-13  John Levon  <levon@movementarian.org>
4841
4842         * text3.C: fix appendix redrawing
4843
4844 2003-03-13  John Levon  <levon@movementarian.org>
4845
4846         * text.C (setHeightOfRow):
4847         * rowpainter.h:
4848         * rowpainter.C: make appendix mark have the text
4849           "Appendix" so the user knows what it is
4850
4851         * LColor.h:
4852         * LColor.C: s/appendixline/appendix/ from above
4853
4854 2003-03-13  John Levon  <levon@movementarian.org>
4855
4856         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4857
4858         * text.C: fix a getChar(pos) bug properly
4859
4860 2003-03-13  Angus Leeming  <leeming@lyx.org>
4861
4862         * commandtags.h:
4863         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4864         Probably only temporary. Let's see how things pan out.
4865
4866         * BufferView.C (unlockInset):
4867         * BufferView_pimpl.C (fitCursor):
4868         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4869
4870         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4871         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4872
4873         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4874         new functions that convert ParagraphParameters to and from a string.
4875
4876         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4877         BufferView::Pimpl's dispatch.
4878         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4879
4880 2003-03-13 André Pönitz <poenitz@gmx.net>
4881
4882         * lyxfunc.C:
4883         * text3.C:
4884         * factory.C: make it aware of InsetEnv
4885
4886 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * text2.C (setCursor): never ask for one past last
4889         (setCursor): add some debugging messages.
4890
4891         * text.C (singleWidth): never ask for one past last
4892         (singleWidth): ditto
4893         (leftMargin): ditto
4894         (rightMargin): ditto
4895         (rowBreakPoint): ditto
4896         (setHeightOfRow): ditto
4897         (prepareToPrint): ditto
4898
4899         * rowpainter.C (paintBackground): never ask for one past last
4900         (paintText): never ask for one past last
4901
4902         * paragraph_pimpl.C (getChar): make the assert stricter, never
4903         allow the one past last pos to be taken
4904
4905         * paragraph.C (getChar): ws changes only
4906
4907         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4908         (numberOfSeparators): ditto
4909         (numberOfHfills): ditto
4910
4911 2003-03-12  John Levon  <levon@movementarian.org>
4912
4913         * author.h:
4914         * author.C:
4915         * bufferparams.h:
4916         * bufferparams.C:
4917         * paragraph_funcs.C: fix per-buffer authorlists
4918
4919 2003-03-12  John Levon  <levon@movementarian.org>
4920
4921         * text.C: fix newline in right address
4922
4923 2003-03-12  Angus Leeming  <leeming@lyx.org>
4924
4925         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4926         duplicate those in LyXFunc::dispatch.
4927
4928         * commandtags.h:
4929         * LyXAction.C:
4930         * ToolbarDefaults.C:
4931         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4932         Add LFUN_FONTFREE_UPDATE.
4933
4934         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4935         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4936
4937         * bufferview_func.[Ch]: several new functions to facilliate
4938         transfer of data to and from the character dialog.
4939
4940 2003-03-12  John Levon  <levon@movementarian.org>
4941
4942         * buffer.C:
4943         * paragraph.h:
4944         * paragraph.C:
4945         * paragraph_funcs.C:
4946         * paragraph_pimpl.C:
4947         * sgml.C:
4948         * tabular.C:
4949         * text.C:
4950         * text3.C: remove META_NEWLINE in favour of an inset
4951
4952         * rowpainter.h:
4953         * rowpainter.C: remove paintNewline (done by inset)
4954
4955 2003-03-12  John Levon  <levon@movementarian.org>
4956
4957         * paragraph_pimpl.C: complain about bad getChar()s
4958         for a while at least
4959
4960 2003-03-12  John Levon  <levon@movementarian.org>
4961
4962         * buffer.h:
4963         * buffer.C: move paragraph read into a separate function,
4964         a little renaming to reflect that.
4965
4966         * bufferparams.h:
4967         * bufferparams.C: remove the author_ids map, not necessary now
4968
4969         * factory.h:
4970         * factory.C: moved Buffer::readInset to here
4971
4972         * paragraph_funcs.h:
4973         * paragraph_funcs.C: readParagraph free function moved from
4974         buffer.C
4975
4976         * tabular.C: name change
4977
4978 2003-03-12  John Levon  <levon@movementarian.org>
4979
4980         * buffer.C:
4981         * ParagraphParameters.C: move par params input to
4982         a read() method
4983
4984         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4985         behave like a normal read from the stream wrt reading
4986         a line vs. a \\token
4987
4988 2003-03-12  John Levon  <levon@movementarian.org>
4989
4990         * paragraph.C:
4991         * ParagraphParameters.h:
4992         * ParagraphParameters.C: move output code to a
4993         ::write() method
4994
4995 2003-03-12  John Levon  <levon@movementarian.org>
4996
4997         * BufferView.C (insertLyXFile):
4998         * buffer.h:
4999         * buffer.C:
5000         * tabular.C: use a parlist iterator for creating the
5001           document.
5002
5003 2003-03-12  John Levon  <levon@movementarian.org>
5004
5005         * buffer.C: make current_change static local not
5006           static file-scope
5007
5008 2003-03-12  John Levon  <levon@movementarian.org>
5009
5010         * buffer.C: fix insertStringAsLines for change tracking
5011
5012 2003-03-12  John Levon  <levon@movementarian.org>
5013
5014         * BufferView.C:
5015         * tabular.C:
5016         * buffer.h:
5017         * buffer.C:
5018         * bufferparams.h:
5019         * bufferparams.C: move author list into params. Rename some
5020           functions. Move the header reading into a separate token
5021           loop. Move the header token reading into BufferParams.
5022
5023 2003-03-12  John Levon  <levon@movementarian.org>
5024
5025         * changes.C: put debug inside lyxerr.debugging() checks
5026
5027 2003-03-11 André Pönitz <poenitz@gmx.net>
5028
5029         * factory.C: make it aware of InsetHFill
5030
5031 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5032
5033         * buffer.C (latexParagraphs): move function from here...
5034         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5035         args.
5036
5037 2003-03-10  Angus Leeming  <leeming@lyx.org>
5038
5039         * LyXAction.C (init): fix bug in poplating array with multiple entries
5040         with the same LFUN (spotted by JMarc).
5041
5042 2003-03-10  John Levon  <levon@movementarian.org>
5043
5044         * text.C:
5045         * text2.C: move getColumnNearX() near its
5046         only call site
5047
5048 2003-03-10  John Levon  <levon@movementarian.org>
5049
5050         * text.C: fix break before a minipage
5051
5052 2003-03-10  John Levon  <levon@movementarian.org>
5053
5054         * text.C: fix the last commit
5055
5056 2003-03-09  John Levon  <levon@movementarian.org>
5057
5058         * lyxtext.h:
5059         * text.C:
5060         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5061         bug 365 (don't break before insets unless needed). Don't
5062         return a value > last under any circumstances.
5063
5064 2003-03-09  Angus Leeming  <leeming@lyx.org>
5065
5066         * BufferView_pimpl.C (trackChanges, dispatch): call
5067         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5068
5069 2003-03-09  Angus Leeming  <leeming@lyx.org>
5070
5071         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5072         than Dialogs::showAboutlyx().
5073
5074 2003-03-09  Angus Leeming  <leeming@lyx.org>
5075
5076         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5077         than Dialogs::showTabularCreate().
5078
5079 2003-03-09  John Levon  <levon@movementarian.org>
5080
5081         * lyxtext.h:
5082         * text.C:
5083         * text2.C: 3rd arg to nextBreakPoint was always the same.
5084           Use references.
5085
5086 2003-03-08  John Levon  <levon@movementarian.org>
5087
5088         * lyxrow.C:
5089         * paragraph.C:
5090         * paragraph.h:
5091         * rowpainter.C:
5092         * text.C:
5093         * text2.C: Remove the "main" bit from the "main body"
5094           notion.
5095
5096 2003-03-08  John Levon  <levon@movementarian.org>
5097
5098         * text.C (leftMargin): The left margin of an empty
5099         manual label paragraph should not include the label width
5100         string length.
5101
5102         * text.C (prepareToPrint): don't attempt to measure hfills
5103         for empty manual label paragraphs - the answer should be 0
5104
5105 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * CutAndPaste.C: remove commented code and reindent.
5108
5109 2003-03-08  John Levon  <levon@movementarian.org>
5110
5111         * lyxfunc.h:
5112         * lyxfunc.C: move reloadBuffer()
5113
5114         * BufferView.h:
5115         * BufferView.C: to here
5116
5117         * lyxvc.C: add comment
5118
5119         * vc-backend.h:
5120         * vc-backend.C: call bv->reload() to avoid
5121           getStatus() check on MENURELOAD
5122
5123 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5124
5125         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5126         to an old format .dep file.
5127
5128 2003-03-07  Angus Leeming  <leeming@lyx.org>
5129
5130         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5131         when the LFUN_MOUSE_RELEASE should have been handled by
5132         inset->localDispatch.
5133
5134 2003-03-07  Angus Leeming  <leeming@lyx.org>
5135
5136         * BufferView_pimpl.C (dispatch):
5137         * LyXAction.C (init):
5138         * ToolbarDefaults.C (init):
5139         * commandtags.h:
5140         * lyxfunc.C (getStatus):
5141         remove LFUN_INSET_GRAPHICS.
5142
5143         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5144
5145 2003-03-07  Angus Leeming  <leeming@lyx.org>
5146
5147         * commandtags.h:
5148         * LyXAction.C (init):
5149         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5150
5151         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5152
5153         * commandtags.h:
5154         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5155
5156         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5157         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5158
5159 2003-03-07  Angus Leeming  <leeming@lyx.org>
5160
5161         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5162         remove "ert".
5163
5164 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * ParagraphList.C (front): new function
5167         (back): implement
5168
5169 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5170
5171         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5172         and top_row_offset_. removed var first_y.
5173         * text.C (top_y):
5174         * text2.C (LyXText, removeRow):
5175         * text3.C:
5176         * BufferView_pimpl.C:
5177         use these methods instead of using first_y
5178
5179 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5180
5181         * text2.C (pasteSelection): adjust for checkPastePossible
5182
5183         * CutAndPaste.C: remove Paragraph * buf and replace with
5184         ParagraphList paragraphs.
5185         (DeleteBuffer): delete
5186         (cutSelection): change the tc type to textclass_type
5187         (copySelection): change the tc type to textclass_type
5188         (copySelection): adjust for ParagraphList
5189         (pasteSelection): change the tc type to textclass_type
5190         (pasteSelection): adjust for Paragraphlist
5191         (nrOfParagraphs): simplify for ParagraphList
5192         (checkPastePossible): simplify for ParagraphList
5193         (checkPastePossible): remove unused arg
5194
5195         * ParagraphList.C (insert): handle the case where there are no
5196         paragraphs yet.
5197
5198         * CutAndPaste.h: make CutAndPaste a namespace.
5199
5200         * text3.C (dispatch): adjust
5201
5202         * text.C (breakParagraph): add a ParagraphList as arg
5203
5204         * paragraph_funcs.C (breakParagraph): change to take a
5205         BufferParams and a ParagraphList as args.
5206         (breakParagraphConservative): ditto
5207         (mergeParagraph): ditto
5208         (TeXDeeper): add a ParagraphList arg
5209         (TeXEnvironment): ditto
5210         (TeXOnePar): ditto
5211
5212         * buffer.C (readLyXformat2): adjust
5213         (insertStringAsLines): adjust
5214         (latexParagraphs): adjust
5215
5216         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5217         (cutSelection): adjust
5218         (pasteSelection): adjust
5219
5220         * BufferView_pimpl.C (insertInset): adjust
5221
5222 2003-03-05  Angus Leeming  <leeming@lyx.org>
5223
5224         * commandtags.h:
5225         * LyXAction.C (init):
5226         * BufferView_pimpl.C (dispatch):
5227         * lyxfunc.C (getStatus):
5228         remove LFUN_CHILD_INSERT.
5229
5230         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5231
5232 2003-03-05  Angus Leeming  <leeming@lyx.org>
5233
5234         * commandtags.h:
5235         * LyXAction.C (init):
5236         * src/factory.C (createInset):
5237         * lyxfunc.C (getStatus):
5238         * text3.C (dispatch):
5239         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5240
5241         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5242
5243 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * ParagraphList.C (insert): handle insert right before end()
5246         (erase): fix cases where it can be first or last paragraph.
5247
5248 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5251         Paragraph::next and Paragraph::previous
5252         (TeXOnePar): ditto
5253
5254         * text.C (breakParagraph): adjust
5255
5256         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5257         BufferParams& as arg.
5258         (breakParagraph): use ParagraphList::insert
5259         (breakParagraphConservative): take a Buffer* instead of a
5260         BufferParams& as arg.
5261         (breakParagraphConservative): use ParagraphList::insert.
5262
5263         * buffer.C (insertStringAsLines): un-const it
5264         (insertStringAsLines): adjust
5265
5266         * ParagraphList.C (insert): new function
5267
5268         * CutAndPaste.C (pasteSelection): adjust
5269
5270         * text.C (backspace): adjust
5271
5272         * tabular.C (SetMultiColumn): adjust
5273
5274         * CutAndPaste.C (cutSelection): adjust
5275         (pasteSelection): adjust
5276
5277         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5278         Buffer const * as arg
5279
5280         * ParagraphList.C (erase): new function
5281         * paragraph_funcs.C (mergeParagraph): use it
5282         (mergeParagraph): make it take a Buffer* instead of a
5283         BufferParams* as arg
5284
5285         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5286         as arg
5287         (breakParagraphConservative): ditto
5288
5289         * paragraph.h: remove the breakParagraph friend
5290
5291         * paragraph.C (eraseIntern): new function
5292         (setChange): new function
5293
5294         * paragraph_funcs.C (mergeParagraph): make it take a
5295         ParagraphList::iterator instead of a Paragraph *, adjust
5296         accordingly.
5297
5298         * paragraph.h: move an #endif so that the change tracking stuff
5299         also works in the NO_NEXT case.
5300
5301 2003-03-04  Angus Leeming  <leeming@lyx.org>
5302
5303         * commandtags.h:
5304         * LyXAction.C: new LFUN_INSET_MODIFY.
5305
5306         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5307         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5308
5309 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * several files: ws changes only
5312
5313         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5314         (TeXEnvironment): ditto
5315         (TeXDeeper): ditto
5316
5317         * buffer.C (makeLaTeXFile): adjust
5318         (latexParagraphs): make it take ParagraphList::iterator as args
5319
5320 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * buffer.C (latexParagraphs): adjust
5323
5324         * paragraph.C (TeXOnePar): move function...
5325         (optArgInset): move function...
5326         (TeXEnvironment): move function...
5327         * paragraph_pimpl.C (TeXDeeper): move function...
5328         * paragraph_funcs.C: ...here
5329
5330         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5331
5332 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * buffer.C (readInset): remove compability code for old Figure and
5335         InsetInfo insets
5336
5337 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * buffer.C: ws changes
5340         (readInset):
5341
5342         * BufferView_pimpl.C: ditto
5343         * author.C: ditto
5344         * buffer.h: ditto
5345         * bufferlist.h: ditto
5346         * changes.h: ditto
5347         * lyxfunc.C: ditto
5348
5349 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5350
5351         * converter.[Ch]: split into itself +
5352         * graph.[Ch]
5353         * format.[Ch]
5354         * Makefile.am: += graph.[Ch] + format.[Ch]
5355         * MenuBackend.C
5356         * buffer.C
5357         * exporter.C
5358         * importer.C
5359         * lyx_main.C
5360         * lyxfunc.C
5361         * lyxrc.C: added #include "format.h"
5362
5363 2003-02-27  Angus Leeming  <leeming@lyx.org>
5364
5365         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5366           a label.
5367
5368         * factory.C (createInset): add "label" to the factory.
5369
5370         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5371           string and do no more.
5372
5373 2003-02-27  Angus Leeming  <leeming@lyx.org>
5374
5375         * commandtags.h:
5376         * LyXAction.C (init):
5377         * factory.C (createInset):
5378         * BufferView_pimpl.C (dispatch):
5379           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5380
5381         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5382
5383         * lyxfunc.C (dispatch):
5384         * text3.C (dispatch): pass name to params2string.
5385
5386 2003-02-26  Angus Leeming  <leeming@lyx.org>
5387
5388         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5389           blocks together.
5390           Rearrange the ~includes. Strip out the unnecessary ones.
5391
5392         * factory.C (createInset): reformat.
5393           create new insets for the various LFUN_XYZ_APPLY lfuns.
5394
5395 2003-02-26  John Levon  <levon@movementarian.org>
5396
5397         * lyxrow.h:
5398         * lyxrow.C: add isParStart,isParEnd helpers
5399
5400         * paragraph.h: make isInserted/DeletedText take refs
5401
5402         * paragraph_funcs.h:
5403         * paragraph_funcs.C: remove #if 0'd code
5404
5405         * lyxtext.h:
5406         * text3.C:
5407         * text2.C:
5408         * text.C: use lyxrow helpers above.
5409           Move draw and paint routines to RowPainter.
5410           Make several methods use refs not pointers.
5411           Make backgroundColor() const.
5412           Add markChangeInDraw(), isInInset().
5413           Merge changeRegionCase into changeCase.
5414           Make workWidth() shouldn't-happen code into an Assert.
5415
5416         * rowpainter.h:
5417         * rowpainter.C: new class for painting a row.
5418
5419         * vspace.h:
5420         * vspace.C: make inPixels take a ref
5421
5422 2003-02-26  Angus Leeming  <leeming@lyx.org>
5423
5424         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5425         LFUN_REF_APPLY.
5426
5427 2003-02-25  John Levon  <levon@movementarian.org>
5428
5429         * ispell.C: give the forked command a more accurate name
5430
5431 2003-02-22  John Levon  <levon@movementarian.org>
5432
5433         * toc.h:
5434         * toc.C: make TocItem store an id not a Paragraph *
5435           (bug #913)
5436
5437 2003-02-21  Angus Leeming  <leeming@lyx.org>
5438
5439         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5440           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5441           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5442           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5443           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5444           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5445
5446         * BufferView_pimpl.C (dispatch):
5447         * LyXAction.C (init):
5448         * factory.C (createInset):
5449         * lyxfunc.C (getStatus, dispatch):
5450         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5451
5452 2003-02-21  Angus Leeming  <leeming@lyx.org>
5453
5454         * BufferView_pimpl.C (MenuInsertLyXFile):
5455         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5456         * lyxfunc.C (menuNew, open, doImport):
5457           no longer pass a LyXView & to fileDlg.
5458
5459 2003-02-21  Angus Leeming  <leeming@lyx.org>
5460
5461         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5462         * LyXAction.C: change, BIBKEY to BIBITEM.
5463         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5464         Change InsetBibKey to InsetBibitem.
5465         Change BIBKEY_CODE to BIBITEM_CODE.
5466         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5467         * factory.C: replace insetbib.h with insetbibitem.h.
5468         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5469         * paragraph.C: replace insetbib.h with insetbibitem.h.
5470         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5471         Change bibkey() to bibitem().
5472         * text.C: remove insetbib.h.
5473         * text2.C: replace insetbib.h with insetbibitem.h.
5474         change bibkey() to bibitem().
5475         * text3.C: remove insetbib.h.
5476         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5477
5478 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5479
5480         * lyxrc.C (output): enclose user email in quotes (in case there are
5481         several words)
5482
5483 2003-02-18  John Levon  <levon@movementarian.org>
5484
5485         * buffer.h: add std::
5486
5487 2003-02-17  John Levon  <levon@movementarian.org>
5488
5489         * SpellBase.h:
5490         * ispell.h:
5491         * ispell.C:
5492         * pspell.h:
5493         * pspell.C: reworking. Especially in ispell, a large
5494           number of clean ups and bug fixes.
5495
5496         * lyxfunc.C: fix revert to behave sensibly
5497
5498 2003-02-17 André Pönitz <poenitz@gmx.net>
5499
5500         * LyXAction.C:
5501         * commandtags.h: new LFUN_INSERT_BIBKEY
5502
5503         * layout.h:
5504         * lyxlayout.C:
5505         * buffer.C:
5506         * factory.C:
5507         * text.C:
5508         * text2.C:
5509         * text3.C:
5510         * paragraph.[Ch]:
5511         * paragraph_func.C: remove special bibkey handling
5512
5513 2003-02-17  John Levon  <levon@movementarian.org>
5514
5515         * text.C (Delete): fix case where delete at the end of
5516           the very first paragraph would not merge the pars
5517
5518 2003-02-17  John Levon  <levon@movementarian.org>
5519
5520         * lyxrow.C: fix lastPrintablePos()
5521
5522 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5523
5524         * bufferparams.C (writeLaTeX): add a std:here
5525
5526         * buffer.C: and remove a using directive there
5527
5528 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5529
5530         * buffer.C (makeLaTeXFile): move the code that generates the
5531           preamble...
5532
5533         * bufferparams.C (writeLaTeX): ... in this new method
5534
5535         * LaTeXFeatures.C (getEncodingSet): make const
5536           (getLanguages): make const
5537
5538         * MenuBackend.C (binding): returns the binding associated to this
5539           action
5540           (add): sets the status of each item by calling getStatus. Adds
5541           some intelligence.
5542           (read): add support for OptSubMenu
5543           (expand): remove extra separator at the end of expanded menu
5544
5545 2003-02-15  John Levon  <levon@movementarian.org>
5546
5547         * BufferView.C:
5548         * BufferView_pimpl.C:
5549         * bufferlist.h:
5550         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5551           inset code that had no actual effect. Remove unneeded status
5552           code.
5553
5554 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5555
5556         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5557           in preamble
5558
5559 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5560
5561         * text.C (drawLengthMarker): also draw an arrow marker for
5562           symbolic lengths (medskip...)
5563
5564 2003-02-14  John Levon  <levon@movementarian.org>
5565
5566         * tabular.h:
5567         * tabular.C: better method names
5568
5569 2003-02-14  John Levon  <levon@movementarian.org>
5570
5571         * BufferView_pimpl.C:
5572         * bufferlist.C:
5573         * buffer.C:
5574         * converter.C:
5575         * lyx_cb.C:
5576         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5577           it's a more accurate name. Remove some pointless uses.
5578
5579 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5580
5581         * text2.C (LyXText): change order of initilizers to shut off
5582           warnings
5583
5584 2003-02-14  John Levon  <levon@movementarian.org>
5585
5586         * buffer.C: use ParIterator for getParFromID()
5587
5588         * paragraph.h:
5589         * paragraph.C:
5590         * paragraph_pimpl.h:
5591         * paragraph_pimpl.C: remove unused getParFromID()
5592
5593 2003-02-14  John Levon  <levon@movementarian.org>
5594
5595         * buffer.C: remove some very old #if 0'd parse code
5596
5597 2003-02-13  John Levon  <levon@movementarian.org>
5598
5599         * text.h:
5600         * text.C:
5601         * text2.C: move hfillExpansion(), numberOfSeparators(),
5602           rowLast(), rowLastPrintable(), numberofHfills(),
5603           numberOfLabelHfills() ...
5604
5605         * lyxrow.h:
5606         * lyxrow.C: ... to member functions here.
5607
5608         * paragraph.h:
5609         * paragraph.C:
5610         * lyxtext.h:
5611         * text.C: remove LyXText::beginningOfMainBody(), and call
5612           p->beginningOfMainBody() directly. Move the check for
5613           LABEL_MANUAL into the latter.
5614
5615         * text.h:
5616         * text.C:
5617         * text2.C:
5618         * vspace.C:
5619         * BufferView.h:
5620         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5621
5622         * text.h:
5623         * text.C:
5624         * text2.C:
5625         * text3.C:
5626         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5627           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5628
5629 2003-02-13  John Levon  <levon@movementarian.org>
5630
5631         * CutAndPaste.C: remove debug
5632
5633 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5634
5635         * paragraph.C (asString): remove two unused variables
5636
5637         * lyxtextclass.C (readTitleType):
5638           (Read):
5639           (LyXTextClass): handle new members titletype_ and titlename_
5640
5641         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5642
5643 2003-02-09  John Levon  <levon@movementarian.org>
5644
5645         * buffer.h:
5646         * buffer.C: replace hand-coded list with a map for the dep clean
5647
5648 2003-02-08  John Levon  <levon@movementarian.org>
5649
5650         * LaTeX.C: consolidate code into showRunMessage() helper
5651
5652 2003-02-08  John Levon  <levon@movementarian.org>
5653
5654         * lyxfind.C:
5655         * lyxtext.h:
5656         * text2.C:
5657         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5658           and pass the size in explicitly
5659
5660         * BufferView_pimpl.h:
5661         * BufferView_pimpl.C:
5662         * BufferView.h:
5663         * BufferView.C: add getCurrentChange()
5664
5665         * BufferView_pimpl.h:
5666         * BufferView_pimpl.C: handle change lfuns
5667
5668         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5669           for changes. Mark pasted paragraphs as new.
5670
5671         * support/lyxtime.h:
5672         * support/lyxtime.C:
5673         * DepTable.C: abstract time_t as lyx::time_type
5674
5675         * LColor.h:
5676         * LColor.C: add colours for new text, deleted text, changebars
5677
5678         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5679           package use "usenames" option.
5680
5681         * commandtags.h:
5682         * lyxfunc.C:
5683         * LyXAction.C: add change lfuns
5684
5685         * Makefile.am:
5686         * author.h:
5687         * author.C: author handling
5688
5689         * buffer.h:
5690         * buffer.C: add a per-buffer author list, with first entry as
5691           current author. Handle new .lyx tokens for change tracking. Output
5692           author list to .lyx file. Output dvipost stuff to .tex preamble.
5693           Bump lyx format to 222.
5694
5695         * bufferlist.h:
5696         * bufferlist.C: add setCurrentAuthor() to reset current author details
5697           in all buffers.
5698
5699         * bufferparams.h:
5700         * bufferparams.C: add param for tracking
5701
5702         * bufferview_funcs.C: output change info in minibuffer
5703
5704         * Makefile.am:
5705         * changes.h:
5706         * changes.C: add change-tracking structure
5707
5708         * debug.h:
5709         * debug.C: add CHANGES debug flag
5710
5711         * lyxfind.h:
5712         * lyxfind.C: add code for finding the next change piece
5713
5714         * lyxrc.h:
5715         * lyxrc.C: add user_name and user_email
5716
5717         * lyxrow.h:
5718         * lyxrow.C: add a metric for the top of the text line
5719
5720         * lyxtext.h:
5721         * text.C: implement accept/rejectChange()
5722
5723         * lyxtext.h:
5724         * text.C: paint changebars. Paint new/deleted text in the chosen
5725         colours. Strike through deleted text.
5726
5727         * paragraph.h:
5728         * paragraph.C:
5729         * paragraph_pimpl.h:
5730         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5731           in the current change to the insert functions. Rework erase to
5732           mark text as deleted, adding an eraseIntern() and a range-based
5733           erase(). Implement per-paragraph change lookup and
5734           accept/reject.
5735
5736         * paragraph_funcs.C: Fixup paste for change tracking.
5737
5738         * tabular.C: mark added row/columns as new.
5739
5740         * text.C: fix rowLast() to never return -1. Don't allow
5741           spellchecking of deleted text. Track transpose changes. Don't
5742           allow paragraph break or merge where appropriate.
5743
5744         * text2.C: leave cursor at end of selection after a cut.
5745
5746 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5747
5748         * text.C (getLengthMarkerHeight):
5749         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5750         visible on screen too.
5751
5752 2003-02-07  John Levon  <levon@movementarian.org>
5753
5754         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5755
5756 2003-02-05  Angus Leeming  <leeming@lyx.org>
5757
5758         * lyxserver.C (read_ready): revert my patch of 11 September last year
5759         as it sends PC cpu through the roof. Presumably this means that
5760         the lyxserver will no longer run on an Alpha...
5761
5762 2003-01-30  Angus Leeming  <leeming@lyx.org>
5763
5764         * factory.C (createInset): create an InsetCommandParam of type "index"
5765         and use it to 'do the right thing'.
5766
5767         * text2.C (getStringToIndex): ensure that cursor position is always
5768         reset to the reset_cursor position.
5769
5770 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5771
5772         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5773         disabled.
5774
5775 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5776
5777         * bufferview.C:
5778         * lyxcb.C:
5779         * lyxfunc.C: Output messages with identical spelling, punctuation,
5780         and spaces
5781
5782 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5783
5784         * MenuBackend.C (expandFormats): List only viewable export formats
5785         in "View" menu
5786
5787         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5788         message
5789
5790         * lyxfunc.C (getStatus): Make sure that formats other than
5791         "fax" can also be disabled
5792
5793 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5794
5795         * text3.C (dispatch): put the lfuns that insert insets in 3
5796         groups, and call doInsertInset with appropriate arguments.
5797         (doInsertInset): new function, that creates an inset and inserts
5798         it according to some boolean parameters.
5799
5800 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5801
5802         * buffer.C (readFile): remember to pass on 'par' when calling
5803         readFile recursively.
5804
5805 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5806
5807         * MenuBackend.C (expandFormats): add "..." to import formats.
5808
5809 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5810
5811         * paragraph.C (asString): Remove XForms RTL hacks.
5812
5813 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5814         * buffer.C: fix typo
5815
5816 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * Makefile.am (LIBS): delete var
5819         (lyx_LDADD): add @LIBS@ here instead.
5820
5821 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5822
5823         * Clarify the meaning of "wheel mouse jump"
5824
5825 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5826
5827         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5828         tabular in a float
5829
5830 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5831
5832         * importer.C (Loaders): do not preallocate 3 elements in the
5833         vector, since one ends up with 6 elements otherwise
5834
5835 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5836
5837         * DepTable.C (write): write the file name as last element of the
5838         .dep file (because it may contain spaces)
5839         (read): read info in the right order
5840
5841 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5842
5843         * paragraph_pimpl.C (simpleTeXBlanks):
5844         (simpleTeXSpecialChars):
5845         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5846
5847         * tabular.C (latex): add some missing case statements. Reindent.
5848
5849         * MenuBackend.C (expandToc): remove unused variable.
5850
5851 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5852
5853         * LColor.C:
5854         * LaTeX.C:
5855         * LyXAction.C:
5856         * MenuBackend.C:
5857         * buffer.C:
5858         * exporter.C:
5859         * lyxfunc.C:
5860         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5861         and the like.
5862
5863 2003-01-05  John Levon  <levon@movementarian.org>
5864
5865         * BufferView.h:
5866         * BufferView.C: add getEncoding()
5867
5868         * kbsequence.h:
5869         * kbsequence.C: do not store last keypress
5870
5871         * lyxfunc.h:
5872         * lyxfunc.C: store last keypress here instead. Pass encoding
5873           to getISOEncoded()
5874
5875 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5876
5877         * lyx_main.C (init): remove annoying error message when following
5878         symbolic links (bug #780)
5879
5880 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5881
5882         * text.C (insertChar):
5883         * lyxrc.C (getDescription): remove extra spaces
5884
5885 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5886
5887         * lyxrc.C (getDescription): remove extra spaces
5888
5889 2002-12-20  John Levon  <levon@movementarian.org>
5890
5891         * text3.C: hack fix for page up/down across tall rows
5892
5893 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5894
5895         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5896         not been invoked
5897
5898 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5899
5900         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5901         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5902         thesaurus is not compiled in
5903
5904 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5905
5906         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5907
5908 2002-12-16  Angus Leeming  <leeming@lyx.org>
5909
5910         * lyxrc.[Ch]:
5911         * lyx_main.C (init): remove override_x_deadkeys stuff.
5912
5913 2002-12-12  John Levon  <levon@movementarian.org>
5914
5915         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5916           insert. Only remove shift modifier under strict
5917           circumstances.
5918
5919 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * MenuBackend.C (expandToc): fix crash.
5922
5923 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5924
5925         * MenuBackend.C (expandToc): gettext on float names.
5926
5927 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5928
5929         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5930         implement bool empty() [bug 490]
5931
5932 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5933
5934         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5935
5936 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * several files: ws changes
5939
5940 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5941
5942         * text2.C (setCounter): clean up a bit, use boost.format.
5943         (updateCounters): initialize par upon declaration.
5944
5945         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5946         if the layout exists. We do not just store the layout any more.
5947         (SwitchLayoutsBetweenClasses): use boost.format
5948
5949 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5950
5951         * converter.C (convert): if from and to files are the same, use a
5952         temporary files as intermediary
5953
5954 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5955
5956         * commandtags.h:
5957         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5958
5959 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5960
5961         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5962
5963 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5964
5965         * tabular.C (asciiPrintCell): use string(size, char) instead of
5966         explicit loop.
5967
5968         * sgml.C (openTag): fix order of arguments to string constructor
5969         (closeTag): ditto
5970
5971         * lyxfunc.C (dispatch): use boost.format
5972
5973         * lots of files: change "c" -> 'c'
5974
5975 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5976
5977         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5978
5979 2002-11-25  Angus Leeming  <leeming@lyx.org>
5980
5981         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5982
5983         * lyx_main.C (init): compile fix.
5984
5985 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5986
5987         * lyx_cb.C (start): boost.formatify
5988         do not include <iostream>
5989
5990         * lengthcommon.C: ws only
5991
5992         * boost-inst.C,BoostFormat.h: add more explict instantations
5993
5994 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5995
5996         * lots of files: handle USE_BOOST_FORMAT
5997
5998 2002-11-21  John Levon  <levon@movementarian.org>
5999
6000         * pspell.C: fix compile
6001
6002 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6003
6004         * lyxfunc.C (dispatch): use boost::format
6005         (open): ditto
6006         (doImport): ditto
6007
6008         * lyxfont.C (stateText): use boost::format
6009
6010         * lyx_main.C (LyX): use boost::format
6011         (init): ditto
6012         (queryUserLyXDir): ditto
6013         (readRcFile): ditto
6014         (parse_dbg): ditto
6015         (typedef boost::function): use the recommened syntax.
6016
6017         * importer.C (Import): use boost::format
6018
6019         * debug.C (showLevel): use boost::format
6020
6021         * converter.C (view): use boost::format
6022         (convert): ditto
6023         (move): ditto
6024         (scanLog): ditto
6025
6026         * bufferview_funcs.C (currentState): use boost::format
6027
6028         * bufferlist.C (emergencyWrite): use boost::format
6029
6030         * buffer.C (readLyXformat2): use boost::format
6031         (parseSingleLyXformat2Token): ditto
6032
6033         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6034
6035         * LaTeX.C (run): use boost::format
6036
6037         * Chktex.C (scanLogFile): use boost::format
6038
6039         * BufferView_pimpl.C (savePosition): use boost::format
6040         (restorePosition): ditto
6041         (MenuInsertLyXFile): ditto
6042
6043         * BoostFormat.h: help file for explicit instation.
6044
6045 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6046
6047         * tabular.C (latex): Support for block alignment in fixed width
6048         columns.
6049
6050 2002-11-17  John Levon  <levon@movementarian.org>
6051
6052         * BufferView_pimpl.C:
6053         * lyx_cb.C:
6054         * lyxfunc.C: split filedialog into open/save
6055
6056 2002-11-08  Juergen Vigna  <jug@sad.it>
6057
6058         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6059         by my last patch (hopefully).
6060
6061 2002-11-08  John Levon  <levon@movementarian.org>
6062
6063         * iterators.h:
6064         * iterators.C:
6065         * buffer.h:
6066         * buffer.C:
6067         * paragraph.h:
6068         * paragraph.C:
6069         * toc.h:
6070         * toc.C: ParConstIterator, and use it (from Lars)
6071
6072 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6073
6074         * lyxtextclass.[Ch]: revise and add doxygen comments
6075
6076 2002-11-07  John Levon  <levon@movementarian.org>
6077
6078         * text.C: fix progress value for spellchecker
6079
6080         * toc.C: fix navigate menu for insetwrap inside minipage
6081
6082         * paragraph_funcs.C: added FIXME for suspect code
6083
6084 2002-11-07  John Levon  <levon@movementarian.org>
6085
6086         * BufferView_pimpl.C: fix redrawing of insets
6087           on buffer switch
6088
6089 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6090
6091         * text2.C (updateCounters): fix bug 668
6092
6093 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6094
6095         * text3.C (dispatch): Do not make the buffer dirty when moving the
6096         cursor.
6097
6098 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * vc-backend.C: STRCONV
6101         (scanMaster): ditto
6102
6103         * text2.C (setCounter): STRCONV
6104
6105         * paragraph.C (asString): STRCONV
6106
6107         * lyxlength.C (asString): STRCONV
6108         (asLatexString): ditto
6109
6110         * lyxgluelength.C (asString): STRCONV
6111         (asLatexString): ditto
6112
6113         * lyxfunc.C (dispatch): STRCONV
6114         (open): ditto
6115
6116         * lyxfont.C (stateText): STRCONV
6117
6118         * importer.C (Import): STRCONV
6119
6120         * counters.C (labelItem): STRCONV
6121         (numberLabel): ditto
6122         (numberLabel): remove unused ostringstream o
6123
6124         * chset.C: STRCONV
6125         (loadFile): ditto
6126
6127         * bufferview_funcs.C (currentState): STRCONV
6128
6129         * buffer.C (readFile): STRCONV
6130         (asciiParagraph): ditto
6131         (makeLaTeXFile): ditto
6132
6133         * Spacing.C (writeEnvirBegin): STRCONV
6134
6135         * LaTeXFeatures.C (getLanguages): STRCONV
6136         (getPackages): ditto
6137         (getMacros): ditto
6138         (getBabelOptions): ditto
6139         (getTClassPreamble): ditto
6140         (getLyXSGMLEntities): ditto
6141         (getIncludedFiles): ditto
6142
6143         * LaTeX.C: STRCONV
6144         (run): ditto
6145         (scanAuxFile): ditto
6146         (deplog): ditto
6147
6148         * LString.h: add the STRCONV macros
6149
6150         * BufferView_pimpl.C (savePosition): STRCONV
6151         (restorePosition): ditto
6152         (MenuInsertLyXFile): ditto
6153
6154         * vc-backend.C (scanMaster): change from submatch[...] to
6155         submatch.str(...)
6156
6157         * funcrequest.C: include config.h
6158
6159         * factory.C: include config.h
6160
6161         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6162
6163         * box.C: include config.h
6164
6165         * LaTeX.C (scanAuxFile): change from submatch[...] to
6166         submatch.str(...)
6167         (deplog): ditto
6168
6169 2002-10-25  Angus Leeming  <leeming@lyx.org>
6170
6171         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6172
6173         * ispell.[Ch] (setError): new method.
6174         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6175         Use setError() insetead of goto END.
6176
6177         * lyx_cb.C (AutoSave): move out child process into new class
6178         AutoSaveBuffer.
6179
6180 2002-10-30  John Levon  <levon@movementarian.org>
6181
6182         * text3.C: make start appendix undoable
6183
6184 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6185
6186         * lyxlength.C (inPixels): Fix returned value.
6187
6188         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6189         environment.
6190
6191 2002-10-24  Angus Leeming  <leeming@lyx.org>
6192
6193         * lyxgluelength.h: no need to forward declare BufferParams
6194         or BufferView, so don't.
6195
6196 2002-10-21  John Levon  <levon@movementarian.org>
6197
6198         * BufferView.C: menuUndo ->undo, redo
6199
6200         * BufferView.h: document, remove dead, make some methods private
6201
6202         * paragraph_funcs.h:
6203         * paragraph_funcs.C:
6204         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6205
6206         * buffer.h:
6207         * buffer.C:
6208         * sgml.h:
6209         * sgml.C: move sgml open/close tag into sgml.C
6210
6211         * bufferview_funcs.h: unused prototype
6212
6213         * lyxfunc.h:
6214         * lyxfunc.C: remove unused
6215
6216         * lyxtext.h:
6217         * text.C: remove unused
6218
6219 2002-10-21  John Levon  <levon@movementarian.org>
6220
6221         * BufferView.h:
6222         * BufferView.C:
6223         * BufferView_pimpl.h:
6224         * BufferView_pimpl.C: fix mouse wheel handling based on
6225           patch from Darren Freeman
6226
6227 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6228
6229         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6230
6231 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6232
6233         * lyxlength.C (inPixels): Fix hanfling of negative length.
6234         Fix LyXLength::MU case.
6235
6236 2002-10-16  John Levon  <levon@movementarian.org>
6237
6238         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6239
6240 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6241
6242         * converter.C (view): add support for $$i (file name) and $$p
6243         (file path) for the viewer command. If $$i is not specified, then
6244         it is appended to the command (for compatibility with old syntax)
6245
6246 2002-10-14  Juergen Vigna  <jug@sad.it>
6247
6248         * undo_funcs.C (textHandleUndo): alter the order in which the
6249         new undopar is added to the LyXText, as we have to set first
6250         the right prev/next and then add it as otherwise the rebuild of
6251         LyXText is not correct. Also reset the cursor to the right paragraph,
6252         with this IMO we could remove the hack in "redoParagraphs()".
6253
6254 2002-10-09  Angus Leeming  <leeming@lyx.org>
6255
6256         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6257         to turn off an optimisation if a new inset is to be inserted.
6258
6259 2002-10-11 André Pönitz <poenitz@gmx.net>
6260
6261         * lyxtext.h: make some functions public to allow access
6262         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6263
6264 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6265
6266         * text3.C (dispatch): when changing layout, avoid an infinite loop
6267         [bug #652]
6268
6269 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6270
6271         * lyxrc.C (read): treat a viewer or converter command of "none" as
6272         if it were empty.
6273
6274         * MenuBackend.C (expandFormats): for an update, also allow the
6275         formats that are not viewable
6276
6277         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6278         script if it is newer than the lyxrc.defaults in user directory
6279
6280 2002-10-07 André Pönitz <poenitz@gmx.net>
6281
6282         * text.C: Vitaly Lipatov's small i18n fix
6283
6284 2002-09-25  Angus Leeming  <leeming@lyx.org>
6285
6286         * ispell.h: doxygen fix.
6287
6288 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6289
6290         * buffer.h (readFile): Add a new argument to the method, to allow
6291         reading of old-format templates.
6292
6293 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6294
6295         * toc.C (getTocList): Get TOC from InsetWrap.
6296
6297 2002-09-16  John Levon  <levon@movementarian.org>
6298
6299         * lyxfunc.C: check tabular for cut/copy too
6300
6301 2002-09-12  John Levon  <levon@movementarian.org>
6302
6303         * LyXAction.C: tidy
6304
6305         * factory.h:
6306         * factory.C: add header
6307
6308         * paragraph_funcs.h:
6309         * paragraph_funcs.C: cleanup
6310
6311 2002-09-11  John Levon  <levon@movementarian.org>
6312
6313         * PrinterParams.h: odd/even default to true
6314
6315 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6316
6317         * PrinterParams.h: update printer parameters for new xforms dialog
6318
6319 2002-09-11  Angus Leeming  <leeming@lyx.org>
6320
6321         * lyxserver.C (read_ready): re-write to make it more transparent
6322         and to make it work in coherent fashion under Tru64 Unix.
6323
6324 2002-09-11  André Pönitz <poenitz@gmx.net>
6325
6326         * commandtags.h:
6327         * LyXAction.C:
6328         * text3.C: implement LFUN_WORDSEL
6329
6330 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6333         make floatlist_ a boost::shared_ptr<FloatList>
6334
6335         * lyxtextclass.C: include FloatList.h
6336         (LyXTextClass): initialize floatlist_
6337         (TextClassTags): add TC_NOFLOAT
6338         (Read): match "nofloat" to TC_NOFLOAT and use it.
6339         (readFloat): modify call to floatlist_
6340         (floats): ditto
6341         (floats): ditto
6342
6343         * FloatList.[Ch] (FloatList): remove commented out float
6344         initialization.
6345         (erase): new function
6346
6347 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6348
6349         * MenuBackend.C (expandToc): fix crash when there is no document
6350         open
6351
6352 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6353
6354         * many files: Add insetwrap.
6355
6356 2002-09-09  John Levon  <levon@movementarian.org>
6357
6358         * text2.C: remove confusing and awkward depth wraparound
6359
6360 2002-09-09  John Levon  <levon@movementarian.org>
6361
6362         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6363
6364         * buffer.h:
6365         * buffer.C: remove getIncludeonlyList()
6366
6367         * paragraph.C:
6368         * lyxfunc.C: remove headers
6369
6370 2002-09-09  Juergen Vigna  <jug@sad.it>
6371
6372         * text.C (getColumnNearX): fix form Michael this is most
6373         probably a cut&paste bug.
6374
6375 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6378
6379         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6380         references, ws changes.
6381
6382         * text2.C (init): update counters after init
6383         (insertParagraph): no need to set counter on idividual paragraphs.
6384         (setCounter): access the counters object in the textclass object
6385         on in the buffer object.
6386         (updateCounters): ditto
6387
6388         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6389         shared_ptr<Counters> to avoid loading counters.h in all
6390         compilation units.
6391         (LyXTextClass): initialize ctrs_
6392         (TextClassTags): add TC_COUNTER, and ...
6393         (Read): use it here.
6394         (CounterTags): new tags
6395         (readCounter): new function
6396         (counters): new funtion
6397         (defaultLayoutName): return a const reference
6398
6399         * counters.C (Counters): remove contructor
6400         (newCounter): remove a couple of unneeded statements.
6401         (newCounter): simplify a bit.
6402         (numberLabel): some small formatting changes.
6403
6404         * buffer.[Ch]: remove all traces of counters, move the Counters
6405         object to the LyXTextClass.
6406
6407 2002-09-06  Alain Castera  <castera@in2p3.fr>
6408
6409         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6410         package to set the horizontal alignment on fixed width columns.
6411
6412         * lyx_sty.C:
6413         * lyx_sty.h: added tabularnewline macro def.
6414
6415         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6416
6417 2002-09-06  John Levon  <levon@movementarian.org>
6418
6419         * LyXAction.C: tooltips for sub/superscript
6420
6421         * MenuBackend.C: a bit more verbose
6422
6423         * lyxfunc.C: tiny clean
6424
6425         * undo_funcs.C: document undo_frozen
6426
6427 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * counters.C (Counters): add missing algorithm counter.
6430
6431         * text2.C (setCounter): lookup the counter with layouts latexname
6432         instead of by section number.
6433         (setCounter): use a hackish way to lookup the correct enum
6434         counter.
6435         a float name->type change
6436         reset enum couners with counter name directly instead of depth value.
6437
6438         * counters.C (Counters): remove the push_backs, change to use the
6439         float type not the float name.
6440         (labelItem): remove unused string, float name->type change
6441
6442         * counters.h: don't include vector, loose the enums and sects vectors
6443
6444 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6445
6446         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6447         (Read): add float->TC_FLOAT to textclassTags
6448         (Read): and handle it in the switch
6449         (readFloat): new function
6450
6451         * FloatList.C (FloatList): comment out the hardcoded float
6452         definitions.
6453
6454         * lyxlayout.h: ws change.
6455
6456 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6457
6458         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6459
6460 2002-09-03  Angus Leeming  <leeming@lyx.org>
6461
6462         * BufferView_pimpl.h: qualified name is not allowed in member
6463         declaration: WorkArea & Pimpl::workarea() const;
6464
6465         * factory.C: added using std::endl directive.
6466
6467         * text3.C: added using std::find and std::vector directives.
6468
6469 2002-08-29  André Pönitz <poenitz@gmx.net>
6470
6471         * lyxtext.h:
6472         * text2.C: remove unused member number_of_rows
6473
6474         * Makefile.am:
6475         * BufferView2.C: remove file, move contents to...
6476         * BufferView.C: ... here
6477
6478         * BufferView_pimpl.C:
6479         * factory.C: move more inset creation to factory
6480
6481         * vspace.C: avoid direct usage of LyXText, ws changes
6482
6483         * BufferView.[Ch]:
6484                 don't provide direct access to WorkArea, use two simple
6485                 acessors haveSelction() and workHeight() instead
6486
6487
6488 2002-08-29  John Levon  <levon@movementarian.org>
6489
6490         * BufferView_pimpl.C (dispatch): do not continue when
6491           no buffer
6492
6493 2002-08-28  André Pönitz <poenitz@gmx.net>
6494
6495         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6496
6497         * BufferView.h:
6498         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6499
6500 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6501
6502         * buffer.C: increment LYX_FORMAT to 221
6503
6504         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6505         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6506
6507         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6508
6509         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6510
6511 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6512
6513         * factory.C (createInset): use LyXTextClass::floats
6514
6515         * MenuBackend.C (expandFloatListInsert):
6516         (expandFloatInsert):
6517         (expandToc):
6518
6519         * text2.C (setCounter):
6520
6521         * LaTeXFeatures.C (useFloat):
6522         (getFloatDefinitions):
6523
6524         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6525
6526         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6527         floatlist_, with accessor floats().
6528
6529         * FloatList.h: remove global FloatList
6530
6531 2002-08-26  André Pönitz <poenitz@gmx.net>
6532
6533         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6534
6535         * BufferView.h:
6536         * BufferView2.C:
6537         * BufferView_pimpl.C:
6538         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6539
6540 2002-08-25  John Levon  <levon@movementarian.org>
6541
6542         * LyXAction.C: fix margin note description
6543
6544 2002-08-24  John Levon  <levon@movementarian.org>
6545
6546         * buffer.C:
6547         * bufferlist.C:
6548         * bufferview_funcs.C:
6549         * lyxfont.C:
6550         * undo_funcs.C: cleanups
6551
6552         * lyxfunc.C: disable CUT/COPY when no selection
6553
6554 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6555
6556         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6557         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6558
6559         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6560         Add backward compatibility to "mono", "gray" and "no".
6561
6562 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6563
6564         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6565         (and file_format >= 200).
6566
6567 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6568
6569         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6570
6571 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6572
6573         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6574
6575 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6576
6577         * BufferView_pimpl.C:
6578         * LyXAction.C:
6579         * buffer.C:
6580         * commandtags.h:
6581         * lyxfunc.C:
6582         * paragraph.[Ch]:
6583         * text2.C:
6584         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6585         inset and code to make it  work with the paragraph code. The inset
6586         can be anywhere in the paragraph, but will only do the expected
6587         thing in LaTeX if the layout file contains the parameter line
6588                         OptionalArgs    1
6589         (or more generally, a nonzero value) for that layout.
6590
6591 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * paragraph.h: remove the declaration of undefined counters class
6594         function.
6595
6596 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6597
6598         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6599         Dr. Richard Hawkins.
6600
6601 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6602
6603         * paragraph_funcs.h: remove some unneeded includes
6604
6605         * text.C (backspace): pasteParagraph now in global scipe
6606
6607         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6608         (pasteSelection): ditto
6609
6610         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6611         * paragraph_funcs.C (pasteParagraph): ... here
6612
6613 2002-08-20  André Pönitz <poenitz@gmx.net>
6614
6615         * commandtags.h: new LFUNs for swapping/copying table row/colums
6616
6617         * LyXAction.C:
6618         * lyxfunc.C: support for new lfuns
6619
6620 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * tabular.C:
6623         * buffer.[Ch]: remove NO_COMPABILITY stuff
6624
6625 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6626
6627         * boost.C (throw_exception): new file, with helper function for
6628         boost compiled without exceptions.
6629
6630         * paragraph.h:
6631         * lyxlength.C:
6632         * buffer.C:
6633         * ParameterStruct.h:
6634         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6635
6636         * bufferlist.C (emergencyWriteAll): use boost bind
6637
6638         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6639
6640         * text.C: include paragraph_funcs.h
6641         (breakParagraph): breakParagraph is now in global scope
6642
6643         * paragraph_funcs.[Ch]: new files
6644
6645         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6646         global scope
6647
6648         * buffer.C: include paragraph_funcs.h
6649         (insertStringAsLines): breakParagraph is now in global scope
6650
6651         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6652         paragraph_funcs.C
6653
6654         * CutAndPaste.C: include paragraph_funcs.h
6655         (cutSelection): breakParagraphConservative is now in global scope
6656         (pasteSelection): ditto
6657
6658         * buffer.h: declare oprator== and operator!= for
6659         Buffer::inset_iterator
6660
6661         * bufferlist.C (emergencyWrite): don't use fmt(...)
6662
6663         * text3.C: add using std::endl
6664
6665         * BufferView.C (moveCursorUpdate): remove default arg
6666
6667 2002-08-20  André Pönitz <poenitz@gmx.net>
6668
6669         * buffer.[Ch]: move inline functions to .C
6670
6671         * BufferView2.C:
6672         * BufferView_pimpl.C:
6673         * text.C:
6674         * buffer.[Ch]: use improved inset_iterator
6675
6676         * buffer.C:
6677         * paragraph.[Ch]: write one paragraph at a time
6678
6679 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6680
6681         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6682         style if style is not specified.
6683
6684 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6685
6686         * text2.C (setCounter): when searching for right label for a
6687         caption, make sure to recurse to parent insets (so that a caption
6688         in a minipage in a figure float works) (bug #568)
6689
6690 2002-08-20  André Pönitz <poenitz@gmx.net>
6691
6692         * text3.C: new file for LyXText::dispatch() and helpers
6693
6694         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6695
6696         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6697
6698 2002-08-19  André Pönitz <poenitz@gmx.net>
6699
6700         * lyxtext.h:
6701         * text.C: new LyXText::dispatch()
6702
6703         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6704
6705 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6706
6707         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6708
6709         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6710         Hebrew text.
6711
6712 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6713
6714         * Makefile.am: use $(variables) instead of @substitutions@
6715
6716 2002-08-15  André Pönitz <poenitz@gmx.net>
6717
6718         * lyxfunc.C:
6719         * BufferView_pimpl.C: streamlining mathed <-> outer world
6720         interaction
6721
6722         * commandtags.h:
6723         * LyXAction.C: remove unused LFUN_MATH
6724
6725 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6728
6729 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * paragraph.C (Paragraph): reformat a bit
6732         (cutIntoMinibuffer): use builtin InsetList function instad of
6733         doing it manually.
6734         (getInset): ditto
6735
6736         * buffer.C: include boost/bind.hpp, add using std::for_each
6737         (writeFileAscii): use ParagraphList iterators
6738         (validate): use for_each for validate traversal of paragraphs
6739         (getBibkeyList): use ParagraphList iterators
6740         (resizeInsets): use for_each to resizeInsetsLyXText for all
6741         paragraphs.
6742         (getParFromID): use ParagraphList iterators
6743
6744         * BufferView2.C (lockInset): use paragraph list and iterators
6745
6746 2002-08-14  John Levon  <levon@movementarian.org>
6747
6748         * lyxserver.C: remove spurious xforms include
6749
6750 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6751
6752         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6753
6754 2002-08-13  André Pönitz <poenitz@gmx.net>
6755
6756         * LyXAction.[Ch]:
6757         * lyxfunc.C: further cleaning
6758
6759 2002-08-13  André Pönitz <poenitz@gmx.net>
6760
6761         * funcrequest.h: new constructor
6762
6763         * funcrequest.C: move stuff here from .h
6764
6765         * Makefile.am:
6766         * BufferView_pimpl.C:
6767         * LyXAction.C:
6768         * toc.C:
6769         * lyxfunc.C: subsequent changes
6770
6771         * lyxfunc.h: new view() member function
6772
6773         * lyxfunc.C: subsequent changes
6774
6775 2002-08-13  Angus Leeming  <leeming@lyx.org>
6776
6777         * BufferView2.C:
6778         * BufferView_pimpl.C:
6779         * buffer.C:
6780         * converter.C:
6781         * importer.C:
6782         * lyxfunc.C:
6783         * lyxvc.C:
6784         * toc.C:
6785         * vc-backend.C:
6786         changes due to the changed LyXView interface that now returns references
6787         to member variables not pointers.
6788
6789 2002-08-13  Angus Leeming  <leeming@lyx.org>
6790
6791         * WordLangTuple (word, lang_code): return references to strings,
6792         not strings.
6793
6794         * BufferView.h:
6795         * SpellBase.h:
6796         * lyxtext.h: forward-declare WordLangTuple.
6797
6798         * BufferView2.C:
6799         * ispell.C:
6800         * pspell.C:
6801         * text.C: #include "WordLangTuple.h".
6802
6803         * lyxtext.h:
6804         * text.C: (selectNextWordToSpellcheck): constify return type.
6805
6806 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6807
6808         * buffer.C:
6809         * buffer.h:
6810         * lyxtext.h:
6811         * paragraph.C:
6812         * paragraph_pimpl.h:
6813         * text.C:
6814         * text2.C:
6815         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6816         suggested by Angus.
6817         Made updateCounter always count from start of buffer, and removed
6818         second argument (par).
6819         Reverted floats number display to '#'. Perhaps I'll try again when the
6820         code base is sanitized a bit.
6821
6822 2002-08-12  Angus Leeming  <leeming@lyx.org>
6823
6824         * buffer.[Ch] (getLabelList): constify.
6825
6826 2002-08-07  André Pönitz <poenitz@gmx.net>
6827
6828         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6829
6830         * funcrequest.h: extension to keep mouse (x,y) position
6831
6832 2002-08-12  Juergen Vigna  <jug@sad.it>
6833
6834         * BufferView2.C (insertErrors): forbid undo when inserting error
6835         insets.
6836
6837         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6838
6839 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * ParagraphList.[Ch]: new files
6842
6843         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6844
6845         * BufferView2.C (lockInset): ParagraphList changes
6846         * toc.C: ditto
6847         * text2.C: ditto
6848         * bufferlist.C: ditto
6849         * buffer.h: ditto
6850         * buffer.C: ditto
6851
6852 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6855         unused class variable counter_,
6856
6857         * paragraph.[Ch] (getFirstCounter): delete unused function
6858
6859         * counters.C: include LAssert.h
6860         (reset): add a new function with no arg, change other version to
6861         not have def. arg and to not allow empty arg.
6862
6863         * text2.C (setCounter): remove empty arg from call to Counters::reset
6864
6865 2002-08-11  John Levon  <levon@movementarian.org>
6866
6867         * Makefile.am: add WordLangTuple.h
6868
6869 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6870
6871         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6872         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6873
6874         * insets/insettext.C: InsetList changes
6875
6876         * graphics/GraphicsSupport.C (operator()): InsetList changes
6877
6878         * toc.C (getTocList): InsetList changes
6879
6880         * paragraph_pimpl.[Ch]: InsetList changes
6881
6882         * paragraph.[Ch]: InsetList changes
6883
6884         * buffer.C (inset_iterator): InsetList changes
6885         (setParagraph): ditto
6886         * buffer.h (inset_iterator): ditto
6887         * iterators.C (operator++): ditto
6888         * iterators.h: ditto
6889
6890         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6891
6892         * InsetList.[Ch]: new files, most InsetList handling moved out of
6893         paragraph.C.
6894
6895         * BufferView2.C (removeAutoInsets): InsetList changes
6896         (lockInset): ditto
6897         (ChangeInsets): ditto
6898
6899 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * paragraph_pimpl.h (empty): new function
6902
6903         * paragraph.[Ch] (empty): new function
6904
6905         * other files: use the new Paragraph::empty function
6906
6907 2002-08-09  John Levon  <levon@movementarian.org>
6908
6909         * lyxtext.h: remove unused refresh_height
6910
6911 2002-08-09  John Levon  <levon@movementarian.org>
6912
6913         * Makefile.am:
6914         * sgml.h:
6915         * sgml.C:
6916         * buffer.C:
6917         * paragraph.h:
6918         * paragraph.C: move sgml char escaping out of paragraph
6919
6920         * paragraph.h:
6921         * paragraph.C: remove id setter
6922
6923         * buffer.C:
6924         * paragraph.C:
6925         * paragraph_pimpl.C: remove dead tex_code_break_column
6926
6927         * bufferview_funcs.C: small cleanup
6928
6929         * lyxfunc.C: remove dead proto
6930
6931         * lyxtext.h: make some stuff private. Remove some dead stuff.
6932
6933         * lyxgluelength.C: make as[LyX]String() readable
6934
6935 2002-08-08  John Levon  <levon@movementarian.org>
6936
6937         * LyXAction.h:
6938         * LyXAction.C:
6939         * MenuBackend.C:
6940         * ToolbarDefaults.C:
6941         * lyxfunc.C:
6942         * lyxrc.C:
6943         * toc.C: lyxaction cleanup
6944
6945 2002-08-08  John Levon  <levon@movementarian.org>
6946
6947         * BufferView2.C: small cleanup
6948
6949         * lyxfind.h:
6950         * lyxfind.C: move unnecessary header into the .C
6951
6952 2002-08-08  John Levon  <levon@movementarian.org>
6953
6954         * funcrequest.h: just tedious nonsense
6955
6956         * lyx_main.h:
6957         * lyx_main.C: cleanups
6958
6959         * buffer.C:
6960         * vspace.C: remove dead header lyx_main.h
6961
6962 2002-08-07  Angus Leeming  <leeming@lyx.org>
6963
6964         * Paragraph.[Ch]:
6965         * paragraph_pimpl.h:
6966         Forward declare class Counters in paragraph.h by moving the ctrs member
6967         variable into Paragraph::Pimpl.
6968         (counters): new method, returning a reference to pimpl_->ctrs.
6969
6970         * text2.C: ensuing changes.
6971
6972 2002-08-07  John Levon  <levon@movementarian.org>
6973
6974         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6975
6976         * BufferView_pimpl.C: announce X selection on double/triple
6977           click
6978
6979         * lyx_main.C: use correct bool in batch dispatch
6980
6981         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6982
6983 2002-08-07  André Pönitz <poenitz@gmx.net>
6984
6985         * funcrequest.h: new class to wrap a kb_action and its argument
6986
6987         * BufferView.[Ch]:
6988         * BufferView_pimpl[Ch]:
6989         * LaTeX.C:
6990         * LyXAction.[Ch]:
6991         * lyxfunc.[Ch]:
6992         * lyxrc.C: subsequent changes
6993
6994
6995 2002-08-07  John Levon  <levon@movementarian.org>
6996
6997         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6998           document options change.
6999
7000 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7001
7002         * counters.[Ch]
7003         * text2.C
7004         * paragraph.[Ch]
7005         * makefile.am: move counters functionality over from
7006         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7007
7008 2002-08-06  John Levon  <levon@movementarian.org>
7009
7010         * WordLangTuple.h: new file for word + language code tuple
7011
7012         * SpellBase.h:
7013         * pspell.h:
7014         * pspell.C:
7015         * ispell.h:
7016         * ispell.C:
7017         * lyxtext.h:
7018         * text.C:
7019         * text2.C:
7020         * BufferView.h:
7021         * BufferView2.C: use WordLangTuple
7022
7023         * layout.h:
7024         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7025
7026 2002-08-06  John Levon  <levon@movementarian.org>
7027
7028         * lyx_main.C: fix cmdline batch handling
7029
7030 2002-08-06  André Pönitz <poenitz@gmx.net>
7031
7032         * lyxrc.C: set default for show_banner to true
7033
7034 2002-08-06  John Levon  <levon@movementarian.org>
7035
7036         * pspell.C: fix a crash, and allow new aspell to work
7037
7038 2002-08-06  John Levon  <levon@movementarian.org>
7039
7040         * lyxfunc.C:
7041         * kbmap.C: small cleanup
7042
7043         * vspace.h:
7044         * vspace.C: add const
7045
7046 2002-08-05  John Levon  <levon@movementarian.org>
7047
7048         * LyXAction.C: back to tabular-insert
7049
7050 2002-08-04  John Levon  <levon@movementarian.org>
7051
7052         * BufferView.h:
7053         * BufferView.C: cosmetic change
7054
7055         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7056
7057         * bufferlist.C:
7058         * buffer.h:
7059         * buffer.C:
7060         * lyxcb.h:
7061         * lyxcb.C:
7062         * lyxserver.C:
7063         * lyxvc.C:
7064         * vc-backend.C:
7065         * BufferView2.C: purge all "Lyx" not "LyX" strings
7066
7067         * lyxcursor.h:
7068         * lyxcursor.C: attempt to add some documentation
7069
7070         * lyxfunc.C:
7071         * commandtags.h:
7072         * LyXAction.C:
7073         * ToolbarDefaults.C:
7074         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7075           merge with LFUN_TABULAR_INSERT
7076
7077         * Makefile.am:
7078         * SpellBase.h:
7079         * ispell.h:
7080         * ispell.C:
7081         * pspell.h:
7082         * pspell.C: split up i/pspell implementations into separate
7083           files, many cleanups
7084
7085         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7086
7087         * text2.C: some cleanup
7088
7089         * lyxfunc.C: don't check for isp_command == "none" any more, it
7090           didn't make any sense
7091
7092 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7093
7094         * counters.[Ch]
7095         * text2.C
7096         * paragraph.[Ch]
7097         * makefile.am: move counters functionality over
7098         from text2.C/paragraph.[Ch] to counters.[Ch], and
7099         make proper C++.
7100 2002-08-02  John Levon  <levon@movementarian.org>
7101
7102         * buffer.C: s/lyxconvert/lyx2lyx/
7103
7104 2002-08-02  Angus Leeming  <leeming@lyx.org>
7105
7106         * lyxlex.C: revert John's change as it breaks reading of the user
7107         preamble.
7108
7109 2002-08-02  Angus Leeming  <leeming@lyx.org>
7110
7111         * importer.C (Import):
7112         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7113         changes due to LyXView::view() now returning a boost::shared_ptr.
7114
7115 2002-08-02  John Levon  <levon@movementarian.org>
7116
7117         * lyxlex.C: small cleanup
7118
7119 2002-08-02  John Levon  <levon@movementarian.org>
7120
7121         * text2.C (status): small cleanup, no logic change
7122
7123 2002-08-01  John Levon  <levon@movementarian.org>
7124
7125         * buffer.h:
7126         * buffer.C (writeFile): don't output alerts, caller
7127           handles this
7128
7129         * bufferlist.C:
7130         * lyx_cb.C: from above
7131
7132         * lyxfunc.C: allow to open non-existent files
7133
7134 2002-07-31  John Levon  <levon@movementarian.org>
7135
7136         * lyxserver.C: don't let incidental errors get
7137           in the way (errno)
7138
7139 2002-07-30  John Levon  <levon@movementarian.org>
7140
7141         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7142
7143 2002-07-30  John Levon  <levon@movementarian.org>
7144
7145         * lyxserver.h:
7146         * lyxserver.C: remove I/O callback too
7147
7148 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7149
7150         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7151         log.
7152
7153 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * many files: strip,frontStrip -> trim,ltrim,rtrim
7156
7157 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * PrinterParams.h: remove extern containsOnly, and include
7160         support/lstrings.h instead.
7161
7162         * LaTeX.C (scanAuxFile): modify because of strip changes
7163         (deplog): ditto
7164         * buffer.C (makeLaTeXFile): ditto
7165         * bufferparams.C (writeFile): ditt
7166         * lyxfont.C (stateText): ditto
7167         * lyxserver.C (read_ready): ditto
7168         * vc-backend.C (scanMaster): ditto
7169
7170         * BufferView_pimpl.h: ws changes
7171
7172         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7173
7174 2002-07-26  André Pönitz <poenitz@gmx.net>
7175
7176         * kb_sequence.C: remove unnedred usings
7177
7178 2002-07-26  Juergen Vigna  <jug@sad.it>
7179
7180         * lyxfind.C (LyXReplace): we have to check better if the returned
7181         text is not of theLockingInset()->getLockingInset().
7182
7183 2002-07-25  Juergen Vigna  <jug@sad.it>
7184
7185         * lyxfind.C (LyXReplace): don't replace if we don't get the
7186         right LyXText.
7187
7188         * undo_funcs.C (createUndo): remove debugging code.
7189
7190 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7191
7192         * buffer.C (parseSingleLyXformat2Token): Use default placement
7193         when reading old floats.
7194
7195         * FloatList.C (FloatList): Change the default placement of figure
7196         and tables to "tbp".
7197
7198 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7199
7200         * MenuBackend.C: using std::max
7201
7202 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7203
7204         * MenuBackend.C (expandToc):
7205         (expandToc2): code moved from xforms menu frontend. It is now
7206         generic and TOCs are transparent to menu frontends.
7207
7208 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7209
7210         * toc.C (getTocList): protect against buf=0
7211
7212         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7213         Menu as first parameter. Now, this calls itself recursively to
7214         expand a whole tree (this will be useful for TOC handling)
7215         (expandFloatInsert): remove 'wide' version of floats
7216
7217         * MenuBackend.h (submenuname): returns the name of the submenu.
7218         (submenu): returns the submenu itself, provided it has been
7219         created by MenuBackend::expand
7220
7221 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7222
7223         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7224         insets which have noFontChange == true. (bug #172)
7225
7226 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7227
7228         * BufferView_pimpl.C: add connection objects and use them...
7229         (Pimpl): here.
7230
7231 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7232
7233         * MenuBackend.C (expandLastfiles):
7234         (expandDocuments):
7235         (expandFormats):
7236         (expandFloatListInsert):
7237         (expandFloatInsert):
7238         (expand): split expand in parts
7239
7240 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7241
7242         * lyx_gui.C: use lyx_gui::exit()
7243
7244 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7245
7246         * LyXAction.C: show the failing pseudo action
7247
7248 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7249
7250         * buffer.C (readFile): Run the lyxconvert script in order to read
7251         old files.
7252
7253 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7254
7255         * LyXAction.C:
7256         * commandtags.h:
7257         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7258
7259 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7260
7261         * LyXAction.C:
7262         * commandtags.h:
7263         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7264
7265 2002-07-22  Herbert Voss  <voss@lyx.org>
7266
7267         * lengthcommon.C:
7268         * lyxlength.[Ch]: add support for the vertical lengths
7269
7270 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7271
7272         * toc.[Ch]: std:: fixes
7273
7274 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7275
7276         * lyxrc.C: do not include lyx_main.h
7277
7278         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7279         for layouts
7280
7281         * lyxrc.C:
7282         * encoding.C:
7283         * bufferlist.C:
7284         * BufferView2.C: include "lyxlex.h"
7285
7286         * tabular.h:
7287         * bufferparams.h: do not #include "lyxlex.h"
7288
7289         * lyxtextclasslist.C (Add): remove method
7290         (classlist): renamed to classlist_
7291
7292         * paragraph_pimpl.C:
7293         * paragraph.C:
7294         * text2.C:
7295         * CutAndPaste.C:
7296         * bufferview_funcs.C:
7297         * bufferlist.C:
7298         * text.C:
7299         * LaTeXFeatures.C:
7300         * buffer.C:
7301         * toc.C (getTocList): use BufferParams::getLyXTextClass
7302
7303         * toc.C (getTocList): use InsetFloat::addToToc
7304
7305         * toc.[Ch]: new files, containing helper functions to handle table
7306         of contents
7307
7308         * lyxfunc.C (dispatch): no need to remove spaces around command
7309         given as a string
7310         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7311         first command of the sequence; it is not very clever, but I do not
7312         have a better idea, actually
7313
7314         * LyXAction.C (LookupFunc): make sure to remove space at the
7315         beginning and end of the command
7316
7317 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7318
7319         * MenuBackend.C (getMenubar): new method: return the menubar of
7320         this menu set
7321         (read): treat differently reading of menu and menubar (in
7322         particular, the menubar has no name now)
7323         (Menu::menubar): remove
7324
7325         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7326         saving is finished
7327
7328 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7329
7330         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7331         a bibitem inset in a RTL paragraph.
7332
7333 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7334
7335         * paragraph_pimpl.C: constify
7336
7337         * BufferView_pimpl.C:
7338         * LaTeX.C:
7339         * lyxfunc.C: fix dispatch in a nicer way
7340
7341 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7342
7343         * lyxfunc.C (dispatch):
7344         * BufferView_pimpl.C:
7345         * BufferView_pimpl.h:
7346         * BufferView.C:
7347         * BufferView.h: rename Dispatch() to dispatch()
7348
7349         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7350
7351         * lyxlayout.C (Read): honor DependsOn tag
7352
7353         * lyxlayout.[Ch] (depends_on): new method
7354
7355         * version.C.in: update lyx_docversion
7356
7357         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7358
7359         * paragraph.C (validate): remove from here...
7360         * paragraph_pimpl.C (validate): ... and move here
7361         (isTextAt): make it const
7362
7363         * buffer.C (getLists): ws cleanup
7364
7365 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7366
7367         * language.C (read): Use iso8859-1 encoding in latex_lang
7368         (this prevents LyX from crashing when using iso10646-1 encoding).
7369
7370 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7371
7372         * text2.C (toggleInset): if cursor is inside an inset, close the
7373         inset and leave cursor _after_ it
7374
7375 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7376
7377         * lyxfunc.C: move minibuffer completion handling out of here
7378
7379 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7380
7381         * BufferView_pimpl.C:
7382         * LaTeX.C: fix dispatch calls
7383
7384 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7385
7386         * text.C (drawChars): Fix Arabic text rendering.
7387
7388 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7389
7390         * LyXAction.C:
7391         * commandtags.h:
7392         * lyxfunc.C: remove message-push/pop
7393
7394         * lyxserver.C:
7395         * lyxfunc.h:
7396         * lyxfunc.C: rationalise some code by removing verboseDispatch
7397           in favour of a bool argument to dispatch()
7398
7399 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7400
7401         * lyx_main.C (init): make sure to read symlinks as absolute paths
7402
7403 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7404
7405         * lyxfunc.h:
7406         * lyxfunc.C: no need for commandshortcut to be a member
7407
7408 2002-07-15  André Pönitz <poenitz@gmx.net>
7409
7410         * converter.C: add support for $$s (scripts from lib/scripts dir)
7411         * lyx_main.C: white space
7412
7413 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7414
7415         * bufferlist.C:
7416         * lyxrc.h:
7417         * lyxrc.C: remove second exit confirmation
7418
7419 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7420
7421         * BufferView.h:
7422         * BufferView.C:
7423         * BufferView2.C:
7424         * BufferView_pimpl.h:
7425         * BufferView_pimpl.C:
7426         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7427
7428 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7429
7430         * MenuBackend.C (expand): add numeric shortcuts to document menu
7431
7432         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7433
7434 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * lyxfont.C (setLyXFamily):
7437         (setLyXSeries):
7438         (setLyXShape):
7439         (setLyXSize):
7440         (setLyXMisc):
7441         (lyxRead):
7442         * debug.C (value):
7443         * buffer.C (asciiParagraph): use ascii_lowercase
7444
7445 2002-07-15  Mike Fabian  <mfabian@suse.de>
7446
7447         * lyxlex_pimpl.C (search_kw):
7448         * lyxlex.C (getLongString):
7449         * converter.h (operator<):
7450         * converter.C (operator<):
7451         * buffer.C (parseSingleLyXformat2Token):
7452         (asciiParagraph):
7453         * ToolbarDefaults.C (read):
7454         * MenuBackend.C (checkShortcuts):
7455         (read):
7456         * LColor.C (getFromGUIName):
7457         (getFromLyXName): use the compare_ascii_no_case instead of
7458         compare_no_case, because in turkish, 'i' is not the lowercase
7459         version of 'I', and thus turkish locale breaks parsing of tags.
7460
7461 2002-07-16  Angus Leeming  <leeming@lyx.org>
7462
7463         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7464         now takes a Buffer const & argument.
7465
7466 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7467
7468         * BufferView.C (resize): check there's a buffer to resize
7469
7470 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7471
7472         * lyxfunc.C: remove dead code
7473
7474         * lyxserver.h:
7475         * lyxserver.C: use lyx_guii::set_read_callback
7476
7477 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7478
7479         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7480         an inset in a RTL paragraph.
7481
7482 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7483
7484         * lyxfunc.C: repaint after a font size update
7485
7486 2002-07-15  André Pönitz <poenitz@gmx.net>
7487
7488         * lyxlength.C: inBP should be able to return negative values
7489
7490 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7491
7492         * lyxfunc.C: use lyx_gui::update_fonts()
7493
7494 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7495
7496         * lyxfunc.C: use lyx_gui::update_color()
7497
7498 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * bufferlist.C:
7501         * lyxfunc.h:
7502         * lyxfunc.C:
7503         * lyxrc.h:
7504         * lyxrc.C: remove file->new asks for name option, and let
7505           buffer-new take an argument
7506
7507 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7508
7509         * BufferView_pimpl.C: remove unneeded extra repaint()
7510
7511 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7512
7513         * LyXAction.C: allow command-sequence with NoBuffer
7514
7515         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7516
7517 2002-07-10  Angus Leeming  <leeming@lyx.org>
7518
7519         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7520
7521 2002-07-09  Angus Leeming  <leeming@lyx.org>
7522
7523         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7524
7525 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7526
7527         * lengthcommon.h: whitespace
7528
7529         * lyxfunc.C: update scrollbar after goto paragraph
7530
7531         * lyxtext.h: factor out page break drawing, and fix it so
7532           page break/added space paints as selected nicely
7533
7534 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7535
7536         * BufferView_pimpl.C: add FIXMEs, clean up a little
7537
7538 2002-07-09  André Pönitz <poenitz@gmx.net>
7539
7540         * lyxfont.[Ch]: support for wasy symbols
7541
7542 2002-07-08  André Pönitz <poenitz@gmx.net>
7543
7544         * BufferView_pimpl.C: apply John's patch for #93.
7545
7546 2002-07-05  Angus Leeming  <leeming@lyx.org>
7547
7548         * BufferView_pimpl.C (buffer): generate previews if desired.
7549
7550         * LColor.h: add "preview" to the color enum.
7551
7552         * LColor.C (LColor): add a corresponding entry to the items array.
7553
7554         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7555         with this buffer.
7556
7557 2002-07-05  Angus Leeming  <leeming@lyx.org>
7558
7559         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7560         The body of the code is now in the method that is passed an ostream &
7561         rather than a file name.
7562         Pass an additional only_preamble parameter, useful for the forthcoming
7563         preview stuff.
7564
7565 2002-07-03  André Pönitz <poenitz@gmx.net>
7566
7567         * lyxfunc.C: simplify getStatus() a bit for math stuff
7568
7569 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7570
7571         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7572
7573 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7574
7575         * text.C (changeRegionCase): do not change case of all the
7576         document when region ends at paragraph end (bug #461)
7577
7578 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7579
7580         * paragraph.C (startTeXParParams):
7581         (endTeXParParams): add \protect when necessary
7582
7583 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7584
7585         * BufferView_pimpl.C (workAreaExpose): remove warning
7586
7587 2002-06-27  Angus Leeming  <leeming@lyx.org>
7588
7589         * Makefile.am: add lyxlayout_ptr_fwd.h.
7590
7591 2002-06-26  André Pönitz <poenitz@gmx.net>
7592
7593         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7594
7595 2002-06-25  Angus Leeming  <leeming@lyx.org>
7596
7597         * lyxfunc.C (dispatch): Comment out the call to
7598         grfx::GCache::changeDisplay. The method no longer exists now that the
7599         pixmap generation part of the graphics loader has been moved into
7600         InsetGraphics.
7601
7602 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7603
7604         * text2.C: layout as layout
7605
7606         * text.C: layout as layout
7607
7608         * tabular.C (OldFormatRead): layout as layout
7609
7610         * paragraph_pimpl.C (TeXDeeper): layout as layout
7611         (realizeFont): layout as layout
7612
7613         * paragraph.C (writeFile): layout as layout
7614         (validate): layout as layout
7615         (getFont): layout as layout
7616         (getLabelFont): layout as layout
7617         (getLayoutFont): layout as layout
7618         (breakParagraph): layout as layout
7619         (stripLeadingSpaces): layout as layout
7620         (getEndLabel): layout as layout
7621         (getMaxDepthAfter): layout as layout
7622         (applyLayout): layout as layout
7623         (TeXOnePar): layout as layout
7624         (simpleTeXOnePar): layout as layout
7625         (TeXEnvironment): layout as layout
7626         (layout): layout as layout
7627         (layout): layout as layout
7628
7629         * lyxtextclass.C (compare_name): new functor to work with
7630         shared_ptr, layout as layout
7631         (Read): layout as layout
7632         (hasLayout): layout as layout
7633         (operator): layout as layout
7634         (delete_layout): layout as layout
7635         (defaultLayout): layout as layout
7636
7637         * lyxlayout_ptr_fwd.h: new file
7638
7639         * lyxlayout.C (Read): layout as layout
7640
7641         * lyx_cb.C (MenuInsertLabel): layout as layout
7642
7643         * bufferlist.C (newFile): layout as layout
7644
7645         * buffer.C (readLyXformat2): layout as layout
7646         (parseSingleLyXformat2Token): layout as layout
7647         (insertStringAsLines): layout as layout
7648         (asciiParagraph): layout as layout
7649         (latexParagraphs): layout as layout
7650         (makeLinuxDocFile): layout as layout
7651         (simpleLinuxDocOnePar): layout as layout
7652         (makeDocBookFile): layout as layout
7653         (simpleDocBookOnePar): layout as layout
7654         (getLists): layout as layout
7655
7656         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7657
7658         * CutAndPaste.C (cutSelection): layout as layout
7659         (pasteSelection): layout as layout
7660         (SwitchLayoutsBetweenClasses): layout as layout
7661
7662         * BufferView_pimpl.C (Dispatch): layout as layout
7663         (smartQuote): layout as layout
7664
7665         * BufferView2.C (unlockInset): layout as layout
7666
7667 2002-06-24  André Pönitz <poenitz@gmx.net>
7668
7669         * lyxfunc.C: fix #487
7670
7671 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7672
7673         * lyxrc.h:
7674         * lyxrc.C:
7675         * lyxfunc.C: remove display_shortcuts, show_banner
7676
7677 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7678
7679         * Buffer_pimpl.C: oops, update on resize
7680
7681 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7682
7683         * buffer.C:
7684         * converter.C:
7685         * exporter.C:
7686         * lyxfunc.C:
7687         * BufferView.h:
7688         * BufferView.C: use repaint()
7689
7690         * BufferView_pimpl.h:
7691         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7692           as it's a clearer description. Remove superfluous
7693           redraws.
7694
7695 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7696
7697         * text.C: fix bug 488. Not ideal, but getting
7698           getWord() to work properly for the insets that
7699           matter is more difficult ...
7700
7701 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7702
7703         * BufferView_pimpl.C:
7704         * LyXAction.C:
7705         * commandtags.h:
7706         * lyxfunc.C: remove the six million index lyxfuncs to just
7707           one, and DTRT (bug 458)
7708
7709 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7710
7711         * BufferView.h:
7712         * BufferView.C:
7713         * BufferView_pimpl.h:
7714         * BufferView_pimpl.C: clean up resize() stuff,
7715           and unnecessary updateScreen()s
7716
7717 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * BufferView.h:
7720         * BufferView.C:
7721         * BufferView_pimpl.h:
7722         * BufferView_pimpl.C:
7723         * lyxfind.h:
7724         * lyxfind.C:
7725         * minibuffer.C: remove focus management of workarea,
7726           not needed. Use screen's greyOut()
7727
7728 2002-06-17  Herbert Voss  <voss@lyx.org>
7729
7730         * converter.C: (convert) do not post a message, when converting
7731         fails, let the calling function decide what to do in this case
7732
7733 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7734
7735         * lyxfunc.C: tidy up a little
7736
7737 2002-06-16    <alstrup@diku.dk>
7738
7739         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7740         Got rid of FORMS_H_LOCATION include. Now we are
7741         GUII.
7742
7743 2002-06-15  LyX Development team  <lyx@rilke>
7744
7745         * buffer.[Ch] (sgmlOpenTag):
7746         (sgmlCloseTag): Added support for avoiding pernicious mixed
7747         content. Return number of lines written.
7748
7749         (makeLinuxDocFile):
7750         (makeDocBookFile): Fixed calls to sgml*Tag.
7751         Simple white space clean.
7752
7753         (simpleDocBookOnePar): Simple white space clean.
7754
7755         * tabular.[Ch] (docBook): Renamed to docbook and got another
7756         argument to related with the pernicious mixed content.
7757
7758         (docbookRow): Fixed calls for docbook inset method.
7759
7760 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7761
7762         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7763         so it's X11 independent.
7764
7765         * kb*.[Ch]: ditto.
7766
7767         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7768
7769 2002-06-15  Lyx Development team  <lyx@electronia>
7770
7771         * intl.h: Renamed getTrans to getTransManager.
7772
7773 2002-06-14  Angus Leeming  <leeming@lyx.org>
7774
7775         * Makefile.am: nuke forgotten stl_string_fwd.h.
7776
7777 2002-06-12  Angus Leeming  <leeming@lyx.org>
7778
7779         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7780
7781 2002-06-13  Angus Leeming  <leeming@lyx.org>
7782
7783         * LaTeX.C:
7784         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7785
7786 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7787
7788         * kbmap.C (getiso): add support for cyrillic and greek
7789
7790 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7791
7792         * BufferView.h:
7793         * BufferView.C:
7794         * BufferView_pimpl.h:
7795         * BufferView_pimpl.C: move bogus scrolling logic
7796           to xforms
7797
7798 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7799
7800         * lyxfunc.C:
7801         * BufferView_pimpl.C: view->resize() change
7802
7803 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7804
7805         * BufferView_pimpl.C: topCursorVisible
7806           prototype change
7807
7808 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7809
7810         * Makefile.am:
7811         * lyx_gui.h:
7812         * lyx_gui.C: move to frontends/
7813
7814         * main.C:
7815         * lyx_main.h:
7816         * lyx_main.C: changes from above
7817
7818 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7819
7820         * intl.C:
7821         * intl.h:
7822         * kbmap.C:
7823         * kbsequence.C:
7824         * lyx_cb.C:
7825         * lyx_main.C: minor tidy
7826
7827 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7828
7829         * BufferView_pimpl.h:
7830         * BufferView_pimpl.C:
7831         * BufferView.h:
7832         * BufferView.C: make painter() const,
7833           remove dead code
7834
7835         * BufferView2.C: use screen() accessor
7836
7837         * lyx_main.h:
7838         * lyx_main.C: some minor cleanup
7839
7840 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7841
7842         * BufferView_pimpl.h:
7843         * BufferView_pimpl.C: remove enter/leaveView,
7844           use workHeight()
7845
7846 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7847
7848         * BufferView.h:
7849         * BufferView.C:
7850         * BufferView2.C:
7851         * BufferView_pimpl.h:
7852         * BufferView_pimpl.C: only construct screen once,
7853           rename
7854
7855         * lyxrc.C: remove pointless comment
7856
7857 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7858
7859         * BufferView.h:
7860         * BufferView.C: remove active() and belowMouse()
7861
7862         * BufferView_pimpl.h:
7863         * BufferView_pimpl.C: use workarea() not workarea_,
7864           and make it use a scoped_ptr instead
7865
7866 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7867
7868         * lyx_gui.C: add debug message on BadWindow
7869
7870 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7871
7872         * sp_spell.C: fdopen is not part of the C++ standard.
7873
7874         * paragraph.C (InsetIterator): use >= instead of ==
7875
7876 2002-06-07  Angus Leeming  <leeming@lyx.org>
7877
7878         Fixes needed to compile with Compaq cxx 6.5.
7879         * BufferView_pimpl.C:
7880         * DepTable.C:
7881         * buffer.C:
7882         * converter.C:
7883         * encoding.C:
7884         * lyx_gui.C:
7885         * lyx_main.C:
7886         * lyxtextclasslist.C:
7887         * minibuffer.C:
7888         * sp_spell.C:
7889         * tabular_funcs.C:
7890         * vc-backend.C:
7891         all c-library variables have been moved into namespace std. Wrap
7892         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7893
7894         * lyxlength.C:
7895         * tabular-old.C:
7896         * tabular.C:
7897         Add a using std::abs declaration.
7898
7899         * kbmap.h (modifier_pair):
7900         * paragraph.h (InsetTable, InsetList):
7901         * lyxfont.h (FontBits):
7902         type definition made public.
7903
7904         * bufferlist.C (emergencyWriteAll): the compiler complains that
7905         there is more than one possible lyx::class_fun template to choose from.
7906         I re-named the void specialisation as lyx::void_class_fun.
7907
7908         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7909
7910         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7911         the compiler is is unable to find tostr in write_attribute.
7912
7913 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7914
7915         * buffer.C (sgmlError): hide #warning
7916
7917 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7918
7919         * xtl/*: get rid of xtl, which is not in use anyway
7920
7921         * LyXAction.C (init):
7922         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7923         were unimplemented xtl experimentation
7924
7925 2002-06-04  André Pönitz <poenitz@gmx.net>
7926
7927         * lyxfunc.C: disable array operation on simple formulae
7928
7929 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * converter.C: constify a bit
7932
7933 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7934
7935         * lyx_gui.C: check xforms version correctly
7936
7937 2002-04-30  Herbert Voss  <voss@lyx.org>
7938
7939         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7940         "keep" option
7941
7942 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7943
7944         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7945           attempt to register it with a VCS)
7946
7947 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7948
7949         * lyx_main.C (init): honor variables LYX_DIR_13x and
7950         LYX_USERDIR_13x
7951
7952 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7953
7954         * buffer.h:
7955         * buffer.C:
7956         * lyx_main.C: fix a crash on bad command line,
7957           and give a useful exit status on error
7958
7959         * lyxfunc.C (doImport): allow -i lyx to work
7960
7961 2002-03-30  André Pönitz <poenitz@gmx.net>
7962
7963         * lyxfunc.C: mathed font changes
7964
7965 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7966
7967         * LaTeX.C:
7968         * importer.h:
7969         * importer.C:
7970         * lyx_sty.h:
7971         * lyx_sty.C:
7972         * lyxlex.C:
7973         * lyxrow.h:
7974         * lyxtext.h:
7975         * paragraph.h:
7976         * paragraph.C:
7977         * texrow.h:
7978         * texrow.C:
7979         * text.C:
7980         * trans_mgr.h: srcdocs, and some minor cleanups
7981
7982 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7983
7984         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7985         call getFont all the time)
7986
7987 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7988
7989         * switch from SigC signals to boost::signals
7990
7991 2002-05-29  André Pönitz <poenitz@gmx.net>
7992
7993         * paragraph_pimpl.C (getChar): don't call size() too often...
7994
7995 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7996
7997         * paragraph_pimpl.C (insertChar): do not try to update tables when
7998         appending (pos == size())
7999
8000         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8001         in order to reduce drastically the number of comparisons needed to
8002         parse a large document
8003
8004 2002-05-29  André Pönitz <poenitz@gmx.net>
8005
8006         * text.C:
8007         * text2.C:
8008         * lyxtextclass.C:
8009         * sp_pspell.h:
8010         * textclasslist.[Ch]:
8011         * sp_ispell.h: whitespace change
8012
8013 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8014
8015         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8016         lyxaction directly now.
8017
8018 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8019
8020         * trans.C:
8021         * lyxfont.C:
8022         * lyxvc.C: remove unused headers
8023
8024 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * Makefile.am:
8027         * buffer.h:
8028         * undostack.h:
8029         * undostack.C:
8030         * undo_funcs.h:
8031         * undo_funcs.C: some cleanups. Use shared_ptr
8032           and a template for the undo stacks.
8033
8034 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8035
8036         * BufferView_pimpl.h:
8037         * BufferView_pimpl.C:
8038         * kbmap.h:
8039         * kbmap.C:
8040         * kbsequence.h:
8041         * kbsequence.C:
8042         * lyxfunc.h:
8043         * lyxfunc.C:
8044         * text2.C: use key_state/mouse_state
8045
8046 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8047
8048         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8049         and LSubstring
8050
8051         * chset.C: change include order
8052         (loadFile): use boost regex and get rid of LRegex and LSubstring
8053
8054         * Makefile.am (BOOST_LIBS): new variable
8055         (lyx_LDADD): use it
8056
8057         * LaTeX.C: change include order.
8058         (scanAuxFile): use boost regex and get rid of LRegex and
8059         LSubstring
8060         (deplog): ditto
8061
8062 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8063
8064         * ColorHandler.h:
8065         * ColorHandler.C:
8066         * FontInfo.h:
8067         * FontInfo.C: moved to frontends/xforms/
8068
8069         * FontLoader.h:
8070         * FontLoader.C: moved into frontends for GUIIzation
8071
8072         * Makefile.am:
8073         * lyx_gui.C:
8074         * lyxfont.C:
8075         * lyxfunc.C: changes from above
8076
8077 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * LColor.C: remove spurious X include
8080
8081         * BufferView_pimpl.C:
8082         * Makefile.am:
8083         * font.h:
8084         * font.C:
8085         * text.C:
8086         * text2.C: move font metrics to frontends/
8087
8088 2002-05-24  Juergen Vigna  <jug@sad.it>
8089
8090         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8091         setting the undo_cursor.
8092
8093         * ParagraphParameters.h: include local includes first.
8094
8095 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8096
8097         * BufferView_pimpl.C:
8098         * BufferView_pimpl.h:
8099         * Makefile.am:
8100         * WorkArea.h:
8101         * WorkArea.C:
8102         * screen.C: move WorkArea into frontends/
8103
8104         * lyxscreen.h:
8105         * screen.C:
8106         * text.C:
8107         * BufferView.C:
8108         * BufferView2.C: move LyXScreen into frontends/
8109
8110         * lyxlookup.h:
8111         * lyxlookup.C:
8112         * lyx_gui.C: move lyxlookup into frontends/xforms/
8113
8114 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8115
8116         * BufferView2.C:
8117         * BufferView_pimpl.C:
8118         * FontLoader.C:
8119         * LyXView.h:
8120         * LyXView.C:
8121         * Makefile.am:
8122         * WorkArea.C:
8123         * XFormsView.h:
8124         * XFormsView.C:
8125         * buffer.C:
8126         * bufferlist.C:
8127         * bufferview_funcs.C:
8128         * converter.C:
8129         * importer.C:
8130         * lyx_cb.C:
8131         * lyx_gui.C:
8132         * lyx_main.C:
8133         * lyx_find.C:
8134         * lyxfunc.C:
8135         * lyxvc.C:
8136         * minibuffer.C:
8137         * text.C:
8138         * text2.C:
8139         * trans.C:
8140         * vc-backend.C: move LyX/XFormsView into frontends/
8141
8142 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * Makefile.am:
8145         * PainterBase.C:
8146         * PainterBase.h:
8147         * Painter.C:
8148         * Painter.h:
8149         * WorkArea.C:
8150         * WorkArea.h:
8151         * screen.C:
8152         * tabular.C:
8153         * text.C:
8154         * text2.C: move Painter to frontends/
8155
8156 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8157
8158         * buffer.C: comment out some some code that depend upon lyx_format
8159         < 220
8160
8161         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8162         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8163
8164         * buffer.h (NO_COMPABILITY): turn off compability
8165
8166         * ColorHandler.C: include scoped_array.hpp
8167
8168         * font.C: Use more specific smart_ptr header.
8169         * Painter.C: ditto
8170         * gettext.C: ditto
8171         * ShareContainer.h: ditto
8172         * lyx_main.h: ditto
8173         * kbmap.h: ditto
8174         * FontInfo.h: ditto
8175         * BufferView_pimpl.h: ditto
8176         * ColorHandler.h: ditto
8177
8178         * kbmap.C (defkey): change call to shared_ptr::reset
8179
8180 2002-05-21  Juergen Vigna  <jug@sad.it>
8181
8182         * buffer.C (insertErtContents): fix to insert ert asis if it is
8183         non empty. Skip it completely if it contains only whitespaces.
8184
8185 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8186
8187         * BufferView_pimpl.C:
8188         * BufferView2.C: clear selection on paste (bug 393)
8189
8190 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8191
8192         * DepTable.C: include ctime
8193
8194 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8195
8196         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8197
8198 2002-05-14  Juergen Vigna  <jug@sad.it>
8199
8200         * text.C (breakParagraph): fixed function to honor the keepempty
8201         layout in the right maner and also to permit the right breaking
8202         algorithm on empty or non empyt keepempty paragraphs.
8203
8204         * paragraph.C (breakParagraph): we have to check also if the par
8205         is really empty (!size()) for isempty otherwise we do the wrong
8206         paragraph break.
8207
8208 2002-05-10  Juergen Vigna  <jug@sad.it>
8209
8210         * buffer.[Ch] : The following are only changes to the ert
8211         compatibility read reading old LaTeX layout and font stuff and
8212         convert it to ERTInsets.
8213
8214         * buffer.h: added isErtInset().
8215
8216         * buffer.C (struct ErtComp): add a fromlayout bool to check
8217         if we're inside a LaTeX layout.
8218         (isErtInset): new helper function.
8219         (insertErtContents): look for other ert insets before this one
8220         and insert the contents there, so that we don't have subsequent
8221         ERT insets with nothing between them. This way we create only one
8222         inset with multiple paragraphs. Also check if we don't insert only
8223         spaces ' ' as they are ignored anyway afterwards in the .tex file
8224         so if we have only spaces we will ignore this latex part in the
8225         new file.
8226         (parseSingleLyXformat2Token \\layout): better compatibility when
8227         reading layout-latex stuff.
8228         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8229         language tag.
8230         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8231         stuff after reading the inset only get the information back from
8232         the stack.
8233
8234 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8235
8236         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8237
8238         * LaTeXFeatures.C (getBabelOptions): New method.
8239
8240 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8241
8242         * BufferView_pimpl.C (Dispatch): work around missing argument for
8243         'layout'
8244
8245 2002-05-08  Juergen Vigna  <jug@sad.it>
8246
8247         * text.C (leftMargin): handle paragraph leftindent.
8248
8249         * paragraph.C (writeFile): write the new \\leftindent tag.
8250         (validate): handle leftindent code.
8251         (TeXEnvironment): handle paragraphleftindent code again.
8252
8253         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8254
8255         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8256         for paragrap_extra indent code and new token \\leftindent.
8257         (latexParagraphs): handle the leftindent as environment.
8258
8259         * ParameterStruct.h: added leftindent support.
8260
8261         * ParagraphParameters.C (leftIndent): added support functions for
8262         the paragraph left indent.
8263
8264         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8265         more appropriate.
8266
8267 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8268
8269         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8270         inside insetERT.
8271
8272         * text.C (computeBidiTables): No bidi in insetERT.
8273
8274         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8275         in RTL documents.
8276
8277 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8278
8279         * version.C.in: pre 5
8280
8281 2002-05-02  José Matos  <jamatos@fep.up.pt>
8282         * buffer.C (makeDocBookFile): white space changes, add newline to
8283         command styles.
8284         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8285
8286         * tabular.C (docBook): fix typo.
8287
8288 2002-05-03  Juergen Vigna  <jug@sad.it>
8289
8290         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8291         change in LyXText as we can not be sure it was not freed.
8292         (drawOneRow): remove unused code.
8293
8294         * text.C (drawInset): redo the calculation of the need_break_row as
8295         it could have a row which was already freed.
8296         (draw): look at the return value of drawInset and return false if
8297         it also returned false.
8298         (paintRowText): look at the return value of draw and return false if
8299         it also returned false.
8300
8301         * lyxtext.h: added bool return type to drawInset() and draw() so that
8302         if we have a change in the row so that the rowbreak has to be redone
8303         we abort drawing as it will be called again.
8304
8305 2002-05-02  Juergen Vigna  <jug@sad.it>
8306
8307         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8308         a change in the maintext also if we're inside an inset.
8309         (Dispatch): set the cursor again after a break line and after the
8310         screen has been updated as it could be we're in a different row.
8311
8312         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8313         to set the cursor behind the pargraph with > size().
8314         (setCursor): check also for the same paragraph when checking where
8315         to put the cursor if we have a NFR inset.
8316
8317         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8318         parts of layout read further up as it still was in the wrong
8319         position.
8320
8321 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8322
8323         * screen.C (drawFromTo): change sine fullRebreak always return
8324         true.
8325
8326         * buffer.C (parseSingleLyXformat2Token): reindent some
8327
8328         * BufferView_pimpl.C (update): change since fullRebreak always
8329         return true.
8330         (Dispatch): git rid of the last hardcoded "Standard"s.
8331
8332 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8333
8334         * text2.[Ch] (fullRebreak): make it return void now that we always
8335         returned true.
8336
8337 2002-04-30  Juergen Vigna  <jug@sad.it>
8338
8339         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8340         ert compatibility check for "latex" layout.
8341
8342 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8343
8344         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8345         minipages: use col% instead of p%, and also use the current font.
8346         (makeLaTeXFile): Fix use babel condition.
8347         (parseSingleLyXformat2Token): Correct font when reading old floats.
8348
8349 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8350
8351         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8352         inserting list of floats.
8353
8354 2002-04-25  Herbert Voss  <voss@lyx.org>
8355
8356         * MenuBackend.C (expand): don't add the graphics extensions to the
8357         export menu
8358
8359 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8360
8361         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8362         non-existing layout, do not complain if it was the default layout
8363         of the original class (bug #342)
8364
8365 2002-04-24  Juergen Vigna  <jug@sad.it>
8366
8367         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8368         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8369
8370 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8371
8372         * buffer.C (getBibkeyList): If using \bibliography, return the
8373         option field with the reference itself. Enables us to provide natbib
8374         support when using \bibliography.
8375
8376 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8377
8378         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8379
8380         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8381         natbib is provided by the LaTeX class.
8382
8383 2002-04-23  Juergen Vigna  <jug@sad.it>
8384
8385         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8386         Wakeup functions.
8387
8388         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8389
8390 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8391
8392         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8393
8394         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8395         ensuremath around textordmasculine, textordfeminine and
8396         textdegree.
8397
8398 2002-04-19  Juergen Vigna  <jug@sad.it>
8399
8400         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8401         reinitializing the buffer otherwise row-dimensions may be wrong.
8402         (update): reset also the selection cursors if they do exits otherwise
8403         their x/y positions may be wrong.
8404
8405         * text2.C (cursorDown): don't enter the inset if we came from a row
8406         above and are one row over the inset.
8407
8408         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8409         really leaving an inset.
8410
8411 2002-04-18  Juergen Vigna  <jug@sad.it>
8412
8413         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8414         of the selected paragraph does not have the selected layout also if
8415         the last one had!
8416
8417         * text2.C (setLayout): fixed bug which did not change last selected
8418         paragraph.
8419
8420         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8421         changed the read and substituted \\end_float with \\end_inset!
8422
8423         * BufferView_pimpl.C (cursorPrevious):
8424         (cursorNext): fixed to make it work with rows heigher than the work
8425         area without moving the cursor only the draw of the row.
8426         (workAreaMotionNotify): fix jumping over high rows.
8427
8428 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8429
8430         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8431         Ressler.
8432
8433 2002-04-16  Juergen Vigna  <jug@sad.it>
8434
8435         * text2.C (setCursor): set also the irow().
8436         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8437         (cursorUp):
8438         (cursorDown): support for locking an inset if the x_fix value goes
8439         inside it. That way I can transverse insets too with cursor up/down.
8440
8441         * lyxrow.h: added irow helper function same as other (i) functions.
8442
8443         * BufferView_pimpl.C (cursorPrevious):
8444         (cursorNext): fixed for insets!
8445
8446 2002-04-15  Juergen Vigna  <jug@sad.it>
8447
8448         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8449         position otherwise it is wrong in some cases.
8450
8451         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8452         inside the inset before the call.
8453
8454 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8455
8456         * buffer.[Ch] (getBibkeyList): make it const.
8457
8458 2002-04-12  Juergen Vigna  <jug@sad.it>
8459
8460         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8461
8462         * text2.C (getCursorX): new helper function
8463         (setCursor): compute also ix_
8464         (setCursorFromCoordinates): set also ix.
8465
8466         * lyxcursor.h: added ix_ and helper functions.
8467
8468         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8469
8470         * buffer.C (insertStringAsLines): dont break paragraph if the this
8471         paragraph is inside an inset which does not permit it!
8472
8473         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8474         also with no chars on this paragraph.
8475         (paintRowText): only paint stuff if it's inside the workarea!
8476
8477         * paragraph.C (breakParagraph): honor keepempty flag and break the
8478         paragraph always below not above.
8479
8480         * BufferView2.C (unlockInset): update the paragraph layout on inset
8481         unlock as we changed paragraph in such a case.
8482
8483         * lyxfind.C (LyXFind): clear the former selection if not found!
8484
8485         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8486         again called in insertChar().
8487
8488         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8489         an inset which uses the whole row!
8490         (rightMargin): ditto.
8491         (insertChar): force a rebreak if we inserted an inset!
8492
8493 2002-03-28  Herbert Voss  <voss@lyx.org>
8494
8495         * lyxlength.[Ch]: add inBP() to get the right PS-point
8496         units (BigPoint). With inPixels we have rounding errors
8497
8498 2002-04-11  Juergen Vigna  <jug@sad.it>
8499
8500         * text2.C (setCursorFromCoordinates): set iy to the right value.
8501         (setCursor): add check if row->previous exists!
8502
8503         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8504         an old float_type as this was the case in the old code!
8505
8506         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8507
8508         * BufferView2.C (showLockedInsetCursor): use iy
8509         (fitLockedInsetCursor): ditto
8510
8511         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8512         locked insets as there we have the right value now.
8513
8514         * lyxcursor.C: added iy_ variable and iy functions to set to the
8515         baseline of cursor-y of the locked inset.
8516
8517         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8518         (setCursor): fixed for insets which need a full row.
8519
8520         * text.C (rowLastPrintable): don't ignore the last space when before
8521         an inset which needs a full row.
8522         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8523         as last character of a row when before a inset which needs a full row.
8524
8525 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8526
8527         * version.C.in: update date
8528
8529         * text2.C (fullRebreak): try to always return true and see what
8530         happens...
8531
8532 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8533
8534         * MenuBackend.C (expand): use Floating::listName
8535
8536         * FloatList.C (FloatList): add listName argument to the built-in
8537         floats
8538
8539         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8540         text associated with the float.
8541
8542 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8543
8544         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8545
8546 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8547
8548         * ShareContainer.h: add a couple of missing typenames.
8549
8550 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8551
8552         * lyxrc.C (getDescription): use _() correctly rather than N_().
8553
8554 2002-03-28  Herbert Voss  <voss@lyx.org>
8555
8556         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8557         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8558
8559 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8560
8561         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8562         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8563
8564 2002-03-29  Juergen Vigna  <jug@sad.it>
8565
8566         * lyxfunc.C (dispatch): add a missing fitCursor call.
8567
8568         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8569         it was scrolled by a cursor move, so return the bool status.
8570
8571         * BufferView.C (fitCursor): return the bool flag also to the outside
8572         world as this is needed.
8573
8574         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8575
8576         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8577         call the edit() as it is not needed (and wrong) IMO.
8578         (workAreaButtonPress): set the screen_first variable before evt.
8579         unlock the inset as this may change screen_first and then we have
8580         a wrong y position for the click!
8581
8582 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8583
8584         * MenuBackend.C (expand): another translation that I missed
8585
8586 2002-03-28  Juergen Vigna  <jug@sad.it>
8587
8588         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8589
8590         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8591
8592 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8593
8594         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8595
8596         * MenuBackend.C (expand): fix export/view/update when there is no
8597         document open.
8598
8599 2002-03-27  Herbert Voss  <voss@lyx.org>
8600
8601         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8602         and text%
8603
8604 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8605
8606         * bufferview_funcs.C (currentState): only show paragraph number
8607         for is DEVEL_VERSION is set.
8608
8609         * lyxfunc.C (dispatch): put warning in INFO channel
8610
8611         * MenuBackend.C (expand): translate the name of floats
8612
8613         * FloatList.C (FloatList): mark the float names for translation
8614
8615         * converter.C (convert): use LibScriptSearch
8616
8617 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8618
8619         * MenuBackend.C (defaults): fix default menu (we might as well get
8620         rid of it...)
8621
8622 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8623
8624         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8625         directory.
8626
8627 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8628
8629         * lyxvc.C: reorder includes.
8630
8631 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8632
8633         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8634           properly
8635
8636 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8637
8638         * CutAndPaste.C: change layouts earlier on paste
8639           to avoid crashing when calling getFont()
8640
8641 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8642
8643         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8644         irritating #error.
8645
8646 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8647
8648         * WorkArea.C: remove 'Pending' debug message.
8649
8650         * most files: ws cleanup
8651
8652         * buffer.[Ch]: ws changes
8653
8654         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8655
8656 2002-03-21  Juergen Vigna  <jug@sad.it>
8657
8658         * tabular.C (SetMultiColumn): collapse also the contents of the
8659         cells and set the last border right. Added a Buffer const * param.
8660
8661 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8662
8663         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8664         linking or not.
8665
8666 2002-03-19  Juergen Vigna  <jug@sad.it>
8667
8668         * text2.C (clearSelection): reset also xsel_cache.
8669
8670         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8671         where it needs to be called (John tells us to do so too :)
8672         (selectionLost): reset sel_cache.
8673
8674         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8675
8676 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8677
8678         * text2.C (setCursorIntern): put debuging code in INSETS channel
8679
8680 2002-03-19  André Pönitz <poenitz@gmx.net>
8681
8682         * lyxfunc.C: tiny whitespace change
8683
8684 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8685
8686         * ToolbarDefaults.C (init):
8687         * LyXAction.C (init):
8688         * commandtags.h:
8689         * BufferView_pimpl.C (Dispatch):
8690         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8691
8692 2002-03-19  Allan Rae  <rae@lyx.org>
8693
8694         * exporter.C (Export): removeAutoInsets before doing anything else.
8695         While I've just introduced a dependency on BufferView this really is
8696         the best place to clean the buffer otherwise you need to cleanup in
8697         a dozen places before calling export or cleanup in a dozen functions
8698         that export calls.
8699
8700         * converter.C (runLaTeX):
8701         (scanLog): Better handling of removeAutoInsets and screen updates.
8702
8703         * lyxfunc.C (dispatch): small whitespace changes
8704
8705 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8706
8707         * WorkArea.C (C_WorkAreaEvent): return a value.
8708         (event_cb): return 1 if we handled the event, 0 otherwise.
8709
8710         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8711
8712 2002-03-18  Juergen Vigna  <jug@sad.it>
8713
8714         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8715         (GetAdditionalWidth): ditto.
8716         (RightLine): ditto.
8717         (LeftLine): ditto.
8718
8719         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8720         inset if we're there actually (probably not used right now but this
8721         is the direction to go for unifying code).
8722         (paste): disable code to clear the selection.
8723
8724         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8725         inside an InsetText and move the check further up as it is in the
8726         wrong place.
8727
8728         * text2.C (pasteSelection): set a selection over the pasted text.
8729
8730 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8731
8732         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8733         and libgraphics to build on Cygwin.
8734
8735 2002-03-15  Juergen Vigna  <jug@sad.it>
8736
8737         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8738         inserting an Inset into the paragraph. I know this is not the best
8739         fix but we already use current_view in CutAndPaste so we will remove
8740         all of it's using at the same time.
8741
8742         * buffer.C (sgmlError): deactivated function till it is rewritten in
8743         the right mode, now it can create problems.
8744
8745         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8746         before accessing it.
8747
8748 2002-03-14  Juergen Vigna  <jug@sad.it>
8749
8750         * undo_funcs.C (textHandleUndo): do the right thing when updating
8751         the inset after the undo/redo.
8752
8753         * text2.C (setCursor): just some testcode for #44 not ready yet.
8754
8755         * undo_funcs.C (textHandleUndo): set the next() and previous()
8756         pointers of the paragraph to 0 before deleting otherwise we have
8757         problems with the Paragraph::[destructor].
8758
8759         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8760         on a paragraph insertion.
8761
8762 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8763
8764         * buffer.C (asciiParagraph): use += operator for char append to
8765         string.
8766
8767         * paragraph.C (getFontSettings): compare >= not just >
8768         (highestFontInRange): ditto
8769         (setFont): ditto
8770
8771 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8772
8773         * paragraph.C: change several algorithm to be more appripriate for
8774         the problem domain. This is lookip in FontList and in the InsetList.
8775
8776 2002-03-13  André Pönitz <poenitz@gmx.net>
8777
8778         * commandtags.h:
8779         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8780
8781 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8782
8783         * commandtags.h:
8784         * LyXAction.C:
8785         * lyxfunc.C:
8786         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8787
8788 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8789
8790         * Painter.C (display): anon helper function, adjust code for this
8791         change.
8792         (pixmap): remove function.
8793
8794         * Painter.h: remove private display variable.
8795
8796         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8797
8798 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8799
8800         * WorkArea.[Ch]: remove figinset_canvas cruft.
8801
8802 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8803
8804         * lyxtextclass.C (operator): add one item cache optimization.
8805
8806         * bufferlist.h: doxy changes
8807
8808         * bufferlist.C: ws changes
8809
8810         * DepTable.[Ch] (ext_exist): place const in the right spot.
8811
8812         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8813         call resizeInsets.
8814         (workAreaExpose): call resizeInsets when the with BufferView changes.
8815         (Dispatch): adjust for protectedBlank removal
8816         (specialChar): call updateInset if the insert went ok.
8817
8818         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8819         specialChar instead.
8820
8821         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8822
8823         * BufferView.h: doxy change
8824
8825         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8826
8827         * lyxtextclass.C (operator[]): remove non-const version
8828         (defaultLayout): remove non-const version
8829
8830 2002-03-12  Juergen Vigna  <jug@sad.it>
8831
8832         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8833         did resize the LyXText too.
8834
8835         * buffer.C (readLyXformat2): set layout information on newly allocated
8836         paragraphs.
8837
8838         * tabular.C (OldFormatRead): set layout information on the paragraph.
8839
8840 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8841
8842         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8843
8844 2002-03-11  Juergen Vigna  <jug@sad.it>
8845
8846         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8847         plainly wrong.
8848         (resizeCurrentBuffer): force also the insets to resize themselfes.
8849         (moveCursorUpdate): fixed up for InsetText.
8850
8851 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8852
8853         * commandtags.h:
8854         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8855         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8856         value of Dialogs::tooltipsEnabled().
8857         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8858
8859 2002-03-08  Juergen Vigna  <jug@sad.it>
8860
8861         * BufferView_pimpl.C (updateInset): update inset inside inset also
8862         if it isn't inside theLockingInset().
8863
8864 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8865
8866         * buffer.C (asciiParagraph): redo some of the word and line length
8867         handling.
8868         (getLists): look for Caption instead of caption.
8869
8870 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8871
8872         * buffer.C (Buffer): initialize niceFile to true
8873         (makeLaTeXFile):
8874         (makeLinuxDocFile):
8875         (makeDocBookFile): make sure niceFile is true on exit
8876
8877 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8878
8879         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8880
8881 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8882
8883         * LyXSendto.C: remove.
8884         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8885         * lyx_gui.C: remove now-redundant comment.
8886         * ColorHandler.h: remove forward declaration of class WorkArea.
8887         * lyxfunc.C: remove #include "WorkArea.h".
8888
8889 2002-03-07  Juergen Vigna  <jug@sad.it>
8890
8891         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8892         got moved away with the DEPM and also set the inset_owner always
8893         right which before could have been omitted.
8894
8895 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8896
8897         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8898         wanted layout is not found.
8899
8900 2002-03-07  Juergen Vigna  <jug@sad.it>
8901
8902         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8903
8904 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8905
8906         * paragraph.C (breakParagraph): use default layout not layout of
8907         prev paragraph.
8908         (Paragraph): clear ParagraphParameters.
8909
8910 2002-03-06  Juergen Vigna  <jug@sad.it>
8911
8912         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8913         otherwise it would not be a valid lenght. Fixed a special case in
8914         the minipage compatibility read where we end the document with a
8915         minipage.
8916
8917         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8918         was set as it could be 0 for InsetTexts first entry.
8919
8920 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8921
8922         * paragraph.C (writeFile): if layout is empty write out
8923         defaultLayoutName().
8924
8925         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8926         file without named layout we set layout to defaultLayoutName().
8927
8928 2002-03-06  Juergen Vigna  <jug@sad.it>
8929
8930         * CutAndPaste.C (copySelection): set layout for new paragraph.
8931
8932         * text.C (prepareToPrint): leave ERT inset left aligned
8933         (leftMargin): don't indent paragraphs inside ERT insets
8934
8935 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8936
8937         * paragraph.C (breakParagraph): dont call clear do the work manually
8938
8939         * paragraph.[Ch] (clear): remove function
8940
8941 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8942
8943         * paragraph.C (Paragraph): dont call clear, the work has already
8944         been done.
8945
8946         * lyxtextclass.C (operator): assert if n is empty
8947
8948         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8949         work manually instead.
8950
8951 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8952
8953         * BufferView_pimpl.C: protect selectionLost against text == 0
8954
8955 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8956
8957         * text.C (breakParagraph): fix a setting layout to '0' problem.
8958
8959 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8960
8961         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8962         final location of file, for the included files, and graphics.
8963
8964 2002-03-05  Juergen Vigna  <jug@sad.it>
8965
8966         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8967
8968 2002-03-04  Juergen Vigna  <jug@sad.it>
8969
8970         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8971
8972         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8973         last column of multicolumn cells.
8974         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8975
8976 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8977
8978         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8979         file if it doesn't go to a temporary file.
8980
8981         * buffer.C (sgmlOpenTag):
8982         (sgmlCloseTag):  remove extra newline insertion.
8983
8984 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8985
8986         * text.C (getRowNearY): comment out debug msg
8987
8988 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8989
8990         * text2.C: first -> first_y
8991
8992         * text.C (getRowNearY): add some attemts at a possible
8993         optimization, not working.
8994
8995         * tabular.[Ch]: add BufferParams to several function so that newly
8996         created paragraph can be initialized to he default layotu for the
8997         buffers textclass.
8998
8999         * tabular-old.C (ReadOld): add buf->params to call of Init
9000
9001         * screen.C: rename text->first to text->first_y
9002
9003         * paragraph.C (breakParagraph): always set layout in the broken
9004         paragraph
9005
9006         * lyxtextclass.C (Read): remove lowercase
9007         (hasLayout): ditto
9008         (operator): ditto
9009         (delete_layout): ditto
9010
9011         * lyxtext.h: rename first -> first_y
9012
9013         * lyxlayout.C (Read): remove lowercase
9014         (name): ditto
9015         (setName): ditto
9016         (obsoleted_by): ditto
9017
9018         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9019
9020         * buffer.C (insertErtContents): add params are to InsetERT
9021         (parseSingleLyXformat2Token): add code to check if a paragraphs
9022         layout really exist.
9023         (parseSingleLyXformat2Token): add params to several inset
9024         constructors
9025         (asciiParagraph): remove lowercase, do the layout comparisons with
9026         no_case
9027
9028         * BufferView_pimpl.C (cursorNext): first -> first_y
9029         (resizeCurrentBuffer): first -> first_y
9030         (updateScrollbar): first -> first_y
9031         (scrollCB): first -> first_y
9032         (workAreaMotionNotify): first -> first_y
9033         (workAreaButtonPress): first -> first_y
9034         (checkInsetHit): first -> first_y
9035         (cursorPrevious): first -> first_y
9036         (cursorNext): first -> first_y
9037         (Dispatch): add buffer_->params to severl inset contructors
9038
9039 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9040
9041         * lyxlayout.C (Read): remove some debug info that I forgot.
9042
9043         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9044         clean up the code slightly.
9045         (makeLinuxDocFile): ditto
9046         (makeDocBookFile): ditto
9047
9048         * text2.C: layout as string
9049
9050         * text.C: layout as string
9051
9052         * paragraph_pimpl.C: layout as string
9053
9054         * paragraph.[Ch]: layout as string
9055
9056         * lyxtextclasslist.[Ch]: layout as string
9057
9058         * lyxtextclass.[Ch]: layout as string
9059
9060         * lyxtext.h: layout as string
9061
9062         * lyxlayout.[Ch]: layout as string
9063
9064         * lyx_cb.C: layout as string
9065
9066         * bufferview_funcs.C: layout as string
9067
9068         * bufferparams.C: layout as string
9069
9070         * buffer.C: layout as string
9071
9072         * LyXView.[Ch]: layout as string
9073
9074         * LaTeXFeatures.[Ch]: layout as string
9075
9076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9077
9078         * BufferView_pimpl.C: change current_layout to string, remove
9079         lyx::layout_type.
9080         (Dispatch):
9081         (smartQuote):
9082         (insertInset):
9083         (workAreaButtonRelease): layout as string
9084
9085         * BufferView2.C (unlockInset): adjust
9086
9087         * vspace.C (asLatexCommand): use an explict temp variable.
9088
9089 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9090
9091         * Makefile.am: use FRONTEND_*
9092
9093 2002-03-01  Juergen Vigna  <jug@sad.it>
9094
9095         * tabular.C (SetWidthOfMulticolCell): changed to something better
9096         I hope but still work in progress.
9097         (recalculateMulticolumnsOfColumn): renamed function from
9098         recalculateMulticolCells as it is more appropriate now.
9099         (SetWidthOfCell): calculate multicols better.
9100
9101 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9102
9103         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9104
9105         * lyxfunc.C (processKeySym): print sequence also if it is
9106         `deleted' (complete)
9107
9108         * kbsequence.C (print): print sequence even if it is deleted
9109         (complete would be a better word, actually).
9110
9111         * lyxfunc.C (dispatch): print complete options after a prefix key
9112
9113         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9114
9115 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9116
9117         * text2.C (setCharFont): eliminate setCharFont code duplication.
9118
9119 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9120
9121         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9122         LFUN_TABULAR_FEATURE (bug #177)
9123
9124 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9125
9126         * Makefile.am: remove figure.h
9127
9128 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9129
9130         * Bufferview_pimpl.C:
9131         * CutAndPasteC:
9132         * LaTeX.C:
9133         * LyXSendto.C:
9134         * buffer.C:
9135         * bufferlist.C:
9136         * converter.C:
9137         * language.C:
9138         * lyxfunc.C:
9139         * lyxvc.C:
9140         * paragraph.C:
9141         * text.C:
9142         * text2.C: remove #include "lyx_gui_misc.h".
9143
9144         * LaTeX.C: added #include <cstdio>
9145
9146 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9147
9148         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9149         that the paragraph following this one can have.
9150
9151         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9152
9153         * vspace.C (asLatexCommand): fix bogus gcc warning
9154
9155         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9156
9157 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9158
9159         * text2.C (setLayout): get rid of redundant code
9160
9161 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9162
9163         * text2.C (incDepth): make sure depth cannot be increased beyond
9164         reasonable values.
9165
9166 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9167
9168         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9169         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9170
9171         * PainterBase.h (image):
9172         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9173         a LyXImage const *.
9174
9175 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * BufferView.C:
9178         * BufferView.h:
9179         * BufferView_pimpl.C:
9180         * BufferView_pimpl.h:
9181         * LaTeXFeatures.C:
9182         * LyXAction.C:
9183         * LyXView.C:
9184         * Makefile.am:
9185         * UpdateList.h:
9186         * UpdateList.C:
9187         * buffer.C:
9188         * figure.h:
9189         * figureForm.C:
9190         * figureForm.h:
9191         * figure_form.C:
9192         * figure_form.h:
9193         * lyx_cb.C:
9194         * lyx_gui.C:
9195         * lyx_gui_misc.C:
9196         * lyxfunc.C:
9197         * sp_base.h:
9198         * sp_ispell.h:
9199         * sp_pspell.h:
9200         * sp_spell.C: remove fig inset, and the crap house of
9201           cards that follows it
9202
9203 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9204
9205         * Makefile.am:
9206         * lyxserver.C:
9207         * os2_defines.h:
9208         * os2_errortable.h:
9209         * nt_defines.h: move .h into support/
9210
9211         * vms_defines.h: remove
9212
9213         * WorkArea.C: add space in debug output
9214
9215         * text2.C:
9216         * paragraph.C:
9217         * buffer.C: add WITH_WARNINGS
9218
9219         * vc-backend.h:
9220         * vc-backend.C:
9221         * bufferlist.C: s/retrive/retrieve/, add docs
9222
9223         * vspace.h:
9224         * vspace.C:
9225         * kbmap.h:
9226         * lyxlength.h:
9227         * lyxgluelength.h:
9228         * length_common.h:
9229         * chset.h:
9230         * chset.C: add docs
9231
9232         * lyxgui.C: add ID to X error handler
9233
9234         * lyxtestclass.c: fix typo
9235
9236 2002-02-26  Juergen Vigna  <jug@sad.it>
9237
9238         * tabular_funcs.C (write_attribute): changed so that some default
9239         attributes are not written at all.
9240         (getTokenValue): set default values before trying to read the
9241         value so we have the return value always set as default if we don't
9242         find the token we search for.
9243
9244         * tabular.C (Write): write bools as bools not as strings!
9245
9246 2002-02-22  Juergen Vigna  <jug@sad.it>
9247
9248         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9249         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9250
9251         * text.C (leftMargin): don't add an indent for paragraphs inside
9252         tabular cells (fix #208).
9253
9254 2002-02-21  José Matos  <jamatos@fep.up.pt>
9255
9256         * tabular.C (docBook): fixed support for long tables.
9257
9258 2002-02-20  Juergen Vigna  <jug@sad.it>
9259
9260         * text2.C (getFont): get the drawing font of the Inset if this
9261         paragraph is inside an inset (only important for InsetERT for now).
9262
9263         * buffer.C (insertErtContents): use new lanugage params in ERT
9264         constructor.
9265
9266         * CutAndPaste.C: commenting out seemingly uneeded code.
9267
9268 2002-02-19  Allan Rae  <rae@lyx.org>
9269
9270         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9271         Iterators might be simple to use but they also get invalidated.
9272         (removeAutoInsets): renamed saved cursor tracking variables and added
9273         some comments to clarify what everything does.
9274
9275 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9276
9277         * Chktex.C:
9278         * LaTeX.C:
9279         * LyXSendto.C:
9280         * converter.C:
9281         * lyx_cb.C:
9282         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9283         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9284
9285         * lyxfunc.C:
9286         * vc-backend.h: remove #include "support/syscall.h"
9287
9288         * LaTeX.C:
9289         * LyXSendto.C:
9290         * converter.C: rearrange #includes in Lars' approved fashion.
9291
9292         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9293         forward declare class Timeout in the header file.
9294
9295         * XFormsView.C: changes due to the above.
9296
9297         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9298         similar to LyXView.
9299
9300         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9301         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9302
9303 2002-02-18  José Matos  <jamatos@fep.up.pt>
9304
9305         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9306         insets contents.
9307
9308 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9309
9310         * a lot of small ws changes
9311         * add a lot of using std::XXX
9312         * use std construcs some places where approp.
9313         * use some exisint stuff from lyxfunctional where approp.
9314         * Make file changes to use partial linking (lets test this now...)
9315
9316 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9317
9318         * Chktex.C:
9319         * buffer.C:
9320         remove #include "support/syscontr.h" as it's redundant. Always has been.
9321
9322         * Chktex.C:
9323         * LaTeX.C:
9324         * LyXSendto.C:
9325         * converter.C:
9326         * lyx_cb.C:
9327         * vc-backend.C:
9328         change Systemcalls::System to Systemcalls::Wait and
9329         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9330         No change of functionality, just reflects the stripped down Systemcalls
9331         class.
9332
9333 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9334
9335         * debug.[Ch]: add a GRAPHICS type to the enum.
9336
9337 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9338
9339         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9340
9341         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9342         there is an inset.
9343
9344 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9345
9346         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9347         match the changes below.
9348
9349         * text2.C (toggleInset): if there is not editable inset at cursor
9350         position, try to see if cursor is _inside_ a collapsable inset
9351         and close it.
9352
9353 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9354
9355         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9356         document menu has a nice checkbox
9357
9358 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9359
9360         * lyxlength.C (asLatexString): change PW to output as percent of
9361         \textwidth.
9362
9363         * lengthcommon.C: change '%' to 't%'
9364
9365         * lyxfunc.C (dispatch): a few comments from Martin
9366
9367 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9368
9369         * WorkArea.h:
9370         * WorkArea.C:
9371         * BufferView_pimpl.h:
9372         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9373           the X selection.
9374
9375 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9376
9377         * vspace.C (inPixels): fix compiler warning
9378
9379 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9380
9381         * lyxfunc.C (getStatus): fix status message for disabled commands.
9382
9383 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * BufferView_pimpl.C: fix crash on close buffer
9386         during selection (#227)
9387
9388 2002-01-27  Herbert Voss  <voss@lyx.org>
9389
9390         * buffer.C: link old Figure to new graphic inset
9391
9392 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9393
9394         * FontLoader.C (getFontinfo): Change the latex font names in order
9395         to match the names of type1inst.
9396
9397 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9398
9399         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9400
9401         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9402         (extchanged): ditto
9403         (ext_exist): ditto
9404         (remove_files_with_extension): ditto
9405         (remove_file): ditto
9406         (write): ditto
9407
9408         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9409         document is smaller than the work area height. Do not initialize
9410         static variables to 0.
9411
9412 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9413
9414         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9415
9416         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9417         LFUN_LAYOUT_PARAGRAPHS.
9418
9419         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9420         tabular. It is possible to provide a possible cell, which will
9421         typically be the actcell from the corresponding insettabular
9422
9423         * lyxfunc.C (getStatus): small cleanup; disable
9424         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9425         true
9426
9427 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9430
9431         * paragraph.C (startTeXParParams):
9432         (endTeXParParams): new methods. The LaTeX code to
9433         start/end paragraph formatting
9434         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9435         empty (fixes bug #200)
9436
9437         * vspace.C (inPixels): adapt to the change below
9438         (inPixels): [later] more cleanups (remove unused variables)
9439
9440         * lyxlength.C (inPixels): change to use a width and a height as
9441         parameter.
9442
9443 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9446         Replaced with \paperwidth
9447
9448         * DepTable.C (insert): add std:: qualifier
9449
9450 2002-01-18  Allan Rae  <rae@lyx.org>
9451
9452         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9453         updated also?
9454
9455         * text.C (drawInset): Turned out I didn't know enough about how
9456         rebreaking worked.  This fixes most of the redraw problems.  I see
9457         an occasional cursor trail when a line is broken now and the cursor
9458         placement can seem out by a few pixels also after a rebreak.
9459
9460 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9461
9462         * buffer.C (parseSingleLyXformat2Token): update because minipage
9463         width is now a LyXLength
9464
9465         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9466
9467         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9468         math insets
9469
9470 2002-01-17  Juergen Vigna  <jug@sad.it>
9471
9472         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9473
9474         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9475         is set correctly and the inset is updated correctly.
9476
9477 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9480         the beginning of the loop.
9481
9482 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9483
9484         * lyxrc.C: improve help for use_scalable_fonts
9485
9486 2002-01-17  Allan Rae  <rae@lyx.org>
9487
9488         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9489
9490 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9491
9492         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9493         make sure to set their inset_owner to the right value (bug #171)
9494
9495 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9496
9497         * DepTable.h
9498         * DepTable.C: Implement mtime checking to reduce time spent doing
9499         CRCs.
9500
9501 2002-01-16  Juergen Vigna  <jug@sad.it>
9502
9503         * tabular.C (GetAdditionalHeight): one of error fixed.
9504
9505         * lyxrc.C (output): small fix in writing use_pspell.
9506
9507 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9508
9509         * sp_base.h: #include LString.h
9510
9511 2002-01-16  Allan Rae  <rae@lyx.org>
9512
9513         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9514         Can someone check this please?
9515
9516         * text.C (drawInset): It was possible that p.row would be removed by
9517         breakAgainOneRow upsetting a few other settings.  There may be another
9518         small tweak possible by setting need_break_row = 0 when p.row has been
9519         removed but I don't know enough about the logic here.
9520
9521 2002-01-15  Allan Rae  <rae@lyx.org>
9522
9523         * text.C (insertChar): removed conditional truism.
9524
9525         * BufferView2.C (removeAutoInsets): More tweaks.
9526         cur_par_prev could be a stray pointer.  Check for trailing empty line
9527         in case last line was cur_par and only had an error inset on it.
9528
9529 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9530
9531         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9532         absolute
9533
9534         * vc-backend.C (most methods):
9535         * exporter.C (Export):
9536         * converter.C (convert):
9537         (runLaTeX):
9538         * LyXSendto.C (SendtoApplyCB):
9539         * lyxfunc.C (dispatch):
9540         (menuNew):
9541         (open):
9542         (doImport):
9543         * lyx_cb.C (AutoSave):
9544         (InsertAsciiFile):
9545         * BufferView_pimpl.C (MenuInsertLyXFile):
9546         * buffer.C (runChktex): use Buffer::filePath().
9547
9548         * buffer.h: rename filename to filename_; rename filepath to
9549         filepath_ and make it private
9550         (filePath): new method
9551
9552         * buffer.C (writeFile): use fileName()
9553         (getLatexName):
9554
9555         * lyx_main.C (init): fix starting  of LyX when the binary is a
9556         link from so,ewhere else.
9557
9558         * minibuffer.C: include <cctype> for isprint
9559
9560 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9561
9562         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9563         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9564         name clash with InsetCollapsable's width function.
9565
9566 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9567
9568         * lastfiles.C: include <iterator>
9569
9570 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9571
9572         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9573         std::count.
9574
9575         * buffer.C (makeLaTeXFile): ditto.
9576         Also make loop operation more transparent.
9577
9578 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9579
9580         * ToolbarDefaults.C: remove trailing comma closing namespace.
9581
9582         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9583
9584         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9585         as in WorkArea.
9586
9587         * trans.C (Load): comment out unused variable, allowed.
9588
9589 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9590
9591         * minibuffer.[Ch] (append_char): new method to recieve input from the
9592         drop-down completion browser. If a key was pressed, then recieve this
9593         char and append it to the existing string.
9594         (peek_event): modify the positioning data passed to the completion
9595         browser so that it can be placed above the minibuffer rather than below.
9596 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9597
9598         * LyXAction.C (init): alloe error-next for readonly documents.
9599
9600         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9601         count.
9602
9603 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * bufferlist.C (readFile): create the buffer _after_ checking that
9606         the file exists.
9607
9608         * lyxfunc.C (verboseDispatch): fix handling of arguments
9609
9610         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9611
9612         * lyxrc.C: use string::erase() instead of initializing to "".
9613
9614
9615 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9616
9617         * BufferView_pimpl.h:
9618         * BufferView_pimpl.C:
9619         * WorkArea.h:
9620         * WorkArea.C:
9621         * text2.C: tell X when we have made a selection for copying
9622
9623 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9624
9625         * BufferView_pimpl.C (MenuInsertLyXFile):
9626         * lyxfunc.C (menuNew):
9627         (open):
9628         (doImport): add shortcuts to directory buttons
9629
9630         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9631         open a float)
9632
9633         * lyxfunc.C (setStatusMessage):
9634         (getStatusMessage): new methods
9635         (getStatus):use setStatusMessage instead of setErrorMessage
9636         (dispatch): when function is disabled, set error message here
9637         [instead of in getStatus previously]
9638
9639         * BufferView_pimpl.C (workAreaButtonRelease): update
9640         toolbar/menubar here too.
9641
9642 2002-01-13  Allan Rae  <rae@lyx.org>
9643
9644         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9645         Now seems indestructible.  Remaining task is to audit all other
9646         code affected by deleteEmptyParagraphMechanism.  One small quirk
9647         left is that an empty document with an error in the preamble can
9648         be made to report an error but no error box appears.  I don't know
9649         where it goes.
9650         (removeAutoInsets): Improved comments.
9651
9652 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9653
9654         * Thesaurus.h:
9655         * Thesaurus.C: update for Aiksaurus 0.14
9656
9657 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9658
9659         * text2.C (firstParagraph): removed member function, all uses
9660         replaces with ownerParagraph
9661         (redoParagraphs): here
9662         (updateInset): here
9663         (toggleAppendix): here
9664         * BufferView2.C (insertErrors): here
9665         (setCursorFromRow): here
9666
9667 2002-01-13  Allan Rae  <rae@lyx.org>
9668
9669         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9670         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9671         There is still a way to segfault this although you may have to do this
9672         multiple times: Have an InsetERT with an unknown command in it.
9673         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9674         <down-arrow>, <Enter> again, View->DVI, BANG!
9675
9676         * text2.C (setCursor):
9677         (deleteEmptyParagraphMechanism):
9678         * lyxtext.h (setCursor):
9679         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9680         Making use of the return value may help fix other bugs.
9681
9682 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9683
9684         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9685
9686         * LyXView.C (updateMenubar): call MenuBar::update here
9687         (updateToolbar): but not here
9688         (showState): do not update toolbar/menubar
9689
9690         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9691         should need to care about that.
9692
9693         * lyxfunc.C (verboseDispatch): simplify a bit
9694         (getStatus): have a version which takes a pseudoaction, and
9695         another which requires a (kb_action,string).
9696
9697         * LyXAction.C (retrieveActionArg): make it work also when action
9698         is not a pseudo-action.
9699         (getActionName): simplify a bit
9700         (helpText):
9701
9702 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9703
9704         * lyxfunc.C (verboseDispatch): new families of methods with
9705         several ways to specify a command and a bool to indicate whether
9706         the command name and shortcut should be displayed in minibuffer
9707         (eventually, we could extend that to a finer bitmask like
9708         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9709         (dispatch): the pristine dispatch command which just, well,
9710         dispatchs! Note it still sets its result to minibuffer; I'm not
9711         sure we want that.
9712
9713         * lyxfunc.h: remove setHintMessage
9714
9715         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9716
9717 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * BufferView_pimpl.C (specialChar): delete new inset if we have
9720         not been able to insert it.
9721
9722         * kbmap.C: revert to using int instead of kb_action, since all we
9723         are dealing with is pseudo-actions.
9724
9725         * LyXAction.C (searchActionArg): change to return int instead of
9726         kb_action, since the result is a pseudoaction.
9727
9728 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9729
9730         * buffer.C (insertErtContents): Fix (partially) the font bug.
9731
9732 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9733
9734         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9735         as the other one is broken on my machine!
9736
9737 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9738
9739         * commandtags.h:
9740         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9741
9742 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9743
9744         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9745         reflect their actual use. Provide compatibility code for older lyxrc
9746         files.
9747
9748         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9749         FL_NORMAL_STYLE.
9750         change names of popup font variables in line with the changes to lyxrc.C
9751
9752 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * buffer.C (asciiParagraph): avoid outputing a word twice after
9755         an inset.
9756
9757         * lyxrc.C (getDescription): document that document_path and
9758         template_path can be empty.
9759
9760 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9761
9762         * LaTeXFeatures.C (getMacros):
9763         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9764
9765         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9766
9767         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9768         getPackages.
9769         (getPackages): rename feature "floats" to "float". Use an array to
9770         iterate over 'simple' features (i.e. just a \usepackage). Add
9771         handling of "amsmath" (renamed from "amsstyle").
9772
9773 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9774
9775         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9776         features list.
9777
9778 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9779
9780         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9781         FuncStaus::FuncStatus & FuncStaus::some_method().
9782
9783 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9784
9785         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9786         of the func_satus stuff. Edited and massaged in various ways by
9787         JMarc.
9788
9789         * lyxfunc.C (getStatus): use FuncStatus
9790
9791 2002-01-08  Juergen Vigna  <jug@sad.it>
9792
9793         * text.C (nextBreakPoint): use function Inset::isChar().
9794
9795         * paragraph.C (TeXOnePar): use function
9796         Inset::forceDefaultParagraphs.
9797
9798         * buffer.C (latexParagraphs): use function
9799         Inset::forceDefaultParagraphs.
9800
9801 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9802
9803         * lyx_gui.C (init): set the style of the menu popups to
9804         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9805
9806 2002-01-07  Juergen Vigna  <jug@sad.it>
9807
9808         * text.C (setHeightOfRow): small fix
9809         (prepareToPrint): don't look at alignment if we don't have the place
9810         for doing it.
9811
9812 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9813
9814         * box.C: New file. Move the Box methods and functions out of box.h,
9815         following Lars' suggestion.
9816
9817 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9818
9819         * box.h: #include "support/LOstream.h", needed for inlined function.
9820
9821         * lyxtextclass.C:
9822         * lyxtextclasslist.C: added some using std declarations.
9823
9824 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9825
9826         * box.h: make signed dimensions to allow insets wider than
9827           the screen (bug #162)
9828
9829         * BufferView_pimpl.C: add some insetHit debug
9830
9831 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * vc-backend.C: add FIXME
9834
9835 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * lyxfunc.C (getStatus): enable code for showing math font status
9838         in toolbar/menu.
9839
9840 2002-01-07  Juergen Vigna  <jug@sad.it>
9841
9842         * text.C (nextBreakPoint): removed debug output not needed anymore.
9843
9844 2002-01-06  Juergen Vigna  <jug@sad.it>
9845
9846         * text.C (nextBreakPoint): fixed up this function we had this bug
9847         since ever but now hopefully we break row better.
9848         (insertChar): we have to check if an inset is the next char as it
9849         could now happen that a large inset is causing a break.
9850
9851 2002-01-05  Juergen Vigna  <jug@sad.it>
9852
9853         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9854         if it doesn't like to be drawed.
9855
9856 2002-01-04  Juergen Vigna  <jug@sad.it>
9857
9858         * BufferView2.C (lockInset): forgot to set a cursor.
9859
9860         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9861
9862 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9863
9864         * FormMathsPanel.C:
9865         * FormMathsPanel.h
9866         * MathsSymbols.C:
9867         * form_maths_panel.C:
9868         * form_maths_panel.h:
9869         * form_maths_panel.fd: implemented sub- and super- buttons in math
9870         panel.
9871
9872         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9873         (or ^ space) to be used as in TeX (req'd by André).
9874
9875         * lyxfunc.C: Allow ^ and _ again to be used both as
9876         super/subscript (mathed) and as themselves (in text).
9877
9878 2002-01-03  Allan Rae  <rae@lyx.org>
9879
9880         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9881         "LyX" or the filename of the current buffer if it has one.  This is a
9882         modified form of John Levon's patch.
9883
9884         * XFormsView.C (setWindowTitle): also set icon title.
9885
9886         * LyXView.h (setWindowTitle): signature changed.
9887         * XFormsView.h (setWindowTitle): ditto.
9888
9889 2002-01-02  Juergen Vigna  <jug@sad.it>
9890
9891         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9892
9893 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9894
9895         * screen.C (topCursorVisible): introduce a temp var for
9896         text->cursor.row(), handle the case where this row is null. (kindo
9897         hachish)
9898
9899         * text2.C (setCursor): add a couple of asserts.
9900
9901         * paragraph.h (inset_iterator): add -> operator
9902
9903         * paragraph.[Ch] (autoDeleteInsets): remove member function
9904
9905         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9906         cursor pos correctly and handle inset deletion by itself.
9907         (insertErrors): move iterator declaration out of for expression
9908
9909         * lyxtextclass.C: add <algorithm>
9910
9911         * Makefile.am: added the new files to sources, removed layout.C
9912
9913         * layout.C: removed file
9914
9915         * layout.h: remove LYX_DUMMY_LAYOUT
9916
9917         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9918         layout.
9919
9920         * lyxlayout.[Ch]:
9921         * lyxtextclass.[Ch]:
9922         * lyxtextclasslist.[Ch]: new files
9923
9924         * include order changes to a lot of files, also changes because of
9925         the six new files.
9926
9927 2001-12-27  Juergen Vigna  <jug@sad.it>
9928
9929         * buffer.C (asciiParagraph): more fixes.
9930
9931         * tabular.C (ascii): make ascii export support export of only the
9932         data separated by a column-delimiter.
9933         (ascii): better support for ascii export.
9934
9935         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9936
9937 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9938
9939         * tabular_funcs.C: use a "using std::getline" instead of the
9940         previous fix from Angus (necessary for cxx + lyxstring)
9941
9942 2001-12-24  Juergen Vigna  <jug@sad.it>
9943
9944         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9945
9946         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9947         problems. First check a minipage also if we have some ert-contents
9948         (not only on par->size(), second set the right depth of the paragraph
9949         on the relink to the root-paragraph-list!
9950
9951         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9952         which then did not anymore update the main paragraphs on undo/redo!
9953
9954 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9957         code. Support all font-changing funcs (even those which are not in
9958         menu currently). Support for reporting font settings in
9959         mathed (disabled until Andre provides a function on mathed's side).
9960
9961         * func_status.h (toggle): small helper function to set toggle
9962         state on a flag.
9963
9964 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9965
9966         * tabular_funcs.C: getline -> std::getline
9967
9968 2001-12-21  Juergen Vigna  <jug@sad.it>
9969
9970         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9971         accessed and could be 0 (I couldn't generate this but it seems
9972         Michael could!).
9973
9974 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9975
9976         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9977         * tabular_funcs.h: here and include iosfwd
9978
9979 2001-12-20  Juergen Vigna  <jug@sad.it>
9980
9981         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9982         inside inset but undo_par was.
9983
9984 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9985
9986         * Thesaurus.C: always include <config.h> in sources.
9987
9988         * Painter.h:
9989         * lyxlookup.h:
9990         * box.h: do not include <config.h> in header files
9991
9992         * text.C (paintLastRow): remove unused variable
9993
9994         * text.C (transformChar):
9995         (insertChar):
9996         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9997
9998         * Painter.C (text):
9999         * font.C (width): rewrite to use uppercase() instead of
10000         islower/toupper.
10001
10002         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10003
10004 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10005
10006         * lyxfind.C: clean up of find failure position change
10007
10008 2001-12-20  Juergen Vigna  <jug@sad.it>
10009
10010         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10011
10012         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10013         (TeXRow): added to LaTeX a single tabular row.
10014         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10015         (Latex): simplified and finally good LT-h/f support.
10016         (various_functions): just small adaptions for LT-h/f support.
10017
10018         * tabular_funcs.[hC]: added and moved here all not classfunctions
10019         of LyXTabular.
10020
10021 2001-12-19  Juergen Vigna  <jug@sad.it>
10022
10023         * tabular.[Ch]: better support for longtabular options (not finished
10024         yet!)
10025
10026 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * text.C (paintLastRow): use the label font instead of the font of
10029         the last character to compute the size of *_BOX. This makes more
10030         sense and avoids a crash with empty paragraphs.
10031         Use Painter::rectangle to draw EMPTY_BOX.
10032
10033 2001-12-19  Juergen Vigna  <jug@sad.it>
10034
10035         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10036         the paragraphs if the replaced paragraph is not the first one!
10037         Tried to delete not used paragraphs but does not work yet so for
10038         now it's inside #ifdef's and by default off!
10039
10040 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10041
10042         * MenuBackend.C: include "lyx_main.h" instead of declaring
10043         lastfiles (actually was declared as LastFiles* instead of a
10044         scoped_ptr).
10045
10046 2001-12-17  Juergen Vigna  <jug@sad.it>
10047
10048         * tabular.C (AppendColumn): applied John's fix
10049
10050 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10051
10052         * BufferView.h:
10053         * BufferView.C:
10054         * BufferView_pimpl.h:
10055         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10056
10057         * Makefile.am:
10058         * box.h: new start of class for above
10059
10060         * lyxfunc.C: ignore space-only minibuffer dispatches.
10061           Show the command name when it doesn't exist
10062
10063         * minibuffer.C: don't add empty lines to the history
10064
10065         * minibuffer.C: add a space on dropdown completion
10066
10067 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10068
10069         * text.C: fix line above/below drawing in insets
10070
10071 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10072
10073         * lyxlength.C (LyXLength): Initialize private variables.
10074
10075 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10076
10077         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10078         when inserting error insets.
10079
10080 2001-12-13  Juergen Vigna  <jug@sad.it>
10081
10082         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10083         actually sometimes the before-paragraph.
10084         (setUndo): don't clear the redostack if we're not actually undoing!
10085
10086 2001-12-06  Juergen Vigna  <jug@sad.it>
10087
10088         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10089         and fixed redoing of main paragraph, so we can use it now ;)
10090
10091         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10092
10093 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10096         Juergen's request
10097
10098 2001-12-13  André Pönitz <poenitz@gmx.net>
10099
10100         * undostack.[Ch]:
10101         * undo_func.C: minor cleanup
10102
10103 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10104
10105         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10106         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10107         font in urw-fonts package which is marked as -urw-fontspecific and
10108         does not work (incidentally, changing the encoding in the
10109         fonts.dir of this package to -adobe-fontspecific fixes the
10110         problem).
10111
10112         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10113         is a crash when undoing first paragraph (Juergen, please take a
10114         look). THis does not mean the undo fix is wrong, just that it
10115         uncovers problems.
10116
10117         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10118         the (Paragraph*) version when needed instead of duplicating the
10119         code.
10120
10121         * text.C (workWidth): use Inset::parOwner to find out where the
10122         inset has been inserted. This is a huge performance gain for large
10123         documents with lots of insets. If Inset::parOwner is not set, fall
10124         back on the brute force method
10125
10126         * paragraph_pimpl.C (insertInset):
10127         * paragraph.C (Paragraph):
10128         (cutIntoMinibuffer): set parOwner of insets when
10129         inserting/removing them
10130
10131         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10132
10133 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10134
10135         * commandtags.h:
10136         * LyXAction.C:
10137         * lyx_main.C:
10138         * lyxfunc.C:
10139         * mathed/formulabase.C:
10140         * mathed/math_cursor.[Ch]:
10141         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10142
10143
10144 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10145
10146         * lyxlength.[Ch] (operator!=): new function
10147
10148 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10149
10150         * text.C (workWidth): use Inset::parOwner to find out where the
10151         inset has been inserted. This is a huge performance gain for large
10152         documents with lots of insets. If Inset::parOwner is not set, fall
10153         back on the brute force method
10154
10155         * paragraph_pimpl.C (insertInset):
10156         * paragraph.C (Paragraph):
10157         (cutIntoMinibuffer): set parOwner of insets when
10158         inserting/removing them
10159
10160         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10161
10162 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * tabular-old.C (getTokenValue):
10165         * tabular.C (getTokenValue):
10166         (write_attribute): new versions for LyXLength
10167         (everywhere): adjust the use of widths
10168
10169         * tabular.h: change the type of widths from string to LyXLength
10170
10171 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10172
10173         * paragraph.C: fixed missing line number count when exporting
10174         Environments to LaTeX file
10175
10176         * buffer.C: added informational message for checking line numbers.
10177
10178 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10181         paragraph, do the 'double space' part, but not the 'empty
10182         paragraph' one.
10183
10184         * text.C (workWidth): small optimization
10185         (getLengthMarkerHeight): use minimal size for negative lengths.
10186
10187 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10188
10189         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10190
10191         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10192
10193 2001-12-11  André Pönitz <poenitz@gmx.net>
10194
10195         * FontLoader.C:
10196         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10197
10198 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * text2.C: keep selection on a setFont()
10201
10202 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * lyx_cb.C: another bv->text misuse, from insert label
10205
10206 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * kbsequence.h:
10209         * kbsequence.C: re-instate nmodifier mask
10210
10211 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10212
10213         * lyx_main.h: make lyxGUI private.
10214
10215 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * lyxfind.C: place the cursor correctly on failed search
10218
10219 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10220
10221         * text.C (getLengthMarkerHeight): for small heights, the arrows
10222         are not always on top/bottom of the text
10223         (drawLengthMarker): smaller arrows; take the left margin in
10224         account; draw also vfills.
10225         (paintFirstRow):
10226         (paintLastRow): remove special code for vfill and standard spaces,
10227         since everything is handled in drawLengthMarker now.
10228
10229 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10230
10231         * buffer.C (insertErtContents): try to handle font and language
10232         interaction a bit better.g
10233
10234         * ColorHandler.C (updateColor): change the hash to cover the whole
10235         LColor enum, ws cleanup
10236         (getGCLinepars): ditto
10237         (getGCLinepars): only lookup in the linecache once.
10238
10239 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10240
10241         * iterators.C (operator++): Make the iterator more robust
10242
10243         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10244         (John's patch)
10245         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10246
10247 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * lyxtext.h:
10250         * text.C: better added space drawing
10251
10252 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10253
10254         * LyXView.C:
10255         * BufferView2.C: fix layout combo update on inset unlock
10256
10257 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * Makefile.am: don't compile unused files
10260
10261 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10262
10263         * lyxfunc.C:
10264         * commandtags.h:
10265         * LyXAction.C: remove old LFUN_LAYOUTNO
10266
10267 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * paragraph_pimpl.h:
10270         * paragraph_pimpl.C: isTextAt() doesn't need font param
10271
10272 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * lyxlex.h:
10275         * lyxlex.C: little cleanup
10276
10277 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * BufferView_pimpl.C: fix insertAscii for insets
10280
10281 2001-12-05  Juergen Vigna  <jug@sad.it>
10282
10283         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10284         set the right font on the "multi" paragraph paste!
10285
10286 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10287
10288         * trans_decl.h:
10289         * trans_mgr.[Ch]:
10290         * trans.[Ch]:
10291         * lyxgluelength.C:
10292         * lyxlength.C: remove out-commented code.
10293
10294         * BufferView_pimpl:
10295         * CutAndPaste.C:
10296         * DepTable.C:
10297         * buffer.C:
10298         * chset.C:
10299         * lastfiles.C:
10300         * lyxlex.C:
10301         * lyxlex_pimpl.C:
10302         * lyxserver.C:
10303         * screen.C:
10304         * tabular-old.C:
10305         * tabular.C:
10306         * text.C:
10307         * trans_mgr.C:
10308         * vc-backend.C: change "while(" to "while ("
10309
10310         * lyxlength.[Ch]: add zero function to check if length is zero or
10311         not
10312         * lyxgluelength.C: use it
10313
10314 2001-12-05  Allan Rae  <rae@lyx.org>
10315
10316         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10317         Works for 2.95.3, from what I understand of Garst's reports this should
10318         work for other g++ versions.  We're screwed if the abs(int) definition
10319         changed between bugfix releases of gcc.
10320
10321 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10322
10323         * text.C: fix chapter label offset !
10324
10325 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10326
10327         * lyxtext.h:
10328         * text.C: fix hfill at end of line, clean up
10329
10330 2001-12-04  Juergen Vigna  <jug@sad.it>
10331
10332         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10333         that we force an update of the inset and it's owners if neccessary.
10334
10335 2001-12-03  Juergen Vigna  <jug@sad.it>
10336
10337         * text.C (rowLast): simplified code
10338
10339 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * lyxfunc.C: fix show options on timeout
10342
10343 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10344
10345         * screen.C (topCursorVisible): scroll half a page when the cursor
10346         reached top of bottom of screen
10347
10348 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * minibuffer.C: deactivate on loss of focus
10351
10352 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10353
10354         * vspace.[Ch] (operator!=): add operator.
10355
10356 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * BufferView_pimpl.C: refuse to open an inset when
10359         there's a selection.
10360
10361 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * BufferView_pimpl.C: allow to click on RHS of full row insets
10364
10365 2001-11-30  Juergen Vigna  <jug@sad.it>
10366
10367         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10368         insets for undo reasons.
10369
10370 2001-11-28  André Pönitz <poenitz@gmx.net>
10371
10372         * vspace.[Ch]: cosmetical changes
10373
10374 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * LyXAction.h:
10377         * LyXAction.C:
10378         * lyxfunc.h:
10379         * lyxfunc.C:
10380         * kbmap.h:
10381         * kbmap.C:
10382         * lyxrc.C:
10383         * kbsequence.h:
10384         * kbsequence.C: part re-write of old kb code
10385
10386         * Painter.C:
10387         * WorkArea.C: remove Lgb_bug_find_hack
10388
10389 2001-11-30  José Matos <jamatos@fep.up.pt>
10390
10391         * buffer.C (makeDocBookFile): add a comment to point a hack.
10392         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10393         Fixed a double write of labels.
10394
10395 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10396
10397         * LaTeX.C:
10398         * LaTeX.h Fixed bug in LaTeX class where it would not
10399         re-run latex if no depfiles were changed, but the .dvi was removed.
10400
10401 2001-11-28  André Pönitz <poenitz@gmx.net>
10402
10403         * all the files from the change on 2001/11/26:
10404         use lyx::layout_type instead of LyXTextClass::size_type
10405         use lyx::textclass_type instead of LyXTextClassList::size_type
10406
10407 2001-11-29  Juergen Vigna  <jug@sad.it>
10408
10409         * text.C: added support for paragraph::isFreeSpacing()
10410
10411         * buffer.C: same as above
10412
10413         * paragraph.h: inserted isFreeSpacing() function to enable
10414         FreeSpacing inside InsetERT.
10415
10416         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10417         of the paragraph's in the cut/copy buffer to 0!
10418
10419         * text2.C (removeRow): remove the assert as it can!
10420
10421         * lyxtext.h: added helper function firstRow returning firstrow and
10422         made firstrow private again.
10423
10424         * BufferView2.C (lockInset): don't relock if we're already locked!
10425
10426         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10427         the only paragraph.
10428         (removeRow): added Assert::(firstrow)
10429
10430         * debug.C: forgot to add INSETTEXT here.
10431
10432 2001-11-28  Juergen Vigna  <jug@sad.it>
10433
10434         * sp_spell.C (initialize): changed error text to more general
10435         spellchecker command use (not only ispell!)
10436
10437         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10438
10439         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10440
10441 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * vspace.C: initialise lyxgluelength on failure
10444
10445 2001-11-28  Allan Rae  <rae@lyx.org>
10446
10447         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10448         declaration & definition that looks like a function declaration.
10449
10450 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10451
10452         * BufferView2.C (copy):
10453         (copyEnvironment): do not clear the selection when doing a copy.
10454
10455         * text.C (paintFirstRow): compilation fix
10456
10457 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10458
10459         * tabular.C (Latex): correct line count when writing latex.
10460
10461 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * paragraph_pimpl.h:
10464         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10465           bug a bit
10466
10467 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10468
10469         * text.C:
10470         * LColor.h:
10471         * LColor.C: change vfillline->added_space
10472
10473         * text.C: add markers and text for added space
10474
10475         * vspace.C: fix comment
10476
10477 2001-11-28  André Pönitz <poenitz@gmx.net>
10478
10479         * paragraph.C: whitespace changes
10480         * all the other files from the change on 2001/11/26:
10481         change *::pos_type into lyx::pos_type
10482
10483 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10484
10485         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10486         language of the document when inserting error insets.
10487
10488 2001-11-26  André Pönitz <poenitz@gmx.net>
10489
10490         * BufferView_pimpl.[Ch]:
10491         *       CutAndPaste.C:
10492         * buffer.[Ch]:
10493         * lyxcursor.[Ch]:
10494         * lyxfind.C:
10495         * lyxfunc.C:
10496         * lyxrow.[Ch]:
10497         * paragraph.[Ch]:
10498         * paragraph_pimpl.[Ch]:
10499         * sp_spell.C:
10500         * text.C:
10501         * text2.C: reduce header dependencies, introduce type for positions
10502
10503 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10504
10505         * <various>: change to use Alert.h
10506
10507 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10508
10509         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10510         when encountering an unknown token.
10511         (readLyXformat2): Show an error message if there were unknown tokens.
10512
10513 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * BufferView2.C:
10516         * BufferView_pimpl.C:
10517         * buffer.C:
10518         * paragraph.h:
10519         * text.C:
10520         * text2.C: use par->isInset()
10521
10522 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10523
10524         * paragraph_pimpl.h:
10525         * paragraph_pimpl.C: cleanup
10526
10527 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10528
10529         * text2.C (removeRow):
10530         * text.C (setHeightOfRow): remove useless (and costly) call to
10531         getRow.
10532
10533 2001-11-20  Allan Rae  <rae@lyx.org>
10534
10535         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10536         Now need Inset*::checkInsertChar() to return true for appropriate
10537         cases so that the characters in the minibuffer will actually be
10538         inserted.
10539
10540 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10541
10542         * text.C: change the order of the includes.
10543         (workWidth): initialize it at once.
10544         (workWidth): make maxw unsigned
10545         (setHeightOfRow): remove unused variable (inset)
10546         (selectSelectedWord): remove unused variable (inset)
10547         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10548
10549 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10550
10551         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10552         server is not running.
10553         (openConnection):
10554         (closeConnection): add debug info when server is disabled.
10555
10556         * ColorHandler.C (getGCForeground): send debug message to GUI
10557         channel.
10558
10559         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10560
10561         * kbmap.C (bind): modify because return conventions of
10562         kb_sequence::parse have changed.
10563
10564         * kbsequence.C (parse): only ignore spaces and not any stupid
10565         control character. This avoids tests like s[i] <= ' ', which are
10566         guaranteed to fail with 8bit characters and signed chars.
10567         Change return code to string::npos when there have been no error
10568         (0 was a bad idea when error is at first character)
10569
10570 2001-11-14  José Matos  <jamatos@fep.up.pt>
10571
10572         * buffer.h:
10573         * buffer.C (simpleDocBookOnePar): removed unused argument.
10574
10575 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10576
10577         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10578         insets which are part of a word. Paragraph::isLetter takes care of
10579         that now. Use Paragraph::isInset to identify insets.
10580         (selectSelectedWord): do not test for hyphenation break.
10581
10582         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10583         that protected spaces are considered as spaces.
10584
10585         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10586         Inset::isLetter.
10587
10588 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * lyxserver.h:
10591         * lyxserver.C: fix it. and small cleanup.
10592
10593 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * BufferView_pimpl.C: use inline helpers
10596
10597         * LaTeXFeatures.h:
10598         * LaTeXFeatures.C: fix typos
10599
10600         * Spacing.h:
10601         * Spacing.C: move spacing_string into class
10602
10603         * ToolbarDefaults.C: move stuff into namespace anon
10604
10605         * layout.h: update enum
10606
10607         * lyxfunc.C: use better debug
10608
10609         * minibuffer.h: fix typo
10610
10611         * debug.h:
10612         * debug.C:
10613         * WorkArea.C: add and use Debug::WORKAREA
10614
10615         * lyxtext.h:
10616         * text.C:
10617         * text2.C: code re-organisation, inline helpers
10618
10619 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10620
10621         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10622         std::vector.empty().
10623
10624 2001-11-09  Allan Rae  <rae@lyx.org>
10625
10626         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10627         '\n's after tables.  Tabular and ERT inset work now makes this no
10628         longer necessary.
10629
10630 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * minibuffer.h:
10633         * minibuffer.C: fix crash, improve drop-down completion
10634
10635 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * lyxserver.h:
10638         * lyxserver.C: invalidate fd's when doing endPipe()
10639
10640 2001-11-08  José Matos  <jamatos@fep.up.pt>
10641
10642         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10643         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10644
10645         * paragraph.h:
10646         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10647
10648 2001-11-07  José Matos  <jamatos@fep.up.pt>
10649
10650         * buffer.h:
10651         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10652         const qualifier.
10653
10654         * buffer.C (sgmlOpenTag):
10655         * buffer.C (sgmlCloseTag): removed debug info.
10656
10657         * buffer.h (sgmlOpenTag):
10658         * buffer.h (sgmlCloseTag): made public.
10659
10660 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10661
10662         * buffer.C (saveParamsAsDefaults):
10663         * lyx_cb.C (MenuLayoutSave): remove
10664
10665         * LyXAction.C (init):
10666         * commandtags.h:
10667         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10668
10669 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10670
10671         * buffer.C (setPaperStuff): removed from here...
10672
10673         * bufferparams.C (setPaperStuff): ... and moved there.
10674
10675 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * minibuffer.h:
10678         * minibuffer.C:
10679         * XFormsView.C: add support for drop-down completion
10680
10681 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10682
10683         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10684         commands.
10685
10686 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10687
10688         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10689         disabled.
10690
10691 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * lyx_main.C: change ref to known bugs
10694
10695 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10696
10697         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10698         to work around older babel problems.
10699
10700 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10701
10702         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10703
10704 2001-10-24  Juergen Vigna  <jug@sad.it>
10705
10706         * tabular-old.C (ReadOld): below variable changes reflected.
10707
10708         * tabular.[Ch]: added ltType struct for longtable header/footer
10709         defines and changed all instances where they are used. Added
10710         future support for double top/bottom rows.
10711
10712 2001-10-24  José Matos  <jamatos@fep.up.pt>
10713
10714         * buffer.h (docbookHandleCaption):
10715         * buffer.C (docbookHandleCaption): removed unused function.
10716         (makeDocBookFile): moved docbook supported version to v4.1.
10717
10718 2001-10-24  José Matos  <jamatos@fep.up.pt>
10719
10720         * tabular.h:
10721         * tabular.C (docbookRow): new function to export docbook code of a row.
10722         (DocBook): now honors the longtable flags.
10723
10724 2001-10-23  José Matos  <jamatos@fep.up.pt>
10725
10726         * LaTeXFeatures.h:
10727         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10728         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10729
10730         * buffer.C (makeLinuxDocFile):
10731         (makeDocBookFile): reworked the preamble, more clean, and with
10732         support for lyx defined entities. Changed the document declaration
10733         to be more XML friendly.
10734
10735         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10736         if we need to output XML that should be done with a filter.
10737
10738 2001-10-22  Juergen Vigna  <jug@sad.it>
10739
10740         * sp_pspell.h (class PSpell): add alive function needed in the
10741         controller to see if the spellchecker could be started.
10742
10743 2001-10-22  Juergen Vigna  <jug@sad.it>
10744
10745         * buffer.C (insertStringAsLines): modify the font for inserting
10746         chars in certain conditions by calling checkInsertChar(font).
10747
10748 2001-10-19  Juergen Vigna  <jug@sad.it>
10749
10750         * text.C (workWidth): use getRow instead of wrong algorithm.
10751         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10752
10753 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * lyxserver.h:
10756         * lyxserver.C:
10757         * lyx_main.h:
10758         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10759
10760 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10761
10762         * text.C (workWidth): do not search for the exact row when
10763         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10764         optimization for big documents.
10765
10766 2001-10-18  Juergen Vigna  <jug@sad.it>
10767
10768         * text.C (workWidth): new function with added Inset * parameter.
10769
10770 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10771
10772         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10773
10774         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10775         change return type of getColumnNearX.
10776
10777
10778         * text.C (changeRegionCase): use uppercase/lowercase instead of
10779         toupper/tolower.
10780         (leftMargin):
10781         (rightMargin): simplify code by factoring out the uses of
10782         textclasslist.
10783         (labelFill):
10784         (numberOfHfills):
10785         (setHeightOfRow):
10786         (appendParagraph): use Paragraph::size_type
10787
10788 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * vspace.C (asLatexString): add a missing break
10791
10792 2001-10-15  Herbert Voss  <voss@perce.de>
10793
10794         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10795
10796 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10797
10798         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10799         is not available.
10800
10801 2001-10-10  André Pönitz <poenitz@gmx.net>
10802
10803         * lyxfunc.C: removed greek_kb_flag.
10804
10805 2001-10-10  Herbert Voss  <voss@perce.de>
10806
10807         * lyx_main.C: delete global string help_lyxdir.
10808
10809 2001-10-09  Herbert Voss  <voss@perce.de>
10810
10811         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10812
10813         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10814
10815         * lyx_main.C: added global string help_lyxdir.
10816
10817         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10818
10819 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10820
10821         * lyxrc.C (set_font_norm_type): support iso8859-4
10822
10823 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10824
10825         * LaTeX.C (deplog): add another regex for MikTeX
10826
10827 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10828
10829         * lyxrc.C (set_font_norm_type): support iso8859-3
10830
10831 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10832
10833         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10834
10835         * LaTeXFeatures.C: remove special case of french and index
10836
10837         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10838         before \begin{document}). This solves several incompatibilities.
10839
10840 2001-10-03  Garst Reese  <reese@isn.net>
10841
10842         * lyx_cb.C: change CheckTex error msg.
10843
10844 2001-10-03  José Matos  <jamatos@fep.up.pt>
10845
10846         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10847
10848 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10849
10850         * .cvsignore: update
10851
10852         * lyx_main.C (commandLineVersionInfo): use new style version info.
10853
10854         * buffer.C (writeFile):
10855         (makeLaTeXFile):
10856         (makeLinuxDocFile):
10857         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10858
10859         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10860
10861         * version.h: update to use stuff in version.C
10862
10863         * version.C.in: new file. Contains version information determined
10864         at compile time. This is a merging of version.h and
10865         version_info.h.in.
10866
10867 2001-10-03  Juergen Vigna  <jug@sad.it>
10868
10869         * BufferView_pimpl.C (update): don't change "dirty" status in
10870         updateInset call.
10871
10872 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * WorkArea.C (c-tor): re-position version string slightly.
10875
10876 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10877
10878         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10879         revert to previous code.
10880
10881         WorkArea.[Ch]: (show, destroySplash): methods removed.
10882
10883         WorkArea.C: rework code so that it's an amalgam of the codes before and
10884         after the splash screen was moved to WorkArea.
10885
10886 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10887
10888         * lyxrc.C (read):
10889         * vspace.C (inPixels):
10890         (lyx_advance):
10891         * kbmap.C (bind):
10892         * buffer.C (insertStringAsLines):
10893         (asciiParagraph): fix types to be large enough
10894
10895         * lyxlex_pimpl.h: change member status from short to int
10896
10897         * layout.h: fix type of endlabeltype
10898
10899         * kbmap.C (bind):
10900         * kbsequence.C (parse): change return type to string::size_type
10901
10902         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10903         variable
10904
10905         * Bullet.C (bulletSize):
10906         (bulletEntry): do not use short ints as parameters
10907
10908         * BufferView2.C (insertLyXFile): change a char to an int.
10909
10910         * WorkArea.C (WorkArea): remove unneeded floats in computation
10911
10912 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10913
10914         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10915
10916         * paragraph.C (asString): Do not ignore newline/hfill chars when
10917         copying to the clipboard.
10918
10919 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10920
10921         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10922         after a multi-line inset.
10923
10924 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10925
10926         * paragraph.C (validate): Set NeedLyXFootnoteCode
10927
10928 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10929
10930         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10931         and decrease-error to decrease.
10932
10933 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10934
10935         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10936         it more readable (should be equivalent)
10937
10938 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10939
10940         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10941
10942 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10943
10944         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10945         of a cursor (row, etc.) after a character has been deleted
10946         (deleteEmptyParagraphMechanism): call the method above on _all_
10947         cursors held by the LyXText when a double space has been
10948         detected/deleted.
10949
10950 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10951
10952         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10953         pixmap.
10954         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10955
10956         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10957         background. Use greyOut() and the new show() methods to toggle between
10958         the foreground and background. Add code to remove the splash after
10959         its initial showing.
10960
10961         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10962         (create_forms): no longer call Dialogs::showSplash.
10963
10964 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10965
10966         * .cvsignore: add version_info.h
10967
10968 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10969
10970         * version_info.h.in: new file
10971
10972         * Makefile.am: add version_info.h.in
10973
10974         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10975         version_info.h instead of VERSION_INFO
10976
10977 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10978
10979         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10980         The ERT inset now returns string().
10981
10982 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10983
10984         * lyxtext.h, text.C (selectNextWord): renamed as
10985         selectNextWordToSpellcheck.
10986
10987         * text.C (selectNextWordToSpellcheck): Modified to not select
10988         words inside an ERT inset.
10989
10990 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10991
10992         * lyx_cb.C (MenuLayoutSave): change a bit the question
10993
10994         * sp_base.h: include <sys/types.h>
10995
10996 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10997
10998         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10999
11000 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11001
11002         * several files: fix typos in user-visible strings
11003
11004 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11005
11006         * text2.C (pasteSelection): do not set the selection, since it
11007         will be cleared later. Actually, the intent was to fix the way the
11008         selection was set, but I figured rmoving the code was just as good.
11009
11010 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11011
11012         * FontLoader.C (available): Check if font is available without
11013         loading the font.
11014
11015 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11016
11017         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11018
11019 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11020
11021         * lyxrc.[Ch]: added display_graphics variable and associated code.
11022
11023 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11024
11025         * bufferparams.C (hasClassDefaults): new method. Returns true if
11026         the buffer parameters correspond to known class defaults
11027
11028 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11029
11030         * XFormsView.C (show): set minimum size to the main window.
11031
11032 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11033
11034         * text2.C (copySelection):
11035         (cutSelection):
11036         * lyxfind.C (LyXReplace):
11037         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11038         LyXText::selectionAsString.
11039
11040         * paragraph.C (asString): add "label" argument to the second form
11041
11042         * text2.C (selectionAsString): add "label" argument and pass it to
11043         Paragraph::asString.
11044
11045 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11046
11047         * lyx_main.C (commandLineHelp): remove version information
11048
11049 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11050
11051         * lyx_main.C: add -version commandline option
11052
11053 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11054
11055         * paragraph.h: make the optional constructor arg required instead.
11056         some modifications to other files because of this.
11057
11058         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11059
11060         * lyxserver.C (C_LyXComm_callback): make it static
11061
11062         * lyx_main.C (error_handler): make it static
11063
11064         * lyx_gui.C (LyX_XErrHandler): make it static
11065
11066         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11067
11068         * WorkArea.C: make the extern "C" methods static.
11069
11070         * Makefile.am (lyx_LDADD): simplify
11071
11072 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11073
11074         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11075         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11076
11077         * LyXAction.C (init):
11078         * lyxfunc.C (dispatch): associated code removal.
11079
11080 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11081
11082         * lyxfont.h (isSymbolFont): shut off warning
11083
11084         * text.C (setHeightOfRow):
11085         (getVisibleRow): fix crash with empty paragraphs which have a
11086         bottom line
11087
11088 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11089
11090         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11091         code.
11092
11093 2001-09-04  José Matos  <jamatos@fep.up.pt>
11094         * buffer.C
11095         * buffer.h
11096         * tabular.C (docbook): rename docBook method to docbook.
11097
11098 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11099
11100         * Makefile.am: add dependencies to main.o.
11101
11102 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11103
11104         * FontLoader.C (available): Return false if !lyxrc.use_gui
11105
11106 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11107
11108         * FontInfo.C (query):
11109         * converter.C (view):
11110         * importer.C (Import):
11111         * exporter.C (Export): Can not -> cannot.
11112
11113 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * BufferView_pimpl.C: allow to create index inset even if
11116           string is empty
11117
11118 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11119
11120         * buffer.C (getLists): replace boost::tie code with an explicit pair
11121         as boost::tie can break some compilers.
11122
11123         * iterators.h: Added a std:: declaration to the return type of
11124         ParIterator::size.
11125
11126 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11129           case.
11130
11131 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11132
11133         * iterators.[Ch]: New files. Provide paragraph iterators.
11134
11135         * buffer.C (changeLanguage): Use paragraph iterators.
11136         (isMultiLingual): ditto
11137
11138         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11139
11140 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11141
11142         * FontLoader.C: Support for cmr font.
11143
11144 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11145
11146         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11147         (available): New method.
11148
11149         * FontInfo.C (getFontname): Use scalable fonts even when
11150         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11151         found.
11152
11153 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11154
11155         * converter.C (Formats::view): reverted! Incorrect fix.
11156
11157 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11158
11159         * converter.C (Formats::view): only output the -paper option
11160         if the dvi viewer is xdvi, thereby fixing bug #233429.
11161
11162 2001-08-23  Herbert Voss  <voss@perce>
11163
11164         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11165
11166 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11167
11168         * Spacing.h (Spacing): Set space to Default on in the default
11169         constructor.
11170
11171 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11172
11173         * vc-backend.h (RCS::versionString): add RCS to version
11174         (CVS::versionString): add CVS to version
11175
11176         * vc-backend.C (scanMaster): do not add CVS to version.
11177         (scanMaster): do not add RCS to version
11178
11179         * lyxvc.C (versionString): new method
11180
11181         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11182
11183 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11184
11185         * Spacing.C (set): initialize fval
11186
11187 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11188
11189         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11190         " or \.
11191
11192 2001-08-16  Juergen Vigna  <jug@sad.it>
11193
11194         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11195
11196 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * BufferView_pimpl.C:
11199         * figureForm.C:
11200         * lyxtext.h:
11201         * text2.C: setParagraph takes linespacing now
11202
11203 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11204
11205         * LyxAction.C: add internal LFUN_CITATION_INSERT
11206
11207         * LyXView.C: actually apply fix
11208
11209         * bufferlist.C: fix open non-existent file
11210
11211         * lyxfind.C: fix indentation
11212
11213         * lyxfunc.C: remove unneeded assert, fix typo
11214
11215 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11216
11217         * MenuBackend.C: use "Floatname List"
11218
11219 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11220
11221         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11222         when converting LaTeX layout to insetERT.
11223         Generate a non-collapsed float when reading old float
11224
11225 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11226
11227         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11228         ERT insets.
11229
11230 2001-08-13  Juergen Vigna  <jug@sad.it>
11231
11232         * text.C (fill): return 0 instead of 20 as this seems to be the more
11233         correct value.
11234
11235 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11236
11237         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11238         lyxrc.font_norm.
11239
11240 2001-08-13  Juergen Vigna  <jug@sad.it>
11241
11242         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11243         casesensitive off.
11244         (SearchBackward): comment out the unlocking of the inset_owner this
11245         should not be needed!
11246
11247 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11248
11249         * Many files: Remove inherit_language, and add latex_language
11250
11251         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11252         collapsible insets.
11253
11254 2001-08-10  Juergen Vigna  <jug@sad.it>
11255
11256         * text.C (prepareToPrint): fixed hfill-width in draw!
11257
11258         * BufferView2.C (selectLastWord): save the selection cursor as this
11259         now is cleared in the function LyXText::clearSelection!
11260
11261 2001-08-08  Juergen Vigna  <jug@sad.it>
11262
11263         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11264         BACKSPACE type functions.
11265
11266         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11267         is only cutted from the document but not put in the cut-buffer, where
11268         still the old stuff should be.
11269
11270         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11271
11272         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11273
11274         * tabular.C (SetWidthOfCell): fixed special case where the width
11275         was not updated!
11276         (LeftLine): handle '|' in align_special.
11277         (RightLine): ditto
11278         (LeftAlreadyDrawed): ditto
11279         (SetWidthOfCell): ditto
11280
11281 2001-08-07  Juergen Vigna  <jug@sad.it>
11282
11283         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11284
11285 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11286
11287         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11288         * lyxlex.[hC]: ditto
11289
11290 2001-08-06  Juergen Vigna  <jug@sad.it>
11291
11292         * text.C (getVisibleRow): fix up row clearing a bit.
11293
11294 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11295
11296         * minibuffer.C: make sure the X server sees the changes in the input.
11297
11298 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11299
11300         * paragraph.C (getFont): split into...
11301         (getLabelFont): this
11302         (getLayoutFont): and this
11303         * paragraph_pimpl.C (realizeFont): calling this
11304
11305         * text2.C (getFont): split into...
11306         (getLayoutFont): this
11307         (getLabelFont): and this
11308         (realizeFont): all three calling this
11309
11310         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11311         files where used.
11312
11313 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11314
11315         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11316
11317 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11318
11319         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11320         layouts from the Quote inset insertion.
11321
11322 2001-08-03  Juergen Vigna  <jug@sad.it>
11323
11324         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11325
11326         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11327         only if status not is already CHANGED_IN_DRAW (second level).
11328
11329         * text.C (draw): don't set the need_break_row when inside an
11330         InsetText LyXText.
11331
11332 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * buffer.C (parseSingleLyXformat2Token): handle more latex
11335         conversion cases.
11336
11337         * bufferview_funcs.[hC]: change function names to
11338         begin with small char, adjust other files.
11339
11340 2001-08-02  André Pönitz <poenitz@gmx.net>
11341
11342         * lyxfunc.C:
11343         BufferView_pimpl.C: remove broken special code for math-greek
11344
11345 2001-08-02  Juergen Vigna  <jug@sad.it>
11346
11347         * BufferView_pimpl.C (update): redone this function so that we
11348         update the text again if there was a CHANGE_IN_DRAW.
11349
11350         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11351         (drawFromTo): added a new internal bool which is used by draw() and
11352         redraw() function.
11353         (general): some cursor drawing problems fixed.
11354
11355 2001-08-01  Juergen Vigna  <jug@sad.it>
11356
11357         * lyxfind.C (LyXFind): fixed
11358         (SearchForward): ditto
11359         (SearchBackward): ditto
11360
11361         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11362         spurius drawing of the cursor in the main area.
11363
11364         * text2.C (status): small fix which could lead to a segfault!
11365         (clearSelection): remove unneeded BufferView param.
11366
11367 2001-08-01  André Pönitz <poenitz@gmx.net>
11368
11369         * lyxfunc.C: small change due to changed mathed interface
11370
11371 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11372
11373         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11374
11375 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * lyxfunc.c: fail gracefully if file doesn't exist
11378
11379         * LyXSendto.C:
11380         * buffer.C:
11381         * lyxfunc.C:
11382         * BufferView_pimpl.C: IsDirWriteable() proto changed
11383
11384         * LyXView.C: fix updateWindowTitle() to store the last title
11385
11386 2001-07-31  Juergen Vigna  <jug@sad.it>
11387
11388         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11389         the font (wrong since using of Paragraph::highestFontInRange).
11390
11391         * paragraph.C (highestFontInRange): added a default_size parameter.
11392
11393         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11394         (setHeightOfRow): reformat
11395
11396 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * converter.[hC] + affected files: move to (inital-char)lowercase
11399         function names.
11400
11401         * ParagraphParameters.C (ParagraphParameters): remove commented code
11402
11403         * PainterBase.[Ch]: remove commented code
11404
11405         * LaTeXFeatures.h: add "bool floats" for float.sty
11406
11407         * LaTeXFeatures.C (LaTeXFeatures): init floats
11408         (require): handle float
11409         (getPackages): do it with floats
11410
11411 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11412
11413         * BufferView_pimpl.C (Dispatch): improve handling of
11414         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11415
11416         * commandtags.h: #include lyxfont.h here temporarily to avoid
11417         keybinding bug.
11418
11419         * bufferlist.h: include LString.h here.
11420
11421 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11422
11423         * text2.C (getStringToIndex): new method.
11424
11425 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11426
11427         * *: Reduced header file dependencies all over.
11428
11429 2001-07-30  Baruch Even  <baruch@lyx.org>
11430
11431         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11432
11433 2001-07-29  Baruch Even  <baruch@lyx.org>
11434
11435         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11436
11437 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * ParameterStruct.h (endif): add a default constructor to make
11440         sure that all variables is initialized.
11441
11442         * ParagraphParameters.C (ParagraphParameters): adjust
11443
11444 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11445
11446         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11447         index; also, check that there is something to index, and that it
11448         does not span over several paragraphs.
11449         (doubleClick): use WHOLE_WORD_STRICT for double click.
11450
11451         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11452
11453         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11454         scheme.
11455
11456 2001-07-26  Baruch Even  <baruch@lyx.org>
11457
11458         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11459         an InsetFig figure, backwards compatible reading of old figure code.
11460
11461 2001-07-27  Juergen Vigna  <jug@sad.it>
11462
11463         * text2.C: font.realize function adaption.
11464
11465         * text.C (draw): add a warnings lyxerr text if needed.
11466
11467         * layout.C: font.realize function adaption.
11468
11469         * language.C: add inherit_language and implement it's handlings
11470
11471         * bufferview_funcs.C (StyleReset): remove language parameter from
11472         font creation (should be language_inherit now).
11473
11474         * bufferparams.C (writeFile): handle ignore_language.
11475
11476         * paragraph.C (getFontSettings): the language has to be resolved
11477         otherwise we have problems in LyXFont!
11478
11479         * lyxfont.C (lyxWriteChanges): added document_language parameter
11480         (update): removed unneeded language parameter
11481
11482         * paragraph.C (validate): fixed wrong output of color-package when
11483         using interface colors for certain fonts in certain environments,
11484         which should not seen as that on the final output.
11485
11486 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * BufferView_pimpl.C:
11489         * Thesaurus.h:
11490         * Thesaurus.C:
11491         * Makefile.am:
11492         * commandtags.h:
11493         * LyXAction.C: add thesaurus support
11494
11495         * lyxfind.h:
11496         * lyxfind.C: add "once" parameter, for thesaurus, to not
11497           move to the next match
11498
11499 2001-07-26  Juergen Vigna  <jug@sad.it>
11500
11501         * lyxfont.C (realize): honor ignore_language too!
11502         (resolved): ditto.
11503
11504         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11505
11506         * text.C (draw): one place more for ignore_language to not draw
11507         itself!
11508
11509 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11510
11511         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11512
11513 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11516         the minipage conversion problem.
11517
11518 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11519
11520         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11521         insert an inset.
11522
11523 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * BufferView.h: don't forward declare WorkArea
11526
11527         * BufferView.C: don't include WorkArea.h
11528
11529 2001-07-25  André Pönitz <poenitz@gmx.net>
11530
11531         * commandtags.h:
11532         * LyXAction.C:
11533         * lyxfunc.C:  new LFUN 'math-space'
11534
11535         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11536
11537 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * text2.C (toggleInset): call open/close
11540
11541 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * lyxfunc.C (dispatch): add debug for the disabled case
11544
11545         * font.C (buttonText): make similar to rectText
11546
11547         * buffer.C (readInset): comment out parsing of insetlist and
11548         insttheorem
11549
11550         * PainterBase.C (rectText): small correction
11551
11552         * BufferView_pimpl.C: comment out insettheorem and insetlist
11553         * LyXAction.C: ditto
11554         * commandtags.h: ditto
11555
11556 2001-07-24  Juergen Vigna  <jug@sad.it>
11557
11558         * text.C (draw): honor the ignore_language.
11559
11560         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11561
11562 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11563
11564         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11565         char inset.
11566
11567 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11568
11569         * lyxtext.h: remove unused (and unimplemented) methods
11570
11571 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11572
11573         * text.C (getVisibleRow): honor background color
11574
11575         * PainterBase.h:
11576         * Painter.h: remove default color argument for fillRectangle
11577
11578         * text.C (backgroundColor): new method
11579
11580 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11581
11582         * text.C (getVisibleRow): adjust
11583
11584         * font.[Ch] (rectText): new method, metrics
11585         (buttonText): new method, metrics
11586
11587         * PainterBase.[hC]: make rectText and buttonText always draw and take
11588         fewer paramteres.
11589
11590 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11591
11592         * ToolbarDefaults.C (read):
11593         * MenuBackend.C (read): allow escaping in all strings
11594
11595         * BufferView_pimpl.C (insertAndEditInset): new method.
11596         (Dispatch): use insertAndEditInset whenever appropriate.
11597
11598         * BufferView_pimpl.C (insertNote): removed
11599
11600         * BufferView_pimpl.C (smartQuote): new method, moved from
11601         BufferView; if an insetquote cannot be inserted, insert a '"'
11602         character instead.
11603
11604         * BufferView2.C: remove insertCorrectQuote();
11605
11606         * lyxfunc.C (getStatus): Add support for all remaingin
11607         inset-insert lfuns.
11608
11609         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11610
11611         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11612         command (necessary to pass " as parameter of self-insert.
11613
11614         * text.C (selectWordWhenUnderCursor):
11615         (selectWord): add word_location parameter
11616         (selectWordWhenUnderCursor): same + remove special code for word
11617         boundary.
11618         (selectNextWord): use kind() to guess type of insetspecialchar,
11619         not latex().
11620
11621         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11622         (insertErtContents): create ert insets as collapsed.
11623         (readInset): better compatibility code for Info inset.
11624
11625 2001-07-20  Juergen Vigna  <jug@sad.it>
11626
11627         * lyxfunc.C (dispatch): use always LyXFind now!
11628
11629         * text2.C (init): add a reinit flag so that the LyXText can be
11630         reinited instead of deleted and reallocated (used in InsetText).
11631
11632         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11633
11634         * text.C: ditto
11635
11636         * text2.C: ditto
11637
11638 2001-07-18  Juergen Vigna  <jug@sad.it>
11639
11640         * text.C (selectNextWord): handle insets inside inset by calling
11641         always the bv->text functions so that we can go up the_locking_inset!
11642
11643         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11644         in strange locations when inside an inset!
11645
11646         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11647         handling to include insets.
11648
11649         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11650
11651 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11652
11653         * LyXAction.C (init):
11654         * commandtags.h:
11655         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11656         LIGATURE_BREAK, since the name is so stupid.
11657
11658 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11659
11660         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11661         InsetInfos.
11662
11663         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11664
11665         * sp_form.[Ch]: remove.
11666
11667         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11668
11669         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11670         InsetInfo.
11671
11672         * src/buffer.C (readInset): ditto.
11673
11674 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11675
11676         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11677         menuSeparator(), endOfSentenceDot(), ldots() and
11678         hyphenationPoint(), which are therefore removed.
11679         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11680
11681         * LyXAction.C (init):
11682         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11683
11684         * paragraph.C (getWord): removed.
11685
11686         * BufferView_pimpl.C (Dispatch): use last word or selection for
11687         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11688
11689         * lyx_main.C (queryUserLyXDir): do not ask before creating
11690         user_dir, except if it has been named explicitely.
11691
11692 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11693
11694         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11695         a document of zero size.
11696
11697 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11698
11699         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11700         approriately in the c-tor and in require().
11701         (getPackages): output the appropriate LaTeX for natbib support.
11702
11703         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11704         variables "use_natbib" and "use_numerical_citations" when reading the
11705         LyX file.
11706         (readInset): read the various natbib cite commands.
11707         (validate): white-space change.
11708
11709         * bufferparams.[Ch]: new variables "bool use_natbib" and
11710         "bool use_numerical_citations".
11711         (writeFile): output them in the LyX file.
11712
11713 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11714
11715         * lyxfunc.C (getStatus): add support for all the inset insertion
11716         commands.
11717
11718         * text2.C (insertInset):
11719         * paragraph.C (insetAllowed):
11720         * BufferView_pimpl.C (insertInset): update to take in account the
11721         renaming of insertInsetAllowed
11722
11723         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11724
11725         * text2.C (getInset): new method. returns inset at cursor position.
11726
11727         * BufferView_pimpl.C (Dispatch): changes because of this.
11728
11729         * LyXAction.C (init): rename open-stuff to inset-toggle.
11730
11731         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11732
11733         * text2.C (toggleInset): renamed from openStuff; use
11734         Inset::open().
11735
11736 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11737
11738         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11739
11740         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11741
11742 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11743
11744         * buffer.C (readLyXformat2): Add filename to the error dialog
11745
11746 2001-07-18  Juergen Vigna  <jug@sad.it>
11747
11748         * tabular.C (GetCellNumber): put an assert here instead of the check!
11749
11750 2001-07-17  Juergen Vigna  <jug@sad.it>
11751
11752         * BufferView_pimpl.C (toggleSelection): adapted too.
11753
11754         * text.C (selectNextWord): adapted for use with insets.
11755         (selectSelectedWord): ditto
11756
11757 2001-07-17  Juergen Vigna  <jug@sad.it>
11758
11759         * sp_spell.C (PSpell): fix initialitation order.
11760
11761 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * paragraph.C: spacing
11764
11765 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11766
11767         * sp_spell.C: repair language selection for pspell
11768
11769 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11770
11771         * lyxfunc.h: change more methods to begin with lower char.
11772
11773 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11774
11775         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11776         for unknown layouts.
11777
11778 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11779
11780         * buffer.C (readLyXformat2): Generate an error dialog if there are
11781         unknown layouts.
11782
11783 2001-07-16  Juergen Vigna  <jug@sad.it>
11784
11785         * sp_spell.C: always compile ISpell part.
11786
11787         * lyxrc.C: added use_pspell entry and it's handling.
11788
11789 2001-07-13  Juergen Vigna  <jug@sad.it>
11790
11791         * sp_spell.C: removed double includes.
11792
11793 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11794
11795         Consistent use of Lsstream.h:
11796         * Lsstream.h: added using std::stringstream for consistencies sake.
11797
11798         * buffer.C: removed using std::stringstream
11799
11800         * lyxfont.C (stateText):
11801         * paragraph.C (asString):
11802         * text.C (selectNextWord, selectSelectedWord):
11803         * text2.C (setCounter):
11804         * vspace.C (asString, asLatexString):
11805         std::ostringstream -> ostringstream.
11806
11807 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11808
11809         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11810         * commandtags.h: add LFUN_HELP_ABOUTLYX
11811         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11812
11813 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11814
11815         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11816         cursorToggle()
11817         * lyx_gui_misc.C: remove spellchecker
11818         * lyxfunc.C: showSpellchecker
11819         * sp_base.h: added
11820         * sp_ispell.h: added
11821         * sp_pspell.h: added
11822         * sp_spell.C: added
11823         * sp_form.[Ch]: removed
11824         * spellchecker.[Ch]: removed
11825
11826 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11827
11828         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11829         is set.
11830         (simpleTeXSpecialChars): Simply print the input character without
11831         any special translation if pass_thru is set.
11832
11833         * layout.h: Added bool pass_thru to layout class for being able to
11834         implement pass through of a paragraph for Literate Programming.
11835
11836         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11837         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11838         * layout.C (Read): add "passthru" to list of layout tags and add
11839         code to set the pass_thru boolean when it is read.
11840
11841 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11842
11843         * trans_decl.h: remove allowed from KmodInfo
11844
11845         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11846         remove allowed code
11847         (Load): adjust
11848
11849         * paragraph_pimpl.C (erase): use boost::prior
11850
11851         * Painter.C (text): use data() instead of c_str() when length is
11852         also provided.
11853         * WorkArea.C (putClipboard): ditto
11854         * font.h (width): ditto
11855
11856         * BufferView2.C: use it-> instead of (*it). for iterators
11857         * texrow.C: ditto
11858         * paragraph_pimpl.C: ditto
11859         * paragraph.C: ditto
11860         * minibuffer.C: ditto
11861         * language.C: ditto
11862         * kbmap.C: ditto
11863         * encoding.C: ditto
11864         * counters.C: ditto
11865         * converter.C: ditto
11866         * chset.C: ditto
11867         * Variables.C: ditto
11868         * TextCache.C: ditto
11869         * MenuBackend.C: ditto
11870         * LyXAction.C: ditto
11871         * LColor.C: ditto
11872         * FloatList.C: ditto
11873         * DepTable.C: ditto
11874         * ColorHandler.C (LyXColorHandler): ditto
11875
11876 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11879
11880         * text2.C (openStuff): reintroduce this method (which had been
11881         nuked in NEW_INSETS frenzy).
11882
11883         * lyxfunc.C (Dispatch): when an action has not been handled, use
11884         its name in the error message, not its number.
11885
11886         * paragraph.C (inInset): change method name to begin with lowercase.
11887
11888         * undo_funcs.C:
11889         * text2.C: updates because of this.
11890
11891 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11892
11893         * ToolbarDefaults.C (add): add spaces in error message
11894
11895 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11898         (readLyXformat2): rename return_par to first_par, use lyxlex's
11899         pushToken and remove the manual push handling.
11900         (parseSingleLyXformat2Token): add another ert comp. variable:
11901         in_tabular, rename return_par to first_par. handle newlines better
11902
11903 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11904
11905         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11906
11907 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * text2.C (getParFromID): removed
11910
11911         * buffer.C (getParFromID): new method moved form lyxtext.
11912         * BufferView2.C (insertErrors): adjust
11913         (setCursorFromRow): adjust
11914         * BufferView_pimpl.C (restorePosition): adjust
11915         * lyxfunc.C (Dispatch): adjust
11916         * undo_funcs.C (textUndo): adjust
11917         (textRedo): adjust
11918         (textHandleUndo): adjust
11919         (textHandleUndo): adjust
11920
11921 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * buffer.C: up' the LYX_FORMAT
11924
11925         * lyxfont.h: turn NO_LATEX on as default
11926
11927         * buffer.C (insertErtContents): new methods of tex style compability.
11928         (parseSingleLyXformat2Token): use it several places.
11929         * tabular.C (OldFormatRead): and here
11930
11931 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * text2.C: remove some commented code.
11934         reindent file.
11935
11936         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11937         * trans.C: changes because of the above.
11938
11939 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11940
11941         * text2.C (setCounter): Fix counters bug with bibliography layout.
11942
11943 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11944
11945         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11946         own member functions
11947         (simpleTeXSpecialChars): ditto
11948
11949 2001-07-06  Juergen Vigna  <jug@sad.it>
11950
11951         * a lot of files: changed the access to LyXText::status and the
11952         call of undo-functions.
11953
11954         * undo.[Ch]: added a inset_id to the undo informations.
11955
11956         * undo_funcs.[Ch]: added and moved here all undo functions.
11957
11958         * lyxtext.h: give the status enum a weight, made status_ a private
11959         variable and made accessor functions for it, removed the whole bunch
11960         of undo-functions as they are now in their own file, make some
11961         functions publically available. Added function ownerParagraph with
11962         int parameter.
11963
11964         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11965         made InInset() a const function, added getParFromID() function.
11966
11967         * buffer.[Ch]: added const version for inset_iterator functions,
11968         added getInsetFromID() function.
11969
11970         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11971         changed undo functions for new version.
11972
11973 2001-07-05  Juergen Vigna  <jug@sad.it>
11974
11975         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11976         unknow mechanism does not call the proper constructor but only this
11977         one also if I request the other!?
11978
11979 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11982
11983         * text2.C (LyXText): use initialization lists.
11984
11985         * lyxtext.h (Selection): initialize set_ and mark_
11986         (init): remove method
11987
11988 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11989
11990         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11991
11992 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11993
11994         * screen.[Ch]: change method names to begin with lowercase
11995
11996         * BufferView_pimpl.C (updateScrollbar): simplify further and
11997         hopefully make it a bit faster.
11998
11999 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12000
12001         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12002         calling directly xforms functions.
12003
12004         * Painter.C (Painter):
12005         * lyx_cb.C (MenuWrite):
12006         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12007         fl_display.
12008
12009         * lyx_gui.C: remove bogus guiruntime extern declaration.
12010
12011 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12012
12013         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12014         in NEW_INSETS
12015         (redoDrawingOfParagraph): ditto
12016         (redoParagraphs): ditto
12017         (cutSelection): don't create a object for CutAndPaste use the
12018         static method directly
12019         (pasteSelection): ditto
12020
12021         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12022         LyXview (+ rename)
12023
12024 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12025
12026         * modifications to some other files because of this.
12027
12028         * Makefile.am (lyx_SOURCES): add XFormsView
12029
12030         * XFormsView.[Ch]: new files
12031
12032         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12033         the main window. Move the gui dependent stuff to XFormsView
12034
12035 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12036
12037         * tabular.C (GetCellInset): update cur_cell also in the row/col
12038         version of this function.
12039
12040         * lyxfunc.C: no need to include figure_form.h here.
12041
12042         * FontLoader.h:
12043         * lyxfunc.h:
12044         * lyxscreen.h:
12045         * text2.C:
12046         * lyxvc.C: no need to include forms.h here.
12047
12048 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12049
12050         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12051
12052         * lyxfunc.C (Dispatch):
12053         * Spacing.C (set):
12054         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12055         constructor argument.
12056
12057 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * paragraph.C (Paragraph): dont't clear, and just set layout.
12060         (makeSameLayout): use params's copy contructor.
12061
12062         * ParagraphParameters.[Ch] (makeSame): delete method
12063
12064 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * Variables.[Ch]: fix indentation, rename set to isSet
12067
12068 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * lyxfunc.C (Dispatch): fix typo
12071
12072 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12073
12074         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12075         upper_bound.
12076
12077         * bufferlist.C: include assert.h for emergencyWrite().
12078
12079 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12082           give up at last (bug #425202) !
12083
12084 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * lyx_gui_misc.C:
12087         * sp_form.h:
12088         * sp_form.C:
12089         * spellchecker.h:
12090         * spellchecker.C: strip spellchecker options and bring up
12091           preferences tab instead
12092
12093 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12096         the istringstream constructor
12097
12098 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12099
12100         * paragraph.C (getLayout): fix return value
12101
12102         * paragraph.h: do not declare getLayout as inline.
12103
12104         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12105
12106 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * lyxcursor.h (operator<): new func
12109         (operator>): new func
12110         (operator>=): new func
12111         (operator<=): new func
12112
12113         * text.C (changeCase): use selection.start and selection.end
12114         (changeRegionCase): require from to be <= to. Require par to be a
12115         valid paragraph.
12116
12117         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12118
12119 2001-06-27  Juergen Vigna  <jug@sad.it>
12120
12121         * text.C (cursorLeftOneWord): changed to return the cursor and added
12122         overlay with BufferView * parameter which calls this one.
12123         (getWord): added
12124         (selectWord): use new getWord function.
12125         (changeCase): renamed from changeWordCase as and extended to work
12126         also on selections.
12127
12128         * lyxtext.h: added enum word_location
12129
12130         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12131         changeCase as this operates now also on selections.
12132
12133 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12134
12135         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12136
12137         * many files: send debug output to Debug::INFO instead of
12138         Debug::ANY.
12139
12140         * converter.C (View):
12141         (Convert):
12142         (Move): send debug output to Debug::FILES instead of console.
12143
12144 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12145
12146         * lyxfunc.C (getStatus): use func_status
12147
12148         * func_status.h: new header, describing the results of
12149         LyXFunc::getStatus;
12150
12151         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12152         LFUN_MATH_HALIGN.
12153
12154 2001-06-25  The LyX Project  <jug@sad.it>
12155
12156         * buffer.C (sgmlOpenTag):
12157         (sgmlCloseTag):
12158         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12159
12160 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * text2.C: remove some dead code
12163
12164         * tabular.C (GetCellInset): store the last cell checked (gotten)
12165
12166         * tabular.h: add the helper for the speedup
12167
12168         * lyxtext.h: remove some dead code
12169
12170 2001-06-26  The LyX Project  <Asger>
12171
12172         * paragraph.C: Change export to LaTeX of alignment to
12173         \begin{center} and family for better roundtrip work with reLyX.
12174
12175         * Tune the math drawing a bit.
12176
12177 2001-06-25  The LyX Project  <Asger>
12178
12179         * LColor.C (LColor): New color for math background. New color
12180         for buttons.
12181
12182 2001-06-25  The LyX Project  <jug@sad.it>
12183
12184         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12185
12186         * lyxfunc.C (Open):
12187         * bufferlist.C (newFile): do not restrict to files ending with
12188         .lyx
12189
12190         * BufferView_pimpl.C (MenuInsertLyXFile):
12191
12192 2001-06-24  The LyX Project  <jug@sad.it>
12193
12194         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12195         of compare_no_case
12196
12197 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * lyxtext.h: rename most methods to begin with a small char.
12200         Lots of changes because of this.
12201
12202         * paragraph.C (Paragraph): do not call fitToSize
12203         (erase): call Pimpl::erase
12204         (insertChar): call Pimpl::insertChar
12205         (insertInset): call Pipl::insertInset
12206         (breakParagraph): do not call fitToSize
12207         (breakParagraphConservative): do not call fitToSize
12208         (fitToSize): remove method
12209
12210         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12211
12212 2001-06-24  The LyX Project  <Asger>
12213
12214         * Fix Qt compilation^2
12215
12216 2001-06-24  The LyX Project  <jug@sad.it>
12217
12218         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12219         depthHook(getDepth()-1).
12220
12221         * paragraph.h:
12222         * ParagraphParameters.h:
12223         * ParameterStruct.h: change type of depth to unsigned int ==
12224         depth_type. Many adaptations to other files before of that.
12225
12226 2001-06-24  The LyX Project  <Asger>
12227
12228         * Fix Qt compilation.
12229
12230 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * paragraph.h: renamed several methods to begin with small letter.
12233         several changes to many parts of the code because of this.
12234
12235 2001-06-23  The LyX Project  <jug@sad.it>
12236
12237         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12238         rewritten to discard all double spaces when KeepEmpty is off
12239         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12240         to only handle newlines but not fiddle with spaces and friends.
12241
12242         * lyxfunc.C (MenuNew): when doing 'new from template', use
12243         template_path as default directory
12244
12245 2001-06-23  The LyX Project  <Asger>
12246
12247         * Clean-up of header file includes all over
12248         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12249
12250 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12251
12252         * paragraph.h: renamed from lyxparagraph.h
12253
12254 2001-06-23  Asger  <lyx@violet.home.sad.it>
12255
12256         * Buffer.h: Removed Buffer::resize
12257         * BufferList.h: Removed BufferList::resize
12258         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12259         the document lazily when we change the width, or the font settings.
12260
12261 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12264
12265 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * buffer.h: remove out of date comment
12268
12269 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * lyxscreen.h:
12272         * screen.C: fix "theoretical" GC leak
12273
12274 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12275
12276         * LaTeX.C (scanAuxFile):
12277         (deplog): remove trailing \r when reading stream (useful under
12278         win32)
12279
12280 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12281
12282         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12283         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12284         and BufferView::theLockingInset(Inset*), so should use them and not
12285         access bv_->text->the_locking_inset directly.
12286
12287         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12288
12289 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * Makefile.am:
12292         * tex-defs.h: remove old unused file
12293
12294 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * BufferView_pimpl.C: fix typo, remove minibuffer message
12297           when buffer has loaded
12298
12299 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * lyxfunc.C (Dispatch): use stringstream
12302         (MenuNew): use stringstream
12303         (Open): use stringstream
12304
12305         * importer.C (Import): use stringstream
12306
12307         * bufferview_funcs.C (CurrentState): use stringstream
12308
12309         * LaTeX.C (run): use stringstream
12310
12311         * BufferView_pimpl.C (savePosition): use stringstream
12312         (restorePosition): use stringstream
12313         (MenuInsertLyXFile): use stringstream
12314
12315 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12316
12317         * BufferView.C:
12318         * Bullet.C:
12319         * ColorHandler.C:
12320         * FontInfo.C:
12321         * FontLoader.C:
12322         * LColor.C:
12323         * LaTeXFeatures.C:
12324         * Painter.C:
12325         * gettext.C:
12326         * lyx_gui_misc.C:
12327         * lyxserver.C:
12328         * vspace.C: removed // -*- C++ -*- as first line.
12329
12330         * lyxfind.h:
12331         * version.h: added // -*- C++ -*- as first line.
12332
12333 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12334
12335         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12336
12337         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12338         of string
12339
12340 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12343         of floats.
12344
12345 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12346
12347         * gettext.C: include LString.h even when --disable-nls is on.
12348
12349 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12350
12351         * converter.h (Get): changed argument type from int to
12352         FormatList::size_type to avoid unnecessary conversion.
12353
12354         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12355         before using it.
12356
12357 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12358
12359         * gettext.h: include LString.h even when --disable-nls is on.
12360
12361 2001-06-07  Juergen Vigna  <jug@sad.it>
12362
12363         * text.C (BreakAgain): subst spaces with tabs.
12364
12365         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12366         (resizeInsetsLyXText): set force on resizeLyXText.
12367
12368 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12369
12370         * gettext.h (gettext_init):
12371         (locale_init): use a real definition instead of a macro
12372
12373 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * Bufferview_pimpl.C:
12376         * LColor.h:
12377         * LColor.C: further lcolor tidies
12378
12379 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12380
12381         * BufferView_pimpl.C (updateScrollbar): simplify.
12382
12383         * BufferView2.C: don't include insets/insetinfo.h, change
12384         prototype for insertInset and call the Pimpl version. let
12385         updateInset call Pimpl version.
12386
12387         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12388         gotoInset to BufferView::Pimpl
12389
12390 2001-06-01  Juergen Vigna  <jug@sad.it>
12391
12392         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12393         inside a LockingInset (is the update needed at all?).
12394
12395 2001-05-31  Juergen Vigna  <jug@sad.it>
12396
12397         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12398         here not the old one otherwise how should we compare it afterwards
12399         if it's the same!
12400
12401 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12402
12403         * lyxfont.C:
12404         * tabular.C:
12405         * tabular-old.C:
12406         * FontInfo.C: bring C functions into global namespace when
12407         necessary
12408
12409 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12410
12411         * LString.h: make sure config.h has been loaded before LString.h.
12412
12413         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12414         (one for each char read by EatLine!).
12415
12416         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12417         variables.
12418
12419 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12420
12421         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12422         to the same as the par we break from
12423
12424 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12427
12428         * MenuBackend.C (expand): also create menu entries for wide
12429         versions of the floats.
12430
12431         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12432
12433         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12434
12435         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12436         frontends/Makefile.am
12437
12438         * text2.C: adjust
12439         * text.C: adjust
12440
12441
12442         * tabular.C (getTokenValue): add std::
12443
12444         * tabular-old.C (getTokenValue): add std::
12445         (getTokenValue): ditto
12446         (getTokenValue): ditto
12447
12448         * screen.C (ToggleSelection): adjust
12449
12450         * lyxtext.h: put selection cursors inside a Selection struct.
12451
12452         * lyxfunc.C (moveCursorUpdate): adjust
12453
12454         * lyxfont.C (latexWriteStartChanges): add std::
12455
12456         * lyxfind.C: adjust
12457
12458         * font.h: delete with(char const *, LyXFont const &)
12459
12460         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12461
12462         * FontInfo.C (getFontname): add std::
12463
12464         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12465         (workAreaButtonPress): adjust
12466         (tripleClick): adjust
12467         (update): adjust
12468         (moveCursorUpdate): adjust
12469         (Dispatch): adjust
12470
12471         * BufferView2.C (gotoInset): adjust
12472
12473 2001-05-30  Juergen Vigna  <jug@sad.it>
12474
12475         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12476         to check pspell I add this as default as I now have new pspell
12477         libraries and they seem to use this.
12478
12479 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * text2.C (CutSelection): make the cursor valid before the call to
12482         ClearSelection.
12483
12484 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12485
12486         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12487         relied on 0 terminated strings and other horrors. Bug found due to
12488         the new assert in lyxstring!
12489
12490         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12491         KP_ keys.
12492
12493 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12494
12495         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12496         to latinkeys.bind.
12497
12498         * lyxfunc.C (processKeySym): change method of getting to the
12499         self-insert char.
12500
12501         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12502         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12503         * BufferView_pimpl.[Ch]: here as private methods.
12504
12505 2001-05-28  Juergen Vigna  <jug@sad.it>
12506
12507         * text.C (SetHeightOfRow): added the update() call again as it is
12508         needed to initialize inset dimensions!
12509
12510 2001-05-16  Juergen Vigna  <jug@sad.it>
12511
12512         * text2.C (SetCharFont): Add new function with BufferView * and
12513         bool toggleall parameters for setting insets internal fonts.
12514         (SetFont): Freeze the undo as we may change fonts in Insets and
12515         all this change should be inside only one Undo!
12516
12517         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12518         setting font's in insets as for them we have the SetFont function!
12519
12520 2001-05-15  Juergen Vigna  <jug@sad.it>
12521
12522         * text2.C (ClearSelection): to be sure we REALLY don't have any
12523         selection anymore!
12524
12525         * tabular.C (TeXCellPreamble): fixed the left border problem for
12526         multicolumn cells.
12527
12528 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12529
12530         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12531         dependancy file
12532
12533 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12536         LFUN_BREAKPARAGRAPH.
12537
12538         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12539         help test to "internal only", similar for LFUN_INSERT_URL
12540
12541         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12542         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12543         auto_region_delete and deadkeys.
12544
12545 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * LColor.h:
12548         * LColor.C: remove some dead entries, tidy a little
12549
12550 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12551
12552         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12553         commented code.
12554         (Dispatch): implement LFUN_ESCAPE
12555
12556         * commandtags.h: add LFUN_ESCAPE
12557
12558         * LyXAction.C (init): add entry for LFUN_ESCAPE
12559
12560         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12561         Remove commented code.
12562         (insertNote): moved here
12563         (open_new_inset): moved here
12564
12565         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12566         BufferView_pimpl
12567
12568 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12569
12570         * kbmap.C (findbinding): clean it up and make it work correctly.
12571
12572         * lyx_main.C (init): do not pass argc and argv as parameters
12573
12574 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12575
12576         * buffer.C: fix path for OS/2 & Win32
12577
12578         * lyx_gui.C:
12579         * lyx_main:
12580         * lyx_main.C: Added os:: class.
12581
12582         * os2_defines.h: update
12583
12584 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12587         better by trying again with reduced state.
12588
12589 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12590
12591         * lyxrc.C (read): print error about invalid key sequence only when
12592         debugging (because not all latinX keysyms are known to some X
12593         servers)
12594
12595         * kbsequence.C (getiso): add a few std:: qualifiers
12596         (getiso): comment out extra return statement.
12597
12598 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12599
12600         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12601         handling.
12602         (Dispatch): enhance the accent inset a bit. (not perfect)
12603
12604 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12607
12608 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12609
12610         * bufferlist.C (emergencyWrite): fix assert() call
12611
12612 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12613
12614         * text.C (InsertChar): Added trivial patch to only send the "you
12615         can not do multiple spaces this way" message once during a
12616         session.
12617
12618 2001-05-08  Baruch Even  <baruch@lyx.org>
12619
12620         * Makefile.am: Changed order of libraries to get LyX to link properly
12621         with the gnome frontend.
12622
12623 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12624
12625         * LaTeXFeatures.h: add a std:: qualifier
12626
12627 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12628
12629         * paragraph.C (String): use stringstream
12630
12631 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12632
12633         * paragraph.C (writeFile): remove footflag arg
12634
12635         * buffer.C (makeLaTeXFile): use stringstream
12636         (latexParagraphs): remove footnot gurba
12637
12638         * LaTeXFeatures.C (getPackages): use stringstream
12639         (getMacros): likewise
12640         (getTClassPreamble): likewise
12641         (getFloatDefinitions): new method
12642
12643         * paragraph.C (writeFile): reindent
12644         (Erase): reindent
12645
12646         * WorkArea.h: revert the xpos + etc changes.
12647
12648         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12649
12650         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12651
12652         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12653         (pasteSelection): likewise
12654         * text2.C (CreateUndo): likewise
12655
12656 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12657
12658         * minibuffer.C (peek_event): temporarily reduce the functionality
12659         of the minibuffer (to allow args on lfuns)
12660
12661         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12662         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12663
12664         * buffer.C (readInset): add compability reading of old float
12665         lists, add reading of new style float list.
12666         (readInset): avoid reevaluation of inscmd.getCmdName()
12667         (getLists): reindent
12668
12669         * MenuBackend.C (MenuItem): implement parsing of
12670         md_floatlistinsert and md_floatinsert.
12671         (expand::LastFiles): move initalizaton of iterators out of loop,
12672         avoid reevaluation.
12673         (expand::Documents): introduce typdedef vector<string> Strings,
12674         and use it.
12675         (expand::ExportFormats): introduce typedef vector<Format const *>
12676         Formats, and use it.
12677         (expand): implement FloatListInsert and FloatInsert.
12678
12679         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12680         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12681         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12682
12683         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12684         handling.
12685         (Dispatch::LFUN_FLOAT_LIST): implement
12686
12687 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12688
12689         * LaTeX.C (run): Fix problem with --export code.
12690
12691 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * BufferView.[Ch] (workarea): removed.
12694         (getClipboard) new method; wrapper for workarea()->getClipboard()
12695
12696         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12697         bug.
12698
12699         * WorkArea.h (width, height, xpos, ypos): These methods all
12700         returned the dimensions of the work_area sub-area of WorkArea,
12701         resulting in a position error if the WorkArea were resized. Now
12702         return the dimensions of the entire WorkArea.
12703
12704         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12705
12706 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * LaTeX.C (deplog): correct the syntax of regex reg1
12709
12710 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * undo.C: remove !NEW_INSETS cruft
12713
12714 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * text2.C: remove !NEW_INSETS cruft
12717
12718         * text.C: remove !NEW_INSETS cruft
12719
12720         * tabular.C: remove !NEW_INSETS cruft
12721
12722         * spellchecker.C: remove !NEW_INSETS cruft
12723
12724         * lyxtext.h: remove !NEW_INSETS cruft
12725
12726         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12727
12728         * lyxfunc.C: remove !NEW_INSETS cruft
12729
12730         * lyxfind.C: remove !NEW_INSETS cruft
12731
12732         * lyx_cb.C: remove !NEW_INSETS cruft
12733
12734         * figureForm.C: remove  !NEW_INSETS cruft
12735
12736         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12737
12738         * buffer.[Ch]: remove !NEW_INSETS cruft
12739
12740         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12741
12742         * CutAndPaste.C: remove !NEW_INSETS cruft
12743
12744         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12745
12746         * BufferView2.C: remove !NEW_INSETS cruft
12747
12748         * BufferView.h: remove !NEW_INSETS cruft
12749
12750 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12751
12752         * Lsstream.h: include LString.h before the sstream headers to
12753         fix problem with gcc 2.95.3 and lyxstring
12754
12755 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * lyx_main.C: add using directives when needed for C functions
12758         declared in std:: namespace.
12759
12760 2001-04-27  Juergen Vigna  <jug@sad.it>
12761
12762         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12763         (SetHeightOfRow): comment out the update call should not be needed!
12764
12765 2001-04-13  Juergen Vigna  <jug@sad.it>
12766
12767         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12768         (LyXTabular): tried to minimize operator= operations (and realized
12769         hopfully Lars wish).
12770
12771 2001-04-27  Juergen Vigna  <jug@sad.it>
12772
12773         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12774
12775 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12778
12779         * buffer.C (readInset): hack to make listof algorithm work
12780
12781         * BufferView_pimpl.C: hack to make listof algorithm work
12782
12783 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * LyXAction.C: removed all !NEW_INSETS cruft
12786         (init): moved lfun_item in method
12787
12788         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12789
12790 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12791
12792         * BufferView2.C (theLockingInset): white space.
12793
12794 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * minibuffer.C: include <iostream>
12797
12798         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12799
12800         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12801
12802         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12803
12804         * text.[Ch] (TransposeChars): new method
12805
12806 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * call message directly through LyXView instead of through LyXFunc
12809         * BufferView2.C: adjust
12810         * BufferView_pimpl.C: adjust
12811         * FontLoader.C: adjust
12812         * buffer.C: adjust
12813         * bufferview_funcs.C: adjust
12814         * converter.C: adjust
12815         * figureForm.C: adjust
12816         * importer.C: adjust
12817         * lyx_cb.C: adjust
12818         * lyx_gui_misc.C: adjust
12819         * lyxfunc.C: adjust
12820         * lyxvc.C: adjust
12821         * text2.C: adjust
12822         + more files in subdirs
12823
12824         * lyxparagraph.h (size): move up int file
12825         (GetLayout): ditto
12826
12827         * adjust all uses of Assert to lyx::Assert.
12828
12829         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12830         lyxfunctional in namespace lyx
12831         * layout.C (hasLayout): ditto
12832         (GetLayout): ditto
12833         (GetLayout): ditto
12834         (delete_layout): ditto
12835         (NumberOfClass): ditto
12836         * converter.C (GetFormat): ditto
12837         (GetNumber): ditto
12838         (Add): ditto
12839         (Delete): ditto
12840         (SetViewer): ditto
12841         * bufferlist.C (getFileNames): ditto
12842         (emergencyWriteAll): ditto
12843         (exists): ditto
12844         (getBuffer): ditto
12845         * MenuBackend.C (hasSubmenu): ditto
12846         (hasMenu): ditto
12847         (getMenu): ditto
12848         * BufferView_pimpl.C (getInsetByCode): ditto
12849
12850 2001-04-18  Juergen Vigna  <jug@sad.it>
12851
12852         * vspace.C (asLatexString): fixed the 100% problem.
12853
12854 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12855
12856         * lyxfunc.C (Dispatch):
12857         * minibuffer.C:
12858         * minibuffer.h: add a few std:: qualifiers
12859
12860 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12861
12862         * minibuffer.[Ch]: reimplement so that commands is initiated and
12863         run from lyxfunc, simplified som handling, and made the completion
12864         and history code for complete. wip.
12865
12866         * lyxfunc.C (processKeySym): call message
12867         (miniDispatch): new temporary method
12868         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12869         (LFUN_MESSAGE): implement
12870         (LFUN_MESSAGE_PUSH): implement
12871         (LFUN_MESSAGE_POP): implement
12872         (initMiniBuffer): the initial/defualt minibuffer message.
12873
12874         * lyxfont.[Ch]: inline some more getters
12875
12876         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12877
12878         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12879
12880         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12881         (AutoSave): use LFUN_MESSAGE
12882         (Reconfigure): ditto
12883
12884         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12885
12886         * figureForm.C: use LFUN_MESSAGE
12887
12888         * converter.C (runLaTeX): use LFUN_MESSAGE
12889
12890         * bufferview_funcs.C: use LFUN_MESSAGE
12891         (Melt): ditto
12892         (changeDepth): ditto
12893
12894         * bufferparams.h: use boost::
12895
12896         * bufferlist.h: inherit privately from noncopyable
12897
12898         * bufferlist.C (loadLyXFile): remove some commented code.
12899
12900         * buffer.C (runChktex): use LFUN_MESSAGE
12901
12902         * ShareContainer.h: inherit privately from noncopyable
12903
12904         * ParagraphParameters.[hC] (depth): inline it.
12905
12906         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12907         methods.
12908         (message): new method
12909         (messagePush): ditto
12910         (messagePop): ditto
12911         (show): init minibuffer
12912         (showState): direct call
12913
12914         * LaTeX.[Ch]: inherit privately from noncopyable
12915         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12916         instead of WriteStatus.
12917
12918         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12919
12920         * BufferView_pimpl.C (buffer): don't init minibuffer
12921         (workAreaButtonPress): use LFUN_MESSAGE
12922         (workAreaButtonRelease): ditto
12923         (savePosition): ditto
12924         (restorePosition): ditto
12925         (MenuInsertLyXFile): ditto
12926         (workAreaExpose): don't init minibuffer
12927         (update): remove commented code, simplify
12928
12929         * BufferView2.C (openStuff): use LFUN_MESSAGE
12930         (toggleFloat): ditto
12931         (menuUndo): ditto
12932         (menuRedo): ditto
12933         (copyEnvironment): ditto
12934         (pasteEnvironment): ditto
12935         (copy): ditto
12936         (cut): ditto
12937         (paste): ditto
12938         (gotoInset): ditto
12939         (updateInset): remove some commented code
12940
12941         * lastfiles.h: inherit privately from noncopyable
12942         * layout.h: ditto
12943         * lyx_gui.h: ditto
12944         * lyx_main.h: ditto
12945         * lyxlex.h: ditto
12946         * lyxlex_pimpl.h: ditto
12947
12948         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12949         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12950         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12951
12952         * LyXAction.h: inherit privately from noncopyable, add methods
12953         func_begin, func_end, returning iterators to the func map.
12954
12955         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12956         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12957         (func_begin): new method
12958         (func_end): new method
12959
12960         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12961         and not)
12962         (copySelection): ditto
12963         (pasteSelection): ditto
12964
12965         * BufferView.C: whitespace change
12966         * BufferView.h: inherit privately from noncopyable
12967
12968 2001-04-16  Allan Rae  <rae@lyx.org>
12969
12970         * tabular-old.C (l_getline):
12971         * spellchecker.C (sc_check_word):
12972         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12973         an unrecognised preprocessor directive.  So ensure they're wrapped.
12974
12975 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12976
12977         * src/exporter.C (Export): Give an error message when path to file
12978         contains spaces.
12979
12980 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12981
12982         * LaTeX.C (deplog): Always check that foundfile exists.
12983
12984 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12985
12986         * lyx_main.h:
12987         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12988
12989 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12990
12991         * tabular.[Ch] (getLabelList): implement new method
12992
12993         * minibuffer.h: comment ouf setTiimer
12994
12995         * minibuffer.C (ExecutingCB): constify res
12996         (peek_event): constify s
12997         (Set): constify ntext
12998         (Init): constify nicename
12999
13000         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13001
13002         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13003         (savePosition): use two params to Minibuffer::Set
13004         (restorePosition): ditto
13005
13006 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13007
13008         * lyx_main.C: include language.h
13009
13010         * Makefile.am (lyx_main.o): add language.h
13011
13012 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13013
13014         * exporter.C:
13015         * paragraph.C:
13016         * screen.C:
13017         * tabular.C:
13018         * CutAndPaste.C: include gettext.h
13019
13020         * lyxfont.h: remove old hack with ON and OFF.
13021
13022         * lyxparagraph.h:
13023         * lyxfont.h: do not include language.h...
13024
13025         * BufferView2.C:
13026         * LaTeXFeatures.C:
13027         * Painter.C:
13028         * bufferview_funcs.C:
13029         * font.C:
13030         * lyxfont.C:
13031         * text.C:
13032         * text2.C:
13033         * trans_mgr.C:
13034         * paragraph.C: ... but do it here instead
13035
13036 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13037
13038         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13039
13040         * tabular.C: small reformat
13041
13042         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13043         NEW_INSETS version
13044         (GetChar): ditto
13045         (BreakParagraph): ditto
13046         (SetOnlyLayout): ditto
13047         (SetLayout): ditto
13048
13049         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13050         with one arg less.
13051
13052         * lastfiles.C: removed most using decl, add std:: where needed
13053
13054         * buffer.C: ws changes
13055
13056         * MenuBackend.C (class compare_format): put into anon namespace
13057         (expand): constify label, names, action, action2
13058         (expand):
13059
13060         * text.C (SingleWidth): constify font
13061         (IsBoundary): constify rtl2
13062         (GetVisibleRow): constify ww
13063
13064         * LaTeX.C (deplog): constify logfile
13065
13066         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13067         start_x, end_x
13068         (workAreaExpose): constify widthChange, heightChange
13069
13070         * lyxrow.C (par): moved
13071         (height): moved
13072         (next): moved
13073         * lyxrow.h: as inlines here
13074
13075         * lyxfont.h (shape): moved from lyxfont.C
13076         (emph): moved from lyxfont.C
13077
13078         * lyxfont.C (LyXFont): use initialization list for all
13079         constructors
13080         (shape): move to lyxfont.h as inline
13081         (emph): move to lyxfont.h as inline
13082
13083
13084 2001-04-04  Juergen Vigna  <jug@sad.it>
13085
13086         * vspace.C: had to include stdio.h for use of sscanf
13087
13088 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13089
13090         * BufferView.h:
13091         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13092         independent of xforms.
13093
13094 2001-04-02  Juergen Vigna  <jug@sad.it>
13095
13096         * spellchecker.C: fixed namespace placing!
13097
13098 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13099
13100         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13101         the LyXParagraph * is 0.
13102
13103 2001-03-29  Juergen Vigna  <jug@sad.it>
13104
13105         * vspace.C: added support for %, c%, p%, l%.
13106         (stringFromUnit): added helper function.
13107         (asLatexString): changed to give right results for the %-values.
13108
13109         * buffer.C: convert the widthp in a width%.
13110
13111 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13112
13113         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13114         figureForm.[Ch].
13115
13116         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13117         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13118
13119         * lyx_cb.[Ch]: see above.
13120
13121         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13122         form1.[Ch].
13123
13124         * form1.[Ch]:
13125         * lyx.[Ch]: replaced by figure_form.[Ch].
13126
13127         * lyx_gui.C:
13128         * lyx_gui_misc.C:
13129         * lyxfunc.C: changed headers associated with above changes.
13130
13131 2001-03-27  Juergen Vigna  <jug@sad.it>
13132
13133         * BufferView_pimpl.C: set the temporary cursor right!
13134
13135 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13136
13137         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13138
13139 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13140
13141         * LString.h: removed "using std::getline"!
13142
13143         * BufferView_pimpl.C (Dispatch): changes due to changes in
13144         InsetInclude::Params.
13145
13146         * buffer.C (tag_name): removed redundant break statements as they were
13147         producing lots of warnings with my compiler.
13148
13149 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13150
13151         * LString.h: add "using std::getline" when using the real <string>.
13152
13153 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13154
13155         * buffer.C: removed bitset usage.
13156         PAR_TAG moved to an anonymous name space.
13157         (tag_name): new funtion, also in the anonymous namespace.
13158         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13159         (makeDocBookFile): clean code. Completed transition from string arrays
13160         to string vectors.
13161         (SimpleDocBookOnePar): code clean.
13162
13163 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13164
13165         * tabular.C: add some comments.
13166
13167 2001-03-22  Juergen Vigna  <jug@sad.it>
13168
13169         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13170         compatibility read a bit and fixed bug with minipage in different
13171         depth.
13172
13173 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13174
13175         * buffer.C (pop_tag): removed.
13176         (push_tag): removed.
13177         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13178         array replaced with vector. Added support for CDATA sections.
13179         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13180         at any nest level.
13181         (makeDocBookFile): XML conformant declaration of CDATA section,
13182         fixed bug related to <emphasis> in the first paragraph char.
13183         (sgmlOpenTag): exclude empty tags.
13184         (sgmlCloseTag): ditto.
13185
13186         * buffer.h (pop_tag): removed.
13187         (push_tag): removed.
13188
13189 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13190
13191         * language.h (Languages): added size_type and size().
13192
13193 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13194
13195         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13196         response on compability reading of minipages. One probliem is that
13197         the old usage of minipages was «flertydig»
13198
13199         * several files here and in subdirs: don't use static at file
13200         scope use anon namespaces instead.
13201
13202 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13203
13204         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13205         LaTeX output. This is necessary for Literate document
13206         processing.
13207
13208 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13209
13210         * buffer.C: insert hfill when needed.
13211
13212         * tabular.C (l_getline): use string::erase, small whitespace change.
13213
13214         * BufferView_pimpl.C: try the anon namespace.
13215         * WorkArea.C: ditto
13216
13217 2001-03-16  Juergen Vigna  <jug@sad.it>
13218
13219         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13220         otherwise it won't open options-dialogs.
13221
13222         * buffer.C: honor pextraWidth(p) on converting minipages.
13223
13224         * tabular.C (l_getline): changed the functions to strip trailing \r.
13225
13226 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13227
13228         * BufferView_pimpl.C:
13229         * minibuffer..C: added "using SigC::slot" declaration.
13230
13231 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13232
13233         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13234
13235         * text2.C: ditto
13236
13237         * text.C: ditto
13238
13239         * paragraph.C: ditto
13240
13241         * lyxtext.h: NO_PEXTRA
13242
13243         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13244
13245         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13246         * ParameterStruct.h: ditto
13247         * ParagraphParameters.h: ditto
13248         * lyxparagraph.h: ditto
13249
13250 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13251
13252         * buffer.C: add compability for minipage alignment.
13253         (latexParagraphs): remove unwanted pextra check.
13254
13255         * several files: remove CXX_WORKING_NAMESPACES
13256
13257         * buffer.C (pop_tag): tie is in namespace boost
13258
13259         * BufferView.h: noncopyable is in namespace boost
13260         * lyxlex.h: ditto
13261         * lyx_main.h: ditto
13262         * lyx_gui.h: ditto
13263         * layout.h: ditto
13264         * lastfiles.h: ditto
13265         * bufferlist.h: ditto
13266         * ShareContainer.h: ditto
13267         * LyXView.h: ditto
13268         * LyXAction.h: ditto
13269         * LaTeX.h: ditto
13270
13271 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13272
13273         * Merging changes from BRANCH_MVC back into HEAD.
13274
13275         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13276
13277 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13278
13279         * BufferView_pimpl.C: change from intl.C
13280
13281         * combox.h:
13282         * combox.C:
13283         * Makefile.am: move combox.*
13284
13285         * form1.h:
13286         * form1.C:
13287         * lyx_gui.C:
13288         * intl.h:
13289         * intl.C: remove dialog (covered by prefs)
13290
13291 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13292
13293         * lyxfunc.C (Dispatch): removed redundant break statement.
13294
13295 2001-03-14  Juergen Vigna  <jug@sad.it>
13296
13297         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13298
13299 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13300
13301         * buffer.C: add hack to fix compability reading of minipages.
13302
13303 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13304
13305         * buffer.C (getLists): Cleanup.
13306
13307 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13308
13309         * lyxfont.C (update): don't honor toggleall on font size.
13310
13311 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13312
13313         * bmtable.c:
13314         * bmtable.h:
13315         * Makefile.am: moved to frontends/xforms/
13316
13317         * lyx_gui_misc.C:
13318         * lyxfunc.C:
13319         * BufferView_pimpl.C: changes for moved mathpanel
13320
13321 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13322
13323         * gettext.h: fix gettext_init() in --disable-nls
13324
13325 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13328
13329 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * lyx.C:
13332         * lyx.h: strip external form
13333
13334 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13335
13336         * BufferView_pimpl.C: add comment, destroySplash()
13337
13338 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13339
13340         * BufferView_pimpl.C:
13341         * LyXAction.C:
13342         * buffer.C:
13343         * commandtags.h:
13344         * lyxfunc.C: use re-worked insetinclude
13345
13346 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13347
13348         * buffer.C: add using std::stringstream.
13349
13350         * lyx_cb.C: readd using std::ios.
13351
13352         * buffer.C: add using std::map.
13353
13354         * BufferView_pimpl.C: add using std::vector.
13355
13356         * ShareContainer.h: add std:: to swap.
13357
13358         * buffer.h: add some typedefs
13359         * buffer.C (getLists): use them
13360         (getLists): renamed from getTocList.
13361         add a counter for the different float types and use it in the
13362         generated string.
13363         (getLists): use the same counter for the NEW_INSETS and the "non"
13364         NEW_INSETS
13365
13366         * lyx_cb.h: remove unused items, includes, using etc.
13367
13368         * ShareContainer.h: remove some commented code, add more comments
13369         and "documentation".
13370
13371 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13372
13373         * buffer.C (getTocList): make the list also when NEW_INSETS is
13374         defined.
13375
13376         * buffer.h: remove TocType
13377
13378         * buffer.C (getTocList): change to return a map<string,
13379         vector<TocItem> >, implement for dynamic number of list.
13380
13381         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13382         * text2.C (PasteSelection): adjust
13383         * CutAndPaste.C (pasteSelection): adjust
13384
13385         * FloatList.C (FloatList): update from the new_insets branch.
13386         * Floating.[Ch]: ditto
13387         * LaTeXFeatures.C: ditto
13388         * buffer.C: ditto
13389         * lyxlex_pimpl.C: ditto
13390
13391         * paragraph.C (Last): remove when NEW_INSETS is defined.
13392
13393         * other file: changes because of the above.
13394
13395 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13396
13397         * lyxparagraph.h: rename next to next_, previous to previous_,
13398         make them private for NEW_INSETS. Rename Next() to next(),
13399         Previous() to previous().
13400
13401         * other files: changes because of the above.
13402
13403 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13404
13405         * BufferView.h:
13406         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13407         problem.
13408
13409 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13410
13411         * main.C (main): pass lyx_localedir to gettext_init().
13412
13413         * gettext.h: remove locale_init and gettext_init macros
13414
13415         * gettext.C (locale_init): new function
13416         (gettext_init): new function
13417
13418         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13419         setlocale().
13420
13421 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13422
13423         * Moved credits to frontends:
13424         * credits.[Ch]: removed
13425         * credits_form.[Ch]: removed
13426         * lyx_gui_misc.C: remove credits stuff
13427         * Makefile.am:
13428
13429 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13430
13431         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13432
13433         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13434         unneeded destructor.
13435
13436         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13437         a standalone pointer again.
13438
13439         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13440
13441 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13442
13443         * Makefile.am:
13444         * filedlg.h:
13445         * filedlg.C:
13446         * LyXAction.C:
13447         * ToolbarDefaults.C:
13448         * bufferlist.C:
13449         * commandtags.h:
13450         * form1.C:
13451         * form1.h:
13452         * lyx_cb.C:
13453         * lyx_cb.h:
13454         * lyxfunc.h:
13455         * lyxfunc.C:
13456         * BufferView_pimpl.C: use new file dialog in GUII
13457
13458         * lyx_cb.h:
13459         * lyx_cb.C: remove LayoutsCB to Toolbar
13460
13461 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13462
13463         * ShareContainer.h (get): add std:: qualifier
13464
13465 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * ShareContainer.h: define a proper ShareContainer::value_type
13468         type (and use typename to please compaq cxx)
13469
13470 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13471
13472         * lyxparagraph.h: move serveral local vars to
13473         ParameterStruct/ParagraphParameters., use ShareContainer in
13474         FontTable., make vars in FontTable private and add getter and
13475         setter.
13476
13477         * paragraph.C: changes because of the above.
13478
13479         * lyxfont.h: remove copy constructor and copy assignment. (the
13480         default ones is ok), move number inside FontBits. move inlines to
13481         lyxfont.C
13482
13483         * lyxfont.C: add number to initializaton of statics, move several
13484         inlines here. constify several local vars. some whitespace
13485         cleanup. Dont hide outerscope variables.
13486
13487         * Spacing.h: add two new constructors to match the set methods.
13488
13489         * ShareContainer.h: new file, will perhaps be moved to support
13490
13491         * ParameterStruct.h: new file
13492
13493         * ParagraphParameters.h: new file
13494
13495         * ParagraphParameters.C: new file
13496
13497         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13498         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13499
13500         * BufferView_pimpl.C: ParagraphParameter changes.
13501         * buffer.C: Likewise.
13502         * bufferview_funcs.C: Likewise.
13503         * text.C: Likewise.
13504         * text2.C: Likewise.
13505
13506 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13507
13508         * lyxfind.C (LyXReplace): do not redefine default argument in
13509         implementation.
13510         (IsStringInText): ditto
13511         (SearchForward): ditto
13512         (SearchBackward): ditto
13513
13514 2001-03-06  Juergen Vigna  <jug@sad.it>
13515
13516         * lyxfind.C (IsStringInText): put parentes around expressions.
13517
13518 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13519
13520         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13521
13522 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13523
13524         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13525
13526         * stl_string_fwd.h: add comment
13527
13528         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13529
13530         * tabular.h:
13531         * tabular.C: remove unused DocBook methods
13532
13533         * intl.C:
13534         * language.C:
13535         * paragraph.C:
13536         * buffer.C:
13537         killed DO_USE_DEFAULT_LANGUAGE
13538
13539 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * lyx_gui.C: do not include language.h.
13542
13543         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13544         arguments in function implementation.
13545
13546 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13547
13548         * BufferView_pimpl.C: add <ctime>
13549
13550 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13551
13552         * BufferView_pimpl.C: add using std::find_if
13553
13554 2001-02-27  José Matos  <jamatos@fep.up.pt>
13555
13556         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13557         by OnlyPath.
13558
13559 2001-02-11  José Matos  <jamatos@fep.up.pt>
13560
13561         * buffer.C (makeDocBookFile): command styles now have a parameter as
13562         "title" by default.
13563
13564 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13565
13566         * layout_forms.[Ch]: removed
13567         * lyx_cb.[Ch]: out character
13568         * lyx_gui.C: out character
13569         * lyx_gui_misc.C: out character
13570         * bufferview_funcs.C: : out character,
13571         added toggleall as parameter in ToggleAndShow
13572
13573 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13574
13575         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13576
13577         * text2.C (SetCurrentFont): Disable number property at boundary.
13578
13579 2001-02-26  Juergen Vigna  <jug@sad.it>
13580
13581         * lyxfunc.C (getStatus): added a string argument override function so
13582         that this is correctly called from LyXFunc::Dispatch if it contains a
13583         do_not_use_argument which is used!
13584         (Dispatch): added check for "custom" export and call appropriate func.
13585
13586 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13587
13588         * lyxrc.C: Add language_command_local, language_use_babel and
13589         language_global_options.
13590
13591         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13592
13593         * buffer.C (makeLaTeXFile): Use language_use_babel and
13594         language_global_options.
13595
13596 2001-02-23  Juergen Vigna  <jug@sad.it>
13597
13598         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13599         which works with LyXText and putted it inside BufferView. Here now we
13600         only call for that part the BufferView::Dispatch() function.
13601
13602         * BufferView.C (Dispatch): added.
13603
13604         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13605         functions which needs to use a LyXText over from LyXFunc.
13606         (MenuInsertLyXFile): added
13607         (getInsetByCode): added
13608         (moveCursorUpdate): added
13609         (static TEXT): added
13610
13611 2001-02-22  Juergen Vigna  <jug@sad.it>
13612
13613         * BufferView_pimpl.C (update): call a status update to see if LyXText
13614         needs it.
13615
13616 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13617
13618         * vc-backend.C (revert): implement for CVS
13619         (getLog): implement for CVS
13620
13621 2001-02-20  Juergen Vigna  <jug@sad.it>
13622
13623         * text2.C (ClearSelection): added BufferView param for inset_owner call
13624
13625         * lyxfunc.C (TEXT): added this function and use it instead of
13626         directly owner->view()-text of getLyXText().
13627
13628 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13629
13630         * src/layout_forms.C: out preamble
13631         * src/layout_forms.h: out preamble
13632         * src/lyx_cb.C: out preamble
13633         * src/lyx_cb.h: out preamble
13634         * src/lyx_gui.C: out preamble
13635         * src/lyx_gui_misc.C: out preamble
13636         * src/lyxfunc.C: connect with guii preamble
13637
13638 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13639
13640         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13641
13642 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13643
13644         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13645         whether to run bibtex.
13646
13647 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13648
13649         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13650
13651 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13652
13653         * Makefile.am (lyx_SOURCES): removed bibforms.h
13654
13655         * vspace.h: doxygen
13656
13657         * text.C (GetVisibleRow): make several local vars const
13658
13659         * tabular.C: small cleanup.
13660
13661         * lyxserver.C (callback): use compare instead of strncmp
13662
13663         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13664         inlines to after class or to paragraph.C
13665
13666         * lyxfont.h: remove friend operator!=
13667
13668         * converter.h: move friend bool operator< to non friend and after
13669         class def.
13670
13671         * combox.h: small cleanup
13672
13673         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13674         to inlines after class def.
13675
13676         * buffer.C (pop_tag): use string operations instead of strcmp
13677
13678         * bmtable.c: doxygen, small cleanup
13679
13680         * LaTeX.h: remove friend operator==
13681
13682 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13683
13684         * screen.C:
13685         * lyxrc.[Ch]:
13686         * lyxfunc.C:
13687         * lyxfont.[Ch]:
13688         * lyx_cb.C:
13689         * intl.[Ch]:
13690         * commandtags.h:
13691         * buffer.C:
13692         * WorkArea.[Ch]:
13693         * LyXAction.C:
13694         * BufferView_pimpl.C:
13695         * BufferView.[Ch]: remove cruft
13696
13697 2001-02-14  Juergen Vigna  <jug@sad.it>
13698
13699         * lyxfunc.C: removed #if 0 unused code
13700
13701         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13702
13703         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13704
13705         * text2.C (SetSelection): added a BufferView * parameter
13706
13707 2001-02-13  Juergen Vigna  <jug@sad.it>
13708
13709         * lyxfunc.C (Dispatch): fixed protected blank problem.
13710         * BufferView2.C (protectedBlank): added LyxText * parameter.
13711
13712         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13713         (AppendColumn): same as above for column_info.
13714
13715         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13716         (moveCursorUpdate): use a LyXText param for support of InsetText.
13717
13718         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13719         (tripleClick): ditto
13720
13721         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13722
13723         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13724
13725         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13726
13727         * text2.C (SetSelection): set correct update status if inset_owner
13728         (ToggleFree): ditto
13729
13730 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13731
13732         * tabular.C: remove some commented code.
13733
13734 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13735
13736         * BufferView_pimpl.C: call hideSplash()
13737
13738         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13739
13740         * include_form.h:
13741         * bibforms.h: remove
13742
13743         * lyxfunc.C:
13744         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13745           add LFUN_CHILD_CREATE
13746
13747         * counters.h: fix tiny typo
13748
13749         * lyx_cb.C:
13750         * lyx.h:
13751         * lyx_gui.C:
13752         * lyx.C: move splash to frontends/xforms/
13753
13754         * lyx_gui_misc.C: move Include and Bibform to frontends
13755
13756         * lyxvc.h: clarify comment
13757
13758         * vspace.C: tiny housekeeping
13759
13760 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13761
13762         * text.C (PrepareToPrint): RTL Fix.
13763
13764         * paragraph.C (GetUChar): New method.
13765         (String):  Use GetUChar.
13766
13767         * buffer.C (asciiParagraph): Use GetUChar.
13768
13769 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13770
13771         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13772
13773 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13774
13775         * buffer.h:
13776         * buffer.C: rename to getLogName(), handle
13777           build log / latex log nicely
13778
13779 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13780
13781         * MenuBackend.C:
13782         * MenuBackend.h: remove support for reference menuitem type.
13783
13784 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13785
13786         * BufferView_pimpl.C: housekeeping
13787         * BufferView_pimpl.h:
13788         * LyXView.h:
13789         * Makefile.am:
13790         * Timeout.C:
13791         * Timeout.h:
13792         * minibuffer.h: move Timeout GUI-I
13793
13794 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13795
13796         * lyxrc.C (read): Update converters data-structures.
13797
13798 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13799
13800         * LaTeX.h (operator!=): add operator != for Aux_Info
13801
13802 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13803
13804         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13805
13806         * LaTeXLog.C: deleted, useful code moved to Buffer
13807
13808         * buffer.h:
13809         * buffer.C: new function getLatexLogName()
13810
13811         * lyx_gui_misc.C:
13812         * lyx_gui.C:
13813         * lyxvc.C:
13814         * lyxvc.h:
13815         * lyxfunc.C: use frontends for LaTeX and VC logs
13816
13817 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13818
13819         * LaTeX.h: yet another std:: that Allan forgot.
13820
13821         * Variables.C (set): renamed from isset(), because this clashes
13822         with some HP-UX macros (grr).
13823
13824 2001-02-06  Allan Rae  <rae@lyx.org>
13825
13826         * LaTeX.h: Another bug fix.  Missing std:: this time.
13827
13828 2001-02-04  Allan Rae  <rae@lyx.org>
13829
13830         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13831         floats problem. I've left it commented out because it's not quite
13832         correct.  It should also test that the current object is a table or
13833         figure inset.  But I haven't gotten around to figuring out how to do
13834         that.  I *think* it'll be something like: "table" == inset.type()
13835
13836         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13837         bool.
13838
13839 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13842         all the citation/databases/styles in the auxilary file.
13843         (run): Rerun latex if there was a babel language error.
13844
13845 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13846
13847         * text.C (Backspace): Preserve the font when changing newline char
13848         with a space.
13849         (BreakParagraph): If the cursor is before a space, delete the space.
13850
13851         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13852
13853 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13854
13855         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13856         new argument (code).
13857         (ChangeCitationsIfUnique): New method.
13858
13859         * paragraph.C (GetPositionOfInset): Handle bibkey.
13860
13861 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * BufferView_pimpl.h: change type of Position::par_pos to
13864         LyXParagraph::size_type.
13865
13866 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13867
13868         * BufferView_pimpl.C (savePosition, restorePosition): Write
13869         messages to minibuffer.
13870
13871 2001-01-28  José Matos  <jamatos@fep.up.pt>
13872
13873         * buffer.C (makeDocBookFile): adds support for document language.
13874         A silly restriction on the name of LatexCommand types where removed.
13875         Added support for CDATA sections, allows to chars unescaped, used
13876         among others in code, to avoid escape < and >.
13877
13878 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13879
13880         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13881         saved positions instrad of a stack. Furthermore, a position is
13882         stored using paragraph id/paragraph position.
13883
13884         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13885         Remove LFUN_REF_BACK.
13886
13887 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13888
13889         * converter.C (dvipdfm_options): New method.
13890
13891 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13892
13893         * vspace.C (isValidLength): Fix for empty input string.
13894
13895 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * LyXAction.C (init): change description of LFUN_FIGURE to
13898         "Insert Graphics"
13899
13900 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * LaTeX.C: add using directive
13903
13904 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13905
13906         * MenuBackend.C (expand): Fix the sorting of the formats.
13907
13908 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13909
13910         * lyx_main.C: tiny error message fix
13911
13912 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13915         calling fl_initialize(). This fixes the problem with ',' as
13916         decimal separator in text files.
13917
13918 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13919
13920         * trans.C (process): Fix the keymap bug.
13921
13922 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13923
13924         * LaTeX.C (scanAuxFiles): New method. Provides support for
13925         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13926         (scanLogFile) Scan for "run BibTeX" messages.
13927
13928         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13929         OT1 font encoding. Also, load the aecompl package if the ae
13930         package is loaded.
13931
13932         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13933
13934 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * texrow.C (increasePos): turn two error messages into debug
13937         messages.
13938
13939 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13940
13941         * LaTeX.C (scanAux): Handle the \@input macro.
13942         (runBibTeX): Use scanAux().
13943
13944         * language.C (latex_options_): New field.
13945
13946         * LaTeXFeatures.C (getMacros): Add language macros.
13947
13948         * buffer.C (makeLaTeXFile): Small fix.
13949
13950 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13953
13954         * text2.C: add a using directive.
13955
13956 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * BufferView2.C:
13959         * lyx_gui_misc.h:
13960         * lyxfr1.C:
13961         * lyxfunc.C: kill LyXBell.
13962
13963 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13964
13965         * text.C (IsBoundary): Remove the error message
13966
13967         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13968
13969         * lyxrc.C (setDefaults): Correct initialization value for
13970         font_norm_type.
13971
13972 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13973
13974         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13975         gotoError().
13976
13977         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13978         and GotoNextNote().
13979
13980         * src/LyXAction.C: Added reference-next.
13981
13982         * text.C (InsertChar): Use contains instead of strchr.
13983
13984         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13985
13986 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13987
13988         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13989         alignment commands (when needed).
13990
13991         * text.C (InsertChar): Add ':' to number separator chars.