]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ef775a8c4cf00bcbbf0f78bec24227603af5571a
[lyx.git] / src / ChangeLog
1 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4         * lyxtext.h: ditto
5         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
6         selection cursors
7         * lyxfunc.C: adjust
8         * text3.C: adjust + re-allow multi par depth changes
9         * textcursor.C: simplify a bit
10
11 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * src/buffer.C:
14         * src/lyxlayout.C:
15         * src/lyxlayout.h:
16         * src/lyxtext.h:
17         * src/output_docbook.C:
18         * src/output_latex.C:
19         * src/paragraph.C:
20         * src/paragraph.h:
21         * src/sgml.C:
22         * src/sgml.h:
23         * src/text2.C: Introducing a number of tags parametrizing various
24         XML formats that we may want to support
25
26 2003-11-25  André Pönitz  <poenitz@gmx.net>
27
28         * InsetList.[Ch] (begein, end): inline as suggested by profiler
29
30         * lyxtext.h (leftMargin/rightMargin): simplify interface
31
32         * rowpainter.C:
33         * text.C:
34         * text2.C:
35         * text3.C: adjust
36
37 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
38
39         * lyxfunc.C (dispatch): propogate the bibtex databases from the
40         master file to any child files. Fixes bug 546.
41
42 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
45
46 2003-11-24  André Pönitz  <poenitz@gmx.net>
47
48         * rowpainter.C: simplification
49
50         * text2.C (updateCounters): remove call to redoParagraph on 
51         changed labels as this is far too expensive.
52
53 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
54
55         * converter.C (convert): fix a crash: this function gets
56         called with buffer == 0 from importer code.
57
58 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
59
60         * text3.C (cursorPrevious): make sure that we do not compare
61         iterators form different containers.
62         (cursorNext): ditto
63
64         * rowpainter.C (paintSelection): make sure that we do not compare
65         iterators from different containers.
66
67         * text3.C (dispatch): [PRIOR] make sure that we do not compare
68         iterators from different ParagraphList containers.
69         [NEXT] ditto
70
71         * text2.C (LyXText): change order of initialization slightly
72         (operator=): new function. copy all variables except cache_par_
73         (moveUp): make sure that we do not compare iterators from
74         different ParagraphList constainers.
75         (moveDown): ditto
76
77         * text.C (firstPar): new function
78         (lastPar): new function
79         (endPar): new function
80
81         * lyxtext.h: move things around and group public functions, public
82         variables, private functions, private variables
83
84 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
85
86         * factory.C: change call to InsetERT constructor to avoid
87         additional invocation of method status
88         * text2.C (toggleInset): remove redundant update() call
89         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
90         instead of a Bufferview pointer
91
92 2003-11-21  André Pönitz  <poenitz@gmx.net>
93
94         * rowpainter.C: simplification
95
96 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
97
98         * text3.C (dispatch): make possible to extend a word/row selection
99         with the mouse
100
101 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
102
103         * lyxtext.h: x0_,y0_ -> xo_,yo_
104         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
105         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
106         * rowpainter.C (paintRows): paint full paragraphs
107
108 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
109
110         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
111         screen coordinates)
112
113 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
114
115         * lyxtext.h: add x0_, y0_
116         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
117         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
118
119 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
120
121         * text2.C (setCursorIntern): move the x_target update here *
122         * text3.C: change some bv() to true/false in calls to
123         cursorUp/Down/Right/Left
124         * cursor.C: use helper function.
125
126 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
127
128         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
129         * paragraph_funcs.[Ch]: correct comment
130         * rowpainter.C: do not paint selections away from bv->cursor()
131         Fix a long standing selection painting bug.
132         * text3.C: generalize mouse-selection code to LyXTexts other that
133         top one
134         * textcursor.C: do not use y coords if we can use par offsets
135
136 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
137
138         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
139         cursor position after e.g. inset insert)
140
141 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
142
143         * lyxfind.C (replace): adjust to locking removal + some
144         code simplification
145
146 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
147
148         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
149         of the path
150
151 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
152
153         * lyxlayout.[Ch]:
154         * output_docbook.C: XML sanitation: new layout
155         parameters InnerTag and CommandDepth
156
157 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
158
159         * BufferView_pimpl.C:
160         * factory.C:
161         * text3.C: Fix the insertion and modification of button-style
162         insets
163
164 2003-11-13  André Pönitz  <poenitz@gmx.net>
165
166         * InsetList.[Ch]: remove deleteLyXText
167
168         * paragraph.[Ch]: cache beginOfBody position
169
170         * Bidi.C:
171         * text.C:
172         * text2.C:
173         * text3.C: remove superfluous update() calls
174
175         * vspace.C: cleanup
176
177 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
178
179         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
180         * BufferView.C (fitLockedInsetCursor): remove
181         * cursor.[Ch] (getDim): add
182         * text.C (getRowNearY): add faster version
183         * text3.C: remove some update calls
184
185 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
186
187         * LaTeXFeatures.C:
188         * LyXAction.C:
189         * MenuBackend.C:
190         * MenuBackend.h:
191         * dispatchresult.h:
192         * factory.C:
193         * lfuns.h:
194         * lyxfunc.C:
195         * lyxtextclass.C:
196         * lyxtextclass.h:
197         * text3.C: The Character Style /XML short element patch.
198
199 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
200
201         * text3.C:
202         * factory.C: Small step to solving 'unable to insert some insets'
203         problem
204
205 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
206
207         * cursor.[Ch] (updatePos): new function for updating the y
208         position of the tip inset
209         * bufferview_funcs.C (put_selection_at):
210         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
211
212 2003-11-11  André Pönitz  <poenitz@gmx.net>
213
214         * text.C: remove big comment on invalid Paragraph pointers as it is
215         not valid anymore
216
217 2003-11-11  André Pönitz  <poenitz@gmx.net>
218
219         * text_funcs.[Ch]: merge with ...
220
221         * text.C: ... this
222
223         * lyxtext.h:
224         * text2.C:
225         * text3.C: adjust
226
227         * Makefile.am: remove text_funcs.[Ch]
228
229 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
230
231         * cursor.C (getPos): return absolute cached y coord
232
233         * BufferView_pimpl.C (fitCursor): new simplistic code
234         (workAreaDispatch): add a fitCursor call
235
236 2003-11-10  André Pönitz  <poenitz@gmx.net>
237
238         * BufferView.[Ch]:
239         * BufferView_pimpl.[Ch]: merge update() and updateInset()
240
241 2003-11-10  André Pönitz  <poenitz@gmx.net>
242
243         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
244         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
245         indicate that the cursor needs to leave an inset
246
247         * lyxtext.h: remove inset locking
248
249         * cursor.[Ch]: re-implement functionality provided by inset locking
250
251         * BufferView.[Ch]:
252         * BufferView_pimpl.[Ch]:
253         * LyXAction.C:
254         * bufferview_funcs.[Ch]:
255         * factory.C:
256         * funcrequest.[Ch]:
257         * iterators.C:
258         * lyx_cb.C:
259         * lyxfind.C:
260         * lyxfunc.C:
261         * text.C:
262         * text2.C:
263         * text3.C:
264         * undo.C: adjust
265
266 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
267
268         * PosIterator.[Ch]: replace the stack with a vector, add inset
269         accesor
270         * iterators.[C]: adjust
271
272 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
273
274         * lyxfind.C (replaceAll): mark the buffer dirty if something was
275         replaced
276         * paragraph_funcs.C (readParToken): put the correct id in the
277         error item, not the id of the top paragraph
278
279 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
280
281         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
282         * bufferview_funcs.C (put_selection_at): use the above
283
284 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
285
286         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
287
288 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
289
290         * output_linuxdoc.h:
291         * output_plaintext.h:
292         * output.h:
293         * output_docbook.h: add #include statements
294
295 2003-11-05  José Matos  <jamatos@lyx.org>
296
297         * output_docbook.[Ch]:
298         * output_latex.[Ch]:
299         * output_linuxdoc.[Ch]:
300         * output_plaintext.[Ch]: New files for output formats.
301         * output.[Ch]: New file for helper functions.
302
303         * buffer.[Ch]:
304         * paragraph_funcs.[Ch]: output functions moved to new files.
305
306         * outputparams.h: rename of latexrunparams.h
307
308         * LaTeX.[Ch]:
309         * buffer.[Ch]:
310         * bufferlist.[Ch]:
311         * converter.[Ch]:
312         * exporter.C:
313         * paragraph.[Ch]:
314         * paragraph_funcs.[Ch]:
315         * paragraph_pimpl.[Ch]:
316         * tabular.[Ch]: rename ascii to plaintext
317         and LatexRunParams to OutputParams.
318
319 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
320
321         * iterators.[Ch] (text): require bv argument
322         * undo.C (recordUndo):
323         * lyxfunc.C (dispatch):
324         * bufferview_funcs.C (put_selection_at): adjust
325
326 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
327
328         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
329
330 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
331
332         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
333         nestings
334
335 2003-11-04  André Pönitz  <poenitz@gmx.net>
336
337         * cursor.[Ch]: restructure
338
339         * BufferView.[Ch]:
340         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
341
342         * iterators.[Ch] (asCursor): remove
343
344         * lfuns.h: remove LFUN_INSET_EDIT
345
346         * lyxfunc.C:
347         * tabular.C:
348         * text.C:
349         * text2.C:
350         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
351
352 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
353
354         * lyxfind.[Ch]: complete overhaul
355         * BufferView_pimpl.C:
356         * lyxfunc.C: adjust
357         * paragraph.[Ch] (insert): add
358
359 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
360
361         * BufferView.[Ch]:
362         * lyxtext.h:
363         * text.C: remove dead spellcheck code
364
365 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
366
367         * dispatchresult.h: add a val setter
368
369         * cursor.C (dispatch): use a tempvar for data_[i]
370
371 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
372
373         * PosIterator.[Ch]: compile fix
374
375 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
376
377         * text.C (cursorPar): deactivate the cursor cache
378
379 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
380
381         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
382
383 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
384
385         * text3.C (dispatch): adjust for new DisptchResult semantics.
386
387         * lyxfunc.C (dispatch): handle update when return from
388         Cursor::dispatch, adjust for new DispatchResult semantics.
389
390         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
391         DispatchResult(true) mean to not update. Add class functions for
392         setting dispatched and update, as well as reading.
393
394         * cursor.C (dispatch): don't handle update here
395
396 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
397
398         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
399         * trans_mgr.C: adjust
400
401         * paragraph_funcs.C (readParToken): exception safety
402
403         * lyxvc.h: store the vcs pointer in a scoped_ptr
404         * lyxvc.C: adjust
405
406         * lyxsocket.C (serverCallback): exception safety
407
408         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
409
410         * ispell.C (clone): make it return a auto_ptr
411
412         * factory.C (createInset): exception safety
413         (readInset): exception safety
414
415         * bufferlist.C (newBuffer): exception safety
416
417         * Thesaurus.C (Thesaurus): use initialization for aik_
418
419         * MenuBackend.C (expandToc): exception safety.
420
421 2003-11-03  André Pönitz  <poenitz@gmx.net>
422
423         * buffer.C:
424         * buffer.h:
425         * bufferview_funcs.C: remove getInsetFromId()
426
427         * lyxcursor.[Ch]:
428         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
429
430         * lyxfunc.C:
431         * text2.C:
432         * text3.C: adjust
433
434 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
435
436         * PosIterator.C (distance, advance): new
437         * bufferview_funcs.[Ch] (put_selection_at): new
438         * iterators.[Ch] (lockPath): new
439
440 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
441
442         * iterators.[Ch] (asPosIterator): added
443         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
444         * PosIterator.[Ch]: added
445
446 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
447
448         * text3.C:
449         * lyxfunc.C:
450         * cursor.C (dispatch):
451         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
452
453         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
454         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
455         contructor, add a class function dispatched. Remove operator>=
456
457 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
458
459         * debug.C: only use the default constructor for debugstream
460         (lyxerr) here.
461
462         * main.C (main): include debug.h and setup the lyxerr streambuf
463         here.
464
465 2003-10-31  José Matos  <jamatos@lyx.org>
466
467         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
468
469         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
470         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
471         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
472         * paragraph_pimpl.C (simpleTeXSpecialC):
473         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
474         add LatexRunParams argument.
475
476         * exporter.C (Export): change call accordingly.
477
478         * latexrunparams.h: add new member to take care of the other backends.
479 2003-10-30  José Matos  <jamatos@lyx.org>
480
481         * buffer.C (makeLinuxDocFile, makeDocBookFile):
482         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
483         factorise code for paragraph output.
484         * buffer.[Ch]:
485         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
486         move functions.
487
488 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
489
490         * text3.C (dispatch):
491         * lyxfunc.C (dispatch):
492         * cursor.C (dispatch):
493         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
494
495         * dispatchresult.h: make the dispatch_result_t ctor explicit
496
497 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * sgml.[Ch]:
500         * buffer.C: small refactoring of docbook stuff
501
502 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
503
504         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
505         meaning.
506
507 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
508
509         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
510         operator dispatch_result_t, and operators for == != and >=
511
512         * cursor.C (dispatch): adjust for operator dispatch_result_t
513         removal. comment out call to update
514
515         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
516
517 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
518
519         * text3.C:
520         * text2.C:
521         * text.C:
522         * lyxtext.h:
523         * lyxfunc.C:
524         * cursor.C:
525         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
526         (dispatch):
527
528         * dispatchresult.h: new file, DispatchResult broken out of
529         insets/insetbase.h
530
531         * Makefile.am (lyx_SOURCES): add dispatchresult.h
532
533 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
534
535         * text.C (rowBreakPoint): put a hack inside #if 0
536
537 2003-10-28  André Pönitz  <poenitz@gmx.net>
538
539         * lyxtext.h:
540         * metricsinfo.C:
541         * paragraph_funcs.C:
542         * rowpainter.C:
543         * text.C:
544         * text2.C: general cleanup (lots of small stuff)
545
546 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
547
548         * text2.C (cursorEnd): simple fix to the "end key goes to one
549         before the end on last row" bug
550
551 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
552
553         * text.C (backspace): fix the "zombie characters"
554
555 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
556
557         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
558
559 2003-10-27  André Pönitz  <poenitz@gmx.net>
560
561         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
562
563         * factory.C: handle new InsetPagebreak, InsetLine
564
565         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
566         and move handling into new InsetPagebreak, InsetLine
567
568         * BufferView_pimpl.C:
569         * LyXAction.C:
570         * ParagraphParameters.C:
571         * ParameterStruct.h:
572         * lyxfunc.C:
573         * lyxtext.h:
574         * paragraph.C:
575         * paragraph.h:
576         * paragraph_funcs.C:
577         * paragraph_pimpl.C:
578         * rowpainter.C:
579         * text.C:
580         * text2.C:
581         * text3.C: adjust
582
583 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
584
585         * text.C:
586         * lyxrow_funcs.[Ch]:
587         * Bidi.C:
588         * paragraph.C:
589         * lyxtext.h:
590         * rowpainter.C:
591         * text2.C:
592         * text3.C: remove lastPos uses in favour of Row::endpos
593
594 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
595
596         * undo.C (performUndoOrRedo): fix two crashes by setting a
597         cursor by hand and reordering some calls. Use bv->lockInset instead
598         of inset->edit because the latter loses cursor information
599
600 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
601
602         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
603         by Martin
604         (rowBreakPoint): fix width. change point to point + 1.
605         Add a missing check.
606
607 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
608
609         * MenuBackend.C:
610         * lyxfunc.C: fix (at least partly) the problems
611         with the Nav menu and headers inside branch insets
612         reported by Kayvan
613
614 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
615
616         * paragraph.C (getChar): add strong asserts
617
618         * lyxrow_funcs.C (lastPos): remove hideous hack
619
620         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
621         (fill): adjust to that (avoid an infinite loop)
622
623 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
624
625         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
626
627 2003-10-23  André Pönitz  <poenitz@gmx.net>
628
629         * RowList_fwd.h: change list<> to vector<> to gain speed
630         after suggestion from Alfredo
631
632 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
633
634         * lyxtext.h: move the bidi stuff from here...
635         * text.C: and here
636         * text2.C: and here
637         * Bidi.[Ch]: ... to here
638
639 2003-10-23  André Pönitz  <poenitz@gmx.net>
640
641         * lyxtext.h:
642         * text.C (isLastRow, isFirstRow): new functions
643
644         * paragraph.h: new width cache member
645
646         * rowpainter.C: replace RowList::iterator with Row & where possible
647
648         * lyxfunc.C: replace several view()->text with a single call
649
650         * toc.C: fix 'unused' warning
651
652 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
653
654         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
655         when woring with stream::pos_type
656         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
657
658 2003-10-22  André Pönitz  <poenitz@gmx.net>
659
660         * lyxtext.h:
661         * text.C: use Row & instead of RowList::iterator
662
663         * lyxrow.h: rename end() to endpos()
664
665         * rowpainter.C:
666         * text.C:
667         * text2.C: adjust
668
669 2003-10-22  Angus Leeming  <leeming@lyx.org>
670
671         * buffer.[Ch] (fully_loaded): new member function, returning true
672         only when the file has been loaded fully.
673         Used to prevent the premature generation of previews and by the
674         citation inset to prevent computation of the natbib-style label.
675
676         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
677         templates are all set up.
678
679         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
680
681 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
682
683         * text.C: fixed an "oops" in the "is a bit silly"
684         bug fix
685
686 2003-10-21  André Pönitz  <poenitz@gmx.net>
687
688         * FuncStatus.[Ch]: small stuff, whitespace
689
690         * lyxfont.[Ch]: operator<<() for debug reasons
691
692         * lyxfunc.C:
693         * lyxrow_funcs.C:
694         * lyxtext.h: whitespace, spelling
695
696         * paragraph.C: naming of variables
697
698         * text.C:
699         * text2.C: small stuff
700
701
702 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
703
704         * text.C: (1) finish off the inset display() work;
705         (2) fix the "is a bit silly" bug (accessing char
706         past end of par).
707
708 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
709
710         * text.C: re-introduce display() for insets, fixing the
711         various bugs (stretch of line above, math inset
712         positioning, ...)
713
714 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
715
716         * text.C (rightMargin): remove spurious semicolon
717
718         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
719         1415)
720
721 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
722
723         * text3.C: fix one crash due to wrong cursor def
724
725 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
726
727         * vc-backend.C (scanMaster): make the regex static
728
729         * LaTeX.C (scanAuxFile): make the regexs static
730
731         * text3.C (doInsertInset, dispatch, dispatch):
732         * text2.C (cursorUp, cursorDown):
733         * text.C (selectNextWordToSpellcheck):
734         * BufferView_pimpl.C (dispatch):
735         * lyxfunc.C (dispatch):  localDispatch -> dispatch
736
737 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * lyxsocket.C: include <cerrno>
740
741 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
742
743         * lyxfunc.C (dispatch): remove textcache stuff
744
745         * bufferlist.C (release): remove textcache stuff
746         (closeAll): ditto
747
748         * TextCache.C: delete file
749         * TextCache.h: delete file
750
751         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
752
753         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
754         delete of the bv_->text.
755         (resizeCurrentBuffer): remove texcache stuff
756         (workAreaResize): ditto
757
758 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
759
760         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
761         action.
762
763 2003-10-16  André Pönitz  <poenitz@gmx.net>
764
765         * lyxrow.[Ch]:
766         * paragraph.h:
767         * rowpainter.C:
768         * text.C:
769         * text2.C:
770         * text3.C: speed up by storing y positions per paragraph plus per-row
771         offset instead of having a 'full' y position in the row.
772
773 2003-10-15  André Pönitz  <poenitz@gmx.net>
774
775         * iterators.[Ch]:
776         * iterators.[Ch]:
777         * undo.[Ch]: make undo aware of inner insets
778
779 2003-10-14  Angus Leeming  <leeming@lyx.org>
780
781         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
782         static member functions LyX::ref() and LyX::cref.
783         (lastfiles): new accessor functions for the new lastfiles_ member var.
784         (addLyXView, views_): add a new LyXView to the list of views_.
785         (updateInset): loop over all LyXViews to call their own updateInset
786         member function, returning a pointer to the Buffer owning the inset.
787
788         * BufferView_pimpl.C (loadLyXFile):
789         * MenuBackend.C (expandLastfiles):
790         * bufferlist.C (MenuWrite, QuitLyX):
791         lastfiles is no longer a global variable.
792         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
793
794         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
795         static function. Access through LyX::cref().emergencyCleanup().
796
797 2003-10-14  André Pönitz  <poenitz@gmx.net>
798
799         * iterators.[Ch]: new direct access to innermost LyXText and Inset
800
801         * undo.[Ch]: restoring part of 'undo in insets'
802
803         * Makefile.am:
804         * undo_funcs.[Ch]: merge with undo.[Ch]
805
806         * tabular.C: small cleansing stuff
807
808 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
809
810         * paragraph_funcs.C (readParToken): report unknown insets as error
811         boxes. Use the outer paragraph as location (also for unknown
812         tokens).
813
814         * factory.C (readInset): do not abort on reading an unknown inset.
815         Eat it and return 0.
816
817 2003-10-13  Angus Leeming  <leeming@lyx.org>
818
819         * lyx_main.C (LyX): remove call to setDisplayTranslator().
820
821         * lyxrc.C: displayTranslator is now a function,
822         declared in GraphicsTypes.h.
823
824 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
825
826         * format.C: new placeholder $$a to pass the socket address.
827
828         * bufferlist.[Ch]: new function getBufferFromTmp.
829
830         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
831           files in the temporary dir.
832
833 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
834
835         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
836
837         * Makefile.am: add lyxsocket.[Ch].
838
839         * lyx_main.C (error_handler): handle SIGPIPE.
840
841 2003-10-13  André Pönitz  <poenitz@gmx.net>
842
843         * BufferView_pimpl.C:
844         * lyxtext.h:
845         * text.C:
846         * text2.C:
847         * text3.C:
848         * undo_funcs.[Ch]: use paroffset_type instead of
849           ParagraphList::iterators to prevent multiple conversion
850           (and get a more robust interface)
851
852 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
853
854         * lyxfunc.C (dispatch): RESULT -> dispatch_result
855         * lyxtext.h: ditto
856         * text3.C (dispatch): ditto
857
858 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
859
860         * LaTeX.C (handleFoundFile): move the static to smaller scope,
861         move the onlyfile, use onlyfile instead of foundfile in a couple
862         of places.
863
864         * DepTable.C (update): flush the error stream a bit more
865
866 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
867
868         * lyxserver.C (callback): adjust
869
870         * lyxfunc.C (getStatus): add a missing brace in commented code
871         (ensureBufferClean): reindent
872         (dispatch): delete version taking a string
873
874 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
875
876         * LaTeX.C (deplog): move found file handlig from here...
877         (handleFoundFile): .. to new function here.
878         (deplog): make sure to discover several files mentioned on the
879         same log line.
880
881 2003-10-10  André Pönitz  <poenitz@gmx.net>
882
883         * lyxfunc.C:
884         * lyxtext.h:
885         * tabular.C:
886         * text.C:
887         * text2.C:
888         * text3.C: fix some of the tabular crashes
889
890 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
891
892         * MenuBackend.C (binding): put debug message into Debug::KBMAP
893
894         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
895
896 2003-10-09  André Pönitz  <poenitz@gmx.net>
897
898         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
899
900         * BufferView.C:
901         * BufferView_pimpl.C:
902         * bufferview_funcs.C:
903         * lyx_cb.C:
904         * lyxcursor.C:
905         * lyxfind.C:
906         * lyxfunc.C:
907         * lyxtext.h:
908         * text.C:
909         * text2.C:
910         * text3.C:
911         * text_funcs.[Ch]:
912         * textcursor.[Ch]:
913         * undo_funcs.C: adjust
914
915 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
916
917         * text2.C (incrementItemDepth): new function, use a backtracking
918         algorithm to discover the correct item depth.
919         (resetEnumCounterIfNeeded): new function, use a backtracking
920         algorithm to discover if counter reset is needed.
921         (setCounter): use them. Simplify a bit. Add different labels for
922         different item depths for itemize.
923
924         * paragraph.C (Paragraph): remove initialization of enumdepth
925         (operator=): ditto
926
927         * paragraph.h: get rid of enumdepth, and use itemdepth both for
928         enumerate and itemize. Change the type of itemdepth to signed char.
929
930 2003-10-08  André Pönitz  <poenitz@gmx.net>
931
932         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
933           thing assignable.
934         * text.C:
935         * text2.C: adjust
936
937         * tabular.[Ch]: fix crash after 'row-insert'
938
939 2003-10-08  Angus Leeming  <leeming@lyx.org>
940
941         Fix doxygen warnings.
942
943         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
944         Remove CutAndPaste:: prefix from header file declaration.
945
946         * LColor.h (fill): remove LColor:: prefix from declaration.
947
948         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
949         use lyx::depth_type rather than Paragraph::depth_type so that
950         header file and .C file match.
951
952         * converter.h (intToFormat): remove Converters:: prefix from declaration.
953
954         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
955         * aspell.C: \file aspell_local.C -> \file aspell.C
956         * gettext.C: \file gettext.C -> \file src/gettext.C
957         * gettext.h: \file gettext.h -> \file src/gettext.h
958         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
959         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
960         * text.C: \file text.C -> \file src/text.C
961
962         * toc.C: move comment so that doxygen is not confused.
963
964 2003-10-07  Angus Leeming  <leeming@lyx.org>
965
966         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
967
968 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
969
970         * aspell.C:
971         * aspell_local.h: add forgotten std::string's.
972
973 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
974
975         * LaTeXFeatures.C:
976         * LyXAction.C:
977         * factory.C:
978         * lfuns.h:
979         * lyxfunc.C:
980         * text3.C: The Box patch. Fancybox support, minipage, parbox
981
982 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
983
984         * CutAndPaste.h:
985         * DepTable.h:
986         * FloatList.h:
987         * LaTeXFeatures.h:
988         * ParagraphParameters.h:
989         * TextCache.h:
990         * Thesaurus.h:
991         * bufferlist.h:
992         * exporter.h:
993         * importer.h:
994         * lastfiles.h:
995         * lyxfind.h:
996         * lyxfont.h:
997         * lyxlex.h:
998         * lyxtextclasslist.h:
999         * messages.h:
1000         * paragraph.h:
1001         * paragraph_pimpl.C:
1002         * textcursor.h: add <string> and other small fixes to make Lars'
1003         std::string patch compile with STLport.
1004
1005 2003-10-06  Angus Leeming  <leeming@lyx.org>
1006
1007         * LColor.h: Add missing #include <string>.
1008
1009 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1010
1011         * All most all file in all subdirs: Make <string> be the prefered
1012         way of getting to std::string, add using declarations.
1013
1014 2003-10-06  André Pönitz  <poenitz@gmx.net>
1015
1016         * metricsinfo.C: initialize LyXFont before changing attribute.
1017         (fixes the 'math in \emph is upright' bug)
1018
1019 2003-10-06  André Pönitz  <poenitz@gmx.net>
1020
1021         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1022
1023 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1024
1025         * graph.C:
1026         * paragraph_pimpl.C: Small fixes to build using STLport
1027
1028 2003-10-02  André Pönitz  <poenitz@gmx.net>
1029
1030         * lyxfunc.C:
1031         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1032
1033 2003-10-01  André Pönitz  <poenitz@gmx.net>
1034
1035         * factory.C: assert early
1036
1037 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1038
1039         * lyx_main.C: remove the global debug object
1040
1041         * debug.h: adjust for new debugstream
1042
1043         * debug.C: adjust for new debugstream and keep the global debug
1044         object here.
1045
1046 2003-09-22  Angus Leeming  <leeming@lyx.org>
1047
1048         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1049         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1050         an incomplete class LyXFont.
1051
1052 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1053
1054         * factory.C: bug fix in branches
1055
1056 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1057
1058         * lyxfunc.C (processKeySym): adjust
1059         (dispatch): adjust
1060         (dispatch): change arg name from ev to func, adjust
1061         (sendDispatchMessage): ditto
1062
1063         * lyx_main.C (defaultKeyBindings): adjust keybindings
1064         (deadKeyBindings): ditto
1065
1066         * kbsequence.C (addkey): return a FuncRequest
1067
1068         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1069
1070         * kbmap.C (bind): take a FuncRequest as arg, adjust
1071         (read): adjust
1072         (lookup): adjust
1073         (defkey): change to take a FuncRequest as arg, adjust
1074         (findbinding): take a FuncRequest as arg, adjust.
1075
1076         * funcrequest.h (operator=): added
1077
1078         * funcrequest.C (FuncRequest): default kb_action changed from
1079         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1080
1081         * buffer.C (dispatch): simplify
1082         (dispatch): adjust to take a FuncRequest as arg, adjust
1083
1084         * boost.C (assertion_failed): change assertion message slightly
1085
1086         * ToolbarBackend.C (read): simplify
1087
1088         * MenuBackend.C (binding): adjust call to findbinding, add a
1089         message if no binding is found.
1090         (read): simplify
1091         (expandToc): correct by adding a empty FuncRequest
1092
1093         * LyXAction.C: include <boost/assert.hpp>
1094         (isPseudoAction): delete function
1095         (LookupFunc): change name to...
1096         (lookupFunc): this. change return type to FuncRequest.
1097         (getActionName): take kb_action as arg, simplify
1098         (funcHasFlag): add an assert, simplify.
1099
1100 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1101
1102         * toc.C (action): return a FuncRequest, simplify
1103
1104         * lyxfunc.C (processKeySym): adjust
1105         (getStatus): delete version that takes an int.
1106         (getStatus): adjust
1107         (dispatch): delete version that takes action as int
1108         (dispatch): adjust
1109         (sendDispatchMessage): simplify and adjust
1110
1111         * funcrequest.C (getArg): take unsigned int as arg
1112
1113         * ToolbarBackend.C (read): adjust
1114         (add): delete version that takes func as a string.
1115         (getIton): take a FuncRequest as arg
1116
1117         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1118         action.
1119
1120         * MenuBackend.C (MenuItem): add a new construct that only takes a
1121         Kind, simplify the constructor use for submenus.
1122         (add): adjust
1123         (expandLastfiles): adjust
1124         (expandDocuments): adjust
1125         (expandFormats): adjust
1126         (expandFloatListInsert): adjust
1127         (expandFloatInsert): adjust
1128         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1129
1130         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1131         Remove class variables lyx_pseudo_map and lyx_arg_map
1132
1133         * LyXAction.C (searchActionArg): delete function
1134         (getPseudoAction): delete function
1135         (retrieveActionArg): delete function
1136         (LookupFunc): make it return kb_action, simplify.
1137         (getActionName): simplify
1138
1139         * factory.C (createInset): fix new bug
1140
1141 2003-09-19  Angus Leeming  <leeming@lyx.org>
1142
1143         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1144         masterFilename_ parameter in the include inset.
1145
1146         * factory.C (createInset): changes due to the changes to InsetInclude.
1147
1148 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1149
1150         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1151
1152 2003-09-18  Angus Leeming  <leeming@lyx.org>
1153
1154         * buffer.C:
1155         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1156         Inset::fillWithBibKeys.
1157         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1158
1159 2003-09-18  Angus Leeming  <leeming@lyx.org>
1160
1161         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1162         variables.
1163         (ctor): pass and store a 'Buffer const &'
1164         (buffer): new member function.
1165
1166         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1167         '*this' to the LaTeXFeatures ctor.
1168
1169 2003-09-18  Angus Leeming  <leeming@lyx.org>
1170
1171         * LColor.h:
1172         * lyxfont.C:
1173         * lyxfont.h:
1174         * lyxtext.h:
1175         * text.C: rename EnumLColor as LColor_color.
1176
1177 2003-09-18  Angus Leeming  <leeming@lyx.org>
1178
1179         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1180         remove #include "insets/insetbase.h" from cursor.h.
1181
1182 2003-09-18  Angus Leeming  <leeming@lyx.org>
1183
1184         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1185         InsetOld_code to remove #include "inset.h".
1186
1187         * iterators.C: add #include "insets/inset.h"
1188
1189 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1190
1191         * BufferView.C: remove more locking stuff that apparently doesn't
1192         do anything sensible.
1193
1194 2003-09-16  André Pönitz  <poenitz@gmx.net>
1195
1196         * paragraph.[Ch]:
1197         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1198           performance boost.
1199
1200 2003-09-16  Angus Leeming  <leeming@lyx.org>
1201
1202         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1203
1204         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1205         arg/return type.
1206
1207         * paragraph.h: remove #include "lyxfont.h". Forward declare
1208         LyXFont_size.
1209
1210 2003-09-16  Angus Leeming  <leeming@lyx.org>
1211
1212         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1213         of support/textutils.h.
1214         (isWord): move the contents of support/textutils.h's IsWordChar here.
1215
1216         * buffer.C:
1217         * lyxfind.C:
1218         * rowpainter.C:
1219         * text.C:
1220         * text2.C: add #include "paragraph.h".
1221
1222         * rowpainter.C:
1223         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1224
1225 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1226
1227         * main.C:
1228         * lyx_main.C:
1229         * lyx_cb.C:
1230         * buffer.C:
1231         * LaTeX.C: use namespace alias for lyx::support::os
1232
1233 2003-09-16  Angus Leeming  <leeming@lyx.org>
1234
1235         * bufferparams.C:
1236         * bufferview_funcs.C:
1237         * factory.C:
1238         * lyxfunc.C:
1239         * paragraph_pimpl.C:
1240         * rowpainter.C:
1241         * text.C: add #include "LColor.h".
1242
1243 2003-09-16  Angus Leeming  <leeming@lyx.org>
1244
1245         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1246         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1247         return LyXFont &.
1248         Store the FontBits::color variable as an int rather than as an
1249         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1250         file.
1251
1252         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1253         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1254         string calls together.
1255
1256         * lyxrc.C: add #include "LColor.h".
1257
1258 2003-09-15  Angus Leeming  <leeming@lyx.org>
1259
1260         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1261         a cow_ptr.
1262
1263 2003-09-15  Angus Leeming  <leeming@lyx.org>
1264
1265         * LColor.h: add an EnumLColor wrapper for LColor::color.
1266
1267         * lyxfont.[Ch] (color, setColor, realColor):
1268         * lyxtext.h, text.C (backgroundColor):
1269         pass EnumLColor args to/from the functions, rather than LColor::color
1270         ones.
1271
1272         * lyxfont.h:
1273         * lyxtext.h: forward declare EnumLColor.
1274
1275         * lyx_main.C: add #include "LColor.h".
1276
1277 2003-09-15  Angus Leeming  <leeming@lyx.org>
1278
1279         * .cvsignore: add lyx-gtk.
1280
1281 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1282
1283         * Chktex.C
1284         * LaTeX.C
1285         * LaTeXFeatures.C
1286         * ParagraphParameters.C
1287         * Spacing.C
1288         * buffer.C
1289         * bufferparams.C
1290         * bufferview_funcs.C
1291         * chset.C
1292         * counters.C
1293         * funcrequest.C
1294         * lyxfont.C
1295         * lyxgluelength.C
1296         * lyxlength.C
1297         * paragraph.C
1298         * paragraph_funcs.C
1299         * text3.C
1300         * vc-backend.C: remove usage of STRCONV
1301
1302 2003-09-15  Angus Leeming  <leeming@lyx.org>
1303
1304         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1305         explicitly define the color passed to the painter.
1306
1307 2003-09-15  Angus Leeming  <leeming@lyx.org>
1308
1309         * bufferparams.C (BufferParams): reorder member initializers to avoid
1310         compiler warning.
1311
1312 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1313
1314         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1315         * text.C (updateRowPositions): remove an unusual nop
1316
1317 2003-09-12  André Pönitz  <poenitz@gmx.net>
1318
1319         * BufferView_pimpl.C:
1320         * Bullet.C:
1321         * layout.h:
1322         * lyxfunc.C:
1323         * lyxlayout.[Ch]:
1324         * lyxtextclass.C:
1325         * rowpainter.C:
1326         * text.C:
1327         * text2.C:
1328         * Counters.[Ch]: finish the 'automatic counters' job
1329
1330 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1331
1332         * aspell.C: include <boost/assert.cpp> (compile fix)
1333
1334 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1335
1336         * boost.C (assertion_failed): use lyx::support::abort instead of
1337         assert.
1338
1339 2003-09-10  Angus Leeming  <leeming@lyx.org>
1340
1341         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1342         with their _fwd progeny.
1343
1344 2003-09-09  Angus Leeming  <leeming@lyx.org>
1345
1346         134 files throughtout the source tree: replace 'using namespace abc;'
1347         directives with the appropriate 'using abc::xyz;' declarations.
1348
1349 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1350
1351         * boost.C (emergencyCleanup): moved here from LAssert.c
1352         (assertion_failed): new function, called by BOOST_ASSERT
1353
1354         * several files: change Assert to BOOST_ASSERT
1355
1356 2003-09-09  Angus Leeming  <leeming@lyx.org>
1357
1358         * buffer.[Ch]: Add an Impl class and move Buffer's member
1359         variables into it. As a result move several header files out of
1360         buffer.h.
1361
1362         Add header files to lots of .C files all over the tree as a result.
1363
1364 2003-09-09  Angus Leeming  <leeming@lyx.org>
1365
1366         * buffer.[Ch]: make Buffer's member variables private. Add
1367         accessor functions.
1368
1369         Lots of changes all over the tree as a result.
1370
1371 2003-09-08  Angus Leeming  <leeming@lyx.org>
1372
1373         * graph.C: #include <config.h>.
1374
1375 2003-09-08  Angus Leeming  <leeming@lyx.org>
1376
1377         * BranchList.C:
1378         * BufferView.C:
1379         * BufferView_pimpl.C:
1380         * CutAndPaste.C:
1381         * DepTable.C:
1382         * LaTeX.C:
1383         * LaTeXFeatures.C:
1384         * LyXAction.C:
1385         * MenuBackend.C:
1386         * TextCache.C:
1387         * aspell.C:
1388         * buffer.C:
1389         * bufferlist.C:
1390         * changes.C:
1391         * chset.C:
1392         * converter.C:
1393         * counters.C:
1394         * debug.C:
1395         * graph.C:
1396         * ispell.C:
1397         * lyx_cb.C:
1398         * lyxfind.C:
1399         * lyxfunc.C:
1400         * lyxlex_pimpl.C:
1401         * lyxrc.C:
1402         * lyxrow.C:
1403         * paragraph.C:
1404         * rowpainter.C:
1405         * texrow.C:
1406         * text.C:
1407         * text2.C:
1408         * toc.C: remove redundant using directives.
1409
1410 2003-09-07  Angus Leeming  <leeming@lyx.org>
1411
1412         * LaTeXFeatures.h: remove #include "support/types.h".
1413         * ToolbarBackend.h: remove #include <algorithm>.
1414         * changes.h: remove #include <ctime>.
1415         * debug.h: remove #include <iosfwd>.
1416         * graph.h: remove #include "support/std_string.h".
1417         * lyx_main.h: remove #include <csignal>.
1418         * lyxlex_pimpl.h: remove #include <fstream>.
1419         * sgml.h: remove #include <algorithm>, <utility>.
1420         * toc.h: remove #include "support/std_ostream.h".
1421         Add #include <iosfwd>.
1422
1423 2003-09-07  Angus Leeming  <leeming@lyx.org>
1424
1425         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1426
1427         * converter.h: forward declare LatexRunParams.
1428         * encoding.h: remove #include "lyxrc.h".
1429         * lyxtext.h: remove #include "LColor.h".
1430         * lyxtextclass.h: remove #include "support/types.h".
1431         * trans.h: remove #include "tex-accent.h".
1432         * trans_mgr.h: remove #include "tex-accent.h".
1433         * insets/inset.h: remove #include "support/types.h", <vector>.
1434         * insets/insetcollapsable.h: remove #include "LColor.h".
1435         * insets/insetinclude.h: remove #include "dimension.h".
1436         * insets/insetlatexaccent.h: remove #include "dimension.h".
1437         * insets/insetoptarg.h:: remove #include "insettext.h".
1438         * insets/insettext.h: remove #include "dimension.h",
1439         <boost/shared_ptr.hpp>
1440
1441         * insets/renderers.h: add #include "dimension.h".
1442         * insets/updatableinset.h: add #include "support/types.h".
1443
1444         * many .C files: Associated changes.
1445
1446 2003-09-06  Angus Leeming  <leeming@lyx.org>
1447
1448         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1449         one, inside testInvariant.
1450
1451         * PrinterParams.C: new file.
1452         * PrinterParams.[Ch]: move the function bodies out of line.
1453
1454 2003-09-06  Angus Leeming  <leeming@lyx.org>
1455
1456         * ParagraphParameters.h: forward declare ParameterStruct rather than
1457         including its header file.
1458         (depth): moved out-of-line.
1459
1460 2003-09-06  Angus Leeming  <leeming@lyx.org>
1461
1462         * BufferView_pimpl.h:
1463         * kbmap.h:
1464         * kbsequence.h:
1465         * lyxfunc.h: forward declare LyXKeySym rather than
1466         #include "frontends/LyXKeySym.h".
1467
1468         * BufferView_pimpl.C:
1469         * kbmap.C:
1470         * kbsequence.C:
1471         * lyxfunc.C: associated changes.
1472
1473 2003-09-06  Angus Leeming  <leeming@lyx.org>
1474
1475         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1476         As a result, can remove the #include "insets/inset.h" from BufferView.h
1477
1478 2003-09-06  Angus Leeming  <leeming@lyx.org>
1479
1480         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1481         As a result, can remove the #include "insets/inset.h" from BufferView.h
1482
1483 2003-09-06  Angus Leeming  <leeming@lyx.org>
1484
1485         * buffer_funcs.C:
1486         * buffer.h:
1487         * bufferlist.C:
1488         * BufferView.C:
1489         * bufferview_funcs.C:
1490         * BufferView_pimpl.C:
1491         * CutAndPaste.C:
1492         * lyx_cb.C:
1493         * lyxfunc.C:
1494         * paragraph.h:
1495         * ParagraphParameters.C:
1496         * tabular.C:
1497         * text3.C:
1498         * toc.C:
1499         * undo_funcs.C:
1500         * frontends/controllers/ControlDocument.C:
1501         * insets/insetcaption.C: rearrange the #includes into some sort of
1502         coherent order.
1503
1504         * buffer.h: remove #includes ErrorList.h, undo.h
1505
1506 2003-09-06  Angus Leeming  <leeming@lyx.org>
1507
1508         * support/types.h: add a 'depth_type' typedef, used to store the
1509         nesting depth of a paragraph.
1510
1511         * paragraph.h:
1512         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1513         defining explicitly.
1514
1515         * buffer.h:
1516         * paragraph_funcs.h:
1517         * ParagraphParameters.h:
1518         * sgml.h: use lyx::depth_type rather than Paragraph or
1519         ParameterStruct's depth_type.
1520
1521         * buffer.h
1522         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1523
1524         * BufferView.C:
1525         * BufferView_pimpl.C:
1526         * CutAndPaste.C:
1527         * ParagraphParameters.C:
1528         * buffer_funcs.C:
1529         * bufferlist.C:
1530         * bufferview_funcs.C:
1531         * lyx_cb.C:
1532         * lyxfunc.C:
1533         * tabular.C:
1534         * text3.C:
1535         * toc.C:
1536         * undo_funcs.C:
1537         * frontends/LyXView.C:
1538         * frontends/controllers/ControlDocument.C:
1539         * frontends/controllers/ControlErrorList.C:
1540         * insets/insetbibitem.C:
1541         * insets/insetbranch.C:
1542         * insets/insetcaption.C:
1543         * insets/insetcollapsable.C:
1544         * insets/insetenv.C:
1545         * insets/insetert.C:
1546         * insets/insetfloat.C:
1547         * insets/insetfoot.C:
1548         * insets/insetfootlike.C:
1549         * insets/insetnewline.C:
1550         * insets/insetquotes.C:
1551         * insets/insettabular.C:
1552         * insets/insettext.C:
1553         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1554
1555         * frontends/controllers/ControlChanges.C: #include "changes.h".
1556
1557 2003-09-06  Angus Leeming  <leeming@lyx.org>
1558
1559         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1560         than #including paragraph.h.
1561
1562         * ParagraphList.h:
1563         * RowList.h: deleted. Superfluous.
1564
1565         * CutAndPaste.h:
1566         * iterators.h:
1567         * lyxcursor.h:
1568         * lyxtext.h:
1569         * text_funcs.h:
1570         * undo.h:
1571         * undo_funcs.h:
1572         * insets/inset.h:
1573         * insets/insettext.h: use ParagraphList_fwd.h rather than
1574         ParagraphList.h.
1575
1576         * paragraph.h: don't forward declare ParagraphList.
1577
1578         * buffer.h:
1579         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1580         rather than ParagraphList.h. paragraph.h is still needed for the
1581         Paragraph::depth_type parameters.
1582
1583         * textcursor.h: enable it to compile stand-alone in light of the
1584         above changes.
1585
1586         * bufferview_funcs.C:
1587         * iterators.C:
1588         * lyxfunc.C:
1589         * lyxrow_funcs.C:
1590         * paragraph.C:
1591         * rowpainter.C:
1592         * text.C:
1593         * text2.C:
1594         * text3.C:
1595         * text_funcs.C:
1596         * textcursor.C:
1597         * undo.C:
1598         * frontends/controllers/ControlParagraph.C:
1599         * frontends/controllers/ControlTabular.C:
1600         * insets/insetmarginal.C:
1601         * insets/insetminipage.C:
1602         * insets/insetnote.C:
1603         * insets/insetoptarg.C: add header files needed to compile again.
1604
1605 2003-09-06  Angus Leeming  <leeming@lyx.org>
1606
1607         * RowList_fwd.h: new file, forward-declaring Row rather than
1608         #including lyxrow.h.
1609
1610         * lyxrow_funcs.h:
1611         * lyxtext.h:
1612         * paragraph.h:
1613         * insets/insettext.h: use it instead of RowList.h
1614
1615         * bufferview_funcs.C:
1616         * lyxfunc.C:
1617         * lyxrow_funcs.C:
1618         * paragraph.C:
1619         * rowpainter.C:
1620         * text.C:
1621         * text2.C:
1622         * text3.C: #include "RowList.h".
1623
1624 2003-09-05  Angus Leeming  <leeming@lyx.org>
1625
1626         * factory.C (createInset):
1627         * vspace.C (c-tor): replace sscanf call with an istringstream.
1628         * ispell.C: re-add missing HP/UX headers.
1629         * lyxserver.C: re-add missing  os2 headers.
1630
1631 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1632
1633         * BranchList.C:
1634         * graph.C:
1635         * ispell.C:
1636         * lastfiles.C:
1637         * lyx_cb.C:
1638         * lyxserver.C:
1639         * texrow.C:
1640         * text3.C: re-add missing system headers, needed for 2.95.2.
1641
1642 2003-09-05  Angus Leeming  <leeming@lyx.org>
1643
1644         Changes most place everywhere due to the removal of using directives
1645         from support/std_sstream.h.
1646
1647 2003-09-05  Angus Leeming  <leeming@lyx.org>
1648
1649         Replace LString.h with support/std_string.h,
1650         Lsstream.h with support/std_sstream.h,
1651         support/LIstream.h with support/std_istream.h,
1652         support/LOstream.h with support/std_ostream.h.
1653
1654         Changes resulting throughout the tree.
1655
1656 2003-09-05  Angus Leeming  <leeming@lyx.org>
1657
1658         * sgml.h: ensure that the header file can be compiled stand-alone.
1659         * *.C: strip out redundant #includes. (320 in total.)
1660
1661 2003-09-04  Angus Leeming  <leeming@lyx.org>
1662
1663         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1664         here (from getPackages).
1665
1666         * debug.[Ch]: add a new EXTERNAL tag.
1667
1668 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1669
1670         * text2.C (cursorEnd): simplify
1671         (setCursor): adjust
1672         (getColumnNearX): adjust
1673
1674         * text.C (computeBidiTables): adjust
1675         (fill): adjust
1676
1677         * rowpainter.C (paintChars): adjust
1678         (paintSelection): adjust
1679         (paintChangeBar): adjust
1680         (paintText): adjust
1681
1682         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1683         lastPos instead.
1684         (numberOfSeparators): adjust
1685
1686 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1687
1688         * LyXAction.C:
1689         * box.[Ch]:
1690         * lfuns.h:
1691         * lyxfunc.C:
1692         * text3.C: Restricts the mouse click functionality
1693         of insets like bibtex, include, toc and floatlist to the visible
1694         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1695         up the dialogs. Cursor has to be in front of the inset (i.e.
1696         start of row) for this to function.
1697
1698 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1699
1700         * bufferview_funcs.C (currentState): output row information
1701
1702 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1703
1704         * bufferview_funcs.C (currentState): output paragraph position
1705
1706 2003-09-04  Angus Leeming  <leeming@lyx.org>
1707
1708         * FloatList.h: move out #include "Floating.h".
1709         * LaTeX.h: move out #include "DepTable.h".
1710         * LyXAction.h: move out #include "funcrequest.h".
1711         * buffer.h: move out #include "author.h", "iterators.h".
1712         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1713         * lyx_main.h: move out #include "errorlist.h".
1714         * lyxfunc.h: move out #include "FuncStatus.h".
1715         * lyxtext: move out #include "lyxcursor.h".
1716         * paragraph_pimpl.h: move out #include "counters.h".
1717
1718 2003-09-03  Angus Leeming  <leeming@lyx.org>
1719
1720         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1721         preamble_snippets list, enabling us to add snippets to the preamble
1722         only if the snippet was not there already.
1723
1724 2003-09-04  Angus Leeming  <leeming@lyx.org>
1725
1726         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1727
1728 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1729
1730         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1731         update
1732
1733 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1734
1735         * BranchList.C: point fix, earlier forgotten
1736
1737 2003-09-02  Angus Leeming  <leeming@lyx.org>
1738
1739         * box.C (contains): renamed from 'contained' after a fantastic
1740         amount of hot air.
1741
1742 2003-09-02  John Levon  <levon@movementarian.org>
1743
1744         * BufferView.C:
1745         * lyxcursor.h:
1746         * lyxcursor.C:
1747         * lyxfunc.C:
1748         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1749
1750 2003-09-02  John Levon  <levon@movementarian.org>
1751
1752         * text2.C: simplification of cursorEnd(), including partial
1753         fix for bug 1376
1754
1755 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1756
1757         * buffer.C (readFile): add a space
1758
1759 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1760
1761         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1762
1763 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1764
1765         * buffer.C (readFile): new function, take a filename and a
1766         ParagraphList::iterator
1767         (readFile): adjust
1768         (readFile): adjust, make it private. don't use setStream, make
1769         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1770         always contain the filename.
1771
1772         * BufferView.C (insertLyXFile): simplify and make it work for
1773         gzipped files.
1774
1775 2003-08-30  John Levon  <levon@movementarian.org>
1776
1777         * Makefile.am: fix dist (from Kayvan)
1778
1779 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1780
1781         * most files: change to use const Buffer refs
1782
1783 2003-08-27  André Pönitz  <poenitz@gmx.net>
1784
1785         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1786         on top of ownerPar().
1787
1788 2003-08-27  John Levon  <levon@movementarian.org>
1789
1790         * funcrequest.C: properly initialise POD members
1791
1792 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1793
1794         * lyxtext.h (top_y): move top_y from here
1795         * text.C:
1796         * text2.C:
1797         * text3.C:
1798         * BufferView.[Ch]:
1799         * BufferView_pimpl.[Ch]: to here
1800         * frontends/screen.C:
1801         * insets/insettabular.C:
1802         * insets/insettext.C: adjust
1803         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1804
1805 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1806
1807         * BufferView.[Ch]:
1808         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1809
1810 2003-08-26  André Pönitz  <poenitz@gmx.net>
1811
1812         * paragraph_func.[Ch] (outerPar): new function
1813
1814         * paragraph.C:
1815         * paragraph_funcs.C:
1816         * paragraph_funcs.h:
1817         * paragraph_pimpl.C:
1818         * text2.C: remove Inset::par_owner
1819
1820 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1821
1822         * lyxrow_funcs.C:
1823         * lyxtext.h:
1824         * text.C:
1825         * text2.C: eliminates the needFullRow/display() stuff
1826         altogether, putting the logic in metrics/draw in the insets.
1827
1828 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1829
1830         * text2.C (redoParagraphInternal, redoParagraphs):
1831         * text.C (redoParagraph): add a call to updateRowPositions at the
1832         end of each 'metrics-like' call. Remove all others.
1833         (getRow): remove the 'y-computing' version.
1834         (getRowNearY): do not compute nor return the real y. Solve the
1835         'y < 0' problem and simplify.
1836
1837 2003-08-22  Angus Leeming  <leeming@lyx.org>
1838
1839         * *.[Ch]: clean-up of licence and author blurbs.
1840         Also move config.h out of a few .h files and into a few .C files.
1841
1842 2003-08-22  André Pönitz  <poenitz@gmx.net>
1843
1844         * lyxrow.[Ch]: add x_ and *fill_ members
1845
1846         * lyxtext.h:
1847         * text.C:
1848         * rowpainter.C:
1849         * text2.C: adjust/remove prepareToPrint() calls
1850
1851 2003-08-22  André Pönitz  <poenitz@gmx.net>
1852
1853         * lyxrow.[Ch]: add  end_ member
1854
1855         * lyxrow_funcs.C: use LyXRow::end_
1856
1857         * lyxtext.h (singleWidth): add LyXFont parameter
1858
1859         * rowpainter.C:
1860         * text2.C: adjust LyXText::singleWidth() calls
1861
1862         * text.C (redoParagraph): simplify row breaking logic
1863
1864
1865 2003-08-19  André Pönitz  <poenitz@gmx.net>
1866
1867         * funcrequest.C: initialize button_ member
1868
1869         * text3.C:
1870         * rowpainter.[Ch]: interface consolidation
1871
1872 2003-08-18  André Pönitz  <poenitz@gmx.net>
1873
1874         * BufferView.C:
1875         * BufferView_pimpl.C:
1876         * lyxfind.C:
1877         * paragraph_funcs.C:
1878         * rowpainter.C:
1879         * text3.C: remove LyXScreen::draw() and fitCursor calls
1880
1881         * BranchList.h: remove spurious semicolons
1882
1883         * MenuBackend.C: fix branchlist related crash
1884
1885 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1886
1887         * BranchList.[Ch]:
1888         * InsetList.[Ch]:
1889         * LColor.[Ch]:
1890         * LyXAction.C:
1891         * Makefile.am:
1892         * MenuBackend.[Ch]:
1893         * bufferparams.[Ch]:
1894         * factory.C:
1895         * lfuns.h:
1896         * lyxfunc.C:
1897         * text3.C: implements the 'branch inset'
1898         idea. This allows the output of various versions of a document
1899         from a single source version, selectively outputing or suppressing
1900         output of parts of the text.
1901         This implementation contains a 'branch list editor' in a separate
1902         tab of the document settings dialog. Branches are user definable
1903         and have a "display colour" to distinguish them on-screen.
1904
1905         ColorHandler was somewhat cleaned up.
1906         (1) make possible a dynamically growing LColor list by allowing
1907         the graphic context cache to grow along (vector);
1908         (2) eliminate an IMHO unnecessary step in colour allocation.
1909
1910 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1911
1912         * BufferView_pimpl.C: compile fix
1913
1914 2003-08-15  André Pönitz  <poenitz@gmx.net>
1915
1916         * rowpainter.C: remove extra metrics calls
1917
1918         * lyxtext.h: merge the two constructors into a single one,
1919           pass reference to owner's par list
1920
1921         * BufferView_pimpl.C:
1922         * text.C:
1923         * text2.C: adjust
1924
1925 2003-08-15  André Pönitz  <poenitz@gmx.net>
1926
1927         * lyxrow_funcs.[Ch]:
1928         * lyxtext.h:
1929         * paragraph.h:
1930         * paragraph_funcs.C:
1931         * rowpainter.C:
1932         * text.C:
1933         * text2.C:
1934         * text3.C:
1935         * text_funcs.C: split LyXText::rowlist_ into individual
1936         Paragraph::rows_ chunks
1937
1938         * BufferView.[Ch]:
1939         * BufferView_pimpl.[Ch]:
1940         * lyxfind.C:
1941         * lyxtext.h:
1942         * text3.C: remove toggleSelection()
1943
1944 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1945
1946         * bufferlist.C: beautify two alerts (shorter text of buttons)
1947         * buffer.C: Remove redundant ' ' from message
1948         * tabular.h:
1949         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1950         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1951         rename VALIGN_CENTER to VALIGN_MIDDLE
1952
1953 2003-08-11  André Pönitz  <poenitz@gmx.net>
1954
1955         * lyxtext.h (getPar):
1956         * text.C: new function
1957
1958 2003-08-11  André Pönitz  <poenitz@gmx.net>
1959
1960         * Makefile.am:
1961         * tracer.[Ch]: remove unneeded files
1962
1963         * InsetList.[Ch]: remove resizeInsetsLyXText()
1964
1965         * lyxtext.h:
1966         * text.C:
1967         * text2.C:
1968         * text3.C: merge insertParagraphs() and appendParagraph()
1969         remove breakAgain(), update()
1970
1971         * BufferView_pimpl.[Ch]:
1972         * bufferview_funcs.[Ch]:
1973         * lyxfunc.C:
1974         * paragraph.[Ch]:
1975         * rowpainter.C:
1976         * tabular.C: adjust after text & InsetList changes.
1977
1978 2003-08-08  André Pönitz  <poenitz@gmx.net>
1979
1980         * text.C (insertChar, backspace): replace rowlist fiddling
1981         with rebreak of full par
1982
1983         * lyxtext.h:
1984         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1985         checkParagraph, updateInset): removed
1986
1987 2003-08-07  André Pönitz  <poenitz@gmx.net>
1988
1989         * paragraph.C:
1990         * text3.C: merge some LFUN handlers, remove dead code
1991
1992 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1993
1994         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1995
1996 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1997
1998         * text2.C (DEPM): fix part of bug 1255 and 1256
1999
2000 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2001
2002         * BufferView_pimpl.C (workAreaDispatch): change to use
2003         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2004         that are no mouse related.
2005
2006 2003-08-05  André Pönitz  <poenitz@gmx.net>
2007
2008         * BufferView.[Ch]:
2009         * BufferView_pimpl.[Ch]:
2010         * bufferview_funcs.C:
2011         * text2.C:
2012         * text3.C: rip out "deep update"
2013
2014         * textcursor.[Ch] (last_sel_cursor): remove unused member
2015
2016 2003-08-04  André Pönitz  <poenitz@gmx.net>
2017
2018         * BufferView.[Ch]:
2019         * BufferView_pimpl.[Ch]:
2020         * ParagraphParameters.C:
2021         * bufferview_funcs.C:
2022         * lyx_cb.C:
2023         * lyxfind.C:
2024         * lyxfunc.C:
2025         * text.C:
2026         * text2.C:
2027         * text3.C: replace "complicated" BufferView::update(...) calls with
2028         simpler ones.
2029
2030         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2031
2032 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2033
2034         * Makefile.am (lyx_SOURCES): add paper.h
2035
2036 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2037
2038         * Makefile.am: move things around so that both lyx-qt and
2039         lyx-xforms can be built (according to --with-frontend). Then lyx
2040         is a symbolic link to lyx-[firstfrontend]
2041
2042 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2043
2044         * Always use std::endl with lyxerr
2045
2046 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2047
2048         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2049
2050 2003-08-01  André Pönitz  <poenitz@gmx.net>
2051
2052         * BufferView.[Ch]:
2053         * BufferView_pimpl.[Ch]:
2054         * lyxfunc.C:
2055         * text3.C: merge BufferView::repaint() and BufferView::update()
2056
2057 2003-08-01  José Matos  <jamatos@lyx.org>
2058
2059         * buffer.[Ch]: file_format is no longer a buffer data element.
2060
2061 2003-08-01  André Pönitz  <poenitz@gmx.net>
2062
2063         * BufferView.C:
2064         * lyxtext.h:
2065         * text.C:
2066         * text2.C: make redoParagraph more independent of current cursor
2067
2068         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2069         * text.C:
2070         * text2.C: remove unneeded members
2071
2072 2003-07-30  André Pönitz  <poenitz@gmx.net>
2073
2074         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2075
2076         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2077           create a single function...
2078
2079         * paragraph_funcs.C (moveItem): ... here.
2080
2081         * text.C:
2082           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2083
2084 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2085
2086         * LColor.[Ch]: Add comment and greyedout logical colors.
2087
2088 2003-07-30  André Pönitz  <poenitz@gmx.net>
2089
2090         * tabular.C: don't use Assert too heavily. This crashes where it
2091           shouldn't
2092
2093 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2094
2095         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2096         is disabled (bug 1232)
2097
2098 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2099
2100         * factory.C: limited 'arg' scope
2101
2102 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2103
2104         * factory.C: fixed Note submenu issues
2105
2106 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2107
2108         * factory.C: submenu for Note/Comment/Greyedout
2109
2110 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2111
2112         * lyx_main.C (LyX):
2113         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2114
2115 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2116
2117         * LaTeXFeatures.C:
2118         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2119         greyedout. Patch provided by Jürgen Spitzmüller.
2120
2121 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * kbmap.C (read): fix error message when reading bind files
2124
2125 2003-07-29  Angus Leeming  <leeming@lyx.org>
2126
2127         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2128         certainly does not do what it purports to do. I am doing it, and
2129         us, a favour by killing it.
2130
2131 2003-07-28  José Matos  <jamatos@lyx.org>
2132
2133         * buffer.C (readBody, do_writeFile):
2134         * paragraph.C(readParagraph): \end_document replaces \the_end.
2135
2136 2003-07-29  André Pönitz  <poenitz@gmx.net>
2137
2138         * BufferView.[Ch]:
2139         * BufferView_pimpl.[Ch]:
2140         * lyxfunc.C:
2141         * text2.C:
2142         * text3.C:
2143         * textcursor.[Ch]: remove toggleToggle & Co
2144
2145 2003-07-28  José Matos  <jamatos@fep.up.pt>
2146
2147         * buffer.C (readParagraph):
2148         * params_func (readParToken, readParagraph):
2149         * paragraph.C (write): \layout -> \begin_layout.
2150
2151 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2152
2153         * lyxlex_pimpl.C (setFile): clean up slightly.
2154
2155         * bufferparams.h: add compressed var
2156
2157         * buffer_funcs.C (readFile): adjust for LyXLex change
2158         (newFile): ditto + simplify
2159
2160         * buffer.C (writeFile): handle writing of compressed files
2161
2162         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2163         Check if the file is compressed and set a bufferparm if so.
2164
2165         * Makefile.am (lyx_LDADD): remove explicit -lz
2166
2167 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2170         makeDocBookFile): put the real LyX version in the first line of
2171         the file
2172
2173         * version.h:
2174         * version.C.in: remove lyx_docversion
2175
2176         * tabular.C (write_attribute): add a template-based version to
2177         write enums properly
2178
2179 2003-07-28  André Pönitz  <poenitz@gmx.net>
2180
2181         * lyxtext.h:
2182         * text.C:
2183         * text2.C:
2184         * text3.C: use doubles again for x-coordinates. They are needed.
2185
2186 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2187
2188         * messages.C (getLocaleDir): use lyx_localedir()
2189
2190         * lyxlex_pimpl.C (setFile): compress stuff
2191
2192         * buffer.C (writeFile): add some compression stuff
2193         (do_writeFile): new func, dont call expliti close... will this
2194         breake anything?
2195
2196         * Makefile.am (lyx_LDADD): add -lz
2197
2198 2003-07-28  José Matos  <jamatos@fep.up.pt>
2199
2200         * buffer.C: increment file format.
2201         * paragraph_funcs (readParagraph, readParToken):
2202         * paragraph.C (readParagraph): add \end_layout.
2203
2204 2003-07-27  Angus Leeming  <leeming@lyx.org>
2205
2206         * Makefile.am: remove special casing for configure-time setting of
2207         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2208
2209         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2210         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2211
2212 2003-07-26  André Pönitz  <poenitz@gmx.net>
2213
2214         * paragraph_func.[Ch]:
2215         * paragraph.C (realizeFont): inline it whereever it is used
2216
2217         * rowpainter.C:
2218         * text.C:
2219         * text2.C:
2220         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2221
2222
2223 2003-07-26  André Pönitz  <poenitz@gmx.net>
2224
2225         *       lyxtext.h:
2226         * text.C:
2227         * text2.C: get rid of LyXText::need_break_row
2228
2229 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2230
2231         * toc.[Ch]: put namespace toc inside namespace lyx
2232
2233         * MenuBackend.C (expandToc2): adjust for lyx::toc
2234         (expandToc): ditto
2235
2236         * lyxfunc.C (dispatch): adjust for lyx::find
2237
2238         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2239         lyx::find instead. Reorganize a bit.
2240         (LyXReplace): rename to replace
2241         (LyXFind): rename to find
2242
2243         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2244         (dispatch): ditto
2245
2246 2003-07-26  André Pönitz  <poenitz@gmx.net>
2247
2248         * text.C (setHeightOfRow): restrict scope of temporary variable
2249
2250         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2251           code (never has been used?)
2252
2253 2003-07-27  Asger Alstrup  <alstrup@local>
2254
2255         * text.C (fill): Optimise algorithm to exploit that we can reuse
2256         the LyXFont for many characters.
2257         (setHeightOfRow): Same thing.
2258         (rowBreakPoint): Same thing.
2259
2260 2003-07-26  Asger Alstrup  <alstrup@local>
2261
2262         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2263
2264         * text.C (singleWidth): Spurious font copying in hot-spot
2265         singleWidth avoided. Reorder tests for arabic for efficiency.
2266
2267         * text.C (fill): handle empty paragraphs better.
2268
2269 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * ispell.C:
2272         * encoding.h: add includes
2273
2274         * lyxrc.C: remove reading of bind files
2275
2276         * lyx_main.C (init): setup bindings and menus only if we have a
2277         gui.
2278
2279         * kbmap.C (read): new method. Do the actual reading of bind
2280         files.
2281
2282         * converter.C (dvipdfm_options):
2283         * bufferparams.C:
2284         * lyxrc.C (read):
2285         (output): adapt PAPER_* enums.
2286
2287         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2288
2289         * bufferparams.h: remove paper-related enums from there
2290
2291         * paper.h: New file. A trivial header file to hold paper-related
2292         enums. It should later expand to contain many paper-related
2293         horrors access.
2294
2295         * lyxrc.C: declare extern displayTranslator
2296
2297 2003-07-27  José Matos  <jamatos@fep.up.pt>
2298
2299         * tabular.[Ch] (linuxdoc): add support for tables and figures
2300         (linuxdoc).
2301
2302 2003-07-27  José Matos  <jamatos@fep.up.pt>
2303
2304         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2305         consistency in both functions.
2306         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2307
2308 2003-07-26  Asger Alstrup  <alstrup@local>
2309
2310         * rowpainter.C (paintRows): Change algorithm to work directly on
2311         the insets rather than asking every character in the document
2312         whether its an inset.
2313
2314 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2315
2316         * buffer.C (openFileWrite): factorize some code
2317
2318 2003-07-26  Angus Leeming  <leeming@lyx.org>
2319
2320         * lyx_cb.C:
2321         * lyx_main.[Ch]: replace occurances of system_tempdir with
2322         os::getTmpDir().
2323
2324 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * rename Inset to InsetOld
2327
2328 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2329
2330         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2331         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2332         which I think is a bit clearer. EDIT is gone, since it was
2333         premature optimisation, and broken for mathed anyway.
2334         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2335         with cursor positioning in insets as well (math insets still do not
2336         work, but that's a different story anyway.) It mysteriously
2337         crashes sometimes with undo in the first paragraph, but I'm fairly
2338         confident that this is a compiler bug.
2339
2340 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2341
2342         * paragraph.C (Paragraph): adjust for new clone return type
2343         (operator==): ditto
2344         (copyIntoMinibuffer): ditto
2345
2346 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2347
2348         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2349         by not having a special case, and always doing a full rebreak of
2350         the document after undo.
2351
2352 2003-07-23  Angus Leeming  <leeming@lyx.org>
2353
2354         * factory.C (createInset): InsetExternal::setParams now takes a
2355         Buffer const * arg.
2356
2357 2003-07-23  Angus Leeming  <leeming@lyx.org>
2358
2359         * factory.C (createInset): changed interface to the external and
2360         graphics mailers' string2params functions.
2361
2362 2003-07-23  Angus Leeming  <leeming@lyx.org>
2363
2364         * factory.C (createInset): pass a
2365         Buffer const * parameter to InsetExternalMailer's string2params.
2366
2367 2003-07-22  John Levon  <levon@movementarian.org>
2368
2369         * Thesaurus.h: include the right aiksaurus header
2370
2371 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2372
2373         * MenuBackend.C (expand): check menu shortcuts unconditionally
2374
2375 2003-07-21  Angus Leeming  <leeming@lyx.org>
2376
2377         * factory.C (createInset): pass a
2378         buffer_path parameter to InsetGraphicsMailer's string2params.
2379
2380 2003-07-21  Angus Leeming  <leeming@lyx.org>
2381
2382         * BufferView_pimpl.C (buffer):
2383         * buffer.C (d-tor):
2384         * lyx_main.C (LyX):
2385         * lyxfunc.C (dispatch):
2386         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2387         rather than the grfx shortcut.
2388
2389 2003-07-21  André Pönitz  <poenitz@gmx.net>
2390
2391         * rowpainter.C: remove unused variables
2392
2393         * tabular_funcs.C:
2394         * tabular_funcs.h: move to tabular.C
2395         * Makefile.am: adjust
2396
2397         * tabular.[Ch]: basic optical cleaning
2398
2399         * author.h: pass references, not values
2400
2401 2003-07-18  André Pönitz  <poenitz@gmx.net>
2402
2403         * lyxtext.h:
2404         * metricsinfo.C:
2405         * metricsinfo.h:
2406         * rowpainter.C:
2407         * text.C:
2408         * text2.C:
2409         * text3.C: two-phase drawing for InsetText and InsetTabular
2410         some float -> int changes.
2411
2412 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2413
2414         * lyx_main.C: fix the fix
2415
2416 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2417
2418         * lyx_main.C: fix a crash in batch mode if no files specified
2419         * converter.C: ws
2420
2421 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2422
2423         * format.[Ch] (papersize): moved to BufferParams
2424         * converter.[Ch] (dvips_options): moved to BufferParams
2425         (dvipdfm_options): moved to anon namespace
2426         * bufferparams.[Ch]: added above functions.
2427
2428 2003-07-17  André Pönitz  <poenitz@gmx.net>
2429
2430         * lyxtext.h:
2431         * rowpainter.C:
2432         * text2.C: don't call inset->update() anymore
2433
2434         * metricsinfo.[Ch]: add convenience constructor
2435
2436 2003-07-16  André Pönitz  <poenitz@gmx.net>
2437
2438         * lyxcursor.[Ch]:
2439         * lyxfunc.[Ch]:
2440         * text.C:
2441         * text2.C: replace the LyXCursor::irow_ member with
2442          on-demand computation of the value
2443
2444 2003-07-16  John Levon  <levon@movementarian.org>
2445
2446         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2447
2448 2003-07-15  André Pönitz  <poenitz@gmx.net>
2449
2450         * text.C:
2451         * text2.C: remove no more needed refresh_row
2452
2453 2003-07-15  André Pönitz  <poenitz@gmx.net>
2454
2455         * lyxtext.h:
2456         * rowpainter.C:
2457         * text2.C:
2458         * text3.C: refresh_status tristate -> need_update bool
2459
2460 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2461
2462         * lyxtext.h (init): remove reinit argument (act as if always true)
2463         * text2.C: adjust to that
2464
2465 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2466
2467         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2468         * text3.C: use it to delete selections in some cases
2469         (bugs 441, 673, 702, 954).
2470
2471 2003-07-14  André Pönitz  <poenitz@gmx.net>
2472
2473         * rowpainter.[Ch]: reduce interface
2474
2475 2003-07-14  André Pönitz  <poenitz@gmx.net>
2476
2477         * BufferView_pimpl.C:
2478         * text2.C: adjust after removing unused BufferView * argument
2479
2480 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2481
2482         * text2.C (init): fix a crash fired on resize
2483
2484 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2485
2486         * buffer.[Ch]: added new closing signal
2487         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2488         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2489         BufferView::Pimpl via the closing the signal
2490
2491 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2492
2493         * buffer.[Ch]: take out all bv-related from buffer
2494         * BufferView.C:
2495         * BufferView_pimpl.[Ch]: connect to new signals
2496         * CutAndPaste.C: removed useless asserts
2497         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2498         * lyxvc.[Ch]:
2499         * vc-backend.[Ch]:
2500         * lyxfunc.C: moved view-related funciontality from vc here
2501         * paragraph.C: removed outdated comments
2502         * text.C: ws
2503
2504 2003-07-10  André Pönitz  <poenitz@gmx.net>
2505
2506         * BufferView_pimpl.C:
2507         * tabular.h:
2508         * tabular_funcs.C:
2509         * text.C:
2510         * text2.C: remove InsetText::InnerCache, clean up consequences
2511
2512 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2513
2514         * ispell.C: fix two typos in error messages
2515
2516 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2517
2518         * Extend Note inset to other forms of annotation like Comment
2519         and Greyedout. Right button click gives dialog.
2520
2521         Files modified or added (+):
2522
2523         * insetnote.[Ch]
2524         * FormNote.[Ch]      +
2525         * ControlNote.[Ch]   +
2526         * form_note.fd       +
2527         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2528         frontends/controllers
2529         * xforms/Dialogs.C
2530         * factory.C
2531
2532 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2533
2534         * aspell.C: add missing namespace lyx::support
2535
2536 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2537
2538         * BufferView.[Ch] (newFile): Add
2539         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2540         * LaTeX.[Ch] (message): added this signal and use it
2541         * buffer.[Ch] (busy, message): added these signals and use them
2542         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2543         * converter.C:
2544         * exporter.C:
2545         * format.C:
2546         * importer.C: use buffer signals instead of direct bv calling
2547         * lyx_cb.[Ch] (ShowMessage): removed
2548         * lyx_main.C:
2549         * lyxfunc.C:
2550         * paragraph_funcs.C:
2551         * text2.C: use buffer signals
2552
2553 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2554
2555         * introduce namespace lyx::graphics
2556
2557 2003-07-02  André Pönitz  <poenitz@gmx.net>
2558
2559         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2560
2561 2003-07-01  André Pönitz  <poenitz@gmx.net>
2562
2563         * text.C:
2564         * text2.C:
2565         * text3.C:
2566         * text_funcs.[Ch]:
2567         * textcursor.h:
2568         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2569           text*.C to text_func.C
2570
2571 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * introduce namespace lyx::support
2574
2575 2003-06-30  André Pönitz  <poenitz@gmx.net>
2576
2577         * Chktex.C:
2578         * funcrequest.C:
2579         * lyxtext.h:
2580         * text.C: re-enable --with-included-string
2581
2582 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2583
2584         * textcursor.C: add <config.h>
2585
2586         * text.C (getWord): remove const from word_location arg
2587
2588         * lyxvc.C (getLogFile): fix const type order
2589
2590         * lyxtext.h: remove const from word_location arg, add arg name
2591
2592         * lyxlayout.h: currect type on labeltype.
2593
2594         * importer.C: correct \file
2595
2596         * converter.C (intToFormat): use std:: on ret val, ws changes
2597
2598         * bufferlist.h: correct \file
2599
2600         * buffer.C (makeLinuxDocFile): fix const type order
2601         (makeDocBookFile): ditto
2602         (fillWithBibKeys): use std:: on stdlib args.
2603
2604         * CutAndPaste.C: fix authors.
2605         (availableSelections): use std:: on return vector
2606
2607 2003-06-27  André Pönitz  <poenitz@gmx.net>
2608
2609         * BufferView_pimpl.C:
2610         * bufferview_funcs.C:
2611         * lyxcursor.C:
2612         * lyxcursor.h:
2613         * lyxfunc.C:
2614         * lyxtext.h:
2615         * rowpainter.C:
2616         * text.C:
2617         * text2.C:
2618         * text3.C: remove LyXCursor::row_ member
2619
2620         * lyxtext.h:
2621         * text.C: rename fullRebreak() to partialRebreak() and implement
2622           a fullRebreak() that really bereks fully
2623
2624         * textcursor.h: new struct for cursor-related data
2625
2626 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2627
2628         * lyx_main.C (LyX): get full path of document loaded on the
2629         command line
2630
2631 2003-06-26  André Pönitz  <poenitz@gmx.net>
2632
2633         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2634           remove unused/broken operator>,<,>=.
2635
2636         *       text.C: remove only use of broken operator<= in an Assert().
2637
2638 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2639
2640         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2641         moved errorlist_.clear to showErrorList
2642
2643 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2644
2645         * converter.C (scanLog, runLaTeX):
2646         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2647         move the bv->showErrorList call to the callers
2648         * lyxfunc.C: i.e. here...
2649         * text2.C: and here
2650         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2651         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2652         namespace, the second to...
2653         * buffer_funcs (BufferFormat, parseErrors): added
2654         * errorlist.C (ErrorList(TeXErrors const &)): removed
2655
2656 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2657
2658         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2659
2660 2003-06-24  "Garst R. Reese" <reese@isn.net>
2661
2662         * debug.C: fix typo
2663
2664 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2667
2668         * version.C.in: change docversion to 1.4
2669
2670 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2671
2672         * buffer.C: fix a bug just introduced
2673
2674 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2675
2676         * buffer.[Ch]: added the parseError signal and use it, removed
2677         sgmlError
2678         * BufferView.[Ch] (addError): moved to ...
2679         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2680         to the Buffer::parseError signal to catch (guess what) parse errors
2681         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2682
2683 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2684
2685         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2686         ability to create a buffer and to return an existing one from
2687         the list. Moved these functions to...
2688         * buffer_funcs.[Ch]: added
2689         * BufferView.[Ch] (loadLyXFile): added
2690         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2691         job removed from bufferlist::loadLyXFile.
2692         * buffer.C (setReadOnly): make it work without view
2693         (i.e added an if (users))
2694
2695 2003-06-19  Angus Leeming  <leeming@lyx.org>
2696
2697         * lfuns.h:
2698         * LyXAction.C (init):
2699         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2700         with LFUN_DIALOG_SHOW <name> <data>.
2701
2702 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2703
2704         * CutAndPaste.C (availableSelections): small compilation fix for
2705         ancient (gcc 2.9x) compilers
2706
2707 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2708
2709         * text3.C (cursorNext): add tmp var
2710
2711         * text2.C (updateCounters): for function calling out of for clause
2712         (replaceSelectionWithString): ditto
2713         (insertStringAsParagraphs): ditto
2714         (getColumnNearX): add tmp var
2715         (setCursorFromCoordinates): add tmp var
2716         (cursorDownParagraph): add tmp var
2717         (deleteEmptyParagraphMechanism): add tmp var
2718
2719         * text.C (insertChar): add tmp var
2720
2721         * rowpainter.C (paintDepthBar): add tmp var
2722
2723         * CutAndPaste.C (availableSelections): potentially check all
2724         paragraphs in a cut to fill the shown strings.
2725
2726 2003-06-18  André Pönitz  <poenitz@gmx.net>
2727
2728         * kbmap.[Ch]: use vector<> instead of list<>
2729
2730 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2731
2732         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2733         pasteSelection with index
2734
2735         * text2.C (pasteSelection): modify, call pasteSelection with index
2736
2737         * paragraph.C (asString): reimplement version with no interval to
2738         call the one with interval.
2739
2740         * lyxtext.h: add index arg to pasteSelection
2741
2742         * MenuBackend.C (MenuItem): handle PasteRecent
2743         (Menu::read::Menutags): add md_pasterecent
2744         (read): handle it
2745         (expandPasteRecent): new function
2746         (expand): use it
2747
2748         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2749
2750         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2751         the limited stack
2752         (availableSelections): new function
2753
2754 2003-06-17  Angus Leeming  <leeming@lyx.org>
2755
2756         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2757
2758 2003-06-17  Angus Leeming  <leeming@lyx.org>
2759
2760         * lfuns.h:
2761         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2762
2763         * lyxfunc.C (dispatch): invoke it.
2764
2765 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2766
2767         * iterators.C (operator++, ParPosition): reintroduce some
2768         const_cast for the benefit of older compilers.
2769
2770 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2771
2772         * text3.C (dispatch): do not modify clipboard when doing
2773         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2774         LFUN_DELETE_SKIP on a selection selection
2775
2776 2003-06-16  André Pönitz  <poenitz@gmx.net>
2777
2778         * BufferView.C:
2779         * buffer.C:
2780         * buffer.h:
2781         * paragraph.C:
2782         * tabular.[Ch]: IU of clone() and getLabelList();
2783
2784 2003-06-13  André Pönitz  <poenitz@gmx.net>
2785
2786         * tabular.h: compactification
2787
2788 2003-06-12  André Pönitz  <poenitz@gmx.net>
2789
2790         * tabular.C:
2791         * tabular.h:
2792         * tabular_funcs.h: some renaming plus whitespace
2793
2794 2003-06-12  André Pönitz  <poenitz@gmx.net>
2795
2796         * BufferView.C:
2797         * BufferView_pimpl.C:
2798         * CutAndPaste.C:
2799         * buffer.C:
2800         * iterators.[Ch]:
2801         * lyxfunc.C:
2802         * text.C:
2803         * toc.C: Return a Paragraph & for ParIterator::operator*()
2804
2805 2003-06-11  John Levon  <levon@movementarian.org>
2806
2807         * lyx_main.C:
2808         * ToolbarBackend.h:
2809         * ToolbarBackend.C: add "Toolbars" section and
2810         put the flags there
2811
2812 2003-06-10  Angus Leeming  <leeming@lyx.org>
2813
2814         * lfuns.h:
2815         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2816
2817         * lyxfunc.C (dispatch): invoke it.
2818
2819 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2820
2821         * main.C: protect <ios> with HAVE_IOS
2822         (main): protect sync_with_stdio with HAVE_IOS
2823
2824 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2825
2826         * text2.C (cutSelection): adjust
2827         (pasteSelection): adjust
2828
2829         * messages.C: handle get of empty string
2830
2831         * main.C (main): use sync_with_stdio(false)
2832
2833         * lyxfunc.C (dispatch): adjust
2834
2835         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2836         (WriteAs): remove unneeded BufferView arg.
2837
2838         * bufferparams.h: use correct types on papersize, papersize2 and
2839         paperpackage.
2840
2841         * bufferparams.C (readToken): adjust for type
2842         (writeLaTeX): add missing cases to switch.
2843
2844         * bufferlist.C (quitWriteBuffer): adjust
2845         (close): adjust
2846
2847         * buffer.C (asciiParagraph): remove some commented code.
2848
2849         * CutAndPaste.C: remove current_view extern variable.
2850         (cutSelection): add BufferParams arg.
2851         (eraseSelection): add BufferParams arg.
2852         (pasteSelection): add Buffer const & arg
2853
2854 2003-06-07  John Levon  <levon@movementarian.org>
2855
2856         * buffer.C:
2857         * paragraph_funcs.C:
2858         * paragraph_pimpl.C:
2859         * text.C:
2860         * text2.C:
2861         * paragraph.h:
2862         * paragraph.C: allow InsetERT to freely space lines,
2863         and some consolidation of code
2864
2865 2003-06-06  José Matos  <jamatos@fep.up.pt>
2866
2867         * buffer.C (makeDocBookFile): fix bug #821
2868
2869 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2870
2871         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2872
2873 2003-06-04  Angus Leeming  <leeming@lyx.org>
2874
2875         * buffer.C: bump format to 224.
2876
2877 2003-06-05  André Pönitz  <poenitz@gmx.net>
2878
2879         * text2.C (redoParagraphs): remove two const_cast<>
2880
2881 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2882
2883         * ParagraphList.h: remove last remnants of NO_STD_LIST
2884
2885 2003-06-03  Angus Leeming  <leeming@lyx.org>
2886
2887         * factory.C (createInset): small change to the way InsetExternal's params
2888         are set.
2889
2890 2003-06-04  André Pönitz  <poenitz@gmx.net>
2891
2892         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2893
2894         * paragraph_pimpl.h:
2895         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2896
2897         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2898
2899         * undo_funcs.C: make some simple cases of undo work again
2900
2901 2003-06-03  John Levon  <levon@movementarian.org>
2902
2903         * ispell.C: HPUX doesn't have sys/select.h
2904         (from Albert Chin)
2905
2906 2003-06-03  John Levon  <levon@movementarian.org>
2907
2908         * CutAndPaste.C: update tabular and include inset
2909         buffer references
2910
2911         * buffer.h:
2912         * paragraph.h:
2913         * paragraph.C: remove owningBuffer(), don't pass Buffer
2914         to clone()
2915
2916         * factory.C: insetGraphicsParams changed
2917
2918 2003-06-02  John Levon  <levon@movementarian.org>
2919
2920         * LyXAction.C:
2921         * factory.C:
2922         * lfuns.h:
2923         * lyxfunc.C:
2924         * text3.C: remove insetparent
2925
2926 2003-06-02  John Levon  <levon@movementarian.org>
2927
2928         * buffer.h:
2929         * buffer.C: fix inset_iterator.end(), move out of line
2930         (bug 1149)
2931
2932 2003-06-01  John Levon  <levon@movementarian.org>
2933
2934         * text3.C: use a proper cut/paste when doing inset
2935         insert (from Jürgen Spitzmüller)
2936
2937 2003-06-01  John Levon  <levon@movementarian.org>
2938
2939         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2940
2941 2003-05-30  André Pönitz  <poenitz@gmx.net>
2942
2943         * rowpainter.C: unify second drawing phase
2944
2945 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2946
2947         * trans_mgr.C: remove one case of current_view
2948
2949         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2950
2951         * paragraph_funcs.h: remove paragraph.h include
2952
2953         * paragraph.h: delete NO_STD_LIST stuff
2954
2955         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2956
2957         * buffer.h: remove paragraph.h include
2958
2959         * ParagraphList.C: delete file
2960
2961         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2962
2963         * toc.C (getTocList): adjust
2964
2965         * paragraph_pimpl.C (validate): adjust
2966
2967         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2968
2969         * paragraph.C (Paragraph): adjust
2970         (getPositionOfInset): use const_iterator, adjust
2971         (bibitem): use const_iterator, adjust
2972         (setInsetOwner): adjust
2973
2974         * iterators.C (operator++): adjust
2975
2976         * InsetList.[Ch]: Replace selfmade iterator with standard
2977         vector::iterator also introduce const_iterator. Remove getPos,
2978         getInset and setInset from InsetTable. Adjust accordingly.
2979
2980         * BufferView.C (lockInset): adjust
2981         (ChangeInsets): adjust
2982
2983         * tabular.[Ch]: delete commented same_id functions
2984
2985 2003-05-28  John Levon  <levon@movementarian.org>
2986
2987         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2988
2989 2003-05-28  André Pönitz  <poenitz@gmx.net>
2990
2991         * metricsinfo.[Ch]: remove 'fullredraw' member
2992
2993 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2994
2995         * lyxtextclass.C (operator): remove caching.
2996
2997 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * text3.C: adjust
3000
3001         * text2.C (cursorBottom): adjust
3002         (setCounter): use ParagraphList::find, adjust
3003
3004         * text.C (workWidth): use ParagraphList::find, adjust
3005
3006         * lyxcursor.C (LyXCursor): adjust
3007
3008         * buffer.C (inset_iterator): adjust
3009
3010         * ParagraphList.h: make iterator(value_type) private, make
3011         ParagraphList a friend of iterator.
3012
3013         * ParagraphList.C (find): new function
3014
3015         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3016
3017 2003-05-27  André Pönitz  <poenitz@gmx.net>
3018
3019         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3020
3021 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3022
3023         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3024
3025 2003-05-26  John Levon  <levon@movementarian.org>
3026
3027         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3028
3029 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * remove same_id from function signatures, adjust.
3032
3033 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3034
3035         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3036
3037         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3038
3039         * paragraph.C (Paragraph): get rid of same_ids parameter
3040
3041         * ParagraphList.C (insert): adjust
3042         (push_back): adjust
3043
3044 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * paragraph_funcs.C (breakParagraph): adjust
3047         (breakParagraphConservative): adjust
3048
3049         * buffer.C (readParagraph): adjust
3050
3051         * ParagraphList.C (insert): take a reference instead of a pointer
3052         (insert): adjust
3053
3054         * paragraph.[Ch] (id): new function
3055
3056         * bufferlist.C (newFile): adjust
3057
3058         * ParagraphList.C (ParagraphList): adjust
3059         (assign): adjust
3060         (push_back): take a reference instead of a pointer.
3061
3062         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3063
3064         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3065         instead.
3066
3067         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3068         set else use old code.
3069
3070         * ParagraphList.C: remove all NO_NEXT code and only compile this
3071         code of NO_STD_LIST is set.
3072
3073 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3074
3075         * BufferView_pimpl.C:
3076         * TextCache.C:
3077         * TextCache.h:
3078         * bufferlist.C:
3079         * errorlist.h:
3080         * format.C:
3081         * format.h:
3082         * graph.C:
3083         * lyxfunc.C:
3084         * lyxrc.C:
3085         * graphics/GraphicsConverter.C:
3086         * graphics/PreviewLoader.C: header adjustment
3087
3088 2003-05-23  Angus Leeming  <leeming@lyx.org>
3089
3090         * LaTeXFeatures.[Ch] (useBabel): new method.
3091         * bufferparams.C (writeLaTeX): use it.
3092
3093 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * ParagraphList.h (set): remove unused function.
3096
3097 2003-05-23  André Pönitz  <poenitz@gmx.net>
3098
3099         * BufferView.C:
3100         * BufferView_pimpl.C:
3101         * buffer.C:
3102         * buffer.h:
3103         * lyxfunc.C:
3104         * undo_funcs.C: setUndo reworked
3105
3106         * iterators.[Ch]: add access to topmost ParagraphList
3107
3108         * lyxtext.[Ch] (workWidth): add a const
3109
3110 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3111
3112         * texrow.[Ch] (increasePos): remove function
3113         * exporter.C (export): removed unused var and outdated comment
3114
3115 2003-05-23  Angus Leeming  <leeming@lyx.org>
3116
3117         * latexrunparams.h: rename fragile as moving_arg.
3118         * paragraph.C (simpleTeXOnePar): ditto.
3119         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3120
3121 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3124         (createUndo): ditto
3125         (textUndoOrRedo): comment out a currently unused var.
3126
3127         * paragraph.h (NO_NEXT): enable NO_NEXT
3128
3129         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3130
3131         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3132
3133         * exporter.C (Export): adjust for removeAutoInsets removal.
3134
3135         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3136
3137         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3138
3139         * BufferView.[Ch] (removeAutoInsets): delete function
3140
3141 2003-05-22  Angus Leeming  <leeming@lyx.org>
3142
3143         * latexrunparams.h: add a free_spacing variable.
3144
3145         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3146         to pass moving_arg, as the data is stored in runparams.fragile.
3147
3148         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3149         to Inset::latexOptional or to simpleTeXOnePar.
3150
3151         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3152         free_spacing arg to Inset::latexOptional.
3153
3154         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3155         free_spacing arg.
3156
3157 2003-05-22  Angus Leeming  <leeming@lyx.org>
3158
3159         * latexrunparams.h: add fragile and use_babel variables.
3160
3161         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3162         * buffer.C (makeLaTeXFile): store this returned value in
3163         runparams.use_babel, thus passing it to the inset::latex methods.
3164
3165         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3166         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3167
3168         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3169         longer has a fragile arg, as it is stored in runparams.fragile.
3170
3171         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3172         moving_arg parameter as the data is stored in runparams.fragile.
3173
3174         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3175         a fragile parameter as the data is stored in runparams.fragile.
3176
3177 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3180
3181 2003-05-22  Angus Leeming  <leeming@lyx.org>
3182
3183         * latexrunparams.h: add a 'bool nice' which defaults to false.
3184
3185         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3186         now encapsulated within runparams.
3187
3188         * bufferlist.C (updateIncludedTeXfiles):
3189         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3190
3191 2003-05-22  Angus Leeming  <leeming@lyx.org>
3192
3193         * latexrunparams.h: new file containing struct LatexRunParams.
3194         * Makefile.am: add new file.
3195
3196         * LaTeX.[Ch] (c-tor, run):
3197         * buffer.[Ch] (makeLaTeXFile):
3198         * bufferlist.[Ch] (updateIncludedTeXfiles):
3199         * converter.C (convert, scanLog):
3200         * converter.[Ch] (runLaTeX):
3201         * exporter.C (Export):
3202         * paragraph.[Ch] (simpleTeXOnePar):
3203         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3204         * paragraph_funcs.[Ch] (latexParagraphs):
3205         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3206         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3207         pass around a LatexRunParams parameter.
3208
3209 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * paragraph.[Ch]: remove unused constructor
3212
3213         * ParagraphList.C (erase): new function, taking two iterators
3214
3215 2003-05-22  André Pönitz  <poenitz@gmx.net>
3216
3217         * undo_funcs.C: remove duplicated code
3218
3219         * iterator.[Ch]: operator=
3220
3221 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3222
3223         * tabular.C (SetMultiColumn): ws changes
3224
3225         * rowpainter.C (paintFirst): get rid of a ->previous
3226
3227         * lyx_cb.C (getPossibleLabel): parlist simplification
3228
3229         * BufferView.C (ChangeInsets): simplify slightly.
3230
3231 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3232
3233         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3234         * lfuns.h: new LFUN_SPACE
3235         * lyxfunc.C: protected space has a new lfun
3236         * paragraph_funcs.C: read new space insets
3237         * text3.C:
3238         * factory.C: handle new space insets
3239
3240 2003-05-22  André Pönitz  <poenitz@gmx.net>
3241
3242         * BufferView.C:
3243         * BufferView_pimpl.C:
3244         * buffer.[Ch]:
3245         * lyxfunc.C:
3246         * undo_funcs.C: return a ParIterator from getParFromID.
3247
3248         * iterators.[Ch]: add two const's
3249
3250 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * toc.C (getTocList): adjust
3253
3254         * iterators.[Ch]: rework for parlist
3255
3256         * buffer.C (par_iterator_begin): adjust
3257         (par_iterator_end): adjust
3258
3259         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3260
3261         * BufferView.C (removeAutoInsets): adjust
3262         (ChangeInsets): adjust
3263
3264 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3265
3266         * text.C (top_y): fix bug 1110
3267
3268 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3269
3270         * errorlist.[Ch]: added
3271         * buffer.C:
3272         * BufferView.[Ch]:
3273         * BufferView_pimpl.C:
3274         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3275         instead
3276
3277 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * Makefile.am: ensure that lyx is relinked upon changes to the
3280         various "convenience" libs.
3281
3282 2003-05-20  Angus Leeming  <leeming@lyx.org>
3283
3284         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3285         files are compiled in alphabetical order again.
3286
3287         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3288
3289 2003-05-19  Angus Leeming  <leeming@lyx.org>
3290
3291         * gettext.[Ch]: remove "char const * _(char const *)".
3292
3293 2003-05-19  André Pönitz  <poenitz@gmx.net>
3294
3295         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3296
3297         * Makefile.am:
3298         * BufferView.C:
3299         * DepTable.h:
3300         * LaTeXFeatures.C:
3301         * buffer.C:
3302         * lyxfont.C:
3303         * lyxlex.h:
3304         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3305
3306 2003-05-19  André Pönitz  <poenitz@gmx.net>
3307
3308         * buffer.C:
3309         * lyxlayout.[Ch]:
3310         * lyxtextclass.[Ch]:
3311         * paragraph.C:
3312         * paragraph_funcs.[Ch]:
3313         * text2.C:
3314         * text3.C: more insetenv work
3315
3316 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3317
3318         * ParagraphParameters.C (params2string): small bug fixed
3319
3320 2003-05-16  André Pönitz  <poenitz@gmx.net>
3321
3322         * debug.C:
3323         * bufferview_funcs.C: patch from Kornel Benko to prevent
3324           crash when _(...) is called twice in a statement
3325
3326 2003-05-16  André Pönitz  <poenitz@gmx.net>
3327
3328         * BufferView.C:
3329         * lyxfunc.C:
3330         * text.C:
3331         * text2.C:
3332         * text3.C:
3333         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3334
3335 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3336
3337         * lyx_main.C (init): remove spurious static_cast
3338
3339 2003-05-14  André Pönitz  <poenitz@gmx.net>
3340
3341         * BufferView.C: fix format string
3342
3343 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3344
3345         * BufferView.[Ch] (insertErrors): removed
3346         * BufferView.[Ch] (showErrorList): added
3347         * buffer.C (runChkTeX):
3348         * converter.C (scanLog): call showErrorList instead of inserterrors
3349
3350 2003-05-13  André Pönitz  <poenitz@gmx.net>
3351
3352         * BufferView_pimpl.C:
3353         * buffer.C:
3354         * bufferview_func.C:
3355         * MenuBackend.C:
3356         * lyxfunc.C:
3357         * lyxrc.C:
3358         * tex-accent.C:
3359         * text3.C:
3360         * toc.C:
3361         * tabular_funcs.h: tostr() from its own header
3362
3363         * ParagraphParameters.C:
3364         * ToolbarBackend.C:
3365         * bufferparams.C:
3366         * format.C:
3367         * lyxlex_pimpl.C:
3368         * text3.C: STRCONV()
3369
3370 2003-05-12  André Pönitz  <poenitz@gmx.net>
3371
3372         * BufferView.C:
3373         * BufferView_pimpl.C:
3374         * CutAndPaste.C:
3375         * LaTeX.C:
3376         * LaTeXFeatures.C:
3377         * ParagraphParameters.C:
3378         * buffer.C:
3379         * bufferlist.C:
3380         * bufferparams.C:
3381         * bufferview_funcs.C:
3382         * converter.C:
3383         * counters.C:
3384         * debug.C:
3385         * exporter.C:
3386         * format.C:
3387         * importer.C:
3388         * lyx_cb.C:
3389         * lyx_main.C:
3390         * lyxfont.C:
3391         * lyxfunc.C:
3392         * lyxvc.C:
3393         * paragraph.C:
3394         * paragraph_funcs.C:
3395         * tabular.C:
3396         * tabular_funcs.C:
3397         * text2.C:
3398         * text3.C:  boost::format -> bformat  all over the place
3399
3400
3401 2003-05-09  André Pönitz  <poenitz@gmx.net>
3402
3403         * LColor.[Ch]: Pimpl the #include <map> away
3404
3405 2003-05-09  John Levon  <levon@movementarian.org>
3406
3407         * bufferlist.C: never remove emergency saves
3408
3409 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3410
3411         * Makefile.am: better lib building
3412
3413 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3416         instead.
3417         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3418         (simpleTeXSpecialChars): adjust
3419         (simpleTeXSpecialChars): adjust
3420         * paragraph.C (simpleTeXOnePar): adjust
3421         * buffer.C (makeLaTeXFile): adjust
3422
3423         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3424
3425         * text2.C (changeDepth): parlist cleanup
3426         (getColumnNearX): ditto
3427
3428         * rowpainter.C (getLabelFont): parlist cleanup
3429
3430         * bufferlist.C (newFile): parlist cleanup
3431
3432         * CutAndPaste.C (eraseSelection): parlist cleanup
3433
3434         * BufferView_pimpl.C (trackChanges): parlist cleanup
3435         (dispatch): ditto
3436
3437         * BufferView.C (lockInset): parlist cleanup.
3438         (ChangeInsets): ditto
3439
3440 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * CutAndPaste.h: Update file header.
3443
3444         * CutAndPaste.C: Update file header.
3445         Store the parts cut out of the Document in a limited_stack.
3446         (copySelection): adjust
3447         (pasteSelection): new function, takes the index in the limited stack.
3448         (nrOfParagraphs): adjust
3449         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3450         simplify error inset insertion.
3451         (checkPastePossible): adjust
3452
3453 2003-05-06  John Levon  <levon@movementarian.org>
3454
3455         * text2.C: don't cast wrap inset to float
3456
3457 2003-05-05  André Pönitz  <poenitz@gmx.net>
3458
3459         * iterator.C:
3460         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3461
3462         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3463           few naked Paragraph *.
3464
3465 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3466
3467         * bufferparams.C: Output warning if a document with missing
3468         TeX document class is loaded
3469         * exporter.C: Disable TeX exports if the document class is missing
3470         * lyxtextclass.C:
3471         * lyxtextclass.h:
3472         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3473         isTeXClassAvailable()
3474
3475 2003-05-03  John Levon  <levon@movementarian.org>
3476
3477         * BufferView.h:
3478         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3479         explicit cursor show/hide
3480
3481         * BufferView_pimpl.h:
3482         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3483         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3484
3485         * lyxfunc.C: hide cursor before dispatching.
3486
3487         * lyx_cb.C:
3488         * lyxfind.C:
3489         * text.C:
3490         * text3.C: remove explicit cursor hides
3491
3492 2003-05-02  André Pönitz  <poenitz@gmx.net>
3493
3494         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3495
3496         * undo_funcs.C:
3497         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3498           linked lists
3499
3500         * text2.C: tiny whitespace
3501
3502 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * undo_funcs.C: almost only ws changes.
3505
3506         * ParagraphList.C (splice): just return if pl is empty.
3507
3508 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * ParagraphList.C (splice): new function.
3511
3512         * CutAndPaste.C (pasteSelection): use it
3513
3514 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3515
3516         * CutAndPaste.C (pasteSelection): remove the last next and
3517         previous from this file.
3518
3519 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * CutAndPaste.C (pasteSelection): more clean up, user proper
3522         ParagraphList functions for pasteing.
3523
3524         * ParagraphList.C (insert): new function, three arg insert
3525
3526 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3527
3528         * ParagraphList.C (insert): new function, three arg insert
3529
3530         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3531         not on paragraphs.
3532
3533 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3534
3535         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3536
3537 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3538
3539         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3540
3541 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3542
3543         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3544         (copySelection): clean up a bit.
3545         (pasteSelection): use make_pair
3546
3547         * ParagraphList.C (ParagraphList): implement copy constructor
3548         (operator=): implement, base on copy constructor.
3549         (assign): new func
3550
3551         * paragraph.C (erase): return a bool
3552
3553         * paragraph_pimpl.C (erasePos): remove function, move contents...
3554         (erase): ... here. Return a bool.
3555         (erase): call erase instead of erasePos.
3556
3557 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3558
3559         * ParagraphList.h: define PitPosPair
3560         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3561         ParagraphList, fix a bug on pasting multiple pars
3562         * text2.C: change interface to C&P
3563
3564 2003-04-30  André Pönitz  <poenitz@gmx.net>
3565
3566         * undo_func.C: revert part of yesterday's patch 2
3567
3568 2003-04-30  John Levon  <levon@movementarian.org>
3569
3570         * LColor.C: s/tabular/table/
3571
3572 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3573
3574         * text3.C (dispatch): do not convert iterator -> pointer
3575         * undo_funcs.C (setCursorParUndo): ditto
3576         * text_funcs.C (transposeChars): ditto
3577
3578         * text2.C (setLayout): ws changes only
3579
3580         * text.C (breakParagraph): do not convert iterator -> pointer
3581         (insertChar): ditto
3582         (acceptChange): ditto
3583         (rejectChange): ditto
3584         (changeCase): ditto
3585         (Delete): ditto
3586         (backspace): ditto
3587
3588         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3589         pointer
3590
3591 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3592
3593         * text3.C (gotoInset): YABG (yet another bad getChar)
3594
3595 2003-04-29  André Pönitz  <poenitz@gmx.net>
3596
3597         * paragraph.h: make operator= private unimplemented as long as
3598           it is unusable
3599
3600         * ParagraphList.C: whitespace
3601
3602         * paragraph.[Ch]:
3603         * paragraph_pimpl.[Ch]:
3604         * paragraph_funcs.C:
3605         * CutAndPaste.C:
3606         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3607
3608         * text2.C:
3609           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3610
3611 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3612
3613         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3614         * paragraph.[Ch] (erase):
3615         * paragraph_pimpl.[Ch] (erase): change return type and value
3616         * text2.C (cutSelection): some rework
3617
3618 2003-04-28  John Levon  <levon@movementarian.org>
3619
3620         * bufferlist.C: changes for unsaved changes dialog
3621
3622 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * bufferlist.C (newFile): set language (messages_) for new
3625         documents also.
3626
3627         * buffer.C (readFile): ws changes only.
3628
3629 2003-04-28  André Pönitz  <poenitz@gmx.net>
3630
3631         * undo_funcs.C:
3632         * lyxfunc.C:
3633         * buffer.[Ch]:
3634         * BufferView_pimpl.C:
3635         * BufferView.C: getParFromID related ParagraphList::iterator changes
3636
3637 2003-04-28  André Pönitz  <poenitz@gmx.net>
3638
3639         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3640           Changes
3641
3642 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3643
3644         * messages.C: remove one more localedir class variable.
3645
3646 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3647
3648         * messages.C (getLocaleDir): singleton generation function
3649         (Pimpl): use it.
3650         (Messages): add a default constructor.
3651
3652         * main.C (main): do not setup localedir here, do not call
3653         gettext_init.
3654
3655         * gettext.C (_): use it.
3656         (gettext_init): delete funciton
3657
3658 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * gettext.C (getLyXMessages): new singleton generating function.
3661
3662         * buffer.C (updateDocLang): adjust
3663
3664         * Makefile.am (messages.o): add target
3665         (main.o): remove target
3666
3667 2003-04-27  John Levon  <levon@movementarian.org>
3668
3669         * bufferlist.C:
3670         * lyx_cb.C:
3671         * lyxfunc.C:
3672         * lyxvc.C: specify cancel button in Alert::prompt
3673
3674 2003-04-26  John Levon  <levon@movementarian.org>
3675
3676         * text3.C:
3677         * lyxfunc.C:
3678         * lfuns.h:
3679         * LyXAction.C: add LFUN_INSET_SETTINGS
3680
3681         * lyxfunc.C: don't enable tabular-feature when there's
3682         just any locking inset
3683
3684 2003-04-26  John Levon  <levon@movementarian.org>
3685
3686         * bufferlist.C: re-add Cancel to buffer close question
3687
3688         * lyxfunc.C: fix import UI a bit
3689
3690 2003-04-25  John Levon  <levon@movementarian.org>
3691
3692         * gettext.C: remove the broken asserts for now
3693
3694 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3695
3696         * messages.C: make case where setlocale cannot comply work better.
3697
3698         * buffer.C (updateDocLang): new function
3699         (changeLanguage): use it
3700         (readFile): use it
3701
3702         * text2.C (setCounter): use B_ a bit.
3703
3704         * lyxlayout.C (Read): be sure to trim the label strings.
3705
3706         * messages.C (Messages): fix typo in comment
3707
3708         * buffer.C (readFile): set message_ after file is loaded.
3709         (makeDocBookFile): remove double return
3710         (changeLanguage): reset message_ upon language change.
3711         (B_): new func, use this to get translated buffer strings.
3712
3713         * main.C: add myself and Jean Marc as authors.
3714
3715 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * messages.[hC]: pimplify Messages, and three different pimpls to be
3718         used in different circumstances.
3719
3720         * gettext.[Ch]: change for use with new message code.
3721
3722 2003-04-24 André Pönitz <poenitz@gmx.net>
3723
3724         * factory.C: support for eqref
3725
3726 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3727
3728         * messages.[Ch]: add missing char
3729
3730         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3731
3732         * messages.[Ch]: New files
3733
3734 2003-04-18  John Levon  <levon@movementarian.org>
3735
3736         * BufferView.h:
3737         * BufferView.C:
3738         * BufferView_pimpl.C:
3739         * lfuns.h:
3740         * LyXAction.C:
3741         * lyxtext.h:
3742         * text2.C: remove layout-copy/paste (bug 778)
3743
3744 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3745
3746         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3747
3748 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3749
3750         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3751         if they succeed. Act accordingly.
3752
3753 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3754
3755         * text2.C (setCharFont): adjust
3756         (setCounter): adjust
3757         (insertStringAsLines): adjust
3758
3759         * text.C (leftMargin): adjust
3760         (setHeightOfRow): adjust
3761
3762         * rowpainter.C (paintFirst): adjust
3763         (paintLast): adjust
3764
3765         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3766         (outerHook): ditto
3767         (isFirstInSequence): ditto
3768         (getEndLabel): ditto
3769         (outerFont): adjust
3770
3771         * paragraph.C (getParLanguage): comment out some hard stuff.
3772
3773         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3774         (sgmlError): ditto
3775         (simpleDocBookOnePar): ditto
3776         (makeDocBookFile): use ParagraphList::iterator
3777
3778         * CutAndPaste.C (pasteSelection): adjust
3779
3780 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3781
3782         * text2.C (getFont): adjust
3783         (getLayoutFont): adjust
3784         (getLabelFont): adjust
3785
3786         * paragraph_funcs.C (TeXOnePar): adjust
3787
3788         * buffer.C (simpleLinuxDocOnePar): adjust
3789         (simpleDocBookOnePar): adjust
3790
3791         * CutAndPaste.C (pasteSelection): adjust
3792
3793         * BufferView.C (getEncoding): adjust
3794
3795         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3796
3797 2003-04-16  John Levon  <levon@movementarian.org>
3798
3799         * lyxfind.C: use parlist stuff for search/changes
3800
3801 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3802
3803         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3804
3805         * text2.C (deleteEmptyParagraphMechanism): adjust
3806
3807         * text2.[Ch] (ownerParagraph): delete func (both of them
3808
3809 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3812
3813 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * ParagraphList.C: prepare for NO_NEXT
3816
3817 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3818
3819         * text2.C (getFont): adjust
3820         (getLayoutFont): adjust
3821         (getLabelFont): adjust
3822
3823         * paragraph.C (getFont): adjust
3824         (getLabelFont): adjust
3825         (getLayoutFont): adjust
3826
3827         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3828
3829 2003-04-15  John Levon  <levon@movementarian.org>
3830
3831         From Angus Leeming
3832
3833         * lyx_main.C: handle Include in .ui files
3834
3835 2003-04-15  John Levon  <levon@movementarian.org>
3836
3837         * MenuBackend.C: make the doc files length shorter
3838
3839         * ToolbarBackend.h:
3840         * ToolbarBackend.C: handle toolbar placement flags,
3841         Minibuffer
3842
3843 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3844
3845         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3846         adjust
3847
3848         * paragraph_funcs.C (TeXOnePar): adjust
3849
3850         * paragraph.C (getLabelFont): add outerfont arg, adjust
3851         (getLayoutFont): ditto
3852         (simpleTeXOnePar): adjust
3853
3854         * paragraph_pimpl.C (realizeFont): delete func
3855
3856 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3857
3858         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3859         row argument, constify cur argument.
3860
3861 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3862
3863         * text2.C (getFont): adjust
3864         (getLayoutFont): adjust
3865         (getLabelFont): adjust
3866
3867         * paragraph_funcs.C (TeXOnePar): adjust
3868         (outerFont): new func...
3869         (realizeFont): ...moved out from here, changed this to facilitate
3870         transition
3871
3872         * paragraph.C (getFont): take outerfont as arg, adjust
3873         (simpleTeXOnePar): add outerfont arg, adjust
3874
3875         * buffer.C (simpleLinuxDocOnePar): adjust
3876         (simpleDocBookOnePar): adjust
3877
3878         * CutAndPaste.C (pasteSelection): adjust
3879
3880         * BufferView.C (getEncoding): adjust
3881
3882 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * text2.C (setCharFont): adjust
3885         (setCounter): adjust
3886
3887         * text.C (leftMargin): adjust
3888         (setHeightOfRow): adjust
3889
3890         * rowpainter.C (paintFirst): adjust
3891         (paintLast): adjust
3892
3893         * paragraph_pimpl.C (realizeFont): adjust
3894
3895         * paragraph.C (isFirstInSequence): move from here...
3896         * paragraph_funcs.C (isFirstInSequence): ...to here
3897
3898         * paragraph.C (outerHook): move from here...
3899         * paragraph_funcs.C (outerHook): ...to here
3900
3901         * paragraph.C (depthHook): move from here...
3902         * paragraph_funcs.C (depthHook): ...to here
3903
3904         * paragraph.C (getEndLabel): move from here...
3905         * paragraph_funcs.C (getEndLabel): ...to here
3906
3907         * text2.C (realizeFont): move from here...
3908         * paragraph_funcs.C (realizeFont): ...to here
3909
3910 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3913
3914 2003-04-14  Angus Leeming  <leeming@lyx.org>
3915
3916         * LColor.[Ch]: scrap LColor mathcursor.
3917
3918 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * lyxlex.[Ch] (text): delete function
3921         * trans.C (Load): adjust
3922         * paragraph_funcs.C (readParToken): adjust
3923
3924 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3927         vector<char> instead of a char[].
3928
3929         * lyxlex_pimpl.C (getString): adjust
3930         (next): adjust
3931         (lex): use getString
3932         (eatLine): adjust
3933         (nextToken): adjust
3934
3935         * lyxlex.C (text): use pimpl_->getString()
3936         (getBool): ditto
3937         (findToken): ditto
3938
3939 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3940
3941         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3942         (makeFontEntriesLayoutSpecific): temp var for par.size()
3943         (setLayout): temp var for ownerParagraphs().end()
3944         (fullRebreak): temp var for rows().end()
3945         (selectionAsString): temp var for boost::next(startpit), realize
3946         that the while really is a regular for loop.
3947         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3948         setCursor in one place.
3949         (setParagraph): temp vr for ownerParagraphs().end()
3950         (updateCounters): make the while loop a for loop
3951         (cutSelection): temp var for ownerParagraphs().end()
3952         (updateInset): make the do {} while() a regular for loop
3953         (getCursorX): use temp vars
3954         (setCurrentFont): use temp vars
3955         (getColumnNearX): use temp vars
3956
3957 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * text.C (transformChar): use temp var for getChar
3960         (computeBidiTables): use temp var for row->par()
3961         (fill): move temp vars for row->par() and pit->layout() earlier in
3962         the function.
3963         (labelFill): use temp var for row->par()
3964         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3965         asc and desc, realize that pit never changes and that firstpit is
3966         just a duplicate and not needed. Exchange rit->par() with pit in a
3967         lot of places.
3968         (breakAgain): use a temp var for boost::next(rit)
3969         (breakAgainOneRow): ditto
3970         (breakParagraph): use a temp var for rows().begin()
3971         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3972         (cursorRightOneWord): use temp var for cursor.par() and
3973         cursor.pos(), remove usage of tmpcursor.
3974         (cursorLeftOneWord): use temp var for cursor.par() and
3975         cursor.pos() only set cur at end of function.
3976
3977 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * text.C, text2.C: exchange all usage of Paragraph::next with
3980         boost::next(ParagraphList::iterator)
3981
3982         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3983
3984         * text2.C (cursorTop): simplify implementation
3985         (cursorBottom): ditto
3986         (setParagraph): use ParagraphList::iterator
3987         (setCurrentFont): adjust
3988         (getColumnNearX): adjust
3989         (cursorRight): adjust
3990         (cursorLeft): remove usage of Paragraph::previous
3991         (cursorUpParagraph): ditto
3992         (deleteEmptyParagraphMechanism): slight cleanup
3993
3994         * text.C (isBoundary): take a Paragraph const & instead of a
3995         pointer as arg.
3996         (addressBreakPoint): ditto
3997         (leftMargin): remove usage of Paragraph::previous.
3998         (setHeightOfRow): ditto
3999         (cursorLeftOneWord): ditto
4000         (selectNextWordToSpellcheck): ditto
4001         (Delete): ditto
4002         (backspace): ditto
4003         (breakParagraph): remove one usage of Paragraph::next
4004         (redoParagraph): ditto
4005         (acceptChange): ditto
4006         (insertChar): adjust
4007         (rowBreakPoint): adjust
4008
4009         * bufferview_funcs.C (toggleAndShow): adjust
4010
4011 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4014         methods to access it.
4015         * lyxtext.h:
4016         * text.C: Added updateRowPositions to compute all row positions.
4017         Make top_y and getRowNearY() to use the cached y position
4018
4019 2003-04-11  John Levon  <levon@movementarian.org>
4020
4021         * text.C (rowBreakPoint): reintroduce the labelEnd
4022         checks, code copied from the row fill stuff. Deep voodoo.
4023
4024         * text.C (fill): add a comment and debugging for the
4025         next poor soul.
4026
4027 2003-04-11  John Levon  <levon@movementarian.org>
4028
4029         * text.C: make sure fullrow insets get wrapped to the next line,
4030         even when they're in a manual label
4031
4032 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * text2.C (insertParagraph): make it take ParagraphList::iterator
4035         as arg.
4036         (setLayout): make it return ParagraphList::iterator
4037         (redoParagraphs): ditto
4038         (setCounter): ditto
4039         (checkParagraph): ditto
4040
4041         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4042
4043         * text2.C: adjust several funcs.
4044         (realizeFont): take a ParagraphList::iterator as arg.
4045         (getLayoutFont): ditto
4046         (getLabelFont): ditto
4047         (setCharFont): ditto
4048
4049         * text.C: adjust several funcs.
4050
4051 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4052
4053         * text.C (selectNextWordToSpellcheck): don't accidentally
4054         skip insets
4055
4056 2003-04-10  John Levon  <levon@movementarian.org>
4057
4058         * ToolbarBackend.C (getIcon): special handling for
4059         LFUN_MATH_DELIM
4060
4061 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4062
4063         * text2.C (cursorRight): a getChar assert fixed
4064
4065 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * text2.C (getFont): change to take a ParagraphList::iterator
4068         instead of Paragraph*
4069         Adjust several functions.
4070
4071         * text.C (transformChar): change to take a ParagraphList::iterator
4072         instead of Paragraph*
4073         (singleWidth): ditto
4074         Adjust several functions.
4075
4076         * rowpainter.C: adjust several functions
4077         * rowpainter.h:store a ParagraphList::iterator and not a
4078         Paragraph&.
4079
4080
4081 2003-04-09  John Levon  <levon@movementarian.org>
4082
4083         * lyxfunc.C:
4084         * lfuns.h:
4085         * LyXAction.h:
4086         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4087         and the "help" bits as well
4088
4089 2003-04-09  John Levon  <levon@movementarian.org>
4090
4091         * ToolbarBackend.h:
4092         * ToolbarBackend.C: allow multiple toolbars
4093
4094 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4095
4096         * undo_funcs.C (setCursorParUndo): adjust
4097
4098         * text_funcs.C (transposeChars): adjust
4099
4100         * text3.C (gotoNextInset): adjust
4101         (dispatch): adjust
4102
4103         * text2.C (setLayout): adjust
4104         (changeDepth): adjust
4105         (setFont): adjust
4106         (redoParagraphs): adjust
4107         (selectionAsString): adjust
4108         (setParagraph): adjust
4109         (insertInset): adjust
4110         (cutSelection): adjust
4111         (copySelection): adjust
4112         (pasteSelection): adjust
4113         (insertStringAsLines): adjust
4114         (updateInset): adjust
4115         (setCursor): change to take a ParagraphList::iterator parameter
4116         (setCursorIntern): change to take a ParagraphList::iterator parameter
4117         (setCurrentFont): adjust
4118         (cursorLeft): adjust
4119         (cursorRight): adjust
4120         (deleteEmptyParagraphMechanism): adjust
4121
4122         * text.C (breakParagraph): adjust
4123         (insertChar): adjust
4124         (acceptChange): adjust
4125         (rejectChange): adjust
4126         (selectNextWordToSpellcheck): adjust
4127         (changeCase): adjust
4128         (Delete): adjust
4129         (backspace): adjust
4130
4131         * lyxfind.C (SearchForward): adjust
4132         (SearchBackward): adjust
4133         (nextChange): adjust
4134
4135         * lyxcursor.C (par): adjust
4136
4137         * lyxcursor.h: store a ParagraphList::iterator instead of a
4138         Paragraph*
4139
4140         * lyx_cb.C (getPossibleLabel): adjust
4141
4142         * bufferview_funcs.C (toggleAndShow): adjust
4143
4144         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4145         (dispatch): adjust
4146
4147         * BufferView.C (removeAutoInsets): adjust
4148         (lockedInsetStoreUndo): adjust
4149
4150 2003-04-09  John Levon  <levon@movementarian.org>
4151
4152         * ToolbarBackend.C: try icon without argument
4153         if with argument fails
4154
4155 2003-04-08  John Levon  <levon@movementarian.org>
4156
4157         * ToolbarBackend.h:
4158         * ToolbarBackend.C: add getIcon(), handle tooltip,
4159         and change from "Icon" to "Item".
4160
4161 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * BufferView.C (lockInset): another bad getchar crunched
4164
4165 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4166
4167         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4168         again)
4169
4170 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * lyxfind.C (searchForward, searchBackwards): bug 782
4173
4174 2003-04-07  John Levon  <levon@movementarian.org>
4175
4176         * paragraph.C: remove dead comment
4177
4178         * text.C: remove troublesome depth-fiddling code
4179         in leftMargin() and rightMargin() (bug 1017)
4180
4181         * text.C: fix breaking of rows in nested lists
4182         (bug 1004)
4183
4184         * text2.C (updateCounters): fix up depth values
4185         (bug 1013)
4186
4187 2003-04-07  John Levon  <levon@movementarian.org>
4188
4189         * BufferView_pimpl.C: clear message when doc finishes resizing,
4190         and after a mouse event
4191
4192         * lyxfunc.C: clear message after exiting inset
4193
4194 2003-04-07  John Levon  <levon@movementarian.org>
4195
4196         * bufferview_funcs.C: show math status not outside
4197         status in the statusbar
4198
4199 2003-04-07  John Levon  <levon@movementarian.org>
4200
4201         * lyxfunc.C: note status changed after a depth change
4202
4203 2003-04-04  Angus Leeming  <leeming@lyx.org>
4204
4205         * LaTeX.h: move AuxInfo operator==, != out of line.
4206         Remove LaTeX virtual destructor; nothing derives from it.
4207         Move operator()() out of public area and rename it startscript().
4208         Change protected for private.
4209
4210 2003-04-04  Angus Leeming  <leeming@lyx.org>
4211
4212         * lyxfunc.C:
4213         * text2.C: remove unneeded #includes.
4214
4215 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4216
4217         * text2.C (dEPM): fix the heigth of the next row
4218
4219 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4220
4221         * text.C: squashed an invalid getChar requester + some ws changes
4222
4223 2003-04-03  John Levon  <levon@movementarian.org>
4224
4225         * bufferview_funcs.h:
4226         * bufferview_funcs.C:
4227         * lyxfunc.C:
4228         * lyxtext.h:
4229         * text2.C: make getStatus work for the env depth lfuns
4230
4231 2003-04-03  John Levon  <levon@movementarian.org>
4232
4233         * bufferview_funcs.h:
4234         * bufferview_funcs.C:
4235         * lyxfunc.C:
4236         * lyxtext.h:
4237         * text2.C: parlistize decDepth(), by merging it with incDepth()
4238
4239 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4240
4241         * lyxrow.h: store a ParagraphList::iterator instead of a
4242         Paragraph* and adjust other class functions to suit.
4243
4244         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4245         above.
4246
4247 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4248
4249         * text2.C (setCursor): do not anchor to cursor row for the time being
4250
4251 2003-04-02  John Levon  <levon@movementarian.org>
4252
4253         * LyXAction.C:
4254         * lfuns.h:
4255         * lyx_main.C:
4256         * lyxtext.h:
4257         * text.C:
4258         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4259
4260 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * paragraph.h: make ParagraphList and ParagraphList::iterator
4263         friends of Paragraph.
4264
4265         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4266
4267         * ParagraphList.C: Use the private next_ and previous_ from
4268         Paragraph.
4269
4270 2003-04-01  John Levon  <levon@movementarian.org>
4271
4272         * ToolbarBackend.h:
4273         * ToolbarBackend.C:
4274         * Makefile.am: rename, remove defaults gunk
4275
4276         * MenuBackend.h:
4277         * MenuBackend.C: remove defaults gunk
4278
4279         * Languages.h:
4280         * Languages.C: remove defaults gunk
4281
4282         * lyx_main.h:
4283         * lyx_main.C: error out if files couldn't be found.
4284
4285 2003-04-02  John Levon  <levon@movementarian.org>
4286
4287         * text2.C: make incDepth() use parlist
4288
4289 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4290
4291         * undo_funcs.C (firstUndoParagraph): adjust
4292
4293         * text3.C (gotoInset): adjust
4294         (dispatch): adjust, and rewrite loop.
4295
4296         * text2.C (init): adjust, and rewrite loop.
4297         (redoParagraphs): adjust
4298         (updateInset): adjust, and rewrite loop.
4299         (deleteEmptyParagraphMechanism): adjust
4300
4301         * tabular.C (LyXTabular): adjust
4302         (SetMultiColumn): adjust
4303         (TeXRow): adjust
4304
4305         * lyxtext.[Ch] (ownerParagraph): delete function
4306         (ownerParagraphs): new function returns a ParagraphList.
4307
4308         * BufferView.C (removeAutoInsets): adjust
4309         (insertErrors): adjust
4310         (setCursorFromRow): adjust
4311
4312 2003-04-01  Angus Leeming  <leeming@lyx.org>
4313
4314         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4315         in the frontends.
4316
4317 2003-04-02  John Levon  <levon@movementarian.org>
4318
4319         * lyxtext.h:
4320         * text.C:
4321         * Makefile.am:
4322         * text_funcs.h:
4323         * text_funcs.C: make transposeChars a free function
4324
4325         * lyxrow_funcs.C: remove wrong comment
4326
4327 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * lyxtext.h: adjust
4330         * rowpainter.C: adjust
4331         * text.C: adjust
4332         * text2.C: adjust
4333         * text3.C: adjust
4334
4335         * lyxrow_funcs. [Ch]: new files
4336
4337         * lyxrow.[Ch]: remove next and previous pointers
4338         (next,previous): remove accessor functions
4339         (isParEnd): move to lyxrow_funcs
4340         (lastPos): move to lyxrow_funcs
4341         (nextRowIsAllInset): move to lyxrow_funcs
4342         (lastPrintablePos): move to lyxrow_funcs
4343         (numberOfSeparators): move to lyxrow_funcs
4344         (numberOfHfills): move to lyxrow_funcs
4345         (numberOfLabelHfills): move to lyxrow_funcs
4346         (hfillExpansion): move to lyxrow_funcs
4347
4348         * lyxfunc.C: adjust
4349
4350         * bufferview_funcs.C (toggleAndShow): adjust
4351
4352         * RowList.h: Remove class RowList from file leave just a
4353         std::list<Row>.
4354
4355         * RowList.C: delete file
4356
4357         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4358         and lyxrow_funcs.h
4359
4360 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * text3.C (cursorPrevious): adjust
4363         (cursorNext): adjust
4364         (dispatch): adjust
4365
4366         * text2.C (redoHeightOfParagraph): adjust
4367         (redoDrawingOfParagraph): adjust
4368         (setCursor): adjust
4369
4370         * text.C (breakParagraph): adjust
4371         (insertChar): adjust
4372         (backspace): adjust
4373
4374         * rowpainter.C (RowPainter): adjust
4375         (leftMargin): simplify and adjust
4376         (most rowpainter functions): adjust.
4377
4378         * rowpainter.h: store the row as RowList::iterator not as Row*
4379
4380         * lyxcursor.C (row): taka RowList::iterator as arg
4381         (irow): ditto
4382
4383         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4384         of Row*.
4385
4386 2003-04-01  Angus Leeming  <leeming@lyx.org>
4387
4388         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4389         stuff like bool Bool.
4390
4391 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4394         rewrite a loop
4395
4396 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4399         RowList::iterator.
4400
4401         * lyxtext.h (rows): drop one version and leve a const variant that
4402         returns a RowList::iterator.
4403
4404 2003-03-31  Angus Leeming  <leeming@lyx.org>
4405
4406         * text.C (fill): ensure that the signature is the same as that in the
4407         header file.
4408
4409 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * text2.C (redoParagraphs): adjust
4412         (updateCounters): adjust
4413         (checkParagraph): adjust
4414         (getColumnNearX): adjust and reformat a bit.
4415
4416         * text.C (top_y): adjust
4417         (workWidth): adjust
4418         (leftMargin): adjust
4419         (prepareToPrint): adjust
4420         (getRow): adjust
4421         (getRowNearY): adjust
4422
4423         * lyxtext.h: make rowlist_ mutable.
4424
4425         * RowList.h: add const_iterator
4426         * RowList.C: adjust for RowList::const_iterator.
4427
4428         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4429         adjust.
4430
4431 2003-03-31  John Levon  <levon@movementarian.org>
4432
4433         * lyxrc.h:
4434         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4435
4436         * lyx_main.C: set default fonts from using lyx_gui funcs
4437
4438         * exporter.C: pdf_mode moved from lyxrc
4439
4440         * lyx_cb.C:
4441         * lyxfunc.C: changes from above
4442
4443 2003-03-31  John Levon  <levon@movementarian.org>
4444
4445         * lyx_main.C: fix to the last fix
4446
4447 2003-03-31  John Levon  <levon@movementarian.org>
4448
4449         * bufferlist.C: "Load original" -> "Load Original"
4450
4451         * converter.C:
4452         * exporter.C:
4453         * importer.C:
4454         * lyx_main.C:
4455         * format.C: more Alert cleanups
4456
4457 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4458
4459         * text2.C (removeParagraph): make it take a RowList::iterator as
4460         arg, adjust.
4461         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4462         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4463
4464         * text.C (anchor_row): make it take a RowList::iterator as arg,
4465         adjust.
4466         (computeBidiTables): make it take a const reference to Row instead
4467         of Row pointer, adjust.
4468         (leftMargin): make it take a RowList::iterator as arg, adjust.
4469         (rowBreakPoint): adjust
4470         (breakAgainOneRow): make it take a RowList::iterator as arg,
4471         adjust.
4472         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4473
4474         * bufferview_funcs.C (toggleAndShow): adjust
4475
4476 2003-03-30  John Levon  <levon@movementarian.org>
4477
4478         * Makefile.am:
4479         * BoostFormat.h:
4480         * boost-inst.C: moved to support
4481
4482         * several files: changes as a result
4483
4484 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4485
4486         * text2.C (LyXText): adjust.
4487         (init): adjust
4488         (removeRow): make it take a RowList::iterator as arg, adjust.
4489         (fullRebreak): adjust
4490         (deleteEmptyParagraphMechanism): adjust
4491         (clearPaint): adjust
4492         (postPaint): adjust
4493
4494         * text.C (top_y): adjust
4495         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4496         (breakAgain): make it take a RowList::iterator as arg, adjust.
4497         (breakParagraph): adjust
4498         (insertChar): adjust
4499         (backspace): adjust
4500
4501         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4502         need_break_row, and refresh_row.
4503
4504         * text3.C (dispatch): adjust
4505
4506         * text2.C (checkParagraph): adjust
4507         (setCursor): adjust
4508         (setCursorFromCoordinates): adjust
4509
4510         * text.C (top_y): adjust
4511         (workWidth): adjust
4512         (getRow): make it return a RowList::iterator, adjust
4513         (getRowNearY): make it return a RowList::iterator, adjust
4514
4515         * text2.C (init): adjust
4516         (insertRow): remove function
4517         (insertParagraph): adjust
4518         (redoParagraphs): adjust
4519         (fullRebreak): adjust
4520         (updateCounters): adjust
4521
4522         * text.C (top_y): rewrite to use RowList iterators.
4523         (top_y): adjust
4524         (setHeightOfRow): rewrite to sue RowList iterators.
4525         (appendParagraph): adjust
4526         (breakAgain): adjust
4527         (breakAgainOneRow): adjust
4528         (breakParagraph): adjust
4529         (getRow): adjust
4530         (getRowNearY): adjust, and remove commented code.
4531
4532         * lyxtext.h (firstRow): delete function
4533         (lastRow): delete function
4534         (rows): new function (const and non-const versions.)
4535         (insertRow): delete function
4536
4537         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4538
4539 2003-03-29  John Levon  <levon@movementarian.org>
4540
4541         * BufferView_pimpl.C: always update scrollbar top
4542         because pasting text when we're anchored could mean we
4543         miss an update altogether
4544
4545 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * text2.C (init): use rowlist_.end() and not 0.
4548         (insertRow): change to take a RowList::iterator as arg, adjust
4549         for this.
4550         (insertParagraph): change to take a RowList::iterator as arg,
4551         adjust for this.
4552         (redoParagraphs): remove some debug msgs.
4553
4554         * text.C (appendParagraph): change to take a RowList::iterator
4555         arg, adjust for this.
4556         (breakAgain): add an assert
4557         (breakAgainOneRow): ditto
4558
4559 2003-03-29  John Levon  <levon@movementarian.org>
4560
4561         * text2.C: do not clear selection after inc/decDepth
4562         (bug 550)
4563
4564 2003-03-29  John Levon  <levon@movementarian.org>
4565
4566         * BufferView.C:
4567         * buffer.C: fix broken strerrors according to Lars
4568
4569 2003-03-29  John Levon  <levon@movementarian.org>
4570
4571         * converters.C: more Alert cleanups
4572
4573 2003-03-29  John Levon  <levon@movementarian.org>
4574
4575         * bufferview_funcs.C: remove pointless Alert
4576
4577         * buffer.C: fix confusing error message when
4578         a template is chmoded 000
4579
4580 2003-03-29  John Levon  <levon@movementarian.org>
4581
4582         * BufferView.C:
4583         * BufferView.h:
4584         * BufferView_pimpl.C: Alert fixes
4585
4586         * Makefile.am:
4587         * tabular.C:
4588         * tabular-old.C: remove unused table compat reading
4589
4590 2003-03-29  John Levon  <levon@movementarian.org>
4591
4592         * BufferView.C:
4593         * buffer.C:
4594         * lyx_cb.h:
4595         * lyx_cb.C: more Alert cleanups
4596
4597         * lyxfunc.C: don't allow chktex if not latex document
4598
4599 2003-03-29  John Levon  <levon@movementarian.org>
4600
4601         * lyx_cb.C:
4602         * BufferView.C:
4603         * buffer.C: warnings pushed down from support/,
4604         kill err_alert
4605
4606 2003-03-29  John Levon  <levon@movementarian.org>
4607
4608         * lyxfunc.C: safety check for C-r (revert)
4609
4610 2003-03-29  John Levon  <levon@movementarian.org>
4611
4612         * bufferlist.h:
4613         * bufferlist.C: several UI fixes using Alert::prompt.
4614         Fix the pointless looping quit code. Fix stupid revert
4615         behaviour (bug 938)
4616
4617         * lyxvc.h:
4618         * lyxvc.C:
4619         * lyx_cb.C: use Alert::prompt
4620
4621         * lyx_main.C: remove a silly question
4622
4623         * lyxfunc.C: remove a couple of silly questions,
4624         use Alert::prompt
4625
4626 2003-03-28  John Levon  <levon@movementarian.org>
4627
4628         * text2.C: fix bug 974 (End on empty par)
4629
4630 2003-03-28  John Levon  <levon@movementarian.org>
4631
4632         * BufferView_pimpl.C:
4633         * LyXAction.C:
4634         * lfuns.h: remove do-nothing math greek lfuns
4635
4636 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * lyxgluelength.h (isValidGlueLength): add default arg on
4639         parameter 2. Remove default arg from friend in class.
4640
4641         * lyxlength.h (isValidLength): add default arg on parameter 2.
4642         Remove default arg from friend in class.
4643
4644         * text2.C (LyXText): adjust, initialize refresh_row.
4645         (init): adjust
4646         (removeRow): adjust
4647         (insertRow): adjust
4648         (insertParagraph): adjst
4649         (redoParagraphs): adjust
4650         (fullRebreak): adjust
4651         (updateCounters): adjust
4652         (deleteEmptyParagraphMechanism): first attempt at fixing a
4653         crashing bug.
4654
4655         * text.C (top_y): adjust
4656         (setHeightOfRow): adjust
4657         (getRow): adjust
4658         (getRowNearY): adjust
4659
4660         * lyxtext.h: include RowList.h
4661         (~LyXText): not needed anymore, deleted.
4662         (firstRow): modify for RowList
4663         (lastRow): new function
4664         Delete firstrow and lastrow class variables, add a Rowlist
4665         rowlist_ class variable.
4666
4667         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4668         paragraph is empty.
4669
4670         * RowList.C (insert): fix case where it == begin().
4671
4672 2003-03-26  Angus Leeming  <leeming@lyx.org>
4673
4674         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4675         the thesaurus dialog.
4676
4677 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4680
4681         * RowList.[Ch]: new files
4682
4683         * ParagraphList.C (erase): handle the case where it == begin
4684         correctly.
4685
4686 2003-03-25  John Levon  <levon@movementarian.org>
4687
4688         * Makefile.am:
4689         * aspell_local.h:
4690         * aspell.C: add new aspell support
4691
4692         * lyxrc.h:
4693         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4694         have it accessible.
4695
4696 2003-03-25  Angus Leeming  <leeming@lyx.org>
4697
4698         * lfuns.h:
4699         * LyXAction.C (init): new LFUN_INSET_INSERT.
4700
4701         * BufferView_pimpl.C (dispatch): split out part of the
4702         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4703
4704         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4705         LFUN_INSET_APPLY.
4706
4707 2003-03-25  Angus Leeming  <leeming@lyx.org>
4708
4709         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4710
4711 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4712
4713         * text2.C:
4714         * text3.C: remove useless row->height(0)
4715
4716 2003-03-25  John Levon  <levon@movementarian.org>
4717
4718         * lyxtext.h:
4719         * text2.C:
4720         * text3.C: rename the refreshing stuff to better names
4721
4722 2003-03-24  John Levon  <levon@movementarian.org>
4723
4724         * BufferView_pimpl.h:
4725         * BufferView_pimpl.C: update layout choice on a mouse
4726         press/release
4727
4728 2003-03-23  John Levon  <levon@movementarian.org>
4729
4730         * Makefile.am: fix commandtags.h reference
4731
4732 2003-03-22  John Levon  <levon@movementarian.org>
4733
4734         * BufferView_pimpl.C:
4735         * lyxtext.h:
4736         * rowpainter.C:
4737         * rowpainter.h:
4738         * text.C:
4739         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4740
4741 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4742
4743         * lyxtext.h:
4744         * text.C: take the rtl methods out of line
4745
4746 2003-03-21 André Pönitz <poenitz@gmx.net>
4747
4748         * metricsinfo.[Ch]: new files containing structures to be passed around
4749         during the two-phase-drawing...
4750
4751 2003-03-21 André Pönitz <poenitz@gmx.net>
4752
4753         * lyxtextclass.C: read 'environment' tag.
4754
4755 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4756
4757         * text2.C (removeRow): fix bug 964
4758
4759 2003-03-20  John Levon  <levon@movementarian.org>
4760
4761         * rowpainter.C:
4762         * text.C:
4763         * text2.C: paint cleanups. Inset::update() dropped font
4764         parameter
4765
4766 2003-03-19  John Levon  <levon@movementarian.org>
4767
4768         * lyxfunc.C: only fitcursor/markDirty if available()
4769
4770 2003-03-19  John Levon  <levon@movementarian.org>
4771
4772         * commandtags.h: rename to ...
4773
4774         * lfuns.h: ... this, and renumber / cleanup
4775
4776 2003-03-19  John Levon  <levon@movementarian.org>
4777
4778         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4779         fit the cursor after an lfun
4780
4781         * BufferView.h:
4782         * BufferView.C:
4783         * BufferView_pimpl.h:
4784         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4785
4786         * LyXAction.C: layout-character should have ReadOnly
4787
4788         * ParagraphParameters.C:
4789         * buffer.C:
4790         * bufferview_funcs.C:
4791         * lyx_cb.C:
4792         * lyxfind.C:
4793         * lyxtext.h:
4794         * text.C:
4795         * text2.C:
4796         * text3.C:
4797         * undo_funcs.C: changes from above
4798
4799 2003-03-18  John Levon  <levon@movementarian.org>
4800
4801         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4802         remove it from update()
4803
4804         * lyxfunc.C: update layout choice after an lfun
4805
4806         * text3.C: remove extra updateLayoutChoice()s
4807
4808 2003-03-18  John Levon  <levon@movementarian.org>
4809
4810         * text.C: top_y change means full repaint, fix
4811         a drawing bug with cursor movement
4812
4813 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4814
4815         * lyxtext.h:
4816         * text.C:
4817         * text2.C: anchor row on setCursor
4818
4819 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * lyxtext.h: remove almost all mutable keywords
4822         * text.C:
4823         * text2.C:
4824         * text3.C: remove const keywords accordingly
4825
4826 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4829         anon namespace
4830         (TeXEnvironment): ditto
4831         (TeXOnePar): ditto
4832
4833 2003-03-17  John Levon  <levon@movementarian.org>
4834
4835         * text.C (rowBreakPoint): remove attempt to fix displayed
4836         math insets inside a manual label
4837
4838 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * lyxtext.h: remove BufferView* as first arg from almost all class
4841         functions.
4842         * other files: adjust.
4843
4844 2003-03-17  John Levon  <levon@movementarian.org>
4845
4846         * lyxtext.h:
4847         * undo_funcs.C:
4848         * text2.C: more paint cleanups
4849
4850         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4851
4852         * rowpainter.h:
4853         * rowpainter.C: remove "smart" background painting code
4854
4855 2003-03-16  John Levon  <levon@movementarian.org>
4856
4857         * lyxtext.h:
4858         * text.C:
4859         * text2.C:
4860         * text3.C: add helper functions for setting refresh_row/y
4861
4862 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4863
4864         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4865         newline inset which *can* get inserted in the pass_thru layouts.
4866         This is primarily for literate documents.
4867
4868 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4869
4870         * buffer.C: increment LYX_FORMAT to 223
4871
4872 2003-03-14 André Pönitz <poenitz@gmx.net>
4873
4874         * textclass.h: prepare for environment handling, ws changes
4875         * lyxlayout.C: read latexheader and latexfooter tags
4876
4877 2003-03-14  John Levon  <levon@movementarian.org>
4878
4879         * text2.C: rewrite ::status() a bit
4880
4881 2003-03-13  John Levon  <levon@movementarian.org>
4882
4883         * lyxtext.h: add some docs
4884
4885 2003-03-13  John Levon  <levon@movementarian.org>
4886
4887         * lyxtext.h:
4888         * text.C:
4889         * text2.C:
4890         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4891
4892 2003-03-13  John Levon  <levon@movementarian.org>
4893
4894         * text3.C: fix appendix redrawing
4895
4896 2003-03-13  John Levon  <levon@movementarian.org>
4897
4898         * text.C (setHeightOfRow):
4899         * rowpainter.h:
4900         * rowpainter.C: make appendix mark have the text
4901           "Appendix" so the user knows what it is
4902
4903         * LColor.h:
4904         * LColor.C: s/appendixline/appendix/ from above
4905
4906 2003-03-13  John Levon  <levon@movementarian.org>
4907
4908         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4909
4910         * text.C: fix a getChar(pos) bug properly
4911
4912 2003-03-13  Angus Leeming  <leeming@lyx.org>
4913
4914         * commandtags.h:
4915         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4916         Probably only temporary. Let's see how things pan out.
4917
4918         * BufferView.C (unlockInset):
4919         * BufferView_pimpl.C (fitCursor):
4920         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4921
4922         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4923         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4924
4925         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4926         new functions that convert ParagraphParameters to and from a string.
4927
4928         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4929         BufferView::Pimpl's dispatch.
4930         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4931
4932 2003-03-13 André Pönitz <poenitz@gmx.net>
4933
4934         * lyxfunc.C:
4935         * text3.C:
4936         * factory.C: make it aware of InsetEnv
4937
4938 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * text2.C (setCursor): never ask for one past last
4941         (setCursor): add some debugging messages.
4942
4943         * text.C (singleWidth): never ask for one past last
4944         (singleWidth): ditto
4945         (leftMargin): ditto
4946         (rightMargin): ditto
4947         (rowBreakPoint): ditto
4948         (setHeightOfRow): ditto
4949         (prepareToPrint): ditto
4950
4951         * rowpainter.C (paintBackground): never ask for one past last
4952         (paintText): never ask for one past last
4953
4954         * paragraph_pimpl.C (getChar): make the assert stricter, never
4955         allow the one past last pos to be taken
4956
4957         * paragraph.C (getChar): ws changes only
4958
4959         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4960         (numberOfSeparators): ditto
4961         (numberOfHfills): ditto
4962
4963 2003-03-12  John Levon  <levon@movementarian.org>
4964
4965         * author.h:
4966         * author.C:
4967         * bufferparams.h:
4968         * bufferparams.C:
4969         * paragraph_funcs.C: fix per-buffer authorlists
4970
4971 2003-03-12  John Levon  <levon@movementarian.org>
4972
4973         * text.C: fix newline in right address
4974
4975 2003-03-12  Angus Leeming  <leeming@lyx.org>
4976
4977         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4978         duplicate those in LyXFunc::dispatch.
4979
4980         * commandtags.h:
4981         * LyXAction.C:
4982         * ToolbarDefaults.C:
4983         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4984         Add LFUN_FONTFREE_UPDATE.
4985
4986         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4987         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4988
4989         * bufferview_func.[Ch]: several new functions to facilliate
4990         transfer of data to and from the character dialog.
4991
4992 2003-03-12  John Levon  <levon@movementarian.org>
4993
4994         * buffer.C:
4995         * paragraph.h:
4996         * paragraph.C:
4997         * paragraph_funcs.C:
4998         * paragraph_pimpl.C:
4999         * sgml.C:
5000         * tabular.C:
5001         * text.C:
5002         * text3.C: remove META_NEWLINE in favour of an inset
5003
5004         * rowpainter.h:
5005         * rowpainter.C: remove paintNewline (done by inset)
5006
5007 2003-03-12  John Levon  <levon@movementarian.org>
5008
5009         * paragraph_pimpl.C: complain about bad getChar()s
5010         for a while at least
5011
5012 2003-03-12  John Levon  <levon@movementarian.org>
5013
5014         * buffer.h:
5015         * buffer.C: move paragraph read into a separate function,
5016         a little renaming to reflect that.
5017
5018         * bufferparams.h:
5019         * bufferparams.C: remove the author_ids map, not necessary now
5020
5021         * factory.h:
5022         * factory.C: moved Buffer::readInset to here
5023
5024         * paragraph_funcs.h:
5025         * paragraph_funcs.C: readParagraph free function moved from
5026         buffer.C
5027
5028         * tabular.C: name change
5029
5030 2003-03-12  John Levon  <levon@movementarian.org>
5031
5032         * buffer.C:
5033         * ParagraphParameters.C: move par params input to
5034         a read() method
5035
5036         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5037         behave like a normal read from the stream wrt reading
5038         a line vs. a \\token
5039
5040 2003-03-12  John Levon  <levon@movementarian.org>
5041
5042         * paragraph.C:
5043         * ParagraphParameters.h:
5044         * ParagraphParameters.C: move output code to a
5045         ::write() method
5046
5047 2003-03-12  John Levon  <levon@movementarian.org>
5048
5049         * BufferView.C (insertLyXFile):
5050         * buffer.h:
5051         * buffer.C:
5052         * tabular.C: use a parlist iterator for creating the
5053           document.
5054
5055 2003-03-12  John Levon  <levon@movementarian.org>
5056
5057         * buffer.C: make current_change static local not
5058           static file-scope
5059
5060 2003-03-12  John Levon  <levon@movementarian.org>
5061
5062         * buffer.C: fix insertStringAsLines for change tracking
5063
5064 2003-03-12  John Levon  <levon@movementarian.org>
5065
5066         * BufferView.C:
5067         * tabular.C:
5068         * buffer.h:
5069         * buffer.C:
5070         * bufferparams.h:
5071         * bufferparams.C: move author list into params. Rename some
5072           functions. Move the header reading into a separate token
5073           loop. Move the header token reading into BufferParams.
5074
5075 2003-03-12  John Levon  <levon@movementarian.org>
5076
5077         * changes.C: put debug inside lyxerr.debugging() checks
5078
5079 2003-03-11 André Pönitz <poenitz@gmx.net>
5080
5081         * factory.C: make it aware of InsetHFill
5082
5083 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5084
5085         * buffer.C (latexParagraphs): move function from here...
5086         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5087         args.
5088
5089 2003-03-10  Angus Leeming  <leeming@lyx.org>
5090
5091         * LyXAction.C (init): fix bug in poplating array with multiple entries
5092         with the same LFUN (spotted by JMarc).
5093
5094 2003-03-10  John Levon  <levon@movementarian.org>
5095
5096         * text.C:
5097         * text2.C: move getColumnNearX() near its
5098         only call site
5099
5100 2003-03-10  John Levon  <levon@movementarian.org>
5101
5102         * text.C: fix break before a minipage
5103
5104 2003-03-10  John Levon  <levon@movementarian.org>
5105
5106         * text.C: fix the last commit
5107
5108 2003-03-09  John Levon  <levon@movementarian.org>
5109
5110         * lyxtext.h:
5111         * text.C:
5112         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5113         bug 365 (don't break before insets unless needed). Don't
5114         return a value > last under any circumstances.
5115
5116 2003-03-09  Angus Leeming  <leeming@lyx.org>
5117
5118         * BufferView_pimpl.C (trackChanges, dispatch): call
5119         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5120
5121 2003-03-09  Angus Leeming  <leeming@lyx.org>
5122
5123         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5124         than Dialogs::showAboutlyx().
5125
5126 2003-03-09  Angus Leeming  <leeming@lyx.org>
5127
5128         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5129         than Dialogs::showTabularCreate().
5130
5131 2003-03-09  John Levon  <levon@movementarian.org>
5132
5133         * lyxtext.h:
5134         * text.C:
5135         * text2.C: 3rd arg to nextBreakPoint was always the same.
5136           Use references.
5137
5138 2003-03-08  John Levon  <levon@movementarian.org>
5139
5140         * lyxrow.C:
5141         * paragraph.C:
5142         * paragraph.h:
5143         * rowpainter.C:
5144         * text.C:
5145         * text2.C: Remove the "main" bit from the "main body"
5146           notion.
5147
5148 2003-03-08  John Levon  <levon@movementarian.org>
5149
5150         * text.C (leftMargin): The left margin of an empty
5151         manual label paragraph should not include the label width
5152         string length.
5153
5154         * text.C (prepareToPrint): don't attempt to measure hfills
5155         for empty manual label paragraphs - the answer should be 0
5156
5157 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * CutAndPaste.C: remove commented code and reindent.
5160
5161 2003-03-08  John Levon  <levon@movementarian.org>
5162
5163         * lyxfunc.h:
5164         * lyxfunc.C: move reloadBuffer()
5165
5166         * BufferView.h:
5167         * BufferView.C: to here
5168
5169         * lyxvc.C: add comment
5170
5171         * vc-backend.h:
5172         * vc-backend.C: call bv->reload() to avoid
5173           getStatus() check on MENURELOAD
5174
5175 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5176
5177         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5178         to an old format .dep file.
5179
5180 2003-03-07  Angus Leeming  <leeming@lyx.org>
5181
5182         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5183         when the LFUN_MOUSE_RELEASE should have been handled by
5184         inset->localDispatch.
5185
5186 2003-03-07  Angus Leeming  <leeming@lyx.org>
5187
5188         * BufferView_pimpl.C (dispatch):
5189         * LyXAction.C (init):
5190         * ToolbarDefaults.C (init):
5191         * commandtags.h:
5192         * lyxfunc.C (getStatus):
5193         remove LFUN_INSET_GRAPHICS.
5194
5195         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5196
5197 2003-03-07  Angus Leeming  <leeming@lyx.org>
5198
5199         * commandtags.h:
5200         * LyXAction.C (init):
5201         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5202
5203         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5204
5205         * commandtags.h:
5206         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5207
5208         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5209         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5210
5211 2003-03-07  Angus Leeming  <leeming@lyx.org>
5212
5213         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5214         remove "ert".
5215
5216 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * ParagraphList.C (front): new function
5219         (back): implement
5220
5221 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5222
5223         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5224         and top_row_offset_. removed var first_y.
5225         * text.C (top_y):
5226         * text2.C (LyXText, removeRow):
5227         * text3.C:
5228         * BufferView_pimpl.C:
5229         use these methods instead of using first_y
5230
5231 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * text2.C (pasteSelection): adjust for checkPastePossible
5234
5235         * CutAndPaste.C: remove Paragraph * buf and replace with
5236         ParagraphList paragraphs.
5237         (DeleteBuffer): delete
5238         (cutSelection): change the tc type to textclass_type
5239         (copySelection): change the tc type to textclass_type
5240         (copySelection): adjust for ParagraphList
5241         (pasteSelection): change the tc type to textclass_type
5242         (pasteSelection): adjust for Paragraphlist
5243         (nrOfParagraphs): simplify for ParagraphList
5244         (checkPastePossible): simplify for ParagraphList
5245         (checkPastePossible): remove unused arg
5246
5247         * ParagraphList.C (insert): handle the case where there are no
5248         paragraphs yet.
5249
5250         * CutAndPaste.h: make CutAndPaste a namespace.
5251
5252         * text3.C (dispatch): adjust
5253
5254         * text.C (breakParagraph): add a ParagraphList as arg
5255
5256         * paragraph_funcs.C (breakParagraph): change to take a
5257         BufferParams and a ParagraphList as args.
5258         (breakParagraphConservative): ditto
5259         (mergeParagraph): ditto
5260         (TeXDeeper): add a ParagraphList arg
5261         (TeXEnvironment): ditto
5262         (TeXOnePar): ditto
5263
5264         * buffer.C (readLyXformat2): adjust
5265         (insertStringAsLines): adjust
5266         (latexParagraphs): adjust
5267
5268         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5269         (cutSelection): adjust
5270         (pasteSelection): adjust
5271
5272         * BufferView_pimpl.C (insertInset): adjust
5273
5274 2003-03-05  Angus Leeming  <leeming@lyx.org>
5275
5276         * commandtags.h:
5277         * LyXAction.C (init):
5278         * BufferView_pimpl.C (dispatch):
5279         * lyxfunc.C (getStatus):
5280         remove LFUN_CHILD_INSERT.
5281
5282         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5283
5284 2003-03-05  Angus Leeming  <leeming@lyx.org>
5285
5286         * commandtags.h:
5287         * LyXAction.C (init):
5288         * src/factory.C (createInset):
5289         * lyxfunc.C (getStatus):
5290         * text3.C (dispatch):
5291         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5292
5293         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5294
5295 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * ParagraphList.C (insert): handle insert right before end()
5298         (erase): fix cases where it can be first or last paragraph.
5299
5300 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5303         Paragraph::next and Paragraph::previous
5304         (TeXOnePar): ditto
5305
5306         * text.C (breakParagraph): adjust
5307
5308         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5309         BufferParams& as arg.
5310         (breakParagraph): use ParagraphList::insert
5311         (breakParagraphConservative): take a Buffer* instead of a
5312         BufferParams& as arg.
5313         (breakParagraphConservative): use ParagraphList::insert.
5314
5315         * buffer.C (insertStringAsLines): un-const it
5316         (insertStringAsLines): adjust
5317
5318         * ParagraphList.C (insert): new function
5319
5320         * CutAndPaste.C (pasteSelection): adjust
5321
5322         * text.C (backspace): adjust
5323
5324         * tabular.C (SetMultiColumn): adjust
5325
5326         * CutAndPaste.C (cutSelection): adjust
5327         (pasteSelection): adjust
5328
5329         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5330         Buffer const * as arg
5331
5332         * ParagraphList.C (erase): new function
5333         * paragraph_funcs.C (mergeParagraph): use it
5334         (mergeParagraph): make it take a Buffer* instead of a
5335         BufferParams* as arg
5336
5337         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5338         as arg
5339         (breakParagraphConservative): ditto
5340
5341         * paragraph.h: remove the breakParagraph friend
5342
5343         * paragraph.C (eraseIntern): new function
5344         (setChange): new function
5345
5346         * paragraph_funcs.C (mergeParagraph): make it take a
5347         ParagraphList::iterator instead of a Paragraph *, adjust
5348         accordingly.
5349
5350         * paragraph.h: move an #endif so that the change tracking stuff
5351         also works in the NO_NEXT case.
5352
5353 2003-03-04  Angus Leeming  <leeming@lyx.org>
5354
5355         * commandtags.h:
5356         * LyXAction.C: new LFUN_INSET_MODIFY.
5357
5358         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5359         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5360
5361 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * several files: ws changes only
5364
5365         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5366         (TeXEnvironment): ditto
5367         (TeXDeeper): ditto
5368
5369         * buffer.C (makeLaTeXFile): adjust
5370         (latexParagraphs): make it take ParagraphList::iterator as args
5371
5372 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5373
5374         * buffer.C (latexParagraphs): adjust
5375
5376         * paragraph.C (TeXOnePar): move function...
5377         (optArgInset): move function...
5378         (TeXEnvironment): move function...
5379         * paragraph_pimpl.C (TeXDeeper): move function...
5380         * paragraph_funcs.C: ...here
5381
5382         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5383
5384 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * buffer.C (readInset): remove compability code for old Figure and
5387         InsetInfo insets
5388
5389 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * buffer.C: ws changes
5392         (readInset):
5393
5394         * BufferView_pimpl.C: ditto
5395         * author.C: ditto
5396         * buffer.h: ditto
5397         * bufferlist.h: ditto
5398         * changes.h: ditto
5399         * lyxfunc.C: ditto
5400
5401 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5402
5403         * converter.[Ch]: split into itself +
5404         * graph.[Ch]
5405         * format.[Ch]
5406         * Makefile.am: += graph.[Ch] + format.[Ch]
5407         * MenuBackend.C
5408         * buffer.C
5409         * exporter.C
5410         * importer.C
5411         * lyx_main.C
5412         * lyxfunc.C
5413         * lyxrc.C: added #include "format.h"
5414
5415 2003-02-27  Angus Leeming  <leeming@lyx.org>
5416
5417         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5418           a label.
5419
5420         * factory.C (createInset): add "label" to the factory.
5421
5422         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5423           string and do no more.
5424
5425 2003-02-27  Angus Leeming  <leeming@lyx.org>
5426
5427         * commandtags.h:
5428         * LyXAction.C (init):
5429         * factory.C (createInset):
5430         * BufferView_pimpl.C (dispatch):
5431           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5432
5433         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5434
5435         * lyxfunc.C (dispatch):
5436         * text3.C (dispatch): pass name to params2string.
5437
5438 2003-02-26  Angus Leeming  <leeming@lyx.org>
5439
5440         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5441           blocks together.
5442           Rearrange the ~includes. Strip out the unnecessary ones.
5443
5444         * factory.C (createInset): reformat.
5445           create new insets for the various LFUN_XYZ_APPLY lfuns.
5446
5447 2003-02-26  John Levon  <levon@movementarian.org>
5448
5449         * lyxrow.h:
5450         * lyxrow.C: add isParStart,isParEnd helpers
5451
5452         * paragraph.h: make isInserted/DeletedText take refs
5453
5454         * paragraph_funcs.h:
5455         * paragraph_funcs.C: remove #if 0'd code
5456
5457         * lyxtext.h:
5458         * text3.C:
5459         * text2.C:
5460         * text.C: use lyxrow helpers above.
5461           Move draw and paint routines to RowPainter.
5462           Make several methods use refs not pointers.
5463           Make backgroundColor() const.
5464           Add markChangeInDraw(), isInInset().
5465           Merge changeRegionCase into changeCase.
5466           Make workWidth() shouldn't-happen code into an Assert.
5467
5468         * rowpainter.h:
5469         * rowpainter.C: new class for painting a row.
5470
5471         * vspace.h:
5472         * vspace.C: make inPixels take a ref
5473
5474 2003-02-26  Angus Leeming  <leeming@lyx.org>
5475
5476         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5477         LFUN_REF_APPLY.
5478
5479 2003-02-25  John Levon  <levon@movementarian.org>
5480
5481         * ispell.C: give the forked command a more accurate name
5482
5483 2003-02-22  John Levon  <levon@movementarian.org>
5484
5485         * toc.h:
5486         * toc.C: make TocItem store an id not a Paragraph *
5487           (bug #913)
5488
5489 2003-02-21  Angus Leeming  <leeming@lyx.org>
5490
5491         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5492           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5493           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5494           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5495           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5496           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5497
5498         * BufferView_pimpl.C (dispatch):
5499         * LyXAction.C (init):
5500         * factory.C (createInset):
5501         * lyxfunc.C (getStatus, dispatch):
5502         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5503
5504 2003-02-21  Angus Leeming  <leeming@lyx.org>
5505
5506         * BufferView_pimpl.C (MenuInsertLyXFile):
5507         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5508         * lyxfunc.C (menuNew, open, doImport):
5509           no longer pass a LyXView & to fileDlg.
5510
5511 2003-02-21  Angus Leeming  <leeming@lyx.org>
5512
5513         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5514         * LyXAction.C: change, BIBKEY to BIBITEM.
5515         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5516         Change InsetBibKey to InsetBibitem.
5517         Change BIBKEY_CODE to BIBITEM_CODE.
5518         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5519         * factory.C: replace insetbib.h with insetbibitem.h.
5520         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5521         * paragraph.C: replace insetbib.h with insetbibitem.h.
5522         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5523         Change bibkey() to bibitem().
5524         * text.C: remove insetbib.h.
5525         * text2.C: replace insetbib.h with insetbibitem.h.
5526         change bibkey() to bibitem().
5527         * text3.C: remove insetbib.h.
5528         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5529
5530 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5531
5532         * lyxrc.C (output): enclose user email in quotes (in case there are
5533         several words)
5534
5535 2003-02-18  John Levon  <levon@movementarian.org>
5536
5537         * buffer.h: add std::
5538
5539 2003-02-17  John Levon  <levon@movementarian.org>
5540
5541         * SpellBase.h:
5542         * ispell.h:
5543         * ispell.C:
5544         * pspell.h:
5545         * pspell.C: reworking. Especially in ispell, a large
5546           number of clean ups and bug fixes.
5547
5548         * lyxfunc.C: fix revert to behave sensibly
5549
5550 2003-02-17 André Pönitz <poenitz@gmx.net>
5551
5552         * LyXAction.C:
5553         * commandtags.h: new LFUN_INSERT_BIBKEY
5554
5555         * layout.h:
5556         * lyxlayout.C:
5557         * buffer.C:
5558         * factory.C:
5559         * text.C:
5560         * text2.C:
5561         * text3.C:
5562         * paragraph.[Ch]:
5563         * paragraph_func.C: remove special bibkey handling
5564
5565 2003-02-17  John Levon  <levon@movementarian.org>
5566
5567         * text.C (Delete): fix case where delete at the end of
5568           the very first paragraph would not merge the pars
5569
5570 2003-02-17  John Levon  <levon@movementarian.org>
5571
5572         * lyxrow.C: fix lastPrintablePos()
5573
5574 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5575
5576         * bufferparams.C (writeLaTeX): add a std:here
5577
5578         * buffer.C: and remove a using directive there
5579
5580 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5581
5582         * buffer.C (makeLaTeXFile): move the code that generates the
5583           preamble...
5584
5585         * bufferparams.C (writeLaTeX): ... in this new method
5586
5587         * LaTeXFeatures.C (getEncodingSet): make const
5588           (getLanguages): make const
5589
5590         * MenuBackend.C (binding): returns the binding associated to this
5591           action
5592           (add): sets the status of each item by calling getStatus. Adds
5593           some intelligence.
5594           (read): add support for OptSubMenu
5595           (expand): remove extra separator at the end of expanded menu
5596
5597 2003-02-15  John Levon  <levon@movementarian.org>
5598
5599         * BufferView.C:
5600         * BufferView_pimpl.C:
5601         * bufferlist.h:
5602         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5603           inset code that had no actual effect. Remove unneeded status
5604           code.
5605
5606 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5607
5608         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5609           in preamble
5610
5611 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5612
5613         * text.C (drawLengthMarker): also draw an arrow marker for
5614           symbolic lengths (medskip...)
5615
5616 2003-02-14  John Levon  <levon@movementarian.org>
5617
5618         * tabular.h:
5619         * tabular.C: better method names
5620
5621 2003-02-14  John Levon  <levon@movementarian.org>
5622
5623         * BufferView_pimpl.C:
5624         * bufferlist.C:
5625         * buffer.C:
5626         * converter.C:
5627         * lyx_cb.C:
5628         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5629           it's a more accurate name. Remove some pointless uses.
5630
5631 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5632
5633         * text2.C (LyXText): change order of initilizers to shut off
5634           warnings
5635
5636 2003-02-14  John Levon  <levon@movementarian.org>
5637
5638         * buffer.C: use ParIterator for getParFromID()
5639
5640         * paragraph.h:
5641         * paragraph.C:
5642         * paragraph_pimpl.h:
5643         * paragraph_pimpl.C: remove unused getParFromID()
5644
5645 2003-02-14  John Levon  <levon@movementarian.org>
5646
5647         * buffer.C: remove some very old #if 0'd parse code
5648
5649 2003-02-13  John Levon  <levon@movementarian.org>
5650
5651         * text.h:
5652         * text.C:
5653         * text2.C: move hfillExpansion(), numberOfSeparators(),
5654           rowLast(), rowLastPrintable(), numberofHfills(),
5655           numberOfLabelHfills() ...
5656
5657         * lyxrow.h:
5658         * lyxrow.C: ... to member functions here.
5659
5660         * paragraph.h:
5661         * paragraph.C:
5662         * lyxtext.h:
5663         * text.C: remove LyXText::beginningOfMainBody(), and call
5664           p->beginningOfMainBody() directly. Move the check for
5665           LABEL_MANUAL into the latter.
5666
5667         * text.h:
5668         * text.C:
5669         * text2.C:
5670         * vspace.C:
5671         * BufferView.h:
5672         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5673
5674         * text.h:
5675         * text.C:
5676         * text2.C:
5677         * text3.C:
5678         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5679           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5680
5681 2003-02-13  John Levon  <levon@movementarian.org>
5682
5683         * CutAndPaste.C: remove debug
5684
5685 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5686
5687         * paragraph.C (asString): remove two unused variables
5688
5689         * lyxtextclass.C (readTitleType):
5690           (Read):
5691           (LyXTextClass): handle new members titletype_ and titlename_
5692
5693         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5694
5695 2003-02-09  John Levon  <levon@movementarian.org>
5696
5697         * buffer.h:
5698         * buffer.C: replace hand-coded list with a map for the dep clean
5699
5700 2003-02-08  John Levon  <levon@movementarian.org>
5701
5702         * LaTeX.C: consolidate code into showRunMessage() helper
5703
5704 2003-02-08  John Levon  <levon@movementarian.org>
5705
5706         * lyxfind.C:
5707         * lyxtext.h:
5708         * text2.C:
5709         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5710           and pass the size in explicitly
5711
5712         * BufferView_pimpl.h:
5713         * BufferView_pimpl.C:
5714         * BufferView.h:
5715         * BufferView.C: add getCurrentChange()
5716
5717         * BufferView_pimpl.h:
5718         * BufferView_pimpl.C: handle change lfuns
5719
5720         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5721           for changes. Mark pasted paragraphs as new.
5722
5723         * support/lyxtime.h:
5724         * support/lyxtime.C:
5725         * DepTable.C: abstract time_t as lyx::time_type
5726
5727         * LColor.h:
5728         * LColor.C: add colours for new text, deleted text, changebars
5729
5730         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5731           package use "usenames" option.
5732
5733         * commandtags.h:
5734         * lyxfunc.C:
5735         * LyXAction.C: add change lfuns
5736
5737         * Makefile.am:
5738         * author.h:
5739         * author.C: author handling
5740
5741         * buffer.h:
5742         * buffer.C: add a per-buffer author list, with first entry as
5743           current author. Handle new .lyx tokens for change tracking. Output
5744           author list to .lyx file. Output dvipost stuff to .tex preamble.
5745           Bump lyx format to 222.
5746
5747         * bufferlist.h:
5748         * bufferlist.C: add setCurrentAuthor() to reset current author details
5749           in all buffers.
5750
5751         * bufferparams.h:
5752         * bufferparams.C: add param for tracking
5753
5754         * bufferview_funcs.C: output change info in minibuffer
5755
5756         * Makefile.am:
5757         * changes.h:
5758         * changes.C: add change-tracking structure
5759
5760         * debug.h:
5761         * debug.C: add CHANGES debug flag
5762
5763         * lyxfind.h:
5764         * lyxfind.C: add code for finding the next change piece
5765
5766         * lyxrc.h:
5767         * lyxrc.C: add user_name and user_email
5768
5769         * lyxrow.h:
5770         * lyxrow.C: add a metric for the top of the text line
5771
5772         * lyxtext.h:
5773         * text.C: implement accept/rejectChange()
5774
5775         * lyxtext.h:
5776         * text.C: paint changebars. Paint new/deleted text in the chosen
5777         colours. Strike through deleted text.
5778
5779         * paragraph.h:
5780         * paragraph.C:
5781         * paragraph_pimpl.h:
5782         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5783           in the current change to the insert functions. Rework erase to
5784           mark text as deleted, adding an eraseIntern() and a range-based
5785           erase(). Implement per-paragraph change lookup and
5786           accept/reject.
5787
5788         * paragraph_funcs.C: Fixup paste for change tracking.
5789
5790         * tabular.C: mark added row/columns as new.
5791
5792         * text.C: fix rowLast() to never return -1. Don't allow
5793           spellchecking of deleted text. Track transpose changes. Don't
5794           allow paragraph break or merge where appropriate.
5795
5796         * text2.C: leave cursor at end of selection after a cut.
5797
5798 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5799
5800         * text.C (getLengthMarkerHeight):
5801         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5802         visible on screen too.
5803
5804 2003-02-07  John Levon  <levon@movementarian.org>
5805
5806         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5807
5808 2003-02-05  Angus Leeming  <leeming@lyx.org>
5809
5810         * lyxserver.C (read_ready): revert my patch of 11 September last year
5811         as it sends PC cpu through the roof. Presumably this means that
5812         the lyxserver will no longer run on an Alpha...
5813
5814 2003-01-30  Angus Leeming  <leeming@lyx.org>
5815
5816         * factory.C (createInset): create an InsetCommandParam of type "index"
5817         and use it to 'do the right thing'.
5818
5819         * text2.C (getStringToIndex): ensure that cursor position is always
5820         reset to the reset_cursor position.
5821
5822 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5823
5824         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5825         disabled.
5826
5827 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5828
5829         * bufferview.C:
5830         * lyxcb.C:
5831         * lyxfunc.C: Output messages with identical spelling, punctuation,
5832         and spaces
5833
5834 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5835
5836         * MenuBackend.C (expandFormats): List only viewable export formats
5837         in "View" menu
5838
5839         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5840         message
5841
5842         * lyxfunc.C (getStatus): Make sure that formats other than
5843         "fax" can also be disabled
5844
5845 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5846
5847         * text3.C (dispatch): put the lfuns that insert insets in 3
5848         groups, and call doInsertInset with appropriate arguments.
5849         (doInsertInset): new function, that creates an inset and inserts
5850         it according to some boolean parameters.
5851
5852 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * buffer.C (readFile): remember to pass on 'par' when calling
5855         readFile recursively.
5856
5857 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5858
5859         * MenuBackend.C (expandFormats): add "..." to import formats.
5860
5861 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5862
5863         * paragraph.C (asString): Remove XForms RTL hacks.
5864
5865 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5866         * buffer.C: fix typo
5867
5868 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * Makefile.am (LIBS): delete var
5871         (lyx_LDADD): add @LIBS@ here instead.
5872
5873 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5874
5875         * Clarify the meaning of "wheel mouse jump"
5876
5877 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5878
5879         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5880         tabular in a float
5881
5882 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5883
5884         * importer.C (Loaders): do not preallocate 3 elements in the
5885         vector, since one ends up with 6 elements otherwise
5886
5887 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5888
5889         * DepTable.C (write): write the file name as last element of the
5890         .dep file (because it may contain spaces)
5891         (read): read info in the right order
5892
5893 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5894
5895         * paragraph_pimpl.C (simpleTeXBlanks):
5896         (simpleTeXSpecialChars):
5897         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5898
5899         * tabular.C (latex): add some missing case statements. Reindent.
5900
5901         * MenuBackend.C (expandToc): remove unused variable.
5902
5903 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5904
5905         * LColor.C:
5906         * LaTeX.C:
5907         * LyXAction.C:
5908         * MenuBackend.C:
5909         * buffer.C:
5910         * exporter.C:
5911         * lyxfunc.C:
5912         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5913         and the like.
5914
5915 2003-01-05  John Levon  <levon@movementarian.org>
5916
5917         * BufferView.h:
5918         * BufferView.C: add getEncoding()
5919
5920         * kbsequence.h:
5921         * kbsequence.C: do not store last keypress
5922
5923         * lyxfunc.h:
5924         * lyxfunc.C: store last keypress here instead. Pass encoding
5925           to getISOEncoded()
5926
5927 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5928
5929         * lyx_main.C (init): remove annoying error message when following
5930         symbolic links (bug #780)
5931
5932 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5933
5934         * text.C (insertChar):
5935         * lyxrc.C (getDescription): remove extra spaces
5936
5937 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5938
5939         * lyxrc.C (getDescription): remove extra spaces
5940
5941 2002-12-20  John Levon  <levon@movementarian.org>
5942
5943         * text3.C: hack fix for page up/down across tall rows
5944
5945 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5946
5947         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5948         not been invoked
5949
5950 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5951
5952         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5953         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5954         thesaurus is not compiled in
5955
5956 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5957
5958         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5959
5960 2002-12-16  Angus Leeming  <leeming@lyx.org>
5961
5962         * lyxrc.[Ch]:
5963         * lyx_main.C (init): remove override_x_deadkeys stuff.
5964
5965 2002-12-12  John Levon  <levon@movementarian.org>
5966
5967         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5968           insert. Only remove shift modifier under strict
5969           circumstances.
5970
5971 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * MenuBackend.C (expandToc): fix crash.
5974
5975 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * MenuBackend.C (expandToc): gettext on float names.
5978
5979 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5980
5981         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5982         implement bool empty() [bug 490]
5983
5984 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5985
5986         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5987
5988 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * several files: ws changes
5991
5992 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * text2.C (setCounter): clean up a bit, use boost.format.
5995         (updateCounters): initialize par upon declaration.
5996
5997         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5998         if the layout exists. We do not just store the layout any more.
5999         (SwitchLayoutsBetweenClasses): use boost.format
6000
6001 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * converter.C (convert): if from and to files are the same, use a
6004         temporary files as intermediary
6005
6006 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6007
6008         * commandtags.h:
6009         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6010
6011 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6012
6013         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6014
6015 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * tabular.C (asciiPrintCell): use string(size, char) instead of
6018         explicit loop.
6019
6020         * sgml.C (openTag): fix order of arguments to string constructor
6021         (closeTag): ditto
6022
6023         * lyxfunc.C (dispatch): use boost.format
6024
6025         * lots of files: change "c" -> 'c'
6026
6027 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6028
6029         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6030
6031 2002-11-25  Angus Leeming  <leeming@lyx.org>
6032
6033         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6034
6035         * lyx_main.C (init): compile fix.
6036
6037 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6038
6039         * lyx_cb.C (start): boost.formatify
6040         do not include <iostream>
6041
6042         * lengthcommon.C: ws only
6043
6044         * boost-inst.C,BoostFormat.h: add more explict instantations
6045
6046 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * lots of files: handle USE_BOOST_FORMAT
6049
6050 2002-11-21  John Levon  <levon@movementarian.org>
6051
6052         * pspell.C: fix compile
6053
6054 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6055
6056         * lyxfunc.C (dispatch): use boost::format
6057         (open): ditto
6058         (doImport): ditto
6059
6060         * lyxfont.C (stateText): use boost::format
6061
6062         * lyx_main.C (LyX): use boost::format
6063         (init): ditto
6064         (queryUserLyXDir): ditto
6065         (readRcFile): ditto
6066         (parse_dbg): ditto
6067         (typedef boost::function): use the recommened syntax.
6068
6069         * importer.C (Import): use boost::format
6070
6071         * debug.C (showLevel): use boost::format
6072
6073         * converter.C (view): use boost::format
6074         (convert): ditto
6075         (move): ditto
6076         (scanLog): ditto
6077
6078         * bufferview_funcs.C (currentState): use boost::format
6079
6080         * bufferlist.C (emergencyWrite): use boost::format
6081
6082         * buffer.C (readLyXformat2): use boost::format
6083         (parseSingleLyXformat2Token): ditto
6084
6085         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6086
6087         * LaTeX.C (run): use boost::format
6088
6089         * Chktex.C (scanLogFile): use boost::format
6090
6091         * BufferView_pimpl.C (savePosition): use boost::format
6092         (restorePosition): ditto
6093         (MenuInsertLyXFile): ditto
6094
6095         * BoostFormat.h: help file for explicit instation.
6096
6097 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6098
6099         * tabular.C (latex): Support for block alignment in fixed width
6100         columns.
6101
6102 2002-11-17  John Levon  <levon@movementarian.org>
6103
6104         * BufferView_pimpl.C:
6105         * lyx_cb.C:
6106         * lyxfunc.C: split filedialog into open/save
6107
6108 2002-11-08  Juergen Vigna  <jug@sad.it>
6109
6110         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6111         by my last patch (hopefully).
6112
6113 2002-11-08  John Levon  <levon@movementarian.org>
6114
6115         * iterators.h:
6116         * iterators.C:
6117         * buffer.h:
6118         * buffer.C:
6119         * paragraph.h:
6120         * paragraph.C:
6121         * toc.h:
6122         * toc.C: ParConstIterator, and use it (from Lars)
6123
6124 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6125
6126         * lyxtextclass.[Ch]: revise and add doxygen comments
6127
6128 2002-11-07  John Levon  <levon@movementarian.org>
6129
6130         * text.C: fix progress value for spellchecker
6131
6132         * toc.C: fix navigate menu for insetwrap inside minipage
6133
6134         * paragraph_funcs.C: added FIXME for suspect code
6135
6136 2002-11-07  John Levon  <levon@movementarian.org>
6137
6138         * BufferView_pimpl.C: fix redrawing of insets
6139           on buffer switch
6140
6141 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6142
6143         * text2.C (updateCounters): fix bug 668
6144
6145 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6146
6147         * text3.C (dispatch): Do not make the buffer dirty when moving the
6148         cursor.
6149
6150 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * vc-backend.C: STRCONV
6153         (scanMaster): ditto
6154
6155         * text2.C (setCounter): STRCONV
6156
6157         * paragraph.C (asString): STRCONV
6158
6159         * lyxlength.C (asString): STRCONV
6160         (asLatexString): ditto
6161
6162         * lyxgluelength.C (asString): STRCONV
6163         (asLatexString): ditto
6164
6165         * lyxfunc.C (dispatch): STRCONV
6166         (open): ditto
6167
6168         * lyxfont.C (stateText): STRCONV
6169
6170         * importer.C (Import): STRCONV
6171
6172         * counters.C (labelItem): STRCONV
6173         (numberLabel): ditto
6174         (numberLabel): remove unused ostringstream o
6175
6176         * chset.C: STRCONV
6177         (loadFile): ditto
6178
6179         * bufferview_funcs.C (currentState): STRCONV
6180
6181         * buffer.C (readFile): STRCONV
6182         (asciiParagraph): ditto
6183         (makeLaTeXFile): ditto
6184
6185         * Spacing.C (writeEnvirBegin): STRCONV
6186
6187         * LaTeXFeatures.C (getLanguages): STRCONV
6188         (getPackages): ditto
6189         (getMacros): ditto
6190         (getBabelOptions): ditto
6191         (getTClassPreamble): ditto
6192         (getLyXSGMLEntities): ditto
6193         (getIncludedFiles): ditto
6194
6195         * LaTeX.C: STRCONV
6196         (run): ditto
6197         (scanAuxFile): ditto
6198         (deplog): ditto
6199
6200         * LString.h: add the STRCONV macros
6201
6202         * BufferView_pimpl.C (savePosition): STRCONV
6203         (restorePosition): ditto
6204         (MenuInsertLyXFile): ditto
6205
6206         * vc-backend.C (scanMaster): change from submatch[...] to
6207         submatch.str(...)
6208
6209         * funcrequest.C: include config.h
6210
6211         * factory.C: include config.h
6212
6213         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6214
6215         * box.C: include config.h
6216
6217         * LaTeX.C (scanAuxFile): change from submatch[...] to
6218         submatch.str(...)
6219         (deplog): ditto
6220
6221 2002-10-25  Angus Leeming  <leeming@lyx.org>
6222
6223         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6224
6225         * ispell.[Ch] (setError): new method.
6226         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6227         Use setError() insetead of goto END.
6228
6229         * lyx_cb.C (AutoSave): move out child process into new class
6230         AutoSaveBuffer.
6231
6232 2002-10-30  John Levon  <levon@movementarian.org>
6233
6234         * text3.C: make start appendix undoable
6235
6236 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6237
6238         * lyxlength.C (inPixels): Fix returned value.
6239
6240         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6241         environment.
6242
6243 2002-10-24  Angus Leeming  <leeming@lyx.org>
6244
6245         * lyxgluelength.h: no need to forward declare BufferParams
6246         or BufferView, so don't.
6247
6248 2002-10-21  John Levon  <levon@movementarian.org>
6249
6250         * BufferView.C: menuUndo ->undo, redo
6251
6252         * BufferView.h: document, remove dead, make some methods private
6253
6254         * paragraph_funcs.h:
6255         * paragraph_funcs.C:
6256         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6257
6258         * buffer.h:
6259         * buffer.C:
6260         * sgml.h:
6261         * sgml.C: move sgml open/close tag into sgml.C
6262
6263         * bufferview_funcs.h: unused prototype
6264
6265         * lyxfunc.h:
6266         * lyxfunc.C: remove unused
6267
6268         * lyxtext.h:
6269         * text.C: remove unused
6270
6271 2002-10-21  John Levon  <levon@movementarian.org>
6272
6273         * BufferView.h:
6274         * BufferView.C:
6275         * BufferView_pimpl.h:
6276         * BufferView_pimpl.C: fix mouse wheel handling based on
6277           patch from Darren Freeman
6278
6279 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6280
6281         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6282
6283 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6284
6285         * lyxlength.C (inPixels): Fix hanfling of negative length.
6286         Fix LyXLength::MU case.
6287
6288 2002-10-16  John Levon  <levon@movementarian.org>
6289
6290         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6291
6292 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6293
6294         * converter.C (view): add support for $$i (file name) and $$p
6295         (file path) for the viewer command. If $$i is not specified, then
6296         it is appended to the command (for compatibility with old syntax)
6297
6298 2002-10-14  Juergen Vigna  <jug@sad.it>
6299
6300         * undo_funcs.C (textHandleUndo): alter the order in which the
6301         new undopar is added to the LyXText, as we have to set first
6302         the right prev/next and then add it as otherwise the rebuild of
6303         LyXText is not correct. Also reset the cursor to the right paragraph,
6304         with this IMO we could remove the hack in "redoParagraphs()".
6305
6306 2002-10-09  Angus Leeming  <leeming@lyx.org>
6307
6308         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6309         to turn off an optimisation if a new inset is to be inserted.
6310
6311 2002-10-11 André Pönitz <poenitz@gmx.net>
6312
6313         * lyxtext.h: make some functions public to allow access
6314         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6315
6316 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6317
6318         * text3.C (dispatch): when changing layout, avoid an infinite loop
6319         [bug #652]
6320
6321 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6322
6323         * lyxrc.C (read): treat a viewer or converter command of "none" as
6324         if it were empty.
6325
6326         * MenuBackend.C (expandFormats): for an update, also allow the
6327         formats that are not viewable
6328
6329         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6330         script if it is newer than the lyxrc.defaults in user directory
6331
6332 2002-10-07 André Pönitz <poenitz@gmx.net>
6333
6334         * text.C: Vitaly Lipatov's small i18n fix
6335
6336 2002-09-25  Angus Leeming  <leeming@lyx.org>
6337
6338         * ispell.h: doxygen fix.
6339
6340 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6341
6342         * buffer.h (readFile): Add a new argument to the method, to allow
6343         reading of old-format templates.
6344
6345 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6346
6347         * toc.C (getTocList): Get TOC from InsetWrap.
6348
6349 2002-09-16  John Levon  <levon@movementarian.org>
6350
6351         * lyxfunc.C: check tabular for cut/copy too
6352
6353 2002-09-12  John Levon  <levon@movementarian.org>
6354
6355         * LyXAction.C: tidy
6356
6357         * factory.h:
6358         * factory.C: add header
6359
6360         * paragraph_funcs.h:
6361         * paragraph_funcs.C: cleanup
6362
6363 2002-09-11  John Levon  <levon@movementarian.org>
6364
6365         * PrinterParams.h: odd/even default to true
6366
6367 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6368
6369         * PrinterParams.h: update printer parameters for new xforms dialog
6370
6371 2002-09-11  Angus Leeming  <leeming@lyx.org>
6372
6373         * lyxserver.C (read_ready): re-write to make it more transparent
6374         and to make it work in coherent fashion under Tru64 Unix.
6375
6376 2002-09-11  André Pönitz <poenitz@gmx.net>
6377
6378         * commandtags.h:
6379         * LyXAction.C:
6380         * text3.C: implement LFUN_WORDSEL
6381
6382 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6385         make floatlist_ a boost::shared_ptr<FloatList>
6386
6387         * lyxtextclass.C: include FloatList.h
6388         (LyXTextClass): initialize floatlist_
6389         (TextClassTags): add TC_NOFLOAT
6390         (Read): match "nofloat" to TC_NOFLOAT and use it.
6391         (readFloat): modify call to floatlist_
6392         (floats): ditto
6393         (floats): ditto
6394
6395         * FloatList.[Ch] (FloatList): remove commented out float
6396         initialization.
6397         (erase): new function
6398
6399 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6400
6401         * MenuBackend.C (expandToc): fix crash when there is no document
6402         open
6403
6404 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6405
6406         * many files: Add insetwrap.
6407
6408 2002-09-09  John Levon  <levon@movementarian.org>
6409
6410         * text2.C: remove confusing and awkward depth wraparound
6411
6412 2002-09-09  John Levon  <levon@movementarian.org>
6413
6414         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6415
6416         * buffer.h:
6417         * buffer.C: remove getIncludeonlyList()
6418
6419         * paragraph.C:
6420         * lyxfunc.C: remove headers
6421
6422 2002-09-09  Juergen Vigna  <jug@sad.it>
6423
6424         * text.C (getColumnNearX): fix form Michael this is most
6425         probably a cut&paste bug.
6426
6427 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6430
6431         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6432         references, ws changes.
6433
6434         * text2.C (init): update counters after init
6435         (insertParagraph): no need to set counter on idividual paragraphs.
6436         (setCounter): access the counters object in the textclass object
6437         on in the buffer object.
6438         (updateCounters): ditto
6439
6440         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6441         shared_ptr<Counters> to avoid loading counters.h in all
6442         compilation units.
6443         (LyXTextClass): initialize ctrs_
6444         (TextClassTags): add TC_COUNTER, and ...
6445         (Read): use it here.
6446         (CounterTags): new tags
6447         (readCounter): new function
6448         (counters): new funtion
6449         (defaultLayoutName): return a const reference
6450
6451         * counters.C (Counters): remove contructor
6452         (newCounter): remove a couple of unneeded statements.
6453         (newCounter): simplify a bit.
6454         (numberLabel): some small formatting changes.
6455
6456         * buffer.[Ch]: remove all traces of counters, move the Counters
6457         object to the LyXTextClass.
6458
6459 2002-09-06  Alain Castera  <castera@in2p3.fr>
6460
6461         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6462         package to set the horizontal alignment on fixed width columns.
6463
6464         * lyx_sty.C:
6465         * lyx_sty.h: added tabularnewline macro def.
6466
6467         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6468
6469 2002-09-06  John Levon  <levon@movementarian.org>
6470
6471         * LyXAction.C: tooltips for sub/superscript
6472
6473         * MenuBackend.C: a bit more verbose
6474
6475         * lyxfunc.C: tiny clean
6476
6477         * undo_funcs.C: document undo_frozen
6478
6479 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6480
6481         * counters.C (Counters): add missing algorithm counter.
6482
6483         * text2.C (setCounter): lookup the counter with layouts latexname
6484         instead of by section number.
6485         (setCounter): use a hackish way to lookup the correct enum
6486         counter.
6487         a float name->type change
6488         reset enum couners with counter name directly instead of depth value.
6489
6490         * counters.C (Counters): remove the push_backs, change to use the
6491         float type not the float name.
6492         (labelItem): remove unused string, float name->type change
6493
6494         * counters.h: don't include vector, loose the enums and sects vectors
6495
6496 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6499         (Read): add float->TC_FLOAT to textclassTags
6500         (Read): and handle it in the switch
6501         (readFloat): new function
6502
6503         * FloatList.C (FloatList): comment out the hardcoded float
6504         definitions.
6505
6506         * lyxlayout.h: ws change.
6507
6508 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6509
6510         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6511
6512 2002-09-03  Angus Leeming  <leeming@lyx.org>
6513
6514         * BufferView_pimpl.h: qualified name is not allowed in member
6515         declaration: WorkArea & Pimpl::workarea() const;
6516
6517         * factory.C: added using std::endl directive.
6518
6519         * text3.C: added using std::find and std::vector directives.
6520
6521 2002-08-29  André Pönitz <poenitz@gmx.net>
6522
6523         * lyxtext.h:
6524         * text2.C: remove unused member number_of_rows
6525
6526         * Makefile.am:
6527         * BufferView2.C: remove file, move contents to...
6528         * BufferView.C: ... here
6529
6530         * BufferView_pimpl.C:
6531         * factory.C: move more inset creation to factory
6532
6533         * vspace.C: avoid direct usage of LyXText, ws changes
6534
6535         * BufferView.[Ch]:
6536                 don't provide direct access to WorkArea, use two simple
6537                 acessors haveSelction() and workHeight() instead
6538
6539
6540 2002-08-29  John Levon  <levon@movementarian.org>
6541
6542         * BufferView_pimpl.C (dispatch): do not continue when
6543           no buffer
6544
6545 2002-08-28  André Pönitz <poenitz@gmx.net>
6546
6547         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6548
6549         * BufferView.h:
6550         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6551
6552 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6553
6554         * buffer.C: increment LYX_FORMAT to 221
6555
6556         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6557         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6558
6559         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6560
6561         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6562
6563 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6564
6565         * factory.C (createInset): use LyXTextClass::floats
6566
6567         * MenuBackend.C (expandFloatListInsert):
6568         (expandFloatInsert):
6569         (expandToc):
6570
6571         * text2.C (setCounter):
6572
6573         * LaTeXFeatures.C (useFloat):
6574         (getFloatDefinitions):
6575
6576         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6577
6578         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6579         floatlist_, with accessor floats().
6580
6581         * FloatList.h: remove global FloatList
6582
6583 2002-08-26  André Pönitz <poenitz@gmx.net>
6584
6585         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6586
6587         * BufferView.h:
6588         * BufferView2.C:
6589         * BufferView_pimpl.C:
6590         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6591
6592 2002-08-25  John Levon  <levon@movementarian.org>
6593
6594         * LyXAction.C: fix margin note description
6595
6596 2002-08-24  John Levon  <levon@movementarian.org>
6597
6598         * buffer.C:
6599         * bufferlist.C:
6600         * bufferview_funcs.C:
6601         * lyxfont.C:
6602         * undo_funcs.C: cleanups
6603
6604         * lyxfunc.C: disable CUT/COPY when no selection
6605
6606 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6607
6608         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6609         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6610
6611         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6612         Add backward compatibility to "mono", "gray" and "no".
6613
6614 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6615
6616         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6617         (and file_format >= 200).
6618
6619 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6620
6621         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6622
6623 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6624
6625         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6626
6627 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6628
6629         * BufferView_pimpl.C:
6630         * LyXAction.C:
6631         * buffer.C:
6632         * commandtags.h:
6633         * lyxfunc.C:
6634         * paragraph.[Ch]:
6635         * text2.C:
6636         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6637         inset and code to make it  work with the paragraph code. The inset
6638         can be anywhere in the paragraph, but will only do the expected
6639         thing in LaTeX if the layout file contains the parameter line
6640                         OptionalArgs    1
6641         (or more generally, a nonzero value) for that layout.
6642
6643 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * paragraph.h: remove the declaration of undefined counters class
6646         function.
6647
6648 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6649
6650         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6651         Dr. Richard Hawkins.
6652
6653 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6654
6655         * paragraph_funcs.h: remove some unneeded includes
6656
6657         * text.C (backspace): pasteParagraph now in global scipe
6658
6659         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6660         (pasteSelection): ditto
6661
6662         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6663         * paragraph_funcs.C (pasteParagraph): ... here
6664
6665 2002-08-20  André Pönitz <poenitz@gmx.net>
6666
6667         * commandtags.h: new LFUNs for swapping/copying table row/colums
6668
6669         * LyXAction.C:
6670         * lyxfunc.C: support for new lfuns
6671
6672 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6673
6674         * tabular.C:
6675         * buffer.[Ch]: remove NO_COMPABILITY stuff
6676
6677 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * boost.C (throw_exception): new file, with helper function for
6680         boost compiled without exceptions.
6681
6682         * paragraph.h:
6683         * lyxlength.C:
6684         * buffer.C:
6685         * ParameterStruct.h:
6686         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6687
6688         * bufferlist.C (emergencyWriteAll): use boost bind
6689
6690         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6691
6692         * text.C: include paragraph_funcs.h
6693         (breakParagraph): breakParagraph is now in global scope
6694
6695         * paragraph_funcs.[Ch]: new files
6696
6697         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6698         global scope
6699
6700         * buffer.C: include paragraph_funcs.h
6701         (insertStringAsLines): breakParagraph is now in global scope
6702
6703         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6704         paragraph_funcs.C
6705
6706         * CutAndPaste.C: include paragraph_funcs.h
6707         (cutSelection): breakParagraphConservative is now in global scope
6708         (pasteSelection): ditto
6709
6710         * buffer.h: declare oprator== and operator!= for
6711         Buffer::inset_iterator
6712
6713         * bufferlist.C (emergencyWrite): don't use fmt(...)
6714
6715         * text3.C: add using std::endl
6716
6717         * BufferView.C (moveCursorUpdate): remove default arg
6718
6719 2002-08-20  André Pönitz <poenitz@gmx.net>
6720
6721         * buffer.[Ch]: move inline functions to .C
6722
6723         * BufferView2.C:
6724         * BufferView_pimpl.C:
6725         * text.C:
6726         * buffer.[Ch]: use improved inset_iterator
6727
6728         * buffer.C:
6729         * paragraph.[Ch]: write one paragraph at a time
6730
6731 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6732
6733         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6734         style if style is not specified.
6735
6736 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6737
6738         * text2.C (setCounter): when searching for right label for a
6739         caption, make sure to recurse to parent insets (so that a caption
6740         in a minipage in a figure float works) (bug #568)
6741
6742 2002-08-20  André Pönitz <poenitz@gmx.net>
6743
6744         * text3.C: new file for LyXText::dispatch() and helpers
6745
6746         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6747
6748         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6749
6750 2002-08-19  André Pönitz <poenitz@gmx.net>
6751
6752         * lyxtext.h:
6753         * text.C: new LyXText::dispatch()
6754
6755         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6756
6757 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6758
6759         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6760
6761         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6762         Hebrew text.
6763
6764 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6765
6766         * Makefile.am: use $(variables) instead of @substitutions@
6767
6768 2002-08-15  André Pönitz <poenitz@gmx.net>
6769
6770         * lyxfunc.C:
6771         * BufferView_pimpl.C: streamlining mathed <-> outer world
6772         interaction
6773
6774         * commandtags.h:
6775         * LyXAction.C: remove unused LFUN_MATH
6776
6777 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6780
6781 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * paragraph.C (Paragraph): reformat a bit
6784         (cutIntoMinibuffer): use builtin InsetList function instad of
6785         doing it manually.
6786         (getInset): ditto
6787
6788         * buffer.C: include boost/bind.hpp, add using std::for_each
6789         (writeFileAscii): use ParagraphList iterators
6790         (validate): use for_each for validate traversal of paragraphs
6791         (getBibkeyList): use ParagraphList iterators
6792         (resizeInsets): use for_each to resizeInsetsLyXText for all
6793         paragraphs.
6794         (getParFromID): use ParagraphList iterators
6795
6796         * BufferView2.C (lockInset): use paragraph list and iterators
6797
6798 2002-08-14  John Levon  <levon@movementarian.org>
6799
6800         * lyxserver.C: remove spurious xforms include
6801
6802 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6803
6804         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6805
6806 2002-08-13  André Pönitz <poenitz@gmx.net>
6807
6808         * LyXAction.[Ch]:
6809         * lyxfunc.C: further cleaning
6810
6811 2002-08-13  André Pönitz <poenitz@gmx.net>
6812
6813         * funcrequest.h: new constructor
6814
6815         * funcrequest.C: move stuff here from .h
6816
6817         * Makefile.am:
6818         * BufferView_pimpl.C:
6819         * LyXAction.C:
6820         * toc.C:
6821         * lyxfunc.C: subsequent changes
6822
6823         * lyxfunc.h: new view() member function
6824
6825         * lyxfunc.C: subsequent changes
6826
6827 2002-08-13  Angus Leeming  <leeming@lyx.org>
6828
6829         * BufferView2.C:
6830         * BufferView_pimpl.C:
6831         * buffer.C:
6832         * converter.C:
6833         * importer.C:
6834         * lyxfunc.C:
6835         * lyxvc.C:
6836         * toc.C:
6837         * vc-backend.C:
6838         changes due to the changed LyXView interface that now returns references
6839         to member variables not pointers.
6840
6841 2002-08-13  Angus Leeming  <leeming@lyx.org>
6842
6843         * WordLangTuple (word, lang_code): return references to strings,
6844         not strings.
6845
6846         * BufferView.h:
6847         * SpellBase.h:
6848         * lyxtext.h: forward-declare WordLangTuple.
6849
6850         * BufferView2.C:
6851         * ispell.C:
6852         * pspell.C:
6853         * text.C: #include "WordLangTuple.h".
6854
6855         * lyxtext.h:
6856         * text.C: (selectNextWordToSpellcheck): constify return type.
6857
6858 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6859
6860         * buffer.C:
6861         * buffer.h:
6862         * lyxtext.h:
6863         * paragraph.C:
6864         * paragraph_pimpl.h:
6865         * text.C:
6866         * text2.C:
6867         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6868         suggested by Angus.
6869         Made updateCounter always count from start of buffer, and removed
6870         second argument (par).
6871         Reverted floats number display to '#'. Perhaps I'll try again when the
6872         code base is sanitized a bit.
6873
6874 2002-08-12  Angus Leeming  <leeming@lyx.org>
6875
6876         * buffer.[Ch] (getLabelList): constify.
6877
6878 2002-08-07  André Pönitz <poenitz@gmx.net>
6879
6880         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6881
6882         * funcrequest.h: extension to keep mouse (x,y) position
6883
6884 2002-08-12  Juergen Vigna  <jug@sad.it>
6885
6886         * BufferView2.C (insertErrors): forbid undo when inserting error
6887         insets.
6888
6889         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6890
6891 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6892
6893         * ParagraphList.[Ch]: new files
6894
6895         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6896
6897         * BufferView2.C (lockInset): ParagraphList changes
6898         * toc.C: ditto
6899         * text2.C: ditto
6900         * bufferlist.C: ditto
6901         * buffer.h: ditto
6902         * buffer.C: ditto
6903
6904 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6905
6906         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6907         unused class variable counter_,
6908
6909         * paragraph.[Ch] (getFirstCounter): delete unused function
6910
6911         * counters.C: include LAssert.h
6912         (reset): add a new function with no arg, change other version to
6913         not have def. arg and to not allow empty arg.
6914
6915         * text2.C (setCounter): remove empty arg from call to Counters::reset
6916
6917 2002-08-11  John Levon  <levon@movementarian.org>
6918
6919         * Makefile.am: add WordLangTuple.h
6920
6921 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6924         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6925
6926         * insets/insettext.C: InsetList changes
6927
6928         * graphics/GraphicsSupport.C (operator()): InsetList changes
6929
6930         * toc.C (getTocList): InsetList changes
6931
6932         * paragraph_pimpl.[Ch]: InsetList changes
6933
6934         * paragraph.[Ch]: InsetList changes
6935
6936         * buffer.C (inset_iterator): InsetList changes
6937         (setParagraph): ditto
6938         * buffer.h (inset_iterator): ditto
6939         * iterators.C (operator++): ditto
6940         * iterators.h: ditto
6941
6942         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6943
6944         * InsetList.[Ch]: new files, most InsetList handling moved out of
6945         paragraph.C.
6946
6947         * BufferView2.C (removeAutoInsets): InsetList changes
6948         (lockInset): ditto
6949         (ChangeInsets): ditto
6950
6951 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * paragraph_pimpl.h (empty): new function
6954
6955         * paragraph.[Ch] (empty): new function
6956
6957         * other files: use the new Paragraph::empty function
6958
6959 2002-08-09  John Levon  <levon@movementarian.org>
6960
6961         * lyxtext.h: remove unused refresh_height
6962
6963 2002-08-09  John Levon  <levon@movementarian.org>
6964
6965         * Makefile.am:
6966         * sgml.h:
6967         * sgml.C:
6968         * buffer.C:
6969         * paragraph.h:
6970         * paragraph.C: move sgml char escaping out of paragraph
6971
6972         * paragraph.h:
6973         * paragraph.C: remove id setter
6974
6975         * buffer.C:
6976         * paragraph.C:
6977         * paragraph_pimpl.C: remove dead tex_code_break_column
6978
6979         * bufferview_funcs.C: small cleanup
6980
6981         * lyxfunc.C: remove dead proto
6982
6983         * lyxtext.h: make some stuff private. Remove some dead stuff.
6984
6985         * lyxgluelength.C: make as[LyX]String() readable
6986
6987 2002-08-08  John Levon  <levon@movementarian.org>
6988
6989         * LyXAction.h:
6990         * LyXAction.C:
6991         * MenuBackend.C:
6992         * ToolbarDefaults.C:
6993         * lyxfunc.C:
6994         * lyxrc.C:
6995         * toc.C: lyxaction cleanup
6996
6997 2002-08-08  John Levon  <levon@movementarian.org>
6998
6999         * BufferView2.C: small cleanup
7000
7001         * lyxfind.h:
7002         * lyxfind.C: move unnecessary header into the .C
7003
7004 2002-08-08  John Levon  <levon@movementarian.org>
7005
7006         * funcrequest.h: just tedious nonsense
7007
7008         * lyx_main.h:
7009         * lyx_main.C: cleanups
7010
7011         * buffer.C:
7012         * vspace.C: remove dead header lyx_main.h
7013
7014 2002-08-07  Angus Leeming  <leeming@lyx.org>
7015
7016         * Paragraph.[Ch]:
7017         * paragraph_pimpl.h:
7018         Forward declare class Counters in paragraph.h by moving the ctrs member
7019         variable into Paragraph::Pimpl.
7020         (counters): new method, returning a reference to pimpl_->ctrs.
7021
7022         * text2.C: ensuing changes.
7023
7024 2002-08-07  John Levon  <levon@movementarian.org>
7025
7026         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7027
7028         * BufferView_pimpl.C: announce X selection on double/triple
7029           click
7030
7031         * lyx_main.C: use correct bool in batch dispatch
7032
7033         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7034
7035 2002-08-07  André Pönitz <poenitz@gmx.net>
7036
7037         * funcrequest.h: new class to wrap a kb_action and its argument
7038
7039         * BufferView.[Ch]:
7040         * BufferView_pimpl[Ch]:
7041         * LaTeX.C:
7042         * LyXAction.[Ch]:
7043         * lyxfunc.[Ch]:
7044         * lyxrc.C: subsequent changes
7045
7046
7047 2002-08-07  John Levon  <levon@movementarian.org>
7048
7049         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7050           document options change.
7051
7052 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7053
7054         * counters.[Ch]
7055         * text2.C
7056         * paragraph.[Ch]
7057         * makefile.am: move counters functionality over from
7058         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7059
7060 2002-08-06  John Levon  <levon@movementarian.org>
7061
7062         * WordLangTuple.h: new file for word + language code tuple
7063
7064         * SpellBase.h:
7065         * pspell.h:
7066         * pspell.C:
7067         * ispell.h:
7068         * ispell.C:
7069         * lyxtext.h:
7070         * text.C:
7071         * text2.C:
7072         * BufferView.h:
7073         * BufferView2.C: use WordLangTuple
7074
7075         * layout.h:
7076         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7077
7078 2002-08-06  John Levon  <levon@movementarian.org>
7079
7080         * lyx_main.C: fix cmdline batch handling
7081
7082 2002-08-06  André Pönitz <poenitz@gmx.net>
7083
7084         * lyxrc.C: set default for show_banner to true
7085
7086 2002-08-06  John Levon  <levon@movementarian.org>
7087
7088         * pspell.C: fix a crash, and allow new aspell to work
7089
7090 2002-08-06  John Levon  <levon@movementarian.org>
7091
7092         * lyxfunc.C:
7093         * kbmap.C: small cleanup
7094
7095         * vspace.h:
7096         * vspace.C: add const
7097
7098 2002-08-05  John Levon  <levon@movementarian.org>
7099
7100         * LyXAction.C: back to tabular-insert
7101
7102 2002-08-04  John Levon  <levon@movementarian.org>
7103
7104         * BufferView.h:
7105         * BufferView.C: cosmetic change
7106
7107         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7108
7109         * bufferlist.C:
7110         * buffer.h:
7111         * buffer.C:
7112         * lyxcb.h:
7113         * lyxcb.C:
7114         * lyxserver.C:
7115         * lyxvc.C:
7116         * vc-backend.C:
7117         * BufferView2.C: purge all "Lyx" not "LyX" strings
7118
7119         * lyxcursor.h:
7120         * lyxcursor.C: attempt to add some documentation
7121
7122         * lyxfunc.C:
7123         * commandtags.h:
7124         * LyXAction.C:
7125         * ToolbarDefaults.C:
7126         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7127           merge with LFUN_TABULAR_INSERT
7128
7129         * Makefile.am:
7130         * SpellBase.h:
7131         * ispell.h:
7132         * ispell.C:
7133         * pspell.h:
7134         * pspell.C: split up i/pspell implementations into separate
7135           files, many cleanups
7136
7137         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7138
7139         * text2.C: some cleanup
7140
7141         * lyxfunc.C: don't check for isp_command == "none" any more, it
7142           didn't make any sense
7143
7144 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7145
7146         * counters.[Ch]
7147         * text2.C
7148         * paragraph.[Ch]
7149         * makefile.am: move counters functionality over
7150         from text2.C/paragraph.[Ch] to counters.[Ch], and
7151         make proper C++.
7152 2002-08-02  John Levon  <levon@movementarian.org>
7153
7154         * buffer.C: s/lyxconvert/lyx2lyx/
7155
7156 2002-08-02  Angus Leeming  <leeming@lyx.org>
7157
7158         * lyxlex.C: revert John's change as it breaks reading of the user
7159         preamble.
7160
7161 2002-08-02  Angus Leeming  <leeming@lyx.org>
7162
7163         * importer.C (Import):
7164         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7165         changes due to LyXView::view() now returning a boost::shared_ptr.
7166
7167 2002-08-02  John Levon  <levon@movementarian.org>
7168
7169         * lyxlex.C: small cleanup
7170
7171 2002-08-02  John Levon  <levon@movementarian.org>
7172
7173         * text2.C (status): small cleanup, no logic change
7174
7175 2002-08-01  John Levon  <levon@movementarian.org>
7176
7177         * buffer.h:
7178         * buffer.C (writeFile): don't output alerts, caller
7179           handles this
7180
7181         * bufferlist.C:
7182         * lyx_cb.C: from above
7183
7184         * lyxfunc.C: allow to open non-existent files
7185
7186 2002-07-31  John Levon  <levon@movementarian.org>
7187
7188         * lyxserver.C: don't let incidental errors get
7189           in the way (errno)
7190
7191 2002-07-30  John Levon  <levon@movementarian.org>
7192
7193         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7194
7195 2002-07-30  John Levon  <levon@movementarian.org>
7196
7197         * lyxserver.h:
7198         * lyxserver.C: remove I/O callback too
7199
7200 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7201
7202         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7203         log.
7204
7205 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * many files: strip,frontStrip -> trim,ltrim,rtrim
7208
7209 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * PrinterParams.h: remove extern containsOnly, and include
7212         support/lstrings.h instead.
7213
7214         * LaTeX.C (scanAuxFile): modify because of strip changes
7215         (deplog): ditto
7216         * buffer.C (makeLaTeXFile): ditto
7217         * bufferparams.C (writeFile): ditt
7218         * lyxfont.C (stateText): ditto
7219         * lyxserver.C (read_ready): ditto
7220         * vc-backend.C (scanMaster): ditto
7221
7222         * BufferView_pimpl.h: ws changes
7223
7224         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7225
7226 2002-07-26  André Pönitz <poenitz@gmx.net>
7227
7228         * kb_sequence.C: remove unnedred usings
7229
7230 2002-07-26  Juergen Vigna  <jug@sad.it>
7231
7232         * lyxfind.C (LyXReplace): we have to check better if the returned
7233         text is not of theLockingInset()->getLockingInset().
7234
7235 2002-07-25  Juergen Vigna  <jug@sad.it>
7236
7237         * lyxfind.C (LyXReplace): don't replace if we don't get the
7238         right LyXText.
7239
7240         * undo_funcs.C (createUndo): remove debugging code.
7241
7242 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7243
7244         * buffer.C (parseSingleLyXformat2Token): Use default placement
7245         when reading old floats.
7246
7247         * FloatList.C (FloatList): Change the default placement of figure
7248         and tables to "tbp".
7249
7250 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7251
7252         * MenuBackend.C: using std::max
7253
7254 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7255
7256         * MenuBackend.C (expandToc):
7257         (expandToc2): code moved from xforms menu frontend. It is now
7258         generic and TOCs are transparent to menu frontends.
7259
7260 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7261
7262         * toc.C (getTocList): protect against buf=0
7263
7264         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7265         Menu as first parameter. Now, this calls itself recursively to
7266         expand a whole tree (this will be useful for TOC handling)
7267         (expandFloatInsert): remove 'wide' version of floats
7268
7269         * MenuBackend.h (submenuname): returns the name of the submenu.
7270         (submenu): returns the submenu itself, provided it has been
7271         created by MenuBackend::expand
7272
7273 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7274
7275         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7276         insets which have noFontChange == true. (bug #172)
7277
7278 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7279
7280         * BufferView_pimpl.C: add connection objects and use them...
7281         (Pimpl): here.
7282
7283 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7284
7285         * MenuBackend.C (expandLastfiles):
7286         (expandDocuments):
7287         (expandFormats):
7288         (expandFloatListInsert):
7289         (expandFloatInsert):
7290         (expand): split expand in parts
7291
7292 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7293
7294         * lyx_gui.C: use lyx_gui::exit()
7295
7296 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7297
7298         * LyXAction.C: show the failing pseudo action
7299
7300 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7301
7302         * buffer.C (readFile): Run the lyxconvert script in order to read
7303         old files.
7304
7305 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * LyXAction.C:
7308         * commandtags.h:
7309         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7310
7311 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7312
7313         * LyXAction.C:
7314         * commandtags.h:
7315         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7316
7317 2002-07-22  Herbert Voss  <voss@lyx.org>
7318
7319         * lengthcommon.C:
7320         * lyxlength.[Ch]: add support for the vertical lengths
7321
7322 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7323
7324         * toc.[Ch]: std:: fixes
7325
7326 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7327
7328         * lyxrc.C: do not include lyx_main.h
7329
7330         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7331         for layouts
7332
7333         * lyxrc.C:
7334         * encoding.C:
7335         * bufferlist.C:
7336         * BufferView2.C: include "lyxlex.h"
7337
7338         * tabular.h:
7339         * bufferparams.h: do not #include "lyxlex.h"
7340
7341         * lyxtextclasslist.C (Add): remove method
7342         (classlist): renamed to classlist_
7343
7344         * paragraph_pimpl.C:
7345         * paragraph.C:
7346         * text2.C:
7347         * CutAndPaste.C:
7348         * bufferview_funcs.C:
7349         * bufferlist.C:
7350         * text.C:
7351         * LaTeXFeatures.C:
7352         * buffer.C:
7353         * toc.C (getTocList): use BufferParams::getLyXTextClass
7354
7355         * toc.C (getTocList): use InsetFloat::addToToc
7356
7357         * toc.[Ch]: new files, containing helper functions to handle table
7358         of contents
7359
7360         * lyxfunc.C (dispatch): no need to remove spaces around command
7361         given as a string
7362         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7363         first command of the sequence; it is not very clever, but I do not
7364         have a better idea, actually
7365
7366         * LyXAction.C (LookupFunc): make sure to remove space at the
7367         beginning and end of the command
7368
7369 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7370
7371         * MenuBackend.C (getMenubar): new method: return the menubar of
7372         this menu set
7373         (read): treat differently reading of menu and menubar (in
7374         particular, the menubar has no name now)
7375         (Menu::menubar): remove
7376
7377         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7378         saving is finished
7379
7380 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7381
7382         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7383         a bibitem inset in a RTL paragraph.
7384
7385 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7386
7387         * paragraph_pimpl.C: constify
7388
7389         * BufferView_pimpl.C:
7390         * LaTeX.C:
7391         * lyxfunc.C: fix dispatch in a nicer way
7392
7393 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7394
7395         * lyxfunc.C (dispatch):
7396         * BufferView_pimpl.C:
7397         * BufferView_pimpl.h:
7398         * BufferView.C:
7399         * BufferView.h: rename Dispatch() to dispatch()
7400
7401         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7402
7403         * lyxlayout.C (Read): honor DependsOn tag
7404
7405         * lyxlayout.[Ch] (depends_on): new method
7406
7407         * version.C.in: update lyx_docversion
7408
7409         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7410
7411         * paragraph.C (validate): remove from here...
7412         * paragraph_pimpl.C (validate): ... and move here
7413         (isTextAt): make it const
7414
7415         * buffer.C (getLists): ws cleanup
7416
7417 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7418
7419         * language.C (read): Use iso8859-1 encoding in latex_lang
7420         (this prevents LyX from crashing when using iso10646-1 encoding).
7421
7422 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7423
7424         * text2.C (toggleInset): if cursor is inside an inset, close the
7425         inset and leave cursor _after_ it
7426
7427 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7428
7429         * lyxfunc.C: move minibuffer completion handling out of here
7430
7431 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7432
7433         * BufferView_pimpl.C:
7434         * LaTeX.C: fix dispatch calls
7435
7436 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7437
7438         * text.C (drawChars): Fix Arabic text rendering.
7439
7440 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7441
7442         * LyXAction.C:
7443         * commandtags.h:
7444         * lyxfunc.C: remove message-push/pop
7445
7446         * lyxserver.C:
7447         * lyxfunc.h:
7448         * lyxfunc.C: rationalise some code by removing verboseDispatch
7449           in favour of a bool argument to dispatch()
7450
7451 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7452
7453         * lyx_main.C (init): make sure to read symlinks as absolute paths
7454
7455 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7456
7457         * lyxfunc.h:
7458         * lyxfunc.C: no need for commandshortcut to be a member
7459
7460 2002-07-15  André Pönitz <poenitz@gmx.net>
7461
7462         * converter.C: add support for $$s (scripts from lib/scripts dir)
7463         * lyx_main.C: white space
7464
7465 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7466
7467         * bufferlist.C:
7468         * lyxrc.h:
7469         * lyxrc.C: remove second exit confirmation
7470
7471 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7472
7473         * BufferView.h:
7474         * BufferView.C:
7475         * BufferView2.C:
7476         * BufferView_pimpl.h:
7477         * BufferView_pimpl.C:
7478         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7479
7480 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7481
7482         * MenuBackend.C (expand): add numeric shortcuts to document menu
7483
7484         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7485
7486 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7487
7488         * lyxfont.C (setLyXFamily):
7489         (setLyXSeries):
7490         (setLyXShape):
7491         (setLyXSize):
7492         (setLyXMisc):
7493         (lyxRead):
7494         * debug.C (value):
7495         * buffer.C (asciiParagraph): use ascii_lowercase
7496
7497 2002-07-15  Mike Fabian  <mfabian@suse.de>
7498
7499         * lyxlex_pimpl.C (search_kw):
7500         * lyxlex.C (getLongString):
7501         * converter.h (operator<):
7502         * converter.C (operator<):
7503         * buffer.C (parseSingleLyXformat2Token):
7504         (asciiParagraph):
7505         * ToolbarDefaults.C (read):
7506         * MenuBackend.C (checkShortcuts):
7507         (read):
7508         * LColor.C (getFromGUIName):
7509         (getFromLyXName): use the compare_ascii_no_case instead of
7510         compare_no_case, because in turkish, 'i' is not the lowercase
7511         version of 'I', and thus turkish locale breaks parsing of tags.
7512
7513 2002-07-16  Angus Leeming  <leeming@lyx.org>
7514
7515         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7516         now takes a Buffer const & argument.
7517
7518 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7519
7520         * BufferView.C (resize): check there's a buffer to resize
7521
7522 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7523
7524         * lyxfunc.C: remove dead code
7525
7526         * lyxserver.h:
7527         * lyxserver.C: use lyx_guii::set_read_callback
7528
7529 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7530
7531         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7532         an inset in a RTL paragraph.
7533
7534 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7535
7536         * lyxfunc.C: repaint after a font size update
7537
7538 2002-07-15  André Pönitz <poenitz@gmx.net>
7539
7540         * lyxlength.C: inBP should be able to return negative values
7541
7542 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7543
7544         * lyxfunc.C: use lyx_gui::update_fonts()
7545
7546 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7547
7548         * lyxfunc.C: use lyx_gui::update_color()
7549
7550 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7551
7552         * bufferlist.C:
7553         * lyxfunc.h:
7554         * lyxfunc.C:
7555         * lyxrc.h:
7556         * lyxrc.C: remove file->new asks for name option, and let
7557           buffer-new take an argument
7558
7559 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7560
7561         * BufferView_pimpl.C: remove unneeded extra repaint()
7562
7563 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * LyXAction.C: allow command-sequence with NoBuffer
7566
7567         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7568
7569 2002-07-10  Angus Leeming  <leeming@lyx.org>
7570
7571         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7572
7573 2002-07-09  Angus Leeming  <leeming@lyx.org>
7574
7575         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7576
7577 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7578
7579         * lengthcommon.h: whitespace
7580
7581         * lyxfunc.C: update scrollbar after goto paragraph
7582
7583         * lyxtext.h: factor out page break drawing, and fix it so
7584           page break/added space paints as selected nicely
7585
7586 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7587
7588         * BufferView_pimpl.C: add FIXMEs, clean up a little
7589
7590 2002-07-09  André Pönitz <poenitz@gmx.net>
7591
7592         * lyxfont.[Ch]: support for wasy symbols
7593
7594 2002-07-08  André Pönitz <poenitz@gmx.net>
7595
7596         * BufferView_pimpl.C: apply John's patch for #93.
7597
7598 2002-07-05  Angus Leeming  <leeming@lyx.org>
7599
7600         * BufferView_pimpl.C (buffer): generate previews if desired.
7601
7602         * LColor.h: add "preview" to the color enum.
7603
7604         * LColor.C (LColor): add a corresponding entry to the items array.
7605
7606         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7607         with this buffer.
7608
7609 2002-07-05  Angus Leeming  <leeming@lyx.org>
7610
7611         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7612         The body of the code is now in the method that is passed an ostream &
7613         rather than a file name.
7614         Pass an additional only_preamble parameter, useful for the forthcoming
7615         preview stuff.
7616
7617 2002-07-03  André Pönitz <poenitz@gmx.net>
7618
7619         * lyxfunc.C: simplify getStatus() a bit for math stuff
7620
7621 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7622
7623         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7624
7625 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7626
7627         * text.C (changeRegionCase): do not change case of all the
7628         document when region ends at paragraph end (bug #461)
7629
7630 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7631
7632         * paragraph.C (startTeXParParams):
7633         (endTeXParParams): add \protect when necessary
7634
7635 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7636
7637         * BufferView_pimpl.C (workAreaExpose): remove warning
7638
7639 2002-06-27  Angus Leeming  <leeming@lyx.org>
7640
7641         * Makefile.am: add lyxlayout_ptr_fwd.h.
7642
7643 2002-06-26  André Pönitz <poenitz@gmx.net>
7644
7645         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7646
7647 2002-06-25  Angus Leeming  <leeming@lyx.org>
7648
7649         * lyxfunc.C (dispatch): Comment out the call to
7650         grfx::GCache::changeDisplay. The method no longer exists now that the
7651         pixmap generation part of the graphics loader has been moved into
7652         InsetGraphics.
7653
7654 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7655
7656         * text2.C: layout as layout
7657
7658         * text.C: layout as layout
7659
7660         * tabular.C (OldFormatRead): layout as layout
7661
7662         * paragraph_pimpl.C (TeXDeeper): layout as layout
7663         (realizeFont): layout as layout
7664
7665         * paragraph.C (writeFile): layout as layout
7666         (validate): layout as layout
7667         (getFont): layout as layout
7668         (getLabelFont): layout as layout
7669         (getLayoutFont): layout as layout
7670         (breakParagraph): layout as layout
7671         (stripLeadingSpaces): layout as layout
7672         (getEndLabel): layout as layout
7673         (getMaxDepthAfter): layout as layout
7674         (applyLayout): layout as layout
7675         (TeXOnePar): layout as layout
7676         (simpleTeXOnePar): layout as layout
7677         (TeXEnvironment): layout as layout
7678         (layout): layout as layout
7679         (layout): layout as layout
7680
7681         * lyxtextclass.C (compare_name): new functor to work with
7682         shared_ptr, layout as layout
7683         (Read): layout as layout
7684         (hasLayout): layout as layout
7685         (operator): layout as layout
7686         (delete_layout): layout as layout
7687         (defaultLayout): layout as layout
7688
7689         * lyxlayout_ptr_fwd.h: new file
7690
7691         * lyxlayout.C (Read): layout as layout
7692
7693         * lyx_cb.C (MenuInsertLabel): layout as layout
7694
7695         * bufferlist.C (newFile): layout as layout
7696
7697         * buffer.C (readLyXformat2): layout as layout
7698         (parseSingleLyXformat2Token): layout as layout
7699         (insertStringAsLines): layout as layout
7700         (asciiParagraph): layout as layout
7701         (latexParagraphs): layout as layout
7702         (makeLinuxDocFile): layout as layout
7703         (simpleLinuxDocOnePar): layout as layout
7704         (makeDocBookFile): layout as layout
7705         (simpleDocBookOnePar): layout as layout
7706         (getLists): layout as layout
7707
7708         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7709
7710         * CutAndPaste.C (cutSelection): layout as layout
7711         (pasteSelection): layout as layout
7712         (SwitchLayoutsBetweenClasses): layout as layout
7713
7714         * BufferView_pimpl.C (Dispatch): layout as layout
7715         (smartQuote): layout as layout
7716
7717         * BufferView2.C (unlockInset): layout as layout
7718
7719 2002-06-24  André Pönitz <poenitz@gmx.net>
7720
7721         * lyxfunc.C: fix #487
7722
7723 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7724
7725         * lyxrc.h:
7726         * lyxrc.C:
7727         * lyxfunc.C: remove display_shortcuts, show_banner
7728
7729 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7730
7731         * Buffer_pimpl.C: oops, update on resize
7732
7733 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7734
7735         * buffer.C:
7736         * converter.C:
7737         * exporter.C:
7738         * lyxfunc.C:
7739         * BufferView.h:
7740         * BufferView.C: use repaint()
7741
7742         * BufferView_pimpl.h:
7743         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7744           as it's a clearer description. Remove superfluous
7745           redraws.
7746
7747 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7748
7749         * text.C: fix bug 488. Not ideal, but getting
7750           getWord() to work properly for the insets that
7751           matter is more difficult ...
7752
7753 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7754
7755         * BufferView_pimpl.C:
7756         * LyXAction.C:
7757         * commandtags.h:
7758         * lyxfunc.C: remove the six million index lyxfuncs to just
7759           one, and DTRT (bug 458)
7760
7761 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7762
7763         * BufferView.h:
7764         * BufferView.C:
7765         * BufferView_pimpl.h:
7766         * BufferView_pimpl.C: clean up resize() stuff,
7767           and unnecessary updateScreen()s
7768
7769 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7770
7771         * BufferView.h:
7772         * BufferView.C:
7773         * BufferView_pimpl.h:
7774         * BufferView_pimpl.C:
7775         * lyxfind.h:
7776         * lyxfind.C:
7777         * minibuffer.C: remove focus management of workarea,
7778           not needed. Use screen's greyOut()
7779
7780 2002-06-17  Herbert Voss  <voss@lyx.org>
7781
7782         * converter.C: (convert) do not post a message, when converting
7783         fails, let the calling function decide what to do in this case
7784
7785 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7786
7787         * lyxfunc.C: tidy up a little
7788
7789 2002-06-16    <alstrup@diku.dk>
7790
7791         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7792         Got rid of FORMS_H_LOCATION include. Now we are
7793         GUII.
7794
7795 2002-06-15  LyX Development team  <lyx@rilke>
7796
7797         * buffer.[Ch] (sgmlOpenTag):
7798         (sgmlCloseTag): Added support for avoiding pernicious mixed
7799         content. Return number of lines written.
7800
7801         (makeLinuxDocFile):
7802         (makeDocBookFile): Fixed calls to sgml*Tag.
7803         Simple white space clean.
7804
7805         (simpleDocBookOnePar): Simple white space clean.
7806
7807         * tabular.[Ch] (docBook): Renamed to docbook and got another
7808         argument to related with the pernicious mixed content.
7809
7810         (docbookRow): Fixed calls for docbook inset method.
7811
7812 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7813
7814         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7815         so it's X11 independent.
7816
7817         * kb*.[Ch]: ditto.
7818
7819         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7820
7821 2002-06-15  Lyx Development team  <lyx@electronia>
7822
7823         * intl.h: Renamed getTrans to getTransManager.
7824
7825 2002-06-14  Angus Leeming  <leeming@lyx.org>
7826
7827         * Makefile.am: nuke forgotten stl_string_fwd.h.
7828
7829 2002-06-12  Angus Leeming  <leeming@lyx.org>
7830
7831         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7832
7833 2002-06-13  Angus Leeming  <leeming@lyx.org>
7834
7835         * LaTeX.C:
7836         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7837
7838 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7839
7840         * kbmap.C (getiso): add support for cyrillic and greek
7841
7842 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7843
7844         * BufferView.h:
7845         * BufferView.C:
7846         * BufferView_pimpl.h:
7847         * BufferView_pimpl.C: move bogus scrolling logic
7848           to xforms
7849
7850 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7851
7852         * lyxfunc.C:
7853         * BufferView_pimpl.C: view->resize() change
7854
7855 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7856
7857         * BufferView_pimpl.C: topCursorVisible
7858           prototype change
7859
7860 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7861
7862         * Makefile.am:
7863         * lyx_gui.h:
7864         * lyx_gui.C: move to frontends/
7865
7866         * main.C:
7867         * lyx_main.h:
7868         * lyx_main.C: changes from above
7869
7870 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7871
7872         * intl.C:
7873         * intl.h:
7874         * kbmap.C:
7875         * kbsequence.C:
7876         * lyx_cb.C:
7877         * lyx_main.C: minor tidy
7878
7879 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7880
7881         * BufferView_pimpl.h:
7882         * BufferView_pimpl.C:
7883         * BufferView.h:
7884         * BufferView.C: make painter() const,
7885           remove dead code
7886
7887         * BufferView2.C: use screen() accessor
7888
7889         * lyx_main.h:
7890         * lyx_main.C: some minor cleanup
7891
7892 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7893
7894         * BufferView_pimpl.h:
7895         * BufferView_pimpl.C: remove enter/leaveView,
7896           use workHeight()
7897
7898 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7899
7900         * BufferView.h:
7901         * BufferView.C:
7902         * BufferView2.C:
7903         * BufferView_pimpl.h:
7904         * BufferView_pimpl.C: only construct screen once,
7905           rename
7906
7907         * lyxrc.C: remove pointless comment
7908
7909 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7910
7911         * BufferView.h:
7912         * BufferView.C: remove active() and belowMouse()
7913
7914         * BufferView_pimpl.h:
7915         * BufferView_pimpl.C: use workarea() not workarea_,
7916           and make it use a scoped_ptr instead
7917
7918 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7919
7920         * lyx_gui.C: add debug message on BadWindow
7921
7922 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7923
7924         * sp_spell.C: fdopen is not part of the C++ standard.
7925
7926         * paragraph.C (InsetIterator): use >= instead of ==
7927
7928 2002-06-07  Angus Leeming  <leeming@lyx.org>
7929
7930         Fixes needed to compile with Compaq cxx 6.5.
7931         * BufferView_pimpl.C:
7932         * DepTable.C:
7933         * buffer.C:
7934         * converter.C:
7935         * encoding.C:
7936         * lyx_gui.C:
7937         * lyx_main.C:
7938         * lyxtextclasslist.C:
7939         * minibuffer.C:
7940         * sp_spell.C:
7941         * tabular_funcs.C:
7942         * vc-backend.C:
7943         all c-library variables have been moved into namespace std. Wrap
7944         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7945
7946         * lyxlength.C:
7947         * tabular-old.C:
7948         * tabular.C:
7949         Add a using std::abs declaration.
7950
7951         * kbmap.h (modifier_pair):
7952         * paragraph.h (InsetTable, InsetList):
7953         * lyxfont.h (FontBits):
7954         type definition made public.
7955
7956         * bufferlist.C (emergencyWriteAll): the compiler complains that
7957         there is more than one possible lyx::class_fun template to choose from.
7958         I re-named the void specialisation as lyx::void_class_fun.
7959
7960         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7961
7962         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7963         the compiler is is unable to find tostr in write_attribute.
7964
7965 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7966
7967         * buffer.C (sgmlError): hide #warning
7968
7969 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7970
7971         * xtl/*: get rid of xtl, which is not in use anyway
7972
7973         * LyXAction.C (init):
7974         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7975         were unimplemented xtl experimentation
7976
7977 2002-06-04  André Pönitz <poenitz@gmx.net>
7978
7979         * lyxfunc.C: disable array operation on simple formulae
7980
7981 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7982
7983         * converter.C: constify a bit
7984
7985 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7986
7987         * lyx_gui.C: check xforms version correctly
7988
7989 2002-04-30  Herbert Voss  <voss@lyx.org>
7990
7991         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7992         "keep" option
7993
7994 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7997           attempt to register it with a VCS)
7998
7999 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8000
8001         * lyx_main.C (init): honor variables LYX_DIR_13x and
8002         LYX_USERDIR_13x
8003
8004 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * buffer.h:
8007         * buffer.C:
8008         * lyx_main.C: fix a crash on bad command line,
8009           and give a useful exit status on error
8010
8011         * lyxfunc.C (doImport): allow -i lyx to work
8012
8013 2002-03-30  André Pönitz <poenitz@gmx.net>
8014
8015         * lyxfunc.C: mathed font changes
8016
8017 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8018
8019         * LaTeX.C:
8020         * importer.h:
8021         * importer.C:
8022         * lyx_sty.h:
8023         * lyx_sty.C:
8024         * lyxlex.C:
8025         * lyxrow.h:
8026         * lyxtext.h:
8027         * paragraph.h:
8028         * paragraph.C:
8029         * texrow.h:
8030         * texrow.C:
8031         * text.C:
8032         * trans_mgr.h: srcdocs, and some minor cleanups
8033
8034 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8035
8036         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8037         call getFont all the time)
8038
8039 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8040
8041         * switch from SigC signals to boost::signals
8042
8043 2002-05-29  André Pönitz <poenitz@gmx.net>
8044
8045         * paragraph_pimpl.C (getChar): don't call size() too often...
8046
8047 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8048
8049         * paragraph_pimpl.C (insertChar): do not try to update tables when
8050         appending (pos == size())
8051
8052         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8053         in order to reduce drastically the number of comparisons needed to
8054         parse a large document
8055
8056 2002-05-29  André Pönitz <poenitz@gmx.net>
8057
8058         * text.C:
8059         * text2.C:
8060         * lyxtextclass.C:
8061         * sp_pspell.h:
8062         * textclasslist.[Ch]:
8063         * sp_ispell.h: whitespace change
8064
8065 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8066
8067         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8068         lyxaction directly now.
8069
8070 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8071
8072         * trans.C:
8073         * lyxfont.C:
8074         * lyxvc.C: remove unused headers
8075
8076 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8077
8078         * Makefile.am:
8079         * buffer.h:
8080         * undostack.h:
8081         * undostack.C:
8082         * undo_funcs.h:
8083         * undo_funcs.C: some cleanups. Use shared_ptr
8084           and a template for the undo stacks.
8085
8086 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * BufferView_pimpl.h:
8089         * BufferView_pimpl.C:
8090         * kbmap.h:
8091         * kbmap.C:
8092         * kbsequence.h:
8093         * kbsequence.C:
8094         * lyxfunc.h:
8095         * lyxfunc.C:
8096         * text2.C: use key_state/mouse_state
8097
8098 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8099
8100         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8101         and LSubstring
8102
8103         * chset.C: change include order
8104         (loadFile): use boost regex and get rid of LRegex and LSubstring
8105
8106         * Makefile.am (BOOST_LIBS): new variable
8107         (lyx_LDADD): use it
8108
8109         * LaTeX.C: change include order.
8110         (scanAuxFile): use boost regex and get rid of LRegex and
8111         LSubstring
8112         (deplog): ditto
8113
8114 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8115
8116         * ColorHandler.h:
8117         * ColorHandler.C:
8118         * FontInfo.h:
8119         * FontInfo.C: moved to frontends/xforms/
8120
8121         * FontLoader.h:
8122         * FontLoader.C: moved into frontends for GUIIzation
8123
8124         * Makefile.am:
8125         * lyx_gui.C:
8126         * lyxfont.C:
8127         * lyxfunc.C: changes from above
8128
8129 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8130
8131         * LColor.C: remove spurious X include
8132
8133         * BufferView_pimpl.C:
8134         * Makefile.am:
8135         * font.h:
8136         * font.C:
8137         * text.C:
8138         * text2.C: move font metrics to frontends/
8139
8140 2002-05-24  Juergen Vigna  <jug@sad.it>
8141
8142         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8143         setting the undo_cursor.
8144
8145         * ParagraphParameters.h: include local includes first.
8146
8147 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8148
8149         * BufferView_pimpl.C:
8150         * BufferView_pimpl.h:
8151         * Makefile.am:
8152         * WorkArea.h:
8153         * WorkArea.C:
8154         * screen.C: move WorkArea into frontends/
8155
8156         * lyxscreen.h:
8157         * screen.C:
8158         * text.C:
8159         * BufferView.C:
8160         * BufferView2.C: move LyXScreen into frontends/
8161
8162         * lyxlookup.h:
8163         * lyxlookup.C:
8164         * lyx_gui.C: move lyxlookup into frontends/xforms/
8165
8166 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8167
8168         * BufferView2.C:
8169         * BufferView_pimpl.C:
8170         * FontLoader.C:
8171         * LyXView.h:
8172         * LyXView.C:
8173         * Makefile.am:
8174         * WorkArea.C:
8175         * XFormsView.h:
8176         * XFormsView.C:
8177         * buffer.C:
8178         * bufferlist.C:
8179         * bufferview_funcs.C:
8180         * converter.C:
8181         * importer.C:
8182         * lyx_cb.C:
8183         * lyx_gui.C:
8184         * lyx_main.C:
8185         * lyx_find.C:
8186         * lyxfunc.C:
8187         * lyxvc.C:
8188         * minibuffer.C:
8189         * text.C:
8190         * text2.C:
8191         * trans.C:
8192         * vc-backend.C: move LyX/XFormsView into frontends/
8193
8194 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8195
8196         * Makefile.am:
8197         * PainterBase.C:
8198         * PainterBase.h:
8199         * Painter.C:
8200         * Painter.h:
8201         * WorkArea.C:
8202         * WorkArea.h:
8203         * screen.C:
8204         * tabular.C:
8205         * text.C:
8206         * text2.C: move Painter to frontends/
8207
8208 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8209
8210         * buffer.C: comment out some some code that depend upon lyx_format
8211         < 220
8212
8213         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8214         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8215
8216         * buffer.h (NO_COMPABILITY): turn off compability
8217
8218         * ColorHandler.C: include scoped_array.hpp
8219
8220         * font.C: Use more specific smart_ptr header.
8221         * Painter.C: ditto
8222         * gettext.C: ditto
8223         * ShareContainer.h: ditto
8224         * lyx_main.h: ditto
8225         * kbmap.h: ditto
8226         * FontInfo.h: ditto
8227         * BufferView_pimpl.h: ditto
8228         * ColorHandler.h: ditto
8229
8230         * kbmap.C (defkey): change call to shared_ptr::reset
8231
8232 2002-05-21  Juergen Vigna  <jug@sad.it>
8233
8234         * buffer.C (insertErtContents): fix to insert ert asis if it is
8235         non empty. Skip it completely if it contains only whitespaces.
8236
8237 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8238
8239         * BufferView_pimpl.C:
8240         * BufferView2.C: clear selection on paste (bug 393)
8241
8242 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8243
8244         * DepTable.C: include ctime
8245
8246 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8247
8248         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8249
8250 2002-05-14  Juergen Vigna  <jug@sad.it>
8251
8252         * text.C (breakParagraph): fixed function to honor the keepempty
8253         layout in the right maner and also to permit the right breaking
8254         algorithm on empty or non empyt keepempty paragraphs.
8255
8256         * paragraph.C (breakParagraph): we have to check also if the par
8257         is really empty (!size()) for isempty otherwise we do the wrong
8258         paragraph break.
8259
8260 2002-05-10  Juergen Vigna  <jug@sad.it>
8261
8262         * buffer.[Ch] : The following are only changes to the ert
8263         compatibility read reading old LaTeX layout and font stuff and
8264         convert it to ERTInsets.
8265
8266         * buffer.h: added isErtInset().
8267
8268         * buffer.C (struct ErtComp): add a fromlayout bool to check
8269         if we're inside a LaTeX layout.
8270         (isErtInset): new helper function.
8271         (insertErtContents): look for other ert insets before this one
8272         and insert the contents there, so that we don't have subsequent
8273         ERT insets with nothing between them. This way we create only one
8274         inset with multiple paragraphs. Also check if we don't insert only
8275         spaces ' ' as they are ignored anyway afterwards in the .tex file
8276         so if we have only spaces we will ignore this latex part in the
8277         new file.
8278         (parseSingleLyXformat2Token \\layout): better compatibility when
8279         reading layout-latex stuff.
8280         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8281         language tag.
8282         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8283         stuff after reading the inset only get the information back from
8284         the stack.
8285
8286 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8287
8288         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8289
8290         * LaTeXFeatures.C (getBabelOptions): New method.
8291
8292 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8293
8294         * BufferView_pimpl.C (Dispatch): work around missing argument for
8295         'layout'
8296
8297 2002-05-08  Juergen Vigna  <jug@sad.it>
8298
8299         * text.C (leftMargin): handle paragraph leftindent.
8300
8301         * paragraph.C (writeFile): write the new \\leftindent tag.
8302         (validate): handle leftindent code.
8303         (TeXEnvironment): handle paragraphleftindent code again.
8304
8305         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8306
8307         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8308         for paragrap_extra indent code and new token \\leftindent.
8309         (latexParagraphs): handle the leftindent as environment.
8310
8311         * ParameterStruct.h: added leftindent support.
8312
8313         * ParagraphParameters.C (leftIndent): added support functions for
8314         the paragraph left indent.
8315
8316         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8317         more appropriate.
8318
8319 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8320
8321         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8322         inside insetERT.
8323
8324         * text.C (computeBidiTables): No bidi in insetERT.
8325
8326         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8327         in RTL documents.
8328
8329 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8330
8331         * version.C.in: pre 5
8332
8333 2002-05-02  José Matos  <jamatos@fep.up.pt>
8334         * buffer.C (makeDocBookFile): white space changes, add newline to
8335         command styles.
8336         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8337
8338         * tabular.C (docBook): fix typo.
8339
8340 2002-05-03  Juergen Vigna  <jug@sad.it>
8341
8342         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8343         change in LyXText as we can not be sure it was not freed.
8344         (drawOneRow): remove unused code.
8345
8346         * text.C (drawInset): redo the calculation of the need_break_row as
8347         it could have a row which was already freed.
8348         (draw): look at the return value of drawInset and return false if
8349         it also returned false.
8350         (paintRowText): look at the return value of draw and return false if
8351         it also returned false.
8352
8353         * lyxtext.h: added bool return type to drawInset() and draw() so that
8354         if we have a change in the row so that the rowbreak has to be redone
8355         we abort drawing as it will be called again.
8356
8357 2002-05-02  Juergen Vigna  <jug@sad.it>
8358
8359         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8360         a change in the maintext also if we're inside an inset.
8361         (Dispatch): set the cursor again after a break line and after the
8362         screen has been updated as it could be we're in a different row.
8363
8364         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8365         to set the cursor behind the pargraph with > size().
8366         (setCursor): check also for the same paragraph when checking where
8367         to put the cursor if we have a NFR inset.
8368
8369         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8370         parts of layout read further up as it still was in the wrong
8371         position.
8372
8373 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8374
8375         * screen.C (drawFromTo): change sine fullRebreak always return
8376         true.
8377
8378         * buffer.C (parseSingleLyXformat2Token): reindent some
8379
8380         * BufferView_pimpl.C (update): change since fullRebreak always
8381         return true.
8382         (Dispatch): git rid of the last hardcoded "Standard"s.
8383
8384 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8385
8386         * text2.[Ch] (fullRebreak): make it return void now that we always
8387         returned true.
8388
8389 2002-04-30  Juergen Vigna  <jug@sad.it>
8390
8391         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8392         ert compatibility check for "latex" layout.
8393
8394 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8395
8396         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8397         minipages: use col% instead of p%, and also use the current font.
8398         (makeLaTeXFile): Fix use babel condition.
8399         (parseSingleLyXformat2Token): Correct font when reading old floats.
8400
8401 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8402
8403         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8404         inserting list of floats.
8405
8406 2002-04-25  Herbert Voss  <voss@lyx.org>
8407
8408         * MenuBackend.C (expand): don't add the graphics extensions to the
8409         export menu
8410
8411 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8412
8413         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8414         non-existing layout, do not complain if it was the default layout
8415         of the original class (bug #342)
8416
8417 2002-04-24  Juergen Vigna  <jug@sad.it>
8418
8419         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8420         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8421
8422 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8423
8424         * buffer.C (getBibkeyList): If using \bibliography, return the
8425         option field with the reference itself. Enables us to provide natbib
8426         support when using \bibliography.
8427
8428 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8429
8430         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8431
8432         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8433         natbib is provided by the LaTeX class.
8434
8435 2002-04-23  Juergen Vigna  <jug@sad.it>
8436
8437         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8438         Wakeup functions.
8439
8440         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8441
8442 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8443
8444         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8445
8446         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8447         ensuremath around textordmasculine, textordfeminine and
8448         textdegree.
8449
8450 2002-04-19  Juergen Vigna  <jug@sad.it>
8451
8452         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8453         reinitializing the buffer otherwise row-dimensions may be wrong.
8454         (update): reset also the selection cursors if they do exits otherwise
8455         their x/y positions may be wrong.
8456
8457         * text2.C (cursorDown): don't enter the inset if we came from a row
8458         above and are one row over the inset.
8459
8460         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8461         really leaving an inset.
8462
8463 2002-04-18  Juergen Vigna  <jug@sad.it>
8464
8465         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8466         of the selected paragraph does not have the selected layout also if
8467         the last one had!
8468
8469         * text2.C (setLayout): fixed bug which did not change last selected
8470         paragraph.
8471
8472         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8473         changed the read and substituted \\end_float with \\end_inset!
8474
8475         * BufferView_pimpl.C (cursorPrevious):
8476         (cursorNext): fixed to make it work with rows heigher than the work
8477         area without moving the cursor only the draw of the row.
8478         (workAreaMotionNotify): fix jumping over high rows.
8479
8480 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8481
8482         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8483         Ressler.
8484
8485 2002-04-16  Juergen Vigna  <jug@sad.it>
8486
8487         * text2.C (setCursor): set also the irow().
8488         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8489         (cursorUp):
8490         (cursorDown): support for locking an inset if the x_fix value goes
8491         inside it. That way I can transverse insets too with cursor up/down.
8492
8493         * lyxrow.h: added irow helper function same as other (i) functions.
8494
8495         * BufferView_pimpl.C (cursorPrevious):
8496         (cursorNext): fixed for insets!
8497
8498 2002-04-15  Juergen Vigna  <jug@sad.it>
8499
8500         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8501         position otherwise it is wrong in some cases.
8502
8503         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8504         inside the inset before the call.
8505
8506 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8507
8508         * buffer.[Ch] (getBibkeyList): make it const.
8509
8510 2002-04-12  Juergen Vigna  <jug@sad.it>
8511
8512         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8513
8514         * text2.C (getCursorX): new helper function
8515         (setCursor): compute also ix_
8516         (setCursorFromCoordinates): set also ix.
8517
8518         * lyxcursor.h: added ix_ and helper functions.
8519
8520         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8521
8522         * buffer.C (insertStringAsLines): dont break paragraph if the this
8523         paragraph is inside an inset which does not permit it!
8524
8525         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8526         also with no chars on this paragraph.
8527         (paintRowText): only paint stuff if it's inside the workarea!
8528
8529         * paragraph.C (breakParagraph): honor keepempty flag and break the
8530         paragraph always below not above.
8531
8532         * BufferView2.C (unlockInset): update the paragraph layout on inset
8533         unlock as we changed paragraph in such a case.
8534
8535         * lyxfind.C (LyXFind): clear the former selection if not found!
8536
8537         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8538         again called in insertChar().
8539
8540         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8541         an inset which uses the whole row!
8542         (rightMargin): ditto.
8543         (insertChar): force a rebreak if we inserted an inset!
8544
8545 2002-03-28  Herbert Voss  <voss@lyx.org>
8546
8547         * lyxlength.[Ch]: add inBP() to get the right PS-point
8548         units (BigPoint). With inPixels we have rounding errors
8549
8550 2002-04-11  Juergen Vigna  <jug@sad.it>
8551
8552         * text2.C (setCursorFromCoordinates): set iy to the right value.
8553         (setCursor): add check if row->previous exists!
8554
8555         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8556         an old float_type as this was the case in the old code!
8557
8558         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8559
8560         * BufferView2.C (showLockedInsetCursor): use iy
8561         (fitLockedInsetCursor): ditto
8562
8563         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8564         locked insets as there we have the right value now.
8565
8566         * lyxcursor.C: added iy_ variable and iy functions to set to the
8567         baseline of cursor-y of the locked inset.
8568
8569         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8570         (setCursor): fixed for insets which need a full row.
8571
8572         * text.C (rowLastPrintable): don't ignore the last space when before
8573         an inset which needs a full row.
8574         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8575         as last character of a row when before a inset which needs a full row.
8576
8577 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8578
8579         * version.C.in: update date
8580
8581         * text2.C (fullRebreak): try to always return true and see what
8582         happens...
8583
8584 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8585
8586         * MenuBackend.C (expand): use Floating::listName
8587
8588         * FloatList.C (FloatList): add listName argument to the built-in
8589         floats
8590
8591         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8592         text associated with the float.
8593
8594 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8595
8596         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8597
8598 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8599
8600         * ShareContainer.h: add a couple of missing typenames.
8601
8602 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8603
8604         * lyxrc.C (getDescription): use _() correctly rather than N_().
8605
8606 2002-03-28  Herbert Voss  <voss@lyx.org>
8607
8608         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8609         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8610
8611 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8612
8613         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8614         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8615
8616 2002-03-29  Juergen Vigna  <jug@sad.it>
8617
8618         * lyxfunc.C (dispatch): add a missing fitCursor call.
8619
8620         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8621         it was scrolled by a cursor move, so return the bool status.
8622
8623         * BufferView.C (fitCursor): return the bool flag also to the outside
8624         world as this is needed.
8625
8626         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8627
8628         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8629         call the edit() as it is not needed (and wrong) IMO.
8630         (workAreaButtonPress): set the screen_first variable before evt.
8631         unlock the inset as this may change screen_first and then we have
8632         a wrong y position for the click!
8633
8634 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8635
8636         * MenuBackend.C (expand): another translation that I missed
8637
8638 2002-03-28  Juergen Vigna  <jug@sad.it>
8639
8640         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8641
8642         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8643
8644 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8645
8646         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8647
8648         * MenuBackend.C (expand): fix export/view/update when there is no
8649         document open.
8650
8651 2002-03-27  Herbert Voss  <voss@lyx.org>
8652
8653         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8654         and text%
8655
8656 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8657
8658         * bufferview_funcs.C (currentState): only show paragraph number
8659         for is DEVEL_VERSION is set.
8660
8661         * lyxfunc.C (dispatch): put warning in INFO channel
8662
8663         * MenuBackend.C (expand): translate the name of floats
8664
8665         * FloatList.C (FloatList): mark the float names for translation
8666
8667         * converter.C (convert): use LibScriptSearch
8668
8669 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8670
8671         * MenuBackend.C (defaults): fix default menu (we might as well get
8672         rid of it...)
8673
8674 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8675
8676         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8677         directory.
8678
8679 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8680
8681         * lyxvc.C: reorder includes.
8682
8683 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8684
8685         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8686           properly
8687
8688 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8689
8690         * CutAndPaste.C: change layouts earlier on paste
8691           to avoid crashing when calling getFont()
8692
8693 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8694
8695         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8696         irritating #error.
8697
8698 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8699
8700         * WorkArea.C: remove 'Pending' debug message.
8701
8702         * most files: ws cleanup
8703
8704         * buffer.[Ch]: ws changes
8705
8706         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8707
8708 2002-03-21  Juergen Vigna  <jug@sad.it>
8709
8710         * tabular.C (SetMultiColumn): collapse also the contents of the
8711         cells and set the last border right. Added a Buffer const * param.
8712
8713 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8714
8715         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8716         linking or not.
8717
8718 2002-03-19  Juergen Vigna  <jug@sad.it>
8719
8720         * text2.C (clearSelection): reset also xsel_cache.
8721
8722         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8723         where it needs to be called (John tells us to do so too :)
8724         (selectionLost): reset sel_cache.
8725
8726         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8727
8728 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8729
8730         * text2.C (setCursorIntern): put debuging code in INSETS channel
8731
8732 2002-03-19  André Pönitz <poenitz@gmx.net>
8733
8734         * lyxfunc.C: tiny whitespace change
8735
8736 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8737
8738         * ToolbarDefaults.C (init):
8739         * LyXAction.C (init):
8740         * commandtags.h:
8741         * BufferView_pimpl.C (Dispatch):
8742         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8743
8744 2002-03-19  Allan Rae  <rae@lyx.org>
8745
8746         * exporter.C (Export): removeAutoInsets before doing anything else.
8747         While I've just introduced a dependency on BufferView this really is
8748         the best place to clean the buffer otherwise you need to cleanup in
8749         a dozen places before calling export or cleanup in a dozen functions
8750         that export calls.
8751
8752         * converter.C (runLaTeX):
8753         (scanLog): Better handling of removeAutoInsets and screen updates.
8754
8755         * lyxfunc.C (dispatch): small whitespace changes
8756
8757 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8758
8759         * WorkArea.C (C_WorkAreaEvent): return a value.
8760         (event_cb): return 1 if we handled the event, 0 otherwise.
8761
8762         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8763
8764 2002-03-18  Juergen Vigna  <jug@sad.it>
8765
8766         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8767         (GetAdditionalWidth): ditto.
8768         (RightLine): ditto.
8769         (LeftLine): ditto.
8770
8771         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8772         inset if we're there actually (probably not used right now but this
8773         is the direction to go for unifying code).
8774         (paste): disable code to clear the selection.
8775
8776         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8777         inside an InsetText and move the check further up as it is in the
8778         wrong place.
8779
8780         * text2.C (pasteSelection): set a selection over the pasted text.
8781
8782 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8783
8784         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8785         and libgraphics to build on Cygwin.
8786
8787 2002-03-15  Juergen Vigna  <jug@sad.it>
8788
8789         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8790         inserting an Inset into the paragraph. I know this is not the best
8791         fix but we already use current_view in CutAndPaste so we will remove
8792         all of it's using at the same time.
8793
8794         * buffer.C (sgmlError): deactivated function till it is rewritten in
8795         the right mode, now it can create problems.
8796
8797         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8798         before accessing it.
8799
8800 2002-03-14  Juergen Vigna  <jug@sad.it>
8801
8802         * undo_funcs.C (textHandleUndo): do the right thing when updating
8803         the inset after the undo/redo.
8804
8805         * text2.C (setCursor): just some testcode for #44 not ready yet.
8806
8807         * undo_funcs.C (textHandleUndo): set the next() and previous()
8808         pointers of the paragraph to 0 before deleting otherwise we have
8809         problems with the Paragraph::[destructor].
8810
8811         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8812         on a paragraph insertion.
8813
8814 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8815
8816         * buffer.C (asciiParagraph): use += operator for char append to
8817         string.
8818
8819         * paragraph.C (getFontSettings): compare >= not just >
8820         (highestFontInRange): ditto
8821         (setFont): ditto
8822
8823 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8824
8825         * paragraph.C: change several algorithm to be more appripriate for
8826         the problem domain. This is lookip in FontList and in the InsetList.
8827
8828 2002-03-13  André Pönitz <poenitz@gmx.net>
8829
8830         * commandtags.h:
8831         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8832
8833 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8834
8835         * commandtags.h:
8836         * LyXAction.C:
8837         * lyxfunc.C:
8838         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8839
8840 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8841
8842         * Painter.C (display): anon helper function, adjust code for this
8843         change.
8844         (pixmap): remove function.
8845
8846         * Painter.h: remove private display variable.
8847
8848         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8849
8850 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8851
8852         * WorkArea.[Ch]: remove figinset_canvas cruft.
8853
8854 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8855
8856         * lyxtextclass.C (operator): add one item cache optimization.
8857
8858         * bufferlist.h: doxy changes
8859
8860         * bufferlist.C: ws changes
8861
8862         * DepTable.[Ch] (ext_exist): place const in the right spot.
8863
8864         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8865         call resizeInsets.
8866         (workAreaExpose): call resizeInsets when the with BufferView changes.
8867         (Dispatch): adjust for protectedBlank removal
8868         (specialChar): call updateInset if the insert went ok.
8869
8870         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8871         specialChar instead.
8872
8873         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8874
8875         * BufferView.h: doxy change
8876
8877         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8878
8879         * lyxtextclass.C (operator[]): remove non-const version
8880         (defaultLayout): remove non-const version
8881
8882 2002-03-12  Juergen Vigna  <jug@sad.it>
8883
8884         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8885         did resize the LyXText too.
8886
8887         * buffer.C (readLyXformat2): set layout information on newly allocated
8888         paragraphs.
8889
8890         * tabular.C (OldFormatRead): set layout information on the paragraph.
8891
8892 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8893
8894         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8895
8896 2002-03-11  Juergen Vigna  <jug@sad.it>
8897
8898         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8899         plainly wrong.
8900         (resizeCurrentBuffer): force also the insets to resize themselfes.
8901         (moveCursorUpdate): fixed up for InsetText.
8902
8903 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8904
8905         * commandtags.h:
8906         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8907         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8908         value of Dialogs::tooltipsEnabled().
8909         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8910
8911 2002-03-08  Juergen Vigna  <jug@sad.it>
8912
8913         * BufferView_pimpl.C (updateInset): update inset inside inset also
8914         if it isn't inside theLockingInset().
8915
8916 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8917
8918         * buffer.C (asciiParagraph): redo some of the word and line length
8919         handling.
8920         (getLists): look for Caption instead of caption.
8921
8922 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8923
8924         * buffer.C (Buffer): initialize niceFile to true
8925         (makeLaTeXFile):
8926         (makeLinuxDocFile):
8927         (makeDocBookFile): make sure niceFile is true on exit
8928
8929 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8932
8933 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8934
8935         * LyXSendto.C: remove.
8936         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8937         * lyx_gui.C: remove now-redundant comment.
8938         * ColorHandler.h: remove forward declaration of class WorkArea.
8939         * lyxfunc.C: remove #include "WorkArea.h".
8940
8941 2002-03-07  Juergen Vigna  <jug@sad.it>
8942
8943         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8944         got moved away with the DEPM and also set the inset_owner always
8945         right which before could have been omitted.
8946
8947 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8948
8949         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8950         wanted layout is not found.
8951
8952 2002-03-07  Juergen Vigna  <jug@sad.it>
8953
8954         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8955
8956 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8957
8958         * paragraph.C (breakParagraph): use default layout not layout of
8959         prev paragraph.
8960         (Paragraph): clear ParagraphParameters.
8961
8962 2002-03-06  Juergen Vigna  <jug@sad.it>
8963
8964         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8965         otherwise it would not be a valid lenght. Fixed a special case in
8966         the minipage compatibility read where we end the document with a
8967         minipage.
8968
8969         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8970         was set as it could be 0 for InsetTexts first entry.
8971
8972 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8973
8974         * paragraph.C (writeFile): if layout is empty write out
8975         defaultLayoutName().
8976
8977         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8978         file without named layout we set layout to defaultLayoutName().
8979
8980 2002-03-06  Juergen Vigna  <jug@sad.it>
8981
8982         * CutAndPaste.C (copySelection): set layout for new paragraph.
8983
8984         * text.C (prepareToPrint): leave ERT inset left aligned
8985         (leftMargin): don't indent paragraphs inside ERT insets
8986
8987 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8988
8989         * paragraph.C (breakParagraph): dont call clear do the work manually
8990
8991         * paragraph.[Ch] (clear): remove function
8992
8993 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8994
8995         * paragraph.C (Paragraph): dont call clear, the work has already
8996         been done.
8997
8998         * lyxtextclass.C (operator): assert if n is empty
8999
9000         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9001         work manually instead.
9002
9003 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9004
9005         * BufferView_pimpl.C: protect selectionLost against text == 0
9006
9007 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9008
9009         * text.C (breakParagraph): fix a setting layout to '0' problem.
9010
9011 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9012
9013         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9014         final location of file, for the included files, and graphics.
9015
9016 2002-03-05  Juergen Vigna  <jug@sad.it>
9017
9018         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9019
9020 2002-03-04  Juergen Vigna  <jug@sad.it>
9021
9022         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9023
9024         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9025         last column of multicolumn cells.
9026         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9027
9028 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9029
9030         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9031         file if it doesn't go to a temporary file.
9032
9033         * buffer.C (sgmlOpenTag):
9034         (sgmlCloseTag):  remove extra newline insertion.
9035
9036 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9037
9038         * text.C (getRowNearY): comment out debug msg
9039
9040 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9041
9042         * text2.C: first -> first_y
9043
9044         * text.C (getRowNearY): add some attemts at a possible
9045         optimization, not working.
9046
9047         * tabular.[Ch]: add BufferParams to several function so that newly
9048         created paragraph can be initialized to he default layotu for the
9049         buffers textclass.
9050
9051         * tabular-old.C (ReadOld): add buf->params to call of Init
9052
9053         * screen.C: rename text->first to text->first_y
9054
9055         * paragraph.C (breakParagraph): always set layout in the broken
9056         paragraph
9057
9058         * lyxtextclass.C (Read): remove lowercase
9059         (hasLayout): ditto
9060         (operator): ditto
9061         (delete_layout): ditto
9062
9063         * lyxtext.h: rename first -> first_y
9064
9065         * lyxlayout.C (Read): remove lowercase
9066         (name): ditto
9067         (setName): ditto
9068         (obsoleted_by): ditto
9069
9070         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9071
9072         * buffer.C (insertErtContents): add params are to InsetERT
9073         (parseSingleLyXformat2Token): add code to check if a paragraphs
9074         layout really exist.
9075         (parseSingleLyXformat2Token): add params to several inset
9076         constructors
9077         (asciiParagraph): remove lowercase, do the layout comparisons with
9078         no_case
9079
9080         * BufferView_pimpl.C (cursorNext): first -> first_y
9081         (resizeCurrentBuffer): first -> first_y
9082         (updateScrollbar): first -> first_y
9083         (scrollCB): first -> first_y
9084         (workAreaMotionNotify): first -> first_y
9085         (workAreaButtonPress): first -> first_y
9086         (checkInsetHit): first -> first_y
9087         (cursorPrevious): first -> first_y
9088         (cursorNext): first -> first_y
9089         (Dispatch): add buffer_->params to severl inset contructors
9090
9091 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9092
9093         * lyxlayout.C (Read): remove some debug info that I forgot.
9094
9095         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9096         clean up the code slightly.
9097         (makeLinuxDocFile): ditto
9098         (makeDocBookFile): ditto
9099
9100         * text2.C: layout as string
9101
9102         * text.C: layout as string
9103
9104         * paragraph_pimpl.C: layout as string
9105
9106         * paragraph.[Ch]: layout as string
9107
9108         * lyxtextclasslist.[Ch]: layout as string
9109
9110         * lyxtextclass.[Ch]: layout as string
9111
9112         * lyxtext.h: layout as string
9113
9114         * lyxlayout.[Ch]: layout as string
9115
9116         * lyx_cb.C: layout as string
9117
9118         * bufferview_funcs.C: layout as string
9119
9120         * bufferparams.C: layout as string
9121
9122         * buffer.C: layout as string
9123
9124         * LyXView.[Ch]: layout as string
9125
9126         * LaTeXFeatures.[Ch]: layout as string
9127
9128         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9129
9130         * BufferView_pimpl.C: change current_layout to string, remove
9131         lyx::layout_type.
9132         (Dispatch):
9133         (smartQuote):
9134         (insertInset):
9135         (workAreaButtonRelease): layout as string
9136
9137         * BufferView2.C (unlockInset): adjust
9138
9139         * vspace.C (asLatexCommand): use an explict temp variable.
9140
9141 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9142
9143         * Makefile.am: use FRONTEND_*
9144
9145 2002-03-01  Juergen Vigna  <jug@sad.it>
9146
9147         * tabular.C (SetWidthOfMulticolCell): changed to something better
9148         I hope but still work in progress.
9149         (recalculateMulticolumnsOfColumn): renamed function from
9150         recalculateMulticolCells as it is more appropriate now.
9151         (SetWidthOfCell): calculate multicols better.
9152
9153 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9154
9155         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9156
9157         * lyxfunc.C (processKeySym): print sequence also if it is
9158         `deleted' (complete)
9159
9160         * kbsequence.C (print): print sequence even if it is deleted
9161         (complete would be a better word, actually).
9162
9163         * lyxfunc.C (dispatch): print complete options after a prefix key
9164
9165         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9166
9167 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9168
9169         * text2.C (setCharFont): eliminate setCharFont code duplication.
9170
9171 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9172
9173         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9174         LFUN_TABULAR_FEATURE (bug #177)
9175
9176 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9177
9178         * Makefile.am: remove figure.h
9179
9180 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9181
9182         * Bufferview_pimpl.C:
9183         * CutAndPasteC:
9184         * LaTeX.C:
9185         * LyXSendto.C:
9186         * buffer.C:
9187         * bufferlist.C:
9188         * converter.C:
9189         * language.C:
9190         * lyxfunc.C:
9191         * lyxvc.C:
9192         * paragraph.C:
9193         * text.C:
9194         * text2.C: remove #include "lyx_gui_misc.h".
9195
9196         * LaTeX.C: added #include <cstdio>
9197
9198 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9199
9200         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9201         that the paragraph following this one can have.
9202
9203         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9204
9205         * vspace.C (asLatexCommand): fix bogus gcc warning
9206
9207         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9208
9209 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9210
9211         * text2.C (setLayout): get rid of redundant code
9212
9213 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9214
9215         * text2.C (incDepth): make sure depth cannot be increased beyond
9216         reasonable values.
9217
9218 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9219
9220         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9221         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9222
9223         * PainterBase.h (image):
9224         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9225         a LyXImage const *.
9226
9227 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9228
9229         * BufferView.C:
9230         * BufferView.h:
9231         * BufferView_pimpl.C:
9232         * BufferView_pimpl.h:
9233         * LaTeXFeatures.C:
9234         * LyXAction.C:
9235         * LyXView.C:
9236         * Makefile.am:
9237         * UpdateList.h:
9238         * UpdateList.C:
9239         * buffer.C:
9240         * figure.h:
9241         * figureForm.C:
9242         * figureForm.h:
9243         * figure_form.C:
9244         * figure_form.h:
9245         * lyx_cb.C:
9246         * lyx_gui.C:
9247         * lyx_gui_misc.C:
9248         * lyxfunc.C:
9249         * sp_base.h:
9250         * sp_ispell.h:
9251         * sp_pspell.h:
9252         * sp_spell.C: remove fig inset, and the crap house of
9253           cards that follows it
9254
9255 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9256
9257         * Makefile.am:
9258         * lyxserver.C:
9259         * os2_defines.h:
9260         * os2_errortable.h:
9261         * nt_defines.h: move .h into support/
9262
9263         * vms_defines.h: remove
9264
9265         * WorkArea.C: add space in debug output
9266
9267         * text2.C:
9268         * paragraph.C:
9269         * buffer.C: add WITH_WARNINGS
9270
9271         * vc-backend.h:
9272         * vc-backend.C:
9273         * bufferlist.C: s/retrive/retrieve/, add docs
9274
9275         * vspace.h:
9276         * vspace.C:
9277         * kbmap.h:
9278         * lyxlength.h:
9279         * lyxgluelength.h:
9280         * length_common.h:
9281         * chset.h:
9282         * chset.C: add docs
9283
9284         * lyxgui.C: add ID to X error handler
9285
9286         * lyxtestclass.c: fix typo
9287
9288 2002-02-26  Juergen Vigna  <jug@sad.it>
9289
9290         * tabular_funcs.C (write_attribute): changed so that some default
9291         attributes are not written at all.
9292         (getTokenValue): set default values before trying to read the
9293         value so we have the return value always set as default if we don't
9294         find the token we search for.
9295
9296         * tabular.C (Write): write bools as bools not as strings!
9297
9298 2002-02-22  Juergen Vigna  <jug@sad.it>
9299
9300         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9301         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9302
9303         * text.C (leftMargin): don't add an indent for paragraphs inside
9304         tabular cells (fix #208).
9305
9306 2002-02-21  José Matos  <jamatos@fep.up.pt>
9307
9308         * tabular.C (docBook): fixed support for long tables.
9309
9310 2002-02-20  Juergen Vigna  <jug@sad.it>
9311
9312         * text2.C (getFont): get the drawing font of the Inset if this
9313         paragraph is inside an inset (only important for InsetERT for now).
9314
9315         * buffer.C (insertErtContents): use new lanugage params in ERT
9316         constructor.
9317
9318         * CutAndPaste.C: commenting out seemingly uneeded code.
9319
9320 2002-02-19  Allan Rae  <rae@lyx.org>
9321
9322         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9323         Iterators might be simple to use but they also get invalidated.
9324         (removeAutoInsets): renamed saved cursor tracking variables and added
9325         some comments to clarify what everything does.
9326
9327 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9328
9329         * Chktex.C:
9330         * LaTeX.C:
9331         * LyXSendto.C:
9332         * converter.C:
9333         * lyx_cb.C:
9334         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9335         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9336
9337         * lyxfunc.C:
9338         * vc-backend.h: remove #include "support/syscall.h"
9339
9340         * LaTeX.C:
9341         * LyXSendto.C:
9342         * converter.C: rearrange #includes in Lars' approved fashion.
9343
9344         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9345         forward declare class Timeout in the header file.
9346
9347         * XFormsView.C: changes due to the above.
9348
9349         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9350         similar to LyXView.
9351
9352         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9353         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9354
9355 2002-02-18  José Matos  <jamatos@fep.up.pt>
9356
9357         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9358         insets contents.
9359
9360 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9361
9362         * a lot of small ws changes
9363         * add a lot of using std::XXX
9364         * use std construcs some places where approp.
9365         * use some exisint stuff from lyxfunctional where approp.
9366         * Make file changes to use partial linking (lets test this now...)
9367
9368 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9369
9370         * Chktex.C:
9371         * buffer.C:
9372         remove #include "support/syscontr.h" as it's redundant. Always has been.
9373
9374         * Chktex.C:
9375         * LaTeX.C:
9376         * LyXSendto.C:
9377         * converter.C:
9378         * lyx_cb.C:
9379         * vc-backend.C:
9380         change Systemcalls::System to Systemcalls::Wait and
9381         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9382         No change of functionality, just reflects the stripped down Systemcalls
9383         class.
9384
9385 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9386
9387         * debug.[Ch]: add a GRAPHICS type to the enum.
9388
9389 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9390
9391         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9392
9393         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9394         there is an inset.
9395
9396 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9397
9398         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9399         match the changes below.
9400
9401         * text2.C (toggleInset): if there is not editable inset at cursor
9402         position, try to see if cursor is _inside_ a collapsable inset
9403         and close it.
9404
9405 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9406
9407         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9408         document menu has a nice checkbox
9409
9410 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9411
9412         * lyxlength.C (asLatexString): change PW to output as percent of
9413         \textwidth.
9414
9415         * lengthcommon.C: change '%' to 't%'
9416
9417         * lyxfunc.C (dispatch): a few comments from Martin
9418
9419 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * WorkArea.h:
9422         * WorkArea.C:
9423         * BufferView_pimpl.h:
9424         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9425           the X selection.
9426
9427 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * vspace.C (inPixels): fix compiler warning
9430
9431 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9432
9433         * lyxfunc.C (getStatus): fix status message for disabled commands.
9434
9435 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9436
9437         * BufferView_pimpl.C: fix crash on close buffer
9438         during selection (#227)
9439
9440 2002-01-27  Herbert Voss  <voss@lyx.org>
9441
9442         * buffer.C: link old Figure to new graphic inset
9443
9444 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9445
9446         * FontLoader.C (getFontinfo): Change the latex font names in order
9447         to match the names of type1inst.
9448
9449 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9450
9451         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9452
9453         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9454         (extchanged): ditto
9455         (ext_exist): ditto
9456         (remove_files_with_extension): ditto
9457         (remove_file): ditto
9458         (write): ditto
9459
9460         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9461         document is smaller than the work area height. Do not initialize
9462         static variables to 0.
9463
9464 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9465
9466         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9467
9468         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9469         LFUN_LAYOUT_PARAGRAPHS.
9470
9471         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9472         tabular. It is possible to provide a possible cell, which will
9473         typically be the actcell from the corresponding insettabular
9474
9475         * lyxfunc.C (getStatus): small cleanup; disable
9476         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9477         true
9478
9479 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9482
9483         * paragraph.C (startTeXParParams):
9484         (endTeXParParams): new methods. The LaTeX code to
9485         start/end paragraph formatting
9486         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9487         empty (fixes bug #200)
9488
9489         * vspace.C (inPixels): adapt to the change below
9490         (inPixels): [later] more cleanups (remove unused variables)
9491
9492         * lyxlength.C (inPixels): change to use a width and a height as
9493         parameter.
9494
9495 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9496
9497         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9498         Replaced with \paperwidth
9499
9500         * DepTable.C (insert): add std:: qualifier
9501
9502 2002-01-18  Allan Rae  <rae@lyx.org>
9503
9504         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9505         updated also?
9506
9507         * text.C (drawInset): Turned out I didn't know enough about how
9508         rebreaking worked.  This fixes most of the redraw problems.  I see
9509         an occasional cursor trail when a line is broken now and the cursor
9510         placement can seem out by a few pixels also after a rebreak.
9511
9512 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * buffer.C (parseSingleLyXformat2Token): update because minipage
9515         width is now a LyXLength
9516
9517         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9518
9519         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9520         math insets
9521
9522 2002-01-17  Juergen Vigna  <jug@sad.it>
9523
9524         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9525
9526         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9527         is set correctly and the inset is updated correctly.
9528
9529 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9530
9531         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9532         the beginning of the loop.
9533
9534 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * lyxrc.C: improve help for use_scalable_fonts
9537
9538 2002-01-17  Allan Rae  <rae@lyx.org>
9539
9540         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9541
9542 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9543
9544         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9545         make sure to set their inset_owner to the right value (bug #171)
9546
9547 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9548
9549         * DepTable.h
9550         * DepTable.C: Implement mtime checking to reduce time spent doing
9551         CRCs.
9552
9553 2002-01-16  Juergen Vigna  <jug@sad.it>
9554
9555         * tabular.C (GetAdditionalHeight): one of error fixed.
9556
9557         * lyxrc.C (output): small fix in writing use_pspell.
9558
9559 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9560
9561         * sp_base.h: #include LString.h
9562
9563 2002-01-16  Allan Rae  <rae@lyx.org>
9564
9565         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9566         Can someone check this please?
9567
9568         * text.C (drawInset): It was possible that p.row would be removed by
9569         breakAgainOneRow upsetting a few other settings.  There may be another
9570         small tweak possible by setting need_break_row = 0 when p.row has been
9571         removed but I don't know enough about the logic here.
9572
9573 2002-01-15  Allan Rae  <rae@lyx.org>
9574
9575         * text.C (insertChar): removed conditional truism.
9576
9577         * BufferView2.C (removeAutoInsets): More tweaks.
9578         cur_par_prev could be a stray pointer.  Check for trailing empty line
9579         in case last line was cur_par and only had an error inset on it.
9580
9581 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9582
9583         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9584         absolute
9585
9586         * vc-backend.C (most methods):
9587         * exporter.C (Export):
9588         * converter.C (convert):
9589         (runLaTeX):
9590         * LyXSendto.C (SendtoApplyCB):
9591         * lyxfunc.C (dispatch):
9592         (menuNew):
9593         (open):
9594         (doImport):
9595         * lyx_cb.C (AutoSave):
9596         (InsertAsciiFile):
9597         * BufferView_pimpl.C (MenuInsertLyXFile):
9598         * buffer.C (runChktex): use Buffer::filePath().
9599
9600         * buffer.h: rename filename to filename_; rename filepath to
9601         filepath_ and make it private
9602         (filePath): new method
9603
9604         * buffer.C (writeFile): use fileName()
9605         (getLatexName):
9606
9607         * lyx_main.C (init): fix starting  of LyX when the binary is a
9608         link from so,ewhere else.
9609
9610         * minibuffer.C: include <cctype> for isprint
9611
9612 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9613
9614         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9615         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9616         name clash with InsetCollapsable's width function.
9617
9618 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9619
9620         * lastfiles.C: include <iterator>
9621
9622 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9623
9624         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9625         std::count.
9626
9627         * buffer.C (makeLaTeXFile): ditto.
9628         Also make loop operation more transparent.
9629
9630 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9631
9632         * ToolbarDefaults.C: remove trailing comma closing namespace.
9633
9634         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9635
9636         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9637         as in WorkArea.
9638
9639         * trans.C (Load): comment out unused variable, allowed.
9640
9641 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9642
9643         * minibuffer.[Ch] (append_char): new method to recieve input from the
9644         drop-down completion browser. If a key was pressed, then recieve this
9645         char and append it to the existing string.
9646         (peek_event): modify the positioning data passed to the completion
9647         browser so that it can be placed above the minibuffer rather than below.
9648 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9649
9650         * LyXAction.C (init): alloe error-next for readonly documents.
9651
9652         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9653         count.
9654
9655 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9656
9657         * bufferlist.C (readFile): create the buffer _after_ checking that
9658         the file exists.
9659
9660         * lyxfunc.C (verboseDispatch): fix handling of arguments
9661
9662         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9663
9664         * lyxrc.C: use string::erase() instead of initializing to "".
9665
9666
9667 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9668
9669         * BufferView_pimpl.h:
9670         * BufferView_pimpl.C:
9671         * WorkArea.h:
9672         * WorkArea.C:
9673         * text2.C: tell X when we have made a selection for copying
9674
9675 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9676
9677         * BufferView_pimpl.C (MenuInsertLyXFile):
9678         * lyxfunc.C (menuNew):
9679         (open):
9680         (doImport): add shortcuts to directory buttons
9681
9682         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9683         open a float)
9684
9685         * lyxfunc.C (setStatusMessage):
9686         (getStatusMessage): new methods
9687         (getStatus):use setStatusMessage instead of setErrorMessage
9688         (dispatch): when function is disabled, set error message here
9689         [instead of in getStatus previously]
9690
9691         * BufferView_pimpl.C (workAreaButtonRelease): update
9692         toolbar/menubar here too.
9693
9694 2002-01-13  Allan Rae  <rae@lyx.org>
9695
9696         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9697         Now seems indestructible.  Remaining task is to audit all other
9698         code affected by deleteEmptyParagraphMechanism.  One small quirk
9699         left is that an empty document with an error in the preamble can
9700         be made to report an error but no error box appears.  I don't know
9701         where it goes.
9702         (removeAutoInsets): Improved comments.
9703
9704 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * Thesaurus.h:
9707         * Thesaurus.C: update for Aiksaurus 0.14
9708
9709 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9710
9711         * text2.C (firstParagraph): removed member function, all uses
9712         replaces with ownerParagraph
9713         (redoParagraphs): here
9714         (updateInset): here
9715         (toggleAppendix): here
9716         * BufferView2.C (insertErrors): here
9717         (setCursorFromRow): here
9718
9719 2002-01-13  Allan Rae  <rae@lyx.org>
9720
9721         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9722         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9723         There is still a way to segfault this although you may have to do this
9724         multiple times: Have an InsetERT with an unknown command in it.
9725         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9726         <down-arrow>, <Enter> again, View->DVI, BANG!
9727
9728         * text2.C (setCursor):
9729         (deleteEmptyParagraphMechanism):
9730         * lyxtext.h (setCursor):
9731         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9732         Making use of the return value may help fix other bugs.
9733
9734 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9735
9736         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9737
9738         * LyXView.C (updateMenubar): call MenuBar::update here
9739         (updateToolbar): but not here
9740         (showState): do not update toolbar/menubar
9741
9742         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9743         should need to care about that.
9744
9745         * lyxfunc.C (verboseDispatch): simplify a bit
9746         (getStatus): have a version which takes a pseudoaction, and
9747         another which requires a (kb_action,string).
9748
9749         * LyXAction.C (retrieveActionArg): make it work also when action
9750         is not a pseudo-action.
9751         (getActionName): simplify a bit
9752         (helpText):
9753
9754 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * lyxfunc.C (verboseDispatch): new families of methods with
9757         several ways to specify a command and a bool to indicate whether
9758         the command name and shortcut should be displayed in minibuffer
9759         (eventually, we could extend that to a finer bitmask like
9760         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9761         (dispatch): the pristine dispatch command which just, well,
9762         dispatchs! Note it still sets its result to minibuffer; I'm not
9763         sure we want that.
9764
9765         * lyxfunc.h: remove setHintMessage
9766
9767         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9768
9769 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9770
9771         * BufferView_pimpl.C (specialChar): delete new inset if we have
9772         not been able to insert it.
9773
9774         * kbmap.C: revert to using int instead of kb_action, since all we
9775         are dealing with is pseudo-actions.
9776
9777         * LyXAction.C (searchActionArg): change to return int instead of
9778         kb_action, since the result is a pseudoaction.
9779
9780 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9781
9782         * buffer.C (insertErtContents): Fix (partially) the font bug.
9783
9784 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9785
9786         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9787         as the other one is broken on my machine!
9788
9789 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9790
9791         * commandtags.h:
9792         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9793
9794 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9795
9796         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9797         reflect their actual use. Provide compatibility code for older lyxrc
9798         files.
9799
9800         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9801         FL_NORMAL_STYLE.
9802         change names of popup font variables in line with the changes to lyxrc.C
9803
9804 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9805
9806         * buffer.C (asciiParagraph): avoid outputing a word twice after
9807         an inset.
9808
9809         * lyxrc.C (getDescription): document that document_path and
9810         template_path can be empty.
9811
9812 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9813
9814         * LaTeXFeatures.C (getMacros):
9815         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9816
9817         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9818
9819         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9820         getPackages.
9821         (getPackages): rename feature "floats" to "float". Use an array to
9822         iterate over 'simple' features (i.e. just a \usepackage). Add
9823         handling of "amsmath" (renamed from "amsstyle").
9824
9825 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9826
9827         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9828         features list.
9829
9830 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9831
9832         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9833         FuncStaus::FuncStatus & FuncStaus::some_method().
9834
9835 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9836
9837         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9838         of the func_satus stuff. Edited and massaged in various ways by
9839         JMarc.
9840
9841         * lyxfunc.C (getStatus): use FuncStatus
9842
9843 2002-01-08  Juergen Vigna  <jug@sad.it>
9844
9845         * text.C (nextBreakPoint): use function Inset::isChar().
9846
9847         * paragraph.C (TeXOnePar): use function
9848         Inset::forceDefaultParagraphs.
9849
9850         * buffer.C (latexParagraphs): use function
9851         Inset::forceDefaultParagraphs.
9852
9853 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9854
9855         * lyx_gui.C (init): set the style of the menu popups to
9856         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9857
9858 2002-01-07  Juergen Vigna  <jug@sad.it>
9859
9860         * text.C (setHeightOfRow): small fix
9861         (prepareToPrint): don't look at alignment if we don't have the place
9862         for doing it.
9863
9864 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9865
9866         * box.C: New file. Move the Box methods and functions out of box.h,
9867         following Lars' suggestion.
9868
9869 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9870
9871         * box.h: #include "support/LOstream.h", needed for inlined function.
9872
9873         * lyxtextclass.C:
9874         * lyxtextclasslist.C: added some using std declarations.
9875
9876 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * box.h: make signed dimensions to allow insets wider than
9879           the screen (bug #162)
9880
9881         * BufferView_pimpl.C: add some insetHit debug
9882
9883 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9884
9885         * vc-backend.C: add FIXME
9886
9887 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9888
9889         * lyxfunc.C (getStatus): enable code for showing math font status
9890         in toolbar/menu.
9891
9892 2002-01-07  Juergen Vigna  <jug@sad.it>
9893
9894         * text.C (nextBreakPoint): removed debug output not needed anymore.
9895
9896 2002-01-06  Juergen Vigna  <jug@sad.it>
9897
9898         * text.C (nextBreakPoint): fixed up this function we had this bug
9899         since ever but now hopefully we break row better.
9900         (insertChar): we have to check if an inset is the next char as it
9901         could now happen that a large inset is causing a break.
9902
9903 2002-01-05  Juergen Vigna  <jug@sad.it>
9904
9905         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9906         if it doesn't like to be drawed.
9907
9908 2002-01-04  Juergen Vigna  <jug@sad.it>
9909
9910         * BufferView2.C (lockInset): forgot to set a cursor.
9911
9912         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9913
9914 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9915
9916         * FormMathsPanel.C:
9917         * FormMathsPanel.h
9918         * MathsSymbols.C:
9919         * form_maths_panel.C:
9920         * form_maths_panel.h:
9921         * form_maths_panel.fd: implemented sub- and super- buttons in math
9922         panel.
9923
9924         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9925         (or ^ space) to be used as in TeX (req'd by André).
9926
9927         * lyxfunc.C: Allow ^ and _ again to be used both as
9928         super/subscript (mathed) and as themselves (in text).
9929
9930 2002-01-03  Allan Rae  <rae@lyx.org>
9931
9932         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9933         "LyX" or the filename of the current buffer if it has one.  This is a
9934         modified form of John Levon's patch.
9935
9936         * XFormsView.C (setWindowTitle): also set icon title.
9937
9938         * LyXView.h (setWindowTitle): signature changed.
9939         * XFormsView.h (setWindowTitle): ditto.
9940
9941 2002-01-02  Juergen Vigna  <jug@sad.it>
9942
9943         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9944
9945 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9946
9947         * screen.C (topCursorVisible): introduce a temp var for
9948         text->cursor.row(), handle the case where this row is null. (kindo
9949         hachish)
9950
9951         * text2.C (setCursor): add a couple of asserts.
9952
9953         * paragraph.h (inset_iterator): add -> operator
9954
9955         * paragraph.[Ch] (autoDeleteInsets): remove member function
9956
9957         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9958         cursor pos correctly and handle inset deletion by itself.
9959         (insertErrors): move iterator declaration out of for expression
9960
9961         * lyxtextclass.C: add <algorithm>
9962
9963         * Makefile.am: added the new files to sources, removed layout.C
9964
9965         * layout.C: removed file
9966
9967         * layout.h: remove LYX_DUMMY_LAYOUT
9968
9969         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9970         layout.
9971
9972         * lyxlayout.[Ch]:
9973         * lyxtextclass.[Ch]:
9974         * lyxtextclasslist.[Ch]: new files
9975
9976         * include order changes to a lot of files, also changes because of
9977         the six new files.
9978
9979 2001-12-27  Juergen Vigna  <jug@sad.it>
9980
9981         * buffer.C (asciiParagraph): more fixes.
9982
9983         * tabular.C (ascii): make ascii export support export of only the
9984         data separated by a column-delimiter.
9985         (ascii): better support for ascii export.
9986
9987         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9988
9989 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9990
9991         * tabular_funcs.C: use a "using std::getline" instead of the
9992         previous fix from Angus (necessary for cxx + lyxstring)
9993
9994 2001-12-24  Juergen Vigna  <jug@sad.it>
9995
9996         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9997
9998         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9999         problems. First check a minipage also if we have some ert-contents
10000         (not only on par->size(), second set the right depth of the paragraph
10001         on the relink to the root-paragraph-list!
10002
10003         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10004         which then did not anymore update the main paragraphs on undo/redo!
10005
10006 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10009         code. Support all font-changing funcs (even those which are not in
10010         menu currently). Support for reporting font settings in
10011         mathed (disabled until Andre provides a function on mathed's side).
10012
10013         * func_status.h (toggle): small helper function to set toggle
10014         state on a flag.
10015
10016 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10017
10018         * tabular_funcs.C: getline -> std::getline
10019
10020 2001-12-21  Juergen Vigna  <jug@sad.it>
10021
10022         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10023         accessed and could be 0 (I couldn't generate this but it seems
10024         Michael could!).
10025
10026 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10027
10028         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10029         * tabular_funcs.h: here and include iosfwd
10030
10031 2001-12-20  Juergen Vigna  <jug@sad.it>
10032
10033         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10034         inside inset but undo_par was.
10035
10036 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10037
10038         * Thesaurus.C: always include <config.h> in sources.
10039
10040         * Painter.h:
10041         * lyxlookup.h:
10042         * box.h: do not include <config.h> in header files
10043
10044         * text.C (paintLastRow): remove unused variable
10045
10046         * text.C (transformChar):
10047         (insertChar):
10048         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10049
10050         * Painter.C (text):
10051         * font.C (width): rewrite to use uppercase() instead of
10052         islower/toupper.
10053
10054         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10055
10056 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * lyxfind.C: clean up of find failure position change
10059
10060 2001-12-20  Juergen Vigna  <jug@sad.it>
10061
10062         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10063
10064         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10065         (TeXRow): added to LaTeX a single tabular row.
10066         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10067         (Latex): simplified and finally good LT-h/f support.
10068         (various_functions): just small adaptions for LT-h/f support.
10069
10070         * tabular_funcs.[hC]: added and moved here all not classfunctions
10071         of LyXTabular.
10072
10073 2001-12-19  Juergen Vigna  <jug@sad.it>
10074
10075         * tabular.[Ch]: better support for longtabular options (not finished
10076         yet!)
10077
10078 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10079
10080         * text.C (paintLastRow): use the label font instead of the font of
10081         the last character to compute the size of *_BOX. This makes more
10082         sense and avoids a crash with empty paragraphs.
10083         Use Painter::rectangle to draw EMPTY_BOX.
10084
10085 2001-12-19  Juergen Vigna  <jug@sad.it>
10086
10087         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10088         the paragraphs if the replaced paragraph is not the first one!
10089         Tried to delete not used paragraphs but does not work yet so for
10090         now it's inside #ifdef's and by default off!
10091
10092 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10093
10094         * MenuBackend.C: include "lyx_main.h" instead of declaring
10095         lastfiles (actually was declared as LastFiles* instead of a
10096         scoped_ptr).
10097
10098 2001-12-17  Juergen Vigna  <jug@sad.it>
10099
10100         * tabular.C (AppendColumn): applied John's fix
10101
10102 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * BufferView.h:
10105         * BufferView.C:
10106         * BufferView_pimpl.h:
10107         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10108
10109         * Makefile.am:
10110         * box.h: new start of class for above
10111
10112         * lyxfunc.C: ignore space-only minibuffer dispatches.
10113           Show the command name when it doesn't exist
10114
10115         * minibuffer.C: don't add empty lines to the history
10116
10117         * minibuffer.C: add a space on dropdown completion
10118
10119 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * text.C: fix line above/below drawing in insets
10122
10123 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10124
10125         * lyxlength.C (LyXLength): Initialize private variables.
10126
10127 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10128
10129         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10130         when inserting error insets.
10131
10132 2001-12-13  Juergen Vigna  <jug@sad.it>
10133
10134         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10135         actually sometimes the before-paragraph.
10136         (setUndo): don't clear the redostack if we're not actually undoing!
10137
10138 2001-12-06  Juergen Vigna  <jug@sad.it>
10139
10140         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10141         and fixed redoing of main paragraph, so we can use it now ;)
10142
10143         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10144
10145 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10146
10147         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10148         Juergen's request
10149
10150 2001-12-13  André Pönitz <poenitz@gmx.net>
10151
10152         * undostack.[Ch]:
10153         * undo_func.C: minor cleanup
10154
10155 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10156
10157         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10158         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10159         font in urw-fonts package which is marked as -urw-fontspecific and
10160         does not work (incidentally, changing the encoding in the
10161         fonts.dir of this package to -adobe-fontspecific fixes the
10162         problem).
10163
10164         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10165         is a crash when undoing first paragraph (Juergen, please take a
10166         look). THis does not mean the undo fix is wrong, just that it
10167         uncovers problems.
10168
10169         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10170         the (Paragraph*) version when needed instead of duplicating the
10171         code.
10172
10173         * text.C (workWidth): use Inset::parOwner to find out where the
10174         inset has been inserted. This is a huge performance gain for large
10175         documents with lots of insets. If Inset::parOwner is not set, fall
10176         back on the brute force method
10177
10178         * paragraph_pimpl.C (insertInset):
10179         * paragraph.C (Paragraph):
10180         (cutIntoMinibuffer): set parOwner of insets when
10181         inserting/removing them
10182
10183         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10184
10185 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10186
10187         * commandtags.h:
10188         * LyXAction.C:
10189         * lyx_main.C:
10190         * lyxfunc.C:
10191         * mathed/formulabase.C:
10192         * mathed/math_cursor.[Ch]:
10193         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10194
10195
10196 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10197
10198         * lyxlength.[Ch] (operator!=): new function
10199
10200 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10201
10202         * text.C (workWidth): use Inset::parOwner to find out where the
10203         inset has been inserted. This is a huge performance gain for large
10204         documents with lots of insets. If Inset::parOwner is not set, fall
10205         back on the brute force method
10206
10207         * paragraph_pimpl.C (insertInset):
10208         * paragraph.C (Paragraph):
10209         (cutIntoMinibuffer): set parOwner of insets when
10210         inserting/removing them
10211
10212         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10213
10214 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10215
10216         * tabular-old.C (getTokenValue):
10217         * tabular.C (getTokenValue):
10218         (write_attribute): new versions for LyXLength
10219         (everywhere): adjust the use of widths
10220
10221         * tabular.h: change the type of widths from string to LyXLength
10222
10223 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10224
10225         * paragraph.C: fixed missing line number count when exporting
10226         Environments to LaTeX file
10227
10228         * buffer.C: added informational message for checking line numbers.
10229
10230 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10231
10232         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10233         paragraph, do the 'double space' part, but not the 'empty
10234         paragraph' one.
10235
10236         * text.C (workWidth): small optimization
10237         (getLengthMarkerHeight): use minimal size for negative lengths.
10238
10239 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10240
10241         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10242
10243         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10244
10245 2001-12-11  André Pönitz <poenitz@gmx.net>
10246
10247         * FontLoader.C:
10248         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10249
10250 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10251
10252         * text2.C: keep selection on a setFont()
10253
10254 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * lyx_cb.C: another bv->text misuse, from insert label
10257
10258 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * kbsequence.h:
10261         * kbsequence.C: re-instate nmodifier mask
10262
10263 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10264
10265         * lyx_main.h: make lyxGUI private.
10266
10267 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * lyxfind.C: place the cursor correctly on failed search
10270
10271 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * text.C (getLengthMarkerHeight): for small heights, the arrows
10274         are not always on top/bottom of the text
10275         (drawLengthMarker): smaller arrows; take the left margin in
10276         account; draw also vfills.
10277         (paintFirstRow):
10278         (paintLastRow): remove special code for vfill and standard spaces,
10279         since everything is handled in drawLengthMarker now.
10280
10281 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10282
10283         * buffer.C (insertErtContents): try to handle font and language
10284         interaction a bit better.g
10285
10286         * ColorHandler.C (updateColor): change the hash to cover the whole
10287         LColor enum, ws cleanup
10288         (getGCLinepars): ditto
10289         (getGCLinepars): only lookup in the linecache once.
10290
10291 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10292
10293         * iterators.C (operator++): Make the iterator more robust
10294
10295         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10296         (John's patch)
10297         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10298
10299 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * lyxtext.h:
10302         * text.C: better added space drawing
10303
10304 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * LyXView.C:
10307         * BufferView2.C: fix layout combo update on inset unlock
10308
10309 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * Makefile.am: don't compile unused files
10312
10313 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * lyxfunc.C:
10316         * commandtags.h:
10317         * LyXAction.C: remove old LFUN_LAYOUTNO
10318
10319 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * paragraph_pimpl.h:
10322         * paragraph_pimpl.C: isTextAt() doesn't need font param
10323
10324 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * lyxlex.h:
10327         * lyxlex.C: little cleanup
10328
10329 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * BufferView_pimpl.C: fix insertAscii for insets
10332
10333 2001-12-05  Juergen Vigna  <jug@sad.it>
10334
10335         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10336         set the right font on the "multi" paragraph paste!
10337
10338 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10339
10340         * trans_decl.h:
10341         * trans_mgr.[Ch]:
10342         * trans.[Ch]:
10343         * lyxgluelength.C:
10344         * lyxlength.C: remove out-commented code.
10345
10346         * BufferView_pimpl:
10347         * CutAndPaste.C:
10348         * DepTable.C:
10349         * buffer.C:
10350         * chset.C:
10351         * lastfiles.C:
10352         * lyxlex.C:
10353         * lyxlex_pimpl.C:
10354         * lyxserver.C:
10355         * screen.C:
10356         * tabular-old.C:
10357         * tabular.C:
10358         * text.C:
10359         * trans_mgr.C:
10360         * vc-backend.C: change "while(" to "while ("
10361
10362         * lyxlength.[Ch]: add zero function to check if length is zero or
10363         not
10364         * lyxgluelength.C: use it
10365
10366 2001-12-05  Allan Rae  <rae@lyx.org>
10367
10368         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10369         Works for 2.95.3, from what I understand of Garst's reports this should
10370         work for other g++ versions.  We're screwed if the abs(int) definition
10371         changed between bugfix releases of gcc.
10372
10373 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * text.C: fix chapter label offset !
10376
10377 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * lyxtext.h:
10380         * text.C: fix hfill at end of line, clean up
10381
10382 2001-12-04  Juergen Vigna  <jug@sad.it>
10383
10384         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10385         that we force an update of the inset and it's owners if neccessary.
10386
10387 2001-12-03  Juergen Vigna  <jug@sad.it>
10388
10389         * text.C (rowLast): simplified code
10390
10391 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10392
10393         * lyxfunc.C: fix show options on timeout
10394
10395 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10396
10397         * screen.C (topCursorVisible): scroll half a page when the cursor
10398         reached top of bottom of screen
10399
10400 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10401
10402         * minibuffer.C: deactivate on loss of focus
10403
10404 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10405
10406         * vspace.[Ch] (operator!=): add operator.
10407
10408 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * BufferView_pimpl.C: refuse to open an inset when
10411         there's a selection.
10412
10413 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * BufferView_pimpl.C: allow to click on RHS of full row insets
10416
10417 2001-11-30  Juergen Vigna  <jug@sad.it>
10418
10419         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10420         insets for undo reasons.
10421
10422 2001-11-28  André Pönitz <poenitz@gmx.net>
10423
10424         * vspace.[Ch]: cosmetical changes
10425
10426 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10427
10428         * LyXAction.h:
10429         * LyXAction.C:
10430         * lyxfunc.h:
10431         * lyxfunc.C:
10432         * kbmap.h:
10433         * kbmap.C:
10434         * lyxrc.C:
10435         * kbsequence.h:
10436         * kbsequence.C: part re-write of old kb code
10437
10438         * Painter.C:
10439         * WorkArea.C: remove Lgb_bug_find_hack
10440
10441 2001-11-30  José Matos <jamatos@fep.up.pt>
10442
10443         * buffer.C (makeDocBookFile): add a comment to point a hack.
10444         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10445         Fixed a double write of labels.
10446
10447 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10448
10449         * LaTeX.C:
10450         * LaTeX.h Fixed bug in LaTeX class where it would not
10451         re-run latex if no depfiles were changed, but the .dvi was removed.
10452
10453 2001-11-28  André Pönitz <poenitz@gmx.net>
10454
10455         * all the files from the change on 2001/11/26:
10456         use lyx::layout_type instead of LyXTextClass::size_type
10457         use lyx::textclass_type instead of LyXTextClassList::size_type
10458
10459 2001-11-29  Juergen Vigna  <jug@sad.it>
10460
10461         * text.C: added support for paragraph::isFreeSpacing()
10462
10463         * buffer.C: same as above
10464
10465         * paragraph.h: inserted isFreeSpacing() function to enable
10466         FreeSpacing inside InsetERT.
10467
10468         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10469         of the paragraph's in the cut/copy buffer to 0!
10470
10471         * text2.C (removeRow): remove the assert as it can!
10472
10473         * lyxtext.h: added helper function firstRow returning firstrow and
10474         made firstrow private again.
10475
10476         * BufferView2.C (lockInset): don't relock if we're already locked!
10477
10478         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10479         the only paragraph.
10480         (removeRow): added Assert::(firstrow)
10481
10482         * debug.C: forgot to add INSETTEXT here.
10483
10484 2001-11-28  Juergen Vigna  <jug@sad.it>
10485
10486         * sp_spell.C (initialize): changed error text to more general
10487         spellchecker command use (not only ispell!)
10488
10489         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10490
10491         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10492
10493 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * vspace.C: initialise lyxgluelength on failure
10496
10497 2001-11-28  Allan Rae  <rae@lyx.org>
10498
10499         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10500         declaration & definition that looks like a function declaration.
10501
10502 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10503
10504         * BufferView2.C (copy):
10505         (copyEnvironment): do not clear the selection when doing a copy.
10506
10507         * text.C (paintFirstRow): compilation fix
10508
10509 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10510
10511         * tabular.C (Latex): correct line count when writing latex.
10512
10513 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * paragraph_pimpl.h:
10516         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10517           bug a bit
10518
10519 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10520
10521         * text.C:
10522         * LColor.h:
10523         * LColor.C: change vfillline->added_space
10524
10525         * text.C: add markers and text for added space
10526
10527         * vspace.C: fix comment
10528
10529 2001-11-28  André Pönitz <poenitz@gmx.net>
10530
10531         * paragraph.C: whitespace changes
10532         * all the other files from the change on 2001/11/26:
10533         change *::pos_type into lyx::pos_type
10534
10535 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10536
10537         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10538         language of the document when inserting error insets.
10539
10540 2001-11-26  André Pönitz <poenitz@gmx.net>
10541
10542         * BufferView_pimpl.[Ch]:
10543         *       CutAndPaste.C:
10544         * buffer.[Ch]:
10545         * lyxcursor.[Ch]:
10546         * lyxfind.C:
10547         * lyxfunc.C:
10548         * lyxrow.[Ch]:
10549         * paragraph.[Ch]:
10550         * paragraph_pimpl.[Ch]:
10551         * sp_spell.C:
10552         * text.C:
10553         * text2.C: reduce header dependencies, introduce type for positions
10554
10555 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * <various>: change to use Alert.h
10558
10559 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10560
10561         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10562         when encountering an unknown token.
10563         (readLyXformat2): Show an error message if there were unknown tokens.
10564
10565 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * BufferView2.C:
10568         * BufferView_pimpl.C:
10569         * buffer.C:
10570         * paragraph.h:
10571         * text.C:
10572         * text2.C: use par->isInset()
10573
10574 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * paragraph_pimpl.h:
10577         * paragraph_pimpl.C: cleanup
10578
10579 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10580
10581         * text2.C (removeRow):
10582         * text.C (setHeightOfRow): remove useless (and costly) call to
10583         getRow.
10584
10585 2001-11-20  Allan Rae  <rae@lyx.org>
10586
10587         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10588         Now need Inset*::checkInsertChar() to return true for appropriate
10589         cases so that the characters in the minibuffer will actually be
10590         inserted.
10591
10592 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10593
10594         * text.C: change the order of the includes.
10595         (workWidth): initialize it at once.
10596         (workWidth): make maxw unsigned
10597         (setHeightOfRow): remove unused variable (inset)
10598         (selectSelectedWord): remove unused variable (inset)
10599         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10600
10601 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10602
10603         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10604         server is not running.
10605         (openConnection):
10606         (closeConnection): add debug info when server is disabled.
10607
10608         * ColorHandler.C (getGCForeground): send debug message to GUI
10609         channel.
10610
10611         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10612
10613         * kbmap.C (bind): modify because return conventions of
10614         kb_sequence::parse have changed.
10615
10616         * kbsequence.C (parse): only ignore spaces and not any stupid
10617         control character. This avoids tests like s[i] <= ' ', which are
10618         guaranteed to fail with 8bit characters and signed chars.
10619         Change return code to string::npos when there have been no error
10620         (0 was a bad idea when error is at first character)
10621
10622 2001-11-14  José Matos  <jamatos@fep.up.pt>
10623
10624         * buffer.h:
10625         * buffer.C (simpleDocBookOnePar): removed unused argument.
10626
10627 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10628
10629         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10630         insets which are part of a word. Paragraph::isLetter takes care of
10631         that now. Use Paragraph::isInset to identify insets.
10632         (selectSelectedWord): do not test for hyphenation break.
10633
10634         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10635         that protected spaces are considered as spaces.
10636
10637         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10638         Inset::isLetter.
10639
10640 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * lyxserver.h:
10643         * lyxserver.C: fix it. and small cleanup.
10644
10645 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * BufferView_pimpl.C: use inline helpers
10648
10649         * LaTeXFeatures.h:
10650         * LaTeXFeatures.C: fix typos
10651
10652         * Spacing.h:
10653         * Spacing.C: move spacing_string into class
10654
10655         * ToolbarDefaults.C: move stuff into namespace anon
10656
10657         * layout.h: update enum
10658
10659         * lyxfunc.C: use better debug
10660
10661         * minibuffer.h: fix typo
10662
10663         * debug.h:
10664         * debug.C:
10665         * WorkArea.C: add and use Debug::WORKAREA
10666
10667         * lyxtext.h:
10668         * text.C:
10669         * text2.C: code re-organisation, inline helpers
10670
10671 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10672
10673         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10674         std::vector.empty().
10675
10676 2001-11-09  Allan Rae  <rae@lyx.org>
10677
10678         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10679         '\n's after tables.  Tabular and ERT inset work now makes this no
10680         longer necessary.
10681
10682 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * minibuffer.h:
10685         * minibuffer.C: fix crash, improve drop-down completion
10686
10687 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * lyxserver.h:
10690         * lyxserver.C: invalidate fd's when doing endPipe()
10691
10692 2001-11-08  José Matos  <jamatos@fep.up.pt>
10693
10694         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10695         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10696
10697         * paragraph.h:
10698         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10699
10700 2001-11-07  José Matos  <jamatos@fep.up.pt>
10701
10702         * buffer.h:
10703         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10704         const qualifier.
10705
10706         * buffer.C (sgmlOpenTag):
10707         * buffer.C (sgmlCloseTag): removed debug info.
10708
10709         * buffer.h (sgmlOpenTag):
10710         * buffer.h (sgmlCloseTag): made public.
10711
10712 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10713
10714         * buffer.C (saveParamsAsDefaults):
10715         * lyx_cb.C (MenuLayoutSave): remove
10716
10717         * LyXAction.C (init):
10718         * commandtags.h:
10719         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10720
10721 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10722
10723         * buffer.C (setPaperStuff): removed from here...
10724
10725         * bufferparams.C (setPaperStuff): ... and moved there.
10726
10727 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * minibuffer.h:
10730         * minibuffer.C:
10731         * XFormsView.C: add support for drop-down completion
10732
10733 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10734
10735         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10736         commands.
10737
10738 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10739
10740         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10741         disabled.
10742
10743 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * lyx_main.C: change ref to known bugs
10746
10747 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10748
10749         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10750         to work around older babel problems.
10751
10752 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10753
10754         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10755
10756 2001-10-24  Juergen Vigna  <jug@sad.it>
10757
10758         * tabular-old.C (ReadOld): below variable changes reflected.
10759
10760         * tabular.[Ch]: added ltType struct for longtable header/footer
10761         defines and changed all instances where they are used. Added
10762         future support for double top/bottom rows.
10763
10764 2001-10-24  José Matos  <jamatos@fep.up.pt>
10765
10766         * buffer.h (docbookHandleCaption):
10767         * buffer.C (docbookHandleCaption): removed unused function.
10768         (makeDocBookFile): moved docbook supported version to v4.1.
10769
10770 2001-10-24  José Matos  <jamatos@fep.up.pt>
10771
10772         * tabular.h:
10773         * tabular.C (docbookRow): new function to export docbook code of a row.
10774         (DocBook): now honors the longtable flags.
10775
10776 2001-10-23  José Matos  <jamatos@fep.up.pt>
10777
10778         * LaTeXFeatures.h:
10779         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10780         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10781
10782         * buffer.C (makeLinuxDocFile):
10783         (makeDocBookFile): reworked the preamble, more clean, and with
10784         support for lyx defined entities. Changed the document declaration
10785         to be more XML friendly.
10786
10787         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10788         if we need to output XML that should be done with a filter.
10789
10790 2001-10-22  Juergen Vigna  <jug@sad.it>
10791
10792         * sp_pspell.h (class PSpell): add alive function needed in the
10793         controller to see if the spellchecker could be started.
10794
10795 2001-10-22  Juergen Vigna  <jug@sad.it>
10796
10797         * buffer.C (insertStringAsLines): modify the font for inserting
10798         chars in certain conditions by calling checkInsertChar(font).
10799
10800 2001-10-19  Juergen Vigna  <jug@sad.it>
10801
10802         * text.C (workWidth): use getRow instead of wrong algorithm.
10803         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10804
10805 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * lyxserver.h:
10808         * lyxserver.C:
10809         * lyx_main.h:
10810         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10811
10812 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10813
10814         * text.C (workWidth): do not search for the exact row when
10815         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10816         optimization for big documents.
10817
10818 2001-10-18  Juergen Vigna  <jug@sad.it>
10819
10820         * text.C (workWidth): new function with added Inset * parameter.
10821
10822 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10823
10824         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10825
10826         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10827         change return type of getColumnNearX.
10828
10829
10830         * text.C (changeRegionCase): use uppercase/lowercase instead of
10831         toupper/tolower.
10832         (leftMargin):
10833         (rightMargin): simplify code by factoring out the uses of
10834         textclasslist.
10835         (labelFill):
10836         (numberOfHfills):
10837         (setHeightOfRow):
10838         (appendParagraph): use Paragraph::size_type
10839
10840 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10841
10842         * vspace.C (asLatexString): add a missing break
10843
10844 2001-10-15  Herbert Voss  <voss@perce.de>
10845
10846         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10847
10848 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10849
10850         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10851         is not available.
10852
10853 2001-10-10  André Pönitz <poenitz@gmx.net>
10854
10855         * lyxfunc.C: removed greek_kb_flag.
10856
10857 2001-10-10  Herbert Voss  <voss@perce.de>
10858
10859         * lyx_main.C: delete global string help_lyxdir.
10860
10861 2001-10-09  Herbert Voss  <voss@perce.de>
10862
10863         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10864
10865         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10866
10867         * lyx_main.C: added global string help_lyxdir.
10868
10869         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10870
10871 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10872
10873         * lyxrc.C (set_font_norm_type): support iso8859-4
10874
10875 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10876
10877         * LaTeX.C (deplog): add another regex for MikTeX
10878
10879 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10880
10881         * lyxrc.C (set_font_norm_type): support iso8859-3
10882
10883 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10884
10885         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10886
10887         * LaTeXFeatures.C: remove special case of french and index
10888
10889         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10890         before \begin{document}). This solves several incompatibilities.
10891
10892 2001-10-03  Garst Reese  <reese@isn.net>
10893
10894         * lyx_cb.C: change CheckTex error msg.
10895
10896 2001-10-03  José Matos  <jamatos@fep.up.pt>
10897
10898         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10899
10900 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10901
10902         * .cvsignore: update
10903
10904         * lyx_main.C (commandLineVersionInfo): use new style version info.
10905
10906         * buffer.C (writeFile):
10907         (makeLaTeXFile):
10908         (makeLinuxDocFile):
10909         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10910
10911         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10912
10913         * version.h: update to use stuff in version.C
10914
10915         * version.C.in: new file. Contains version information determined
10916         at compile time. This is a merging of version.h and
10917         version_info.h.in.
10918
10919 2001-10-03  Juergen Vigna  <jug@sad.it>
10920
10921         * BufferView_pimpl.C (update): don't change "dirty" status in
10922         updateInset call.
10923
10924 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10925
10926         * WorkArea.C (c-tor): re-position version string slightly.
10927
10928 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10929
10930         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10931         revert to previous code.
10932
10933         WorkArea.[Ch]: (show, destroySplash): methods removed.
10934
10935         WorkArea.C: rework code so that it's an amalgam of the codes before and
10936         after the splash screen was moved to WorkArea.
10937
10938 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10939
10940         * lyxrc.C (read):
10941         * vspace.C (inPixels):
10942         (lyx_advance):
10943         * kbmap.C (bind):
10944         * buffer.C (insertStringAsLines):
10945         (asciiParagraph): fix types to be large enough
10946
10947         * lyxlex_pimpl.h: change member status from short to int
10948
10949         * layout.h: fix type of endlabeltype
10950
10951         * kbmap.C (bind):
10952         * kbsequence.C (parse): change return type to string::size_type
10953
10954         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10955         variable
10956
10957         * Bullet.C (bulletSize):
10958         (bulletEntry): do not use short ints as parameters
10959
10960         * BufferView2.C (insertLyXFile): change a char to an int.
10961
10962         * WorkArea.C (WorkArea): remove unneeded floats in computation
10963
10964 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10965
10966         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10967
10968         * paragraph.C (asString): Do not ignore newline/hfill chars when
10969         copying to the clipboard.
10970
10971 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10972
10973         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10974         after a multi-line inset.
10975
10976 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10977
10978         * paragraph.C (validate): Set NeedLyXFootnoteCode
10979
10980 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10981
10982         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10983         and decrease-error to decrease.
10984
10985 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10986
10987         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10988         it more readable (should be equivalent)
10989
10990 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10991
10992         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10993
10994 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10995
10996         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10997         of a cursor (row, etc.) after a character has been deleted
10998         (deleteEmptyParagraphMechanism): call the method above on _all_
10999         cursors held by the LyXText when a double space has been
11000         detected/deleted.
11001
11002 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11003
11004         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11005         pixmap.
11006         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11007
11008         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11009         background. Use greyOut() and the new show() methods to toggle between
11010         the foreground and background. Add code to remove the splash after
11011         its initial showing.
11012
11013         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11014         (create_forms): no longer call Dialogs::showSplash.
11015
11016 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11017
11018         * .cvsignore: add version_info.h
11019
11020 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11021
11022         * version_info.h.in: new file
11023
11024         * Makefile.am: add version_info.h.in
11025
11026         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11027         version_info.h instead of VERSION_INFO
11028
11029 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11030
11031         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11032         The ERT inset now returns string().
11033
11034 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11035
11036         * lyxtext.h, text.C (selectNextWord): renamed as
11037         selectNextWordToSpellcheck.
11038
11039         * text.C (selectNextWordToSpellcheck): Modified to not select
11040         words inside an ERT inset.
11041
11042 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11043
11044         * lyx_cb.C (MenuLayoutSave): change a bit the question
11045
11046         * sp_base.h: include <sys/types.h>
11047
11048 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11049
11050         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11051
11052 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11053
11054         * several files: fix typos in user-visible strings
11055
11056 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11057
11058         * text2.C (pasteSelection): do not set the selection, since it
11059         will be cleared later. Actually, the intent was to fix the way the
11060         selection was set, but I figured rmoving the code was just as good.
11061
11062 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11063
11064         * FontLoader.C (available): Check if font is available without
11065         loading the font.
11066
11067 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11068
11069         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11070
11071 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11072
11073         * lyxrc.[Ch]: added display_graphics variable and associated code.
11074
11075 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11076
11077         * bufferparams.C (hasClassDefaults): new method. Returns true if
11078         the buffer parameters correspond to known class defaults
11079
11080 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11081
11082         * XFormsView.C (show): set minimum size to the main window.
11083
11084 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * text2.C (copySelection):
11087         (cutSelection):
11088         * lyxfind.C (LyXReplace):
11089         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11090         LyXText::selectionAsString.
11091
11092         * paragraph.C (asString): add "label" argument to the second form
11093
11094         * text2.C (selectionAsString): add "label" argument and pass it to
11095         Paragraph::asString.
11096
11097 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11098
11099         * lyx_main.C (commandLineHelp): remove version information
11100
11101 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11102
11103         * lyx_main.C: add -version commandline option
11104
11105 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11106
11107         * paragraph.h: make the optional constructor arg required instead.
11108         some modifications to other files because of this.
11109
11110         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11111
11112         * lyxserver.C (C_LyXComm_callback): make it static
11113
11114         * lyx_main.C (error_handler): make it static
11115
11116         * lyx_gui.C (LyX_XErrHandler): make it static
11117
11118         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11119
11120         * WorkArea.C: make the extern "C" methods static.
11121
11122         * Makefile.am (lyx_LDADD): simplify
11123
11124 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11125
11126         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11127         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11128
11129         * LyXAction.C (init):
11130         * lyxfunc.C (dispatch): associated code removal.
11131
11132 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11133
11134         * lyxfont.h (isSymbolFont): shut off warning
11135
11136         * text.C (setHeightOfRow):
11137         (getVisibleRow): fix crash with empty paragraphs which have a
11138         bottom line
11139
11140 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11141
11142         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11143         code.
11144
11145 2001-09-04  José Matos  <jamatos@fep.up.pt>
11146         * buffer.C
11147         * buffer.h
11148         * tabular.C (docbook): rename docBook method to docbook.
11149
11150 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11151
11152         * Makefile.am: add dependencies to main.o.
11153
11154 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11155
11156         * FontLoader.C (available): Return false if !lyxrc.use_gui
11157
11158 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11159
11160         * FontInfo.C (query):
11161         * converter.C (view):
11162         * importer.C (Import):
11163         * exporter.C (Export): Can not -> cannot.
11164
11165 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * BufferView_pimpl.C: allow to create index inset even if
11168           string is empty
11169
11170 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11171
11172         * buffer.C (getLists): replace boost::tie code with an explicit pair
11173         as boost::tie can break some compilers.
11174
11175         * iterators.h: Added a std:: declaration to the return type of
11176         ParIterator::size.
11177
11178 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11181           case.
11182
11183 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11184
11185         * iterators.[Ch]: New files. Provide paragraph iterators.
11186
11187         * buffer.C (changeLanguage): Use paragraph iterators.
11188         (isMultiLingual): ditto
11189
11190         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11191
11192 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11193
11194         * FontLoader.C: Support for cmr font.
11195
11196 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11197
11198         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11199         (available): New method.
11200
11201         * FontInfo.C (getFontname): Use scalable fonts even when
11202         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11203         found.
11204
11205 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11206
11207         * converter.C (Formats::view): reverted! Incorrect fix.
11208
11209 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11210
11211         * converter.C (Formats::view): only output the -paper option
11212         if the dvi viewer is xdvi, thereby fixing bug #233429.
11213
11214 2001-08-23  Herbert Voss  <voss@perce>
11215
11216         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11217
11218 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11219
11220         * Spacing.h (Spacing): Set space to Default on in the default
11221         constructor.
11222
11223 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11224
11225         * vc-backend.h (RCS::versionString): add RCS to version
11226         (CVS::versionString): add CVS to version
11227
11228         * vc-backend.C (scanMaster): do not add CVS to version.
11229         (scanMaster): do not add RCS to version
11230
11231         * lyxvc.C (versionString): new method
11232
11233         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11234
11235 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11236
11237         * Spacing.C (set): initialize fval
11238
11239 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11240
11241         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11242         " or \.
11243
11244 2001-08-16  Juergen Vigna  <jug@sad.it>
11245
11246         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11247
11248 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11249
11250         * BufferView_pimpl.C:
11251         * figureForm.C:
11252         * lyxtext.h:
11253         * text2.C: setParagraph takes linespacing now
11254
11255 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11256
11257         * LyxAction.C: add internal LFUN_CITATION_INSERT
11258
11259         * LyXView.C: actually apply fix
11260
11261         * bufferlist.C: fix open non-existent file
11262
11263         * lyxfind.C: fix indentation
11264
11265         * lyxfunc.C: remove unneeded assert, fix typo
11266
11267 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11268
11269         * MenuBackend.C: use "Floatname List"
11270
11271 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11274         when converting LaTeX layout to insetERT.
11275         Generate a non-collapsed float when reading old float
11276
11277 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11278
11279         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11280         ERT insets.
11281
11282 2001-08-13  Juergen Vigna  <jug@sad.it>
11283
11284         * text.C (fill): return 0 instead of 20 as this seems to be the more
11285         correct value.
11286
11287 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11288
11289         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11290         lyxrc.font_norm.
11291
11292 2001-08-13  Juergen Vigna  <jug@sad.it>
11293
11294         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11295         casesensitive off.
11296         (SearchBackward): comment out the unlocking of the inset_owner this
11297         should not be needed!
11298
11299 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11300
11301         * Many files: Remove inherit_language, and add latex_language
11302
11303         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11304         collapsible insets.
11305
11306 2001-08-10  Juergen Vigna  <jug@sad.it>
11307
11308         * text.C (prepareToPrint): fixed hfill-width in draw!
11309
11310         * BufferView2.C (selectLastWord): save the selection cursor as this
11311         now is cleared in the function LyXText::clearSelection!
11312
11313 2001-08-08  Juergen Vigna  <jug@sad.it>
11314
11315         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11316         BACKSPACE type functions.
11317
11318         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11319         is only cutted from the document but not put in the cut-buffer, where
11320         still the old stuff should be.
11321
11322         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11323
11324         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11325
11326         * tabular.C (SetWidthOfCell): fixed special case where the width
11327         was not updated!
11328         (LeftLine): handle '|' in align_special.
11329         (RightLine): ditto
11330         (LeftAlreadyDrawed): ditto
11331         (SetWidthOfCell): ditto
11332
11333 2001-08-07  Juergen Vigna  <jug@sad.it>
11334
11335         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11336
11337 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11338
11339         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11340         * lyxlex.[hC]: ditto
11341
11342 2001-08-06  Juergen Vigna  <jug@sad.it>
11343
11344         * text.C (getVisibleRow): fix up row clearing a bit.
11345
11346 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11347
11348         * minibuffer.C: make sure the X server sees the changes in the input.
11349
11350 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11351
11352         * paragraph.C (getFont): split into...
11353         (getLabelFont): this
11354         (getLayoutFont): and this
11355         * paragraph_pimpl.C (realizeFont): calling this
11356
11357         * text2.C (getFont): split into...
11358         (getLayoutFont): this
11359         (getLabelFont): and this
11360         (realizeFont): all three calling this
11361
11362         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11363         files where used.
11364
11365 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11366
11367         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11368
11369 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11370
11371         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11372         layouts from the Quote inset insertion.
11373
11374 2001-08-03  Juergen Vigna  <jug@sad.it>
11375
11376         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11377
11378         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11379         only if status not is already CHANGED_IN_DRAW (second level).
11380
11381         * text.C (draw): don't set the need_break_row when inside an
11382         InsetText LyXText.
11383
11384 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11385
11386         * buffer.C (parseSingleLyXformat2Token): handle more latex
11387         conversion cases.
11388
11389         * bufferview_funcs.[hC]: change function names to
11390         begin with small char, adjust other files.
11391
11392 2001-08-02  André Pönitz <poenitz@gmx.net>
11393
11394         * lyxfunc.C:
11395         BufferView_pimpl.C: remove broken special code for math-greek
11396
11397 2001-08-02  Juergen Vigna  <jug@sad.it>
11398
11399         * BufferView_pimpl.C (update): redone this function so that we
11400         update the text again if there was a CHANGE_IN_DRAW.
11401
11402         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11403         (drawFromTo): added a new internal bool which is used by draw() and
11404         redraw() function.
11405         (general): some cursor drawing problems fixed.
11406
11407 2001-08-01  Juergen Vigna  <jug@sad.it>
11408
11409         * lyxfind.C (LyXFind): fixed
11410         (SearchForward): ditto
11411         (SearchBackward): ditto
11412
11413         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11414         spurius drawing of the cursor in the main area.
11415
11416         * text2.C (status): small fix which could lead to a segfault!
11417         (clearSelection): remove unneeded BufferView param.
11418
11419 2001-08-01  André Pönitz <poenitz@gmx.net>
11420
11421         * lyxfunc.C: small change due to changed mathed interface
11422
11423 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11424
11425         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11426
11427 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11428
11429         * lyxfunc.c: fail gracefully if file doesn't exist
11430
11431         * LyXSendto.C:
11432         * buffer.C:
11433         * lyxfunc.C:
11434         * BufferView_pimpl.C: IsDirWriteable() proto changed
11435
11436         * LyXView.C: fix updateWindowTitle() to store the last title
11437
11438 2001-07-31  Juergen Vigna  <jug@sad.it>
11439
11440         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11441         the font (wrong since using of Paragraph::highestFontInRange).
11442
11443         * paragraph.C (highestFontInRange): added a default_size parameter.
11444
11445         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11446         (setHeightOfRow): reformat
11447
11448 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * converter.[hC] + affected files: move to (inital-char)lowercase
11451         function names.
11452
11453         * ParagraphParameters.C (ParagraphParameters): remove commented code
11454
11455         * PainterBase.[Ch]: remove commented code
11456
11457         * LaTeXFeatures.h: add "bool floats" for float.sty
11458
11459         * LaTeXFeatures.C (LaTeXFeatures): init floats
11460         (require): handle float
11461         (getPackages): do it with floats
11462
11463 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11464
11465         * BufferView_pimpl.C (Dispatch): improve handling of
11466         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11467
11468         * commandtags.h: #include lyxfont.h here temporarily to avoid
11469         keybinding bug.
11470
11471         * bufferlist.h: include LString.h here.
11472
11473 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11474
11475         * text2.C (getStringToIndex): new method.
11476
11477 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11478
11479         * *: Reduced header file dependencies all over.
11480
11481 2001-07-30  Baruch Even  <baruch@lyx.org>
11482
11483         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11484
11485 2001-07-29  Baruch Even  <baruch@lyx.org>
11486
11487         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11488
11489 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * ParameterStruct.h (endif): add a default constructor to make
11492         sure that all variables is initialized.
11493
11494         * ParagraphParameters.C (ParagraphParameters): adjust
11495
11496 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11497
11498         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11499         index; also, check that there is something to index, and that it
11500         does not span over several paragraphs.
11501         (doubleClick): use WHOLE_WORD_STRICT for double click.
11502
11503         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11504
11505         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11506         scheme.
11507
11508 2001-07-26  Baruch Even  <baruch@lyx.org>
11509
11510         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11511         an InsetFig figure, backwards compatible reading of old figure code.
11512
11513 2001-07-27  Juergen Vigna  <jug@sad.it>
11514
11515         * text2.C: font.realize function adaption.
11516
11517         * text.C (draw): add a warnings lyxerr text if needed.
11518
11519         * layout.C: font.realize function adaption.
11520
11521         * language.C: add inherit_language and implement it's handlings
11522
11523         * bufferview_funcs.C (StyleReset): remove language parameter from
11524         font creation (should be language_inherit now).
11525
11526         * bufferparams.C (writeFile): handle ignore_language.
11527
11528         * paragraph.C (getFontSettings): the language has to be resolved
11529         otherwise we have problems in LyXFont!
11530
11531         * lyxfont.C (lyxWriteChanges): added document_language parameter
11532         (update): removed unneeded language parameter
11533
11534         * paragraph.C (validate): fixed wrong output of color-package when
11535         using interface colors for certain fonts in certain environments,
11536         which should not seen as that on the final output.
11537
11538 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * BufferView_pimpl.C:
11541         * Thesaurus.h:
11542         * Thesaurus.C:
11543         * Makefile.am:
11544         * commandtags.h:
11545         * LyXAction.C: add thesaurus support
11546
11547         * lyxfind.h:
11548         * lyxfind.C: add "once" parameter, for thesaurus, to not
11549           move to the next match
11550
11551 2001-07-26  Juergen Vigna  <jug@sad.it>
11552
11553         * lyxfont.C (realize): honor ignore_language too!
11554         (resolved): ditto.
11555
11556         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11557
11558         * text.C (draw): one place more for ignore_language to not draw
11559         itself!
11560
11561 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11562
11563         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11564
11565 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11566
11567         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11568         the minipage conversion problem.
11569
11570 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11571
11572         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11573         insert an inset.
11574
11575 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11576
11577         * BufferView.h: don't forward declare WorkArea
11578
11579         * BufferView.C: don't include WorkArea.h
11580
11581 2001-07-25  André Pönitz <poenitz@gmx.net>
11582
11583         * commandtags.h:
11584         * LyXAction.C:
11585         * lyxfunc.C:  new LFUN 'math-space'
11586
11587         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11588
11589 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11590
11591         * text2.C (toggleInset): call open/close
11592
11593 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11594
11595         * lyxfunc.C (dispatch): add debug for the disabled case
11596
11597         * font.C (buttonText): make similar to rectText
11598
11599         * buffer.C (readInset): comment out parsing of insetlist and
11600         insttheorem
11601
11602         * PainterBase.C (rectText): small correction
11603
11604         * BufferView_pimpl.C: comment out insettheorem and insetlist
11605         * LyXAction.C: ditto
11606         * commandtags.h: ditto
11607
11608 2001-07-24  Juergen Vigna  <jug@sad.it>
11609
11610         * text.C (draw): honor the ignore_language.
11611
11612         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11613
11614 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11615
11616         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11617         char inset.
11618
11619 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11620
11621         * lyxtext.h: remove unused (and unimplemented) methods
11622
11623 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11624
11625         * text.C (getVisibleRow): honor background color
11626
11627         * PainterBase.h:
11628         * Painter.h: remove default color argument for fillRectangle
11629
11630         * text.C (backgroundColor): new method
11631
11632 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * text.C (getVisibleRow): adjust
11635
11636         * font.[Ch] (rectText): new method, metrics
11637         (buttonText): new method, metrics
11638
11639         * PainterBase.[hC]: make rectText and buttonText always draw and take
11640         fewer paramteres.
11641
11642 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11643
11644         * ToolbarDefaults.C (read):
11645         * MenuBackend.C (read): allow escaping in all strings
11646
11647         * BufferView_pimpl.C (insertAndEditInset): new method.
11648         (Dispatch): use insertAndEditInset whenever appropriate.
11649
11650         * BufferView_pimpl.C (insertNote): removed
11651
11652         * BufferView_pimpl.C (smartQuote): new method, moved from
11653         BufferView; if an insetquote cannot be inserted, insert a '"'
11654         character instead.
11655
11656         * BufferView2.C: remove insertCorrectQuote();
11657
11658         * lyxfunc.C (getStatus): Add support for all remaingin
11659         inset-insert lfuns.
11660
11661         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11662
11663         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11664         command (necessary to pass " as parameter of self-insert.
11665
11666         * text.C (selectWordWhenUnderCursor):
11667         (selectWord): add word_location parameter
11668         (selectWordWhenUnderCursor): same + remove special code for word
11669         boundary.
11670         (selectNextWord): use kind() to guess type of insetspecialchar,
11671         not latex().
11672
11673         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11674         (insertErtContents): create ert insets as collapsed.
11675         (readInset): better compatibility code for Info inset.
11676
11677 2001-07-20  Juergen Vigna  <jug@sad.it>
11678
11679         * lyxfunc.C (dispatch): use always LyXFind now!
11680
11681         * text2.C (init): add a reinit flag so that the LyXText can be
11682         reinited instead of deleted and reallocated (used in InsetText).
11683
11684         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11685
11686         * text.C: ditto
11687
11688         * text2.C: ditto
11689
11690 2001-07-18  Juergen Vigna  <jug@sad.it>
11691
11692         * text.C (selectNextWord): handle insets inside inset by calling
11693         always the bv->text functions so that we can go up the_locking_inset!
11694
11695         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11696         in strange locations when inside an inset!
11697
11698         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11699         handling to include insets.
11700
11701         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11702
11703 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11704
11705         * LyXAction.C (init):
11706         * commandtags.h:
11707         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11708         LIGATURE_BREAK, since the name is so stupid.
11709
11710 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11711
11712         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11713         InsetInfos.
11714
11715         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11716
11717         * sp_form.[Ch]: remove.
11718
11719         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11720
11721         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11722         InsetInfo.
11723
11724         * src/buffer.C (readInset): ditto.
11725
11726 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11727
11728         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11729         menuSeparator(), endOfSentenceDot(), ldots() and
11730         hyphenationPoint(), which are therefore removed.
11731         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11732
11733         * LyXAction.C (init):
11734         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11735
11736         * paragraph.C (getWord): removed.
11737
11738         * BufferView_pimpl.C (Dispatch): use last word or selection for
11739         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11740
11741         * lyx_main.C (queryUserLyXDir): do not ask before creating
11742         user_dir, except if it has been named explicitely.
11743
11744 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11745
11746         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11747         a document of zero size.
11748
11749 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11750
11751         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11752         approriately in the c-tor and in require().
11753         (getPackages): output the appropriate LaTeX for natbib support.
11754
11755         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11756         variables "use_natbib" and "use_numerical_citations" when reading the
11757         LyX file.
11758         (readInset): read the various natbib cite commands.
11759         (validate): white-space change.
11760
11761         * bufferparams.[Ch]: new variables "bool use_natbib" and
11762         "bool use_numerical_citations".
11763         (writeFile): output them in the LyX file.
11764
11765 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11766
11767         * lyxfunc.C (getStatus): add support for all the inset insertion
11768         commands.
11769
11770         * text2.C (insertInset):
11771         * paragraph.C (insetAllowed):
11772         * BufferView_pimpl.C (insertInset): update to take in account the
11773         renaming of insertInsetAllowed
11774
11775         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11776
11777         * text2.C (getInset): new method. returns inset at cursor position.
11778
11779         * BufferView_pimpl.C (Dispatch): changes because of this.
11780
11781         * LyXAction.C (init): rename open-stuff to inset-toggle.
11782
11783         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11784
11785         * text2.C (toggleInset): renamed from openStuff; use
11786         Inset::open().
11787
11788 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11789
11790         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11791
11792         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11793
11794 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11795
11796         * buffer.C (readLyXformat2): Add filename to the error dialog
11797
11798 2001-07-18  Juergen Vigna  <jug@sad.it>
11799
11800         * tabular.C (GetCellNumber): put an assert here instead of the check!
11801
11802 2001-07-17  Juergen Vigna  <jug@sad.it>
11803
11804         * BufferView_pimpl.C (toggleSelection): adapted too.
11805
11806         * text.C (selectNextWord): adapted for use with insets.
11807         (selectSelectedWord): ditto
11808
11809 2001-07-17  Juergen Vigna  <jug@sad.it>
11810
11811         * sp_spell.C (PSpell): fix initialitation order.
11812
11813 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11814
11815         * paragraph.C: spacing
11816
11817 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11818
11819         * sp_spell.C: repair language selection for pspell
11820
11821 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * lyxfunc.h: change more methods to begin with lower char.
11824
11825 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11826
11827         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11828         for unknown layouts.
11829
11830 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11831
11832         * buffer.C (readLyXformat2): Generate an error dialog if there are
11833         unknown layouts.
11834
11835 2001-07-16  Juergen Vigna  <jug@sad.it>
11836
11837         * sp_spell.C: always compile ISpell part.
11838
11839         * lyxrc.C: added use_pspell entry and it's handling.
11840
11841 2001-07-13  Juergen Vigna  <jug@sad.it>
11842
11843         * sp_spell.C: removed double includes.
11844
11845 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11846
11847         Consistent use of Lsstream.h:
11848         * Lsstream.h: added using std::stringstream for consistencies sake.
11849
11850         * buffer.C: removed using std::stringstream
11851
11852         * lyxfont.C (stateText):
11853         * paragraph.C (asString):
11854         * text.C (selectNextWord, selectSelectedWord):
11855         * text2.C (setCounter):
11856         * vspace.C (asString, asLatexString):
11857         std::ostringstream -> ostringstream.
11858
11859 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11860
11861         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11862         * commandtags.h: add LFUN_HELP_ABOUTLYX
11863         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11864
11865 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11866
11867         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11868         cursorToggle()
11869         * lyx_gui_misc.C: remove spellchecker
11870         * lyxfunc.C: showSpellchecker
11871         * sp_base.h: added
11872         * sp_ispell.h: added
11873         * sp_pspell.h: added
11874         * sp_spell.C: added
11875         * sp_form.[Ch]: removed
11876         * spellchecker.[Ch]: removed
11877
11878 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11879
11880         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11881         is set.
11882         (simpleTeXSpecialChars): Simply print the input character without
11883         any special translation if pass_thru is set.
11884
11885         * layout.h: Added bool pass_thru to layout class for being able to
11886         implement pass through of a paragraph for Literate Programming.
11887
11888         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11889         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11890         * layout.C (Read): add "passthru" to list of layout tags and add
11891         code to set the pass_thru boolean when it is read.
11892
11893 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * trans_decl.h: remove allowed from KmodInfo
11896
11897         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11898         remove allowed code
11899         (Load): adjust
11900
11901         * paragraph_pimpl.C (erase): use boost::prior
11902
11903         * Painter.C (text): use data() instead of c_str() when length is
11904         also provided.
11905         * WorkArea.C (putClipboard): ditto
11906         * font.h (width): ditto
11907
11908         * BufferView2.C: use it-> instead of (*it). for iterators
11909         * texrow.C: ditto
11910         * paragraph_pimpl.C: ditto
11911         * paragraph.C: ditto
11912         * minibuffer.C: ditto
11913         * language.C: ditto
11914         * kbmap.C: ditto
11915         * encoding.C: ditto
11916         * counters.C: ditto
11917         * converter.C: ditto
11918         * chset.C: ditto
11919         * Variables.C: ditto
11920         * TextCache.C: ditto
11921         * MenuBackend.C: ditto
11922         * LyXAction.C: ditto
11923         * LColor.C: ditto
11924         * FloatList.C: ditto
11925         * DepTable.C: ditto
11926         * ColorHandler.C (LyXColorHandler): ditto
11927
11928 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11929
11930         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11931
11932         * text2.C (openStuff): reintroduce this method (which had been
11933         nuked in NEW_INSETS frenzy).
11934
11935         * lyxfunc.C (Dispatch): when an action has not been handled, use
11936         its name in the error message, not its number.
11937
11938         * paragraph.C (inInset): change method name to begin with lowercase.
11939
11940         * undo_funcs.C:
11941         * text2.C: updates because of this.
11942
11943 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11944
11945         * ToolbarDefaults.C (add): add spaces in error message
11946
11947 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11950         (readLyXformat2): rename return_par to first_par, use lyxlex's
11951         pushToken and remove the manual push handling.
11952         (parseSingleLyXformat2Token): add another ert comp. variable:
11953         in_tabular, rename return_par to first_par. handle newlines better
11954
11955 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11956
11957         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11958
11959 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * text2.C (getParFromID): removed
11962
11963         * buffer.C (getParFromID): new method moved form lyxtext.
11964         * BufferView2.C (insertErrors): adjust
11965         (setCursorFromRow): adjust
11966         * BufferView_pimpl.C (restorePosition): adjust
11967         * lyxfunc.C (Dispatch): adjust
11968         * undo_funcs.C (textUndo): adjust
11969         (textRedo): adjust
11970         (textHandleUndo): adjust
11971         (textHandleUndo): adjust
11972
11973 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11974
11975         * buffer.C: up' the LYX_FORMAT
11976
11977         * lyxfont.h: turn NO_LATEX on as default
11978
11979         * buffer.C (insertErtContents): new methods of tex style compability.
11980         (parseSingleLyXformat2Token): use it several places.
11981         * tabular.C (OldFormatRead): and here
11982
11983 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11984
11985         * text2.C: remove some commented code.
11986         reindent file.
11987
11988         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11989         * trans.C: changes because of the above.
11990
11991 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11992
11993         * text2.C (setCounter): Fix counters bug with bibliography layout.
11994
11995 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11998         own member functions
11999         (simpleTeXSpecialChars): ditto
12000
12001 2001-07-06  Juergen Vigna  <jug@sad.it>
12002
12003         * a lot of files: changed the access to LyXText::status and the
12004         call of undo-functions.
12005
12006         * undo.[Ch]: added a inset_id to the undo informations.
12007
12008         * undo_funcs.[Ch]: added and moved here all undo functions.
12009
12010         * lyxtext.h: give the status enum a weight, made status_ a private
12011         variable and made accessor functions for it, removed the whole bunch
12012         of undo-functions as they are now in their own file, make some
12013         functions publically available. Added function ownerParagraph with
12014         int parameter.
12015
12016         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12017         made InInset() a const function, added getParFromID() function.
12018
12019         * buffer.[Ch]: added const version for inset_iterator functions,
12020         added getInsetFromID() function.
12021
12022         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12023         changed undo functions for new version.
12024
12025 2001-07-05  Juergen Vigna  <jug@sad.it>
12026
12027         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12028         unknow mechanism does not call the proper constructor but only this
12029         one also if I request the other!?
12030
12031 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12034
12035         * text2.C (LyXText): use initialization lists.
12036
12037         * lyxtext.h (Selection): initialize set_ and mark_
12038         (init): remove method
12039
12040 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12041
12042         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12043
12044 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * screen.[Ch]: change method names to begin with lowercase
12047
12048         * BufferView_pimpl.C (updateScrollbar): simplify further and
12049         hopefully make it a bit faster.
12050
12051 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12054         calling directly xforms functions.
12055
12056         * Painter.C (Painter):
12057         * lyx_cb.C (MenuWrite):
12058         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12059         fl_display.
12060
12061         * lyx_gui.C: remove bogus guiruntime extern declaration.
12062
12063 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12066         in NEW_INSETS
12067         (redoDrawingOfParagraph): ditto
12068         (redoParagraphs): ditto
12069         (cutSelection): don't create a object for CutAndPaste use the
12070         static method directly
12071         (pasteSelection): ditto
12072
12073         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12074         LyXview (+ rename)
12075
12076 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12077
12078         * modifications to some other files because of this.
12079
12080         * Makefile.am (lyx_SOURCES): add XFormsView
12081
12082         * XFormsView.[Ch]: new files
12083
12084         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12085         the main window. Move the gui dependent stuff to XFormsView
12086
12087 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * tabular.C (GetCellInset): update cur_cell also in the row/col
12090         version of this function.
12091
12092         * lyxfunc.C: no need to include figure_form.h here.
12093
12094         * FontLoader.h:
12095         * lyxfunc.h:
12096         * lyxscreen.h:
12097         * text2.C:
12098         * lyxvc.C: no need to include forms.h here.
12099
12100 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12101
12102         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12103
12104         * lyxfunc.C (Dispatch):
12105         * Spacing.C (set):
12106         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12107         constructor argument.
12108
12109 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12110
12111         * paragraph.C (Paragraph): dont't clear, and just set layout.
12112         (makeSameLayout): use params's copy contructor.
12113
12114         * ParagraphParameters.[Ch] (makeSame): delete method
12115
12116 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * Variables.[Ch]: fix indentation, rename set to isSet
12119
12120 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * lyxfunc.C (Dispatch): fix typo
12123
12124 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12125
12126         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12127         upper_bound.
12128
12129         * bufferlist.C: include assert.h for emergencyWrite().
12130
12131 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12134           give up at last (bug #425202) !
12135
12136 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * lyx_gui_misc.C:
12139         * sp_form.h:
12140         * sp_form.C:
12141         * spellchecker.h:
12142         * spellchecker.C: strip spellchecker options and bring up
12143           preferences tab instead
12144
12145 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12146
12147         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12148         the istringstream constructor
12149
12150 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12151
12152         * paragraph.C (getLayout): fix return value
12153
12154         * paragraph.h: do not declare getLayout as inline.
12155
12156         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12157
12158 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * lyxcursor.h (operator<): new func
12161         (operator>): new func
12162         (operator>=): new func
12163         (operator<=): new func
12164
12165         * text.C (changeCase): use selection.start and selection.end
12166         (changeRegionCase): require from to be <= to. Require par to be a
12167         valid paragraph.
12168
12169         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12170
12171 2001-06-27  Juergen Vigna  <jug@sad.it>
12172
12173         * text.C (cursorLeftOneWord): changed to return the cursor and added
12174         overlay with BufferView * parameter which calls this one.
12175         (getWord): added
12176         (selectWord): use new getWord function.
12177         (changeCase): renamed from changeWordCase as and extended to work
12178         also on selections.
12179
12180         * lyxtext.h: added enum word_location
12181
12182         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12183         changeCase as this operates now also on selections.
12184
12185 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12186
12187         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12188
12189         * many files: send debug output to Debug::INFO instead of
12190         Debug::ANY.
12191
12192         * converter.C (View):
12193         (Convert):
12194         (Move): send debug output to Debug::FILES instead of console.
12195
12196 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12197
12198         * lyxfunc.C (getStatus): use func_status
12199
12200         * func_status.h: new header, describing the results of
12201         LyXFunc::getStatus;
12202
12203         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12204         LFUN_MATH_HALIGN.
12205
12206 2001-06-25  The LyX Project  <jug@sad.it>
12207
12208         * buffer.C (sgmlOpenTag):
12209         (sgmlCloseTag):
12210         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12211
12212 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * text2.C: remove some dead code
12215
12216         * tabular.C (GetCellInset): store the last cell checked (gotten)
12217
12218         * tabular.h: add the helper for the speedup
12219
12220         * lyxtext.h: remove some dead code
12221
12222 2001-06-26  The LyX Project  <Asger>
12223
12224         * paragraph.C: Change export to LaTeX of alignment to
12225         \begin{center} and family for better roundtrip work with reLyX.
12226
12227         * Tune the math drawing a bit.
12228
12229 2001-06-25  The LyX Project  <Asger>
12230
12231         * LColor.C (LColor): New color for math background. New color
12232         for buttons.
12233
12234 2001-06-25  The LyX Project  <jug@sad.it>
12235
12236         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12237
12238         * lyxfunc.C (Open):
12239         * bufferlist.C (newFile): do not restrict to files ending with
12240         .lyx
12241
12242         * BufferView_pimpl.C (MenuInsertLyXFile):
12243
12244 2001-06-24  The LyX Project  <jug@sad.it>
12245
12246         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12247         of compare_no_case
12248
12249 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * lyxtext.h: rename most methods to begin with a small char.
12252         Lots of changes because of this.
12253
12254         * paragraph.C (Paragraph): do not call fitToSize
12255         (erase): call Pimpl::erase
12256         (insertChar): call Pimpl::insertChar
12257         (insertInset): call Pipl::insertInset
12258         (breakParagraph): do not call fitToSize
12259         (breakParagraphConservative): do not call fitToSize
12260         (fitToSize): remove method
12261
12262         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12263
12264 2001-06-24  The LyX Project  <Asger>
12265
12266         * Fix Qt compilation^2
12267
12268 2001-06-24  The LyX Project  <jug@sad.it>
12269
12270         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12271         depthHook(getDepth()-1).
12272
12273         * paragraph.h:
12274         * ParagraphParameters.h:
12275         * ParameterStruct.h: change type of depth to unsigned int ==
12276         depth_type. Many adaptations to other files before of that.
12277
12278 2001-06-24  The LyX Project  <Asger>
12279
12280         * Fix Qt compilation.
12281
12282 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * paragraph.h: renamed several methods to begin with small letter.
12285         several changes to many parts of the code because of this.
12286
12287 2001-06-23  The LyX Project  <jug@sad.it>
12288
12289         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12290         rewritten to discard all double spaces when KeepEmpty is off
12291         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12292         to only handle newlines but not fiddle with spaces and friends.
12293
12294         * lyxfunc.C (MenuNew): when doing 'new from template', use
12295         template_path as default directory
12296
12297 2001-06-23  The LyX Project  <Asger>
12298
12299         * Clean-up of header file includes all over
12300         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12301
12302 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * paragraph.h: renamed from lyxparagraph.h
12305
12306 2001-06-23  Asger  <lyx@violet.home.sad.it>
12307
12308         * Buffer.h: Removed Buffer::resize
12309         * BufferList.h: Removed BufferList::resize
12310         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12311         the document lazily when we change the width, or the font settings.
12312
12313 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12316
12317 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12318
12319         * buffer.h: remove out of date comment
12320
12321 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * lyxscreen.h:
12324         * screen.C: fix "theoretical" GC leak
12325
12326 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12327
12328         * LaTeX.C (scanAuxFile):
12329         (deplog): remove trailing \r when reading stream (useful under
12330         win32)
12331
12332 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12333
12334         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12335         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12336         and BufferView::theLockingInset(Inset*), so should use them and not
12337         access bv_->text->the_locking_inset directly.
12338
12339         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12340
12341 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * Makefile.am:
12344         * tex-defs.h: remove old unused file
12345
12346 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * BufferView_pimpl.C: fix typo, remove minibuffer message
12349           when buffer has loaded
12350
12351 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * lyxfunc.C (Dispatch): use stringstream
12354         (MenuNew): use stringstream
12355         (Open): use stringstream
12356
12357         * importer.C (Import): use stringstream
12358
12359         * bufferview_funcs.C (CurrentState): use stringstream
12360
12361         * LaTeX.C (run): use stringstream
12362
12363         * BufferView_pimpl.C (savePosition): use stringstream
12364         (restorePosition): use stringstream
12365         (MenuInsertLyXFile): use stringstream
12366
12367 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12368
12369         * BufferView.C:
12370         * Bullet.C:
12371         * ColorHandler.C:
12372         * FontInfo.C:
12373         * FontLoader.C:
12374         * LColor.C:
12375         * LaTeXFeatures.C:
12376         * Painter.C:
12377         * gettext.C:
12378         * lyx_gui_misc.C:
12379         * lyxserver.C:
12380         * vspace.C: removed // -*- C++ -*- as first line.
12381
12382         * lyxfind.h:
12383         * version.h: added // -*- C++ -*- as first line.
12384
12385 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12386
12387         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12388
12389         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12390         of string
12391
12392 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12395         of floats.
12396
12397 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12398
12399         * gettext.C: include LString.h even when --disable-nls is on.
12400
12401 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12402
12403         * converter.h (Get): changed argument type from int to
12404         FormatList::size_type to avoid unnecessary conversion.
12405
12406         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12407         before using it.
12408
12409 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12410
12411         * gettext.h: include LString.h even when --disable-nls is on.
12412
12413 2001-06-07  Juergen Vigna  <jug@sad.it>
12414
12415         * text.C (BreakAgain): subst spaces with tabs.
12416
12417         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12418         (resizeInsetsLyXText): set force on resizeLyXText.
12419
12420 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12421
12422         * gettext.h (gettext_init):
12423         (locale_init): use a real definition instead of a macro
12424
12425 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * Bufferview_pimpl.C:
12428         * LColor.h:
12429         * LColor.C: further lcolor tidies
12430
12431 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12432
12433         * BufferView_pimpl.C (updateScrollbar): simplify.
12434
12435         * BufferView2.C: don't include insets/insetinfo.h, change
12436         prototype for insertInset and call the Pimpl version. let
12437         updateInset call Pimpl version.
12438
12439         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12440         gotoInset to BufferView::Pimpl
12441
12442 2001-06-01  Juergen Vigna  <jug@sad.it>
12443
12444         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12445         inside a LockingInset (is the update needed at all?).
12446
12447 2001-05-31  Juergen Vigna  <jug@sad.it>
12448
12449         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12450         here not the old one otherwise how should we compare it afterwards
12451         if it's the same!
12452
12453 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12454
12455         * lyxfont.C:
12456         * tabular.C:
12457         * tabular-old.C:
12458         * FontInfo.C: bring C functions into global namespace when
12459         necessary
12460
12461 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12462
12463         * LString.h: make sure config.h has been loaded before LString.h.
12464
12465         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12466         (one for each char read by EatLine!).
12467
12468         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12469         variables.
12470
12471 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12472
12473         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12474         to the same as the par we break from
12475
12476 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12479
12480         * MenuBackend.C (expand): also create menu entries for wide
12481         versions of the floats.
12482
12483         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12484
12485         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12486
12487         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12488         frontends/Makefile.am
12489
12490         * text2.C: adjust
12491         * text.C: adjust
12492
12493
12494         * tabular.C (getTokenValue): add std::
12495
12496         * tabular-old.C (getTokenValue): add std::
12497         (getTokenValue): ditto
12498         (getTokenValue): ditto
12499
12500         * screen.C (ToggleSelection): adjust
12501
12502         * lyxtext.h: put selection cursors inside a Selection struct.
12503
12504         * lyxfunc.C (moveCursorUpdate): adjust
12505
12506         * lyxfont.C (latexWriteStartChanges): add std::
12507
12508         * lyxfind.C: adjust
12509
12510         * font.h: delete with(char const *, LyXFont const &)
12511
12512         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12513
12514         * FontInfo.C (getFontname): add std::
12515
12516         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12517         (workAreaButtonPress): adjust
12518         (tripleClick): adjust
12519         (update): adjust
12520         (moveCursorUpdate): adjust
12521         (Dispatch): adjust
12522
12523         * BufferView2.C (gotoInset): adjust
12524
12525 2001-05-30  Juergen Vigna  <jug@sad.it>
12526
12527         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12528         to check pspell I add this as default as I now have new pspell
12529         libraries and they seem to use this.
12530
12531 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12532
12533         * text2.C (CutSelection): make the cursor valid before the call to
12534         ClearSelection.
12535
12536 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12539         relied on 0 terminated strings and other horrors. Bug found due to
12540         the new assert in lyxstring!
12541
12542         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12543         KP_ keys.
12544
12545 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12548         to latinkeys.bind.
12549
12550         * lyxfunc.C (processKeySym): change method of getting to the
12551         self-insert char.
12552
12553         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12554         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12555         * BufferView_pimpl.[Ch]: here as private methods.
12556
12557 2001-05-28  Juergen Vigna  <jug@sad.it>
12558
12559         * text.C (SetHeightOfRow): added the update() call again as it is
12560         needed to initialize inset dimensions!
12561
12562 2001-05-16  Juergen Vigna  <jug@sad.it>
12563
12564         * text2.C (SetCharFont): Add new function with BufferView * and
12565         bool toggleall parameters for setting insets internal fonts.
12566         (SetFont): Freeze the undo as we may change fonts in Insets and
12567         all this change should be inside only one Undo!
12568
12569         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12570         setting font's in insets as for them we have the SetFont function!
12571
12572 2001-05-15  Juergen Vigna  <jug@sad.it>
12573
12574         * text2.C (ClearSelection): to be sure we REALLY don't have any
12575         selection anymore!
12576
12577         * tabular.C (TeXCellPreamble): fixed the left border problem for
12578         multicolumn cells.
12579
12580 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12581
12582         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12583         dependancy file
12584
12585 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12586
12587         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12588         LFUN_BREAKPARAGRAPH.
12589
12590         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12591         help test to "internal only", similar for LFUN_INSERT_URL
12592
12593         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12594         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12595         auto_region_delete and deadkeys.
12596
12597 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12598
12599         * LColor.h:
12600         * LColor.C: remove some dead entries, tidy a little
12601
12602 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12603
12604         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12605         commented code.
12606         (Dispatch): implement LFUN_ESCAPE
12607
12608         * commandtags.h: add LFUN_ESCAPE
12609
12610         * LyXAction.C (init): add entry for LFUN_ESCAPE
12611
12612         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12613         Remove commented code.
12614         (insertNote): moved here
12615         (open_new_inset): moved here
12616
12617         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12618         BufferView_pimpl
12619
12620 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * kbmap.C (findbinding): clean it up and make it work correctly.
12623
12624         * lyx_main.C (init): do not pass argc and argv as parameters
12625
12626 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12627
12628         * buffer.C: fix path for OS/2 & Win32
12629
12630         * lyx_gui.C:
12631         * lyx_main:
12632         * lyx_main.C: Added os:: class.
12633
12634         * os2_defines.h: update
12635
12636 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12637
12638         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12639         better by trying again with reduced state.
12640
12641 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12642
12643         * lyxrc.C (read): print error about invalid key sequence only when
12644         debugging (because not all latinX keysyms are known to some X
12645         servers)
12646
12647         * kbsequence.C (getiso): add a few std:: qualifiers
12648         (getiso): comment out extra return statement.
12649
12650 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12653         handling.
12654         (Dispatch): enhance the accent inset a bit. (not perfect)
12655
12656 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12657
12658         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12659
12660 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12661
12662         * bufferlist.C (emergencyWrite): fix assert() call
12663
12664 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12665
12666         * text.C (InsertChar): Added trivial patch to only send the "you
12667         can not do multiple spaces this way" message once during a
12668         session.
12669
12670 2001-05-08  Baruch Even  <baruch@lyx.org>
12671
12672         * Makefile.am: Changed order of libraries to get LyX to link properly
12673         with the gnome frontend.
12674
12675 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12676
12677         * LaTeXFeatures.h: add a std:: qualifier
12678
12679 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * paragraph.C (String): use stringstream
12682
12683 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12684
12685         * paragraph.C (writeFile): remove footflag arg
12686
12687         * buffer.C (makeLaTeXFile): use stringstream
12688         (latexParagraphs): remove footnot gurba
12689
12690         * LaTeXFeatures.C (getPackages): use stringstream
12691         (getMacros): likewise
12692         (getTClassPreamble): likewise
12693         (getFloatDefinitions): new method
12694
12695         * paragraph.C (writeFile): reindent
12696         (Erase): reindent
12697
12698         * WorkArea.h: revert the xpos + etc changes.
12699
12700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12701
12702         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12703
12704         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12705         (pasteSelection): likewise
12706         * text2.C (CreateUndo): likewise
12707
12708 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * minibuffer.C (peek_event): temporarily reduce the functionality
12711         of the minibuffer (to allow args on lfuns)
12712
12713         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12714         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12715
12716         * buffer.C (readInset): add compability reading of old float
12717         lists, add reading of new style float list.
12718         (readInset): avoid reevaluation of inscmd.getCmdName()
12719         (getLists): reindent
12720
12721         * MenuBackend.C (MenuItem): implement parsing of
12722         md_floatlistinsert and md_floatinsert.
12723         (expand::LastFiles): move initalizaton of iterators out of loop,
12724         avoid reevaluation.
12725         (expand::Documents): introduce typdedef vector<string> Strings,
12726         and use it.
12727         (expand::ExportFormats): introduce typedef vector<Format const *>
12728         Formats, and use it.
12729         (expand): implement FloatListInsert and FloatInsert.
12730
12731         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12732         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12733         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12734
12735         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12736         handling.
12737         (Dispatch::LFUN_FLOAT_LIST): implement
12738
12739 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12740
12741         * LaTeX.C (run): Fix problem with --export code.
12742
12743 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12744
12745         * BufferView.[Ch] (workarea): removed.
12746         (getClipboard) new method; wrapper for workarea()->getClipboard()
12747
12748         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12749         bug.
12750
12751         * WorkArea.h (width, height, xpos, ypos): These methods all
12752         returned the dimensions of the work_area sub-area of WorkArea,
12753         resulting in a position error if the WorkArea were resized. Now
12754         return the dimensions of the entire WorkArea.
12755
12756         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12757
12758 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12759
12760         * LaTeX.C (deplog): correct the syntax of regex reg1
12761
12762 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * undo.C: remove !NEW_INSETS cruft
12765
12766 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12767
12768         * text2.C: remove !NEW_INSETS cruft
12769
12770         * text.C: remove !NEW_INSETS cruft
12771
12772         * tabular.C: remove !NEW_INSETS cruft
12773
12774         * spellchecker.C: remove !NEW_INSETS cruft
12775
12776         * lyxtext.h: remove !NEW_INSETS cruft
12777
12778         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12779
12780         * lyxfunc.C: remove !NEW_INSETS cruft
12781
12782         * lyxfind.C: remove !NEW_INSETS cruft
12783
12784         * lyx_cb.C: remove !NEW_INSETS cruft
12785
12786         * figureForm.C: remove  !NEW_INSETS cruft
12787
12788         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12789
12790         * buffer.[Ch]: remove !NEW_INSETS cruft
12791
12792         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12793
12794         * CutAndPaste.C: remove !NEW_INSETS cruft
12795
12796         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12797
12798         * BufferView2.C: remove !NEW_INSETS cruft
12799
12800         * BufferView.h: remove !NEW_INSETS cruft
12801
12802 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * Lsstream.h: include LString.h before the sstream headers to
12805         fix problem with gcc 2.95.3 and lyxstring
12806
12807 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12808
12809         * lyx_main.C: add using directives when needed for C functions
12810         declared in std:: namespace.
12811
12812 2001-04-27  Juergen Vigna  <jug@sad.it>
12813
12814         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12815         (SetHeightOfRow): comment out the update call should not be needed!
12816
12817 2001-04-13  Juergen Vigna  <jug@sad.it>
12818
12819         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12820         (LyXTabular): tried to minimize operator= operations (and realized
12821         hopfully Lars wish).
12822
12823 2001-04-27  Juergen Vigna  <jug@sad.it>
12824
12825         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12826
12827 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12830
12831         * buffer.C (readInset): hack to make listof algorithm work
12832
12833         * BufferView_pimpl.C: hack to make listof algorithm work
12834
12835 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * LyXAction.C: removed all !NEW_INSETS cruft
12838         (init): moved lfun_item in method
12839
12840         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12841
12842 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12843
12844         * BufferView2.C (theLockingInset): white space.
12845
12846 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * minibuffer.C: include <iostream>
12849
12850         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12851
12852         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12853
12854         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12855
12856         * text.[Ch] (TransposeChars): new method
12857
12858 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * call message directly through LyXView instead of through LyXFunc
12861         * BufferView2.C: adjust
12862         * BufferView_pimpl.C: adjust
12863         * FontLoader.C: adjust
12864         * buffer.C: adjust
12865         * bufferview_funcs.C: adjust
12866         * converter.C: adjust
12867         * figureForm.C: adjust
12868         * importer.C: adjust
12869         * lyx_cb.C: adjust
12870         * lyx_gui_misc.C: adjust
12871         * lyxfunc.C: adjust
12872         * lyxvc.C: adjust
12873         * text2.C: adjust
12874         + more files in subdirs
12875
12876         * lyxparagraph.h (size): move up int file
12877         (GetLayout): ditto
12878
12879         * adjust all uses of Assert to lyx::Assert.
12880
12881         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12882         lyxfunctional in namespace lyx
12883         * layout.C (hasLayout): ditto
12884         (GetLayout): ditto
12885         (GetLayout): ditto
12886         (delete_layout): ditto
12887         (NumberOfClass): ditto
12888         * converter.C (GetFormat): ditto
12889         (GetNumber): ditto
12890         (Add): ditto
12891         (Delete): ditto
12892         (SetViewer): ditto
12893         * bufferlist.C (getFileNames): ditto
12894         (emergencyWriteAll): ditto
12895         (exists): ditto
12896         (getBuffer): ditto
12897         * MenuBackend.C (hasSubmenu): ditto
12898         (hasMenu): ditto
12899         (getMenu): ditto
12900         * BufferView_pimpl.C (getInsetByCode): ditto
12901
12902 2001-04-18  Juergen Vigna  <jug@sad.it>
12903
12904         * vspace.C (asLatexString): fixed the 100% problem.
12905
12906 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12907
12908         * lyxfunc.C (Dispatch):
12909         * minibuffer.C:
12910         * minibuffer.h: add a few std:: qualifiers
12911
12912 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * minibuffer.[Ch]: reimplement so that commands is initiated and
12915         run from lyxfunc, simplified som handling, and made the completion
12916         and history code for complete. wip.
12917
12918         * lyxfunc.C (processKeySym): call message
12919         (miniDispatch): new temporary method
12920         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12921         (LFUN_MESSAGE): implement
12922         (LFUN_MESSAGE_PUSH): implement
12923         (LFUN_MESSAGE_POP): implement
12924         (initMiniBuffer): the initial/defualt minibuffer message.
12925
12926         * lyxfont.[Ch]: inline some more getters
12927
12928         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12929
12930         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12931
12932         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12933         (AutoSave): use LFUN_MESSAGE
12934         (Reconfigure): ditto
12935
12936         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12937
12938         * figureForm.C: use LFUN_MESSAGE
12939
12940         * converter.C (runLaTeX): use LFUN_MESSAGE
12941
12942         * bufferview_funcs.C: use LFUN_MESSAGE
12943         (Melt): ditto
12944         (changeDepth): ditto
12945
12946         * bufferparams.h: use boost::
12947
12948         * bufferlist.h: inherit privately from noncopyable
12949
12950         * bufferlist.C (loadLyXFile): remove some commented code.
12951
12952         * buffer.C (runChktex): use LFUN_MESSAGE
12953
12954         * ShareContainer.h: inherit privately from noncopyable
12955
12956         * ParagraphParameters.[hC] (depth): inline it.
12957
12958         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12959         methods.
12960         (message): new method
12961         (messagePush): ditto
12962         (messagePop): ditto
12963         (show): init minibuffer
12964         (showState): direct call
12965
12966         * LaTeX.[Ch]: inherit privately from noncopyable
12967         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12968         instead of WriteStatus.
12969
12970         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12971
12972         * BufferView_pimpl.C (buffer): don't init minibuffer
12973         (workAreaButtonPress): use LFUN_MESSAGE
12974         (workAreaButtonRelease): ditto
12975         (savePosition): ditto
12976         (restorePosition): ditto
12977         (MenuInsertLyXFile): ditto
12978         (workAreaExpose): don't init minibuffer
12979         (update): remove commented code, simplify
12980
12981         * BufferView2.C (openStuff): use LFUN_MESSAGE
12982         (toggleFloat): ditto
12983         (menuUndo): ditto
12984         (menuRedo): ditto
12985         (copyEnvironment): ditto
12986         (pasteEnvironment): ditto
12987         (copy): ditto
12988         (cut): ditto
12989         (paste): ditto
12990         (gotoInset): ditto
12991         (updateInset): remove some commented code
12992
12993         * lastfiles.h: inherit privately from noncopyable
12994         * layout.h: ditto
12995         * lyx_gui.h: ditto
12996         * lyx_main.h: ditto
12997         * lyxlex.h: ditto
12998         * lyxlex_pimpl.h: ditto
12999
13000         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13001         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13002         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13003
13004         * LyXAction.h: inherit privately from noncopyable, add methods
13005         func_begin, func_end, returning iterators to the func map.
13006
13007         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13008         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13009         (func_begin): new method
13010         (func_end): new method
13011
13012         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13013         and not)
13014         (copySelection): ditto
13015         (pasteSelection): ditto
13016
13017         * BufferView.C: whitespace change
13018         * BufferView.h: inherit privately from noncopyable
13019
13020 2001-04-16  Allan Rae  <rae@lyx.org>
13021
13022         * tabular-old.C (l_getline):
13023         * spellchecker.C (sc_check_word):
13024         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13025         an unrecognised preprocessor directive.  So ensure they're wrapped.
13026
13027 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13028
13029         * src/exporter.C (Export): Give an error message when path to file
13030         contains spaces.
13031
13032 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * LaTeX.C (deplog): Always check that foundfile exists.
13035
13036 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13037
13038         * lyx_main.h:
13039         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13040
13041 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13042
13043         * tabular.[Ch] (getLabelList): implement new method
13044
13045         * minibuffer.h: comment ouf setTiimer
13046
13047         * minibuffer.C (ExecutingCB): constify res
13048         (peek_event): constify s
13049         (Set): constify ntext
13050         (Init): constify nicename
13051
13052         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13053
13054         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13055         (savePosition): use two params to Minibuffer::Set
13056         (restorePosition): ditto
13057
13058 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13059
13060         * lyx_main.C: include language.h
13061
13062         * Makefile.am (lyx_main.o): add language.h
13063
13064 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13065
13066         * exporter.C:
13067         * paragraph.C:
13068         * screen.C:
13069         * tabular.C:
13070         * CutAndPaste.C: include gettext.h
13071
13072         * lyxfont.h: remove old hack with ON and OFF.
13073
13074         * lyxparagraph.h:
13075         * lyxfont.h: do not include language.h...
13076
13077         * BufferView2.C:
13078         * LaTeXFeatures.C:
13079         * Painter.C:
13080         * bufferview_funcs.C:
13081         * font.C:
13082         * lyxfont.C:
13083         * text.C:
13084         * text2.C:
13085         * trans_mgr.C:
13086         * paragraph.C: ... but do it here instead
13087
13088 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13089
13090         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13091
13092         * tabular.C: small reformat
13093
13094         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13095         NEW_INSETS version
13096         (GetChar): ditto
13097         (BreakParagraph): ditto
13098         (SetOnlyLayout): ditto
13099         (SetLayout): ditto
13100
13101         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13102         with one arg less.
13103
13104         * lastfiles.C: removed most using decl, add std:: where needed
13105
13106         * buffer.C: ws changes
13107
13108         * MenuBackend.C (class compare_format): put into anon namespace
13109         (expand): constify label, names, action, action2
13110         (expand):
13111
13112         * text.C (SingleWidth): constify font
13113         (IsBoundary): constify rtl2
13114         (GetVisibleRow): constify ww
13115
13116         * LaTeX.C (deplog): constify logfile
13117
13118         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13119         start_x, end_x
13120         (workAreaExpose): constify widthChange, heightChange
13121
13122         * lyxrow.C (par): moved
13123         (height): moved
13124         (next): moved
13125         * lyxrow.h: as inlines here
13126
13127         * lyxfont.h (shape): moved from lyxfont.C
13128         (emph): moved from lyxfont.C
13129
13130         * lyxfont.C (LyXFont): use initialization list for all
13131         constructors
13132         (shape): move to lyxfont.h as inline
13133         (emph): move to lyxfont.h as inline
13134
13135
13136 2001-04-04  Juergen Vigna  <jug@sad.it>
13137
13138         * vspace.C: had to include stdio.h for use of sscanf
13139
13140 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * BufferView.h:
13143         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13144         independent of xforms.
13145
13146 2001-04-02  Juergen Vigna  <jug@sad.it>
13147
13148         * spellchecker.C: fixed namespace placing!
13149
13150 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13153         the LyXParagraph * is 0.
13154
13155 2001-03-29  Juergen Vigna  <jug@sad.it>
13156
13157         * vspace.C: added support for %, c%, p%, l%.
13158         (stringFromUnit): added helper function.
13159         (asLatexString): changed to give right results for the %-values.
13160
13161         * buffer.C: convert the widthp in a width%.
13162
13163 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13164
13165         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13166         figureForm.[Ch].
13167
13168         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13169         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13170
13171         * lyx_cb.[Ch]: see above.
13172
13173         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13174         form1.[Ch].
13175
13176         * form1.[Ch]:
13177         * lyx.[Ch]: replaced by figure_form.[Ch].
13178
13179         * lyx_gui.C:
13180         * lyx_gui_misc.C:
13181         * lyxfunc.C: changed headers associated with above changes.
13182
13183 2001-03-27  Juergen Vigna  <jug@sad.it>
13184
13185         * BufferView_pimpl.C: set the temporary cursor right!
13186
13187 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13188
13189         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13190
13191 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13192
13193         * LString.h: removed "using std::getline"!
13194
13195         * BufferView_pimpl.C (Dispatch): changes due to changes in
13196         InsetInclude::Params.
13197
13198         * buffer.C (tag_name): removed redundant break statements as they were
13199         producing lots of warnings with my compiler.
13200
13201 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13202
13203         * LString.h: add "using std::getline" when using the real <string>.
13204
13205 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13206
13207         * buffer.C: removed bitset usage.
13208         PAR_TAG moved to an anonymous name space.
13209         (tag_name): new funtion, also in the anonymous namespace.
13210         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13211         (makeDocBookFile): clean code. Completed transition from string arrays
13212         to string vectors.
13213         (SimpleDocBookOnePar): code clean.
13214
13215 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13216
13217         * tabular.C: add some comments.
13218
13219 2001-03-22  Juergen Vigna  <jug@sad.it>
13220
13221         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13222         compatibility read a bit and fixed bug with minipage in different
13223         depth.
13224
13225 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13226
13227         * buffer.C (pop_tag): removed.
13228         (push_tag): removed.
13229         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13230         array replaced with vector. Added support for CDATA sections.
13231         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13232         at any nest level.
13233         (makeDocBookFile): XML conformant declaration of CDATA section,
13234         fixed bug related to <emphasis> in the first paragraph char.
13235         (sgmlOpenTag): exclude empty tags.
13236         (sgmlCloseTag): ditto.
13237
13238         * buffer.h (pop_tag): removed.
13239         (push_tag): removed.
13240
13241 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13242
13243         * language.h (Languages): added size_type and size().
13244
13245 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13246
13247         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13248         response on compability reading of minipages. One probliem is that
13249         the old usage of minipages was «flertydig»
13250
13251         * several files here and in subdirs: don't use static at file
13252         scope use anon namespaces instead.
13253
13254 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13255
13256         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13257         LaTeX output. This is necessary for Literate document
13258         processing.
13259
13260 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13261
13262         * buffer.C: insert hfill when needed.
13263
13264         * tabular.C (l_getline): use string::erase, small whitespace change.
13265
13266         * BufferView_pimpl.C: try the anon namespace.
13267         * WorkArea.C: ditto
13268
13269 2001-03-16  Juergen Vigna  <jug@sad.it>
13270
13271         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13272         otherwise it won't open options-dialogs.
13273
13274         * buffer.C: honor pextraWidth(p) on converting minipages.
13275
13276         * tabular.C (l_getline): changed the functions to strip trailing \r.
13277
13278 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13279
13280         * BufferView_pimpl.C:
13281         * minibuffer..C: added "using SigC::slot" declaration.
13282
13283 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13284
13285         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13286
13287         * text2.C: ditto
13288
13289         * text.C: ditto
13290
13291         * paragraph.C: ditto
13292
13293         * lyxtext.h: NO_PEXTRA
13294
13295         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13296
13297         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13298         * ParameterStruct.h: ditto
13299         * ParagraphParameters.h: ditto
13300         * lyxparagraph.h: ditto
13301
13302 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13303
13304         * buffer.C: add compability for minipage alignment.
13305         (latexParagraphs): remove unwanted pextra check.
13306
13307         * several files: remove CXX_WORKING_NAMESPACES
13308
13309         * buffer.C (pop_tag): tie is in namespace boost
13310
13311         * BufferView.h: noncopyable is in namespace boost
13312         * lyxlex.h: ditto
13313         * lyx_main.h: ditto
13314         * lyx_gui.h: ditto
13315         * layout.h: ditto
13316         * lastfiles.h: ditto
13317         * bufferlist.h: ditto
13318         * ShareContainer.h: ditto
13319         * LyXView.h: ditto
13320         * LyXAction.h: ditto
13321         * LaTeX.h: ditto
13322
13323 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13324
13325         * Merging changes from BRANCH_MVC back into HEAD.
13326
13327         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13328
13329 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * BufferView_pimpl.C: change from intl.C
13332
13333         * combox.h:
13334         * combox.C:
13335         * Makefile.am: move combox.*
13336
13337         * form1.h:
13338         * form1.C:
13339         * lyx_gui.C:
13340         * intl.h:
13341         * intl.C: remove dialog (covered by prefs)
13342
13343 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13344
13345         * lyxfunc.C (Dispatch): removed redundant break statement.
13346
13347 2001-03-14  Juergen Vigna  <jug@sad.it>
13348
13349         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13350
13351 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13352
13353         * buffer.C: add hack to fix compability reading of minipages.
13354
13355 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13356
13357         * buffer.C (getLists): Cleanup.
13358
13359 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13360
13361         * lyxfont.C (update): don't honor toggleall on font size.
13362
13363 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13364
13365         * bmtable.c:
13366         * bmtable.h:
13367         * Makefile.am: moved to frontends/xforms/
13368
13369         * lyx_gui_misc.C:
13370         * lyxfunc.C:
13371         * BufferView_pimpl.C: changes for moved mathpanel
13372
13373 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13374
13375         * gettext.h: fix gettext_init() in --disable-nls
13376
13377 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13378
13379         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13380
13381 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13382
13383         * lyx.C:
13384         * lyx.h: strip external form
13385
13386 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13387
13388         * BufferView_pimpl.C: add comment, destroySplash()
13389
13390 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * BufferView_pimpl.C:
13393         * LyXAction.C:
13394         * buffer.C:
13395         * commandtags.h:
13396         * lyxfunc.C: use re-worked insetinclude
13397
13398 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13399
13400         * buffer.C: add using std::stringstream.
13401
13402         * lyx_cb.C: readd using std::ios.
13403
13404         * buffer.C: add using std::map.
13405
13406         * BufferView_pimpl.C: add using std::vector.
13407
13408         * ShareContainer.h: add std:: to swap.
13409
13410         * buffer.h: add some typedefs
13411         * buffer.C (getLists): use them
13412         (getLists): renamed from getTocList.
13413         add a counter for the different float types and use it in the
13414         generated string.
13415         (getLists): use the same counter for the NEW_INSETS and the "non"
13416         NEW_INSETS
13417
13418         * lyx_cb.h: remove unused items, includes, using etc.
13419
13420         * ShareContainer.h: remove some commented code, add more comments
13421         and "documentation".
13422
13423 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13424
13425         * buffer.C (getTocList): make the list also when NEW_INSETS is
13426         defined.
13427
13428         * buffer.h: remove TocType
13429
13430         * buffer.C (getTocList): change to return a map<string,
13431         vector<TocItem> >, implement for dynamic number of list.
13432
13433         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13434         * text2.C (PasteSelection): adjust
13435         * CutAndPaste.C (pasteSelection): adjust
13436
13437         * FloatList.C (FloatList): update from the new_insets branch.
13438         * Floating.[Ch]: ditto
13439         * LaTeXFeatures.C: ditto
13440         * buffer.C: ditto
13441         * lyxlex_pimpl.C: ditto
13442
13443         * paragraph.C (Last): remove when NEW_INSETS is defined.
13444
13445         * other file: changes because of the above.
13446
13447 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13448
13449         * lyxparagraph.h: rename next to next_, previous to previous_,
13450         make them private for NEW_INSETS. Rename Next() to next(),
13451         Previous() to previous().
13452
13453         * other files: changes because of the above.
13454
13455 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13456
13457         * BufferView.h:
13458         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13459         problem.
13460
13461 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13462
13463         * main.C (main): pass lyx_localedir to gettext_init().
13464
13465         * gettext.h: remove locale_init and gettext_init macros
13466
13467         * gettext.C (locale_init): new function
13468         (gettext_init): new function
13469
13470         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13471         setlocale().
13472
13473 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13474
13475         * Moved credits to frontends:
13476         * credits.[Ch]: removed
13477         * credits_form.[Ch]: removed
13478         * lyx_gui_misc.C: remove credits stuff
13479         * Makefile.am:
13480
13481 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13482
13483         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13484
13485         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13486         unneeded destructor.
13487
13488         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13489         a standalone pointer again.
13490
13491         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13492
13493 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * Makefile.am:
13496         * filedlg.h:
13497         * filedlg.C:
13498         * LyXAction.C:
13499         * ToolbarDefaults.C:
13500         * bufferlist.C:
13501         * commandtags.h:
13502         * form1.C:
13503         * form1.h:
13504         * lyx_cb.C:
13505         * lyx_cb.h:
13506         * lyxfunc.h:
13507         * lyxfunc.C:
13508         * BufferView_pimpl.C: use new file dialog in GUII
13509
13510         * lyx_cb.h:
13511         * lyx_cb.C: remove LayoutsCB to Toolbar
13512
13513 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13514
13515         * ShareContainer.h (get): add std:: qualifier
13516
13517 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13518
13519         * ShareContainer.h: define a proper ShareContainer::value_type
13520         type (and use typename to please compaq cxx)
13521
13522 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13523
13524         * lyxparagraph.h: move serveral local vars to
13525         ParameterStruct/ParagraphParameters., use ShareContainer in
13526         FontTable., make vars in FontTable private and add getter and
13527         setter.
13528
13529         * paragraph.C: changes because of the above.
13530
13531         * lyxfont.h: remove copy constructor and copy assignment. (the
13532         default ones is ok), move number inside FontBits. move inlines to
13533         lyxfont.C
13534
13535         * lyxfont.C: add number to initializaton of statics, move several
13536         inlines here. constify several local vars. some whitespace
13537         cleanup. Dont hide outerscope variables.
13538
13539         * Spacing.h: add two new constructors to match the set methods.
13540
13541         * ShareContainer.h: new file, will perhaps be moved to support
13542
13543         * ParameterStruct.h: new file
13544
13545         * ParagraphParameters.h: new file
13546
13547         * ParagraphParameters.C: new file
13548
13549         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13550         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13551
13552         * BufferView_pimpl.C: ParagraphParameter changes.
13553         * buffer.C: Likewise.
13554         * bufferview_funcs.C: Likewise.
13555         * text.C: Likewise.
13556         * text2.C: Likewise.
13557
13558 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13559
13560         * lyxfind.C (LyXReplace): do not redefine default argument in
13561         implementation.
13562         (IsStringInText): ditto
13563         (SearchForward): ditto
13564         (SearchBackward): ditto
13565
13566 2001-03-06  Juergen Vigna  <jug@sad.it>
13567
13568         * lyxfind.C (IsStringInText): put parentes around expressions.
13569
13570 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13571
13572         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13573
13574 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13577
13578         * stl_string_fwd.h: add comment
13579
13580         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13581
13582         * tabular.h:
13583         * tabular.C: remove unused DocBook methods
13584
13585         * intl.C:
13586         * language.C:
13587         * paragraph.C:
13588         * buffer.C:
13589         killed DO_USE_DEFAULT_LANGUAGE
13590
13591 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13592
13593         * lyx_gui.C: do not include language.h.
13594
13595         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13596         arguments in function implementation.
13597
13598 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13599
13600         * BufferView_pimpl.C: add <ctime>
13601
13602 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13603
13604         * BufferView_pimpl.C: add using std::find_if
13605
13606 2001-02-27  José Matos  <jamatos@fep.up.pt>
13607
13608         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13609         by OnlyPath.
13610
13611 2001-02-11  José Matos  <jamatos@fep.up.pt>
13612
13613         * buffer.C (makeDocBookFile): command styles now have a parameter as
13614         "title" by default.
13615
13616 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13617
13618         * layout_forms.[Ch]: removed
13619         * lyx_cb.[Ch]: out character
13620         * lyx_gui.C: out character
13621         * lyx_gui_misc.C: out character
13622         * bufferview_funcs.C: : out character,
13623         added toggleall as parameter in ToggleAndShow
13624
13625 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13626
13627         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13628
13629         * text2.C (SetCurrentFont): Disable number property at boundary.
13630
13631 2001-02-26  Juergen Vigna  <jug@sad.it>
13632
13633         * lyxfunc.C (getStatus): added a string argument override function so
13634         that this is correctly called from LyXFunc::Dispatch if it contains a
13635         do_not_use_argument which is used!
13636         (Dispatch): added check for "custom" export and call appropriate func.
13637
13638 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13639
13640         * lyxrc.C: Add language_command_local, language_use_babel and
13641         language_global_options.
13642
13643         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13644
13645         * buffer.C (makeLaTeXFile): Use language_use_babel and
13646         language_global_options.
13647
13648 2001-02-23  Juergen Vigna  <jug@sad.it>
13649
13650         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13651         which works with LyXText and putted it inside BufferView. Here now we
13652         only call for that part the BufferView::Dispatch() function.
13653
13654         * BufferView.C (Dispatch): added.
13655
13656         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13657         functions which needs to use a LyXText over from LyXFunc.
13658         (MenuInsertLyXFile): added
13659         (getInsetByCode): added
13660         (moveCursorUpdate): added
13661         (static TEXT): added
13662
13663 2001-02-22  Juergen Vigna  <jug@sad.it>
13664
13665         * BufferView_pimpl.C (update): call a status update to see if LyXText
13666         needs it.
13667
13668 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13669
13670         * vc-backend.C (revert): implement for CVS
13671         (getLog): implement for CVS
13672
13673 2001-02-20  Juergen Vigna  <jug@sad.it>
13674
13675         * text2.C (ClearSelection): added BufferView param for inset_owner call
13676
13677         * lyxfunc.C (TEXT): added this function and use it instead of
13678         directly owner->view()-text of getLyXText().
13679
13680 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13681
13682         * src/layout_forms.C: out preamble
13683         * src/layout_forms.h: out preamble
13684         * src/lyx_cb.C: out preamble
13685         * src/lyx_cb.h: out preamble
13686         * src/lyx_gui.C: out preamble
13687         * src/lyx_gui_misc.C: out preamble
13688         * src/lyxfunc.C: connect with guii preamble
13689
13690 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13691
13692         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13693
13694 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13695
13696         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13697         whether to run bibtex.
13698
13699 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13700
13701         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13702
13703 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13704
13705         * Makefile.am (lyx_SOURCES): removed bibforms.h
13706
13707         * vspace.h: doxygen
13708
13709         * text.C (GetVisibleRow): make several local vars const
13710
13711         * tabular.C: small cleanup.
13712
13713         * lyxserver.C (callback): use compare instead of strncmp
13714
13715         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13716         inlines to after class or to paragraph.C
13717
13718         * lyxfont.h: remove friend operator!=
13719
13720         * converter.h: move friend bool operator< to non friend and after
13721         class def.
13722
13723         * combox.h: small cleanup
13724
13725         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13726         to inlines after class def.
13727
13728         * buffer.C (pop_tag): use string operations instead of strcmp
13729
13730         * bmtable.c: doxygen, small cleanup
13731
13732         * LaTeX.h: remove friend operator==
13733
13734 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13735
13736         * screen.C:
13737         * lyxrc.[Ch]:
13738         * lyxfunc.C:
13739         * lyxfont.[Ch]:
13740         * lyx_cb.C:
13741         * intl.[Ch]:
13742         * commandtags.h:
13743         * buffer.C:
13744         * WorkArea.[Ch]:
13745         * LyXAction.C:
13746         * BufferView_pimpl.C:
13747         * BufferView.[Ch]: remove cruft
13748
13749 2001-02-14  Juergen Vigna  <jug@sad.it>
13750
13751         * lyxfunc.C: removed #if 0 unused code
13752
13753         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13754
13755         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13756
13757         * text2.C (SetSelection): added a BufferView * parameter
13758
13759 2001-02-13  Juergen Vigna  <jug@sad.it>
13760
13761         * lyxfunc.C (Dispatch): fixed protected blank problem.
13762         * BufferView2.C (protectedBlank): added LyxText * parameter.
13763
13764         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13765         (AppendColumn): same as above for column_info.
13766
13767         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13768         (moveCursorUpdate): use a LyXText param for support of InsetText.
13769
13770         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13771         (tripleClick): ditto
13772
13773         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13774
13775         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13776
13777         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13778
13779         * text2.C (SetSelection): set correct update status if inset_owner
13780         (ToggleFree): ditto
13781
13782 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13783
13784         * tabular.C: remove some commented code.
13785
13786 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13787
13788         * BufferView_pimpl.C: call hideSplash()
13789
13790         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13791
13792         * include_form.h:
13793         * bibforms.h: remove
13794
13795         * lyxfunc.C:
13796         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13797           add LFUN_CHILD_CREATE
13798
13799         * counters.h: fix tiny typo
13800
13801         * lyx_cb.C:
13802         * lyx.h:
13803         * lyx_gui.C:
13804         * lyx.C: move splash to frontends/xforms/
13805
13806         * lyx_gui_misc.C: move Include and Bibform to frontends
13807
13808         * lyxvc.h: clarify comment
13809
13810         * vspace.C: tiny housekeeping
13811
13812 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13813
13814         * text.C (PrepareToPrint): RTL Fix.
13815
13816         * paragraph.C (GetUChar): New method.
13817         (String):  Use GetUChar.
13818
13819         * buffer.C (asciiParagraph): Use GetUChar.
13820
13821 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13822
13823         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13824
13825 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * buffer.h:
13828         * buffer.C: rename to getLogName(), handle
13829           build log / latex log nicely
13830
13831 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * MenuBackend.C:
13834         * MenuBackend.h: remove support for reference menuitem type.
13835
13836 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * BufferView_pimpl.C: housekeeping
13839         * BufferView_pimpl.h:
13840         * LyXView.h:
13841         * Makefile.am:
13842         * Timeout.C:
13843         * Timeout.h:
13844         * minibuffer.h: move Timeout GUI-I
13845
13846 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13847
13848         * lyxrc.C (read): Update converters data-structures.
13849
13850 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13851
13852         * LaTeX.h (operator!=): add operator != for Aux_Info
13853
13854 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13857
13858         * LaTeXLog.C: deleted, useful code moved to Buffer
13859
13860         * buffer.h:
13861         * buffer.C: new function getLatexLogName()
13862
13863         * lyx_gui_misc.C:
13864         * lyx_gui.C:
13865         * lyxvc.C:
13866         * lyxvc.h:
13867         * lyxfunc.C: use frontends for LaTeX and VC logs
13868
13869 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * LaTeX.h: yet another std:: that Allan forgot.
13872
13873         * Variables.C (set): renamed from isset(), because this clashes
13874         with some HP-UX macros (grr).
13875
13876 2001-02-06  Allan Rae  <rae@lyx.org>
13877
13878         * LaTeX.h: Another bug fix.  Missing std:: this time.
13879
13880 2001-02-04  Allan Rae  <rae@lyx.org>
13881
13882         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13883         floats problem. I've left it commented out because it's not quite
13884         correct.  It should also test that the current object is a table or
13885         figure inset.  But I haven't gotten around to figuring out how to do
13886         that.  I *think* it'll be something like: "table" == inset.type()
13887
13888         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13889         bool.
13890
13891 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13892
13893         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13894         all the citation/databases/styles in the auxilary file.
13895         (run): Rerun latex if there was a babel language error.
13896
13897 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13898
13899         * text.C (Backspace): Preserve the font when changing newline char
13900         with a space.
13901         (BreakParagraph): If the cursor is before a space, delete the space.
13902
13903         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13904
13905 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13906
13907         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13908         new argument (code).
13909         (ChangeCitationsIfUnique): New method.
13910
13911         * paragraph.C (GetPositionOfInset): Handle bibkey.
13912
13913 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * BufferView_pimpl.h: change type of Position::par_pos to
13916         LyXParagraph::size_type.
13917
13918 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13919
13920         * BufferView_pimpl.C (savePosition, restorePosition): Write
13921         messages to minibuffer.
13922
13923 2001-01-28  José Matos  <jamatos@fep.up.pt>
13924
13925         * buffer.C (makeDocBookFile): adds support for document language.
13926         A silly restriction on the name of LatexCommand types where removed.
13927         Added support for CDATA sections, allows to chars unescaped, used
13928         among others in code, to avoid escape < and >.
13929
13930 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13931
13932         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13933         saved positions instrad of a stack. Furthermore, a position is
13934         stored using paragraph id/paragraph position.
13935
13936         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13937         Remove LFUN_REF_BACK.
13938
13939 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13940
13941         * converter.C (dvipdfm_options): New method.
13942
13943 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13944
13945         * vspace.C (isValidLength): Fix for empty input string.
13946
13947 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13948
13949         * LyXAction.C (init): change description of LFUN_FIGURE to
13950         "Insert Graphics"
13951
13952 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953
13954         * LaTeX.C: add using directive
13955
13956 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13957
13958         * MenuBackend.C (expand): Fix the sorting of the formats.
13959
13960 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13961
13962         * lyx_main.C: tiny error message fix
13963
13964 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13965
13966         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13967         calling fl_initialize(). This fixes the problem with ',' as
13968         decimal separator in text files.
13969
13970 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13971
13972         * trans.C (process): Fix the keymap bug.
13973
13974 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13975
13976         * LaTeX.C (scanAuxFiles): New method. Provides support for
13977         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13978         (scanLogFile) Scan for "run BibTeX" messages.
13979
13980         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13981         OT1 font encoding. Also, load the aecompl package if the ae
13982         package is loaded.
13983
13984         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13985
13986 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * texrow.C (increasePos): turn two error messages into debug
13989         messages.
13990
13991 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13992
13993         * LaTeX.C (scanAux): Handle the \@input macro.
13994         (runBibTeX): Use scanAux().
13995
13996         * language.C (latex_options_): New field.
13997
13998         * LaTeXFeatures.C (getMacros): Add language macros.
13999
14000         * buffer.C (makeLaTeXFile): Small fix.
14001
14002 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14003
14004         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14005
14006         * text2.C: add a using directive.
14007
14008 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14009
14010         * BufferView2.C:
14011         * lyx_gui_misc.h:
14012         * lyxfr1.C:
14013         * lyxfunc.C: kill LyXBell.
14014
14015 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14016
14017         * text.C (IsBoundary): Remove the error message
14018
14019         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14020
14021         * lyxrc.C (setDefaults): Correct initialization value for
14022         font_norm_type.
14023
14024 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14025
14026         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14027         gotoError().
14028
14029         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14030         and GotoNextNote().
14031
14032         * src/LyXAction.C: Added reference-next.
14033
14034         * text.C (InsertChar): Use contains instead of strchr.
14035
14036         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14037
14038 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14039
14040         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14041         alignment commands (when needed).
14042
14043         * text.C (InsertChar): Add ':' to number separator chars.