]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b332c23a622a948b1b30a84e9bd94f18567d7502
[lyx.git] / src / ChangeLog
1 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2
3         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4         replaced
5         * paragraph_funcs.C (readParToken): put the correct id in the
6         error item, not the id of the top paragraph
7
8 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
9
10         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
11         * bufferview_funcs.C (put_selection_at): use the above
12
13 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
14
15         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
16
17 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * output_linuxdoc.h: 
20         * output_plaintext.h: 
21         * output.h: 
22         * output_docbook.h: add #include statements
23
24 2003-11-05  José Matos  <jamatos@lyx.org>
25
26         * output_docbook.[Ch]:
27         * output_latex.[Ch]:
28         * output_linuxdoc.[Ch]:
29         * output_plaintext.[Ch]: New files for output formats.
30         * output.[Ch]: New file for helper functions.
31
32         * buffer.[Ch]:
33         * paragraph_funcs.[Ch]: output functions moved to new files.
34
35         * outputparams.h: rename of latexrunparams.h
36
37         * LaTeX.[Ch]:
38         * buffer.[Ch]:
39         * bufferlist.[Ch]:
40         * converter.[Ch]:
41         * exporter.C:
42         * paragraph.[Ch]:
43         * paragraph_funcs.[Ch]:
44         * paragraph_pimpl.[Ch]:
45         * tabular.[Ch]: rename ascii to plaintext
46         and LatexRunParams to OutputParams.
47         
48 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
49
50         * iterators.[Ch] (text): require bv argument
51         * undo.C (recordUndo): 
52         * lyxfunc.C (dispatch): 
53         * bufferview_funcs.C (put_selection_at): adjust
54
55 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
56
57         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
58
59 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
60
61         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
62         nestings
63
64 2003-11-04  André Pönitz  <poenitz@gmx.net>
65
66         * cursor.[Ch]: restructure
67
68         * BufferView.[Ch]:
69         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
70
71         * iterators.[Ch] (asCursor): remove
72
73         * lfuns.h: remove LFUN_INSET_EDIT
74
75         * lyxfunc.C:
76         * tabular.C:
77         * text.C:
78         * text2.C:
79         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
80
81 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
82
83         * lyxfind.[Ch]: complete overhaul
84         * BufferView_pimpl.C:
85         * lyxfunc.C: adjust
86         * paragraph.[Ch] (insert): add
87
88 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
89
90         * BufferView.[Ch]:
91         * lyxtext.h:
92         * text.C: remove dead spellcheck code
93         
94 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
95
96         * dispatchresult.h: add a val setter
97
98         * cursor.C (dispatch): use a tempvar for data_[i]
99
100 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
101
102         * PosIterator.[Ch]: compile fix
103
104 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
105
106         * text.C (cursorPar): deactivate the cursor cache
107
108 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
109
110         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
111
112 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
113
114         * text3.C (dispatch): adjust for new DisptchResult semantics.
115
116         * lyxfunc.C (dispatch): handle update when return from
117         Cursor::dispatch, adjust for new DispatchResult semantics.
118
119         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
120         DispatchResult(true) mean to not update. Add class functions for
121         setting dispatched and update, as well as reading.
122
123         * cursor.C (dispatch): don't handle update here
124
125 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
126
127         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
128         * trans_mgr.C: adjust
129
130         * paragraph_funcs.C (readParToken): exception safety
131
132         * lyxvc.h: store the vcs pointer in a scoped_ptr
133         * lyxvc.C: adjust
134
135         * lyxsocket.C (serverCallback): exception safety
136
137         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
138
139         * ispell.C (clone): make it return a auto_ptr
140
141         * factory.C (createInset): exception safety
142         (readInset): exception safety
143
144         * bufferlist.C (newBuffer): exception safety
145
146         * Thesaurus.C (Thesaurus): use initialization for aik_
147
148         * MenuBackend.C (expandToc): exception safety.
149
150 2003-11-03  André Pönitz  <poenitz@gmx.net>
151
152         * buffer.C:
153         * buffer.h:
154         * bufferview_funcs.C: remove getInsetFromId()
155
156         * lyxcursor.[Ch]:
157         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
158
159         * lyxfunc.C:
160         * text2.C:
161         * text3.C: adjust
162
163 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
164
165         * PosIterator.C (distance, advance): new
166         * bufferview_funcs.[Ch] (put_selection_at): new
167         * iterators.[Ch] (lockPath): new
168
169 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
170
171         * iterators.[Ch] (asPosIterator): added
172         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
173         * PosIterator.[Ch]: added
174
175 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
176
177         * text3.C:
178         * lyxfunc.C:
179         * cursor.C (dispatch):
180         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
181
182         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
183         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
184         contructor, add a class function dispatched. Remove operator>=
185
186 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
187
188         * debug.C: only use the default constructor for debugstream
189         (lyxerr) here.
190
191         * main.C (main): include debug.h and setup the lyxerr streambuf
192         here.
193
194 2003-10-31  José Matos  <jamatos@lyx.org>
195
196         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
197
198         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
199         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
200         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
201         * paragraph_pimpl.C (simpleTeXSpecialC):
202         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
203         add LatexRunParams argument.
204
205         * exporter.C (Export): change call accordingly.
206
207         * latexrunparams.h: add new member to take care of the other backends.
208 2003-10-30  José Matos  <jamatos@lyx.org>
209
210         * buffer.C (makeLinuxDocFile, makeDocBookFile):
211         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
212         factorise code for paragraph output.
213         * buffer.[Ch]:
214         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
215         move functions.
216
217 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
218
219         * text3.C (dispatch):
220         * lyxfunc.C (dispatch):
221         * cursor.C (dispatch):
222         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
223
224         * dispatchresult.h: make the dispatch_result_t ctor explicit
225
226 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * sgml.[Ch]:
229         * buffer.C: small refactoring of docbook stuff
230
231 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
232
233         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
234         meaning.
235
236 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
237
238         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
239         operator dispatch_result_t, and operators for == != and >=
240
241         * cursor.C (dispatch): adjust for operator dispatch_result_t
242         removal. comment out call to update
243
244         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
245
246 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
247
248         * text3.C:
249         * text2.C:
250         * text.C:
251         * lyxtext.h:
252         * lyxfunc.C:
253         * cursor.C:
254         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
255         (dispatch):
256
257         * dispatchresult.h: new file, DispatchResult broken out of
258         insets/insetbase.h
259
260         * Makefile.am (lyx_SOURCES): add dispatchresult.h
261
262 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
263
264         * text.C (rowBreakPoint): put a hack inside #if 0
265
266 2003-10-28  André Pönitz  <poenitz@gmx.net>
267
268         * lyxtext.h:
269         * metricsinfo.C:
270         * paragraph_funcs.C:
271         * rowpainter.C:
272         * text.C:
273         * text2.C: general cleanup (lots of small stuff)
274
275 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
276
277         * text2.C (cursorEnd): simple fix to the "end key goes to one
278         before the end on last row" bug
279
280 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
281
282         * text.C (backspace): fix the "zombie characters"
283
284 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
285
286         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
287
288 2003-10-27  André Pönitz  <poenitz@gmx.net>
289
290         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
291
292         * factory.C: handle new InsetPagebreak, InsetLine
293
294         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
295         and move handling into new InsetPagebreak, InsetLine
296
297         * BufferView_pimpl.C:
298         * LyXAction.C:
299         * ParagraphParameters.C:
300         * ParameterStruct.h:
301         * lyxfunc.C:
302         * lyxtext.h:
303         * paragraph.C:
304         * paragraph.h:
305         * paragraph_funcs.C:
306         * paragraph_pimpl.C:
307         * rowpainter.C:
308         * text.C:
309         * text2.C:
310         * text3.C: adjust
311
312 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
313
314         * text.C:
315         * lyxrow_funcs.[Ch]:
316         * Bidi.C:
317         * paragraph.C:
318         * lyxtext.h:
319         * rowpainter.C:
320         * text2.C:
321         * text3.C: remove lastPos uses in favour of Row::endpos
322
323 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
324
325         * undo.C (performUndoOrRedo): fix two crashes by setting a
326         cursor by hand and reordering some calls. Use bv->lockInset instead
327         of inset->edit because the latter loses cursor information
328
329 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
330
331         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
332         by Martin
333         (rowBreakPoint): fix width. change point to point + 1.
334         Add a missing check.
335
336 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
337
338         * MenuBackend.C:
339         * lyxfunc.C: fix (at least partly) the problems
340         with the Nav menu and headers inside branch insets
341         reported by Kayvan
342
343 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
344
345         * paragraph.C (getChar): add strong asserts
346
347         * lyxrow_funcs.C (lastPos): remove hideous hack
348
349         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
350         (fill): adjust to that (avoid an infinite loop)
351
352 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
353
354         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
355
356 2003-10-23  André Pönitz  <poenitz@gmx.net>
357
358         * RowList_fwd.h: change list<> to vector<> to gain speed
359         after suggestion from Alfredo
360
361 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
362
363         * lyxtext.h: move the bidi stuff from here...
364         * text.C: and here
365         * text2.C: and here
366         * Bidi.[Ch]: ... to here
367
368 2003-10-23  André Pönitz  <poenitz@gmx.net>
369
370         * lyxtext.h:
371         * text.C (isLastRow, isFirstRow): new functions
372
373         * paragraph.h: new width cache member
374
375         * rowpainter.C: replace RowList::iterator with Row & where possible
376
377         * lyxfunc.C: replace several view()->text with a single call
378
379         * toc.C: fix 'unused' warning
380
381 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
382
383         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
384         when woring with stream::pos_type
385         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
386
387 2003-10-22  André Pönitz  <poenitz@gmx.net>
388
389         * lyxtext.h:
390         * text.C: use Row & instead of RowList::iterator
391
392         * lyxrow.h: rename end() to endpos()
393
394         * rowpainter.C:
395         * text.C:
396         * text2.C: adjust
397
398 2003-10-22  Angus Leeming  <leeming@lyx.org>
399
400         * buffer.[Ch] (fully_loaded): new member function, returning true
401         only when the file has been loaded fully.
402         Used to prevent the premature generation of previews and by the
403         citation inset to prevent computation of the natbib-style label.
404
405         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
406         templates are all set up.
407
408         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
409
410 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
411
412         * text.C: fixed an "oops" in the "is a bit silly"
413         bug fix
414
415 2003-10-21  André Pönitz  <poenitz@gmx.net>
416
417         * FuncStatus.[Ch]: small stuff, whitespace
418
419         * lyxfont.[Ch]: operator<<() for debug reasons
420
421         * lyxfunc.C:
422         * lyxrow_funcs.C:
423         * lyxtext.h: whitespace, spelling
424
425         * paragraph.C: naming of variables
426
427         * text.C:
428         * text2.C: small stuff
429
430
431 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
432
433         * text.C: (1) finish off the inset display() work;
434         (2) fix the "is a bit silly" bug (accessing char
435         past end of par).
436
437 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
438
439         * text.C: re-introduce display() for insets, fixing the
440         various bugs (stretch of line above, math inset
441         positioning, ...)
442
443 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * text.C (rightMargin): remove spurious semicolon
446
447         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
448         1415)
449
450 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
451
452         * text3.C: fix one crash due to wrong cursor def
453
454 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
455
456         * vc-backend.C (scanMaster): make the regex static
457
458         * LaTeX.C (scanAuxFile): make the regexs static
459
460         * text3.C (doInsertInset, dispatch, dispatch):
461         * text2.C (cursorUp, cursorDown):
462         * text.C (selectNextWordToSpellcheck):
463         * BufferView_pimpl.C (dispatch):
464         * lyxfunc.C (dispatch):  localDispatch -> dispatch
465
466 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * lyxsocket.C: include <cerrno>
469
470 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
471
472         * lyxfunc.C (dispatch): remove textcache stuff
473
474         * bufferlist.C (release): remove textcache stuff
475         (closeAll): ditto
476
477         * TextCache.C: delete file
478         * TextCache.h: delete file
479
480         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
481
482         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
483         delete of the bv_->text.
484         (resizeCurrentBuffer): remove texcache stuff
485         (workAreaResize): ditto
486
487 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
488
489         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
490         action.
491
492 2003-10-16  André Pönitz  <poenitz@gmx.net>
493
494         * lyxrow.[Ch]:
495         * paragraph.h:
496         * rowpainter.C:
497         * text.C:
498         * text2.C:
499         * text3.C: speed up by storing y positions per paragraph plus per-row
500         offset instead of having a 'full' y position in the row.
501
502 2003-10-15  André Pönitz  <poenitz@gmx.net>
503
504         * iterators.[Ch]:
505         * iterators.[Ch]:
506         * undo.[Ch]: make undo aware of inner insets
507
508 2003-10-14  Angus Leeming  <leeming@lyx.org>
509
510         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
511         static member functions LyX::ref() and LyX::cref.
512         (lastfiles): new accessor functions for the new lastfiles_ member var.
513         (addLyXView, views_): add a new LyXView to the list of views_.
514         (updateInset): loop over all LyXViews to call their own updateInset
515         member function, returning a pointer to the Buffer owning the inset.
516
517         * BufferView_pimpl.C (loadLyXFile):
518         * MenuBackend.C (expandLastfiles):
519         * bufferlist.C (MenuWrite, QuitLyX):
520         lastfiles is no longer a global variable.
521         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
522
523         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
524         static function. Access through LyX::cref().emergencyCleanup().
525
526 2003-10-14  André Pönitz  <poenitz@gmx.net>
527
528         * iterators.[Ch]: new direct access to innermost LyXText and Inset
529
530         * undo.[Ch]: restoring part of 'undo in insets'
531
532         * Makefile.am:
533         * undo_funcs.[Ch]: merge with undo.[Ch]
534
535         * tabular.C: small cleansing stuff
536
537 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
538
539         * paragraph_funcs.C (readParToken): report unknown insets as error
540         boxes. Use the outer paragraph as location (also for unknown
541         tokens).
542
543         * factory.C (readInset): do not abort on reading an unknown inset.
544         Eat it and return 0.
545
546 2003-10-13  Angus Leeming  <leeming@lyx.org>
547
548         * lyx_main.C (LyX): remove call to setDisplayTranslator().
549
550         * lyxrc.C: displayTranslator is now a function,
551         declared in GraphicsTypes.h.
552
553 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
554
555         * format.C: new placeholder $$a to pass the socket address.
556
557         * bufferlist.[Ch]: new function getBufferFromTmp.
558
559         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
560           files in the temporary dir.
561
562 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
563
564         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
565
566         * Makefile.am: add lyxsocket.[Ch].
567
568         * lyx_main.C (error_handler): handle SIGPIPE.
569
570 2003-10-13  André Pönitz  <poenitz@gmx.net>
571
572         * BufferView_pimpl.C:
573         * lyxtext.h:
574         * text.C:
575         * text2.C:
576         * text3.C:
577         * undo_funcs.[Ch]: use paroffset_type instead of
578           ParagraphList::iterators to prevent multiple conversion
579           (and get a more robust interface)
580
581 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
582
583         * lyxfunc.C (dispatch): RESULT -> dispatch_result
584         * lyxtext.h: ditto
585         * text3.C (dispatch): ditto
586
587 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
588
589         * LaTeX.C (handleFoundFile): move the static to smaller scope,
590         move the onlyfile, use onlyfile instead of foundfile in a couple
591         of places.
592
593         * DepTable.C (update): flush the error stream a bit more
594
595 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
596
597         * lyxserver.C (callback): adjust
598
599         * lyxfunc.C (getStatus): add a missing brace in commented code
600         (ensureBufferClean): reindent
601         (dispatch): delete version taking a string
602
603 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
604
605         * LaTeX.C (deplog): move found file handlig from here...
606         (handleFoundFile): .. to new function here.
607         (deplog): make sure to discover several files mentioned on the
608         same log line.
609
610 2003-10-10  André Pönitz  <poenitz@gmx.net>
611
612         * lyxfunc.C:
613         * lyxtext.h:
614         * tabular.C:
615         * text.C:
616         * text2.C:
617         * text3.C: fix some of the tabular crashes
618
619 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
620
621         * MenuBackend.C (binding): put debug message into Debug::KBMAP
622
623         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
624
625 2003-10-09  André Pönitz  <poenitz@gmx.net>
626
627         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
628
629         * BufferView.C:
630         * BufferView_pimpl.C:
631         * bufferview_funcs.C:
632         * lyx_cb.C:
633         * lyxcursor.C:
634         * lyxfind.C:
635         * lyxfunc.C:
636         * lyxtext.h:
637         * text.C:
638         * text2.C:
639         * text3.C:
640         * text_funcs.[Ch]:
641         * textcursor.[Ch]:
642         * undo_funcs.C: adjust
643
644 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
645
646         * text2.C (incrementItemDepth): new function, use a backtracking
647         algorithm to discover the correct item depth.
648         (resetEnumCounterIfNeeded): new function, use a backtracking
649         algorithm to discover if counter reset is needed.
650         (setCounter): use them. Simplify a bit. Add different labels for
651         different item depths for itemize.
652
653         * paragraph.C (Paragraph): remove initialization of enumdepth
654         (operator=): ditto
655
656         * paragraph.h: get rid of enumdepth, and use itemdepth both for
657         enumerate and itemize. Change the type of itemdepth to signed char.
658
659 2003-10-08  André Pönitz  <poenitz@gmx.net>
660
661         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
662           thing assignable.
663         * text.C:
664         * text2.C: adjust
665
666         * tabular.[Ch]: fix crash after 'row-insert'
667
668 2003-10-08  Angus Leeming  <leeming@lyx.org>
669
670         Fix doxygen warnings.
671
672         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
673         Remove CutAndPaste:: prefix from header file declaration.
674
675         * LColor.h (fill): remove LColor:: prefix from declaration.
676
677         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
678         use lyx::depth_type rather than Paragraph::depth_type so that
679         header file and .C file match.
680
681         * converter.h (intToFormat): remove Converters:: prefix from declaration.
682
683         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
684         * aspell.C: \file aspell_local.C -> \file aspell.C
685         * gettext.C: \file gettext.C -> \file src/gettext.C
686         * gettext.h: \file gettext.h -> \file src/gettext.h
687         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
688         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
689         * text.C: \file text.C -> \file src/text.C
690
691         * toc.C: move comment so that doxygen is not confused.
692
693 2003-10-07  Angus Leeming  <leeming@lyx.org>
694
695         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
696
697 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
698
699         * aspell.C:
700         * aspell_local.h: add forgotten std::string's.
701
702 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
703
704         * LaTeXFeatures.C:
705         * LyXAction.C:
706         * factory.C:
707         * lfuns.h:
708         * lyxfunc.C:
709         * text3.C: The Box patch. Fancybox support, minipage, parbox
710
711 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
712
713         * CutAndPaste.h:
714         * DepTable.h:
715         * FloatList.h:
716         * LaTeXFeatures.h:
717         * ParagraphParameters.h:
718         * TextCache.h:
719         * Thesaurus.h:
720         * bufferlist.h:
721         * exporter.h:
722         * importer.h:
723         * lastfiles.h:
724         * lyxfind.h:
725         * lyxfont.h:
726         * lyxlex.h:
727         * lyxtextclasslist.h:
728         * messages.h:
729         * paragraph.h:
730         * paragraph_pimpl.C:
731         * textcursor.h: add <string> and other small fixes to make Lars'
732         std::string patch compile with STLport.
733
734 2003-10-06  Angus Leeming  <leeming@lyx.org>
735
736         * LColor.h: Add missing #include <string>.
737
738 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
739
740         * All most all file in all subdirs: Make <string> be the prefered
741         way of getting to std::string, add using declarations.
742
743 2003-10-06  André Pönitz  <poenitz@gmx.net>
744
745         * metricsinfo.C: initialize LyXFont before changing attribute.
746         (fixes the 'math in \emph is upright' bug)
747
748 2003-10-06  André Pönitz  <poenitz@gmx.net>
749
750         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
751
752 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
753
754         * graph.C:
755         * paragraph_pimpl.C: Small fixes to build using STLport
756
757 2003-10-02  André Pönitz  <poenitz@gmx.net>
758
759         * lyxfunc.C:
760         * text3.C: move handling of LFUN_DEPTH *; fix #1360
761
762 2003-10-01  André Pönitz  <poenitz@gmx.net>
763
764         * factory.C: assert early
765
766 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
767
768         * lyx_main.C: remove the global debug object
769
770         * debug.h: adjust for new debugstream
771
772         * debug.C: adjust for new debugstream and keep the global debug
773         object here.
774
775 2003-09-22  Angus Leeming  <leeming@lyx.org>
776
777         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
778         of g++ which otherwise complain that the scoped_ptr destructor can't delete
779         an incomplete class LyXFont.
780
781 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
782
783         * factory.C: bug fix in branches
784
785 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
786
787         * lyxfunc.C (processKeySym): adjust
788         (dispatch): adjust
789         (dispatch): change arg name from ev to func, adjust
790         (sendDispatchMessage): ditto
791
792         * lyx_main.C (defaultKeyBindings): adjust keybindings
793         (deadKeyBindings): ditto
794
795         * kbsequence.C (addkey): return a FuncRequest
796
797         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
798
799         * kbmap.C (bind): take a FuncRequest as arg, adjust
800         (read): adjust
801         (lookup): adjust
802         (defkey): change to take a FuncRequest as arg, adjust
803         (findbinding): take a FuncRequest as arg, adjust.
804
805         * funcrequest.h (operator=): added
806
807         * funcrequest.C (FuncRequest): default kb_action changed from
808         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
809
810         * buffer.C (dispatch): simplify
811         (dispatch): adjust to take a FuncRequest as arg, adjust
812
813         * boost.C (assertion_failed): change assertion message slightly
814
815         * ToolbarBackend.C (read): simplify
816
817         * MenuBackend.C (binding): adjust call to findbinding, add a
818         message if no binding is found.
819         (read): simplify
820         (expandToc): correct by adding a empty FuncRequest
821
822         * LyXAction.C: include <boost/assert.hpp>
823         (isPseudoAction): delete function
824         (LookupFunc): change name to...
825         (lookupFunc): this. change return type to FuncRequest.
826         (getActionName): take kb_action as arg, simplify
827         (funcHasFlag): add an assert, simplify.
828
829 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
830
831         * toc.C (action): return a FuncRequest, simplify
832
833         * lyxfunc.C (processKeySym): adjust
834         (getStatus): delete version that takes an int.
835         (getStatus): adjust
836         (dispatch): delete version that takes action as int
837         (dispatch): adjust
838         (sendDispatchMessage): simplify and adjust
839
840         * funcrequest.C (getArg): take unsigned int as arg
841
842         * ToolbarBackend.C (read): adjust
843         (add): delete version that takes func as a string.
844         (getIton): take a FuncRequest as arg
845
846         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
847         action.
848
849         * MenuBackend.C (MenuItem): add a new construct that only takes a
850         Kind, simplify the constructor use for submenus.
851         (add): adjust
852         (expandLastfiles): adjust
853         (expandDocuments): adjust
854         (expandFormats): adjust
855         (expandFloatListInsert): adjust
856         (expandFloatInsert): adjust
857         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
858
859         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
860         Remove class variables lyx_pseudo_map and lyx_arg_map
861
862         * LyXAction.C (searchActionArg): delete function
863         (getPseudoAction): delete function
864         (retrieveActionArg): delete function
865         (LookupFunc): make it return kb_action, simplify.
866         (getActionName): simplify
867
868         * factory.C (createInset): fix new bug
869
870 2003-09-19  Angus Leeming  <leeming@lyx.org>
871
872         * CutAndPaste.C (pasteSelection): remove fudge used to set the
873         masterFilename_ parameter in the include inset.
874
875         * factory.C (createInset): changes due to the changes to InsetInclude.
876
877 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
878
879         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
880
881 2003-09-18  Angus Leeming  <leeming@lyx.org>
882
883         * buffer.C:
884         * BufferView.C: pass the buffer when calling Inset::getLabelList,
885         Inset::fillWithBibKeys.
886         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
887
888 2003-09-18  Angus Leeming  <leeming@lyx.org>
889
890         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
891         variables.
892         (ctor): pass and store a 'Buffer const &'
893         (buffer): new member function.
894
895         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
896         '*this' to the LaTeXFeatures ctor.
897
898 2003-09-18  Angus Leeming  <leeming@lyx.org>
899
900         * LColor.h:
901         * lyxfont.C:
902         * lyxfont.h:
903         * lyxtext.h:
904         * text.C: rename EnumLColor as LColor_color.
905
906 2003-09-18  Angus Leeming  <leeming@lyx.org>
907
908         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
909         remove #include "insets/insetbase.h" from cursor.h.
910
911 2003-09-18  Angus Leeming  <leeming@lyx.org>
912
913         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
914         InsetOld_code to remove #include "inset.h".
915
916         * iterators.C: add #include "insets/inset.h"
917
918 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
919
920         * BufferView.C: remove more locking stuff that apparently doesn't
921         do anything sensible.
922
923 2003-09-16  André Pönitz  <poenitz@gmx.net>
924
925         * paragraph.[Ch]:
926         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
927           performance boost.
928
929 2003-09-16  Angus Leeming  <leeming@lyx.org>
930
931         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
932
933         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
934         arg/return type.
935
936         * paragraph.h: remove #include "lyxfont.h". Forward declare
937         LyXFont_size.
938
939 2003-09-16  Angus Leeming  <leeming@lyx.org>
940
941         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
942         of support/textutils.h.
943         (isWord): move the contents of support/textutils.h's IsWordChar here.
944
945         * buffer.C:
946         * lyxfind.C:
947         * rowpainter.C:
948         * text.C:
949         * text2.C: add #include "paragraph.h".
950
951         * rowpainter.C:
952         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
953
954 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
955
956         * main.C:
957         * lyx_main.C:
958         * lyx_cb.C:
959         * buffer.C:
960         * LaTeX.C: use namespace alias for lyx::support::os
961
962 2003-09-16  Angus Leeming  <leeming@lyx.org>
963
964         * bufferparams.C:
965         * bufferview_funcs.C:
966         * factory.C:
967         * lyxfunc.C:
968         * paragraph_pimpl.C:
969         * rowpainter.C:
970         * text.C: add #include "LColor.h".
971
972 2003-09-16  Angus Leeming  <leeming@lyx.org>
973
974         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
975         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
976         return LyXFont &.
977         Store the FontBits::color variable as an int rather than as an
978         LColor::colorso that we can move LColor.h out of the lyxfont.h header
979         file.
980
981         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
982         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
983         string calls together.
984
985         * lyxrc.C: add #include "LColor.h".
986
987 2003-09-15  Angus Leeming  <leeming@lyx.org>
988
989         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
990         a cow_ptr.
991
992 2003-09-15  Angus Leeming  <leeming@lyx.org>
993
994         * LColor.h: add an EnumLColor wrapper for LColor::color.
995
996         * lyxfont.[Ch] (color, setColor, realColor):
997         * lyxtext.h, text.C (backgroundColor):
998         pass EnumLColor args to/from the functions, rather than LColor::color
999         ones.
1000
1001         * lyxfont.h:
1002         * lyxtext.h: forward declare EnumLColor.
1003
1004         * lyx_main.C: add #include "LColor.h".
1005
1006 2003-09-15  Angus Leeming  <leeming@lyx.org>
1007
1008         * .cvsignore: add lyx-gtk.
1009
1010 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1011
1012         * Chktex.C
1013         * LaTeX.C
1014         * LaTeXFeatures.C
1015         * ParagraphParameters.C
1016         * Spacing.C
1017         * buffer.C
1018         * bufferparams.C
1019         * bufferview_funcs.C
1020         * chset.C
1021         * counters.C
1022         * funcrequest.C
1023         * lyxfont.C
1024         * lyxgluelength.C
1025         * lyxlength.C
1026         * paragraph.C
1027         * paragraph_funcs.C
1028         * text3.C
1029         * vc-backend.C: remove usage of STRCONV
1030
1031 2003-09-15  Angus Leeming  <leeming@lyx.org>
1032
1033         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1034         explicitly define the color passed to the painter.
1035
1036 2003-09-15  Angus Leeming  <leeming@lyx.org>
1037
1038         * bufferparams.C (BufferParams): reorder member initializers to avoid
1039         compiler warning.
1040
1041 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1042
1043         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1044         * text.C (updateRowPositions): remove an unusual nop
1045
1046 2003-09-12  André Pönitz  <poenitz@gmx.net>
1047
1048         * BufferView_pimpl.C:
1049         * Bullet.C:
1050         * layout.h:
1051         * lyxfunc.C:
1052         * lyxlayout.[Ch]:
1053         * lyxtextclass.C:
1054         * rowpainter.C:
1055         * text.C:
1056         * text2.C:
1057         * Counters.[Ch]: finish the 'automatic counters' job
1058
1059 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1060
1061         * aspell.C: include <boost/assert.cpp> (compile fix)
1062
1063 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1064
1065         * boost.C (assertion_failed): use lyx::support::abort instead of
1066         assert.
1067
1068 2003-09-10  Angus Leeming  <leeming@lyx.org>
1069
1070         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1071         with their _fwd progeny.
1072
1073 2003-09-09  Angus Leeming  <leeming@lyx.org>
1074
1075         134 files throughtout the source tree: replace 'using namespace abc;'
1076         directives with the appropriate 'using abc::xyz;' declarations.
1077
1078 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1079
1080         * boost.C (emergencyCleanup): moved here from LAssert.c
1081         (assertion_failed): new function, called by BOOST_ASSERT
1082
1083         * several files: change Assert to BOOST_ASSERT
1084
1085 2003-09-09  Angus Leeming  <leeming@lyx.org>
1086
1087         * buffer.[Ch]: Add an Impl class and move Buffer's member
1088         variables into it. As a result move several header files out of
1089         buffer.h.
1090
1091         Add header files to lots of .C files all over the tree as a result.
1092
1093 2003-09-09  Angus Leeming  <leeming@lyx.org>
1094
1095         * buffer.[Ch]: make Buffer's member variables private. Add
1096         accessor functions.
1097
1098         Lots of changes all over the tree as a result.
1099
1100 2003-09-08  Angus Leeming  <leeming@lyx.org>
1101
1102         * graph.C: #include <config.h>.
1103
1104 2003-09-08  Angus Leeming  <leeming@lyx.org>
1105
1106         * BranchList.C:
1107         * BufferView.C:
1108         * BufferView_pimpl.C:
1109         * CutAndPaste.C:
1110         * DepTable.C:
1111         * LaTeX.C:
1112         * LaTeXFeatures.C:
1113         * LyXAction.C:
1114         * MenuBackend.C:
1115         * TextCache.C:
1116         * aspell.C:
1117         * buffer.C:
1118         * bufferlist.C:
1119         * changes.C:
1120         * chset.C:
1121         * converter.C:
1122         * counters.C:
1123         * debug.C:
1124         * graph.C:
1125         * ispell.C:
1126         * lyx_cb.C:
1127         * lyxfind.C:
1128         * lyxfunc.C:
1129         * lyxlex_pimpl.C:
1130         * lyxrc.C:
1131         * lyxrow.C:
1132         * paragraph.C:
1133         * rowpainter.C:
1134         * texrow.C:
1135         * text.C:
1136         * text2.C:
1137         * toc.C: remove redundant using directives.
1138
1139 2003-09-07  Angus Leeming  <leeming@lyx.org>
1140
1141         * LaTeXFeatures.h: remove #include "support/types.h".
1142         * ToolbarBackend.h: remove #include <algorithm>.
1143         * changes.h: remove #include <ctime>.
1144         * debug.h: remove #include <iosfwd>.
1145         * graph.h: remove #include "support/std_string.h".
1146         * lyx_main.h: remove #include <csignal>.
1147         * lyxlex_pimpl.h: remove #include <fstream>.
1148         * sgml.h: remove #include <algorithm>, <utility>.
1149         * toc.h: remove #include "support/std_ostream.h".
1150         Add #include <iosfwd>.
1151
1152 2003-09-07  Angus Leeming  <leeming@lyx.org>
1153
1154         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1155
1156         * converter.h: forward declare LatexRunParams.
1157         * encoding.h: remove #include "lyxrc.h".
1158         * lyxtext.h: remove #include "LColor.h".
1159         * lyxtextclass.h: remove #include "support/types.h".
1160         * trans.h: remove #include "tex-accent.h".
1161         * trans_mgr.h: remove #include "tex-accent.h".
1162         * insets/inset.h: remove #include "support/types.h", <vector>.
1163         * insets/insetcollapsable.h: remove #include "LColor.h".
1164         * insets/insetinclude.h: remove #include "dimension.h".
1165         * insets/insetlatexaccent.h: remove #include "dimension.h".
1166         * insets/insetoptarg.h:: remove #include "insettext.h".
1167         * insets/insettext.h: remove #include "dimension.h",
1168         <boost/shared_ptr.hpp>
1169
1170         * insets/renderers.h: add #include "dimension.h".
1171         * insets/updatableinset.h: add #include "support/types.h".
1172
1173         * many .C files: Associated changes.
1174
1175 2003-09-06  Angus Leeming  <leeming@lyx.org>
1176
1177         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1178         one, inside testInvariant.
1179
1180         * PrinterParams.C: new file.
1181         * PrinterParams.[Ch]: move the function bodies out of line.
1182
1183 2003-09-06  Angus Leeming  <leeming@lyx.org>
1184
1185         * ParagraphParameters.h: forward declare ParameterStruct rather than
1186         including its header file.
1187         (depth): moved out-of-line.
1188
1189 2003-09-06  Angus Leeming  <leeming@lyx.org>
1190
1191         * BufferView_pimpl.h:
1192         * kbmap.h:
1193         * kbsequence.h:
1194         * lyxfunc.h: forward declare LyXKeySym rather than
1195         #include "frontends/LyXKeySym.h".
1196
1197         * BufferView_pimpl.C:
1198         * kbmap.C:
1199         * kbsequence.C:
1200         * lyxfunc.C: associated changes.
1201
1202 2003-09-06  Angus Leeming  <leeming@lyx.org>
1203
1204         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1205         As a result, can remove the #include "insets/inset.h" from BufferView.h
1206
1207 2003-09-06  Angus Leeming  <leeming@lyx.org>
1208
1209         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1210         As a result, can remove the #include "insets/inset.h" from BufferView.h
1211
1212 2003-09-06  Angus Leeming  <leeming@lyx.org>
1213
1214         * buffer_funcs.C:
1215         * buffer.h:
1216         * bufferlist.C:
1217         * BufferView.C:
1218         * bufferview_funcs.C:
1219         * BufferView_pimpl.C:
1220         * CutAndPaste.C:
1221         * lyx_cb.C:
1222         * lyxfunc.C:
1223         * paragraph.h:
1224         * ParagraphParameters.C:
1225         * tabular.C:
1226         * text3.C:
1227         * toc.C:
1228         * undo_funcs.C:
1229         * frontends/controllers/ControlDocument.C:
1230         * insets/insetcaption.C: rearrange the #includes into some sort of
1231         coherent order.
1232
1233         * buffer.h: remove #includes ErrorList.h, undo.h
1234
1235 2003-09-06  Angus Leeming  <leeming@lyx.org>
1236
1237         * support/types.h: add a 'depth_type' typedef, used to store the
1238         nesting depth of a paragraph.
1239
1240         * paragraph.h:
1241         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1242         defining explicitly.
1243
1244         * buffer.h:
1245         * paragraph_funcs.h:
1246         * ParagraphParameters.h:
1247         * sgml.h: use lyx::depth_type rather than Paragraph or
1248         ParameterStruct's depth_type.
1249
1250         * buffer.h
1251         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1252
1253         * BufferView.C:
1254         * BufferView_pimpl.C:
1255         * CutAndPaste.C:
1256         * ParagraphParameters.C:
1257         * buffer_funcs.C:
1258         * bufferlist.C:
1259         * bufferview_funcs.C:
1260         * lyx_cb.C:
1261         * lyxfunc.C:
1262         * tabular.C:
1263         * text3.C:
1264         * toc.C:
1265         * undo_funcs.C:
1266         * frontends/LyXView.C:
1267         * frontends/controllers/ControlDocument.C:
1268         * frontends/controllers/ControlErrorList.C:
1269         * insets/insetbibitem.C:
1270         * insets/insetbranch.C:
1271         * insets/insetcaption.C:
1272         * insets/insetcollapsable.C:
1273         * insets/insetenv.C:
1274         * insets/insetert.C:
1275         * insets/insetfloat.C:
1276         * insets/insetfoot.C:
1277         * insets/insetfootlike.C:
1278         * insets/insetnewline.C:
1279         * insets/insetquotes.C:
1280         * insets/insettabular.C:
1281         * insets/insettext.C:
1282         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1283
1284         * frontends/controllers/ControlChanges.C: #include "changes.h".
1285
1286 2003-09-06  Angus Leeming  <leeming@lyx.org>
1287
1288         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1289         than #including paragraph.h.
1290
1291         * ParagraphList.h:
1292         * RowList.h: deleted. Superfluous.
1293
1294         * CutAndPaste.h:
1295         * iterators.h:
1296         * lyxcursor.h:
1297         * lyxtext.h:
1298         * text_funcs.h:
1299         * undo.h:
1300         * undo_funcs.h:
1301         * insets/inset.h:
1302         * insets/insettext.h: use ParagraphList_fwd.h rather than
1303         ParagraphList.h.
1304
1305         * paragraph.h: don't forward declare ParagraphList.
1306
1307         * buffer.h:
1308         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1309         rather than ParagraphList.h. paragraph.h is still needed for the
1310         Paragraph::depth_type parameters.
1311
1312         * textcursor.h: enable it to compile stand-alone in light of the
1313         above changes.
1314
1315         * bufferview_funcs.C:
1316         * iterators.C:
1317         * lyxfunc.C:
1318         * lyxrow_funcs.C:
1319         * paragraph.C:
1320         * rowpainter.C:
1321         * text.C:
1322         * text2.C:
1323         * text3.C:
1324         * text_funcs.C:
1325         * textcursor.C:
1326         * undo.C:
1327         * frontends/controllers/ControlParagraph.C:
1328         * frontends/controllers/ControlTabular.C:
1329         * insets/insetmarginal.C:
1330         * insets/insetminipage.C:
1331         * insets/insetnote.C:
1332         * insets/insetoptarg.C: add header files needed to compile again.
1333
1334 2003-09-06  Angus Leeming  <leeming@lyx.org>
1335
1336         * RowList_fwd.h: new file, forward-declaring Row rather than
1337         #including lyxrow.h.
1338
1339         * lyxrow_funcs.h:
1340         * lyxtext.h:
1341         * paragraph.h:
1342         * insets/insettext.h: use it instead of RowList.h
1343
1344         * bufferview_funcs.C:
1345         * lyxfunc.C:
1346         * lyxrow_funcs.C:
1347         * paragraph.C:
1348         * rowpainter.C:
1349         * text.C:
1350         * text2.C:
1351         * text3.C: #include "RowList.h".
1352
1353 2003-09-05  Angus Leeming  <leeming@lyx.org>
1354
1355         * factory.C (createInset):
1356         * vspace.C (c-tor): replace sscanf call with an istringstream.
1357         * ispell.C: re-add missing HP/UX headers.
1358         * lyxserver.C: re-add missing  os2 headers.
1359
1360 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1361
1362         * BranchList.C:
1363         * graph.C:
1364         * ispell.C:
1365         * lastfiles.C:
1366         * lyx_cb.C:
1367         * lyxserver.C:
1368         * texrow.C:
1369         * text3.C: re-add missing system headers, needed for 2.95.2.
1370
1371 2003-09-05  Angus Leeming  <leeming@lyx.org>
1372
1373         Changes most place everywhere due to the removal of using directives
1374         from support/std_sstream.h.
1375
1376 2003-09-05  Angus Leeming  <leeming@lyx.org>
1377
1378         Replace LString.h with support/std_string.h,
1379         Lsstream.h with support/std_sstream.h,
1380         support/LIstream.h with support/std_istream.h,
1381         support/LOstream.h with support/std_ostream.h.
1382
1383         Changes resulting throughout the tree.
1384
1385 2003-09-05  Angus Leeming  <leeming@lyx.org>
1386
1387         * sgml.h: ensure that the header file can be compiled stand-alone.
1388         * *.C: strip out redundant #includes. (320 in total.)
1389
1390 2003-09-04  Angus Leeming  <leeming@lyx.org>
1391
1392         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1393         here (from getPackages).
1394
1395         * debug.[Ch]: add a new EXTERNAL tag.
1396
1397 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1398
1399         * text2.C (cursorEnd): simplify
1400         (setCursor): adjust
1401         (getColumnNearX): adjust
1402
1403         * text.C (computeBidiTables): adjust
1404         (fill): adjust
1405
1406         * rowpainter.C (paintChars): adjust
1407         (paintSelection): adjust
1408         (paintChangeBar): adjust
1409         (paintText): adjust
1410
1411         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1412         lastPos instead.
1413         (numberOfSeparators): adjust
1414
1415 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1416
1417         * LyXAction.C:
1418         * box.[Ch]:
1419         * lfuns.h:
1420         * lyxfunc.C:
1421         * text3.C: Restricts the mouse click functionality
1422         of insets like bibtex, include, toc and floatlist to the visible
1423         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1424         up the dialogs. Cursor has to be in front of the inset (i.e.
1425         start of row) for this to function.
1426
1427 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1428
1429         * bufferview_funcs.C (currentState): output row information
1430
1431 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1432
1433         * bufferview_funcs.C (currentState): output paragraph position
1434
1435 2003-09-04  Angus Leeming  <leeming@lyx.org>
1436
1437         * FloatList.h: move out #include "Floating.h".
1438         * LaTeX.h: move out #include "DepTable.h".
1439         * LyXAction.h: move out #include "funcrequest.h".
1440         * buffer.h: move out #include "author.h", "iterators.h".
1441         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1442         * lyx_main.h: move out #include "errorlist.h".
1443         * lyxfunc.h: move out #include "FuncStatus.h".
1444         * lyxtext: move out #include "lyxcursor.h".
1445         * paragraph_pimpl.h: move out #include "counters.h".
1446
1447 2003-09-03  Angus Leeming  <leeming@lyx.org>
1448
1449         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1450         preamble_snippets list, enabling us to add snippets to the preamble
1451         only if the snippet was not there already.
1452
1453 2003-09-04  Angus Leeming  <leeming@lyx.org>
1454
1455         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1456
1457 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1458
1459         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1460         update
1461
1462 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1463
1464         * BranchList.C: point fix, earlier forgotten
1465
1466 2003-09-02  Angus Leeming  <leeming@lyx.org>
1467
1468         * box.C (contains): renamed from 'contained' after a fantastic
1469         amount of hot air.
1470
1471 2003-09-02  John Levon  <levon@movementarian.org>
1472
1473         * BufferView.C:
1474         * lyxcursor.h:
1475         * lyxcursor.C:
1476         * lyxfunc.C:
1477         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1478
1479 2003-09-02  John Levon  <levon@movementarian.org>
1480
1481         * text2.C: simplification of cursorEnd(), including partial
1482         fix for bug 1376
1483
1484 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1485
1486         * buffer.C (readFile): add a space
1487
1488 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1489
1490         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1491
1492 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1493
1494         * buffer.C (readFile): new function, take a filename and a
1495         ParagraphList::iterator
1496         (readFile): adjust
1497         (readFile): adjust, make it private. don't use setStream, make
1498         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1499         always contain the filename.
1500
1501         * BufferView.C (insertLyXFile): simplify and make it work for
1502         gzipped files.
1503
1504 2003-08-30  John Levon  <levon@movementarian.org>
1505
1506         * Makefile.am: fix dist (from Kayvan)
1507
1508 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1509
1510         * most files: change to use const Buffer refs
1511
1512 2003-08-27  André Pönitz  <poenitz@gmx.net>
1513
1514         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1515         on top of ownerPar().
1516
1517 2003-08-27  John Levon  <levon@movementarian.org>
1518
1519         * funcrequest.C: properly initialise POD members
1520
1521 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1522
1523         * lyxtext.h (top_y): move top_y from here
1524         * text.C:
1525         * text2.C:
1526         * text3.C:
1527         * BufferView.[Ch]:
1528         * BufferView_pimpl.[Ch]: to here
1529         * frontends/screen.C:
1530         * insets/insettabular.C:
1531         * insets/insettext.C: adjust
1532         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1533
1534 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1535
1536         * BufferView.[Ch]:
1537         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1538
1539 2003-08-26  André Pönitz  <poenitz@gmx.net>
1540
1541         * paragraph_func.[Ch] (outerPar): new function
1542
1543         * paragraph.C:
1544         * paragraph_funcs.C:
1545         * paragraph_funcs.h:
1546         * paragraph_pimpl.C:
1547         * text2.C: remove Inset::par_owner
1548
1549 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1550
1551         * lyxrow_funcs.C:
1552         * lyxtext.h:
1553         * text.C:
1554         * text2.C: eliminates the needFullRow/display() stuff
1555         altogether, putting the logic in metrics/draw in the insets.
1556
1557 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1558
1559         * text2.C (redoParagraphInternal, redoParagraphs):
1560         * text.C (redoParagraph): add a call to updateRowPositions at the
1561         end of each 'metrics-like' call. Remove all others.
1562         (getRow): remove the 'y-computing' version.
1563         (getRowNearY): do not compute nor return the real y. Solve the
1564         'y < 0' problem and simplify.
1565
1566 2003-08-22  Angus Leeming  <leeming@lyx.org>
1567
1568         * *.[Ch]: clean-up of licence and author blurbs.
1569         Also move config.h out of a few .h files and into a few .C files.
1570
1571 2003-08-22  André Pönitz  <poenitz@gmx.net>
1572
1573         * lyxrow.[Ch]: add x_ and *fill_ members
1574
1575         * lyxtext.h:
1576         * text.C:
1577         * rowpainter.C:
1578         * text2.C: adjust/remove prepareToPrint() calls
1579
1580 2003-08-22  André Pönitz  <poenitz@gmx.net>
1581
1582         * lyxrow.[Ch]: add  end_ member
1583
1584         * lyxrow_funcs.C: use LyXRow::end_
1585
1586         * lyxtext.h (singleWidth): add LyXFont parameter
1587
1588         * rowpainter.C:
1589         * text2.C: adjust LyXText::singleWidth() calls
1590
1591         * text.C (redoParagraph): simplify row breaking logic
1592
1593
1594 2003-08-19  André Pönitz  <poenitz@gmx.net>
1595
1596         * funcrequest.C: initialize button_ member
1597
1598         * text3.C:
1599         * rowpainter.[Ch]: interface consolidation
1600
1601 2003-08-18  André Pönitz  <poenitz@gmx.net>
1602
1603         * BufferView.C:
1604         * BufferView_pimpl.C:
1605         * lyxfind.C:
1606         * paragraph_funcs.C:
1607         * rowpainter.C:
1608         * text3.C: remove LyXScreen::draw() and fitCursor calls
1609
1610         * BranchList.h: remove spurious semicolons
1611
1612         * MenuBackend.C: fix branchlist related crash
1613
1614 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1615
1616         * BranchList.[Ch]:
1617         * InsetList.[Ch]:
1618         * LColor.[Ch]:
1619         * LyXAction.C:
1620         * Makefile.am:
1621         * MenuBackend.[Ch]:
1622         * bufferparams.[Ch]:
1623         * factory.C:
1624         * lfuns.h:
1625         * lyxfunc.C:
1626         * text3.C: implements the 'branch inset'
1627         idea. This allows the output of various versions of a document
1628         from a single source version, selectively outputing or suppressing
1629         output of parts of the text.
1630         This implementation contains a 'branch list editor' in a separate
1631         tab of the document settings dialog. Branches are user definable
1632         and have a "display colour" to distinguish them on-screen.
1633
1634         ColorHandler was somewhat cleaned up.
1635         (1) make possible a dynamically growing LColor list by allowing
1636         the graphic context cache to grow along (vector);
1637         (2) eliminate an IMHO unnecessary step in colour allocation.
1638
1639 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1640
1641         * BufferView_pimpl.C: compile fix
1642
1643 2003-08-15  André Pönitz  <poenitz@gmx.net>
1644
1645         * rowpainter.C: remove extra metrics calls
1646
1647         * lyxtext.h: merge the two constructors into a single one,
1648           pass reference to owner's par list
1649
1650         * BufferView_pimpl.C:
1651         * text.C:
1652         * text2.C: adjust
1653
1654 2003-08-15  André Pönitz  <poenitz@gmx.net>
1655
1656         * lyxrow_funcs.[Ch]:
1657         * lyxtext.h:
1658         * paragraph.h:
1659         * paragraph_funcs.C:
1660         * rowpainter.C:
1661         * text.C:
1662         * text2.C:
1663         * text3.C:
1664         * text_funcs.C: split LyXText::rowlist_ into individual
1665         Paragraph::rows_ chunks
1666
1667         * BufferView.[Ch]:
1668         * BufferView_pimpl.[Ch]:
1669         * lyxfind.C:
1670         * lyxtext.h:
1671         * text3.C: remove toggleSelection()
1672
1673 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1674
1675         * bufferlist.C: beautify two alerts (shorter text of buttons)
1676         * buffer.C: Remove redundant ' ' from message
1677         * tabular.h:
1678         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1679         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1680         rename VALIGN_CENTER to VALIGN_MIDDLE
1681
1682 2003-08-11  André Pönitz  <poenitz@gmx.net>
1683
1684         * lyxtext.h (getPar):
1685         * text.C: new function
1686
1687 2003-08-11  André Pönitz  <poenitz@gmx.net>
1688
1689         * Makefile.am:
1690         * tracer.[Ch]: remove unneeded files
1691
1692         * InsetList.[Ch]: remove resizeInsetsLyXText()
1693
1694         * lyxtext.h:
1695         * text.C:
1696         * text2.C:
1697         * text3.C: merge insertParagraphs() and appendParagraph()
1698         remove breakAgain(), update()
1699
1700         * BufferView_pimpl.[Ch]:
1701         * bufferview_funcs.[Ch]:
1702         * lyxfunc.C:
1703         * paragraph.[Ch]:
1704         * rowpainter.C:
1705         * tabular.C: adjust after text & InsetList changes.
1706
1707 2003-08-08  André Pönitz  <poenitz@gmx.net>
1708
1709         * text.C (insertChar, backspace): replace rowlist fiddling
1710         with rebreak of full par
1711
1712         * lyxtext.h:
1713         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1714         checkParagraph, updateInset): removed
1715
1716 2003-08-07  André Pönitz  <poenitz@gmx.net>
1717
1718         * paragraph.C:
1719         * text3.C: merge some LFUN handlers, remove dead code
1720
1721 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1722
1723         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1724
1725 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1726
1727         * text2.C (DEPM): fix part of bug 1255 and 1256
1728
1729 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1730
1731         * BufferView_pimpl.C (workAreaDispatch): change to use
1732         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1733         that are no mouse related.
1734
1735 2003-08-05  André Pönitz  <poenitz@gmx.net>
1736
1737         * BufferView.[Ch]:
1738         * BufferView_pimpl.[Ch]:
1739         * bufferview_funcs.C:
1740         * text2.C:
1741         * text3.C: rip out "deep update"
1742
1743         * textcursor.[Ch] (last_sel_cursor): remove unused member
1744
1745 2003-08-04  André Pönitz  <poenitz@gmx.net>
1746
1747         * BufferView.[Ch]:
1748         * BufferView_pimpl.[Ch]:
1749         * ParagraphParameters.C:
1750         * bufferview_funcs.C:
1751         * lyx_cb.C:
1752         * lyxfind.C:
1753         * lyxfunc.C:
1754         * text.C:
1755         * text2.C:
1756         * text3.C: replace "complicated" BufferView::update(...) calls with
1757         simpler ones.
1758
1759         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1760
1761 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1762
1763         * Makefile.am (lyx_SOURCES): add paper.h
1764
1765 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1766
1767         * Makefile.am: move things around so that both lyx-qt and
1768         lyx-xforms can be built (according to --with-frontend). Then lyx
1769         is a symbolic link to lyx-[firstfrontend]
1770
1771 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1772
1773         * Always use std::endl with lyxerr
1774
1775 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1776
1777         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1778
1779 2003-08-01  André Pönitz  <poenitz@gmx.net>
1780
1781         * BufferView.[Ch]:
1782         * BufferView_pimpl.[Ch]:
1783         * lyxfunc.C:
1784         * text3.C: merge BufferView::repaint() and BufferView::update()
1785
1786 2003-08-01  José Matos  <jamatos@lyx.org>
1787
1788         * buffer.[Ch]: file_format is no longer a buffer data element.
1789
1790 2003-08-01  André Pönitz  <poenitz@gmx.net>
1791
1792         * BufferView.C:
1793         * lyxtext.h:
1794         * text.C:
1795         * text2.C: make redoParagraph more independent of current cursor
1796
1797         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1798         * text.C:
1799         * text2.C: remove unneeded members
1800
1801 2003-07-30  André Pönitz  <poenitz@gmx.net>
1802
1803         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1804
1805         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1806           create a single function...
1807
1808         * paragraph_funcs.C (moveItem): ... here.
1809
1810         * text.C:
1811           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1812
1813 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1814
1815         * LColor.[Ch]: Add comment and greyedout logical colors.
1816
1817 2003-07-30  André Pönitz  <poenitz@gmx.net>
1818
1819         * tabular.C: don't use Assert too heavily. This crashes where it
1820           shouldn't
1821
1822 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1823
1824         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1825         is disabled (bug 1232)
1826
1827 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1828
1829         * factory.C: limited 'arg' scope
1830
1831 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1832
1833         * factory.C: fixed Note submenu issues
1834
1835 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1836
1837         * factory.C: submenu for Note/Comment/Greyedout
1838
1839 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1840
1841         * lyx_main.C (LyX):
1842         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1843
1844 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1845
1846         * LaTeXFeatures.C:
1847         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1848         greyedout. Patch provided by Jürgen Spitzmüller.
1849
1850 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1851
1852         * kbmap.C (read): fix error message when reading bind files
1853
1854 2003-07-29  Angus Leeming  <leeming@lyx.org>
1855
1856         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1857         certainly does not do what it purports to do. I am doing it, and
1858         us, a favour by killing it.
1859
1860 2003-07-28  José Matos  <jamatos@lyx.org>
1861
1862         * buffer.C (readBody, do_writeFile):
1863         * paragraph.C(readParagraph): \end_document replaces \the_end.
1864
1865 2003-07-29  André Pönitz  <poenitz@gmx.net>
1866
1867         * BufferView.[Ch]:
1868         * BufferView_pimpl.[Ch]:
1869         * lyxfunc.C:
1870         * text2.C:
1871         * text3.C:
1872         * textcursor.[Ch]: remove toggleToggle & Co
1873
1874 2003-07-28  José Matos  <jamatos@fep.up.pt>
1875
1876         * buffer.C (readParagraph):
1877         * params_func (readParToken, readParagraph):
1878         * paragraph.C (write): \layout -> \begin_layout.
1879
1880 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1881
1882         * lyxlex_pimpl.C (setFile): clean up slightly.
1883
1884         * bufferparams.h: add compressed var
1885
1886         * buffer_funcs.C (readFile): adjust for LyXLex change
1887         (newFile): ditto + simplify
1888
1889         * buffer.C (writeFile): handle writing of compressed files
1890
1891         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1892         Check if the file is compressed and set a bufferparm if so.
1893
1894         * Makefile.am (lyx_LDADD): remove explicit -lz
1895
1896 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1897
1898         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1899         makeDocBookFile): put the real LyX version in the first line of
1900         the file
1901
1902         * version.h:
1903         * version.C.in: remove lyx_docversion
1904
1905         * tabular.C (write_attribute): add a template-based version to
1906         write enums properly
1907
1908 2003-07-28  André Pönitz  <poenitz@gmx.net>
1909
1910         * lyxtext.h:
1911         * text.C:
1912         * text2.C:
1913         * text3.C: use doubles again for x-coordinates. They are needed.
1914
1915 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1916
1917         * messages.C (getLocaleDir): use lyx_localedir()
1918
1919         * lyxlex_pimpl.C (setFile): compress stuff
1920
1921         * buffer.C (writeFile): add some compression stuff
1922         (do_writeFile): new func, dont call expliti close... will this
1923         breake anything?
1924
1925         * Makefile.am (lyx_LDADD): add -lz
1926
1927 2003-07-28  José Matos  <jamatos@fep.up.pt>
1928
1929         * buffer.C: increment file format.
1930         * paragraph_funcs (readParagraph, readParToken):
1931         * paragraph.C (readParagraph): add \end_layout.
1932
1933 2003-07-27  Angus Leeming  <leeming@lyx.org>
1934
1935         * Makefile.am: remove special casing for configure-time setting of
1936         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1937
1938         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1939         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1940
1941 2003-07-26  André Pönitz  <poenitz@gmx.net>
1942
1943         * paragraph_func.[Ch]:
1944         * paragraph.C (realizeFont): inline it whereever it is used
1945
1946         * rowpainter.C:
1947         * text.C:
1948         * text2.C:
1949         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1950
1951
1952 2003-07-26  André Pönitz  <poenitz@gmx.net>
1953
1954         *       lyxtext.h:
1955         * text.C:
1956         * text2.C: get rid of LyXText::need_break_row
1957
1958 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1959
1960         * toc.[Ch]: put namespace toc inside namespace lyx
1961
1962         * MenuBackend.C (expandToc2): adjust for lyx::toc
1963         (expandToc): ditto
1964
1965         * lyxfunc.C (dispatch): adjust for lyx::find
1966
1967         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1968         lyx::find instead. Reorganize a bit.
1969         (LyXReplace): rename to replace
1970         (LyXFind): rename to find
1971
1972         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1973         (dispatch): ditto
1974
1975 2003-07-26  André Pönitz  <poenitz@gmx.net>
1976
1977         * text.C (setHeightOfRow): restrict scope of temporary variable
1978
1979         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1980           code (never has been used?)
1981
1982 2003-07-27  Asger Alstrup  <alstrup@local>
1983
1984         * text.C (fill): Optimise algorithm to exploit that we can reuse
1985         the LyXFont for many characters.
1986         (setHeightOfRow): Same thing.
1987         (rowBreakPoint): Same thing.
1988
1989 2003-07-26  Asger Alstrup  <alstrup@local>
1990
1991         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1992
1993         * text.C (singleWidth): Spurious font copying in hot-spot
1994         singleWidth avoided. Reorder tests for arabic for efficiency.
1995
1996         * text.C (fill): handle empty paragraphs better.
1997
1998 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1999
2000         * ispell.C:
2001         * encoding.h: add includes
2002
2003         * lyxrc.C: remove reading of bind files
2004
2005         * lyx_main.C (init): setup bindings and menus only if we have a
2006         gui.
2007
2008         * kbmap.C (read): new method. Do the actual reading of bind
2009         files.
2010
2011         * converter.C (dvipdfm_options):
2012         * bufferparams.C:
2013         * lyxrc.C (read):
2014         (output): adapt PAPER_* enums.
2015
2016         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2017
2018         * bufferparams.h: remove paper-related enums from there
2019
2020         * paper.h: New file. A trivial header file to hold paper-related
2021         enums. It should later expand to contain many paper-related
2022         horrors access.
2023
2024         * lyxrc.C: declare extern displayTranslator
2025
2026 2003-07-27  José Matos  <jamatos@fep.up.pt>
2027
2028         * tabular.[Ch] (linuxdoc): add support for tables and figures
2029         (linuxdoc).
2030
2031 2003-07-27  José Matos  <jamatos@fep.up.pt>
2032
2033         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2034         consistency in both functions.
2035         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2036
2037 2003-07-26  Asger Alstrup  <alstrup@local>
2038
2039         * rowpainter.C (paintRows): Change algorithm to work directly on
2040         the insets rather than asking every character in the document
2041         whether its an inset.
2042
2043 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2044
2045         * buffer.C (openFileWrite): factorize some code
2046
2047 2003-07-26  Angus Leeming  <leeming@lyx.org>
2048
2049         * lyx_cb.C:
2050         * lyx_main.[Ch]: replace occurances of system_tempdir with
2051         os::getTmpDir().
2052
2053 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2054
2055         * rename Inset to InsetOld
2056
2057 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2058
2059         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2060         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2061         which I think is a bit clearer. EDIT is gone, since it was
2062         premature optimisation, and broken for mathed anyway.
2063         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2064         with cursor positioning in insets as well (math insets still do not
2065         work, but that's a different story anyway.) It mysteriously
2066         crashes sometimes with undo in the first paragraph, but I'm fairly
2067         confident that this is a compiler bug.
2068
2069 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2070
2071         * paragraph.C (Paragraph): adjust for new clone return type
2072         (operator==): ditto
2073         (copyIntoMinibuffer): ditto
2074
2075 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2076
2077         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2078         by not having a special case, and always doing a full rebreak of
2079         the document after undo.
2080
2081 2003-07-23  Angus Leeming  <leeming@lyx.org>
2082
2083         * factory.C (createInset): InsetExternal::setParams now takes a
2084         Buffer const * arg.
2085
2086 2003-07-23  Angus Leeming  <leeming@lyx.org>
2087
2088         * factory.C (createInset): changed interface to the external and
2089         graphics mailers' string2params functions.
2090
2091 2003-07-23  Angus Leeming  <leeming@lyx.org>
2092
2093         * factory.C (createInset): pass a
2094         Buffer const * parameter to InsetExternalMailer's string2params.
2095
2096 2003-07-22  John Levon  <levon@movementarian.org>
2097
2098         * Thesaurus.h: include the right aiksaurus header
2099
2100 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2101
2102         * MenuBackend.C (expand): check menu shortcuts unconditionally
2103
2104 2003-07-21  Angus Leeming  <leeming@lyx.org>
2105
2106         * factory.C (createInset): pass a
2107         buffer_path parameter to InsetGraphicsMailer's string2params.
2108
2109 2003-07-21  Angus Leeming  <leeming@lyx.org>
2110
2111         * BufferView_pimpl.C (buffer):
2112         * buffer.C (d-tor):
2113         * lyx_main.C (LyX):
2114         * lyxfunc.C (dispatch):
2115         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2116         rather than the grfx shortcut.
2117
2118 2003-07-21  André Pönitz  <poenitz@gmx.net>
2119
2120         * rowpainter.C: remove unused variables
2121
2122         * tabular_funcs.C:
2123         * tabular_funcs.h: move to tabular.C
2124         * Makefile.am: adjust
2125
2126         * tabular.[Ch]: basic optical cleaning
2127
2128         * author.h: pass references, not values
2129
2130 2003-07-18  André Pönitz  <poenitz@gmx.net>
2131
2132         * lyxtext.h:
2133         * metricsinfo.C:
2134         * metricsinfo.h:
2135         * rowpainter.C:
2136         * text.C:
2137         * text2.C:
2138         * text3.C: two-phase drawing for InsetText and InsetTabular
2139         some float -> int changes.
2140
2141 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2142
2143         * lyx_main.C: fix the fix
2144
2145 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2146
2147         * lyx_main.C: fix a crash in batch mode if no files specified
2148         * converter.C: ws
2149
2150 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2151
2152         * format.[Ch] (papersize): moved to BufferParams
2153         * converter.[Ch] (dvips_options): moved to BufferParams
2154         (dvipdfm_options): moved to anon namespace
2155         * bufferparams.[Ch]: added above functions.
2156
2157 2003-07-17  André Pönitz  <poenitz@gmx.net>
2158
2159         * lyxtext.h:
2160         * rowpainter.C:
2161         * text2.C: don't call inset->update() anymore
2162
2163         * metricsinfo.[Ch]: add convenience constructor
2164
2165 2003-07-16  André Pönitz  <poenitz@gmx.net>
2166
2167         * lyxcursor.[Ch]:
2168         * lyxfunc.[Ch]:
2169         * text.C:
2170         * text2.C: replace the LyXCursor::irow_ member with
2171          on-demand computation of the value
2172
2173 2003-07-16  John Levon  <levon@movementarian.org>
2174
2175         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2176
2177 2003-07-15  André Pönitz  <poenitz@gmx.net>
2178
2179         * text.C:
2180         * text2.C: remove no more needed refresh_row
2181
2182 2003-07-15  André Pönitz  <poenitz@gmx.net>
2183
2184         * lyxtext.h:
2185         * rowpainter.C:
2186         * text2.C:
2187         * text3.C: refresh_status tristate -> need_update bool
2188
2189 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2190
2191         * lyxtext.h (init): remove reinit argument (act as if always true)
2192         * text2.C: adjust to that
2193
2194 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2195
2196         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2197         * text3.C: use it to delete selections in some cases
2198         (bugs 441, 673, 702, 954).
2199
2200 2003-07-14  André Pönitz  <poenitz@gmx.net>
2201
2202         * rowpainter.[Ch]: reduce interface
2203
2204 2003-07-14  André Pönitz  <poenitz@gmx.net>
2205
2206         * BufferView_pimpl.C:
2207         * text2.C: adjust after removing unused BufferView * argument
2208
2209 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2210
2211         * text2.C (init): fix a crash fired on resize
2212
2213 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2214
2215         * buffer.[Ch]: added new closing signal
2216         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2217         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2218         BufferView::Pimpl via the closing the signal
2219
2220 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2221
2222         * buffer.[Ch]: take out all bv-related from buffer
2223         * BufferView.C:
2224         * BufferView_pimpl.[Ch]: connect to new signals
2225         * CutAndPaste.C: removed useless asserts
2226         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2227         * lyxvc.[Ch]:
2228         * vc-backend.[Ch]:
2229         * lyxfunc.C: moved view-related funciontality from vc here
2230         * paragraph.C: removed outdated comments
2231         * text.C: ws
2232
2233 2003-07-10  André Pönitz  <poenitz@gmx.net>
2234
2235         * BufferView_pimpl.C:
2236         * tabular.h:
2237         * tabular_funcs.C:
2238         * text.C:
2239         * text2.C: remove InsetText::InnerCache, clean up consequences
2240
2241 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2242
2243         * ispell.C: fix two typos in error messages
2244
2245 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2246
2247         * Extend Note inset to other forms of annotation like Comment
2248         and Greyedout. Right button click gives dialog.
2249
2250         Files modified or added (+):
2251
2252         * insetnote.[Ch]
2253         * FormNote.[Ch]      +
2254         * ControlNote.[Ch]   +
2255         * form_note.fd       +
2256         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2257         frontends/controllers
2258         * xforms/Dialogs.C
2259         * factory.C
2260
2261 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2262
2263         * aspell.C: add missing namespace lyx::support
2264
2265 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2266
2267         * BufferView.[Ch] (newFile): Add
2268         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2269         * LaTeX.[Ch] (message): added this signal and use it
2270         * buffer.[Ch] (busy, message): added these signals and use them
2271         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2272         * converter.C:
2273         * exporter.C:
2274         * format.C:
2275         * importer.C: use buffer signals instead of direct bv calling
2276         * lyx_cb.[Ch] (ShowMessage): removed
2277         * lyx_main.C:
2278         * lyxfunc.C:
2279         * paragraph_funcs.C:
2280         * text2.C: use buffer signals
2281
2282 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2283
2284         * introduce namespace lyx::graphics
2285
2286 2003-07-02  André Pönitz  <poenitz@gmx.net>
2287
2288         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2289
2290 2003-07-01  André Pönitz  <poenitz@gmx.net>
2291
2292         * text.C:
2293         * text2.C:
2294         * text3.C:
2295         * text_funcs.[Ch]:
2296         * textcursor.h:
2297         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2298           text*.C to text_func.C
2299
2300 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2301
2302         * introduce namespace lyx::support
2303
2304 2003-06-30  André Pönitz  <poenitz@gmx.net>
2305
2306         * Chktex.C:
2307         * funcrequest.C:
2308         * lyxtext.h:
2309         * text.C: re-enable --with-included-string
2310
2311 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2312
2313         * textcursor.C: add <config.h>
2314
2315         * text.C (getWord): remove const from word_location arg
2316
2317         * lyxvc.C (getLogFile): fix const type order
2318
2319         * lyxtext.h: remove const from word_location arg, add arg name
2320
2321         * lyxlayout.h: currect type on labeltype.
2322
2323         * importer.C: correct \file
2324
2325         * converter.C (intToFormat): use std:: on ret val, ws changes
2326
2327         * bufferlist.h: correct \file
2328
2329         * buffer.C (makeLinuxDocFile): fix const type order
2330         (makeDocBookFile): ditto
2331         (fillWithBibKeys): use std:: on stdlib args.
2332
2333         * CutAndPaste.C: fix authors.
2334         (availableSelections): use std:: on return vector
2335
2336 2003-06-27  André Pönitz  <poenitz@gmx.net>
2337
2338         * BufferView_pimpl.C:
2339         * bufferview_funcs.C:
2340         * lyxcursor.C:
2341         * lyxcursor.h:
2342         * lyxfunc.C:
2343         * lyxtext.h:
2344         * rowpainter.C:
2345         * text.C:
2346         * text2.C:
2347         * text3.C: remove LyXCursor::row_ member
2348
2349         * lyxtext.h:
2350         * text.C: rename fullRebreak() to partialRebreak() and implement
2351           a fullRebreak() that really bereks fully
2352
2353         * textcursor.h: new struct for cursor-related data
2354
2355 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2356
2357         * lyx_main.C (LyX): get full path of document loaded on the
2358         command line
2359
2360 2003-06-26  André Pönitz  <poenitz@gmx.net>
2361
2362         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2363           remove unused/broken operator>,<,>=.
2364
2365         *       text.C: remove only use of broken operator<= in an Assert().
2366
2367 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2368
2369         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2370         moved errorlist_.clear to showErrorList
2371
2372 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2373
2374         * converter.C (scanLog, runLaTeX):
2375         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2376         move the bv->showErrorList call to the callers
2377         * lyxfunc.C: i.e. here...
2378         * text2.C: and here
2379         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2380         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2381         namespace, the second to...
2382         * buffer_funcs (BufferFormat, parseErrors): added
2383         * errorlist.C (ErrorList(TeXErrors const &)): removed
2384
2385 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2386
2387         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2388
2389 2003-06-24  "Garst R. Reese" <reese@isn.net>
2390
2391         * debug.C: fix typo
2392
2393 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2394
2395         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2396
2397         * version.C.in: change docversion to 1.4
2398
2399 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2400
2401         * buffer.C: fix a bug just introduced
2402
2403 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2404
2405         * buffer.[Ch]: added the parseError signal and use it, removed
2406         sgmlError
2407         * BufferView.[Ch] (addError): moved to ...
2408         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2409         to the Buffer::parseError signal to catch (guess what) parse errors
2410         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2411
2412 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2413
2414         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2415         ability to create a buffer and to return an existing one from
2416         the list. Moved these functions to...
2417         * buffer_funcs.[Ch]: added
2418         * BufferView.[Ch] (loadLyXFile): added
2419         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2420         job removed from bufferlist::loadLyXFile.
2421         * buffer.C (setReadOnly): make it work without view
2422         (i.e added an if (users))
2423
2424 2003-06-19  Angus Leeming  <leeming@lyx.org>
2425
2426         * lfuns.h:
2427         * LyXAction.C (init):
2428         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2429         with LFUN_DIALOG_SHOW <name> <data>.
2430
2431 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * CutAndPaste.C (availableSelections): small compilation fix for
2434         ancient (gcc 2.9x) compilers
2435
2436 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * text3.C (cursorNext): add tmp var
2439
2440         * text2.C (updateCounters): for function calling out of for clause
2441         (replaceSelectionWithString): ditto
2442         (insertStringAsParagraphs): ditto
2443         (getColumnNearX): add tmp var
2444         (setCursorFromCoordinates): add tmp var
2445         (cursorDownParagraph): add tmp var
2446         (deleteEmptyParagraphMechanism): add tmp var
2447
2448         * text.C (insertChar): add tmp var
2449
2450         * rowpainter.C (paintDepthBar): add tmp var
2451
2452         * CutAndPaste.C (availableSelections): potentially check all
2453         paragraphs in a cut to fill the shown strings.
2454
2455 2003-06-18  André Pönitz  <poenitz@gmx.net>
2456
2457         * kbmap.[Ch]: use vector<> instead of list<>
2458
2459 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2460
2461         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2462         pasteSelection with index
2463
2464         * text2.C (pasteSelection): modify, call pasteSelection with index
2465
2466         * paragraph.C (asString): reimplement version with no interval to
2467         call the one with interval.
2468
2469         * lyxtext.h: add index arg to pasteSelection
2470
2471         * MenuBackend.C (MenuItem): handle PasteRecent
2472         (Menu::read::Menutags): add md_pasterecent
2473         (read): handle it
2474         (expandPasteRecent): new function
2475         (expand): use it
2476
2477         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2478
2479         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2480         the limited stack
2481         (availableSelections): new function
2482
2483 2003-06-17  Angus Leeming  <leeming@lyx.org>
2484
2485         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2486
2487 2003-06-17  Angus Leeming  <leeming@lyx.org>
2488
2489         * lfuns.h:
2490         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2491
2492         * lyxfunc.C (dispatch): invoke it.
2493
2494 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2495
2496         * iterators.C (operator++, ParPosition): reintroduce some
2497         const_cast for the benefit of older compilers.
2498
2499 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * text3.C (dispatch): do not modify clipboard when doing
2502         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2503         LFUN_DELETE_SKIP on a selection selection
2504
2505 2003-06-16  André Pönitz  <poenitz@gmx.net>
2506
2507         * BufferView.C:
2508         * buffer.C:
2509         * buffer.h:
2510         * paragraph.C:
2511         * tabular.[Ch]: IU of clone() and getLabelList();
2512
2513 2003-06-13  André Pönitz  <poenitz@gmx.net>
2514
2515         * tabular.h: compactification
2516
2517 2003-06-12  André Pönitz  <poenitz@gmx.net>
2518
2519         * tabular.C:
2520         * tabular.h:
2521         * tabular_funcs.h: some renaming plus whitespace
2522
2523 2003-06-12  André Pönitz  <poenitz@gmx.net>
2524
2525         * BufferView.C:
2526         * BufferView_pimpl.C:
2527         * CutAndPaste.C:
2528         * buffer.C:
2529         * iterators.[Ch]:
2530         * lyxfunc.C:
2531         * text.C:
2532         * toc.C: Return a Paragraph & for ParIterator::operator*()
2533
2534 2003-06-11  John Levon  <levon@movementarian.org>
2535
2536         * lyx_main.C:
2537         * ToolbarBackend.h:
2538         * ToolbarBackend.C: add "Toolbars" section and
2539         put the flags there
2540
2541 2003-06-10  Angus Leeming  <leeming@lyx.org>
2542
2543         * lfuns.h:
2544         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2545
2546         * lyxfunc.C (dispatch): invoke it.
2547
2548 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2549
2550         * main.C: protect <ios> with HAVE_IOS
2551         (main): protect sync_with_stdio with HAVE_IOS
2552
2553 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2554
2555         * text2.C (cutSelection): adjust
2556         (pasteSelection): adjust
2557
2558         * messages.C: handle get of empty string
2559
2560         * main.C (main): use sync_with_stdio(false)
2561
2562         * lyxfunc.C (dispatch): adjust
2563
2564         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2565         (WriteAs): remove unneeded BufferView arg.
2566
2567         * bufferparams.h: use correct types on papersize, papersize2 and
2568         paperpackage.
2569
2570         * bufferparams.C (readToken): adjust for type
2571         (writeLaTeX): add missing cases to switch.
2572
2573         * bufferlist.C (quitWriteBuffer): adjust
2574         (close): adjust
2575
2576         * buffer.C (asciiParagraph): remove some commented code.
2577
2578         * CutAndPaste.C: remove current_view extern variable.
2579         (cutSelection): add BufferParams arg.
2580         (eraseSelection): add BufferParams arg.
2581         (pasteSelection): add Buffer const & arg
2582
2583 2003-06-07  John Levon  <levon@movementarian.org>
2584
2585         * buffer.C:
2586         * paragraph_funcs.C:
2587         * paragraph_pimpl.C:
2588         * text.C:
2589         * text2.C:
2590         * paragraph.h:
2591         * paragraph.C: allow InsetERT to freely space lines,
2592         and some consolidation of code
2593
2594 2003-06-06  José Matos  <jamatos@fep.up.pt>
2595
2596         * buffer.C (makeDocBookFile): fix bug #821
2597
2598 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2599
2600         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2601
2602 2003-06-04  Angus Leeming  <leeming@lyx.org>
2603
2604         * buffer.C: bump format to 224.
2605
2606 2003-06-05  André Pönitz  <poenitz@gmx.net>
2607
2608         * text2.C (redoParagraphs): remove two const_cast<>
2609
2610 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2611
2612         * ParagraphList.h: remove last remnants of NO_STD_LIST
2613
2614 2003-06-03  Angus Leeming  <leeming@lyx.org>
2615
2616         * factory.C (createInset): small change to the way InsetExternal's params
2617         are set.
2618
2619 2003-06-04  André Pönitz  <poenitz@gmx.net>
2620
2621         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2622
2623         * paragraph_pimpl.h:
2624         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2625
2626         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2627
2628         * undo_funcs.C: make some simple cases of undo work again
2629
2630 2003-06-03  John Levon  <levon@movementarian.org>
2631
2632         * ispell.C: HPUX doesn't have sys/select.h
2633         (from Albert Chin)
2634
2635 2003-06-03  John Levon  <levon@movementarian.org>
2636
2637         * CutAndPaste.C: update tabular and include inset
2638         buffer references
2639
2640         * buffer.h:
2641         * paragraph.h:
2642         * paragraph.C: remove owningBuffer(), don't pass Buffer
2643         to clone()
2644
2645         * factory.C: insetGraphicsParams changed
2646
2647 2003-06-02  John Levon  <levon@movementarian.org>
2648
2649         * LyXAction.C:
2650         * factory.C:
2651         * lfuns.h:
2652         * lyxfunc.C:
2653         * text3.C: remove insetparent
2654
2655 2003-06-02  John Levon  <levon@movementarian.org>
2656
2657         * buffer.h:
2658         * buffer.C: fix inset_iterator.end(), move out of line
2659         (bug 1149)
2660
2661 2003-06-01  John Levon  <levon@movementarian.org>
2662
2663         * text3.C: use a proper cut/paste when doing inset
2664         insert (from Jürgen Spitzmüller)
2665
2666 2003-06-01  John Levon  <levon@movementarian.org>
2667
2668         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2669
2670 2003-05-30  André Pönitz  <poenitz@gmx.net>
2671
2672         * rowpainter.C: unify second drawing phase
2673
2674 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * trans_mgr.C: remove one case of current_view
2677
2678         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2679
2680         * paragraph_funcs.h: remove paragraph.h include
2681
2682         * paragraph.h: delete NO_STD_LIST stuff
2683
2684         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2685
2686         * buffer.h: remove paragraph.h include
2687
2688         * ParagraphList.C: delete file
2689
2690         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2691
2692         * toc.C (getTocList): adjust
2693
2694         * paragraph_pimpl.C (validate): adjust
2695
2696         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2697
2698         * paragraph.C (Paragraph): adjust
2699         (getPositionOfInset): use const_iterator, adjust
2700         (bibitem): use const_iterator, adjust
2701         (setInsetOwner): adjust
2702
2703         * iterators.C (operator++): adjust
2704
2705         * InsetList.[Ch]: Replace selfmade iterator with standard
2706         vector::iterator also introduce const_iterator. Remove getPos,
2707         getInset and setInset from InsetTable. Adjust accordingly.
2708
2709         * BufferView.C (lockInset): adjust
2710         (ChangeInsets): adjust
2711
2712         * tabular.[Ch]: delete commented same_id functions
2713
2714 2003-05-28  John Levon  <levon@movementarian.org>
2715
2716         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2717
2718 2003-05-28  André Pönitz  <poenitz@gmx.net>
2719
2720         * metricsinfo.[Ch]: remove 'fullredraw' member
2721
2722 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2723
2724         * lyxtextclass.C (operator): remove caching.
2725
2726 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2727
2728         * text3.C: adjust
2729
2730         * text2.C (cursorBottom): adjust
2731         (setCounter): use ParagraphList::find, adjust
2732
2733         * text.C (workWidth): use ParagraphList::find, adjust
2734
2735         * lyxcursor.C (LyXCursor): adjust
2736
2737         * buffer.C (inset_iterator): adjust
2738
2739         * ParagraphList.h: make iterator(value_type) private, make
2740         ParagraphList a friend of iterator.
2741
2742         * ParagraphList.C (find): new function
2743
2744         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2745
2746 2003-05-27  André Pönitz  <poenitz@gmx.net>
2747
2748         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2749
2750 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2751
2752         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2753
2754 2003-05-26  John Levon  <levon@movementarian.org>
2755
2756         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2757
2758 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2759
2760         * remove same_id from function signatures, adjust.
2761
2762 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2765
2766         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2767
2768         * paragraph.C (Paragraph): get rid of same_ids parameter
2769
2770         * ParagraphList.C (insert): adjust
2771         (push_back): adjust
2772
2773 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * paragraph_funcs.C (breakParagraph): adjust
2776         (breakParagraphConservative): adjust
2777
2778         * buffer.C (readParagraph): adjust
2779
2780         * ParagraphList.C (insert): take a reference instead of a pointer
2781         (insert): adjust
2782
2783         * paragraph.[Ch] (id): new function
2784
2785         * bufferlist.C (newFile): adjust
2786
2787         * ParagraphList.C (ParagraphList): adjust
2788         (assign): adjust
2789         (push_back): take a reference instead of a pointer.
2790
2791         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2792
2793         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2794         instead.
2795
2796         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2797         set else use old code.
2798
2799         * ParagraphList.C: remove all NO_NEXT code and only compile this
2800         code of NO_STD_LIST is set.
2801
2802 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2803
2804         * BufferView_pimpl.C:
2805         * TextCache.C:
2806         * TextCache.h:
2807         * bufferlist.C:
2808         * errorlist.h:
2809         * format.C:
2810         * format.h:
2811         * graph.C:
2812         * lyxfunc.C:
2813         * lyxrc.C:
2814         * graphics/GraphicsConverter.C:
2815         * graphics/PreviewLoader.C: header adjustment
2816
2817 2003-05-23  Angus Leeming  <leeming@lyx.org>
2818
2819         * LaTeXFeatures.[Ch] (useBabel): new method.
2820         * bufferparams.C (writeLaTeX): use it.
2821
2822 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * ParagraphList.h (set): remove unused function.
2825
2826 2003-05-23  André Pönitz  <poenitz@gmx.net>
2827
2828         * BufferView.C:
2829         * BufferView_pimpl.C:
2830         * buffer.C:
2831         * buffer.h:
2832         * lyxfunc.C:
2833         * undo_funcs.C: setUndo reworked
2834
2835         * iterators.[Ch]: add access to topmost ParagraphList
2836
2837         * lyxtext.[Ch] (workWidth): add a const
2838
2839 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * texrow.[Ch] (increasePos): remove function
2842         * exporter.C (export): removed unused var and outdated comment
2843
2844 2003-05-23  Angus Leeming  <leeming@lyx.org>
2845
2846         * latexrunparams.h: rename fragile as moving_arg.
2847         * paragraph.C (simpleTeXOnePar): ditto.
2848         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2849
2850 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2853         (createUndo): ditto
2854         (textUndoOrRedo): comment out a currently unused var.
2855
2856         * paragraph.h (NO_NEXT): enable NO_NEXT
2857
2858         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2859
2860         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2861
2862         * exporter.C (Export): adjust for removeAutoInsets removal.
2863
2864         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2865
2866         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2867
2868         * BufferView.[Ch] (removeAutoInsets): delete function
2869
2870 2003-05-22  Angus Leeming  <leeming@lyx.org>
2871
2872         * latexrunparams.h: add a free_spacing variable.
2873
2874         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2875         to pass moving_arg, as the data is stored in runparams.fragile.
2876
2877         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2878         to Inset::latexOptional or to simpleTeXOnePar.
2879
2880         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2881         free_spacing arg to Inset::latexOptional.
2882
2883         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2884         free_spacing arg.
2885
2886 2003-05-22  Angus Leeming  <leeming@lyx.org>
2887
2888         * latexrunparams.h: add fragile and use_babel variables.
2889
2890         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2891         * buffer.C (makeLaTeXFile): store this returned value in
2892         runparams.use_babel, thus passing it to the inset::latex methods.
2893
2894         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2895         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2896
2897         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2898         longer has a fragile arg, as it is stored in runparams.fragile.
2899
2900         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2901         moving_arg parameter as the data is stored in runparams.fragile.
2902
2903         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2904         a fragile parameter as the data is stored in runparams.fragile.
2905
2906 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2909
2910 2003-05-22  Angus Leeming  <leeming@lyx.org>
2911
2912         * latexrunparams.h: add a 'bool nice' which defaults to false.
2913
2914         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2915         now encapsulated within runparams.
2916
2917         * bufferlist.C (updateIncludedTeXfiles):
2918         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2919
2920 2003-05-22  Angus Leeming  <leeming@lyx.org>
2921
2922         * latexrunparams.h: new file containing struct LatexRunParams.
2923         * Makefile.am: add new file.
2924
2925         * LaTeX.[Ch] (c-tor, run):
2926         * buffer.[Ch] (makeLaTeXFile):
2927         * bufferlist.[Ch] (updateIncludedTeXfiles):
2928         * converter.C (convert, scanLog):
2929         * converter.[Ch] (runLaTeX):
2930         * exporter.C (Export):
2931         * paragraph.[Ch] (simpleTeXOnePar):
2932         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2933         * paragraph_funcs.[Ch] (latexParagraphs):
2934         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2935         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2936         pass around a LatexRunParams parameter.
2937
2938 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2939
2940         * paragraph.[Ch]: remove unused constructor
2941
2942         * ParagraphList.C (erase): new function, taking two iterators
2943
2944 2003-05-22  André Pönitz  <poenitz@gmx.net>
2945
2946         * undo_funcs.C: remove duplicated code
2947
2948         * iterator.[Ch]: operator=
2949
2950 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2951
2952         * tabular.C (SetMultiColumn): ws changes
2953
2954         * rowpainter.C (paintFirst): get rid of a ->previous
2955
2956         * lyx_cb.C (getPossibleLabel): parlist simplification
2957
2958         * BufferView.C (ChangeInsets): simplify slightly.
2959
2960 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2961
2962         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2963         * lfuns.h: new LFUN_SPACE
2964         * lyxfunc.C: protected space has a new lfun
2965         * paragraph_funcs.C: read new space insets
2966         * text3.C:
2967         * factory.C: handle new space insets
2968
2969 2003-05-22  André Pönitz  <poenitz@gmx.net>
2970
2971         * BufferView.C:
2972         * BufferView_pimpl.C:
2973         * buffer.[Ch]:
2974         * lyxfunc.C:
2975         * undo_funcs.C: return a ParIterator from getParFromID.
2976
2977         * iterators.[Ch]: add two const's
2978
2979 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2980
2981         * toc.C (getTocList): adjust
2982
2983         * iterators.[Ch]: rework for parlist
2984
2985         * buffer.C (par_iterator_begin): adjust
2986         (par_iterator_end): adjust
2987
2988         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2989
2990         * BufferView.C (removeAutoInsets): adjust
2991         (ChangeInsets): adjust
2992
2993 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2994
2995         * text.C (top_y): fix bug 1110
2996
2997 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2998
2999         * errorlist.[Ch]: added
3000         * buffer.C:
3001         * BufferView.[Ch]:
3002         * BufferView_pimpl.C:
3003         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3004         instead
3005
3006 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * Makefile.am: ensure that lyx is relinked upon changes to the
3009         various "convenience" libs.
3010
3011 2003-05-20  Angus Leeming  <leeming@lyx.org>
3012
3013         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3014         files are compiled in alphabetical order again.
3015
3016         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3017
3018 2003-05-19  Angus Leeming  <leeming@lyx.org>
3019
3020         * gettext.[Ch]: remove "char const * _(char const *)".
3021
3022 2003-05-19  André Pönitz  <poenitz@gmx.net>
3023
3024         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3025
3026         * Makefile.am:
3027         * BufferView.C:
3028         * DepTable.h:
3029         * LaTeXFeatures.C:
3030         * buffer.C:
3031         * lyxfont.C:
3032         * lyxlex.h:
3033         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3034
3035 2003-05-19  André Pönitz  <poenitz@gmx.net>
3036
3037         * buffer.C:
3038         * lyxlayout.[Ch]:
3039         * lyxtextclass.[Ch]:
3040         * paragraph.C:
3041         * paragraph_funcs.[Ch]:
3042         * text2.C:
3043         * text3.C: more insetenv work
3044
3045 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3046
3047         * ParagraphParameters.C (params2string): small bug fixed
3048
3049 2003-05-16  André Pönitz  <poenitz@gmx.net>
3050
3051         * debug.C:
3052         * bufferview_funcs.C: patch from Kornel Benko to prevent
3053           crash when _(...) is called twice in a statement
3054
3055 2003-05-16  André Pönitz  <poenitz@gmx.net>
3056
3057         * BufferView.C:
3058         * lyxfunc.C:
3059         * text.C:
3060         * text2.C:
3061         * text3.C:
3062         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3063
3064 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3065
3066         * lyx_main.C (init): remove spurious static_cast
3067
3068 2003-05-14  André Pönitz  <poenitz@gmx.net>
3069
3070         * BufferView.C: fix format string
3071
3072 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3073
3074         * BufferView.[Ch] (insertErrors): removed
3075         * BufferView.[Ch] (showErrorList): added
3076         * buffer.C (runChkTeX):
3077         * converter.C (scanLog): call showErrorList instead of inserterrors
3078
3079 2003-05-13  André Pönitz  <poenitz@gmx.net>
3080
3081         * BufferView_pimpl.C:
3082         * buffer.C:
3083         * bufferview_func.C:
3084         * MenuBackend.C:
3085         * lyxfunc.C:
3086         * lyxrc.C:
3087         * tex-accent.C:
3088         * text3.C:
3089         * toc.C:
3090         * tabular_funcs.h: tostr() from its own header
3091
3092         * ParagraphParameters.C:
3093         * ToolbarBackend.C:
3094         * bufferparams.C:
3095         * format.C:
3096         * lyxlex_pimpl.C:
3097         * text3.C: STRCONV()
3098
3099 2003-05-12  André Pönitz  <poenitz@gmx.net>
3100
3101         * BufferView.C:
3102         * BufferView_pimpl.C:
3103         * CutAndPaste.C:
3104         * LaTeX.C:
3105         * LaTeXFeatures.C:
3106         * ParagraphParameters.C:
3107         * buffer.C:
3108         * bufferlist.C:
3109         * bufferparams.C:
3110         * bufferview_funcs.C:
3111         * converter.C:
3112         * counters.C:
3113         * debug.C:
3114         * exporter.C:
3115         * format.C:
3116         * importer.C:
3117         * lyx_cb.C:
3118         * lyx_main.C:
3119         * lyxfont.C:
3120         * lyxfunc.C:
3121         * lyxvc.C:
3122         * paragraph.C:
3123         * paragraph_funcs.C:
3124         * tabular.C:
3125         * tabular_funcs.C:
3126         * text2.C:
3127         * text3.C:  boost::format -> bformat  all over the place
3128
3129
3130 2003-05-09  André Pönitz  <poenitz@gmx.net>
3131
3132         * LColor.[Ch]: Pimpl the #include <map> away
3133
3134 2003-05-09  John Levon  <levon@movementarian.org>
3135
3136         * bufferlist.C: never remove emergency saves
3137
3138 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3139
3140         * Makefile.am: better lib building
3141
3142 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3143
3144         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3145         instead.
3146         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3147         (simpleTeXSpecialChars): adjust
3148         (simpleTeXSpecialChars): adjust
3149         * paragraph.C (simpleTeXOnePar): adjust
3150         * buffer.C (makeLaTeXFile): adjust
3151
3152         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3153
3154         * text2.C (changeDepth): parlist cleanup
3155         (getColumnNearX): ditto
3156
3157         * rowpainter.C (getLabelFont): parlist cleanup
3158
3159         * bufferlist.C (newFile): parlist cleanup
3160
3161         * CutAndPaste.C (eraseSelection): parlist cleanup
3162
3163         * BufferView_pimpl.C (trackChanges): parlist cleanup
3164         (dispatch): ditto
3165
3166         * BufferView.C (lockInset): parlist cleanup.
3167         (ChangeInsets): ditto
3168
3169 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3170
3171         * CutAndPaste.h: Update file header.
3172
3173         * CutAndPaste.C: Update file header.
3174         Store the parts cut out of the Document in a limited_stack.
3175         (copySelection): adjust
3176         (pasteSelection): new function, takes the index in the limited stack.
3177         (nrOfParagraphs): adjust
3178         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3179         simplify error inset insertion.
3180         (checkPastePossible): adjust
3181
3182 2003-05-06  John Levon  <levon@movementarian.org>
3183
3184         * text2.C: don't cast wrap inset to float
3185
3186 2003-05-05  André Pönitz  <poenitz@gmx.net>
3187
3188         * iterator.C:
3189         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3190
3191         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3192           few naked Paragraph *.
3193
3194 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3195
3196         * bufferparams.C: Output warning if a document with missing
3197         TeX document class is loaded
3198         * exporter.C: Disable TeX exports if the document class is missing
3199         * lyxtextclass.C:
3200         * lyxtextclass.h:
3201         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3202         isTeXClassAvailable()
3203
3204 2003-05-03  John Levon  <levon@movementarian.org>
3205
3206         * BufferView.h:
3207         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3208         explicit cursor show/hide
3209
3210         * BufferView_pimpl.h:
3211         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3212         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3213
3214         * lyxfunc.C: hide cursor before dispatching.
3215
3216         * lyx_cb.C:
3217         * lyxfind.C:
3218         * text.C:
3219         * text3.C: remove explicit cursor hides
3220
3221 2003-05-02  André Pönitz  <poenitz@gmx.net>
3222
3223         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3224
3225         * undo_funcs.C:
3226         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3227           linked lists
3228
3229         * text2.C: tiny whitespace
3230
3231 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * undo_funcs.C: almost only ws changes.
3234
3235         * ParagraphList.C (splice): just return if pl is empty.
3236
3237 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3238
3239         * ParagraphList.C (splice): new function.
3240
3241         * CutAndPaste.C (pasteSelection): use it
3242
3243 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * CutAndPaste.C (pasteSelection): remove the last next and
3246         previous from this file.
3247
3248 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * CutAndPaste.C (pasteSelection): more clean up, user proper
3251         ParagraphList functions for pasteing.
3252
3253         * ParagraphList.C (insert): new function, three arg insert
3254
3255 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * ParagraphList.C (insert): new function, three arg insert
3258
3259         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3260         not on paragraphs.
3261
3262 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3263
3264         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3265
3266 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3269
3270 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3271
3272         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3273         (copySelection): clean up a bit.
3274         (pasteSelection): use make_pair
3275
3276         * ParagraphList.C (ParagraphList): implement copy constructor
3277         (operator=): implement, base on copy constructor.
3278         (assign): new func
3279
3280         * paragraph.C (erase): return a bool
3281
3282         * paragraph_pimpl.C (erasePos): remove function, move contents...
3283         (erase): ... here. Return a bool.
3284         (erase): call erase instead of erasePos.
3285
3286 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3287
3288         * ParagraphList.h: define PitPosPair
3289         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3290         ParagraphList, fix a bug on pasting multiple pars
3291         * text2.C: change interface to C&P
3292
3293 2003-04-30  André Pönitz  <poenitz@gmx.net>
3294
3295         * undo_func.C: revert part of yesterday's patch 2
3296
3297 2003-04-30  John Levon  <levon@movementarian.org>
3298
3299         * LColor.C: s/tabular/table/
3300
3301 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3302
3303         * text3.C (dispatch): do not convert iterator -> pointer
3304         * undo_funcs.C (setCursorParUndo): ditto
3305         * text_funcs.C (transposeChars): ditto
3306
3307         * text2.C (setLayout): ws changes only
3308
3309         * text.C (breakParagraph): do not convert iterator -> pointer
3310         (insertChar): ditto
3311         (acceptChange): ditto
3312         (rejectChange): ditto
3313         (changeCase): ditto
3314         (Delete): ditto
3315         (backspace): ditto
3316
3317         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3318         pointer
3319
3320 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3321
3322         * text3.C (gotoInset): YABG (yet another bad getChar)
3323
3324 2003-04-29  André Pönitz  <poenitz@gmx.net>
3325
3326         * paragraph.h: make operator= private unimplemented as long as
3327           it is unusable
3328
3329         * ParagraphList.C: whitespace
3330
3331         * paragraph.[Ch]:
3332         * paragraph_pimpl.[Ch]:
3333         * paragraph_funcs.C:
3334         * CutAndPaste.C:
3335         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3336
3337         * text2.C:
3338           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3339
3340 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3343         * paragraph.[Ch] (erase):
3344         * paragraph_pimpl.[Ch] (erase): change return type and value
3345         * text2.C (cutSelection): some rework
3346
3347 2003-04-28  John Levon  <levon@movementarian.org>
3348
3349         * bufferlist.C: changes for unsaved changes dialog
3350
3351 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * bufferlist.C (newFile): set language (messages_) for new
3354         documents also.
3355
3356         * buffer.C (readFile): ws changes only.
3357
3358 2003-04-28  André Pönitz  <poenitz@gmx.net>
3359
3360         * undo_funcs.C:
3361         * lyxfunc.C:
3362         * buffer.[Ch]:
3363         * BufferView_pimpl.C:
3364         * BufferView.C: getParFromID related ParagraphList::iterator changes
3365
3366 2003-04-28  André Pönitz  <poenitz@gmx.net>
3367
3368         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3369           Changes
3370
3371 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * messages.C: remove one more localedir class variable.
3374
3375 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * messages.C (getLocaleDir): singleton generation function
3378         (Pimpl): use it.
3379         (Messages): add a default constructor.
3380
3381         * main.C (main): do not setup localedir here, do not call
3382         gettext_init.
3383
3384         * gettext.C (_): use it.
3385         (gettext_init): delete funciton
3386
3387 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * gettext.C (getLyXMessages): new singleton generating function.
3390
3391         * buffer.C (updateDocLang): adjust
3392
3393         * Makefile.am (messages.o): add target
3394         (main.o): remove target
3395
3396 2003-04-27  John Levon  <levon@movementarian.org>
3397
3398         * bufferlist.C:
3399         * lyx_cb.C:
3400         * lyxfunc.C:
3401         * lyxvc.C: specify cancel button in Alert::prompt
3402
3403 2003-04-26  John Levon  <levon@movementarian.org>
3404
3405         * text3.C:
3406         * lyxfunc.C:
3407         * lfuns.h:
3408         * LyXAction.C: add LFUN_INSET_SETTINGS
3409
3410         * lyxfunc.C: don't enable tabular-feature when there's
3411         just any locking inset
3412
3413 2003-04-26  John Levon  <levon@movementarian.org>
3414
3415         * bufferlist.C: re-add Cancel to buffer close question
3416
3417         * lyxfunc.C: fix import UI a bit
3418
3419 2003-04-25  John Levon  <levon@movementarian.org>
3420
3421         * gettext.C: remove the broken asserts for now
3422
3423 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * messages.C: make case where setlocale cannot comply work better.
3426
3427         * buffer.C (updateDocLang): new function
3428         (changeLanguage): use it
3429         (readFile): use it
3430
3431         * text2.C (setCounter): use B_ a bit.
3432
3433         * lyxlayout.C (Read): be sure to trim the label strings.
3434
3435         * messages.C (Messages): fix typo in comment
3436
3437         * buffer.C (readFile): set message_ after file is loaded.
3438         (makeDocBookFile): remove double return
3439         (changeLanguage): reset message_ upon language change.
3440         (B_): new func, use this to get translated buffer strings.
3441
3442         * main.C: add myself and Jean Marc as authors.
3443
3444 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * messages.[hC]: pimplify Messages, and three different pimpls to be
3447         used in different circumstances.
3448
3449         * gettext.[Ch]: change for use with new message code.
3450
3451 2003-04-24 André Pönitz <poenitz@gmx.net>
3452
3453         * factory.C: support for eqref
3454
3455 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3456
3457         * messages.[Ch]: add missing char
3458
3459         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3460
3461         * messages.[Ch]: New files
3462
3463 2003-04-18  John Levon  <levon@movementarian.org>
3464
3465         * BufferView.h:
3466         * BufferView.C:
3467         * BufferView_pimpl.C:
3468         * lfuns.h:
3469         * LyXAction.C:
3470         * lyxtext.h:
3471         * text2.C: remove layout-copy/paste (bug 778)
3472
3473 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3474
3475         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3476
3477 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3480         if they succeed. Act accordingly.
3481
3482 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * text2.C (setCharFont): adjust
3485         (setCounter): adjust
3486         (insertStringAsLines): adjust
3487
3488         * text.C (leftMargin): adjust
3489         (setHeightOfRow): adjust
3490
3491         * rowpainter.C (paintFirst): adjust
3492         (paintLast): adjust
3493
3494         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3495         (outerHook): ditto
3496         (isFirstInSequence): ditto
3497         (getEndLabel): ditto
3498         (outerFont): adjust
3499
3500         * paragraph.C (getParLanguage): comment out some hard stuff.
3501
3502         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3503         (sgmlError): ditto
3504         (simpleDocBookOnePar): ditto
3505         (makeDocBookFile): use ParagraphList::iterator
3506
3507         * CutAndPaste.C (pasteSelection): adjust
3508
3509 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3510
3511         * text2.C (getFont): adjust
3512         (getLayoutFont): adjust
3513         (getLabelFont): adjust
3514
3515         * paragraph_funcs.C (TeXOnePar): adjust
3516
3517         * buffer.C (simpleLinuxDocOnePar): adjust
3518         (simpleDocBookOnePar): adjust
3519
3520         * CutAndPaste.C (pasteSelection): adjust
3521
3522         * BufferView.C (getEncoding): adjust
3523
3524         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3525
3526 2003-04-16  John Levon  <levon@movementarian.org>
3527
3528         * lyxfind.C: use parlist stuff for search/changes
3529
3530 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3533
3534         * text2.C (deleteEmptyParagraphMechanism): adjust
3535
3536         * text2.[Ch] (ownerParagraph): delete func (both of them
3537
3538 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3539
3540         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3541
3542 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3543
3544         * ParagraphList.C: prepare for NO_NEXT
3545
3546 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * text2.C (getFont): adjust
3549         (getLayoutFont): adjust
3550         (getLabelFont): adjust
3551
3552         * paragraph.C (getFont): adjust
3553         (getLabelFont): adjust
3554         (getLayoutFont): adjust
3555
3556         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3557
3558 2003-04-15  John Levon  <levon@movementarian.org>
3559
3560         From Angus Leeming
3561
3562         * lyx_main.C: handle Include in .ui files
3563
3564 2003-04-15  John Levon  <levon@movementarian.org>
3565
3566         * MenuBackend.C: make the doc files length shorter
3567
3568         * ToolbarBackend.h:
3569         * ToolbarBackend.C: handle toolbar placement flags,
3570         Minibuffer
3571
3572 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3573
3574         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3575         adjust
3576
3577         * paragraph_funcs.C (TeXOnePar): adjust
3578
3579         * paragraph.C (getLabelFont): add outerfont arg, adjust
3580         (getLayoutFont): ditto
3581         (simpleTeXOnePar): adjust
3582
3583         * paragraph_pimpl.C (realizeFont): delete func
3584
3585 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3586
3587         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3588         row argument, constify cur argument.
3589
3590 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * text2.C (getFont): adjust
3593         (getLayoutFont): adjust
3594         (getLabelFont): adjust
3595
3596         * paragraph_funcs.C (TeXOnePar): adjust
3597         (outerFont): new func...
3598         (realizeFont): ...moved out from here, changed this to facilitate
3599         transition
3600
3601         * paragraph.C (getFont): take outerfont as arg, adjust
3602         (simpleTeXOnePar): add outerfont arg, adjust
3603
3604         * buffer.C (simpleLinuxDocOnePar): adjust
3605         (simpleDocBookOnePar): adjust
3606
3607         * CutAndPaste.C (pasteSelection): adjust
3608
3609         * BufferView.C (getEncoding): adjust
3610
3611 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * text2.C (setCharFont): adjust
3614         (setCounter): adjust
3615
3616         * text.C (leftMargin): adjust
3617         (setHeightOfRow): adjust
3618
3619         * rowpainter.C (paintFirst): adjust
3620         (paintLast): adjust
3621
3622         * paragraph_pimpl.C (realizeFont): adjust
3623
3624         * paragraph.C (isFirstInSequence): move from here...
3625         * paragraph_funcs.C (isFirstInSequence): ...to here
3626
3627         * paragraph.C (outerHook): move from here...
3628         * paragraph_funcs.C (outerHook): ...to here
3629
3630         * paragraph.C (depthHook): move from here...
3631         * paragraph_funcs.C (depthHook): ...to here
3632
3633         * paragraph.C (getEndLabel): move from here...
3634         * paragraph_funcs.C (getEndLabel): ...to here
3635
3636         * text2.C (realizeFont): move from here...
3637         * paragraph_funcs.C (realizeFont): ...to here
3638
3639 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3642
3643 2003-04-14  Angus Leeming  <leeming@lyx.org>
3644
3645         * LColor.[Ch]: scrap LColor mathcursor.
3646
3647 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * lyxlex.[Ch] (text): delete function
3650         * trans.C (Load): adjust
3651         * paragraph_funcs.C (readParToken): adjust
3652
3653 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3656         vector<char> instead of a char[].
3657
3658         * lyxlex_pimpl.C (getString): adjust
3659         (next): adjust
3660         (lex): use getString
3661         (eatLine): adjust
3662         (nextToken): adjust
3663
3664         * lyxlex.C (text): use pimpl_->getString()
3665         (getBool): ditto
3666         (findToken): ditto
3667
3668 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3669
3670         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3671         (makeFontEntriesLayoutSpecific): temp var for par.size()
3672         (setLayout): temp var for ownerParagraphs().end()
3673         (fullRebreak): temp var for rows().end()
3674         (selectionAsString): temp var for boost::next(startpit), realize
3675         that the while really is a regular for loop.
3676         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3677         setCursor in one place.
3678         (setParagraph): temp vr for ownerParagraphs().end()
3679         (updateCounters): make the while loop a for loop
3680         (cutSelection): temp var for ownerParagraphs().end()
3681         (updateInset): make the do {} while() a regular for loop
3682         (getCursorX): use temp vars
3683         (setCurrentFont): use temp vars
3684         (getColumnNearX): use temp vars
3685
3686 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3687
3688         * text.C (transformChar): use temp var for getChar
3689         (computeBidiTables): use temp var for row->par()
3690         (fill): move temp vars for row->par() and pit->layout() earlier in
3691         the function.
3692         (labelFill): use temp var for row->par()
3693         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3694         asc and desc, realize that pit never changes and that firstpit is
3695         just a duplicate and not needed. Exchange rit->par() with pit in a
3696         lot of places.
3697         (breakAgain): use a temp var for boost::next(rit)
3698         (breakAgainOneRow): ditto
3699         (breakParagraph): use a temp var for rows().begin()
3700         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3701         (cursorRightOneWord): use temp var for cursor.par() and
3702         cursor.pos(), remove usage of tmpcursor.
3703         (cursorLeftOneWord): use temp var for cursor.par() and
3704         cursor.pos() only set cur at end of function.
3705
3706 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * text.C, text2.C: exchange all usage of Paragraph::next with
3709         boost::next(ParagraphList::iterator)
3710
3711         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3712
3713         * text2.C (cursorTop): simplify implementation
3714         (cursorBottom): ditto
3715         (setParagraph): use ParagraphList::iterator
3716         (setCurrentFont): adjust
3717         (getColumnNearX): adjust
3718         (cursorRight): adjust
3719         (cursorLeft): remove usage of Paragraph::previous
3720         (cursorUpParagraph): ditto
3721         (deleteEmptyParagraphMechanism): slight cleanup
3722
3723         * text.C (isBoundary): take a Paragraph const & instead of a
3724         pointer as arg.
3725         (addressBreakPoint): ditto
3726         (leftMargin): remove usage of Paragraph::previous.
3727         (setHeightOfRow): ditto
3728         (cursorLeftOneWord): ditto
3729         (selectNextWordToSpellcheck): ditto
3730         (Delete): ditto
3731         (backspace): ditto
3732         (breakParagraph): remove one usage of Paragraph::next
3733         (redoParagraph): ditto
3734         (acceptChange): ditto
3735         (insertChar): adjust
3736         (rowBreakPoint): adjust
3737
3738         * bufferview_funcs.C (toggleAndShow): adjust
3739
3740 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3741
3742         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3743         methods to access it.
3744         * lyxtext.h:
3745         * text.C: Added updateRowPositions to compute all row positions.
3746         Make top_y and getRowNearY() to use the cached y position
3747
3748 2003-04-11  John Levon  <levon@movementarian.org>
3749
3750         * text.C (rowBreakPoint): reintroduce the labelEnd
3751         checks, code copied from the row fill stuff. Deep voodoo.
3752
3753         * text.C (fill): add a comment and debugging for the
3754         next poor soul.
3755
3756 2003-04-11  John Levon  <levon@movementarian.org>
3757
3758         * text.C: make sure fullrow insets get wrapped to the next line,
3759         even when they're in a manual label
3760
3761 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * text2.C (insertParagraph): make it take ParagraphList::iterator
3764         as arg.
3765         (setLayout): make it return ParagraphList::iterator
3766         (redoParagraphs): ditto
3767         (setCounter): ditto
3768         (checkParagraph): ditto
3769
3770         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3771
3772         * text2.C: adjust several funcs.
3773         (realizeFont): take a ParagraphList::iterator as arg.
3774         (getLayoutFont): ditto
3775         (getLabelFont): ditto
3776         (setCharFont): ditto
3777
3778         * text.C: adjust several funcs.
3779
3780 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3781
3782         * text.C (selectNextWordToSpellcheck): don't accidentally
3783         skip insets
3784
3785 2003-04-10  John Levon  <levon@movementarian.org>
3786
3787         * ToolbarBackend.C (getIcon): special handling for
3788         LFUN_MATH_DELIM
3789
3790 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3791
3792         * text2.C (cursorRight): a getChar assert fixed
3793
3794 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * text2.C (getFont): change to take a ParagraphList::iterator
3797         instead of Paragraph*
3798         Adjust several functions.
3799
3800         * text.C (transformChar): change to take a ParagraphList::iterator
3801         instead of Paragraph*
3802         (singleWidth): ditto
3803         Adjust several functions.
3804
3805         * rowpainter.C: adjust several functions
3806         * rowpainter.h:store a ParagraphList::iterator and not a
3807         Paragraph&.
3808
3809
3810 2003-04-09  John Levon  <levon@movementarian.org>
3811
3812         * lyxfunc.C:
3813         * lfuns.h:
3814         * LyXAction.h:
3815         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3816         and the "help" bits as well
3817
3818 2003-04-09  John Levon  <levon@movementarian.org>
3819
3820         * ToolbarBackend.h:
3821         * ToolbarBackend.C: allow multiple toolbars
3822
3823 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * undo_funcs.C (setCursorParUndo): adjust
3826
3827         * text_funcs.C (transposeChars): adjust
3828
3829         * text3.C (gotoNextInset): adjust
3830         (dispatch): adjust
3831
3832         * text2.C (setLayout): adjust
3833         (changeDepth): adjust
3834         (setFont): adjust
3835         (redoParagraphs): adjust
3836         (selectionAsString): adjust
3837         (setParagraph): adjust
3838         (insertInset): adjust
3839         (cutSelection): adjust
3840         (copySelection): adjust
3841         (pasteSelection): adjust
3842         (insertStringAsLines): adjust
3843         (updateInset): adjust
3844         (setCursor): change to take a ParagraphList::iterator parameter
3845         (setCursorIntern): change to take a ParagraphList::iterator parameter
3846         (setCurrentFont): adjust
3847         (cursorLeft): adjust
3848         (cursorRight): adjust
3849         (deleteEmptyParagraphMechanism): adjust
3850
3851         * text.C (breakParagraph): adjust
3852         (insertChar): adjust
3853         (acceptChange): adjust
3854         (rejectChange): adjust
3855         (selectNextWordToSpellcheck): adjust
3856         (changeCase): adjust
3857         (Delete): adjust
3858         (backspace): adjust
3859
3860         * lyxfind.C (SearchForward): adjust
3861         (SearchBackward): adjust
3862         (nextChange): adjust
3863
3864         * lyxcursor.C (par): adjust
3865
3866         * lyxcursor.h: store a ParagraphList::iterator instead of a
3867         Paragraph*
3868
3869         * lyx_cb.C (getPossibleLabel): adjust
3870
3871         * bufferview_funcs.C (toggleAndShow): adjust
3872
3873         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3874         (dispatch): adjust
3875
3876         * BufferView.C (removeAutoInsets): adjust
3877         (lockedInsetStoreUndo): adjust
3878
3879 2003-04-09  John Levon  <levon@movementarian.org>
3880
3881         * ToolbarBackend.C: try icon without argument
3882         if with argument fails
3883
3884 2003-04-08  John Levon  <levon@movementarian.org>
3885
3886         * ToolbarBackend.h:
3887         * ToolbarBackend.C: add getIcon(), handle tooltip,
3888         and change from "Icon" to "Item".
3889
3890 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3891
3892         * BufferView.C (lockInset): another bad getchar crunched
3893
3894 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3895
3896         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3897         again)
3898
3899 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * lyxfind.C (searchForward, searchBackwards): bug 782
3902
3903 2003-04-07  John Levon  <levon@movementarian.org>
3904
3905         * paragraph.C: remove dead comment
3906
3907         * text.C: remove troublesome depth-fiddling code
3908         in leftMargin() and rightMargin() (bug 1017)
3909
3910         * text.C: fix breaking of rows in nested lists
3911         (bug 1004)
3912
3913         * text2.C (updateCounters): fix up depth values
3914         (bug 1013)
3915
3916 2003-04-07  John Levon  <levon@movementarian.org>
3917
3918         * BufferView_pimpl.C: clear message when doc finishes resizing,
3919         and after a mouse event
3920
3921         * lyxfunc.C: clear message after exiting inset
3922
3923 2003-04-07  John Levon  <levon@movementarian.org>
3924
3925         * bufferview_funcs.C: show math status not outside
3926         status in the statusbar
3927
3928 2003-04-07  John Levon  <levon@movementarian.org>
3929
3930         * lyxfunc.C: note status changed after a depth change
3931
3932 2003-04-04  Angus Leeming  <leeming@lyx.org>
3933
3934         * LaTeX.h: move AuxInfo operator==, != out of line.
3935         Remove LaTeX virtual destructor; nothing derives from it.
3936         Move operator()() out of public area and rename it startscript().
3937         Change protected for private.
3938
3939 2003-04-04  Angus Leeming  <leeming@lyx.org>
3940
3941         * lyxfunc.C:
3942         * text2.C: remove unneeded #includes.
3943
3944 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3945
3946         * text2.C (dEPM): fix the heigth of the next row
3947
3948 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * text.C: squashed an invalid getChar requester + some ws changes
3951
3952 2003-04-03  John Levon  <levon@movementarian.org>
3953
3954         * bufferview_funcs.h:
3955         * bufferview_funcs.C:
3956         * lyxfunc.C:
3957         * lyxtext.h:
3958         * text2.C: make getStatus work for the env depth lfuns
3959
3960 2003-04-03  John Levon  <levon@movementarian.org>
3961
3962         * bufferview_funcs.h:
3963         * bufferview_funcs.C:
3964         * lyxfunc.C:
3965         * lyxtext.h:
3966         * text2.C: parlistize decDepth(), by merging it with incDepth()
3967
3968 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * lyxrow.h: store a ParagraphList::iterator instead of a
3971         Paragraph* and adjust other class functions to suit.
3972
3973         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3974         above.
3975
3976 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3977
3978         * text2.C (setCursor): do not anchor to cursor row for the time being
3979
3980 2003-04-02  John Levon  <levon@movementarian.org>
3981
3982         * LyXAction.C:
3983         * lfuns.h:
3984         * lyx_main.C:
3985         * lyxtext.h:
3986         * text.C:
3987         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3988
3989 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3990
3991         * paragraph.h: make ParagraphList and ParagraphList::iterator
3992         friends of Paragraph.
3993
3994         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3995
3996         * ParagraphList.C: Use the private next_ and previous_ from
3997         Paragraph.
3998
3999 2003-04-01  John Levon  <levon@movementarian.org>
4000
4001         * ToolbarBackend.h:
4002         * ToolbarBackend.C:
4003         * Makefile.am: rename, remove defaults gunk
4004
4005         * MenuBackend.h:
4006         * MenuBackend.C: remove defaults gunk
4007
4008         * Languages.h:
4009         * Languages.C: remove defaults gunk
4010
4011         * lyx_main.h:
4012         * lyx_main.C: error out if files couldn't be found.
4013
4014 2003-04-02  John Levon  <levon@movementarian.org>
4015
4016         * text2.C: make incDepth() use parlist
4017
4018 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * undo_funcs.C (firstUndoParagraph): adjust
4021
4022         * text3.C (gotoInset): adjust
4023         (dispatch): adjust, and rewrite loop.
4024
4025         * text2.C (init): adjust, and rewrite loop.
4026         (redoParagraphs): adjust
4027         (updateInset): adjust, and rewrite loop.
4028         (deleteEmptyParagraphMechanism): adjust
4029
4030         * tabular.C (LyXTabular): adjust
4031         (SetMultiColumn): adjust
4032         (TeXRow): adjust
4033
4034         * lyxtext.[Ch] (ownerParagraph): delete function
4035         (ownerParagraphs): new function returns a ParagraphList.
4036
4037         * BufferView.C (removeAutoInsets): adjust
4038         (insertErrors): adjust
4039         (setCursorFromRow): adjust
4040
4041 2003-04-01  Angus Leeming  <leeming@lyx.org>
4042
4043         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4044         in the frontends.
4045
4046 2003-04-02  John Levon  <levon@movementarian.org>
4047
4048         * lyxtext.h:
4049         * text.C:
4050         * Makefile.am:
4051         * text_funcs.h:
4052         * text_funcs.C: make transposeChars a free function
4053
4054         * lyxrow_funcs.C: remove wrong comment
4055
4056 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * lyxtext.h: adjust
4059         * rowpainter.C: adjust
4060         * text.C: adjust
4061         * text2.C: adjust
4062         * text3.C: adjust
4063
4064         * lyxrow_funcs. [Ch]: new files
4065
4066         * lyxrow.[Ch]: remove next and previous pointers
4067         (next,previous): remove accessor functions
4068         (isParEnd): move to lyxrow_funcs
4069         (lastPos): move to lyxrow_funcs
4070         (nextRowIsAllInset): move to lyxrow_funcs
4071         (lastPrintablePos): move to lyxrow_funcs
4072         (numberOfSeparators): move to lyxrow_funcs
4073         (numberOfHfills): move to lyxrow_funcs
4074         (numberOfLabelHfills): move to lyxrow_funcs
4075         (hfillExpansion): move to lyxrow_funcs
4076
4077         * lyxfunc.C: adjust
4078
4079         * bufferview_funcs.C (toggleAndShow): adjust
4080
4081         * RowList.h: Remove class RowList from file leave just a
4082         std::list<Row>.
4083
4084         * RowList.C: delete file
4085
4086         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4087         and lyxrow_funcs.h
4088
4089 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * text3.C (cursorPrevious): adjust
4092         (cursorNext): adjust
4093         (dispatch): adjust
4094
4095         * text2.C (redoHeightOfParagraph): adjust
4096         (redoDrawingOfParagraph): adjust
4097         (setCursor): adjust
4098
4099         * text.C (breakParagraph): adjust
4100         (insertChar): adjust
4101         (backspace): adjust
4102
4103         * rowpainter.C (RowPainter): adjust
4104         (leftMargin): simplify and adjust
4105         (most rowpainter functions): adjust.
4106
4107         * rowpainter.h: store the row as RowList::iterator not as Row*
4108
4109         * lyxcursor.C (row): taka RowList::iterator as arg
4110         (irow): ditto
4111
4112         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4113         of Row*.
4114
4115 2003-04-01  Angus Leeming  <leeming@lyx.org>
4116
4117         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4118         stuff like bool Bool.
4119
4120 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4123         rewrite a loop
4124
4125 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4128         RowList::iterator.
4129
4130         * lyxtext.h (rows): drop one version and leve a const variant that
4131         returns a RowList::iterator.
4132
4133 2003-03-31  Angus Leeming  <leeming@lyx.org>
4134
4135         * text.C (fill): ensure that the signature is the same as that in the
4136         header file.
4137
4138 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * text2.C (redoParagraphs): adjust
4141         (updateCounters): adjust
4142         (checkParagraph): adjust
4143         (getColumnNearX): adjust and reformat a bit.
4144
4145         * text.C (top_y): adjust
4146         (workWidth): adjust
4147         (leftMargin): adjust
4148         (prepareToPrint): adjust
4149         (getRow): adjust
4150         (getRowNearY): adjust
4151
4152         * lyxtext.h: make rowlist_ mutable.
4153
4154         * RowList.h: add const_iterator
4155         * RowList.C: adjust for RowList::const_iterator.
4156
4157         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4158         adjust.
4159
4160 2003-03-31  John Levon  <levon@movementarian.org>
4161
4162         * lyxrc.h:
4163         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4164
4165         * lyx_main.C: set default fonts from using lyx_gui funcs
4166
4167         * exporter.C: pdf_mode moved from lyxrc
4168
4169         * lyx_cb.C:
4170         * lyxfunc.C: changes from above
4171
4172 2003-03-31  John Levon  <levon@movementarian.org>
4173
4174         * lyx_main.C: fix to the last fix
4175
4176 2003-03-31  John Levon  <levon@movementarian.org>
4177
4178         * bufferlist.C: "Load original" -> "Load Original"
4179
4180         * converter.C:
4181         * exporter.C:
4182         * importer.C:
4183         * lyx_main.C:
4184         * format.C: more Alert cleanups
4185
4186 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text2.C (removeParagraph): make it take a RowList::iterator as
4189         arg, adjust.
4190         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4191         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4192
4193         * text.C (anchor_row): make it take a RowList::iterator as arg,
4194         adjust.
4195         (computeBidiTables): make it take a const reference to Row instead
4196         of Row pointer, adjust.
4197         (leftMargin): make it take a RowList::iterator as arg, adjust.
4198         (rowBreakPoint): adjust
4199         (breakAgainOneRow): make it take a RowList::iterator as arg,
4200         adjust.
4201         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4202
4203         * bufferview_funcs.C (toggleAndShow): adjust
4204
4205 2003-03-30  John Levon  <levon@movementarian.org>
4206
4207         * Makefile.am:
4208         * BoostFormat.h:
4209         * boost-inst.C: moved to support
4210
4211         * several files: changes as a result
4212
4213 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * text2.C (LyXText): adjust.
4216         (init): adjust
4217         (removeRow): make it take a RowList::iterator as arg, adjust.
4218         (fullRebreak): adjust
4219         (deleteEmptyParagraphMechanism): adjust
4220         (clearPaint): adjust
4221         (postPaint): adjust
4222
4223         * text.C (top_y): adjust
4224         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4225         (breakAgain): make it take a RowList::iterator as arg, adjust.
4226         (breakParagraph): adjust
4227         (insertChar): adjust
4228         (backspace): adjust
4229
4230         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4231         need_break_row, and refresh_row.
4232
4233         * text3.C (dispatch): adjust
4234
4235         * text2.C (checkParagraph): adjust
4236         (setCursor): adjust
4237         (setCursorFromCoordinates): adjust
4238
4239         * text.C (top_y): adjust
4240         (workWidth): adjust
4241         (getRow): make it return a RowList::iterator, adjust
4242         (getRowNearY): make it return a RowList::iterator, adjust
4243
4244         * text2.C (init): adjust
4245         (insertRow): remove function
4246         (insertParagraph): adjust
4247         (redoParagraphs): adjust
4248         (fullRebreak): adjust
4249         (updateCounters): adjust
4250
4251         * text.C (top_y): rewrite to use RowList iterators.
4252         (top_y): adjust
4253         (setHeightOfRow): rewrite to sue RowList iterators.
4254         (appendParagraph): adjust
4255         (breakAgain): adjust
4256         (breakAgainOneRow): adjust
4257         (breakParagraph): adjust
4258         (getRow): adjust
4259         (getRowNearY): adjust, and remove commented code.
4260
4261         * lyxtext.h (firstRow): delete function
4262         (lastRow): delete function
4263         (rows): new function (const and non-const versions.)
4264         (insertRow): delete function
4265
4266         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4267
4268 2003-03-29  John Levon  <levon@movementarian.org>
4269
4270         * BufferView_pimpl.C: always update scrollbar top
4271         because pasting text when we're anchored could mean we
4272         miss an update altogether
4273
4274 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * text2.C (init): use rowlist_.end() and not 0.
4277         (insertRow): change to take a RowList::iterator as arg, adjust
4278         for this.
4279         (insertParagraph): change to take a RowList::iterator as arg,
4280         adjust for this.
4281         (redoParagraphs): remove some debug msgs.
4282
4283         * text.C (appendParagraph): change to take a RowList::iterator
4284         arg, adjust for this.
4285         (breakAgain): add an assert
4286         (breakAgainOneRow): ditto
4287
4288 2003-03-29  John Levon  <levon@movementarian.org>
4289
4290         * text2.C: do not clear selection after inc/decDepth
4291         (bug 550)
4292
4293 2003-03-29  John Levon  <levon@movementarian.org>
4294
4295         * BufferView.C:
4296         * buffer.C: fix broken strerrors according to Lars
4297
4298 2003-03-29  John Levon  <levon@movementarian.org>
4299
4300         * converters.C: more Alert cleanups
4301
4302 2003-03-29  John Levon  <levon@movementarian.org>
4303
4304         * bufferview_funcs.C: remove pointless Alert
4305
4306         * buffer.C: fix confusing error message when
4307         a template is chmoded 000
4308
4309 2003-03-29  John Levon  <levon@movementarian.org>
4310
4311         * BufferView.C:
4312         * BufferView.h:
4313         * BufferView_pimpl.C: Alert fixes
4314
4315         * Makefile.am:
4316         * tabular.C:
4317         * tabular-old.C: remove unused table compat reading
4318
4319 2003-03-29  John Levon  <levon@movementarian.org>
4320
4321         * BufferView.C:
4322         * buffer.C:
4323         * lyx_cb.h:
4324         * lyx_cb.C: more Alert cleanups
4325
4326         * lyxfunc.C: don't allow chktex if not latex document
4327
4328 2003-03-29  John Levon  <levon@movementarian.org>
4329
4330         * lyx_cb.C:
4331         * BufferView.C:
4332         * buffer.C: warnings pushed down from support/,
4333         kill err_alert
4334
4335 2003-03-29  John Levon  <levon@movementarian.org>
4336
4337         * lyxfunc.C: safety check for C-r (revert)
4338
4339 2003-03-29  John Levon  <levon@movementarian.org>
4340
4341         * bufferlist.h:
4342         * bufferlist.C: several UI fixes using Alert::prompt.
4343         Fix the pointless looping quit code. Fix stupid revert
4344         behaviour (bug 938)
4345
4346         * lyxvc.h:
4347         * lyxvc.C:
4348         * lyx_cb.C: use Alert::prompt
4349
4350         * lyx_main.C: remove a silly question
4351
4352         * lyxfunc.C: remove a couple of silly questions,
4353         use Alert::prompt
4354
4355 2003-03-28  John Levon  <levon@movementarian.org>
4356
4357         * text2.C: fix bug 974 (End on empty par)
4358
4359 2003-03-28  John Levon  <levon@movementarian.org>
4360
4361         * BufferView_pimpl.C:
4362         * LyXAction.C:
4363         * lfuns.h: remove do-nothing math greek lfuns
4364
4365 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4366
4367         * lyxgluelength.h (isValidGlueLength): add default arg on
4368         parameter 2. Remove default arg from friend in class.
4369
4370         * lyxlength.h (isValidLength): add default arg on parameter 2.
4371         Remove default arg from friend in class.
4372
4373         * text2.C (LyXText): adjust, initialize refresh_row.
4374         (init): adjust
4375         (removeRow): adjust
4376         (insertRow): adjust
4377         (insertParagraph): adjst
4378         (redoParagraphs): adjust
4379         (fullRebreak): adjust
4380         (updateCounters): adjust
4381         (deleteEmptyParagraphMechanism): first attempt at fixing a
4382         crashing bug.
4383
4384         * text.C (top_y): adjust
4385         (setHeightOfRow): adjust
4386         (getRow): adjust
4387         (getRowNearY): adjust
4388
4389         * lyxtext.h: include RowList.h
4390         (~LyXText): not needed anymore, deleted.
4391         (firstRow): modify for RowList
4392         (lastRow): new function
4393         Delete firstrow and lastrow class variables, add a Rowlist
4394         rowlist_ class variable.
4395
4396         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4397         paragraph is empty.
4398
4399         * RowList.C (insert): fix case where it == begin().
4400
4401 2003-03-26  Angus Leeming  <leeming@lyx.org>
4402
4403         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4404         the thesaurus dialog.
4405
4406 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4409
4410         * RowList.[Ch]: new files
4411
4412         * ParagraphList.C (erase): handle the case where it == begin
4413         correctly.
4414
4415 2003-03-25  John Levon  <levon@movementarian.org>
4416
4417         * Makefile.am:
4418         * aspell_local.h:
4419         * aspell.C: add new aspell support
4420
4421         * lyxrc.h:
4422         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4423         have it accessible.
4424
4425 2003-03-25  Angus Leeming  <leeming@lyx.org>
4426
4427         * lfuns.h:
4428         * LyXAction.C (init): new LFUN_INSET_INSERT.
4429
4430         * BufferView_pimpl.C (dispatch): split out part of the
4431         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4432
4433         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4434         LFUN_INSET_APPLY.
4435
4436 2003-03-25  Angus Leeming  <leeming@lyx.org>
4437
4438         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4439
4440 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4441
4442         * text2.C:
4443         * text3.C: remove useless row->height(0)
4444
4445 2003-03-25  John Levon  <levon@movementarian.org>
4446
4447         * lyxtext.h:
4448         * text2.C:
4449         * text3.C: rename the refreshing stuff to better names
4450
4451 2003-03-24  John Levon  <levon@movementarian.org>
4452
4453         * BufferView_pimpl.h:
4454         * BufferView_pimpl.C: update layout choice on a mouse
4455         press/release
4456
4457 2003-03-23  John Levon  <levon@movementarian.org>
4458
4459         * Makefile.am: fix commandtags.h reference
4460
4461 2003-03-22  John Levon  <levon@movementarian.org>
4462
4463         * BufferView_pimpl.C:
4464         * lyxtext.h:
4465         * rowpainter.C:
4466         * rowpainter.h:
4467         * text.C:
4468         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4469
4470 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * lyxtext.h:
4473         * text.C: take the rtl methods out of line
4474
4475 2003-03-21 André Pönitz <poenitz@gmx.net>
4476
4477         * metricsinfo.[Ch]: new files containing structures to be passed around
4478         during the two-phase-drawing...
4479
4480 2003-03-21 André Pönitz <poenitz@gmx.net>
4481
4482         * lyxtextclass.C: read 'environment' tag.
4483
4484 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * text2.C (removeRow): fix bug 964
4487
4488 2003-03-20  John Levon  <levon@movementarian.org>
4489
4490         * rowpainter.C:
4491         * text.C:
4492         * text2.C: paint cleanups. Inset::update() dropped font
4493         parameter
4494
4495 2003-03-19  John Levon  <levon@movementarian.org>
4496
4497         * lyxfunc.C: only fitcursor/markDirty if available()
4498
4499 2003-03-19  John Levon  <levon@movementarian.org>
4500
4501         * commandtags.h: rename to ...
4502
4503         * lfuns.h: ... this, and renumber / cleanup
4504
4505 2003-03-19  John Levon  <levon@movementarian.org>
4506
4507         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4508         fit the cursor after an lfun
4509
4510         * BufferView.h:
4511         * BufferView.C:
4512         * BufferView_pimpl.h:
4513         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4514
4515         * LyXAction.C: layout-character should have ReadOnly
4516
4517         * ParagraphParameters.C:
4518         * buffer.C:
4519         * bufferview_funcs.C:
4520         * lyx_cb.C:
4521         * lyxfind.C:
4522         * lyxtext.h:
4523         * text.C:
4524         * text2.C:
4525         * text3.C:
4526         * undo_funcs.C: changes from above
4527
4528 2003-03-18  John Levon  <levon@movementarian.org>
4529
4530         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4531         remove it from update()
4532
4533         * lyxfunc.C: update layout choice after an lfun
4534
4535         * text3.C: remove extra updateLayoutChoice()s
4536
4537 2003-03-18  John Levon  <levon@movementarian.org>
4538
4539         * text.C: top_y change means full repaint, fix
4540         a drawing bug with cursor movement
4541
4542 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4543
4544         * lyxtext.h:
4545         * text.C:
4546         * text2.C: anchor row on setCursor
4547
4548 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4549
4550         * lyxtext.h: remove almost all mutable keywords
4551         * text.C:
4552         * text2.C:
4553         * text3.C: remove const keywords accordingly
4554
4555 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4558         anon namespace
4559         (TeXEnvironment): ditto
4560         (TeXOnePar): ditto
4561
4562 2003-03-17  John Levon  <levon@movementarian.org>
4563
4564         * text.C (rowBreakPoint): remove attempt to fix displayed
4565         math insets inside a manual label
4566
4567 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4568
4569         * lyxtext.h: remove BufferView* as first arg from almost all class
4570         functions.
4571         * other files: adjust.
4572
4573 2003-03-17  John Levon  <levon@movementarian.org>
4574
4575         * lyxtext.h:
4576         * undo_funcs.C:
4577         * text2.C: more paint cleanups
4578
4579         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4580
4581         * rowpainter.h:
4582         * rowpainter.C: remove "smart" background painting code
4583
4584 2003-03-16  John Levon  <levon@movementarian.org>
4585
4586         * lyxtext.h:
4587         * text.C:
4588         * text2.C:
4589         * text3.C: add helper functions for setting refresh_row/y
4590
4591 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4592
4593         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4594         newline inset which *can* get inserted in the pass_thru layouts.
4595         This is primarily for literate documents.
4596
4597 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4598
4599         * buffer.C: increment LYX_FORMAT to 223
4600
4601 2003-03-14 André Pönitz <poenitz@gmx.net>
4602
4603         * textclass.h: prepare for environment handling, ws changes
4604         * lyxlayout.C: read latexheader and latexfooter tags
4605
4606 2003-03-14  John Levon  <levon@movementarian.org>
4607
4608         * text2.C: rewrite ::status() a bit
4609
4610 2003-03-13  John Levon  <levon@movementarian.org>
4611
4612         * lyxtext.h: add some docs
4613
4614 2003-03-13  John Levon  <levon@movementarian.org>
4615
4616         * lyxtext.h:
4617         * text.C:
4618         * text2.C:
4619         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4620
4621 2003-03-13  John Levon  <levon@movementarian.org>
4622
4623         * text3.C: fix appendix redrawing
4624
4625 2003-03-13  John Levon  <levon@movementarian.org>
4626
4627         * text.C (setHeightOfRow):
4628         * rowpainter.h:
4629         * rowpainter.C: make appendix mark have the text
4630           "Appendix" so the user knows what it is
4631
4632         * LColor.h:
4633         * LColor.C: s/appendixline/appendix/ from above
4634
4635 2003-03-13  John Levon  <levon@movementarian.org>
4636
4637         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4638
4639         * text.C: fix a getChar(pos) bug properly
4640
4641 2003-03-13  Angus Leeming  <leeming@lyx.org>
4642
4643         * commandtags.h:
4644         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4645         Probably only temporary. Let's see how things pan out.
4646
4647         * BufferView.C (unlockInset):
4648         * BufferView_pimpl.C (fitCursor):
4649         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4650
4651         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4652         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4653
4654         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4655         new functions that convert ParagraphParameters to and from a string.
4656
4657         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4658         BufferView::Pimpl's dispatch.
4659         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4660
4661 2003-03-13 André Pönitz <poenitz@gmx.net>
4662
4663         * lyxfunc.C:
4664         * text3.C:
4665         * factory.C: make it aware of InsetEnv
4666
4667 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4668
4669         * text2.C (setCursor): never ask for one past last
4670         (setCursor): add some debugging messages.
4671
4672         * text.C (singleWidth): never ask for one past last
4673         (singleWidth): ditto
4674         (leftMargin): ditto
4675         (rightMargin): ditto
4676         (rowBreakPoint): ditto
4677         (setHeightOfRow): ditto
4678         (prepareToPrint): ditto
4679
4680         * rowpainter.C (paintBackground): never ask for one past last
4681         (paintText): never ask for one past last
4682
4683         * paragraph_pimpl.C (getChar): make the assert stricter, never
4684         allow the one past last pos to be taken
4685
4686         * paragraph.C (getChar): ws changes only
4687
4688         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4689         (numberOfSeparators): ditto
4690         (numberOfHfills): ditto
4691
4692 2003-03-12  John Levon  <levon@movementarian.org>
4693
4694         * author.h:
4695         * author.C:
4696         * bufferparams.h:
4697         * bufferparams.C:
4698         * paragraph_funcs.C: fix per-buffer authorlists
4699
4700 2003-03-12  John Levon  <levon@movementarian.org>
4701
4702         * text.C: fix newline in right address
4703
4704 2003-03-12  Angus Leeming  <leeming@lyx.org>
4705
4706         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4707         duplicate those in LyXFunc::dispatch.
4708
4709         * commandtags.h:
4710         * LyXAction.C:
4711         * ToolbarDefaults.C:
4712         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4713         Add LFUN_FONTFREE_UPDATE.
4714
4715         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4716         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4717
4718         * bufferview_func.[Ch]: several new functions to facilliate
4719         transfer of data to and from the character dialog.
4720
4721 2003-03-12  John Levon  <levon@movementarian.org>
4722
4723         * buffer.C:
4724         * paragraph.h:
4725         * paragraph.C:
4726         * paragraph_funcs.C:
4727         * paragraph_pimpl.C:
4728         * sgml.C:
4729         * tabular.C:
4730         * text.C:
4731         * text3.C: remove META_NEWLINE in favour of an inset
4732
4733         * rowpainter.h:
4734         * rowpainter.C: remove paintNewline (done by inset)
4735
4736 2003-03-12  John Levon  <levon@movementarian.org>
4737
4738         * paragraph_pimpl.C: complain about bad getChar()s
4739         for a while at least
4740
4741 2003-03-12  John Levon  <levon@movementarian.org>
4742
4743         * buffer.h:
4744         * buffer.C: move paragraph read into a separate function,
4745         a little renaming to reflect that.
4746
4747         * bufferparams.h:
4748         * bufferparams.C: remove the author_ids map, not necessary now
4749
4750         * factory.h:
4751         * factory.C: moved Buffer::readInset to here
4752
4753         * paragraph_funcs.h:
4754         * paragraph_funcs.C: readParagraph free function moved from
4755         buffer.C
4756
4757         * tabular.C: name change
4758
4759 2003-03-12  John Levon  <levon@movementarian.org>
4760
4761         * buffer.C:
4762         * ParagraphParameters.C: move par params input to
4763         a read() method
4764
4765         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4766         behave like a normal read from the stream wrt reading
4767         a line vs. a \\token
4768
4769 2003-03-12  John Levon  <levon@movementarian.org>
4770
4771         * paragraph.C:
4772         * ParagraphParameters.h:
4773         * ParagraphParameters.C: move output code to a
4774         ::write() method
4775
4776 2003-03-12  John Levon  <levon@movementarian.org>
4777
4778         * BufferView.C (insertLyXFile):
4779         * buffer.h:
4780         * buffer.C:
4781         * tabular.C: use a parlist iterator for creating the
4782           document.
4783
4784 2003-03-12  John Levon  <levon@movementarian.org>
4785
4786         * buffer.C: make current_change static local not
4787           static file-scope
4788
4789 2003-03-12  John Levon  <levon@movementarian.org>
4790
4791         * buffer.C: fix insertStringAsLines for change tracking
4792
4793 2003-03-12  John Levon  <levon@movementarian.org>
4794
4795         * BufferView.C:
4796         * tabular.C:
4797         * buffer.h:
4798         * buffer.C:
4799         * bufferparams.h:
4800         * bufferparams.C: move author list into params. Rename some
4801           functions. Move the header reading into a separate token
4802           loop. Move the header token reading into BufferParams.
4803
4804 2003-03-12  John Levon  <levon@movementarian.org>
4805
4806         * changes.C: put debug inside lyxerr.debugging() checks
4807
4808 2003-03-11 André Pönitz <poenitz@gmx.net>
4809
4810         * factory.C: make it aware of InsetHFill
4811
4812 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4813
4814         * buffer.C (latexParagraphs): move function from here...
4815         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4816         args.
4817
4818 2003-03-10  Angus Leeming  <leeming@lyx.org>
4819
4820         * LyXAction.C (init): fix bug in poplating array with multiple entries
4821         with the same LFUN (spotted by JMarc).
4822
4823 2003-03-10  John Levon  <levon@movementarian.org>
4824
4825         * text.C:
4826         * text2.C: move getColumnNearX() near its
4827         only call site
4828
4829 2003-03-10  John Levon  <levon@movementarian.org>
4830
4831         * text.C: fix break before a minipage
4832
4833 2003-03-10  John Levon  <levon@movementarian.org>
4834
4835         * text.C: fix the last commit
4836
4837 2003-03-09  John Levon  <levon@movementarian.org>
4838
4839         * lyxtext.h:
4840         * text.C:
4841         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4842         bug 365 (don't break before insets unless needed). Don't
4843         return a value > last under any circumstances.
4844
4845 2003-03-09  Angus Leeming  <leeming@lyx.org>
4846
4847         * BufferView_pimpl.C (trackChanges, dispatch): call
4848         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4849
4850 2003-03-09  Angus Leeming  <leeming@lyx.org>
4851
4852         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4853         than Dialogs::showAboutlyx().
4854
4855 2003-03-09  Angus Leeming  <leeming@lyx.org>
4856
4857         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4858         than Dialogs::showTabularCreate().
4859
4860 2003-03-09  John Levon  <levon@movementarian.org>
4861
4862         * lyxtext.h:
4863         * text.C:
4864         * text2.C: 3rd arg to nextBreakPoint was always the same.
4865           Use references.
4866
4867 2003-03-08  John Levon  <levon@movementarian.org>
4868
4869         * lyxrow.C:
4870         * paragraph.C:
4871         * paragraph.h:
4872         * rowpainter.C:
4873         * text.C:
4874         * text2.C: Remove the "main" bit from the "main body"
4875           notion.
4876
4877 2003-03-08  John Levon  <levon@movementarian.org>
4878
4879         * text.C (leftMargin): The left margin of an empty
4880         manual label paragraph should not include the label width
4881         string length.
4882
4883         * text.C (prepareToPrint): don't attempt to measure hfills
4884         for empty manual label paragraphs - the answer should be 0
4885
4886 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * CutAndPaste.C: remove commented code and reindent.
4889
4890 2003-03-08  John Levon  <levon@movementarian.org>
4891
4892         * lyxfunc.h:
4893         * lyxfunc.C: move reloadBuffer()
4894
4895         * BufferView.h:
4896         * BufferView.C: to here
4897
4898         * lyxvc.C: add comment
4899
4900         * vc-backend.h:
4901         * vc-backend.C: call bv->reload() to avoid
4902           getStatus() check on MENURELOAD
4903
4904 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4905
4906         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4907         to an old format .dep file.
4908
4909 2003-03-07  Angus Leeming  <leeming@lyx.org>
4910
4911         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4912         when the LFUN_MOUSE_RELEASE should have been handled by
4913         inset->localDispatch.
4914
4915 2003-03-07  Angus Leeming  <leeming@lyx.org>
4916
4917         * BufferView_pimpl.C (dispatch):
4918         * LyXAction.C (init):
4919         * ToolbarDefaults.C (init):
4920         * commandtags.h:
4921         * lyxfunc.C (getStatus):
4922         remove LFUN_INSET_GRAPHICS.
4923
4924         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4925
4926 2003-03-07  Angus Leeming  <leeming@lyx.org>
4927
4928         * commandtags.h:
4929         * LyXAction.C (init):
4930         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4931
4932         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4933
4934         * commandtags.h:
4935         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4936
4937         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4938         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4939
4940 2003-03-07  Angus Leeming  <leeming@lyx.org>
4941
4942         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4943         remove "ert".
4944
4945 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4946
4947         * ParagraphList.C (front): new function
4948         (back): implement
4949
4950 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4953         and top_row_offset_. removed var first_y.
4954         * text.C (top_y):
4955         * text2.C (LyXText, removeRow):
4956         * text3.C:
4957         * BufferView_pimpl.C:
4958         use these methods instead of using first_y
4959
4960 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * text2.C (pasteSelection): adjust for checkPastePossible
4963
4964         * CutAndPaste.C: remove Paragraph * buf and replace with
4965         ParagraphList paragraphs.
4966         (DeleteBuffer): delete
4967         (cutSelection): change the tc type to textclass_type
4968         (copySelection): change the tc type to textclass_type
4969         (copySelection): adjust for ParagraphList
4970         (pasteSelection): change the tc type to textclass_type
4971         (pasteSelection): adjust for Paragraphlist
4972         (nrOfParagraphs): simplify for ParagraphList
4973         (checkPastePossible): simplify for ParagraphList
4974         (checkPastePossible): remove unused arg
4975
4976         * ParagraphList.C (insert): handle the case where there are no
4977         paragraphs yet.
4978
4979         * CutAndPaste.h: make CutAndPaste a namespace.
4980
4981         * text3.C (dispatch): adjust
4982
4983         * text.C (breakParagraph): add a ParagraphList as arg
4984
4985         * paragraph_funcs.C (breakParagraph): change to take a
4986         BufferParams and a ParagraphList as args.
4987         (breakParagraphConservative): ditto
4988         (mergeParagraph): ditto
4989         (TeXDeeper): add a ParagraphList arg
4990         (TeXEnvironment): ditto
4991         (TeXOnePar): ditto
4992
4993         * buffer.C (readLyXformat2): adjust
4994         (insertStringAsLines): adjust
4995         (latexParagraphs): adjust
4996
4997         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4998         (cutSelection): adjust
4999         (pasteSelection): adjust
5000
5001         * BufferView_pimpl.C (insertInset): adjust
5002
5003 2003-03-05  Angus Leeming  <leeming@lyx.org>
5004
5005         * commandtags.h:
5006         * LyXAction.C (init):
5007         * BufferView_pimpl.C (dispatch):
5008         * lyxfunc.C (getStatus):
5009         remove LFUN_CHILD_INSERT.
5010
5011         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5012
5013 2003-03-05  Angus Leeming  <leeming@lyx.org>
5014
5015         * commandtags.h:
5016         * LyXAction.C (init):
5017         * src/factory.C (createInset):
5018         * lyxfunc.C (getStatus):
5019         * text3.C (dispatch):
5020         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5021
5022         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5023
5024 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * ParagraphList.C (insert): handle insert right before end()
5027         (erase): fix cases where it can be first or last paragraph.
5028
5029 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5032         Paragraph::next and Paragraph::previous
5033         (TeXOnePar): ditto
5034
5035         * text.C (breakParagraph): adjust
5036
5037         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5038         BufferParams& as arg.
5039         (breakParagraph): use ParagraphList::insert
5040         (breakParagraphConservative): take a Buffer* instead of a
5041         BufferParams& as arg.
5042         (breakParagraphConservative): use ParagraphList::insert.
5043
5044         * buffer.C (insertStringAsLines): un-const it
5045         (insertStringAsLines): adjust
5046
5047         * ParagraphList.C (insert): new function
5048
5049         * CutAndPaste.C (pasteSelection): adjust
5050
5051         * text.C (backspace): adjust
5052
5053         * tabular.C (SetMultiColumn): adjust
5054
5055         * CutAndPaste.C (cutSelection): adjust
5056         (pasteSelection): adjust
5057
5058         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5059         Buffer const * as arg
5060
5061         * ParagraphList.C (erase): new function
5062         * paragraph_funcs.C (mergeParagraph): use it
5063         (mergeParagraph): make it take a Buffer* instead of a
5064         BufferParams* as arg
5065
5066         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5067         as arg
5068         (breakParagraphConservative): ditto
5069
5070         * paragraph.h: remove the breakParagraph friend
5071
5072         * paragraph.C (eraseIntern): new function
5073         (setChange): new function
5074
5075         * paragraph_funcs.C (mergeParagraph): make it take a
5076         ParagraphList::iterator instead of a Paragraph *, adjust
5077         accordingly.
5078
5079         * paragraph.h: move an #endif so that the change tracking stuff
5080         also works in the NO_NEXT case.
5081
5082 2003-03-04  Angus Leeming  <leeming@lyx.org>
5083
5084         * commandtags.h:
5085         * LyXAction.C: new LFUN_INSET_MODIFY.
5086
5087         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5088         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5089
5090 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * several files: ws changes only
5093
5094         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5095         (TeXEnvironment): ditto
5096         (TeXDeeper): ditto
5097
5098         * buffer.C (makeLaTeXFile): adjust
5099         (latexParagraphs): make it take ParagraphList::iterator as args
5100
5101 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * buffer.C (latexParagraphs): adjust
5104
5105         * paragraph.C (TeXOnePar): move function...
5106         (optArgInset): move function...
5107         (TeXEnvironment): move function...
5108         * paragraph_pimpl.C (TeXDeeper): move function...
5109         * paragraph_funcs.C: ...here
5110
5111         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5112
5113 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * buffer.C (readInset): remove compability code for old Figure and
5116         InsetInfo insets
5117
5118 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * buffer.C: ws changes
5121         (readInset):
5122
5123         * BufferView_pimpl.C: ditto
5124         * author.C: ditto
5125         * buffer.h: ditto
5126         * bufferlist.h: ditto
5127         * changes.h: ditto
5128         * lyxfunc.C: ditto
5129
5130 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5131
5132         * converter.[Ch]: split into itself +
5133         * graph.[Ch]
5134         * format.[Ch]
5135         * Makefile.am: += graph.[Ch] + format.[Ch]
5136         * MenuBackend.C
5137         * buffer.C
5138         * exporter.C
5139         * importer.C
5140         * lyx_main.C
5141         * lyxfunc.C
5142         * lyxrc.C: added #include "format.h"
5143
5144 2003-02-27  Angus Leeming  <leeming@lyx.org>
5145
5146         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5147           a label.
5148
5149         * factory.C (createInset): add "label" to the factory.
5150
5151         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5152           string and do no more.
5153
5154 2003-02-27  Angus Leeming  <leeming@lyx.org>
5155
5156         * commandtags.h:
5157         * LyXAction.C (init):
5158         * factory.C (createInset):
5159         * BufferView_pimpl.C (dispatch):
5160           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5161
5162         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5163
5164         * lyxfunc.C (dispatch):
5165         * text3.C (dispatch): pass name to params2string.
5166
5167 2003-02-26  Angus Leeming  <leeming@lyx.org>
5168
5169         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5170           blocks together.
5171           Rearrange the ~includes. Strip out the unnecessary ones.
5172
5173         * factory.C (createInset): reformat.
5174           create new insets for the various LFUN_XYZ_APPLY lfuns.
5175
5176 2003-02-26  John Levon  <levon@movementarian.org>
5177
5178         * lyxrow.h:
5179         * lyxrow.C: add isParStart,isParEnd helpers
5180
5181         * paragraph.h: make isInserted/DeletedText take refs
5182
5183         * paragraph_funcs.h:
5184         * paragraph_funcs.C: remove #if 0'd code
5185
5186         * lyxtext.h:
5187         * text3.C:
5188         * text2.C:
5189         * text.C: use lyxrow helpers above.
5190           Move draw and paint routines to RowPainter.
5191           Make several methods use refs not pointers.
5192           Make backgroundColor() const.
5193           Add markChangeInDraw(), isInInset().
5194           Merge changeRegionCase into changeCase.
5195           Make workWidth() shouldn't-happen code into an Assert.
5196
5197         * rowpainter.h:
5198         * rowpainter.C: new class for painting a row.
5199
5200         * vspace.h:
5201         * vspace.C: make inPixels take a ref
5202
5203 2003-02-26  Angus Leeming  <leeming@lyx.org>
5204
5205         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5206         LFUN_REF_APPLY.
5207
5208 2003-02-25  John Levon  <levon@movementarian.org>
5209
5210         * ispell.C: give the forked command a more accurate name
5211
5212 2003-02-22  John Levon  <levon@movementarian.org>
5213
5214         * toc.h:
5215         * toc.C: make TocItem store an id not a Paragraph *
5216           (bug #913)
5217
5218 2003-02-21  Angus Leeming  <leeming@lyx.org>
5219
5220         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5221           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5222           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5223           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5224           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5225           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5226
5227         * BufferView_pimpl.C (dispatch):
5228         * LyXAction.C (init):
5229         * factory.C (createInset):
5230         * lyxfunc.C (getStatus, dispatch):
5231         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5232
5233 2003-02-21  Angus Leeming  <leeming@lyx.org>
5234
5235         * BufferView_pimpl.C (MenuInsertLyXFile):
5236         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5237         * lyxfunc.C (menuNew, open, doImport):
5238           no longer pass a LyXView & to fileDlg.
5239
5240 2003-02-21  Angus Leeming  <leeming@lyx.org>
5241
5242         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5243         * LyXAction.C: change, BIBKEY to BIBITEM.
5244         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5245         Change InsetBibKey to InsetBibitem.
5246         Change BIBKEY_CODE to BIBITEM_CODE.
5247         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5248         * factory.C: replace insetbib.h with insetbibitem.h.
5249         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5250         * paragraph.C: replace insetbib.h with insetbibitem.h.
5251         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5252         Change bibkey() to bibitem().
5253         * text.C: remove insetbib.h.
5254         * text2.C: replace insetbib.h with insetbibitem.h.
5255         change bibkey() to bibitem().
5256         * text3.C: remove insetbib.h.
5257         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5258
5259 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5260
5261         * lyxrc.C (output): enclose user email in quotes (in case there are
5262         several words)
5263
5264 2003-02-18  John Levon  <levon@movementarian.org>
5265
5266         * buffer.h: add std::
5267
5268 2003-02-17  John Levon  <levon@movementarian.org>
5269
5270         * SpellBase.h:
5271         * ispell.h:
5272         * ispell.C:
5273         * pspell.h:
5274         * pspell.C: reworking. Especially in ispell, a large
5275           number of clean ups and bug fixes.
5276
5277         * lyxfunc.C: fix revert to behave sensibly
5278
5279 2003-02-17 André Pönitz <poenitz@gmx.net>
5280
5281         * LyXAction.C:
5282         * commandtags.h: new LFUN_INSERT_BIBKEY
5283
5284         * layout.h:
5285         * lyxlayout.C:
5286         * buffer.C:
5287         * factory.C:
5288         * text.C:
5289         * text2.C:
5290         * text3.C:
5291         * paragraph.[Ch]:
5292         * paragraph_func.C: remove special bibkey handling
5293
5294 2003-02-17  John Levon  <levon@movementarian.org>
5295
5296         * text.C (Delete): fix case where delete at the end of
5297           the very first paragraph would not merge the pars
5298
5299 2003-02-17  John Levon  <levon@movementarian.org>
5300
5301         * lyxrow.C: fix lastPrintablePos()
5302
5303 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5304
5305         * bufferparams.C (writeLaTeX): add a std:here
5306
5307         * buffer.C: and remove a using directive there
5308
5309 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5310
5311         * buffer.C (makeLaTeXFile): move the code that generates the
5312           preamble...
5313
5314         * bufferparams.C (writeLaTeX): ... in this new method
5315
5316         * LaTeXFeatures.C (getEncodingSet): make const
5317           (getLanguages): make const
5318
5319         * MenuBackend.C (binding): returns the binding associated to this
5320           action
5321           (add): sets the status of each item by calling getStatus. Adds
5322           some intelligence.
5323           (read): add support for OptSubMenu
5324           (expand): remove extra separator at the end of expanded menu
5325
5326 2003-02-15  John Levon  <levon@movementarian.org>
5327
5328         * BufferView.C:
5329         * BufferView_pimpl.C:
5330         * bufferlist.h:
5331         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5332           inset code that had no actual effect. Remove unneeded status
5333           code.
5334
5335 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5336
5337         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5338           in preamble
5339
5340 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5341
5342         * text.C (drawLengthMarker): also draw an arrow marker for
5343           symbolic lengths (medskip...)
5344
5345 2003-02-14  John Levon  <levon@movementarian.org>
5346
5347         * tabular.h:
5348         * tabular.C: better method names
5349
5350 2003-02-14  John Levon  <levon@movementarian.org>
5351
5352         * BufferView_pimpl.C:
5353         * bufferlist.C:
5354         * buffer.C:
5355         * converter.C:
5356         * lyx_cb.C:
5357         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5358           it's a more accurate name. Remove some pointless uses.
5359
5360 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5361
5362         * text2.C (LyXText): change order of initilizers to shut off
5363           warnings
5364
5365 2003-02-14  John Levon  <levon@movementarian.org>
5366
5367         * buffer.C: use ParIterator for getParFromID()
5368
5369         * paragraph.h:
5370         * paragraph.C:
5371         * paragraph_pimpl.h:
5372         * paragraph_pimpl.C: remove unused getParFromID()
5373
5374 2003-02-14  John Levon  <levon@movementarian.org>
5375
5376         * buffer.C: remove some very old #if 0'd parse code
5377
5378 2003-02-13  John Levon  <levon@movementarian.org>
5379
5380         * text.h:
5381         * text.C:
5382         * text2.C: move hfillExpansion(), numberOfSeparators(),
5383           rowLast(), rowLastPrintable(), numberofHfills(),
5384           numberOfLabelHfills() ...
5385
5386         * lyxrow.h:
5387         * lyxrow.C: ... to member functions here.
5388
5389         * paragraph.h:
5390         * paragraph.C:
5391         * lyxtext.h:
5392         * text.C: remove LyXText::beginningOfMainBody(), and call
5393           p->beginningOfMainBody() directly. Move the check for
5394           LABEL_MANUAL into the latter.
5395
5396         * text.h:
5397         * text.C:
5398         * text2.C:
5399         * vspace.C:
5400         * BufferView.h:
5401         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5402
5403         * text.h:
5404         * text.C:
5405         * text2.C:
5406         * text3.C:
5407         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5408           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5409
5410 2003-02-13  John Levon  <levon@movementarian.org>
5411
5412         * CutAndPaste.C: remove debug
5413
5414 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5415
5416         * paragraph.C (asString): remove two unused variables
5417
5418         * lyxtextclass.C (readTitleType):
5419           (Read):
5420           (LyXTextClass): handle new members titletype_ and titlename_
5421
5422         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5423
5424 2003-02-09  John Levon  <levon@movementarian.org>
5425
5426         * buffer.h:
5427         * buffer.C: replace hand-coded list with a map for the dep clean
5428
5429 2003-02-08  John Levon  <levon@movementarian.org>
5430
5431         * LaTeX.C: consolidate code into showRunMessage() helper
5432
5433 2003-02-08  John Levon  <levon@movementarian.org>
5434
5435         * lyxfind.C:
5436         * lyxtext.h:
5437         * text2.C:
5438         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5439           and pass the size in explicitly
5440
5441         * BufferView_pimpl.h:
5442         * BufferView_pimpl.C:
5443         * BufferView.h:
5444         * BufferView.C: add getCurrentChange()
5445
5446         * BufferView_pimpl.h:
5447         * BufferView_pimpl.C: handle change lfuns
5448
5449         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5450           for changes. Mark pasted paragraphs as new.
5451
5452         * support/lyxtime.h:
5453         * support/lyxtime.C:
5454         * DepTable.C: abstract time_t as lyx::time_type
5455
5456         * LColor.h:
5457         * LColor.C: add colours for new text, deleted text, changebars
5458
5459         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5460           package use "usenames" option.
5461
5462         * commandtags.h:
5463         * lyxfunc.C:
5464         * LyXAction.C: add change lfuns
5465
5466         * Makefile.am:
5467         * author.h:
5468         * author.C: author handling
5469
5470         * buffer.h:
5471         * buffer.C: add a per-buffer author list, with first entry as
5472           current author. Handle new .lyx tokens for change tracking. Output
5473           author list to .lyx file. Output dvipost stuff to .tex preamble.
5474           Bump lyx format to 222.
5475
5476         * bufferlist.h:
5477         * bufferlist.C: add setCurrentAuthor() to reset current author details
5478           in all buffers.
5479
5480         * bufferparams.h:
5481         * bufferparams.C: add param for tracking
5482
5483         * bufferview_funcs.C: output change info in minibuffer
5484
5485         * Makefile.am:
5486         * changes.h:
5487         * changes.C: add change-tracking structure
5488
5489         * debug.h:
5490         * debug.C: add CHANGES debug flag
5491
5492         * lyxfind.h:
5493         * lyxfind.C: add code for finding the next change piece
5494
5495         * lyxrc.h:
5496         * lyxrc.C: add user_name and user_email
5497
5498         * lyxrow.h:
5499         * lyxrow.C: add a metric for the top of the text line
5500
5501         * lyxtext.h:
5502         * text.C: implement accept/rejectChange()
5503
5504         * lyxtext.h:
5505         * text.C: paint changebars. Paint new/deleted text in the chosen
5506         colours. Strike through deleted text.
5507
5508         * paragraph.h:
5509         * paragraph.C:
5510         * paragraph_pimpl.h:
5511         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5512           in the current change to the insert functions. Rework erase to
5513           mark text as deleted, adding an eraseIntern() and a range-based
5514           erase(). Implement per-paragraph change lookup and
5515           accept/reject.
5516
5517         * paragraph_funcs.C: Fixup paste for change tracking.
5518
5519         * tabular.C: mark added row/columns as new.
5520
5521         * text.C: fix rowLast() to never return -1. Don't allow
5522           spellchecking of deleted text. Track transpose changes. Don't
5523           allow paragraph break or merge where appropriate.
5524
5525         * text2.C: leave cursor at end of selection after a cut.
5526
5527 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5528
5529         * text.C (getLengthMarkerHeight):
5530         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5531         visible on screen too.
5532
5533 2003-02-07  John Levon  <levon@movementarian.org>
5534
5535         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5536
5537 2003-02-05  Angus Leeming  <leeming@lyx.org>
5538
5539         * lyxserver.C (read_ready): revert my patch of 11 September last year
5540         as it sends PC cpu through the roof. Presumably this means that
5541         the lyxserver will no longer run on an Alpha...
5542
5543 2003-01-30  Angus Leeming  <leeming@lyx.org>
5544
5545         * factory.C (createInset): create an InsetCommandParam of type "index"
5546         and use it to 'do the right thing'.
5547
5548         * text2.C (getStringToIndex): ensure that cursor position is always
5549         reset to the reset_cursor position.
5550
5551 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5552
5553         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5554         disabled.
5555
5556 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5557
5558         * bufferview.C:
5559         * lyxcb.C:
5560         * lyxfunc.C: Output messages with identical spelling, punctuation,
5561         and spaces
5562
5563 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5564
5565         * MenuBackend.C (expandFormats): List only viewable export formats
5566         in "View" menu
5567
5568         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5569         message
5570
5571         * lyxfunc.C (getStatus): Make sure that formats other than
5572         "fax" can also be disabled
5573
5574 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5575
5576         * text3.C (dispatch): put the lfuns that insert insets in 3
5577         groups, and call doInsertInset with appropriate arguments.
5578         (doInsertInset): new function, that creates an inset and inserts
5579         it according to some boolean parameters.
5580
5581 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * buffer.C (readFile): remember to pass on 'par' when calling
5584         readFile recursively.
5585
5586 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5587
5588         * MenuBackend.C (expandFormats): add "..." to import formats.
5589
5590 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5591
5592         * paragraph.C (asString): Remove XForms RTL hacks.
5593
5594 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5595         * buffer.C: fix typo
5596
5597 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5598
5599         * Makefile.am (LIBS): delete var
5600         (lyx_LDADD): add @LIBS@ here instead.
5601
5602 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5603
5604         * Clarify the meaning of "wheel mouse jump"
5605
5606 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5607
5608         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5609         tabular in a float
5610
5611 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5612
5613         * importer.C (Loaders): do not preallocate 3 elements in the
5614         vector, since one ends up with 6 elements otherwise
5615
5616 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5617
5618         * DepTable.C (write): write the file name as last element of the
5619         .dep file (because it may contain spaces)
5620         (read): read info in the right order
5621
5622 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5623
5624         * paragraph_pimpl.C (simpleTeXBlanks):
5625         (simpleTeXSpecialChars):
5626         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5627
5628         * tabular.C (latex): add some missing case statements. Reindent.
5629
5630         * MenuBackend.C (expandToc): remove unused variable.
5631
5632 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5633
5634         * LColor.C:
5635         * LaTeX.C:
5636         * LyXAction.C:
5637         * MenuBackend.C:
5638         * buffer.C:
5639         * exporter.C:
5640         * lyxfunc.C:
5641         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5642         and the like.
5643
5644 2003-01-05  John Levon  <levon@movementarian.org>
5645
5646         * BufferView.h:
5647         * BufferView.C: add getEncoding()
5648
5649         * kbsequence.h:
5650         * kbsequence.C: do not store last keypress
5651
5652         * lyxfunc.h:
5653         * lyxfunc.C: store last keypress here instead. Pass encoding
5654           to getISOEncoded()
5655
5656 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5657
5658         * lyx_main.C (init): remove annoying error message when following
5659         symbolic links (bug #780)
5660
5661 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5662
5663         * text.C (insertChar):
5664         * lyxrc.C (getDescription): remove extra spaces
5665
5666 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5667
5668         * lyxrc.C (getDescription): remove extra spaces
5669
5670 2002-12-20  John Levon  <levon@movementarian.org>
5671
5672         * text3.C: hack fix for page up/down across tall rows
5673
5674 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5675
5676         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5677         not been invoked
5678
5679 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5680
5681         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5682         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5683         thesaurus is not compiled in
5684
5685 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5686
5687         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5688
5689 2002-12-16  Angus Leeming  <leeming@lyx.org>
5690
5691         * lyxrc.[Ch]:
5692         * lyx_main.C (init): remove override_x_deadkeys stuff.
5693
5694 2002-12-12  John Levon  <levon@movementarian.org>
5695
5696         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5697           insert. Only remove shift modifier under strict
5698           circumstances.
5699
5700 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * MenuBackend.C (expandToc): fix crash.
5703
5704 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * MenuBackend.C (expandToc): gettext on float names.
5707
5708 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5709
5710         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5711         implement bool empty() [bug 490]
5712
5713 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5714
5715         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5716
5717 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * several files: ws changes
5720
5721 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * text2.C (setCounter): clean up a bit, use boost.format.
5724         (updateCounters): initialize par upon declaration.
5725
5726         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5727         if the layout exists. We do not just store the layout any more.
5728         (SwitchLayoutsBetweenClasses): use boost.format
5729
5730 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5731
5732         * converter.C (convert): if from and to files are the same, use a
5733         temporary files as intermediary
5734
5735 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5736
5737         * commandtags.h:
5738         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5739
5740 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5741
5742         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5743
5744 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * tabular.C (asciiPrintCell): use string(size, char) instead of
5747         explicit loop.
5748
5749         * sgml.C (openTag): fix order of arguments to string constructor
5750         (closeTag): ditto
5751
5752         * lyxfunc.C (dispatch): use boost.format
5753
5754         * lots of files: change "c" -> 'c'
5755
5756 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5757
5758         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5759
5760 2002-11-25  Angus Leeming  <leeming@lyx.org>
5761
5762         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5763
5764         * lyx_main.C (init): compile fix.
5765
5766 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * lyx_cb.C (start): boost.formatify
5769         do not include <iostream>
5770
5771         * lengthcommon.C: ws only
5772
5773         * boost-inst.C,BoostFormat.h: add more explict instantations
5774
5775 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5776
5777         * lots of files: handle USE_BOOST_FORMAT
5778
5779 2002-11-21  John Levon  <levon@movementarian.org>
5780
5781         * pspell.C: fix compile
5782
5783 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5784
5785         * lyxfunc.C (dispatch): use boost::format
5786         (open): ditto
5787         (doImport): ditto
5788
5789         * lyxfont.C (stateText): use boost::format
5790
5791         * lyx_main.C (LyX): use boost::format
5792         (init): ditto
5793         (queryUserLyXDir): ditto
5794         (readRcFile): ditto
5795         (parse_dbg): ditto
5796         (typedef boost::function): use the recommened syntax.
5797
5798         * importer.C (Import): use boost::format
5799
5800         * debug.C (showLevel): use boost::format
5801
5802         * converter.C (view): use boost::format
5803         (convert): ditto
5804         (move): ditto
5805         (scanLog): ditto
5806
5807         * bufferview_funcs.C (currentState): use boost::format
5808
5809         * bufferlist.C (emergencyWrite): use boost::format
5810
5811         * buffer.C (readLyXformat2): use boost::format
5812         (parseSingleLyXformat2Token): ditto
5813
5814         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5815
5816         * LaTeX.C (run): use boost::format
5817
5818         * Chktex.C (scanLogFile): use boost::format
5819
5820         * BufferView_pimpl.C (savePosition): use boost::format
5821         (restorePosition): ditto
5822         (MenuInsertLyXFile): ditto
5823
5824         * BoostFormat.h: help file for explicit instation.
5825
5826 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5827
5828         * tabular.C (latex): Support for block alignment in fixed width
5829         columns.
5830
5831 2002-11-17  John Levon  <levon@movementarian.org>
5832
5833         * BufferView_pimpl.C:
5834         * lyx_cb.C:
5835         * lyxfunc.C: split filedialog into open/save
5836
5837 2002-11-08  Juergen Vigna  <jug@sad.it>
5838
5839         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5840         by my last patch (hopefully).
5841
5842 2002-11-08  John Levon  <levon@movementarian.org>
5843
5844         * iterators.h:
5845         * iterators.C:
5846         * buffer.h:
5847         * buffer.C:
5848         * paragraph.h:
5849         * paragraph.C:
5850         * toc.h:
5851         * toc.C: ParConstIterator, and use it (from Lars)
5852
5853 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5854
5855         * lyxtextclass.[Ch]: revise and add doxygen comments
5856
5857 2002-11-07  John Levon  <levon@movementarian.org>
5858
5859         * text.C: fix progress value for spellchecker
5860
5861         * toc.C: fix navigate menu for insetwrap inside minipage
5862
5863         * paragraph_funcs.C: added FIXME for suspect code
5864
5865 2002-11-07  John Levon  <levon@movementarian.org>
5866
5867         * BufferView_pimpl.C: fix redrawing of insets
5868           on buffer switch
5869
5870 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5871
5872         * text2.C (updateCounters): fix bug 668
5873
5874 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5875
5876         * text3.C (dispatch): Do not make the buffer dirty when moving the
5877         cursor.
5878
5879 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5880
5881         * vc-backend.C: STRCONV
5882         (scanMaster): ditto
5883
5884         * text2.C (setCounter): STRCONV
5885
5886         * paragraph.C (asString): STRCONV
5887
5888         * lyxlength.C (asString): STRCONV
5889         (asLatexString): ditto
5890
5891         * lyxgluelength.C (asString): STRCONV
5892         (asLatexString): ditto
5893
5894         * lyxfunc.C (dispatch): STRCONV
5895         (open): ditto
5896
5897         * lyxfont.C (stateText): STRCONV
5898
5899         * importer.C (Import): STRCONV
5900
5901         * counters.C (labelItem): STRCONV
5902         (numberLabel): ditto
5903         (numberLabel): remove unused ostringstream o
5904
5905         * chset.C: STRCONV
5906         (loadFile): ditto
5907
5908         * bufferview_funcs.C (currentState): STRCONV
5909
5910         * buffer.C (readFile): STRCONV
5911         (asciiParagraph): ditto
5912         (makeLaTeXFile): ditto
5913
5914         * Spacing.C (writeEnvirBegin): STRCONV
5915
5916         * LaTeXFeatures.C (getLanguages): STRCONV
5917         (getPackages): ditto
5918         (getMacros): ditto
5919         (getBabelOptions): ditto
5920         (getTClassPreamble): ditto
5921         (getLyXSGMLEntities): ditto
5922         (getIncludedFiles): ditto
5923
5924         * LaTeX.C: STRCONV
5925         (run): ditto
5926         (scanAuxFile): ditto
5927         (deplog): ditto
5928
5929         * LString.h: add the STRCONV macros
5930
5931         * BufferView_pimpl.C (savePosition): STRCONV
5932         (restorePosition): ditto
5933         (MenuInsertLyXFile): ditto
5934
5935         * vc-backend.C (scanMaster): change from submatch[...] to
5936         submatch.str(...)
5937
5938         * funcrequest.C: include config.h
5939
5940         * factory.C: include config.h
5941
5942         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5943
5944         * box.C: include config.h
5945
5946         * LaTeX.C (scanAuxFile): change from submatch[...] to
5947         submatch.str(...)
5948         (deplog): ditto
5949
5950 2002-10-25  Angus Leeming  <leeming@lyx.org>
5951
5952         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5953
5954         * ispell.[Ch] (setError): new method.
5955         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5956         Use setError() insetead of goto END.
5957
5958         * lyx_cb.C (AutoSave): move out child process into new class
5959         AutoSaveBuffer.
5960
5961 2002-10-30  John Levon  <levon@movementarian.org>
5962
5963         * text3.C: make start appendix undoable
5964
5965 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5966
5967         * lyxlength.C (inPixels): Fix returned value.
5968
5969         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5970         environment.
5971
5972 2002-10-24  Angus Leeming  <leeming@lyx.org>
5973
5974         * lyxgluelength.h: no need to forward declare BufferParams
5975         or BufferView, so don't.
5976
5977 2002-10-21  John Levon  <levon@movementarian.org>
5978
5979         * BufferView.C: menuUndo ->undo, redo
5980
5981         * BufferView.h: document, remove dead, make some methods private
5982
5983         * paragraph_funcs.h:
5984         * paragraph_funcs.C:
5985         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5986
5987         * buffer.h:
5988         * buffer.C:
5989         * sgml.h:
5990         * sgml.C: move sgml open/close tag into sgml.C
5991
5992         * bufferview_funcs.h: unused prototype
5993
5994         * lyxfunc.h:
5995         * lyxfunc.C: remove unused
5996
5997         * lyxtext.h:
5998         * text.C: remove unused
5999
6000 2002-10-21  John Levon  <levon@movementarian.org>
6001
6002         * BufferView.h:
6003         * BufferView.C:
6004         * BufferView_pimpl.h:
6005         * BufferView_pimpl.C: fix mouse wheel handling based on
6006           patch from Darren Freeman
6007
6008 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6009
6010         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6011
6012 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6013
6014         * lyxlength.C (inPixels): Fix hanfling of negative length.
6015         Fix LyXLength::MU case.
6016
6017 2002-10-16  John Levon  <levon@movementarian.org>
6018
6019         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6020
6021 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6022
6023         * converter.C (view): add support for $$i (file name) and $$p
6024         (file path) for the viewer command. If $$i is not specified, then
6025         it is appended to the command (for compatibility with old syntax)
6026
6027 2002-10-14  Juergen Vigna  <jug@sad.it>
6028
6029         * undo_funcs.C (textHandleUndo): alter the order in which the
6030         new undopar is added to the LyXText, as we have to set first
6031         the right prev/next and then add it as otherwise the rebuild of
6032         LyXText is not correct. Also reset the cursor to the right paragraph,
6033         with this IMO we could remove the hack in "redoParagraphs()".
6034
6035 2002-10-09  Angus Leeming  <leeming@lyx.org>
6036
6037         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6038         to turn off an optimisation if a new inset is to be inserted.
6039
6040 2002-10-11 André Pönitz <poenitz@gmx.net>
6041
6042         * lyxtext.h: make some functions public to allow access
6043         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6044
6045 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6046
6047         * text3.C (dispatch): when changing layout, avoid an infinite loop
6048         [bug #652]
6049
6050 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6051
6052         * lyxrc.C (read): treat a viewer or converter command of "none" as
6053         if it were empty.
6054
6055         * MenuBackend.C (expandFormats): for an update, also allow the
6056         formats that are not viewable
6057
6058         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6059         script if it is newer than the lyxrc.defaults in user directory
6060
6061 2002-10-07 André Pönitz <poenitz@gmx.net>
6062
6063         * text.C: Vitaly Lipatov's small i18n fix
6064
6065 2002-09-25  Angus Leeming  <leeming@lyx.org>
6066
6067         * ispell.h: doxygen fix.
6068
6069 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6070
6071         * buffer.h (readFile): Add a new argument to the method, to allow
6072         reading of old-format templates.
6073
6074 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6075
6076         * toc.C (getTocList): Get TOC from InsetWrap.
6077
6078 2002-09-16  John Levon  <levon@movementarian.org>
6079
6080         * lyxfunc.C: check tabular for cut/copy too
6081
6082 2002-09-12  John Levon  <levon@movementarian.org>
6083
6084         * LyXAction.C: tidy
6085
6086         * factory.h:
6087         * factory.C: add header
6088
6089         * paragraph_funcs.h:
6090         * paragraph_funcs.C: cleanup
6091
6092 2002-09-11  John Levon  <levon@movementarian.org>
6093
6094         * PrinterParams.h: odd/even default to true
6095
6096 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6097
6098         * PrinterParams.h: update printer parameters for new xforms dialog
6099
6100 2002-09-11  Angus Leeming  <leeming@lyx.org>
6101
6102         * lyxserver.C (read_ready): re-write to make it more transparent
6103         and to make it work in coherent fashion under Tru64 Unix.
6104
6105 2002-09-11  André Pönitz <poenitz@gmx.net>
6106
6107         * commandtags.h:
6108         * LyXAction.C:
6109         * text3.C: implement LFUN_WORDSEL
6110
6111 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6114         make floatlist_ a boost::shared_ptr<FloatList>
6115
6116         * lyxtextclass.C: include FloatList.h
6117         (LyXTextClass): initialize floatlist_
6118         (TextClassTags): add TC_NOFLOAT
6119         (Read): match "nofloat" to TC_NOFLOAT and use it.
6120         (readFloat): modify call to floatlist_
6121         (floats): ditto
6122         (floats): ditto
6123
6124         * FloatList.[Ch] (FloatList): remove commented out float
6125         initialization.
6126         (erase): new function
6127
6128 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6129
6130         * MenuBackend.C (expandToc): fix crash when there is no document
6131         open
6132
6133 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6134
6135         * many files: Add insetwrap.
6136
6137 2002-09-09  John Levon  <levon@movementarian.org>
6138
6139         * text2.C: remove confusing and awkward depth wraparound
6140
6141 2002-09-09  John Levon  <levon@movementarian.org>
6142
6143         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6144
6145         * buffer.h:
6146         * buffer.C: remove getIncludeonlyList()
6147
6148         * paragraph.C:
6149         * lyxfunc.C: remove headers
6150
6151 2002-09-09  Juergen Vigna  <jug@sad.it>
6152
6153         * text.C (getColumnNearX): fix form Michael this is most
6154         probably a cut&paste bug.
6155
6156 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6159
6160         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6161         references, ws changes.
6162
6163         * text2.C (init): update counters after init
6164         (insertParagraph): no need to set counter on idividual paragraphs.
6165         (setCounter): access the counters object in the textclass object
6166         on in the buffer object.
6167         (updateCounters): ditto
6168
6169         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6170         shared_ptr<Counters> to avoid loading counters.h in all
6171         compilation units.
6172         (LyXTextClass): initialize ctrs_
6173         (TextClassTags): add TC_COUNTER, and ...
6174         (Read): use it here.
6175         (CounterTags): new tags
6176         (readCounter): new function
6177         (counters): new funtion
6178         (defaultLayoutName): return a const reference
6179
6180         * counters.C (Counters): remove contructor
6181         (newCounter): remove a couple of unneeded statements.
6182         (newCounter): simplify a bit.
6183         (numberLabel): some small formatting changes.
6184
6185         * buffer.[Ch]: remove all traces of counters, move the Counters
6186         object to the LyXTextClass.
6187
6188 2002-09-06  Alain Castera  <castera@in2p3.fr>
6189
6190         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6191         package to set the horizontal alignment on fixed width columns.
6192
6193         * lyx_sty.C:
6194         * lyx_sty.h: added tabularnewline macro def.
6195
6196         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6197
6198 2002-09-06  John Levon  <levon@movementarian.org>
6199
6200         * LyXAction.C: tooltips for sub/superscript
6201
6202         * MenuBackend.C: a bit more verbose
6203
6204         * lyxfunc.C: tiny clean
6205
6206         * undo_funcs.C: document undo_frozen
6207
6208 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * counters.C (Counters): add missing algorithm counter.
6211
6212         * text2.C (setCounter): lookup the counter with layouts latexname
6213         instead of by section number.
6214         (setCounter): use a hackish way to lookup the correct enum
6215         counter.
6216         a float name->type change
6217         reset enum couners with counter name directly instead of depth value.
6218
6219         * counters.C (Counters): remove the push_backs, change to use the
6220         float type not the float name.
6221         (labelItem): remove unused string, float name->type change
6222
6223         * counters.h: don't include vector, loose the enums and sects vectors
6224
6225 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6226
6227         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6228         (Read): add float->TC_FLOAT to textclassTags
6229         (Read): and handle it in the switch
6230         (readFloat): new function
6231
6232         * FloatList.C (FloatList): comment out the hardcoded float
6233         definitions.
6234
6235         * lyxlayout.h: ws change.
6236
6237 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6238
6239         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6240
6241 2002-09-03  Angus Leeming  <leeming@lyx.org>
6242
6243         * BufferView_pimpl.h: qualified name is not allowed in member
6244         declaration: WorkArea & Pimpl::workarea() const;
6245
6246         * factory.C: added using std::endl directive.
6247
6248         * text3.C: added using std::find and std::vector directives.
6249
6250 2002-08-29  André Pönitz <poenitz@gmx.net>
6251
6252         * lyxtext.h:
6253         * text2.C: remove unused member number_of_rows
6254
6255         * Makefile.am:
6256         * BufferView2.C: remove file, move contents to...
6257         * BufferView.C: ... here
6258
6259         * BufferView_pimpl.C:
6260         * factory.C: move more inset creation to factory
6261
6262         * vspace.C: avoid direct usage of LyXText, ws changes
6263
6264         * BufferView.[Ch]:
6265                 don't provide direct access to WorkArea, use two simple
6266                 acessors haveSelction() and workHeight() instead
6267
6268
6269 2002-08-29  John Levon  <levon@movementarian.org>
6270
6271         * BufferView_pimpl.C (dispatch): do not continue when
6272           no buffer
6273
6274 2002-08-28  André Pönitz <poenitz@gmx.net>
6275
6276         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6277
6278         * BufferView.h:
6279         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6280
6281 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6282
6283         * buffer.C: increment LYX_FORMAT to 221
6284
6285         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6286         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6287
6288         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6289
6290         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6291
6292 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6293
6294         * factory.C (createInset): use LyXTextClass::floats
6295
6296         * MenuBackend.C (expandFloatListInsert):
6297         (expandFloatInsert):
6298         (expandToc):
6299
6300         * text2.C (setCounter):
6301
6302         * LaTeXFeatures.C (useFloat):
6303         (getFloatDefinitions):
6304
6305         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6306
6307         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6308         floatlist_, with accessor floats().
6309
6310         * FloatList.h: remove global FloatList
6311
6312 2002-08-26  André Pönitz <poenitz@gmx.net>
6313
6314         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6315
6316         * BufferView.h:
6317         * BufferView2.C:
6318         * BufferView_pimpl.C:
6319         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6320
6321 2002-08-25  John Levon  <levon@movementarian.org>
6322
6323         * LyXAction.C: fix margin note description
6324
6325 2002-08-24  John Levon  <levon@movementarian.org>
6326
6327         * buffer.C:
6328         * bufferlist.C:
6329         * bufferview_funcs.C:
6330         * lyxfont.C:
6331         * undo_funcs.C: cleanups
6332
6333         * lyxfunc.C: disable CUT/COPY when no selection
6334
6335 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6336
6337         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6338         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6339
6340         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6341         Add backward compatibility to "mono", "gray" and "no".
6342
6343 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6344
6345         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6346         (and file_format >= 200).
6347
6348 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6349
6350         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6351
6352 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6353
6354         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6355
6356 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6357
6358         * BufferView_pimpl.C:
6359         * LyXAction.C:
6360         * buffer.C:
6361         * commandtags.h:
6362         * lyxfunc.C:
6363         * paragraph.[Ch]:
6364         * text2.C:
6365         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6366         inset and code to make it  work with the paragraph code. The inset
6367         can be anywhere in the paragraph, but will only do the expected
6368         thing in LaTeX if the layout file contains the parameter line
6369                         OptionalArgs    1
6370         (or more generally, a nonzero value) for that layout.
6371
6372 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * paragraph.h: remove the declaration of undefined counters class
6375         function.
6376
6377 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6378
6379         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6380         Dr. Richard Hawkins.
6381
6382 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6383
6384         * paragraph_funcs.h: remove some unneeded includes
6385
6386         * text.C (backspace): pasteParagraph now in global scipe
6387
6388         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6389         (pasteSelection): ditto
6390
6391         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6392         * paragraph_funcs.C (pasteParagraph): ... here
6393
6394 2002-08-20  André Pönitz <poenitz@gmx.net>
6395
6396         * commandtags.h: new LFUNs for swapping/copying table row/colums
6397
6398         * LyXAction.C:
6399         * lyxfunc.C: support for new lfuns
6400
6401 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * tabular.C:
6404         * buffer.[Ch]: remove NO_COMPABILITY stuff
6405
6406 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6407
6408         * boost.C (throw_exception): new file, with helper function for
6409         boost compiled without exceptions.
6410
6411         * paragraph.h:
6412         * lyxlength.C:
6413         * buffer.C:
6414         * ParameterStruct.h:
6415         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6416
6417         * bufferlist.C (emergencyWriteAll): use boost bind
6418
6419         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6420
6421         * text.C: include paragraph_funcs.h
6422         (breakParagraph): breakParagraph is now in global scope
6423
6424         * paragraph_funcs.[Ch]: new files
6425
6426         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6427         global scope
6428
6429         * buffer.C: include paragraph_funcs.h
6430         (insertStringAsLines): breakParagraph is now in global scope
6431
6432         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6433         paragraph_funcs.C
6434
6435         * CutAndPaste.C: include paragraph_funcs.h
6436         (cutSelection): breakParagraphConservative is now in global scope
6437         (pasteSelection): ditto
6438
6439         * buffer.h: declare oprator== and operator!= for
6440         Buffer::inset_iterator
6441
6442         * bufferlist.C (emergencyWrite): don't use fmt(...)
6443
6444         * text3.C: add using std::endl
6445
6446         * BufferView.C (moveCursorUpdate): remove default arg
6447
6448 2002-08-20  André Pönitz <poenitz@gmx.net>
6449
6450         * buffer.[Ch]: move inline functions to .C
6451
6452         * BufferView2.C:
6453         * BufferView_pimpl.C:
6454         * text.C:
6455         * buffer.[Ch]: use improved inset_iterator
6456
6457         * buffer.C:
6458         * paragraph.[Ch]: write one paragraph at a time
6459
6460 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6461
6462         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6463         style if style is not specified.
6464
6465 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6466
6467         * text2.C (setCounter): when searching for right label for a
6468         caption, make sure to recurse to parent insets (so that a caption
6469         in a minipage in a figure float works) (bug #568)
6470
6471 2002-08-20  André Pönitz <poenitz@gmx.net>
6472
6473         * text3.C: new file for LyXText::dispatch() and helpers
6474
6475         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6476
6477         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6478
6479 2002-08-19  André Pönitz <poenitz@gmx.net>
6480
6481         * lyxtext.h:
6482         * text.C: new LyXText::dispatch()
6483
6484         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6485
6486 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6487
6488         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6489
6490         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6491         Hebrew text.
6492
6493 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6494
6495         * Makefile.am: use $(variables) instead of @substitutions@
6496
6497 2002-08-15  André Pönitz <poenitz@gmx.net>
6498
6499         * lyxfunc.C:
6500         * BufferView_pimpl.C: streamlining mathed <-> outer world
6501         interaction
6502
6503         * commandtags.h:
6504         * LyXAction.C: remove unused LFUN_MATH
6505
6506 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6509
6510 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * paragraph.C (Paragraph): reformat a bit
6513         (cutIntoMinibuffer): use builtin InsetList function instad of
6514         doing it manually.
6515         (getInset): ditto
6516
6517         * buffer.C: include boost/bind.hpp, add using std::for_each
6518         (writeFileAscii): use ParagraphList iterators
6519         (validate): use for_each for validate traversal of paragraphs
6520         (getBibkeyList): use ParagraphList iterators
6521         (resizeInsets): use for_each to resizeInsetsLyXText for all
6522         paragraphs.
6523         (getParFromID): use ParagraphList iterators
6524
6525         * BufferView2.C (lockInset): use paragraph list and iterators
6526
6527 2002-08-14  John Levon  <levon@movementarian.org>
6528
6529         * lyxserver.C: remove spurious xforms include
6530
6531 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6532
6533         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6534
6535 2002-08-13  André Pönitz <poenitz@gmx.net>
6536
6537         * LyXAction.[Ch]:
6538         * lyxfunc.C: further cleaning
6539
6540 2002-08-13  André Pönitz <poenitz@gmx.net>
6541
6542         * funcrequest.h: new constructor
6543
6544         * funcrequest.C: move stuff here from .h
6545
6546         * Makefile.am:
6547         * BufferView_pimpl.C:
6548         * LyXAction.C:
6549         * toc.C:
6550         * lyxfunc.C: subsequent changes
6551
6552         * lyxfunc.h: new view() member function
6553
6554         * lyxfunc.C: subsequent changes
6555
6556 2002-08-13  Angus Leeming  <leeming@lyx.org>
6557
6558         * BufferView2.C:
6559         * BufferView_pimpl.C:
6560         * buffer.C:
6561         * converter.C:
6562         * importer.C:
6563         * lyxfunc.C:
6564         * lyxvc.C:
6565         * toc.C:
6566         * vc-backend.C:
6567         changes due to the changed LyXView interface that now returns references
6568         to member variables not pointers.
6569
6570 2002-08-13  Angus Leeming  <leeming@lyx.org>
6571
6572         * WordLangTuple (word, lang_code): return references to strings,
6573         not strings.
6574
6575         * BufferView.h:
6576         * SpellBase.h:
6577         * lyxtext.h: forward-declare WordLangTuple.
6578
6579         * BufferView2.C:
6580         * ispell.C:
6581         * pspell.C:
6582         * text.C: #include "WordLangTuple.h".
6583
6584         * lyxtext.h:
6585         * text.C: (selectNextWordToSpellcheck): constify return type.
6586
6587 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6588
6589         * buffer.C:
6590         * buffer.h:
6591         * lyxtext.h:
6592         * paragraph.C:
6593         * paragraph_pimpl.h:
6594         * text.C:
6595         * text2.C:
6596         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6597         suggested by Angus.
6598         Made updateCounter always count from start of buffer, and removed
6599         second argument (par).
6600         Reverted floats number display to '#'. Perhaps I'll try again when the
6601         code base is sanitized a bit.
6602
6603 2002-08-12  Angus Leeming  <leeming@lyx.org>
6604
6605         * buffer.[Ch] (getLabelList): constify.
6606
6607 2002-08-07  André Pönitz <poenitz@gmx.net>
6608
6609         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6610
6611         * funcrequest.h: extension to keep mouse (x,y) position
6612
6613 2002-08-12  Juergen Vigna  <jug@sad.it>
6614
6615         * BufferView2.C (insertErrors): forbid undo when inserting error
6616         insets.
6617
6618         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6619
6620 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * ParagraphList.[Ch]: new files
6623
6624         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6625
6626         * BufferView2.C (lockInset): ParagraphList changes
6627         * toc.C: ditto
6628         * text2.C: ditto
6629         * bufferlist.C: ditto
6630         * buffer.h: ditto
6631         * buffer.C: ditto
6632
6633 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6636         unused class variable counter_,
6637
6638         * paragraph.[Ch] (getFirstCounter): delete unused function
6639
6640         * counters.C: include LAssert.h
6641         (reset): add a new function with no arg, change other version to
6642         not have def. arg and to not allow empty arg.
6643
6644         * text2.C (setCounter): remove empty arg from call to Counters::reset
6645
6646 2002-08-11  John Levon  <levon@movementarian.org>
6647
6648         * Makefile.am: add WordLangTuple.h
6649
6650 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6651
6652         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6653         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6654
6655         * insets/insettext.C: InsetList changes
6656
6657         * graphics/GraphicsSupport.C (operator()): InsetList changes
6658
6659         * toc.C (getTocList): InsetList changes
6660
6661         * paragraph_pimpl.[Ch]: InsetList changes
6662
6663         * paragraph.[Ch]: InsetList changes
6664
6665         * buffer.C (inset_iterator): InsetList changes
6666         (setParagraph): ditto
6667         * buffer.h (inset_iterator): ditto
6668         * iterators.C (operator++): ditto
6669         * iterators.h: ditto
6670
6671         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6672
6673         * InsetList.[Ch]: new files, most InsetList handling moved out of
6674         paragraph.C.
6675
6676         * BufferView2.C (removeAutoInsets): InsetList changes
6677         (lockInset): ditto
6678         (ChangeInsets): ditto
6679
6680 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * paragraph_pimpl.h (empty): new function
6683
6684         * paragraph.[Ch] (empty): new function
6685
6686         * other files: use the new Paragraph::empty function
6687
6688 2002-08-09  John Levon  <levon@movementarian.org>
6689
6690         * lyxtext.h: remove unused refresh_height
6691
6692 2002-08-09  John Levon  <levon@movementarian.org>
6693
6694         * Makefile.am:
6695         * sgml.h:
6696         * sgml.C:
6697         * buffer.C:
6698         * paragraph.h:
6699         * paragraph.C: move sgml char escaping out of paragraph
6700
6701         * paragraph.h:
6702         * paragraph.C: remove id setter
6703
6704         * buffer.C:
6705         * paragraph.C:
6706         * paragraph_pimpl.C: remove dead tex_code_break_column
6707
6708         * bufferview_funcs.C: small cleanup
6709
6710         * lyxfunc.C: remove dead proto
6711
6712         * lyxtext.h: make some stuff private. Remove some dead stuff.
6713
6714         * lyxgluelength.C: make as[LyX]String() readable
6715
6716 2002-08-08  John Levon  <levon@movementarian.org>
6717
6718         * LyXAction.h:
6719         * LyXAction.C:
6720         * MenuBackend.C:
6721         * ToolbarDefaults.C:
6722         * lyxfunc.C:
6723         * lyxrc.C:
6724         * toc.C: lyxaction cleanup
6725
6726 2002-08-08  John Levon  <levon@movementarian.org>
6727
6728         * BufferView2.C: small cleanup
6729
6730         * lyxfind.h:
6731         * lyxfind.C: move unnecessary header into the .C
6732
6733 2002-08-08  John Levon  <levon@movementarian.org>
6734
6735         * funcrequest.h: just tedious nonsense
6736
6737         * lyx_main.h:
6738         * lyx_main.C: cleanups
6739
6740         * buffer.C:
6741         * vspace.C: remove dead header lyx_main.h
6742
6743 2002-08-07  Angus Leeming  <leeming@lyx.org>
6744
6745         * Paragraph.[Ch]:
6746         * paragraph_pimpl.h:
6747         Forward declare class Counters in paragraph.h by moving the ctrs member
6748         variable into Paragraph::Pimpl.
6749         (counters): new method, returning a reference to pimpl_->ctrs.
6750
6751         * text2.C: ensuing changes.
6752
6753 2002-08-07  John Levon  <levon@movementarian.org>
6754
6755         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6756
6757         * BufferView_pimpl.C: announce X selection on double/triple
6758           click
6759
6760         * lyx_main.C: use correct bool in batch dispatch
6761
6762         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6763
6764 2002-08-07  André Pönitz <poenitz@gmx.net>
6765
6766         * funcrequest.h: new class to wrap a kb_action and its argument
6767
6768         * BufferView.[Ch]:
6769         * BufferView_pimpl[Ch]:
6770         * LaTeX.C:
6771         * LyXAction.[Ch]:
6772         * lyxfunc.[Ch]:
6773         * lyxrc.C: subsequent changes
6774
6775
6776 2002-08-07  John Levon  <levon@movementarian.org>
6777
6778         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6779           document options change.
6780
6781 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6782
6783         * counters.[Ch]
6784         * text2.C
6785         * paragraph.[Ch]
6786         * makefile.am: move counters functionality over from
6787         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6788
6789 2002-08-06  John Levon  <levon@movementarian.org>
6790
6791         * WordLangTuple.h: new file for word + language code tuple
6792
6793         * SpellBase.h:
6794         * pspell.h:
6795         * pspell.C:
6796         * ispell.h:
6797         * ispell.C:
6798         * lyxtext.h:
6799         * text.C:
6800         * text2.C:
6801         * BufferView.h:
6802         * BufferView2.C: use WordLangTuple
6803
6804         * layout.h:
6805         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6806
6807 2002-08-06  John Levon  <levon@movementarian.org>
6808
6809         * lyx_main.C: fix cmdline batch handling
6810
6811 2002-08-06  André Pönitz <poenitz@gmx.net>
6812
6813         * lyxrc.C: set default for show_banner to true
6814
6815 2002-08-06  John Levon  <levon@movementarian.org>
6816
6817         * pspell.C: fix a crash, and allow new aspell to work
6818
6819 2002-08-06  John Levon  <levon@movementarian.org>
6820
6821         * lyxfunc.C:
6822         * kbmap.C: small cleanup
6823
6824         * vspace.h:
6825         * vspace.C: add const
6826
6827 2002-08-05  John Levon  <levon@movementarian.org>
6828
6829         * LyXAction.C: back to tabular-insert
6830
6831 2002-08-04  John Levon  <levon@movementarian.org>
6832
6833         * BufferView.h:
6834         * BufferView.C: cosmetic change
6835
6836         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6837
6838         * bufferlist.C:
6839         * buffer.h:
6840         * buffer.C:
6841         * lyxcb.h:
6842         * lyxcb.C:
6843         * lyxserver.C:
6844         * lyxvc.C:
6845         * vc-backend.C:
6846         * BufferView2.C: purge all "Lyx" not "LyX" strings
6847
6848         * lyxcursor.h:
6849         * lyxcursor.C: attempt to add some documentation
6850
6851         * lyxfunc.C:
6852         * commandtags.h:
6853         * LyXAction.C:
6854         * ToolbarDefaults.C:
6855         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6856           merge with LFUN_TABULAR_INSERT
6857
6858         * Makefile.am:
6859         * SpellBase.h:
6860         * ispell.h:
6861         * ispell.C:
6862         * pspell.h:
6863         * pspell.C: split up i/pspell implementations into separate
6864           files, many cleanups
6865
6866         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6867
6868         * text2.C: some cleanup
6869
6870         * lyxfunc.C: don't check for isp_command == "none" any more, it
6871           didn't make any sense
6872
6873 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6874
6875         * counters.[Ch]
6876         * text2.C
6877         * paragraph.[Ch]
6878         * makefile.am: move counters functionality over
6879         from text2.C/paragraph.[Ch] to counters.[Ch], and
6880         make proper C++.
6881 2002-08-02  John Levon  <levon@movementarian.org>
6882
6883         * buffer.C: s/lyxconvert/lyx2lyx/
6884
6885 2002-08-02  Angus Leeming  <leeming@lyx.org>
6886
6887         * lyxlex.C: revert John's change as it breaks reading of the user
6888         preamble.
6889
6890 2002-08-02  Angus Leeming  <leeming@lyx.org>
6891
6892         * importer.C (Import):
6893         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6894         changes due to LyXView::view() now returning a boost::shared_ptr.
6895
6896 2002-08-02  John Levon  <levon@movementarian.org>
6897
6898         * lyxlex.C: small cleanup
6899
6900 2002-08-02  John Levon  <levon@movementarian.org>
6901
6902         * text2.C (status): small cleanup, no logic change
6903
6904 2002-08-01  John Levon  <levon@movementarian.org>
6905
6906         * buffer.h:
6907         * buffer.C (writeFile): don't output alerts, caller
6908           handles this
6909
6910         * bufferlist.C:
6911         * lyx_cb.C: from above
6912
6913         * lyxfunc.C: allow to open non-existent files
6914
6915 2002-07-31  John Levon  <levon@movementarian.org>
6916
6917         * lyxserver.C: don't let incidental errors get
6918           in the way (errno)
6919
6920 2002-07-30  John Levon  <levon@movementarian.org>
6921
6922         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6923
6924 2002-07-30  John Levon  <levon@movementarian.org>
6925
6926         * lyxserver.h:
6927         * lyxserver.C: remove I/O callback too
6928
6929 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6930
6931         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6932         log.
6933
6934 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6935
6936         * many files: strip,frontStrip -> trim,ltrim,rtrim
6937
6938 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * PrinterParams.h: remove extern containsOnly, and include
6941         support/lstrings.h instead.
6942
6943         * LaTeX.C (scanAuxFile): modify because of strip changes
6944         (deplog): ditto
6945         * buffer.C (makeLaTeXFile): ditto
6946         * bufferparams.C (writeFile): ditt
6947         * lyxfont.C (stateText): ditto
6948         * lyxserver.C (read_ready): ditto
6949         * vc-backend.C (scanMaster): ditto
6950
6951         * BufferView_pimpl.h: ws changes
6952
6953         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6954
6955 2002-07-26  André Pönitz <poenitz@gmx.net>
6956
6957         * kb_sequence.C: remove unnedred usings
6958
6959 2002-07-26  Juergen Vigna  <jug@sad.it>
6960
6961         * lyxfind.C (LyXReplace): we have to check better if the returned
6962         text is not of theLockingInset()->getLockingInset().
6963
6964 2002-07-25  Juergen Vigna  <jug@sad.it>
6965
6966         * lyxfind.C (LyXReplace): don't replace if we don't get the
6967         right LyXText.
6968
6969         * undo_funcs.C (createUndo): remove debugging code.
6970
6971 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6972
6973         * buffer.C (parseSingleLyXformat2Token): Use default placement
6974         when reading old floats.
6975
6976         * FloatList.C (FloatList): Change the default placement of figure
6977         and tables to "tbp".
6978
6979 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6980
6981         * MenuBackend.C: using std::max
6982
6983 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6984
6985         * MenuBackend.C (expandToc):
6986         (expandToc2): code moved from xforms menu frontend. It is now
6987         generic and TOCs are transparent to menu frontends.
6988
6989 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6990
6991         * toc.C (getTocList): protect against buf=0
6992
6993         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6994         Menu as first parameter. Now, this calls itself recursively to
6995         expand a whole tree (this will be useful for TOC handling)
6996         (expandFloatInsert): remove 'wide' version of floats
6997
6998         * MenuBackend.h (submenuname): returns the name of the submenu.
6999         (submenu): returns the submenu itself, provided it has been
7000         created by MenuBackend::expand
7001
7002 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7003
7004         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7005         insets which have noFontChange == true. (bug #172)
7006
7007 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7008
7009         * BufferView_pimpl.C: add connection objects and use them...
7010         (Pimpl): here.
7011
7012 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7013
7014         * MenuBackend.C (expandLastfiles):
7015         (expandDocuments):
7016         (expandFormats):
7017         (expandFloatListInsert):
7018         (expandFloatInsert):
7019         (expand): split expand in parts
7020
7021 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7022
7023         * lyx_gui.C: use lyx_gui::exit()
7024
7025 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7026
7027         * LyXAction.C: show the failing pseudo action
7028
7029 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7030
7031         * buffer.C (readFile): Run the lyxconvert script in order to read
7032         old files.
7033
7034 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7035
7036         * LyXAction.C:
7037         * commandtags.h:
7038         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7039
7040 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7041
7042         * LyXAction.C:
7043         * commandtags.h:
7044         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7045
7046 2002-07-22  Herbert Voss  <voss@lyx.org>
7047
7048         * lengthcommon.C:
7049         * lyxlength.[Ch]: add support for the vertical lengths
7050
7051 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7052
7053         * toc.[Ch]: std:: fixes
7054
7055 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7056
7057         * lyxrc.C: do not include lyx_main.h
7058
7059         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7060         for layouts
7061
7062         * lyxrc.C:
7063         * encoding.C:
7064         * bufferlist.C:
7065         * BufferView2.C: include "lyxlex.h"
7066
7067         * tabular.h:
7068         * bufferparams.h: do not #include "lyxlex.h"
7069
7070         * lyxtextclasslist.C (Add): remove method
7071         (classlist): renamed to classlist_
7072
7073         * paragraph_pimpl.C:
7074         * paragraph.C:
7075         * text2.C:
7076         * CutAndPaste.C:
7077         * bufferview_funcs.C:
7078         * bufferlist.C:
7079         * text.C:
7080         * LaTeXFeatures.C:
7081         * buffer.C:
7082         * toc.C (getTocList): use BufferParams::getLyXTextClass
7083
7084         * toc.C (getTocList): use InsetFloat::addToToc
7085
7086         * toc.[Ch]: new files, containing helper functions to handle table
7087         of contents
7088
7089         * lyxfunc.C (dispatch): no need to remove spaces around command
7090         given as a string
7091         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7092         first command of the sequence; it is not very clever, but I do not
7093         have a better idea, actually
7094
7095         * LyXAction.C (LookupFunc): make sure to remove space at the
7096         beginning and end of the command
7097
7098 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7099
7100         * MenuBackend.C (getMenubar): new method: return the menubar of
7101         this menu set
7102         (read): treat differently reading of menu and menubar (in
7103         particular, the menubar has no name now)
7104         (Menu::menubar): remove
7105
7106         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7107         saving is finished
7108
7109 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7110
7111         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7112         a bibitem inset in a RTL paragraph.
7113
7114 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7115
7116         * paragraph_pimpl.C: constify
7117
7118         * BufferView_pimpl.C:
7119         * LaTeX.C:
7120         * lyxfunc.C: fix dispatch in a nicer way
7121
7122 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7123
7124         * lyxfunc.C (dispatch):
7125         * BufferView_pimpl.C:
7126         * BufferView_pimpl.h:
7127         * BufferView.C:
7128         * BufferView.h: rename Dispatch() to dispatch()
7129
7130         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7131
7132         * lyxlayout.C (Read): honor DependsOn tag
7133
7134         * lyxlayout.[Ch] (depends_on): new method
7135
7136         * version.C.in: update lyx_docversion
7137
7138         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7139
7140         * paragraph.C (validate): remove from here...
7141         * paragraph_pimpl.C (validate): ... and move here
7142         (isTextAt): make it const
7143
7144         * buffer.C (getLists): ws cleanup
7145
7146 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7147
7148         * language.C (read): Use iso8859-1 encoding in latex_lang
7149         (this prevents LyX from crashing when using iso10646-1 encoding).
7150
7151 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7152
7153         * text2.C (toggleInset): if cursor is inside an inset, close the
7154         inset and leave cursor _after_ it
7155
7156 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7157
7158         * lyxfunc.C: move minibuffer completion handling out of here
7159
7160 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7161
7162         * BufferView_pimpl.C:
7163         * LaTeX.C: fix dispatch calls
7164
7165 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7166
7167         * text.C (drawChars): Fix Arabic text rendering.
7168
7169 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7170
7171         * LyXAction.C:
7172         * commandtags.h:
7173         * lyxfunc.C: remove message-push/pop
7174
7175         * lyxserver.C:
7176         * lyxfunc.h:
7177         * lyxfunc.C: rationalise some code by removing verboseDispatch
7178           in favour of a bool argument to dispatch()
7179
7180 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7181
7182         * lyx_main.C (init): make sure to read symlinks as absolute paths
7183
7184 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7185
7186         * lyxfunc.h:
7187         * lyxfunc.C: no need for commandshortcut to be a member
7188
7189 2002-07-15  André Pönitz <poenitz@gmx.net>
7190
7191         * converter.C: add support for $$s (scripts from lib/scripts dir)
7192         * lyx_main.C: white space
7193
7194 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7195
7196         * bufferlist.C:
7197         * lyxrc.h:
7198         * lyxrc.C: remove second exit confirmation
7199
7200 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7201
7202         * BufferView.h:
7203         * BufferView.C:
7204         * BufferView2.C:
7205         * BufferView_pimpl.h:
7206         * BufferView_pimpl.C:
7207         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7208
7209 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7210
7211         * MenuBackend.C (expand): add numeric shortcuts to document menu
7212
7213         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7214
7215 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7216
7217         * lyxfont.C (setLyXFamily):
7218         (setLyXSeries):
7219         (setLyXShape):
7220         (setLyXSize):
7221         (setLyXMisc):
7222         (lyxRead):
7223         * debug.C (value):
7224         * buffer.C (asciiParagraph): use ascii_lowercase
7225
7226 2002-07-15  Mike Fabian  <mfabian@suse.de>
7227
7228         * lyxlex_pimpl.C (search_kw):
7229         * lyxlex.C (getLongString):
7230         * converter.h (operator<):
7231         * converter.C (operator<):
7232         * buffer.C (parseSingleLyXformat2Token):
7233         (asciiParagraph):
7234         * ToolbarDefaults.C (read):
7235         * MenuBackend.C (checkShortcuts):
7236         (read):
7237         * LColor.C (getFromGUIName):
7238         (getFromLyXName): use the compare_ascii_no_case instead of
7239         compare_no_case, because in turkish, 'i' is not the lowercase
7240         version of 'I', and thus turkish locale breaks parsing of tags.
7241
7242 2002-07-16  Angus Leeming  <leeming@lyx.org>
7243
7244         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7245         now takes a Buffer const & argument.
7246
7247 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7248
7249         * BufferView.C (resize): check there's a buffer to resize
7250
7251 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7252
7253         * lyxfunc.C: remove dead code
7254
7255         * lyxserver.h:
7256         * lyxserver.C: use lyx_guii::set_read_callback
7257
7258 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7259
7260         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7261         an inset in a RTL paragraph.
7262
7263 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7264
7265         * lyxfunc.C: repaint after a font size update
7266
7267 2002-07-15  André Pönitz <poenitz@gmx.net>
7268
7269         * lyxlength.C: inBP should be able to return negative values
7270
7271 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7272
7273         * lyxfunc.C: use lyx_gui::update_fonts()
7274
7275 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7276
7277         * lyxfunc.C: use lyx_gui::update_color()
7278
7279 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7280
7281         * bufferlist.C:
7282         * lyxfunc.h:
7283         * lyxfunc.C:
7284         * lyxrc.h:
7285         * lyxrc.C: remove file->new asks for name option, and let
7286           buffer-new take an argument
7287
7288 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7289
7290         * BufferView_pimpl.C: remove unneeded extra repaint()
7291
7292 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7293
7294         * LyXAction.C: allow command-sequence with NoBuffer
7295
7296         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7297
7298 2002-07-10  Angus Leeming  <leeming@lyx.org>
7299
7300         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7301
7302 2002-07-09  Angus Leeming  <leeming@lyx.org>
7303
7304         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7305
7306 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7307
7308         * lengthcommon.h: whitespace
7309
7310         * lyxfunc.C: update scrollbar after goto paragraph
7311
7312         * lyxtext.h: factor out page break drawing, and fix it so
7313           page break/added space paints as selected nicely
7314
7315 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * BufferView_pimpl.C: add FIXMEs, clean up a little
7318
7319 2002-07-09  André Pönitz <poenitz@gmx.net>
7320
7321         * lyxfont.[Ch]: support for wasy symbols
7322
7323 2002-07-08  André Pönitz <poenitz@gmx.net>
7324
7325         * BufferView_pimpl.C: apply John's patch for #93.
7326
7327 2002-07-05  Angus Leeming  <leeming@lyx.org>
7328
7329         * BufferView_pimpl.C (buffer): generate previews if desired.
7330
7331         * LColor.h: add "preview" to the color enum.
7332
7333         * LColor.C (LColor): add a corresponding entry to the items array.
7334
7335         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7336         with this buffer.
7337
7338 2002-07-05  Angus Leeming  <leeming@lyx.org>
7339
7340         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7341         The body of the code is now in the method that is passed an ostream &
7342         rather than a file name.
7343         Pass an additional only_preamble parameter, useful for the forthcoming
7344         preview stuff.
7345
7346 2002-07-03  André Pönitz <poenitz@gmx.net>
7347
7348         * lyxfunc.C: simplify getStatus() a bit for math stuff
7349
7350 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7351
7352         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7353
7354 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7355
7356         * text.C (changeRegionCase): do not change case of all the
7357         document when region ends at paragraph end (bug #461)
7358
7359 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7360
7361         * paragraph.C (startTeXParParams):
7362         (endTeXParParams): add \protect when necessary
7363
7364 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7365
7366         * BufferView_pimpl.C (workAreaExpose): remove warning
7367
7368 2002-06-27  Angus Leeming  <leeming@lyx.org>
7369
7370         * Makefile.am: add lyxlayout_ptr_fwd.h.
7371
7372 2002-06-26  André Pönitz <poenitz@gmx.net>
7373
7374         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7375
7376 2002-06-25  Angus Leeming  <leeming@lyx.org>
7377
7378         * lyxfunc.C (dispatch): Comment out the call to
7379         grfx::GCache::changeDisplay. The method no longer exists now that the
7380         pixmap generation part of the graphics loader has been moved into
7381         InsetGraphics.
7382
7383 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7384
7385         * text2.C: layout as layout
7386
7387         * text.C: layout as layout
7388
7389         * tabular.C (OldFormatRead): layout as layout
7390
7391         * paragraph_pimpl.C (TeXDeeper): layout as layout
7392         (realizeFont): layout as layout
7393
7394         * paragraph.C (writeFile): layout as layout
7395         (validate): layout as layout
7396         (getFont): layout as layout
7397         (getLabelFont): layout as layout
7398         (getLayoutFont): layout as layout
7399         (breakParagraph): layout as layout
7400         (stripLeadingSpaces): layout as layout
7401         (getEndLabel): layout as layout
7402         (getMaxDepthAfter): layout as layout
7403         (applyLayout): layout as layout
7404         (TeXOnePar): layout as layout
7405         (simpleTeXOnePar): layout as layout
7406         (TeXEnvironment): layout as layout
7407         (layout): layout as layout
7408         (layout): layout as layout
7409
7410         * lyxtextclass.C (compare_name): new functor to work with
7411         shared_ptr, layout as layout
7412         (Read): layout as layout
7413         (hasLayout): layout as layout
7414         (operator): layout as layout
7415         (delete_layout): layout as layout
7416         (defaultLayout): layout as layout
7417
7418         * lyxlayout_ptr_fwd.h: new file
7419
7420         * lyxlayout.C (Read): layout as layout
7421
7422         * lyx_cb.C (MenuInsertLabel): layout as layout
7423
7424         * bufferlist.C (newFile): layout as layout
7425
7426         * buffer.C (readLyXformat2): layout as layout
7427         (parseSingleLyXformat2Token): layout as layout
7428         (insertStringAsLines): layout as layout
7429         (asciiParagraph): layout as layout
7430         (latexParagraphs): layout as layout
7431         (makeLinuxDocFile): layout as layout
7432         (simpleLinuxDocOnePar): layout as layout
7433         (makeDocBookFile): layout as layout
7434         (simpleDocBookOnePar): layout as layout
7435         (getLists): layout as layout
7436
7437         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7438
7439         * CutAndPaste.C (cutSelection): layout as layout
7440         (pasteSelection): layout as layout
7441         (SwitchLayoutsBetweenClasses): layout as layout
7442
7443         * BufferView_pimpl.C (Dispatch): layout as layout
7444         (smartQuote): layout as layout
7445
7446         * BufferView2.C (unlockInset): layout as layout
7447
7448 2002-06-24  André Pönitz <poenitz@gmx.net>
7449
7450         * lyxfunc.C: fix #487
7451
7452 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7453
7454         * lyxrc.h:
7455         * lyxrc.C:
7456         * lyxfunc.C: remove display_shortcuts, show_banner
7457
7458 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7459
7460         * Buffer_pimpl.C: oops, update on resize
7461
7462 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7463
7464         * buffer.C:
7465         * converter.C:
7466         * exporter.C:
7467         * lyxfunc.C:
7468         * BufferView.h:
7469         * BufferView.C: use repaint()
7470
7471         * BufferView_pimpl.h:
7472         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7473           as it's a clearer description. Remove superfluous
7474           redraws.
7475
7476 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7477
7478         * text.C: fix bug 488. Not ideal, but getting
7479           getWord() to work properly for the insets that
7480           matter is more difficult ...
7481
7482 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7483
7484         * BufferView_pimpl.C:
7485         * LyXAction.C:
7486         * commandtags.h:
7487         * lyxfunc.C: remove the six million index lyxfuncs to just
7488           one, and DTRT (bug 458)
7489
7490 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7491
7492         * BufferView.h:
7493         * BufferView.C:
7494         * BufferView_pimpl.h:
7495         * BufferView_pimpl.C: clean up resize() stuff,
7496           and unnecessary updateScreen()s
7497
7498 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * BufferView.h:
7501         * BufferView.C:
7502         * BufferView_pimpl.h:
7503         * BufferView_pimpl.C:
7504         * lyxfind.h:
7505         * lyxfind.C:
7506         * minibuffer.C: remove focus management of workarea,
7507           not needed. Use screen's greyOut()
7508
7509 2002-06-17  Herbert Voss  <voss@lyx.org>
7510
7511         * converter.C: (convert) do not post a message, when converting
7512         fails, let the calling function decide what to do in this case
7513
7514 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7515
7516         * lyxfunc.C: tidy up a little
7517
7518 2002-06-16    <alstrup@diku.dk>
7519
7520         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7521         Got rid of FORMS_H_LOCATION include. Now we are
7522         GUII.
7523
7524 2002-06-15  LyX Development team  <lyx@rilke>
7525
7526         * buffer.[Ch] (sgmlOpenTag):
7527         (sgmlCloseTag): Added support for avoiding pernicious mixed
7528         content. Return number of lines written.
7529
7530         (makeLinuxDocFile):
7531         (makeDocBookFile): Fixed calls to sgml*Tag.
7532         Simple white space clean.
7533
7534         (simpleDocBookOnePar): Simple white space clean.
7535
7536         * tabular.[Ch] (docBook): Renamed to docbook and got another
7537         argument to related with the pernicious mixed content.
7538
7539         (docbookRow): Fixed calls for docbook inset method.
7540
7541 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7542
7543         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7544         so it's X11 independent.
7545
7546         * kb*.[Ch]: ditto.
7547
7548         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7549
7550 2002-06-15  Lyx Development team  <lyx@electronia>
7551
7552         * intl.h: Renamed getTrans to getTransManager.
7553
7554 2002-06-14  Angus Leeming  <leeming@lyx.org>
7555
7556         * Makefile.am: nuke forgotten stl_string_fwd.h.
7557
7558 2002-06-12  Angus Leeming  <leeming@lyx.org>
7559
7560         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7561
7562 2002-06-13  Angus Leeming  <leeming@lyx.org>
7563
7564         * LaTeX.C:
7565         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7566
7567 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7568
7569         * kbmap.C (getiso): add support for cyrillic and greek
7570
7571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7572
7573         * BufferView.h:
7574         * BufferView.C:
7575         * BufferView_pimpl.h:
7576         * BufferView_pimpl.C: move bogus scrolling logic
7577           to xforms
7578
7579 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * lyxfunc.C:
7582         * BufferView_pimpl.C: view->resize() change
7583
7584 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7585
7586         * BufferView_pimpl.C: topCursorVisible
7587           prototype change
7588
7589 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7590
7591         * Makefile.am:
7592         * lyx_gui.h:
7593         * lyx_gui.C: move to frontends/
7594
7595         * main.C:
7596         * lyx_main.h:
7597         * lyx_main.C: changes from above
7598
7599 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7600
7601         * intl.C:
7602         * intl.h:
7603         * kbmap.C:
7604         * kbsequence.C:
7605         * lyx_cb.C:
7606         * lyx_main.C: minor tidy
7607
7608 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * BufferView_pimpl.h:
7611         * BufferView_pimpl.C:
7612         * BufferView.h:
7613         * BufferView.C: make painter() const,
7614           remove dead code
7615
7616         * BufferView2.C: use screen() accessor
7617
7618         * lyx_main.h:
7619         * lyx_main.C: some minor cleanup
7620
7621 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7622
7623         * BufferView_pimpl.h:
7624         * BufferView_pimpl.C: remove enter/leaveView,
7625           use workHeight()
7626
7627 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7628
7629         * BufferView.h:
7630         * BufferView.C:
7631         * BufferView2.C:
7632         * BufferView_pimpl.h:
7633         * BufferView_pimpl.C: only construct screen once,
7634           rename
7635
7636         * lyxrc.C: remove pointless comment
7637
7638 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * BufferView.h:
7641         * BufferView.C: remove active() and belowMouse()
7642
7643         * BufferView_pimpl.h:
7644         * BufferView_pimpl.C: use workarea() not workarea_,
7645           and make it use a scoped_ptr instead
7646
7647 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7648
7649         * lyx_gui.C: add debug message on BadWindow
7650
7651 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7652
7653         * sp_spell.C: fdopen is not part of the C++ standard.
7654
7655         * paragraph.C (InsetIterator): use >= instead of ==
7656
7657 2002-06-07  Angus Leeming  <leeming@lyx.org>
7658
7659         Fixes needed to compile with Compaq cxx 6.5.
7660         * BufferView_pimpl.C:
7661         * DepTable.C:
7662         * buffer.C:
7663         * converter.C:
7664         * encoding.C:
7665         * lyx_gui.C:
7666         * lyx_main.C:
7667         * lyxtextclasslist.C:
7668         * minibuffer.C:
7669         * sp_spell.C:
7670         * tabular_funcs.C:
7671         * vc-backend.C:
7672         all c-library variables have been moved into namespace std. Wrap
7673         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7674
7675         * lyxlength.C:
7676         * tabular-old.C:
7677         * tabular.C:
7678         Add a using std::abs declaration.
7679
7680         * kbmap.h (modifier_pair):
7681         * paragraph.h (InsetTable, InsetList):
7682         * lyxfont.h (FontBits):
7683         type definition made public.
7684
7685         * bufferlist.C (emergencyWriteAll): the compiler complains that
7686         there is more than one possible lyx::class_fun template to choose from.
7687         I re-named the void specialisation as lyx::void_class_fun.
7688
7689         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7690
7691         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7692         the compiler is is unable to find tostr in write_attribute.
7693
7694 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7695
7696         * buffer.C (sgmlError): hide #warning
7697
7698 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7699
7700         * xtl/*: get rid of xtl, which is not in use anyway
7701
7702         * LyXAction.C (init):
7703         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7704         were unimplemented xtl experimentation
7705
7706 2002-06-04  André Pönitz <poenitz@gmx.net>
7707
7708         * lyxfunc.C: disable array operation on simple formulae
7709
7710 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7711
7712         * converter.C: constify a bit
7713
7714 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7715
7716         * lyx_gui.C: check xforms version correctly
7717
7718 2002-04-30  Herbert Voss  <voss@lyx.org>
7719
7720         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7721         "keep" option
7722
7723 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7724
7725         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7726           attempt to register it with a VCS)
7727
7728 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7729
7730         * lyx_main.C (init): honor variables LYX_DIR_13x and
7731         LYX_USERDIR_13x
7732
7733 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7734
7735         * buffer.h:
7736         * buffer.C:
7737         * lyx_main.C: fix a crash on bad command line,
7738           and give a useful exit status on error
7739
7740         * lyxfunc.C (doImport): allow -i lyx to work
7741
7742 2002-03-30  André Pönitz <poenitz@gmx.net>
7743
7744         * lyxfunc.C: mathed font changes
7745
7746 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7747
7748         * LaTeX.C:
7749         * importer.h:
7750         * importer.C:
7751         * lyx_sty.h:
7752         * lyx_sty.C:
7753         * lyxlex.C:
7754         * lyxrow.h:
7755         * lyxtext.h:
7756         * paragraph.h:
7757         * paragraph.C:
7758         * texrow.h:
7759         * texrow.C:
7760         * text.C:
7761         * trans_mgr.h: srcdocs, and some minor cleanups
7762
7763 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7764
7765         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7766         call getFont all the time)
7767
7768 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7769
7770         * switch from SigC signals to boost::signals
7771
7772 2002-05-29  André Pönitz <poenitz@gmx.net>
7773
7774         * paragraph_pimpl.C (getChar): don't call size() too often...
7775
7776 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7777
7778         * paragraph_pimpl.C (insertChar): do not try to update tables when
7779         appending (pos == size())
7780
7781         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7782         in order to reduce drastically the number of comparisons needed to
7783         parse a large document
7784
7785 2002-05-29  André Pönitz <poenitz@gmx.net>
7786
7787         * text.C:
7788         * text2.C:
7789         * lyxtextclass.C:
7790         * sp_pspell.h:
7791         * textclasslist.[Ch]:
7792         * sp_ispell.h: whitespace change
7793
7794 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7795
7796         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7797         lyxaction directly now.
7798
7799 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7800
7801         * trans.C:
7802         * lyxfont.C:
7803         * lyxvc.C: remove unused headers
7804
7805 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7806
7807         * Makefile.am:
7808         * buffer.h:
7809         * undostack.h:
7810         * undostack.C:
7811         * undo_funcs.h:
7812         * undo_funcs.C: some cleanups. Use shared_ptr
7813           and a template for the undo stacks.
7814
7815 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7816
7817         * BufferView_pimpl.h:
7818         * BufferView_pimpl.C:
7819         * kbmap.h:
7820         * kbmap.C:
7821         * kbsequence.h:
7822         * kbsequence.C:
7823         * lyxfunc.h:
7824         * lyxfunc.C:
7825         * text2.C: use key_state/mouse_state
7826
7827 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7828
7829         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7830         and LSubstring
7831
7832         * chset.C: change include order
7833         (loadFile): use boost regex and get rid of LRegex and LSubstring
7834
7835         * Makefile.am (BOOST_LIBS): new variable
7836         (lyx_LDADD): use it
7837
7838         * LaTeX.C: change include order.
7839         (scanAuxFile): use boost regex and get rid of LRegex and
7840         LSubstring
7841         (deplog): ditto
7842
7843 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7844
7845         * ColorHandler.h:
7846         * ColorHandler.C:
7847         * FontInfo.h:
7848         * FontInfo.C: moved to frontends/xforms/
7849
7850         * FontLoader.h:
7851         * FontLoader.C: moved into frontends for GUIIzation
7852
7853         * Makefile.am:
7854         * lyx_gui.C:
7855         * lyxfont.C:
7856         * lyxfunc.C: changes from above
7857
7858 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7859
7860         * LColor.C: remove spurious X include
7861
7862         * BufferView_pimpl.C:
7863         * Makefile.am:
7864         * font.h:
7865         * font.C:
7866         * text.C:
7867         * text2.C: move font metrics to frontends/
7868
7869 2002-05-24  Juergen Vigna  <jug@sad.it>
7870
7871         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7872         setting the undo_cursor.
7873
7874         * ParagraphParameters.h: include local includes first.
7875
7876 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7877
7878         * BufferView_pimpl.C:
7879         * BufferView_pimpl.h:
7880         * Makefile.am:
7881         * WorkArea.h:
7882         * WorkArea.C:
7883         * screen.C: move WorkArea into frontends/
7884
7885         * lyxscreen.h:
7886         * screen.C:
7887         * text.C:
7888         * BufferView.C:
7889         * BufferView2.C: move LyXScreen into frontends/
7890
7891         * lyxlookup.h:
7892         * lyxlookup.C:
7893         * lyx_gui.C: move lyxlookup into frontends/xforms/
7894
7895 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * BufferView2.C:
7898         * BufferView_pimpl.C:
7899         * FontLoader.C:
7900         * LyXView.h:
7901         * LyXView.C:
7902         * Makefile.am:
7903         * WorkArea.C:
7904         * XFormsView.h:
7905         * XFormsView.C:
7906         * buffer.C:
7907         * bufferlist.C:
7908         * bufferview_funcs.C:
7909         * converter.C:
7910         * importer.C:
7911         * lyx_cb.C:
7912         * lyx_gui.C:
7913         * lyx_main.C:
7914         * lyx_find.C:
7915         * lyxfunc.C:
7916         * lyxvc.C:
7917         * minibuffer.C:
7918         * text.C:
7919         * text2.C:
7920         * trans.C:
7921         * vc-backend.C: move LyX/XFormsView into frontends/
7922
7923 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7924
7925         * Makefile.am:
7926         * PainterBase.C:
7927         * PainterBase.h:
7928         * Painter.C:
7929         * Painter.h:
7930         * WorkArea.C:
7931         * WorkArea.h:
7932         * screen.C:
7933         * tabular.C:
7934         * text.C:
7935         * text2.C: move Painter to frontends/
7936
7937 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7938
7939         * buffer.C: comment out some some code that depend upon lyx_format
7940         < 220
7941
7942         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7943         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7944
7945         * buffer.h (NO_COMPABILITY): turn off compability
7946
7947         * ColorHandler.C: include scoped_array.hpp
7948
7949         * font.C: Use more specific smart_ptr header.
7950         * Painter.C: ditto
7951         * gettext.C: ditto
7952         * ShareContainer.h: ditto
7953         * lyx_main.h: ditto
7954         * kbmap.h: ditto
7955         * FontInfo.h: ditto
7956         * BufferView_pimpl.h: ditto
7957         * ColorHandler.h: ditto
7958
7959         * kbmap.C (defkey): change call to shared_ptr::reset
7960
7961 2002-05-21  Juergen Vigna  <jug@sad.it>
7962
7963         * buffer.C (insertErtContents): fix to insert ert asis if it is
7964         non empty. Skip it completely if it contains only whitespaces.
7965
7966 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7967
7968         * BufferView_pimpl.C:
7969         * BufferView2.C: clear selection on paste (bug 393)
7970
7971 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7972
7973         * DepTable.C: include ctime
7974
7975 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7976
7977         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7978
7979 2002-05-14  Juergen Vigna  <jug@sad.it>
7980
7981         * text.C (breakParagraph): fixed function to honor the keepempty
7982         layout in the right maner and also to permit the right breaking
7983         algorithm on empty or non empyt keepempty paragraphs.
7984
7985         * paragraph.C (breakParagraph): we have to check also if the par
7986         is really empty (!size()) for isempty otherwise we do the wrong
7987         paragraph break.
7988
7989 2002-05-10  Juergen Vigna  <jug@sad.it>
7990
7991         * buffer.[Ch] : The following are only changes to the ert
7992         compatibility read reading old LaTeX layout and font stuff and
7993         convert it to ERTInsets.
7994
7995         * buffer.h: added isErtInset().
7996
7997         * buffer.C (struct ErtComp): add a fromlayout bool to check
7998         if we're inside a LaTeX layout.
7999         (isErtInset): new helper function.
8000         (insertErtContents): look for other ert insets before this one
8001         and insert the contents there, so that we don't have subsequent
8002         ERT insets with nothing between them. This way we create only one
8003         inset with multiple paragraphs. Also check if we don't insert only
8004         spaces ' ' as they are ignored anyway afterwards in the .tex file
8005         so if we have only spaces we will ignore this latex part in the
8006         new file.
8007         (parseSingleLyXformat2Token \\layout): better compatibility when
8008         reading layout-latex stuff.
8009         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8010         language tag.
8011         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8012         stuff after reading the inset only get the information back from
8013         the stack.
8014
8015 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8016
8017         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8018
8019         * LaTeXFeatures.C (getBabelOptions): New method.
8020
8021 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8022
8023         * BufferView_pimpl.C (Dispatch): work around missing argument for
8024         'layout'
8025
8026 2002-05-08  Juergen Vigna  <jug@sad.it>
8027
8028         * text.C (leftMargin): handle paragraph leftindent.
8029
8030         * paragraph.C (writeFile): write the new \\leftindent tag.
8031         (validate): handle leftindent code.
8032         (TeXEnvironment): handle paragraphleftindent code again.
8033
8034         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8035
8036         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8037         for paragrap_extra indent code and new token \\leftindent.
8038         (latexParagraphs): handle the leftindent as environment.
8039
8040         * ParameterStruct.h: added leftindent support.
8041
8042         * ParagraphParameters.C (leftIndent): added support functions for
8043         the paragraph left indent.
8044
8045         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8046         more appropriate.
8047
8048 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8049
8050         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8051         inside insetERT.
8052
8053         * text.C (computeBidiTables): No bidi in insetERT.
8054
8055         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8056         in RTL documents.
8057
8058 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8059
8060         * version.C.in: pre 5
8061
8062 2002-05-02  José Matos  <jamatos@fep.up.pt>
8063         * buffer.C (makeDocBookFile): white space changes, add newline to
8064         command styles.
8065         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8066
8067         * tabular.C (docBook): fix typo.
8068
8069 2002-05-03  Juergen Vigna  <jug@sad.it>
8070
8071         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8072         change in LyXText as we can not be sure it was not freed.
8073         (drawOneRow): remove unused code.
8074
8075         * text.C (drawInset): redo the calculation of the need_break_row as
8076         it could have a row which was already freed.
8077         (draw): look at the return value of drawInset and return false if
8078         it also returned false.
8079         (paintRowText): look at the return value of draw and return false if
8080         it also returned false.
8081
8082         * lyxtext.h: added bool return type to drawInset() and draw() so that
8083         if we have a change in the row so that the rowbreak has to be redone
8084         we abort drawing as it will be called again.
8085
8086 2002-05-02  Juergen Vigna  <jug@sad.it>
8087
8088         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8089         a change in the maintext also if we're inside an inset.
8090         (Dispatch): set the cursor again after a break line and after the
8091         screen has been updated as it could be we're in a different row.
8092
8093         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8094         to set the cursor behind the pargraph with > size().
8095         (setCursor): check also for the same paragraph when checking where
8096         to put the cursor if we have a NFR inset.
8097
8098         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8099         parts of layout read further up as it still was in the wrong
8100         position.
8101
8102 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8103
8104         * screen.C (drawFromTo): change sine fullRebreak always return
8105         true.
8106
8107         * buffer.C (parseSingleLyXformat2Token): reindent some
8108
8109         * BufferView_pimpl.C (update): change since fullRebreak always
8110         return true.
8111         (Dispatch): git rid of the last hardcoded "Standard"s.
8112
8113 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * text2.[Ch] (fullRebreak): make it return void now that we always
8116         returned true.
8117
8118 2002-04-30  Juergen Vigna  <jug@sad.it>
8119
8120         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8121         ert compatibility check for "latex" layout.
8122
8123 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8124
8125         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8126         minipages: use col% instead of p%, and also use the current font.
8127         (makeLaTeXFile): Fix use babel condition.
8128         (parseSingleLyXformat2Token): Correct font when reading old floats.
8129
8130 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8131
8132         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8133         inserting list of floats.
8134
8135 2002-04-25  Herbert Voss  <voss@lyx.org>
8136
8137         * MenuBackend.C (expand): don't add the graphics extensions to the
8138         export menu
8139
8140 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8141
8142         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8143         non-existing layout, do not complain if it was the default layout
8144         of the original class (bug #342)
8145
8146 2002-04-24  Juergen Vigna  <jug@sad.it>
8147
8148         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8149         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8150
8151 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8152
8153         * buffer.C (getBibkeyList): If using \bibliography, return the
8154         option field with the reference itself. Enables us to provide natbib
8155         support when using \bibliography.
8156
8157 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8158
8159         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8160
8161         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8162         natbib is provided by the LaTeX class.
8163
8164 2002-04-23  Juergen Vigna  <jug@sad.it>
8165
8166         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8167         Wakeup functions.
8168
8169         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8170
8171 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8172
8173         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8174
8175         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8176         ensuremath around textordmasculine, textordfeminine and
8177         textdegree.
8178
8179 2002-04-19  Juergen Vigna  <jug@sad.it>
8180
8181         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8182         reinitializing the buffer otherwise row-dimensions may be wrong.
8183         (update): reset also the selection cursors if they do exits otherwise
8184         their x/y positions may be wrong.
8185
8186         * text2.C (cursorDown): don't enter the inset if we came from a row
8187         above and are one row over the inset.
8188
8189         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8190         really leaving an inset.
8191
8192 2002-04-18  Juergen Vigna  <jug@sad.it>
8193
8194         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8195         of the selected paragraph does not have the selected layout also if
8196         the last one had!
8197
8198         * text2.C (setLayout): fixed bug which did not change last selected
8199         paragraph.
8200
8201         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8202         changed the read and substituted \\end_float with \\end_inset!
8203
8204         * BufferView_pimpl.C (cursorPrevious):
8205         (cursorNext): fixed to make it work with rows heigher than the work
8206         area without moving the cursor only the draw of the row.
8207         (workAreaMotionNotify): fix jumping over high rows.
8208
8209 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8210
8211         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8212         Ressler.
8213
8214 2002-04-16  Juergen Vigna  <jug@sad.it>
8215
8216         * text2.C (setCursor): set also the irow().
8217         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8218         (cursorUp):
8219         (cursorDown): support for locking an inset if the x_fix value goes
8220         inside it. That way I can transverse insets too with cursor up/down.
8221
8222         * lyxrow.h: added irow helper function same as other (i) functions.
8223
8224         * BufferView_pimpl.C (cursorPrevious):
8225         (cursorNext): fixed for insets!
8226
8227 2002-04-15  Juergen Vigna  <jug@sad.it>
8228
8229         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8230         position otherwise it is wrong in some cases.
8231
8232         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8233         inside the inset before the call.
8234
8235 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8236
8237         * buffer.[Ch] (getBibkeyList): make it const.
8238
8239 2002-04-12  Juergen Vigna  <jug@sad.it>
8240
8241         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8242
8243         * text2.C (getCursorX): new helper function
8244         (setCursor): compute also ix_
8245         (setCursorFromCoordinates): set also ix.
8246
8247         * lyxcursor.h: added ix_ and helper functions.
8248
8249         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8250
8251         * buffer.C (insertStringAsLines): dont break paragraph if the this
8252         paragraph is inside an inset which does not permit it!
8253
8254         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8255         also with no chars on this paragraph.
8256         (paintRowText): only paint stuff if it's inside the workarea!
8257
8258         * paragraph.C (breakParagraph): honor keepempty flag and break the
8259         paragraph always below not above.
8260
8261         * BufferView2.C (unlockInset): update the paragraph layout on inset
8262         unlock as we changed paragraph in such a case.
8263
8264         * lyxfind.C (LyXFind): clear the former selection if not found!
8265
8266         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8267         again called in insertChar().
8268
8269         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8270         an inset which uses the whole row!
8271         (rightMargin): ditto.
8272         (insertChar): force a rebreak if we inserted an inset!
8273
8274 2002-03-28  Herbert Voss  <voss@lyx.org>
8275
8276         * lyxlength.[Ch]: add inBP() to get the right PS-point
8277         units (BigPoint). With inPixels we have rounding errors
8278
8279 2002-04-11  Juergen Vigna  <jug@sad.it>
8280
8281         * text2.C (setCursorFromCoordinates): set iy to the right value.
8282         (setCursor): add check if row->previous exists!
8283
8284         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8285         an old float_type as this was the case in the old code!
8286
8287         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8288
8289         * BufferView2.C (showLockedInsetCursor): use iy
8290         (fitLockedInsetCursor): ditto
8291
8292         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8293         locked insets as there we have the right value now.
8294
8295         * lyxcursor.C: added iy_ variable and iy functions to set to the
8296         baseline of cursor-y of the locked inset.
8297
8298         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8299         (setCursor): fixed for insets which need a full row.
8300
8301         * text.C (rowLastPrintable): don't ignore the last space when before
8302         an inset which needs a full row.
8303         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8304         as last character of a row when before a inset which needs a full row.
8305
8306 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8307
8308         * version.C.in: update date
8309
8310         * text2.C (fullRebreak): try to always return true and see what
8311         happens...
8312
8313 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8314
8315         * MenuBackend.C (expand): use Floating::listName
8316
8317         * FloatList.C (FloatList): add listName argument to the built-in
8318         floats
8319
8320         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8321         text associated with the float.
8322
8323 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8324
8325         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8326
8327 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8328
8329         * ShareContainer.h: add a couple of missing typenames.
8330
8331 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8332
8333         * lyxrc.C (getDescription): use _() correctly rather than N_().
8334
8335 2002-03-28  Herbert Voss  <voss@lyx.org>
8336
8337         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8338         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8339
8340 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8341
8342         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8343         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8344
8345 2002-03-29  Juergen Vigna  <jug@sad.it>
8346
8347         * lyxfunc.C (dispatch): add a missing fitCursor call.
8348
8349         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8350         it was scrolled by a cursor move, so return the bool status.
8351
8352         * BufferView.C (fitCursor): return the bool flag also to the outside
8353         world as this is needed.
8354
8355         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8356
8357         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8358         call the edit() as it is not needed (and wrong) IMO.
8359         (workAreaButtonPress): set the screen_first variable before evt.
8360         unlock the inset as this may change screen_first and then we have
8361         a wrong y position for the click!
8362
8363 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8364
8365         * MenuBackend.C (expand): another translation that I missed
8366
8367 2002-03-28  Juergen Vigna  <jug@sad.it>
8368
8369         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8370
8371         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8372
8373 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8374
8375         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8376
8377         * MenuBackend.C (expand): fix export/view/update when there is no
8378         document open.
8379
8380 2002-03-27  Herbert Voss  <voss@lyx.org>
8381
8382         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8383         and text%
8384
8385 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8386
8387         * bufferview_funcs.C (currentState): only show paragraph number
8388         for is DEVEL_VERSION is set.
8389
8390         * lyxfunc.C (dispatch): put warning in INFO channel
8391
8392         * MenuBackend.C (expand): translate the name of floats
8393
8394         * FloatList.C (FloatList): mark the float names for translation
8395
8396         * converter.C (convert): use LibScriptSearch
8397
8398 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8399
8400         * MenuBackend.C (defaults): fix default menu (we might as well get
8401         rid of it...)
8402
8403 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8404
8405         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8406         directory.
8407
8408 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8409
8410         * lyxvc.C: reorder includes.
8411
8412 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8413
8414         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8415           properly
8416
8417 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8418
8419         * CutAndPaste.C: change layouts earlier on paste
8420           to avoid crashing when calling getFont()
8421
8422 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8423
8424         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8425         irritating #error.
8426
8427 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8428
8429         * WorkArea.C: remove 'Pending' debug message.
8430
8431         * most files: ws cleanup
8432
8433         * buffer.[Ch]: ws changes
8434
8435         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8436
8437 2002-03-21  Juergen Vigna  <jug@sad.it>
8438
8439         * tabular.C (SetMultiColumn): collapse also the contents of the
8440         cells and set the last border right. Added a Buffer const * param.
8441
8442 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8443
8444         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8445         linking or not.
8446
8447 2002-03-19  Juergen Vigna  <jug@sad.it>
8448
8449         * text2.C (clearSelection): reset also xsel_cache.
8450
8451         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8452         where it needs to be called (John tells us to do so too :)
8453         (selectionLost): reset sel_cache.
8454
8455         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8456
8457 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * text2.C (setCursorIntern): put debuging code in INSETS channel
8460
8461 2002-03-19  André Pönitz <poenitz@gmx.net>
8462
8463         * lyxfunc.C: tiny whitespace change
8464
8465 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8466
8467         * ToolbarDefaults.C (init):
8468         * LyXAction.C (init):
8469         * commandtags.h:
8470         * BufferView_pimpl.C (Dispatch):
8471         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8472
8473 2002-03-19  Allan Rae  <rae@lyx.org>
8474
8475         * exporter.C (Export): removeAutoInsets before doing anything else.
8476         While I've just introduced a dependency on BufferView this really is
8477         the best place to clean the buffer otherwise you need to cleanup in
8478         a dozen places before calling export or cleanup in a dozen functions
8479         that export calls.
8480
8481         * converter.C (runLaTeX):
8482         (scanLog): Better handling of removeAutoInsets and screen updates.
8483
8484         * lyxfunc.C (dispatch): small whitespace changes
8485
8486 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8487
8488         * WorkArea.C (C_WorkAreaEvent): return a value.
8489         (event_cb): return 1 if we handled the event, 0 otherwise.
8490
8491         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8492
8493 2002-03-18  Juergen Vigna  <jug@sad.it>
8494
8495         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8496         (GetAdditionalWidth): ditto.
8497         (RightLine): ditto.
8498         (LeftLine): ditto.
8499
8500         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8501         inset if we're there actually (probably not used right now but this
8502         is the direction to go for unifying code).
8503         (paste): disable code to clear the selection.
8504
8505         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8506         inside an InsetText and move the check further up as it is in the
8507         wrong place.
8508
8509         * text2.C (pasteSelection): set a selection over the pasted text.
8510
8511 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8512
8513         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8514         and libgraphics to build on Cygwin.
8515
8516 2002-03-15  Juergen Vigna  <jug@sad.it>
8517
8518         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8519         inserting an Inset into the paragraph. I know this is not the best
8520         fix but we already use current_view in CutAndPaste so we will remove
8521         all of it's using at the same time.
8522
8523         * buffer.C (sgmlError): deactivated function till it is rewritten in
8524         the right mode, now it can create problems.
8525
8526         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8527         before accessing it.
8528
8529 2002-03-14  Juergen Vigna  <jug@sad.it>
8530
8531         * undo_funcs.C (textHandleUndo): do the right thing when updating
8532         the inset after the undo/redo.
8533
8534         * text2.C (setCursor): just some testcode for #44 not ready yet.
8535
8536         * undo_funcs.C (textHandleUndo): set the next() and previous()
8537         pointers of the paragraph to 0 before deleting otherwise we have
8538         problems with the Paragraph::[destructor].
8539
8540         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8541         on a paragraph insertion.
8542
8543 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8544
8545         * buffer.C (asciiParagraph): use += operator for char append to
8546         string.
8547
8548         * paragraph.C (getFontSettings): compare >= not just >
8549         (highestFontInRange): ditto
8550         (setFont): ditto
8551
8552 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8553
8554         * paragraph.C: change several algorithm to be more appripriate for
8555         the problem domain. This is lookip in FontList and in the InsetList.
8556
8557 2002-03-13  André Pönitz <poenitz@gmx.net>
8558
8559         * commandtags.h:
8560         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8561
8562 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * commandtags.h:
8565         * LyXAction.C:
8566         * lyxfunc.C:
8567         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8568
8569 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8570
8571         * Painter.C (display): anon helper function, adjust code for this
8572         change.
8573         (pixmap): remove function.
8574
8575         * Painter.h: remove private display variable.
8576
8577         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8578
8579 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8580
8581         * WorkArea.[Ch]: remove figinset_canvas cruft.
8582
8583 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8584
8585         * lyxtextclass.C (operator): add one item cache optimization.
8586
8587         * bufferlist.h: doxy changes
8588
8589         * bufferlist.C: ws changes
8590
8591         * DepTable.[Ch] (ext_exist): place const in the right spot.
8592
8593         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8594         call resizeInsets.
8595         (workAreaExpose): call resizeInsets when the with BufferView changes.
8596         (Dispatch): adjust for protectedBlank removal
8597         (specialChar): call updateInset if the insert went ok.
8598
8599         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8600         specialChar instead.
8601
8602         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8603
8604         * BufferView.h: doxy change
8605
8606         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8607
8608         * lyxtextclass.C (operator[]): remove non-const version
8609         (defaultLayout): remove non-const version
8610
8611 2002-03-12  Juergen Vigna  <jug@sad.it>
8612
8613         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8614         did resize the LyXText too.
8615
8616         * buffer.C (readLyXformat2): set layout information on newly allocated
8617         paragraphs.
8618
8619         * tabular.C (OldFormatRead): set layout information on the paragraph.
8620
8621 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8622
8623         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8624
8625 2002-03-11  Juergen Vigna  <jug@sad.it>
8626
8627         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8628         plainly wrong.
8629         (resizeCurrentBuffer): force also the insets to resize themselfes.
8630         (moveCursorUpdate): fixed up for InsetText.
8631
8632 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8633
8634         * commandtags.h:
8635         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8636         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8637         value of Dialogs::tooltipsEnabled().
8638         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8639
8640 2002-03-08  Juergen Vigna  <jug@sad.it>
8641
8642         * BufferView_pimpl.C (updateInset): update inset inside inset also
8643         if it isn't inside theLockingInset().
8644
8645 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8646
8647         * buffer.C (asciiParagraph): redo some of the word and line length
8648         handling.
8649         (getLists): look for Caption instead of caption.
8650
8651 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8652
8653         * buffer.C (Buffer): initialize niceFile to true
8654         (makeLaTeXFile):
8655         (makeLinuxDocFile):
8656         (makeDocBookFile): make sure niceFile is true on exit
8657
8658 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8659
8660         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8661
8662 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8663
8664         * LyXSendto.C: remove.
8665         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8666         * lyx_gui.C: remove now-redundant comment.
8667         * ColorHandler.h: remove forward declaration of class WorkArea.
8668         * lyxfunc.C: remove #include "WorkArea.h".
8669
8670 2002-03-07  Juergen Vigna  <jug@sad.it>
8671
8672         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8673         got moved away with the DEPM and also set the inset_owner always
8674         right which before could have been omitted.
8675
8676 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8677
8678         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8679         wanted layout is not found.
8680
8681 2002-03-07  Juergen Vigna  <jug@sad.it>
8682
8683         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8684
8685 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8686
8687         * paragraph.C (breakParagraph): use default layout not layout of
8688         prev paragraph.
8689         (Paragraph): clear ParagraphParameters.
8690
8691 2002-03-06  Juergen Vigna  <jug@sad.it>
8692
8693         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8694         otherwise it would not be a valid lenght. Fixed a special case in
8695         the minipage compatibility read where we end the document with a
8696         minipage.
8697
8698         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8699         was set as it could be 0 for InsetTexts first entry.
8700
8701 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8702
8703         * paragraph.C (writeFile): if layout is empty write out
8704         defaultLayoutName().
8705
8706         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8707         file without named layout we set layout to defaultLayoutName().
8708
8709 2002-03-06  Juergen Vigna  <jug@sad.it>
8710
8711         * CutAndPaste.C (copySelection): set layout for new paragraph.
8712
8713         * text.C (prepareToPrint): leave ERT inset left aligned
8714         (leftMargin): don't indent paragraphs inside ERT insets
8715
8716 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8717
8718         * paragraph.C (breakParagraph): dont call clear do the work manually
8719
8720         * paragraph.[Ch] (clear): remove function
8721
8722 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8723
8724         * paragraph.C (Paragraph): dont call clear, the work has already
8725         been done.
8726
8727         * lyxtextclass.C (operator): assert if n is empty
8728
8729         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8730         work manually instead.
8731
8732 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8733
8734         * BufferView_pimpl.C: protect selectionLost against text == 0
8735
8736 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8737
8738         * text.C (breakParagraph): fix a setting layout to '0' problem.
8739
8740 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8741
8742         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8743         final location of file, for the included files, and graphics.
8744
8745 2002-03-05  Juergen Vigna  <jug@sad.it>
8746
8747         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8748
8749 2002-03-04  Juergen Vigna  <jug@sad.it>
8750
8751         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8752
8753         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8754         last column of multicolumn cells.
8755         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8756
8757 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8758
8759         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8760         file if it doesn't go to a temporary file.
8761
8762         * buffer.C (sgmlOpenTag):
8763         (sgmlCloseTag):  remove extra newline insertion.
8764
8765 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8766
8767         * text.C (getRowNearY): comment out debug msg
8768
8769 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8770
8771         * text2.C: first -> first_y
8772
8773         * text.C (getRowNearY): add some attemts at a possible
8774         optimization, not working.
8775
8776         * tabular.[Ch]: add BufferParams to several function so that newly
8777         created paragraph can be initialized to he default layotu for the
8778         buffers textclass.
8779
8780         * tabular-old.C (ReadOld): add buf->params to call of Init
8781
8782         * screen.C: rename text->first to text->first_y
8783
8784         * paragraph.C (breakParagraph): always set layout in the broken
8785         paragraph
8786
8787         * lyxtextclass.C (Read): remove lowercase
8788         (hasLayout): ditto
8789         (operator): ditto
8790         (delete_layout): ditto
8791
8792         * lyxtext.h: rename first -> first_y
8793
8794         * lyxlayout.C (Read): remove lowercase
8795         (name): ditto
8796         (setName): ditto
8797         (obsoleted_by): ditto
8798
8799         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8800
8801         * buffer.C (insertErtContents): add params are to InsetERT
8802         (parseSingleLyXformat2Token): add code to check if a paragraphs
8803         layout really exist.
8804         (parseSingleLyXformat2Token): add params to several inset
8805         constructors
8806         (asciiParagraph): remove lowercase, do the layout comparisons with
8807         no_case
8808
8809         * BufferView_pimpl.C (cursorNext): first -> first_y
8810         (resizeCurrentBuffer): first -> first_y
8811         (updateScrollbar): first -> first_y
8812         (scrollCB): first -> first_y
8813         (workAreaMotionNotify): first -> first_y
8814         (workAreaButtonPress): first -> first_y
8815         (checkInsetHit): first -> first_y
8816         (cursorPrevious): first -> first_y
8817         (cursorNext): first -> first_y
8818         (Dispatch): add buffer_->params to severl inset contructors
8819
8820 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8821
8822         * lyxlayout.C (Read): remove some debug info that I forgot.
8823
8824         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8825         clean up the code slightly.
8826         (makeLinuxDocFile): ditto
8827         (makeDocBookFile): ditto
8828
8829         * text2.C: layout as string
8830
8831         * text.C: layout as string
8832
8833         * paragraph_pimpl.C: layout as string
8834
8835         * paragraph.[Ch]: layout as string
8836
8837         * lyxtextclasslist.[Ch]: layout as string
8838
8839         * lyxtextclass.[Ch]: layout as string
8840
8841         * lyxtext.h: layout as string
8842
8843         * lyxlayout.[Ch]: layout as string
8844
8845         * lyx_cb.C: layout as string
8846
8847         * bufferview_funcs.C: layout as string
8848
8849         * bufferparams.C: layout as string
8850
8851         * buffer.C: layout as string
8852
8853         * LyXView.[Ch]: layout as string
8854
8855         * LaTeXFeatures.[Ch]: layout as string
8856
8857         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8858
8859         * BufferView_pimpl.C: change current_layout to string, remove
8860         lyx::layout_type.
8861         (Dispatch):
8862         (smartQuote):
8863         (insertInset):
8864         (workAreaButtonRelease): layout as string
8865
8866         * BufferView2.C (unlockInset): adjust
8867
8868         * vspace.C (asLatexCommand): use an explict temp variable.
8869
8870 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8871
8872         * Makefile.am: use FRONTEND_*
8873
8874 2002-03-01  Juergen Vigna  <jug@sad.it>
8875
8876         * tabular.C (SetWidthOfMulticolCell): changed to something better
8877         I hope but still work in progress.
8878         (recalculateMulticolumnsOfColumn): renamed function from
8879         recalculateMulticolCells as it is more appropriate now.
8880         (SetWidthOfCell): calculate multicols better.
8881
8882 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8885
8886         * lyxfunc.C (processKeySym): print sequence also if it is
8887         `deleted' (complete)
8888
8889         * kbsequence.C (print): print sequence even if it is deleted
8890         (complete would be a better word, actually).
8891
8892         * lyxfunc.C (dispatch): print complete options after a prefix key
8893
8894         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8895
8896 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8897
8898         * text2.C (setCharFont): eliminate setCharFont code duplication.
8899
8900 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8901
8902         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8903         LFUN_TABULAR_FEATURE (bug #177)
8904
8905 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8906
8907         * Makefile.am: remove figure.h
8908
8909 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8910
8911         * Bufferview_pimpl.C:
8912         * CutAndPasteC:
8913         * LaTeX.C:
8914         * LyXSendto.C:
8915         * buffer.C:
8916         * bufferlist.C:
8917         * converter.C:
8918         * language.C:
8919         * lyxfunc.C:
8920         * lyxvc.C:
8921         * paragraph.C:
8922         * text.C:
8923         * text2.C: remove #include "lyx_gui_misc.h".
8924
8925         * LaTeX.C: added #include <cstdio>
8926
8927 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8930         that the paragraph following this one can have.
8931
8932         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8933
8934         * vspace.C (asLatexCommand): fix bogus gcc warning
8935
8936         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8937
8938 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8939
8940         * text2.C (setLayout): get rid of redundant code
8941
8942 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8943
8944         * text2.C (incDepth): make sure depth cannot be increased beyond
8945         reasonable values.
8946
8947 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8948
8949         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8950         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8951
8952         * PainterBase.h (image):
8953         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8954         a LyXImage const *.
8955
8956 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8957
8958         * BufferView.C:
8959         * BufferView.h:
8960         * BufferView_pimpl.C:
8961         * BufferView_pimpl.h:
8962         * LaTeXFeatures.C:
8963         * LyXAction.C:
8964         * LyXView.C:
8965         * Makefile.am:
8966         * UpdateList.h:
8967         * UpdateList.C:
8968         * buffer.C:
8969         * figure.h:
8970         * figureForm.C:
8971         * figureForm.h:
8972         * figure_form.C:
8973         * figure_form.h:
8974         * lyx_cb.C:
8975         * lyx_gui.C:
8976         * lyx_gui_misc.C:
8977         * lyxfunc.C:
8978         * sp_base.h:
8979         * sp_ispell.h:
8980         * sp_pspell.h:
8981         * sp_spell.C: remove fig inset, and the crap house of
8982           cards that follows it
8983
8984 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8985
8986         * Makefile.am:
8987         * lyxserver.C:
8988         * os2_defines.h:
8989         * os2_errortable.h:
8990         * nt_defines.h: move .h into support/
8991
8992         * vms_defines.h: remove
8993
8994         * WorkArea.C: add space in debug output
8995
8996         * text2.C:
8997         * paragraph.C:
8998         * buffer.C: add WITH_WARNINGS
8999
9000         * vc-backend.h:
9001         * vc-backend.C:
9002         * bufferlist.C: s/retrive/retrieve/, add docs
9003
9004         * vspace.h:
9005         * vspace.C:
9006         * kbmap.h:
9007         * lyxlength.h:
9008         * lyxgluelength.h:
9009         * length_common.h:
9010         * chset.h:
9011         * chset.C: add docs
9012
9013         * lyxgui.C: add ID to X error handler
9014
9015         * lyxtestclass.c: fix typo
9016
9017 2002-02-26  Juergen Vigna  <jug@sad.it>
9018
9019         * tabular_funcs.C (write_attribute): changed so that some default
9020         attributes are not written at all.
9021         (getTokenValue): set default values before trying to read the
9022         value so we have the return value always set as default if we don't
9023         find the token we search for.
9024
9025         * tabular.C (Write): write bools as bools not as strings!
9026
9027 2002-02-22  Juergen Vigna  <jug@sad.it>
9028
9029         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9030         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9031
9032         * text.C (leftMargin): don't add an indent for paragraphs inside
9033         tabular cells (fix #208).
9034
9035 2002-02-21  José Matos  <jamatos@fep.up.pt>
9036
9037         * tabular.C (docBook): fixed support for long tables.
9038
9039 2002-02-20  Juergen Vigna  <jug@sad.it>
9040
9041         * text2.C (getFont): get the drawing font of the Inset if this
9042         paragraph is inside an inset (only important for InsetERT for now).
9043
9044         * buffer.C (insertErtContents): use new lanugage params in ERT
9045         constructor.
9046
9047         * CutAndPaste.C: commenting out seemingly uneeded code.
9048
9049 2002-02-19  Allan Rae  <rae@lyx.org>
9050
9051         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9052         Iterators might be simple to use but they also get invalidated.
9053         (removeAutoInsets): renamed saved cursor tracking variables and added
9054         some comments to clarify what everything does.
9055
9056 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9057
9058         * Chktex.C:
9059         * LaTeX.C:
9060         * LyXSendto.C:
9061         * converter.C:
9062         * lyx_cb.C:
9063         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9064         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9065
9066         * lyxfunc.C:
9067         * vc-backend.h: remove #include "support/syscall.h"
9068
9069         * LaTeX.C:
9070         * LyXSendto.C:
9071         * converter.C: rearrange #includes in Lars' approved fashion.
9072
9073         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9074         forward declare class Timeout in the header file.
9075
9076         * XFormsView.C: changes due to the above.
9077
9078         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9079         similar to LyXView.
9080
9081         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9082         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9083
9084 2002-02-18  José Matos  <jamatos@fep.up.pt>
9085
9086         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9087         insets contents.
9088
9089 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9090
9091         * a lot of small ws changes
9092         * add a lot of using std::XXX
9093         * use std construcs some places where approp.
9094         * use some exisint stuff from lyxfunctional where approp.
9095         * Make file changes to use partial linking (lets test this now...)
9096
9097 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9098
9099         * Chktex.C:
9100         * buffer.C:
9101         remove #include "support/syscontr.h" as it's redundant. Always has been.
9102
9103         * Chktex.C:
9104         * LaTeX.C:
9105         * LyXSendto.C:
9106         * converter.C:
9107         * lyx_cb.C:
9108         * vc-backend.C:
9109         change Systemcalls::System to Systemcalls::Wait and
9110         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9111         No change of functionality, just reflects the stripped down Systemcalls
9112         class.
9113
9114 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9115
9116         * debug.[Ch]: add a GRAPHICS type to the enum.
9117
9118 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9119
9120         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9121
9122         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9123         there is an inset.
9124
9125 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9128         match the changes below.
9129
9130         * text2.C (toggleInset): if there is not editable inset at cursor
9131         position, try to see if cursor is _inside_ a collapsable inset
9132         and close it.
9133
9134 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9135
9136         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9137         document menu has a nice checkbox
9138
9139 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9140
9141         * lyxlength.C (asLatexString): change PW to output as percent of
9142         \textwidth.
9143
9144         * lengthcommon.C: change '%' to 't%'
9145
9146         * lyxfunc.C (dispatch): a few comments from Martin
9147
9148 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9149
9150         * WorkArea.h:
9151         * WorkArea.C:
9152         * BufferView_pimpl.h:
9153         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9154           the X selection.
9155
9156 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9157
9158         * vspace.C (inPixels): fix compiler warning
9159
9160 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9161
9162         * lyxfunc.C (getStatus): fix status message for disabled commands.
9163
9164 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * BufferView_pimpl.C: fix crash on close buffer
9167         during selection (#227)
9168
9169 2002-01-27  Herbert Voss  <voss@lyx.org>
9170
9171         * buffer.C: link old Figure to new graphic inset
9172
9173 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9174
9175         * FontLoader.C (getFontinfo): Change the latex font names in order
9176         to match the names of type1inst.
9177
9178 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9179
9180         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9181
9182         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9183         (extchanged): ditto
9184         (ext_exist): ditto
9185         (remove_files_with_extension): ditto
9186         (remove_file): ditto
9187         (write): ditto
9188
9189         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9190         document is smaller than the work area height. Do not initialize
9191         static variables to 0.
9192
9193 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9196
9197         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9198         LFUN_LAYOUT_PARAGRAPHS.
9199
9200         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9201         tabular. It is possible to provide a possible cell, which will
9202         typically be the actcell from the corresponding insettabular
9203
9204         * lyxfunc.C (getStatus): small cleanup; disable
9205         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9206         true
9207
9208 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9209
9210         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9211
9212         * paragraph.C (startTeXParParams):
9213         (endTeXParParams): new methods. The LaTeX code to
9214         start/end paragraph formatting
9215         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9216         empty (fixes bug #200)
9217
9218         * vspace.C (inPixels): adapt to the change below
9219         (inPixels): [later] more cleanups (remove unused variables)
9220
9221         * lyxlength.C (inPixels): change to use a width and a height as
9222         parameter.
9223
9224 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9225
9226         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9227         Replaced with \paperwidth
9228
9229         * DepTable.C (insert): add std:: qualifier
9230
9231 2002-01-18  Allan Rae  <rae@lyx.org>
9232
9233         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9234         updated also?
9235
9236         * text.C (drawInset): Turned out I didn't know enough about how
9237         rebreaking worked.  This fixes most of the redraw problems.  I see
9238         an occasional cursor trail when a line is broken now and the cursor
9239         placement can seem out by a few pixels also after a rebreak.
9240
9241 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9242
9243         * buffer.C (parseSingleLyXformat2Token): update because minipage
9244         width is now a LyXLength
9245
9246         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9247
9248         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9249         math insets
9250
9251 2002-01-17  Juergen Vigna  <jug@sad.it>
9252
9253         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9254
9255         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9256         is set correctly and the inset is updated correctly.
9257
9258 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9259
9260         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9261         the beginning of the loop.
9262
9263 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * lyxrc.C: improve help for use_scalable_fonts
9266
9267 2002-01-17  Allan Rae  <rae@lyx.org>
9268
9269         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9270
9271 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9272
9273         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9274         make sure to set their inset_owner to the right value (bug #171)
9275
9276 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9277
9278         * DepTable.h
9279         * DepTable.C: Implement mtime checking to reduce time spent doing
9280         CRCs.
9281
9282 2002-01-16  Juergen Vigna  <jug@sad.it>
9283
9284         * tabular.C (GetAdditionalHeight): one of error fixed.
9285
9286         * lyxrc.C (output): small fix in writing use_pspell.
9287
9288 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9289
9290         * sp_base.h: #include LString.h
9291
9292 2002-01-16  Allan Rae  <rae@lyx.org>
9293
9294         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9295         Can someone check this please?
9296
9297         * text.C (drawInset): It was possible that p.row would be removed by
9298         breakAgainOneRow upsetting a few other settings.  There may be another
9299         small tweak possible by setting need_break_row = 0 when p.row has been
9300         removed but I don't know enough about the logic here.
9301
9302 2002-01-15  Allan Rae  <rae@lyx.org>
9303
9304         * text.C (insertChar): removed conditional truism.
9305
9306         * BufferView2.C (removeAutoInsets): More tweaks.
9307         cur_par_prev could be a stray pointer.  Check for trailing empty line
9308         in case last line was cur_par and only had an error inset on it.
9309
9310 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9311
9312         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9313         absolute
9314
9315         * vc-backend.C (most methods):
9316         * exporter.C (Export):
9317         * converter.C (convert):
9318         (runLaTeX):
9319         * LyXSendto.C (SendtoApplyCB):
9320         * lyxfunc.C (dispatch):
9321         (menuNew):
9322         (open):
9323         (doImport):
9324         * lyx_cb.C (AutoSave):
9325         (InsertAsciiFile):
9326         * BufferView_pimpl.C (MenuInsertLyXFile):
9327         * buffer.C (runChktex): use Buffer::filePath().
9328
9329         * buffer.h: rename filename to filename_; rename filepath to
9330         filepath_ and make it private
9331         (filePath): new method
9332
9333         * buffer.C (writeFile): use fileName()
9334         (getLatexName):
9335
9336         * lyx_main.C (init): fix starting  of LyX when the binary is a
9337         link from so,ewhere else.
9338
9339         * minibuffer.C: include <cctype> for isprint
9340
9341 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9342
9343         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9344         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9345         name clash with InsetCollapsable's width function.
9346
9347 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9348
9349         * lastfiles.C: include <iterator>
9350
9351 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9352
9353         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9354         std::count.
9355
9356         * buffer.C (makeLaTeXFile): ditto.
9357         Also make loop operation more transparent.
9358
9359 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9360
9361         * ToolbarDefaults.C: remove trailing comma closing namespace.
9362
9363         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9364
9365         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9366         as in WorkArea.
9367
9368         * trans.C (Load): comment out unused variable, allowed.
9369
9370 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9371
9372         * minibuffer.[Ch] (append_char): new method to recieve input from the
9373         drop-down completion browser. If a key was pressed, then recieve this
9374         char and append it to the existing string.
9375         (peek_event): modify the positioning data passed to the completion
9376         browser so that it can be placed above the minibuffer rather than below.
9377 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9378
9379         * LyXAction.C (init): alloe error-next for readonly documents.
9380
9381         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9382         count.
9383
9384 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9385
9386         * bufferlist.C (readFile): create the buffer _after_ checking that
9387         the file exists.
9388
9389         * lyxfunc.C (verboseDispatch): fix handling of arguments
9390
9391         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9392
9393         * lyxrc.C: use string::erase() instead of initializing to "".
9394
9395
9396 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * BufferView_pimpl.h:
9399         * BufferView_pimpl.C:
9400         * WorkArea.h:
9401         * WorkArea.C:
9402         * text2.C: tell X when we have made a selection for copying
9403
9404 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9405
9406         * BufferView_pimpl.C (MenuInsertLyXFile):
9407         * lyxfunc.C (menuNew):
9408         (open):
9409         (doImport): add shortcuts to directory buttons
9410
9411         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9412         open a float)
9413
9414         * lyxfunc.C (setStatusMessage):
9415         (getStatusMessage): new methods
9416         (getStatus):use setStatusMessage instead of setErrorMessage
9417         (dispatch): when function is disabled, set error message here
9418         [instead of in getStatus previously]
9419
9420         * BufferView_pimpl.C (workAreaButtonRelease): update
9421         toolbar/menubar here too.
9422
9423 2002-01-13  Allan Rae  <rae@lyx.org>
9424
9425         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9426         Now seems indestructible.  Remaining task is to audit all other
9427         code affected by deleteEmptyParagraphMechanism.  One small quirk
9428         left is that an empty document with an error in the preamble can
9429         be made to report an error but no error box appears.  I don't know
9430         where it goes.
9431         (removeAutoInsets): Improved comments.
9432
9433 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9434
9435         * Thesaurus.h:
9436         * Thesaurus.C: update for Aiksaurus 0.14
9437
9438 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9439
9440         * text2.C (firstParagraph): removed member function, all uses
9441         replaces with ownerParagraph
9442         (redoParagraphs): here
9443         (updateInset): here
9444         (toggleAppendix): here
9445         * BufferView2.C (insertErrors): here
9446         (setCursorFromRow): here
9447
9448 2002-01-13  Allan Rae  <rae@lyx.org>
9449
9450         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9451         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9452         There is still a way to segfault this although you may have to do this
9453         multiple times: Have an InsetERT with an unknown command in it.
9454         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9455         <down-arrow>, <Enter> again, View->DVI, BANG!
9456
9457         * text2.C (setCursor):
9458         (deleteEmptyParagraphMechanism):
9459         * lyxtext.h (setCursor):
9460         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9461         Making use of the return value may help fix other bugs.
9462
9463 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9464
9465         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9466
9467         * LyXView.C (updateMenubar): call MenuBar::update here
9468         (updateToolbar): but not here
9469         (showState): do not update toolbar/menubar
9470
9471         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9472         should need to care about that.
9473
9474         * lyxfunc.C (verboseDispatch): simplify a bit
9475         (getStatus): have a version which takes a pseudoaction, and
9476         another which requires a (kb_action,string).
9477
9478         * LyXAction.C (retrieveActionArg): make it work also when action
9479         is not a pseudo-action.
9480         (getActionName): simplify a bit
9481         (helpText):
9482
9483 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9484
9485         * lyxfunc.C (verboseDispatch): new families of methods with
9486         several ways to specify a command and a bool to indicate whether
9487         the command name and shortcut should be displayed in minibuffer
9488         (eventually, we could extend that to a finer bitmask like
9489         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9490         (dispatch): the pristine dispatch command which just, well,
9491         dispatchs! Note it still sets its result to minibuffer; I'm not
9492         sure we want that.
9493
9494         * lyxfunc.h: remove setHintMessage
9495
9496         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9497
9498 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9499
9500         * BufferView_pimpl.C (specialChar): delete new inset if we have
9501         not been able to insert it.
9502
9503         * kbmap.C: revert to using int instead of kb_action, since all we
9504         are dealing with is pseudo-actions.
9505
9506         * LyXAction.C (searchActionArg): change to return int instead of
9507         kb_action, since the result is a pseudoaction.
9508
9509 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9510
9511         * buffer.C (insertErtContents): Fix (partially) the font bug.
9512
9513 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9514
9515         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9516         as the other one is broken on my machine!
9517
9518 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9519
9520         * commandtags.h:
9521         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9522
9523 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9524
9525         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9526         reflect their actual use. Provide compatibility code for older lyxrc
9527         files.
9528
9529         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9530         FL_NORMAL_STYLE.
9531         change names of popup font variables in line with the changes to lyxrc.C
9532
9533 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9534
9535         * buffer.C (asciiParagraph): avoid outputing a word twice after
9536         an inset.
9537
9538         * lyxrc.C (getDescription): document that document_path and
9539         template_path can be empty.
9540
9541 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9542
9543         * LaTeXFeatures.C (getMacros):
9544         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9545
9546         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9547
9548         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9549         getPackages.
9550         (getPackages): rename feature "floats" to "float". Use an array to
9551         iterate over 'simple' features (i.e. just a \usepackage). Add
9552         handling of "amsmath" (renamed from "amsstyle").
9553
9554 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9555
9556         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9557         features list.
9558
9559 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9560
9561         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9562         FuncStaus::FuncStatus & FuncStaus::some_method().
9563
9564 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9565
9566         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9567         of the func_satus stuff. Edited and massaged in various ways by
9568         JMarc.
9569
9570         * lyxfunc.C (getStatus): use FuncStatus
9571
9572 2002-01-08  Juergen Vigna  <jug@sad.it>
9573
9574         * text.C (nextBreakPoint): use function Inset::isChar().
9575
9576         * paragraph.C (TeXOnePar): use function
9577         Inset::forceDefaultParagraphs.
9578
9579         * buffer.C (latexParagraphs): use function
9580         Inset::forceDefaultParagraphs.
9581
9582 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9583
9584         * lyx_gui.C (init): set the style of the menu popups to
9585         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9586
9587 2002-01-07  Juergen Vigna  <jug@sad.it>
9588
9589         * text.C (setHeightOfRow): small fix
9590         (prepareToPrint): don't look at alignment if we don't have the place
9591         for doing it.
9592
9593 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9594
9595         * box.C: New file. Move the Box methods and functions out of box.h,
9596         following Lars' suggestion.
9597
9598 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9599
9600         * box.h: #include "support/LOstream.h", needed for inlined function.
9601
9602         * lyxtextclass.C:
9603         * lyxtextclasslist.C: added some using std declarations.
9604
9605 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9606
9607         * box.h: make signed dimensions to allow insets wider than
9608           the screen (bug #162)
9609
9610         * BufferView_pimpl.C: add some insetHit debug
9611
9612 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9613
9614         * vc-backend.C: add FIXME
9615
9616 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9617
9618         * lyxfunc.C (getStatus): enable code for showing math font status
9619         in toolbar/menu.
9620
9621 2002-01-07  Juergen Vigna  <jug@sad.it>
9622
9623         * text.C (nextBreakPoint): removed debug output not needed anymore.
9624
9625 2002-01-06  Juergen Vigna  <jug@sad.it>
9626
9627         * text.C (nextBreakPoint): fixed up this function we had this bug
9628         since ever but now hopefully we break row better.
9629         (insertChar): we have to check if an inset is the next char as it
9630         could now happen that a large inset is causing a break.
9631
9632 2002-01-05  Juergen Vigna  <jug@sad.it>
9633
9634         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9635         if it doesn't like to be drawed.
9636
9637 2002-01-04  Juergen Vigna  <jug@sad.it>
9638
9639         * BufferView2.C (lockInset): forgot to set a cursor.
9640
9641         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9642
9643 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9644
9645         * FormMathsPanel.C:
9646         * FormMathsPanel.h
9647         * MathsSymbols.C:
9648         * form_maths_panel.C:
9649         * form_maths_panel.h:
9650         * form_maths_panel.fd: implemented sub- and super- buttons in math
9651         panel.
9652
9653         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9654         (or ^ space) to be used as in TeX (req'd by André).
9655
9656         * lyxfunc.C: Allow ^ and _ again to be used both as
9657         super/subscript (mathed) and as themselves (in text).
9658
9659 2002-01-03  Allan Rae  <rae@lyx.org>
9660
9661         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9662         "LyX" or the filename of the current buffer if it has one.  This is a
9663         modified form of John Levon's patch.
9664
9665         * XFormsView.C (setWindowTitle): also set icon title.
9666
9667         * LyXView.h (setWindowTitle): signature changed.
9668         * XFormsView.h (setWindowTitle): ditto.
9669
9670 2002-01-02  Juergen Vigna  <jug@sad.it>
9671
9672         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9673
9674 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9675
9676         * screen.C (topCursorVisible): introduce a temp var for
9677         text->cursor.row(), handle the case where this row is null. (kindo
9678         hachish)
9679
9680         * text2.C (setCursor): add a couple of asserts.
9681
9682         * paragraph.h (inset_iterator): add -> operator
9683
9684         * paragraph.[Ch] (autoDeleteInsets): remove member function
9685
9686         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9687         cursor pos correctly and handle inset deletion by itself.
9688         (insertErrors): move iterator declaration out of for expression
9689
9690         * lyxtextclass.C: add <algorithm>
9691
9692         * Makefile.am: added the new files to sources, removed layout.C
9693
9694         * layout.C: removed file
9695
9696         * layout.h: remove LYX_DUMMY_LAYOUT
9697
9698         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9699         layout.
9700
9701         * lyxlayout.[Ch]:
9702         * lyxtextclass.[Ch]:
9703         * lyxtextclasslist.[Ch]: new files
9704
9705         * include order changes to a lot of files, also changes because of
9706         the six new files.
9707
9708 2001-12-27  Juergen Vigna  <jug@sad.it>
9709
9710         * buffer.C (asciiParagraph): more fixes.
9711
9712         * tabular.C (ascii): make ascii export support export of only the
9713         data separated by a column-delimiter.
9714         (ascii): better support for ascii export.
9715
9716         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9717
9718 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9719
9720         * tabular_funcs.C: use a "using std::getline" instead of the
9721         previous fix from Angus (necessary for cxx + lyxstring)
9722
9723 2001-12-24  Juergen Vigna  <jug@sad.it>
9724
9725         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9726
9727         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9728         problems. First check a minipage also if we have some ert-contents
9729         (not only on par->size(), second set the right depth of the paragraph
9730         on the relink to the root-paragraph-list!
9731
9732         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9733         which then did not anymore update the main paragraphs on undo/redo!
9734
9735 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9736
9737         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9738         code. Support all font-changing funcs (even those which are not in
9739         menu currently). Support for reporting font settings in
9740         mathed (disabled until Andre provides a function on mathed's side).
9741
9742         * func_status.h (toggle): small helper function to set toggle
9743         state on a flag.
9744
9745 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9746
9747         * tabular_funcs.C: getline -> std::getline
9748
9749 2001-12-21  Juergen Vigna  <jug@sad.it>
9750
9751         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9752         accessed and could be 0 (I couldn't generate this but it seems
9753         Michael could!).
9754
9755 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9756
9757         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9758         * tabular_funcs.h: here and include iosfwd
9759
9760 2001-12-20  Juergen Vigna  <jug@sad.it>
9761
9762         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9763         inside inset but undo_par was.
9764
9765 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9766
9767         * Thesaurus.C: always include <config.h> in sources.
9768
9769         * Painter.h:
9770         * lyxlookup.h:
9771         * box.h: do not include <config.h> in header files
9772
9773         * text.C (paintLastRow): remove unused variable
9774
9775         * text.C (transformChar):
9776         (insertChar):
9777         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9778
9779         * Painter.C (text):
9780         * font.C (width): rewrite to use uppercase() instead of
9781         islower/toupper.
9782
9783         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9784
9785 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9786
9787         * lyxfind.C: clean up of find failure position change
9788
9789 2001-12-20  Juergen Vigna  <jug@sad.it>
9790
9791         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9792
9793         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9794         (TeXRow): added to LaTeX a single tabular row.
9795         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9796         (Latex): simplified and finally good LT-h/f support.
9797         (various_functions): just small adaptions for LT-h/f support.
9798
9799         * tabular_funcs.[hC]: added and moved here all not classfunctions
9800         of LyXTabular.
9801
9802 2001-12-19  Juergen Vigna  <jug@sad.it>
9803
9804         * tabular.[Ch]: better support for longtabular options (not finished
9805         yet!)
9806
9807 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * text.C (paintLastRow): use the label font instead of the font of
9810         the last character to compute the size of *_BOX. This makes more
9811         sense and avoids a crash with empty paragraphs.
9812         Use Painter::rectangle to draw EMPTY_BOX.
9813
9814 2001-12-19  Juergen Vigna  <jug@sad.it>
9815
9816         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9817         the paragraphs if the replaced paragraph is not the first one!
9818         Tried to delete not used paragraphs but does not work yet so for
9819         now it's inside #ifdef's and by default off!
9820
9821 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9822
9823         * MenuBackend.C: include "lyx_main.h" instead of declaring
9824         lastfiles (actually was declared as LastFiles* instead of a
9825         scoped_ptr).
9826
9827 2001-12-17  Juergen Vigna  <jug@sad.it>
9828
9829         * tabular.C (AppendColumn): applied John's fix
9830
9831 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * BufferView.h:
9834         * BufferView.C:
9835         * BufferView_pimpl.h:
9836         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9837
9838         * Makefile.am:
9839         * box.h: new start of class for above
9840
9841         * lyxfunc.C: ignore space-only minibuffer dispatches.
9842           Show the command name when it doesn't exist
9843
9844         * minibuffer.C: don't add empty lines to the history
9845
9846         * minibuffer.C: add a space on dropdown completion
9847
9848 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9849
9850         * text.C: fix line above/below drawing in insets
9851
9852 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9853
9854         * lyxlength.C (LyXLength): Initialize private variables.
9855
9856 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9857
9858         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9859         when inserting error insets.
9860
9861 2001-12-13  Juergen Vigna  <jug@sad.it>
9862
9863         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9864         actually sometimes the before-paragraph.
9865         (setUndo): don't clear the redostack if we're not actually undoing!
9866
9867 2001-12-06  Juergen Vigna  <jug@sad.it>
9868
9869         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9870         and fixed redoing of main paragraph, so we can use it now ;)
9871
9872         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9873
9874 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9875
9876         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9877         Juergen's request
9878
9879 2001-12-13  André Pönitz <poenitz@gmx.net>
9880
9881         * undostack.[Ch]:
9882         * undo_func.C: minor cleanup
9883
9884 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9885
9886         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9887         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9888         font in urw-fonts package which is marked as -urw-fontspecific and
9889         does not work (incidentally, changing the encoding in the
9890         fonts.dir of this package to -adobe-fontspecific fixes the
9891         problem).
9892
9893         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9894         is a crash when undoing first paragraph (Juergen, please take a
9895         look). THis does not mean the undo fix is wrong, just that it
9896         uncovers problems.
9897
9898         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9899         the (Paragraph*) version when needed instead of duplicating the
9900         code.
9901
9902         * text.C (workWidth): use Inset::parOwner to find out where the
9903         inset has been inserted. This is a huge performance gain for large
9904         documents with lots of insets. If Inset::parOwner is not set, fall
9905         back on the brute force method
9906
9907         * paragraph_pimpl.C (insertInset):
9908         * paragraph.C (Paragraph):
9909         (cutIntoMinibuffer): set parOwner of insets when
9910         inserting/removing them
9911
9912         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9913
9914 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9915
9916         * commandtags.h:
9917         * LyXAction.C:
9918         * lyx_main.C:
9919         * lyxfunc.C:
9920         * mathed/formulabase.C:
9921         * mathed/math_cursor.[Ch]:
9922         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9923
9924
9925 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9926
9927         * lyxlength.[Ch] (operator!=): new function
9928
9929 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * text.C (workWidth): use Inset::parOwner to find out where the
9932         inset has been inserted. This is a huge performance gain for large
9933         documents with lots of insets. If Inset::parOwner is not set, fall
9934         back on the brute force method
9935
9936         * paragraph_pimpl.C (insertInset):
9937         * paragraph.C (Paragraph):
9938         (cutIntoMinibuffer): set parOwner of insets when
9939         inserting/removing them
9940
9941         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9942
9943 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9944
9945         * tabular-old.C (getTokenValue):
9946         * tabular.C (getTokenValue):
9947         (write_attribute): new versions for LyXLength
9948         (everywhere): adjust the use of widths
9949
9950         * tabular.h: change the type of widths from string to LyXLength
9951
9952 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9953
9954         * paragraph.C: fixed missing line number count when exporting
9955         Environments to LaTeX file
9956
9957         * buffer.C: added informational message for checking line numbers.
9958
9959 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9960
9961         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9962         paragraph, do the 'double space' part, but not the 'empty
9963         paragraph' one.
9964
9965         * text.C (workWidth): small optimization
9966         (getLengthMarkerHeight): use minimal size for negative lengths.
9967
9968 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9969
9970         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9971
9972         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9973
9974 2001-12-11  André Pönitz <poenitz@gmx.net>
9975
9976         * FontLoader.C:
9977         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9978
9979 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9980
9981         * text2.C: keep selection on a setFont()
9982
9983 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * lyx_cb.C: another bv->text misuse, from insert label
9986
9987 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9988
9989         * kbsequence.h:
9990         * kbsequence.C: re-instate nmodifier mask
9991
9992 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9993
9994         * lyx_main.h: make lyxGUI private.
9995
9996 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9997
9998         * lyxfind.C: place the cursor correctly on failed search
9999
10000 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10001
10002         * text.C (getLengthMarkerHeight): for small heights, the arrows
10003         are not always on top/bottom of the text
10004         (drawLengthMarker): smaller arrows; take the left margin in
10005         account; draw also vfills.
10006         (paintFirstRow):
10007         (paintLastRow): remove special code for vfill and standard spaces,
10008         since everything is handled in drawLengthMarker now.
10009
10010 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10011
10012         * buffer.C (insertErtContents): try to handle font and language
10013         interaction a bit better.g
10014
10015         * ColorHandler.C (updateColor): change the hash to cover the whole
10016         LColor enum, ws cleanup
10017         (getGCLinepars): ditto
10018         (getGCLinepars): only lookup in the linecache once.
10019
10020 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10021
10022         * iterators.C (operator++): Make the iterator more robust
10023
10024         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10025         (John's patch)
10026         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10027
10028 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10029
10030         * lyxtext.h:
10031         * text.C: better added space drawing
10032
10033 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10034
10035         * LyXView.C:
10036         * BufferView2.C: fix layout combo update on inset unlock
10037
10038 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * Makefile.am: don't compile unused files
10041
10042 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10043
10044         * lyxfunc.C:
10045         * commandtags.h:
10046         * LyXAction.C: remove old LFUN_LAYOUTNO
10047
10048 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * paragraph_pimpl.h:
10051         * paragraph_pimpl.C: isTextAt() doesn't need font param
10052
10053 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10054
10055         * lyxlex.h:
10056         * lyxlex.C: little cleanup
10057
10058 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * BufferView_pimpl.C: fix insertAscii for insets
10061
10062 2001-12-05  Juergen Vigna  <jug@sad.it>
10063
10064         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10065         set the right font on the "multi" paragraph paste!
10066
10067 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * trans_decl.h:
10070         * trans_mgr.[Ch]:
10071         * trans.[Ch]:
10072         * lyxgluelength.C:
10073         * lyxlength.C: remove out-commented code.
10074
10075         * BufferView_pimpl:
10076         * CutAndPaste.C:
10077         * DepTable.C:
10078         * buffer.C:
10079         * chset.C:
10080         * lastfiles.C:
10081         * lyxlex.C:
10082         * lyxlex_pimpl.C:
10083         * lyxserver.C:
10084         * screen.C:
10085         * tabular-old.C:
10086         * tabular.C:
10087         * text.C:
10088         * trans_mgr.C:
10089         * vc-backend.C: change "while(" to "while ("
10090
10091         * lyxlength.[Ch]: add zero function to check if length is zero or
10092         not
10093         * lyxgluelength.C: use it
10094
10095 2001-12-05  Allan Rae  <rae@lyx.org>
10096
10097         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10098         Works for 2.95.3, from what I understand of Garst's reports this should
10099         work for other g++ versions.  We're screwed if the abs(int) definition
10100         changed between bugfix releases of gcc.
10101
10102 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * text.C: fix chapter label offset !
10105
10106 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * lyxtext.h:
10109         * text.C: fix hfill at end of line, clean up
10110
10111 2001-12-04  Juergen Vigna  <jug@sad.it>
10112
10113         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10114         that we force an update of the inset and it's owners if neccessary.
10115
10116 2001-12-03  Juergen Vigna  <jug@sad.it>
10117
10118         * text.C (rowLast): simplified code
10119
10120 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * lyxfunc.C: fix show options on timeout
10123
10124 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10125
10126         * screen.C (topCursorVisible): scroll half a page when the cursor
10127         reached top of bottom of screen
10128
10129 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * minibuffer.C: deactivate on loss of focus
10132
10133 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10134
10135         * vspace.[Ch] (operator!=): add operator.
10136
10137 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * BufferView_pimpl.C: refuse to open an inset when
10140         there's a selection.
10141
10142 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10143
10144         * BufferView_pimpl.C: allow to click on RHS of full row insets
10145
10146 2001-11-30  Juergen Vigna  <jug@sad.it>
10147
10148         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10149         insets for undo reasons.
10150
10151 2001-11-28  André Pönitz <poenitz@gmx.net>
10152
10153         * vspace.[Ch]: cosmetical changes
10154
10155 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * LyXAction.h:
10158         * LyXAction.C:
10159         * lyxfunc.h:
10160         * lyxfunc.C:
10161         * kbmap.h:
10162         * kbmap.C:
10163         * lyxrc.C:
10164         * kbsequence.h:
10165         * kbsequence.C: part re-write of old kb code
10166
10167         * Painter.C:
10168         * WorkArea.C: remove Lgb_bug_find_hack
10169
10170 2001-11-30  José Matos <jamatos@fep.up.pt>
10171
10172         * buffer.C (makeDocBookFile): add a comment to point a hack.
10173         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10174         Fixed a double write of labels.
10175
10176 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10177
10178         * LaTeX.C:
10179         * LaTeX.h Fixed bug in LaTeX class where it would not
10180         re-run latex if no depfiles were changed, but the .dvi was removed.
10181
10182 2001-11-28  André Pönitz <poenitz@gmx.net>
10183
10184         * all the files from the change on 2001/11/26:
10185         use lyx::layout_type instead of LyXTextClass::size_type
10186         use lyx::textclass_type instead of LyXTextClassList::size_type
10187
10188 2001-11-29  Juergen Vigna  <jug@sad.it>
10189
10190         * text.C: added support for paragraph::isFreeSpacing()
10191
10192         * buffer.C: same as above
10193
10194         * paragraph.h: inserted isFreeSpacing() function to enable
10195         FreeSpacing inside InsetERT.
10196
10197         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10198         of the paragraph's in the cut/copy buffer to 0!
10199
10200         * text2.C (removeRow): remove the assert as it can!
10201
10202         * lyxtext.h: added helper function firstRow returning firstrow and
10203         made firstrow private again.
10204
10205         * BufferView2.C (lockInset): don't relock if we're already locked!
10206
10207         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10208         the only paragraph.
10209         (removeRow): added Assert::(firstrow)
10210
10211         * debug.C: forgot to add INSETTEXT here.
10212
10213 2001-11-28  Juergen Vigna  <jug@sad.it>
10214
10215         * sp_spell.C (initialize): changed error text to more general
10216         spellchecker command use (not only ispell!)
10217
10218         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10219
10220         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10221
10222 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * vspace.C: initialise lyxgluelength on failure
10225
10226 2001-11-28  Allan Rae  <rae@lyx.org>
10227
10228         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10229         declaration & definition that looks like a function declaration.
10230
10231 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10232
10233         * BufferView2.C (copy):
10234         (copyEnvironment): do not clear the selection when doing a copy.
10235
10236         * text.C (paintFirstRow): compilation fix
10237
10238 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10239
10240         * tabular.C (Latex): correct line count when writing latex.
10241
10242 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * paragraph_pimpl.h:
10245         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10246           bug a bit
10247
10248 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10249
10250         * text.C:
10251         * LColor.h:
10252         * LColor.C: change vfillline->added_space
10253
10254         * text.C: add markers and text for added space
10255
10256         * vspace.C: fix comment
10257
10258 2001-11-28  André Pönitz <poenitz@gmx.net>
10259
10260         * paragraph.C: whitespace changes
10261         * all the other files from the change on 2001/11/26:
10262         change *::pos_type into lyx::pos_type
10263
10264 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10265
10266         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10267         language of the document when inserting error insets.
10268
10269 2001-11-26  André Pönitz <poenitz@gmx.net>
10270
10271         * BufferView_pimpl.[Ch]:
10272         *       CutAndPaste.C:
10273         * buffer.[Ch]:
10274         * lyxcursor.[Ch]:
10275         * lyxfind.C:
10276         * lyxfunc.C:
10277         * lyxrow.[Ch]:
10278         * paragraph.[Ch]:
10279         * paragraph_pimpl.[Ch]:
10280         * sp_spell.C:
10281         * text.C:
10282         * text2.C: reduce header dependencies, introduce type for positions
10283
10284 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * <various>: change to use Alert.h
10287
10288 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10289
10290         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10291         when encountering an unknown token.
10292         (readLyXformat2): Show an error message if there were unknown tokens.
10293
10294 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * BufferView2.C:
10297         * BufferView_pimpl.C:
10298         * buffer.C:
10299         * paragraph.h:
10300         * text.C:
10301         * text2.C: use par->isInset()
10302
10303 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10304
10305         * paragraph_pimpl.h:
10306         * paragraph_pimpl.C: cleanup
10307
10308 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10309
10310         * text2.C (removeRow):
10311         * text.C (setHeightOfRow): remove useless (and costly) call to
10312         getRow.
10313
10314 2001-11-20  Allan Rae  <rae@lyx.org>
10315
10316         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10317         Now need Inset*::checkInsertChar() to return true for appropriate
10318         cases so that the characters in the minibuffer will actually be
10319         inserted.
10320
10321 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10322
10323         * text.C: change the order of the includes.
10324         (workWidth): initialize it at once.
10325         (workWidth): make maxw unsigned
10326         (setHeightOfRow): remove unused variable (inset)
10327         (selectSelectedWord): remove unused variable (inset)
10328         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10329
10330 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10331
10332         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10333         server is not running.
10334         (openConnection):
10335         (closeConnection): add debug info when server is disabled.
10336
10337         * ColorHandler.C (getGCForeground): send debug message to GUI
10338         channel.
10339
10340         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10341
10342         * kbmap.C (bind): modify because return conventions of
10343         kb_sequence::parse have changed.
10344
10345         * kbsequence.C (parse): only ignore spaces and not any stupid
10346         control character. This avoids tests like s[i] <= ' ', which are
10347         guaranteed to fail with 8bit characters and signed chars.
10348         Change return code to string::npos when there have been no error
10349         (0 was a bad idea when error is at first character)
10350
10351 2001-11-14  José Matos  <jamatos@fep.up.pt>
10352
10353         * buffer.h:
10354         * buffer.C (simpleDocBookOnePar): removed unused argument.
10355
10356 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10357
10358         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10359         insets which are part of a word. Paragraph::isLetter takes care of
10360         that now. Use Paragraph::isInset to identify insets.
10361         (selectSelectedWord): do not test for hyphenation break.
10362
10363         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10364         that protected spaces are considered as spaces.
10365
10366         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10367         Inset::isLetter.
10368
10369 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * lyxserver.h:
10372         * lyxserver.C: fix it. and small cleanup.
10373
10374 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * BufferView_pimpl.C: use inline helpers
10377
10378         * LaTeXFeatures.h:
10379         * LaTeXFeatures.C: fix typos
10380
10381         * Spacing.h:
10382         * Spacing.C: move spacing_string into class
10383
10384         * ToolbarDefaults.C: move stuff into namespace anon
10385
10386         * layout.h: update enum
10387
10388         * lyxfunc.C: use better debug
10389
10390         * minibuffer.h: fix typo
10391
10392         * debug.h:
10393         * debug.C:
10394         * WorkArea.C: add and use Debug::WORKAREA
10395
10396         * lyxtext.h:
10397         * text.C:
10398         * text2.C: code re-organisation, inline helpers
10399
10400 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10401
10402         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10403         std::vector.empty().
10404
10405 2001-11-09  Allan Rae  <rae@lyx.org>
10406
10407         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10408         '\n's after tables.  Tabular and ERT inset work now makes this no
10409         longer necessary.
10410
10411 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * minibuffer.h:
10414         * minibuffer.C: fix crash, improve drop-down completion
10415
10416 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * lyxserver.h:
10419         * lyxserver.C: invalidate fd's when doing endPipe()
10420
10421 2001-11-08  José Matos  <jamatos@fep.up.pt>
10422
10423         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10424         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10425
10426         * paragraph.h:
10427         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10428
10429 2001-11-07  José Matos  <jamatos@fep.up.pt>
10430
10431         * buffer.h:
10432         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10433         const qualifier.
10434
10435         * buffer.C (sgmlOpenTag):
10436         * buffer.C (sgmlCloseTag): removed debug info.
10437
10438         * buffer.h (sgmlOpenTag):
10439         * buffer.h (sgmlCloseTag): made public.
10440
10441 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10442
10443         * buffer.C (saveParamsAsDefaults):
10444         * lyx_cb.C (MenuLayoutSave): remove
10445
10446         * LyXAction.C (init):
10447         * commandtags.h:
10448         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10449
10450 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10451
10452         * buffer.C (setPaperStuff): removed from here...
10453
10454         * bufferparams.C (setPaperStuff): ... and moved there.
10455
10456 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * minibuffer.h:
10459         * minibuffer.C:
10460         * XFormsView.C: add support for drop-down completion
10461
10462 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10463
10464         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10465         commands.
10466
10467 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10468
10469         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10470         disabled.
10471
10472 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * lyx_main.C: change ref to known bugs
10475
10476 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10477
10478         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10479         to work around older babel problems.
10480
10481 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10482
10483         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10484
10485 2001-10-24  Juergen Vigna  <jug@sad.it>
10486
10487         * tabular-old.C (ReadOld): below variable changes reflected.
10488
10489         * tabular.[Ch]: added ltType struct for longtable header/footer
10490         defines and changed all instances where they are used. Added
10491         future support for double top/bottom rows.
10492
10493 2001-10-24  José Matos  <jamatos@fep.up.pt>
10494
10495         * buffer.h (docbookHandleCaption):
10496         * buffer.C (docbookHandleCaption): removed unused function.
10497         (makeDocBookFile): moved docbook supported version to v4.1.
10498
10499 2001-10-24  José Matos  <jamatos@fep.up.pt>
10500
10501         * tabular.h:
10502         * tabular.C (docbookRow): new function to export docbook code of a row.
10503         (DocBook): now honors the longtable flags.
10504
10505 2001-10-23  José Matos  <jamatos@fep.up.pt>
10506
10507         * LaTeXFeatures.h:
10508         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10509         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10510
10511         * buffer.C (makeLinuxDocFile):
10512         (makeDocBookFile): reworked the preamble, more clean, and with
10513         support for lyx defined entities. Changed the document declaration
10514         to be more XML friendly.
10515
10516         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10517         if we need to output XML that should be done with a filter.
10518
10519 2001-10-22  Juergen Vigna  <jug@sad.it>
10520
10521         * sp_pspell.h (class PSpell): add alive function needed in the
10522         controller to see if the spellchecker could be started.
10523
10524 2001-10-22  Juergen Vigna  <jug@sad.it>
10525
10526         * buffer.C (insertStringAsLines): modify the font for inserting
10527         chars in certain conditions by calling checkInsertChar(font).
10528
10529 2001-10-19  Juergen Vigna  <jug@sad.it>
10530
10531         * text.C (workWidth): use getRow instead of wrong algorithm.
10532         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10533
10534 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * lyxserver.h:
10537         * lyxserver.C:
10538         * lyx_main.h:
10539         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10540
10541 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10542
10543         * text.C (workWidth): do not search for the exact row when
10544         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10545         optimization for big documents.
10546
10547 2001-10-18  Juergen Vigna  <jug@sad.it>
10548
10549         * text.C (workWidth): new function with added Inset * parameter.
10550
10551 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10552
10553         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10554
10555         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10556         change return type of getColumnNearX.
10557
10558
10559         * text.C (changeRegionCase): use uppercase/lowercase instead of
10560         toupper/tolower.
10561         (leftMargin):
10562         (rightMargin): simplify code by factoring out the uses of
10563         textclasslist.
10564         (labelFill):
10565         (numberOfHfills):
10566         (setHeightOfRow):
10567         (appendParagraph): use Paragraph::size_type
10568
10569 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10570
10571         * vspace.C (asLatexString): add a missing break
10572
10573 2001-10-15  Herbert Voss  <voss@perce.de>
10574
10575         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10576
10577 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10578
10579         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10580         is not available.
10581
10582 2001-10-10  André Pönitz <poenitz@gmx.net>
10583
10584         * lyxfunc.C: removed greek_kb_flag.
10585
10586 2001-10-10  Herbert Voss  <voss@perce.de>
10587
10588         * lyx_main.C: delete global string help_lyxdir.
10589
10590 2001-10-09  Herbert Voss  <voss@perce.de>
10591
10592         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10593
10594         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10595
10596         * lyx_main.C: added global string help_lyxdir.
10597
10598         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10599
10600 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10601
10602         * lyxrc.C (set_font_norm_type): support iso8859-4
10603
10604 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10605
10606         * LaTeX.C (deplog): add another regex for MikTeX
10607
10608 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10609
10610         * lyxrc.C (set_font_norm_type): support iso8859-3
10611
10612 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10613
10614         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10615
10616         * LaTeXFeatures.C: remove special case of french and index
10617
10618         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10619         before \begin{document}). This solves several incompatibilities.
10620
10621 2001-10-03  Garst Reese  <reese@isn.net>
10622
10623         * lyx_cb.C: change CheckTex error msg.
10624
10625 2001-10-03  José Matos  <jamatos@fep.up.pt>
10626
10627         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10628
10629 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10630
10631         * .cvsignore: update
10632
10633         * lyx_main.C (commandLineVersionInfo): use new style version info.
10634
10635         * buffer.C (writeFile):
10636         (makeLaTeXFile):
10637         (makeLinuxDocFile):
10638         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10639
10640         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10641
10642         * version.h: update to use stuff in version.C
10643
10644         * version.C.in: new file. Contains version information determined
10645         at compile time. This is a merging of version.h and
10646         version_info.h.in.
10647
10648 2001-10-03  Juergen Vigna  <jug@sad.it>
10649
10650         * BufferView_pimpl.C (update): don't change "dirty" status in
10651         updateInset call.
10652
10653 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10654
10655         * WorkArea.C (c-tor): re-position version string slightly.
10656
10657 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10658
10659         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10660         revert to previous code.
10661
10662         WorkArea.[Ch]: (show, destroySplash): methods removed.
10663
10664         WorkArea.C: rework code so that it's an amalgam of the codes before and
10665         after the splash screen was moved to WorkArea.
10666
10667 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10668
10669         * lyxrc.C (read):
10670         * vspace.C (inPixels):
10671         (lyx_advance):
10672         * kbmap.C (bind):
10673         * buffer.C (insertStringAsLines):
10674         (asciiParagraph): fix types to be large enough
10675
10676         * lyxlex_pimpl.h: change member status from short to int
10677
10678         * layout.h: fix type of endlabeltype
10679
10680         * kbmap.C (bind):
10681         * kbsequence.C (parse): change return type to string::size_type
10682
10683         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10684         variable
10685
10686         * Bullet.C (bulletSize):
10687         (bulletEntry): do not use short ints as parameters
10688
10689         * BufferView2.C (insertLyXFile): change a char to an int.
10690
10691         * WorkArea.C (WorkArea): remove unneeded floats in computation
10692
10693 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10694
10695         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10696
10697         * paragraph.C (asString): Do not ignore newline/hfill chars when
10698         copying to the clipboard.
10699
10700 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10701
10702         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10703         after a multi-line inset.
10704
10705 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10706
10707         * paragraph.C (validate): Set NeedLyXFootnoteCode
10708
10709 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10710
10711         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10712         and decrease-error to decrease.
10713
10714 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10715
10716         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10717         it more readable (should be equivalent)
10718
10719 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10720
10721         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10722
10723 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10724
10725         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10726         of a cursor (row, etc.) after a character has been deleted
10727         (deleteEmptyParagraphMechanism): call the method above on _all_
10728         cursors held by the LyXText when a double space has been
10729         detected/deleted.
10730
10731 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10732
10733         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10734         pixmap.
10735         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10736
10737         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10738         background. Use greyOut() and the new show() methods to toggle between
10739         the foreground and background. Add code to remove the splash after
10740         its initial showing.
10741
10742         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10743         (create_forms): no longer call Dialogs::showSplash.
10744
10745 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10746
10747         * .cvsignore: add version_info.h
10748
10749 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10750
10751         * version_info.h.in: new file
10752
10753         * Makefile.am: add version_info.h.in
10754
10755         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10756         version_info.h instead of VERSION_INFO
10757
10758 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10759
10760         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10761         The ERT inset now returns string().
10762
10763 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10764
10765         * lyxtext.h, text.C (selectNextWord): renamed as
10766         selectNextWordToSpellcheck.
10767
10768         * text.C (selectNextWordToSpellcheck): Modified to not select
10769         words inside an ERT inset.
10770
10771 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10772
10773         * lyx_cb.C (MenuLayoutSave): change a bit the question
10774
10775         * sp_base.h: include <sys/types.h>
10776
10777 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10778
10779         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10780
10781 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10782
10783         * several files: fix typos in user-visible strings
10784
10785 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10786
10787         * text2.C (pasteSelection): do not set the selection, since it
10788         will be cleared later. Actually, the intent was to fix the way the
10789         selection was set, but I figured rmoving the code was just as good.
10790
10791 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10792
10793         * FontLoader.C (available): Check if font is available without
10794         loading the font.
10795
10796 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10797
10798         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10799
10800 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10801
10802         * lyxrc.[Ch]: added display_graphics variable and associated code.
10803
10804 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10805
10806         * bufferparams.C (hasClassDefaults): new method. Returns true if
10807         the buffer parameters correspond to known class defaults
10808
10809 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10810
10811         * XFormsView.C (show): set minimum size to the main window.
10812
10813 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10814
10815         * text2.C (copySelection):
10816         (cutSelection):
10817         * lyxfind.C (LyXReplace):
10818         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10819         LyXText::selectionAsString.
10820
10821         * paragraph.C (asString): add "label" argument to the second form
10822
10823         * text2.C (selectionAsString): add "label" argument and pass it to
10824         Paragraph::asString.
10825
10826 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10827
10828         * lyx_main.C (commandLineHelp): remove version information
10829
10830 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10831
10832         * lyx_main.C: add -version commandline option
10833
10834 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10835
10836         * paragraph.h: make the optional constructor arg required instead.
10837         some modifications to other files because of this.
10838
10839         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10840
10841         * lyxserver.C (C_LyXComm_callback): make it static
10842
10843         * lyx_main.C (error_handler): make it static
10844
10845         * lyx_gui.C (LyX_XErrHandler): make it static
10846
10847         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10848
10849         * WorkArea.C: make the extern "C" methods static.
10850
10851         * Makefile.am (lyx_LDADD): simplify
10852
10853 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10854
10855         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10856         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10857
10858         * LyXAction.C (init):
10859         * lyxfunc.C (dispatch): associated code removal.
10860
10861 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10862
10863         * lyxfont.h (isSymbolFont): shut off warning
10864
10865         * text.C (setHeightOfRow):
10866         (getVisibleRow): fix crash with empty paragraphs which have a
10867         bottom line
10868
10869 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10870
10871         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10872         code.
10873
10874 2001-09-04  José Matos  <jamatos@fep.up.pt>
10875         * buffer.C
10876         * buffer.h
10877         * tabular.C (docbook): rename docBook method to docbook.
10878
10879 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10880
10881         * Makefile.am: add dependencies to main.o.
10882
10883 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10884
10885         * FontLoader.C (available): Return false if !lyxrc.use_gui
10886
10887 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10888
10889         * FontInfo.C (query):
10890         * converter.C (view):
10891         * importer.C (Import):
10892         * exporter.C (Export): Can not -> cannot.
10893
10894 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * BufferView_pimpl.C: allow to create index inset even if
10897           string is empty
10898
10899 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10900
10901         * buffer.C (getLists): replace boost::tie code with an explicit pair
10902         as boost::tie can break some compilers.
10903
10904         * iterators.h: Added a std:: declaration to the return type of
10905         ParIterator::size.
10906
10907 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10910           case.
10911
10912 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10913
10914         * iterators.[Ch]: New files. Provide paragraph iterators.
10915
10916         * buffer.C (changeLanguage): Use paragraph iterators.
10917         (isMultiLingual): ditto
10918
10919         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10920
10921 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10922
10923         * FontLoader.C: Support for cmr font.
10924
10925 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10926
10927         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10928         (available): New method.
10929
10930         * FontInfo.C (getFontname): Use scalable fonts even when
10931         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10932         found.
10933
10934 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10935
10936         * converter.C (Formats::view): reverted! Incorrect fix.
10937
10938 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10939
10940         * converter.C (Formats::view): only output the -paper option
10941         if the dvi viewer is xdvi, thereby fixing bug #233429.
10942
10943 2001-08-23  Herbert Voss  <voss@perce>
10944
10945         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10946
10947 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10948
10949         * Spacing.h (Spacing): Set space to Default on in the default
10950         constructor.
10951
10952 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * vc-backend.h (RCS::versionString): add RCS to version
10955         (CVS::versionString): add CVS to version
10956
10957         * vc-backend.C (scanMaster): do not add CVS to version.
10958         (scanMaster): do not add RCS to version
10959
10960         * lyxvc.C (versionString): new method
10961
10962         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10963
10964 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * Spacing.C (set): initialize fval
10967
10968 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10969
10970         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10971         " or \.
10972
10973 2001-08-16  Juergen Vigna  <jug@sad.it>
10974
10975         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10976
10977 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * BufferView_pimpl.C:
10980         * figureForm.C:
10981         * lyxtext.h:
10982         * text2.C: setParagraph takes linespacing now
10983
10984 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * LyxAction.C: add internal LFUN_CITATION_INSERT
10987
10988         * LyXView.C: actually apply fix
10989
10990         * bufferlist.C: fix open non-existent file
10991
10992         * lyxfind.C: fix indentation
10993
10994         * lyxfunc.C: remove unneeded assert, fix typo
10995
10996 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10997
10998         * MenuBackend.C: use "Floatname List"
10999
11000 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11001
11002         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11003         when converting LaTeX layout to insetERT.
11004         Generate a non-collapsed float when reading old float
11005
11006 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11007
11008         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11009         ERT insets.
11010
11011 2001-08-13  Juergen Vigna  <jug@sad.it>
11012
11013         * text.C (fill): return 0 instead of 20 as this seems to be the more
11014         correct value.
11015
11016 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11017
11018         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11019         lyxrc.font_norm.
11020
11021 2001-08-13  Juergen Vigna  <jug@sad.it>
11022
11023         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11024         casesensitive off.
11025         (SearchBackward): comment out the unlocking of the inset_owner this
11026         should not be needed!
11027
11028 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11029
11030         * Many files: Remove inherit_language, and add latex_language
11031
11032         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11033         collapsible insets.
11034
11035 2001-08-10  Juergen Vigna  <jug@sad.it>
11036
11037         * text.C (prepareToPrint): fixed hfill-width in draw!
11038
11039         * BufferView2.C (selectLastWord): save the selection cursor as this
11040         now is cleared in the function LyXText::clearSelection!
11041
11042 2001-08-08  Juergen Vigna  <jug@sad.it>
11043
11044         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11045         BACKSPACE type functions.
11046
11047         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11048         is only cutted from the document but not put in the cut-buffer, where
11049         still the old stuff should be.
11050
11051         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11052
11053         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11054
11055         * tabular.C (SetWidthOfCell): fixed special case where the width
11056         was not updated!
11057         (LeftLine): handle '|' in align_special.
11058         (RightLine): ditto
11059         (LeftAlreadyDrawed): ditto
11060         (SetWidthOfCell): ditto
11061
11062 2001-08-07  Juergen Vigna  <jug@sad.it>
11063
11064         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11065
11066 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11067
11068         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11069         * lyxlex.[hC]: ditto
11070
11071 2001-08-06  Juergen Vigna  <jug@sad.it>
11072
11073         * text.C (getVisibleRow): fix up row clearing a bit.
11074
11075 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11076
11077         * minibuffer.C: make sure the X server sees the changes in the input.
11078
11079 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11080
11081         * paragraph.C (getFont): split into...
11082         (getLabelFont): this
11083         (getLayoutFont): and this
11084         * paragraph_pimpl.C (realizeFont): calling this
11085
11086         * text2.C (getFont): split into...
11087         (getLayoutFont): this
11088         (getLabelFont): and this
11089         (realizeFont): all three calling this
11090
11091         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11092         files where used.
11093
11094 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11095
11096         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11097
11098 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11099
11100         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11101         layouts from the Quote inset insertion.
11102
11103 2001-08-03  Juergen Vigna  <jug@sad.it>
11104
11105         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11106
11107         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11108         only if status not is already CHANGED_IN_DRAW (second level).
11109
11110         * text.C (draw): don't set the need_break_row when inside an
11111         InsetText LyXText.
11112
11113 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11114
11115         * buffer.C (parseSingleLyXformat2Token): handle more latex
11116         conversion cases.
11117
11118         * bufferview_funcs.[hC]: change function names to
11119         begin with small char, adjust other files.
11120
11121 2001-08-02  André Pönitz <poenitz@gmx.net>
11122
11123         * lyxfunc.C:
11124         BufferView_pimpl.C: remove broken special code for math-greek
11125
11126 2001-08-02  Juergen Vigna  <jug@sad.it>
11127
11128         * BufferView_pimpl.C (update): redone this function so that we
11129         update the text again if there was a CHANGE_IN_DRAW.
11130
11131         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11132         (drawFromTo): added a new internal bool which is used by draw() and
11133         redraw() function.
11134         (general): some cursor drawing problems fixed.
11135
11136 2001-08-01  Juergen Vigna  <jug@sad.it>
11137
11138         * lyxfind.C (LyXFind): fixed
11139         (SearchForward): ditto
11140         (SearchBackward): ditto
11141
11142         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11143         spurius drawing of the cursor in the main area.
11144
11145         * text2.C (status): small fix which could lead to a segfault!
11146         (clearSelection): remove unneeded BufferView param.
11147
11148 2001-08-01  André Pönitz <poenitz@gmx.net>
11149
11150         * lyxfunc.C: small change due to changed mathed interface
11151
11152 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11155
11156 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * lyxfunc.c: fail gracefully if file doesn't exist
11159
11160         * LyXSendto.C:
11161         * buffer.C:
11162         * lyxfunc.C:
11163         * BufferView_pimpl.C: IsDirWriteable() proto changed
11164
11165         * LyXView.C: fix updateWindowTitle() to store the last title
11166
11167 2001-07-31  Juergen Vigna  <jug@sad.it>
11168
11169         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11170         the font (wrong since using of Paragraph::highestFontInRange).
11171
11172         * paragraph.C (highestFontInRange): added a default_size parameter.
11173
11174         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11175         (setHeightOfRow): reformat
11176
11177 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11178
11179         * converter.[hC] + affected files: move to (inital-char)lowercase
11180         function names.
11181
11182         * ParagraphParameters.C (ParagraphParameters): remove commented code
11183
11184         * PainterBase.[Ch]: remove commented code
11185
11186         * LaTeXFeatures.h: add "bool floats" for float.sty
11187
11188         * LaTeXFeatures.C (LaTeXFeatures): init floats
11189         (require): handle float
11190         (getPackages): do it with floats
11191
11192 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11193
11194         * BufferView_pimpl.C (Dispatch): improve handling of
11195         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11196
11197         * commandtags.h: #include lyxfont.h here temporarily to avoid
11198         keybinding bug.
11199
11200         * bufferlist.h: include LString.h here.
11201
11202 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11203
11204         * text2.C (getStringToIndex): new method.
11205
11206 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11207
11208         * *: Reduced header file dependencies all over.
11209
11210 2001-07-30  Baruch Even  <baruch@lyx.org>
11211
11212         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11213
11214 2001-07-29  Baruch Even  <baruch@lyx.org>
11215
11216         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11217
11218 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * ParameterStruct.h (endif): add a default constructor to make
11221         sure that all variables is initialized.
11222
11223         * ParagraphParameters.C (ParagraphParameters): adjust
11224
11225 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11226
11227         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11228         index; also, check that there is something to index, and that it
11229         does not span over several paragraphs.
11230         (doubleClick): use WHOLE_WORD_STRICT for double click.
11231
11232         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11233
11234         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11235         scheme.
11236
11237 2001-07-26  Baruch Even  <baruch@lyx.org>
11238
11239         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11240         an InsetFig figure, backwards compatible reading of old figure code.
11241
11242 2001-07-27  Juergen Vigna  <jug@sad.it>
11243
11244         * text2.C: font.realize function adaption.
11245
11246         * text.C (draw): add a warnings lyxerr text if needed.
11247
11248         * layout.C: font.realize function adaption.
11249
11250         * language.C: add inherit_language and implement it's handlings
11251
11252         * bufferview_funcs.C (StyleReset): remove language parameter from
11253         font creation (should be language_inherit now).
11254
11255         * bufferparams.C (writeFile): handle ignore_language.
11256
11257         * paragraph.C (getFontSettings): the language has to be resolved
11258         otherwise we have problems in LyXFont!
11259
11260         * lyxfont.C (lyxWriteChanges): added document_language parameter
11261         (update): removed unneeded language parameter
11262
11263         * paragraph.C (validate): fixed wrong output of color-package when
11264         using interface colors for certain fonts in certain environments,
11265         which should not seen as that on the final output.
11266
11267 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11268
11269         * BufferView_pimpl.C:
11270         * Thesaurus.h:
11271         * Thesaurus.C:
11272         * Makefile.am:
11273         * commandtags.h:
11274         * LyXAction.C: add thesaurus support
11275
11276         * lyxfind.h:
11277         * lyxfind.C: add "once" parameter, for thesaurus, to not
11278           move to the next match
11279
11280 2001-07-26  Juergen Vigna  <jug@sad.it>
11281
11282         * lyxfont.C (realize): honor ignore_language too!
11283         (resolved): ditto.
11284
11285         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11286
11287         * text.C (draw): one place more for ignore_language to not draw
11288         itself!
11289
11290 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11291
11292         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11293
11294 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11295
11296         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11297         the minipage conversion problem.
11298
11299 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11300
11301         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11302         insert an inset.
11303
11304 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11305
11306         * BufferView.h: don't forward declare WorkArea
11307
11308         * BufferView.C: don't include WorkArea.h
11309
11310 2001-07-25  André Pönitz <poenitz@gmx.net>
11311
11312         * commandtags.h:
11313         * LyXAction.C:
11314         * lyxfunc.C:  new LFUN 'math-space'
11315
11316         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11317
11318 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * text2.C (toggleInset): call open/close
11321
11322 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11323
11324         * lyxfunc.C (dispatch): add debug for the disabled case
11325
11326         * font.C (buttonText): make similar to rectText
11327
11328         * buffer.C (readInset): comment out parsing of insetlist and
11329         insttheorem
11330
11331         * PainterBase.C (rectText): small correction
11332
11333         * BufferView_pimpl.C: comment out insettheorem and insetlist
11334         * LyXAction.C: ditto
11335         * commandtags.h: ditto
11336
11337 2001-07-24  Juergen Vigna  <jug@sad.it>
11338
11339         * text.C (draw): honor the ignore_language.
11340
11341         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11342
11343 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11344
11345         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11346         char inset.
11347
11348 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11349
11350         * lyxtext.h: remove unused (and unimplemented) methods
11351
11352 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11353
11354         * text.C (getVisibleRow): honor background color
11355
11356         * PainterBase.h:
11357         * Painter.h: remove default color argument for fillRectangle
11358
11359         * text.C (backgroundColor): new method
11360
11361 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11362
11363         * text.C (getVisibleRow): adjust
11364
11365         * font.[Ch] (rectText): new method, metrics
11366         (buttonText): new method, metrics
11367
11368         * PainterBase.[hC]: make rectText and buttonText always draw and take
11369         fewer paramteres.
11370
11371 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11372
11373         * ToolbarDefaults.C (read):
11374         * MenuBackend.C (read): allow escaping in all strings
11375
11376         * BufferView_pimpl.C (insertAndEditInset): new method.
11377         (Dispatch): use insertAndEditInset whenever appropriate.
11378
11379         * BufferView_pimpl.C (insertNote): removed
11380
11381         * BufferView_pimpl.C (smartQuote): new method, moved from
11382         BufferView; if an insetquote cannot be inserted, insert a '"'
11383         character instead.
11384
11385         * BufferView2.C: remove insertCorrectQuote();
11386
11387         * lyxfunc.C (getStatus): Add support for all remaingin
11388         inset-insert lfuns.
11389
11390         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11391
11392         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11393         command (necessary to pass " as parameter of self-insert.
11394
11395         * text.C (selectWordWhenUnderCursor):
11396         (selectWord): add word_location parameter
11397         (selectWordWhenUnderCursor): same + remove special code for word
11398         boundary.
11399         (selectNextWord): use kind() to guess type of insetspecialchar,
11400         not latex().
11401
11402         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11403         (insertErtContents): create ert insets as collapsed.
11404         (readInset): better compatibility code for Info inset.
11405
11406 2001-07-20  Juergen Vigna  <jug@sad.it>
11407
11408         * lyxfunc.C (dispatch): use always LyXFind now!
11409
11410         * text2.C (init): add a reinit flag so that the LyXText can be
11411         reinited instead of deleted and reallocated (used in InsetText).
11412
11413         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11414
11415         * text.C: ditto
11416
11417         * text2.C: ditto
11418
11419 2001-07-18  Juergen Vigna  <jug@sad.it>
11420
11421         * text.C (selectNextWord): handle insets inside inset by calling
11422         always the bv->text functions so that we can go up the_locking_inset!
11423
11424         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11425         in strange locations when inside an inset!
11426
11427         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11428         handling to include insets.
11429
11430         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11431
11432 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11433
11434         * LyXAction.C (init):
11435         * commandtags.h:
11436         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11437         LIGATURE_BREAK, since the name is so stupid.
11438
11439 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11440
11441         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11442         InsetInfos.
11443
11444         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11445
11446         * sp_form.[Ch]: remove.
11447
11448         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11449
11450         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11451         InsetInfo.
11452
11453         * src/buffer.C (readInset): ditto.
11454
11455 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11456
11457         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11458         menuSeparator(), endOfSentenceDot(), ldots() and
11459         hyphenationPoint(), which are therefore removed.
11460         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11461
11462         * LyXAction.C (init):
11463         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11464
11465         * paragraph.C (getWord): removed.
11466
11467         * BufferView_pimpl.C (Dispatch): use last word or selection for
11468         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11469
11470         * lyx_main.C (queryUserLyXDir): do not ask before creating
11471         user_dir, except if it has been named explicitely.
11472
11473 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11474
11475         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11476         a document of zero size.
11477
11478 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11479
11480         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11481         approriately in the c-tor and in require().
11482         (getPackages): output the appropriate LaTeX for natbib support.
11483
11484         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11485         variables "use_natbib" and "use_numerical_citations" when reading the
11486         LyX file.
11487         (readInset): read the various natbib cite commands.
11488         (validate): white-space change.
11489
11490         * bufferparams.[Ch]: new variables "bool use_natbib" and
11491         "bool use_numerical_citations".
11492         (writeFile): output them in the LyX file.
11493
11494 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11495
11496         * lyxfunc.C (getStatus): add support for all the inset insertion
11497         commands.
11498
11499         * text2.C (insertInset):
11500         * paragraph.C (insetAllowed):
11501         * BufferView_pimpl.C (insertInset): update to take in account the
11502         renaming of insertInsetAllowed
11503
11504         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11505
11506         * text2.C (getInset): new method. returns inset at cursor position.
11507
11508         * BufferView_pimpl.C (Dispatch): changes because of this.
11509
11510         * LyXAction.C (init): rename open-stuff to inset-toggle.
11511
11512         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11513
11514         * text2.C (toggleInset): renamed from openStuff; use
11515         Inset::open().
11516
11517 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11518
11519         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11520
11521         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11522
11523 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11524
11525         * buffer.C (readLyXformat2): Add filename to the error dialog
11526
11527 2001-07-18  Juergen Vigna  <jug@sad.it>
11528
11529         * tabular.C (GetCellNumber): put an assert here instead of the check!
11530
11531 2001-07-17  Juergen Vigna  <jug@sad.it>
11532
11533         * BufferView_pimpl.C (toggleSelection): adapted too.
11534
11535         * text.C (selectNextWord): adapted for use with insets.
11536         (selectSelectedWord): ditto
11537
11538 2001-07-17  Juergen Vigna  <jug@sad.it>
11539
11540         * sp_spell.C (PSpell): fix initialitation order.
11541
11542 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * paragraph.C: spacing
11545
11546 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11547
11548         * sp_spell.C: repair language selection for pspell
11549
11550 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11551
11552         * lyxfunc.h: change more methods to begin with lower char.
11553
11554 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11555
11556         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11557         for unknown layouts.
11558
11559 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11560
11561         * buffer.C (readLyXformat2): Generate an error dialog if there are
11562         unknown layouts.
11563
11564 2001-07-16  Juergen Vigna  <jug@sad.it>
11565
11566         * sp_spell.C: always compile ISpell part.
11567
11568         * lyxrc.C: added use_pspell entry and it's handling.
11569
11570 2001-07-13  Juergen Vigna  <jug@sad.it>
11571
11572         * sp_spell.C: removed double includes.
11573
11574 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11575
11576         Consistent use of Lsstream.h:
11577         * Lsstream.h: added using std::stringstream for consistencies sake.
11578
11579         * buffer.C: removed using std::stringstream
11580
11581         * lyxfont.C (stateText):
11582         * paragraph.C (asString):
11583         * text.C (selectNextWord, selectSelectedWord):
11584         * text2.C (setCounter):
11585         * vspace.C (asString, asLatexString):
11586         std::ostringstream -> ostringstream.
11587
11588 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11589
11590         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11591         * commandtags.h: add LFUN_HELP_ABOUTLYX
11592         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11593
11594 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11595
11596         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11597         cursorToggle()
11598         * lyx_gui_misc.C: remove spellchecker
11599         * lyxfunc.C: showSpellchecker
11600         * sp_base.h: added
11601         * sp_ispell.h: added
11602         * sp_pspell.h: added
11603         * sp_spell.C: added
11604         * sp_form.[Ch]: removed
11605         * spellchecker.[Ch]: removed
11606
11607 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11608
11609         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11610         is set.
11611         (simpleTeXSpecialChars): Simply print the input character without
11612         any special translation if pass_thru is set.
11613
11614         * layout.h: Added bool pass_thru to layout class for being able to
11615         implement pass through of a paragraph for Literate Programming.
11616
11617         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11618         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11619         * layout.C (Read): add "passthru" to list of layout tags and add
11620         code to set the pass_thru boolean when it is read.
11621
11622 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * trans_decl.h: remove allowed from KmodInfo
11625
11626         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11627         remove allowed code
11628         (Load): adjust
11629
11630         * paragraph_pimpl.C (erase): use boost::prior
11631
11632         * Painter.C (text): use data() instead of c_str() when length is
11633         also provided.
11634         * WorkArea.C (putClipboard): ditto
11635         * font.h (width): ditto
11636
11637         * BufferView2.C: use it-> instead of (*it). for iterators
11638         * texrow.C: ditto
11639         * paragraph_pimpl.C: ditto
11640         * paragraph.C: ditto
11641         * minibuffer.C: ditto
11642         * language.C: ditto
11643         * kbmap.C: ditto
11644         * encoding.C: ditto
11645         * counters.C: ditto
11646         * converter.C: ditto
11647         * chset.C: ditto
11648         * Variables.C: ditto
11649         * TextCache.C: ditto
11650         * MenuBackend.C: ditto
11651         * LyXAction.C: ditto
11652         * LColor.C: ditto
11653         * FloatList.C: ditto
11654         * DepTable.C: ditto
11655         * ColorHandler.C (LyXColorHandler): ditto
11656
11657 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11658
11659         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11660
11661         * text2.C (openStuff): reintroduce this method (which had been
11662         nuked in NEW_INSETS frenzy).
11663
11664         * lyxfunc.C (Dispatch): when an action has not been handled, use
11665         its name in the error message, not its number.
11666
11667         * paragraph.C (inInset): change method name to begin with lowercase.
11668
11669         * undo_funcs.C:
11670         * text2.C: updates because of this.
11671
11672 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11673
11674         * ToolbarDefaults.C (add): add spaces in error message
11675
11676 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11677
11678         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11679         (readLyXformat2): rename return_par to first_par, use lyxlex's
11680         pushToken and remove the manual push handling.
11681         (parseSingleLyXformat2Token): add another ert comp. variable:
11682         in_tabular, rename return_par to first_par. handle newlines better
11683
11684 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11685
11686         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11687
11688 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11689
11690         * text2.C (getParFromID): removed
11691
11692         * buffer.C (getParFromID): new method moved form lyxtext.
11693         * BufferView2.C (insertErrors): adjust
11694         (setCursorFromRow): adjust
11695         * BufferView_pimpl.C (restorePosition): adjust
11696         * lyxfunc.C (Dispatch): adjust
11697         * undo_funcs.C (textUndo): adjust
11698         (textRedo): adjust
11699         (textHandleUndo): adjust
11700         (textHandleUndo): adjust
11701
11702 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * buffer.C: up' the LYX_FORMAT
11705
11706         * lyxfont.h: turn NO_LATEX on as default
11707
11708         * buffer.C (insertErtContents): new methods of tex style compability.
11709         (parseSingleLyXformat2Token): use it several places.
11710         * tabular.C (OldFormatRead): and here
11711
11712 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * text2.C: remove some commented code.
11715         reindent file.
11716
11717         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11718         * trans.C: changes because of the above.
11719
11720 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11721
11722         * text2.C (setCounter): Fix counters bug with bibliography layout.
11723
11724 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11727         own member functions
11728         (simpleTeXSpecialChars): ditto
11729
11730 2001-07-06  Juergen Vigna  <jug@sad.it>
11731
11732         * a lot of files: changed the access to LyXText::status and the
11733         call of undo-functions.
11734
11735         * undo.[Ch]: added a inset_id to the undo informations.
11736
11737         * undo_funcs.[Ch]: added and moved here all undo functions.
11738
11739         * lyxtext.h: give the status enum a weight, made status_ a private
11740         variable and made accessor functions for it, removed the whole bunch
11741         of undo-functions as they are now in their own file, make some
11742         functions publically available. Added function ownerParagraph with
11743         int parameter.
11744
11745         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11746         made InInset() a const function, added getParFromID() function.
11747
11748         * buffer.[Ch]: added const version for inset_iterator functions,
11749         added getInsetFromID() function.
11750
11751         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11752         changed undo functions for new version.
11753
11754 2001-07-05  Juergen Vigna  <jug@sad.it>
11755
11756         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11757         unknow mechanism does not call the proper constructor but only this
11758         one also if I request the other!?
11759
11760 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11761
11762         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11763
11764         * text2.C (LyXText): use initialization lists.
11765
11766         * lyxtext.h (Selection): initialize set_ and mark_
11767         (init): remove method
11768
11769 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11770
11771         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11772
11773 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11774
11775         * screen.[Ch]: change method names to begin with lowercase
11776
11777         * BufferView_pimpl.C (updateScrollbar): simplify further and
11778         hopefully make it a bit faster.
11779
11780 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11781
11782         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11783         calling directly xforms functions.
11784
11785         * Painter.C (Painter):
11786         * lyx_cb.C (MenuWrite):
11787         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11788         fl_display.
11789
11790         * lyx_gui.C: remove bogus guiruntime extern declaration.
11791
11792 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11793
11794         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11795         in NEW_INSETS
11796         (redoDrawingOfParagraph): ditto
11797         (redoParagraphs): ditto
11798         (cutSelection): don't create a object for CutAndPaste use the
11799         static method directly
11800         (pasteSelection): ditto
11801
11802         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11803         LyXview (+ rename)
11804
11805 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * modifications to some other files because of this.
11808
11809         * Makefile.am (lyx_SOURCES): add XFormsView
11810
11811         * XFormsView.[Ch]: new files
11812
11813         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11814         the main window. Move the gui dependent stuff to XFormsView
11815
11816 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11817
11818         * tabular.C (GetCellInset): update cur_cell also in the row/col
11819         version of this function.
11820
11821         * lyxfunc.C: no need to include figure_form.h here.
11822
11823         * FontLoader.h:
11824         * lyxfunc.h:
11825         * lyxscreen.h:
11826         * text2.C:
11827         * lyxvc.C: no need to include forms.h here.
11828
11829 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11830
11831         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11832
11833         * lyxfunc.C (Dispatch):
11834         * Spacing.C (set):
11835         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11836         constructor argument.
11837
11838 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * paragraph.C (Paragraph): dont't clear, and just set layout.
11841         (makeSameLayout): use params's copy contructor.
11842
11843         * ParagraphParameters.[Ch] (makeSame): delete method
11844
11845 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * Variables.[Ch]: fix indentation, rename set to isSet
11848
11849 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * lyxfunc.C (Dispatch): fix typo
11852
11853 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11854
11855         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11856         upper_bound.
11857
11858         * bufferlist.C: include assert.h for emergencyWrite().
11859
11860 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11863           give up at last (bug #425202) !
11864
11865 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * lyx_gui_misc.C:
11868         * sp_form.h:
11869         * sp_form.C:
11870         * spellchecker.h:
11871         * spellchecker.C: strip spellchecker options and bring up
11872           preferences tab instead
11873
11874 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11875
11876         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11877         the istringstream constructor
11878
11879 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11880
11881         * paragraph.C (getLayout): fix return value
11882
11883         * paragraph.h: do not declare getLayout as inline.
11884
11885         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11886
11887 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * lyxcursor.h (operator<): new func
11890         (operator>): new func
11891         (operator>=): new func
11892         (operator<=): new func
11893
11894         * text.C (changeCase): use selection.start and selection.end
11895         (changeRegionCase): require from to be <= to. Require par to be a
11896         valid paragraph.
11897
11898         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11899
11900 2001-06-27  Juergen Vigna  <jug@sad.it>
11901
11902         * text.C (cursorLeftOneWord): changed to return the cursor and added
11903         overlay with BufferView * parameter which calls this one.
11904         (getWord): added
11905         (selectWord): use new getWord function.
11906         (changeCase): renamed from changeWordCase as and extended to work
11907         also on selections.
11908
11909         * lyxtext.h: added enum word_location
11910
11911         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11912         changeCase as this operates now also on selections.
11913
11914 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11915
11916         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11917
11918         * many files: send debug output to Debug::INFO instead of
11919         Debug::ANY.
11920
11921         * converter.C (View):
11922         (Convert):
11923         (Move): send debug output to Debug::FILES instead of console.
11924
11925 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11926
11927         * lyxfunc.C (getStatus): use func_status
11928
11929         * func_status.h: new header, describing the results of
11930         LyXFunc::getStatus;
11931
11932         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11933         LFUN_MATH_HALIGN.
11934
11935 2001-06-25  The LyX Project  <jug@sad.it>
11936
11937         * buffer.C (sgmlOpenTag):
11938         (sgmlCloseTag):
11939         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11940
11941 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * text2.C: remove some dead code
11944
11945         * tabular.C (GetCellInset): store the last cell checked (gotten)
11946
11947         * tabular.h: add the helper for the speedup
11948
11949         * lyxtext.h: remove some dead code
11950
11951 2001-06-26  The LyX Project  <Asger>
11952
11953         * paragraph.C: Change export to LaTeX of alignment to
11954         \begin{center} and family for better roundtrip work with reLyX.
11955
11956         * Tune the math drawing a bit.
11957
11958 2001-06-25  The LyX Project  <Asger>
11959
11960         * LColor.C (LColor): New color for math background. New color
11961         for buttons.
11962
11963 2001-06-25  The LyX Project  <jug@sad.it>
11964
11965         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11966
11967         * lyxfunc.C (Open):
11968         * bufferlist.C (newFile): do not restrict to files ending with
11969         .lyx
11970
11971         * BufferView_pimpl.C (MenuInsertLyXFile):
11972
11973 2001-06-24  The LyX Project  <jug@sad.it>
11974
11975         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11976         of compare_no_case
11977
11978 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11979
11980         * lyxtext.h: rename most methods to begin with a small char.
11981         Lots of changes because of this.
11982
11983         * paragraph.C (Paragraph): do not call fitToSize
11984         (erase): call Pimpl::erase
11985         (insertChar): call Pimpl::insertChar
11986         (insertInset): call Pipl::insertInset
11987         (breakParagraph): do not call fitToSize
11988         (breakParagraphConservative): do not call fitToSize
11989         (fitToSize): remove method
11990
11991         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11992
11993 2001-06-24  The LyX Project  <Asger>
11994
11995         * Fix Qt compilation^2
11996
11997 2001-06-24  The LyX Project  <jug@sad.it>
11998
11999         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12000         depthHook(getDepth()-1).
12001
12002         * paragraph.h:
12003         * ParagraphParameters.h:
12004         * ParameterStruct.h: change type of depth to unsigned int ==
12005         depth_type. Many adaptations to other files before of that.
12006
12007 2001-06-24  The LyX Project  <Asger>
12008
12009         * Fix Qt compilation.
12010
12011 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12012
12013         * paragraph.h: renamed several methods to begin with small letter.
12014         several changes to many parts of the code because of this.
12015
12016 2001-06-23  The LyX Project  <jug@sad.it>
12017
12018         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12019         rewritten to discard all double spaces when KeepEmpty is off
12020         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12021         to only handle newlines but not fiddle with spaces and friends.
12022
12023         * lyxfunc.C (MenuNew): when doing 'new from template', use
12024         template_path as default directory
12025
12026 2001-06-23  The LyX Project  <Asger>
12027
12028         * Clean-up of header file includes all over
12029         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12030
12031 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * paragraph.h: renamed from lyxparagraph.h
12034
12035 2001-06-23  Asger  <lyx@violet.home.sad.it>
12036
12037         * Buffer.h: Removed Buffer::resize
12038         * BufferList.h: Removed BufferList::resize
12039         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12040         the document lazily when we change the width, or the font settings.
12041
12042 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12045
12046 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * buffer.h: remove out of date comment
12049
12050 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12051
12052         * lyxscreen.h:
12053         * screen.C: fix "theoretical" GC leak
12054
12055 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12056
12057         * LaTeX.C (scanAuxFile):
12058         (deplog): remove trailing \r when reading stream (useful under
12059         win32)
12060
12061 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12062
12063         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12064         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12065         and BufferView::theLockingInset(Inset*), so should use them and not
12066         access bv_->text->the_locking_inset directly.
12067
12068         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12069
12070 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * Makefile.am:
12073         * tex-defs.h: remove old unused file
12074
12075 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * BufferView_pimpl.C: fix typo, remove minibuffer message
12078           when buffer has loaded
12079
12080 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * lyxfunc.C (Dispatch): use stringstream
12083         (MenuNew): use stringstream
12084         (Open): use stringstream
12085
12086         * importer.C (Import): use stringstream
12087
12088         * bufferview_funcs.C (CurrentState): use stringstream
12089
12090         * LaTeX.C (run): use stringstream
12091
12092         * BufferView_pimpl.C (savePosition): use stringstream
12093         (restorePosition): use stringstream
12094         (MenuInsertLyXFile): use stringstream
12095
12096 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12097
12098         * BufferView.C:
12099         * Bullet.C:
12100         * ColorHandler.C:
12101         * FontInfo.C:
12102         * FontLoader.C:
12103         * LColor.C:
12104         * LaTeXFeatures.C:
12105         * Painter.C:
12106         * gettext.C:
12107         * lyx_gui_misc.C:
12108         * lyxserver.C:
12109         * vspace.C: removed // -*- C++ -*- as first line.
12110
12111         * lyxfind.h:
12112         * version.h: added // -*- C++ -*- as first line.
12113
12114 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12115
12116         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12117
12118         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12119         of string
12120
12121 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12124         of floats.
12125
12126 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12127
12128         * gettext.C: include LString.h even when --disable-nls is on.
12129
12130 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * converter.h (Get): changed argument type from int to
12133         FormatList::size_type to avoid unnecessary conversion.
12134
12135         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12136         before using it.
12137
12138 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12139
12140         * gettext.h: include LString.h even when --disable-nls is on.
12141
12142 2001-06-07  Juergen Vigna  <jug@sad.it>
12143
12144         * text.C (BreakAgain): subst spaces with tabs.
12145
12146         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12147         (resizeInsetsLyXText): set force on resizeLyXText.
12148
12149 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12150
12151         * gettext.h (gettext_init):
12152         (locale_init): use a real definition instead of a macro
12153
12154 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * Bufferview_pimpl.C:
12157         * LColor.h:
12158         * LColor.C: further lcolor tidies
12159
12160 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * BufferView_pimpl.C (updateScrollbar): simplify.
12163
12164         * BufferView2.C: don't include insets/insetinfo.h, change
12165         prototype for insertInset and call the Pimpl version. let
12166         updateInset call Pimpl version.
12167
12168         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12169         gotoInset to BufferView::Pimpl
12170
12171 2001-06-01  Juergen Vigna  <jug@sad.it>
12172
12173         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12174         inside a LockingInset (is the update needed at all?).
12175
12176 2001-05-31  Juergen Vigna  <jug@sad.it>
12177
12178         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12179         here not the old one otherwise how should we compare it afterwards
12180         if it's the same!
12181
12182 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * lyxfont.C:
12185         * tabular.C:
12186         * tabular-old.C:
12187         * FontInfo.C: bring C functions into global namespace when
12188         necessary
12189
12190 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12191
12192         * LString.h: make sure config.h has been loaded before LString.h.
12193
12194         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12195         (one for each char read by EatLine!).
12196
12197         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12198         variables.
12199
12200 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12201
12202         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12203         to the same as the par we break from
12204
12205 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12206
12207         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12208
12209         * MenuBackend.C (expand): also create menu entries for wide
12210         versions of the floats.
12211
12212         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12213
12214         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12215
12216         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12217         frontends/Makefile.am
12218
12219         * text2.C: adjust
12220         * text.C: adjust
12221
12222
12223         * tabular.C (getTokenValue): add std::
12224
12225         * tabular-old.C (getTokenValue): add std::
12226         (getTokenValue): ditto
12227         (getTokenValue): ditto
12228
12229         * screen.C (ToggleSelection): adjust
12230
12231         * lyxtext.h: put selection cursors inside a Selection struct.
12232
12233         * lyxfunc.C (moveCursorUpdate): adjust
12234
12235         * lyxfont.C (latexWriteStartChanges): add std::
12236
12237         * lyxfind.C: adjust
12238
12239         * font.h: delete with(char const *, LyXFont const &)
12240
12241         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12242
12243         * FontInfo.C (getFontname): add std::
12244
12245         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12246         (workAreaButtonPress): adjust
12247         (tripleClick): adjust
12248         (update): adjust
12249         (moveCursorUpdate): adjust
12250         (Dispatch): adjust
12251
12252         * BufferView2.C (gotoInset): adjust
12253
12254 2001-05-30  Juergen Vigna  <jug@sad.it>
12255
12256         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12257         to check pspell I add this as default as I now have new pspell
12258         libraries and they seem to use this.
12259
12260 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * text2.C (CutSelection): make the cursor valid before the call to
12263         ClearSelection.
12264
12265 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12266
12267         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12268         relied on 0 terminated strings and other horrors. Bug found due to
12269         the new assert in lyxstring!
12270
12271         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12272         KP_ keys.
12273
12274 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12277         to latinkeys.bind.
12278
12279         * lyxfunc.C (processKeySym): change method of getting to the
12280         self-insert char.
12281
12282         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12283         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12284         * BufferView_pimpl.[Ch]: here as private methods.
12285
12286 2001-05-28  Juergen Vigna  <jug@sad.it>
12287
12288         * text.C (SetHeightOfRow): added the update() call again as it is
12289         needed to initialize inset dimensions!
12290
12291 2001-05-16  Juergen Vigna  <jug@sad.it>
12292
12293         * text2.C (SetCharFont): Add new function with BufferView * and
12294         bool toggleall parameters for setting insets internal fonts.
12295         (SetFont): Freeze the undo as we may change fonts in Insets and
12296         all this change should be inside only one Undo!
12297
12298         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12299         setting font's in insets as for them we have the SetFont function!
12300
12301 2001-05-15  Juergen Vigna  <jug@sad.it>
12302
12303         * text2.C (ClearSelection): to be sure we REALLY don't have any
12304         selection anymore!
12305
12306         * tabular.C (TeXCellPreamble): fixed the left border problem for
12307         multicolumn cells.
12308
12309 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12310
12311         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12312         dependancy file
12313
12314 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12317         LFUN_BREAKPARAGRAPH.
12318
12319         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12320         help test to "internal only", similar for LFUN_INSERT_URL
12321
12322         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12323         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12324         auto_region_delete and deadkeys.
12325
12326 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * LColor.h:
12329         * LColor.C: remove some dead entries, tidy a little
12330
12331 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12332
12333         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12334         commented code.
12335         (Dispatch): implement LFUN_ESCAPE
12336
12337         * commandtags.h: add LFUN_ESCAPE
12338
12339         * LyXAction.C (init): add entry for LFUN_ESCAPE
12340
12341         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12342         Remove commented code.
12343         (insertNote): moved here
12344         (open_new_inset): moved here
12345
12346         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12347         BufferView_pimpl
12348
12349 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12350
12351         * kbmap.C (findbinding): clean it up and make it work correctly.
12352
12353         * lyx_main.C (init): do not pass argc and argv as parameters
12354
12355 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12356
12357         * buffer.C: fix path for OS/2 & Win32
12358
12359         * lyx_gui.C:
12360         * lyx_main:
12361         * lyx_main.C: Added os:: class.
12362
12363         * os2_defines.h: update
12364
12365 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12368         better by trying again with reduced state.
12369
12370 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12371
12372         * lyxrc.C (read): print error about invalid key sequence only when
12373         debugging (because not all latinX keysyms are known to some X
12374         servers)
12375
12376         * kbsequence.C (getiso): add a few std:: qualifiers
12377         (getiso): comment out extra return statement.
12378
12379 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12380
12381         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12382         handling.
12383         (Dispatch): enhance the accent inset a bit. (not perfect)
12384
12385 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12388
12389 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12390
12391         * bufferlist.C (emergencyWrite): fix assert() call
12392
12393 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12394
12395         * text.C (InsertChar): Added trivial patch to only send the "you
12396         can not do multiple spaces this way" message once during a
12397         session.
12398
12399 2001-05-08  Baruch Even  <baruch@lyx.org>
12400
12401         * Makefile.am: Changed order of libraries to get LyX to link properly
12402         with the gnome frontend.
12403
12404 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12405
12406         * LaTeXFeatures.h: add a std:: qualifier
12407
12408 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12409
12410         * paragraph.C (String): use stringstream
12411
12412 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12413
12414         * paragraph.C (writeFile): remove footflag arg
12415
12416         * buffer.C (makeLaTeXFile): use stringstream
12417         (latexParagraphs): remove footnot gurba
12418
12419         * LaTeXFeatures.C (getPackages): use stringstream
12420         (getMacros): likewise
12421         (getTClassPreamble): likewise
12422         (getFloatDefinitions): new method
12423
12424         * paragraph.C (writeFile): reindent
12425         (Erase): reindent
12426
12427         * WorkArea.h: revert the xpos + etc changes.
12428
12429         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12430
12431         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12432
12433         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12434         (pasteSelection): likewise
12435         * text2.C (CreateUndo): likewise
12436
12437 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12438
12439         * minibuffer.C (peek_event): temporarily reduce the functionality
12440         of the minibuffer (to allow args on lfuns)
12441
12442         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12443         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12444
12445         * buffer.C (readInset): add compability reading of old float
12446         lists, add reading of new style float list.
12447         (readInset): avoid reevaluation of inscmd.getCmdName()
12448         (getLists): reindent
12449
12450         * MenuBackend.C (MenuItem): implement parsing of
12451         md_floatlistinsert and md_floatinsert.
12452         (expand::LastFiles): move initalizaton of iterators out of loop,
12453         avoid reevaluation.
12454         (expand::Documents): introduce typdedef vector<string> Strings,
12455         and use it.
12456         (expand::ExportFormats): introduce typedef vector<Format const *>
12457         Formats, and use it.
12458         (expand): implement FloatListInsert and FloatInsert.
12459
12460         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12461         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12462         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12463
12464         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12465         handling.
12466         (Dispatch::LFUN_FLOAT_LIST): implement
12467
12468 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12469
12470         * LaTeX.C (run): Fix problem with --export code.
12471
12472 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12473
12474         * BufferView.[Ch] (workarea): removed.
12475         (getClipboard) new method; wrapper for workarea()->getClipboard()
12476
12477         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12478         bug.
12479
12480         * WorkArea.h (width, height, xpos, ypos): These methods all
12481         returned the dimensions of the work_area sub-area of WorkArea,
12482         resulting in a position error if the WorkArea were resized. Now
12483         return the dimensions of the entire WorkArea.
12484
12485         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12486
12487 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12488
12489         * LaTeX.C (deplog): correct the syntax of regex reg1
12490
12491 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * undo.C: remove !NEW_INSETS cruft
12494
12495 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * text2.C: remove !NEW_INSETS cruft
12498
12499         * text.C: remove !NEW_INSETS cruft
12500
12501         * tabular.C: remove !NEW_INSETS cruft
12502
12503         * spellchecker.C: remove !NEW_INSETS cruft
12504
12505         * lyxtext.h: remove !NEW_INSETS cruft
12506
12507         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12508
12509         * lyxfunc.C: remove !NEW_INSETS cruft
12510
12511         * lyxfind.C: remove !NEW_INSETS cruft
12512
12513         * lyx_cb.C: remove !NEW_INSETS cruft
12514
12515         * figureForm.C: remove  !NEW_INSETS cruft
12516
12517         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12518
12519         * buffer.[Ch]: remove !NEW_INSETS cruft
12520
12521         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12522
12523         * CutAndPaste.C: remove !NEW_INSETS cruft
12524
12525         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12526
12527         * BufferView2.C: remove !NEW_INSETS cruft
12528
12529         * BufferView.h: remove !NEW_INSETS cruft
12530
12531 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12532
12533         * Lsstream.h: include LString.h before the sstream headers to
12534         fix problem with gcc 2.95.3 and lyxstring
12535
12536 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * lyx_main.C: add using directives when needed for C functions
12539         declared in std:: namespace.
12540
12541 2001-04-27  Juergen Vigna  <jug@sad.it>
12542
12543         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12544         (SetHeightOfRow): comment out the update call should not be needed!
12545
12546 2001-04-13  Juergen Vigna  <jug@sad.it>
12547
12548         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12549         (LyXTabular): tried to minimize operator= operations (and realized
12550         hopfully Lars wish).
12551
12552 2001-04-27  Juergen Vigna  <jug@sad.it>
12553
12554         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12555
12556 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12557
12558         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12559
12560         * buffer.C (readInset): hack to make listof algorithm work
12561
12562         * BufferView_pimpl.C: hack to make listof algorithm work
12563
12564 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12565
12566         * LyXAction.C: removed all !NEW_INSETS cruft
12567         (init): moved lfun_item in method
12568
12569         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12570
12571 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12572
12573         * BufferView2.C (theLockingInset): white space.
12574
12575 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12576
12577         * minibuffer.C: include <iostream>
12578
12579         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12580
12581         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12582
12583         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12584
12585         * text.[Ch] (TransposeChars): new method
12586
12587 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12588
12589         * call message directly through LyXView instead of through LyXFunc
12590         * BufferView2.C: adjust
12591         * BufferView_pimpl.C: adjust
12592         * FontLoader.C: adjust
12593         * buffer.C: adjust
12594         * bufferview_funcs.C: adjust
12595         * converter.C: adjust
12596         * figureForm.C: adjust
12597         * importer.C: adjust
12598         * lyx_cb.C: adjust
12599         * lyx_gui_misc.C: adjust
12600         * lyxfunc.C: adjust
12601         * lyxvc.C: adjust
12602         * text2.C: adjust
12603         + more files in subdirs
12604
12605         * lyxparagraph.h (size): move up int file
12606         (GetLayout): ditto
12607
12608         * adjust all uses of Assert to lyx::Assert.
12609
12610         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12611         lyxfunctional in namespace lyx
12612         * layout.C (hasLayout): ditto
12613         (GetLayout): ditto
12614         (GetLayout): ditto
12615         (delete_layout): ditto
12616         (NumberOfClass): ditto
12617         * converter.C (GetFormat): ditto
12618         (GetNumber): ditto
12619         (Add): ditto
12620         (Delete): ditto
12621         (SetViewer): ditto
12622         * bufferlist.C (getFileNames): ditto
12623         (emergencyWriteAll): ditto
12624         (exists): ditto
12625         (getBuffer): ditto
12626         * MenuBackend.C (hasSubmenu): ditto
12627         (hasMenu): ditto
12628         (getMenu): ditto
12629         * BufferView_pimpl.C (getInsetByCode): ditto
12630
12631 2001-04-18  Juergen Vigna  <jug@sad.it>
12632
12633         * vspace.C (asLatexString): fixed the 100% problem.
12634
12635 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12636
12637         * lyxfunc.C (Dispatch):
12638         * minibuffer.C:
12639         * minibuffer.h: add a few std:: qualifiers
12640
12641 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * minibuffer.[Ch]: reimplement so that commands is initiated and
12644         run from lyxfunc, simplified som handling, and made the completion
12645         and history code for complete. wip.
12646
12647         * lyxfunc.C (processKeySym): call message
12648         (miniDispatch): new temporary method
12649         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12650         (LFUN_MESSAGE): implement
12651         (LFUN_MESSAGE_PUSH): implement
12652         (LFUN_MESSAGE_POP): implement
12653         (initMiniBuffer): the initial/defualt minibuffer message.
12654
12655         * lyxfont.[Ch]: inline some more getters
12656
12657         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12658
12659         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12660
12661         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12662         (AutoSave): use LFUN_MESSAGE
12663         (Reconfigure): ditto
12664
12665         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12666
12667         * figureForm.C: use LFUN_MESSAGE
12668
12669         * converter.C (runLaTeX): use LFUN_MESSAGE
12670
12671         * bufferview_funcs.C: use LFUN_MESSAGE
12672         (Melt): ditto
12673         (changeDepth): ditto
12674
12675         * bufferparams.h: use boost::
12676
12677         * bufferlist.h: inherit privately from noncopyable
12678
12679         * bufferlist.C (loadLyXFile): remove some commented code.
12680
12681         * buffer.C (runChktex): use LFUN_MESSAGE
12682
12683         * ShareContainer.h: inherit privately from noncopyable
12684
12685         * ParagraphParameters.[hC] (depth): inline it.
12686
12687         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12688         methods.
12689         (message): new method
12690         (messagePush): ditto
12691         (messagePop): ditto
12692         (show): init minibuffer
12693         (showState): direct call
12694
12695         * LaTeX.[Ch]: inherit privately from noncopyable
12696         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12697         instead of WriteStatus.
12698
12699         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12700
12701         * BufferView_pimpl.C (buffer): don't init minibuffer
12702         (workAreaButtonPress): use LFUN_MESSAGE
12703         (workAreaButtonRelease): ditto
12704         (savePosition): ditto
12705         (restorePosition): ditto
12706         (MenuInsertLyXFile): ditto
12707         (workAreaExpose): don't init minibuffer
12708         (update): remove commented code, simplify
12709
12710         * BufferView2.C (openStuff): use LFUN_MESSAGE
12711         (toggleFloat): ditto
12712         (menuUndo): ditto
12713         (menuRedo): ditto
12714         (copyEnvironment): ditto
12715         (pasteEnvironment): ditto
12716         (copy): ditto
12717         (cut): ditto
12718         (paste): ditto
12719         (gotoInset): ditto
12720         (updateInset): remove some commented code
12721
12722         * lastfiles.h: inherit privately from noncopyable
12723         * layout.h: ditto
12724         * lyx_gui.h: ditto
12725         * lyx_main.h: ditto
12726         * lyxlex.h: ditto
12727         * lyxlex_pimpl.h: ditto
12728
12729         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12730         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12731         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12732
12733         * LyXAction.h: inherit privately from noncopyable, add methods
12734         func_begin, func_end, returning iterators to the func map.
12735
12736         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12737         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12738         (func_begin): new method
12739         (func_end): new method
12740
12741         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12742         and not)
12743         (copySelection): ditto
12744         (pasteSelection): ditto
12745
12746         * BufferView.C: whitespace change
12747         * BufferView.h: inherit privately from noncopyable
12748
12749 2001-04-16  Allan Rae  <rae@lyx.org>
12750
12751         * tabular-old.C (l_getline):
12752         * spellchecker.C (sc_check_word):
12753         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12754         an unrecognised preprocessor directive.  So ensure they're wrapped.
12755
12756 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12757
12758         * src/exporter.C (Export): Give an error message when path to file
12759         contains spaces.
12760
12761 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12762
12763         * LaTeX.C (deplog): Always check that foundfile exists.
12764
12765 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12766
12767         * lyx_main.h:
12768         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12769
12770 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * tabular.[Ch] (getLabelList): implement new method
12773
12774         * minibuffer.h: comment ouf setTiimer
12775
12776         * minibuffer.C (ExecutingCB): constify res
12777         (peek_event): constify s
12778         (Set): constify ntext
12779         (Init): constify nicename
12780
12781         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12782
12783         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12784         (savePosition): use two params to Minibuffer::Set
12785         (restorePosition): ditto
12786
12787 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12788
12789         * lyx_main.C: include language.h
12790
12791         * Makefile.am (lyx_main.o): add language.h
12792
12793 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * exporter.C:
12796         * paragraph.C:
12797         * screen.C:
12798         * tabular.C:
12799         * CutAndPaste.C: include gettext.h
12800
12801         * lyxfont.h: remove old hack with ON and OFF.
12802
12803         * lyxparagraph.h:
12804         * lyxfont.h: do not include language.h...
12805
12806         * BufferView2.C:
12807         * LaTeXFeatures.C:
12808         * Painter.C:
12809         * bufferview_funcs.C:
12810         * font.C:
12811         * lyxfont.C:
12812         * text.C:
12813         * text2.C:
12814         * trans_mgr.C:
12815         * paragraph.C: ... but do it here instead
12816
12817 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12820
12821         * tabular.C: small reformat
12822
12823         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12824         NEW_INSETS version
12825         (GetChar): ditto
12826         (BreakParagraph): ditto
12827         (SetOnlyLayout): ditto
12828         (SetLayout): ditto
12829
12830         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12831         with one arg less.
12832
12833         * lastfiles.C: removed most using decl, add std:: where needed
12834
12835         * buffer.C: ws changes
12836
12837         * MenuBackend.C (class compare_format): put into anon namespace
12838         (expand): constify label, names, action, action2
12839         (expand):
12840
12841         * text.C (SingleWidth): constify font
12842         (IsBoundary): constify rtl2
12843         (GetVisibleRow): constify ww
12844
12845         * LaTeX.C (deplog): constify logfile
12846
12847         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12848         start_x, end_x
12849         (workAreaExpose): constify widthChange, heightChange
12850
12851         * lyxrow.C (par): moved
12852         (height): moved
12853         (next): moved
12854         * lyxrow.h: as inlines here
12855
12856         * lyxfont.h (shape): moved from lyxfont.C
12857         (emph): moved from lyxfont.C
12858
12859         * lyxfont.C (LyXFont): use initialization list for all
12860         constructors
12861         (shape): move to lyxfont.h as inline
12862         (emph): move to lyxfont.h as inline
12863
12864
12865 2001-04-04  Juergen Vigna  <jug@sad.it>
12866
12867         * vspace.C: had to include stdio.h for use of sscanf
12868
12869 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * BufferView.h:
12872         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12873         independent of xforms.
12874
12875 2001-04-02  Juergen Vigna  <jug@sad.it>
12876
12877         * spellchecker.C: fixed namespace placing!
12878
12879 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12880
12881         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12882         the LyXParagraph * is 0.
12883
12884 2001-03-29  Juergen Vigna  <jug@sad.it>
12885
12886         * vspace.C: added support for %, c%, p%, l%.
12887         (stringFromUnit): added helper function.
12888         (asLatexString): changed to give right results for the %-values.
12889
12890         * buffer.C: convert the widthp in a width%.
12891
12892 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12893
12894         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12895         figureForm.[Ch].
12896
12897         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12898         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12899
12900         * lyx_cb.[Ch]: see above.
12901
12902         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12903         form1.[Ch].
12904
12905         * form1.[Ch]:
12906         * lyx.[Ch]: replaced by figure_form.[Ch].
12907
12908         * lyx_gui.C:
12909         * lyx_gui_misc.C:
12910         * lyxfunc.C: changed headers associated with above changes.
12911
12912 2001-03-27  Juergen Vigna  <jug@sad.it>
12913
12914         * BufferView_pimpl.C: set the temporary cursor right!
12915
12916 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12917
12918         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12919
12920 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12921
12922         * LString.h: removed "using std::getline"!
12923
12924         * BufferView_pimpl.C (Dispatch): changes due to changes in
12925         InsetInclude::Params.
12926
12927         * buffer.C (tag_name): removed redundant break statements as they were
12928         producing lots of warnings with my compiler.
12929
12930 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12931
12932         * LString.h: add "using std::getline" when using the real <string>.
12933
12934 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12935
12936         * buffer.C: removed bitset usage.
12937         PAR_TAG moved to an anonymous name space.
12938         (tag_name): new funtion, also in the anonymous namespace.
12939         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12940         (makeDocBookFile): clean code. Completed transition from string arrays
12941         to string vectors.
12942         (SimpleDocBookOnePar): code clean.
12943
12944 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12945
12946         * tabular.C: add some comments.
12947
12948 2001-03-22  Juergen Vigna  <jug@sad.it>
12949
12950         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12951         compatibility read a bit and fixed bug with minipage in different
12952         depth.
12953
12954 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12955
12956         * buffer.C (pop_tag): removed.
12957         (push_tag): removed.
12958         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12959         array replaced with vector. Added support for CDATA sections.
12960         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12961         at any nest level.
12962         (makeDocBookFile): XML conformant declaration of CDATA section,
12963         fixed bug related to <emphasis> in the first paragraph char.
12964         (sgmlOpenTag): exclude empty tags.
12965         (sgmlCloseTag): ditto.
12966
12967         * buffer.h (pop_tag): removed.
12968         (push_tag): removed.
12969
12970 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12971
12972         * language.h (Languages): added size_type and size().
12973
12974 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12975
12976         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12977         response on compability reading of minipages. One probliem is that
12978         the old usage of minipages was «flertydig»
12979
12980         * several files here and in subdirs: don't use static at file
12981         scope use anon namespaces instead.
12982
12983 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12984
12985         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12986         LaTeX output. This is necessary for Literate document
12987         processing.
12988
12989 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12990
12991         * buffer.C: insert hfill when needed.
12992
12993         * tabular.C (l_getline): use string::erase, small whitespace change.
12994
12995         * BufferView_pimpl.C: try the anon namespace.
12996         * WorkArea.C: ditto
12997
12998 2001-03-16  Juergen Vigna  <jug@sad.it>
12999
13000         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13001         otherwise it won't open options-dialogs.
13002
13003         * buffer.C: honor pextraWidth(p) on converting minipages.
13004
13005         * tabular.C (l_getline): changed the functions to strip trailing \r.
13006
13007 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13008
13009         * BufferView_pimpl.C:
13010         * minibuffer..C: added "using SigC::slot" declaration.
13011
13012 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13013
13014         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13015
13016         * text2.C: ditto
13017
13018         * text.C: ditto
13019
13020         * paragraph.C: ditto
13021
13022         * lyxtext.h: NO_PEXTRA
13023
13024         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13025
13026         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13027         * ParameterStruct.h: ditto
13028         * ParagraphParameters.h: ditto
13029         * lyxparagraph.h: ditto
13030
13031 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13032
13033         * buffer.C: add compability for minipage alignment.
13034         (latexParagraphs): remove unwanted pextra check.
13035
13036         * several files: remove CXX_WORKING_NAMESPACES
13037
13038         * buffer.C (pop_tag): tie is in namespace boost
13039
13040         * BufferView.h: noncopyable is in namespace boost
13041         * lyxlex.h: ditto
13042         * lyx_main.h: ditto
13043         * lyx_gui.h: ditto
13044         * layout.h: ditto
13045         * lastfiles.h: ditto
13046         * bufferlist.h: ditto
13047         * ShareContainer.h: ditto
13048         * LyXView.h: ditto
13049         * LyXAction.h: ditto
13050         * LaTeX.h: ditto
13051
13052 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13053
13054         * Merging changes from BRANCH_MVC back into HEAD.
13055
13056         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13057
13058 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13059
13060         * BufferView_pimpl.C: change from intl.C
13061
13062         * combox.h:
13063         * combox.C:
13064         * Makefile.am: move combox.*
13065
13066         * form1.h:
13067         * form1.C:
13068         * lyx_gui.C:
13069         * intl.h:
13070         * intl.C: remove dialog (covered by prefs)
13071
13072 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * lyxfunc.C (Dispatch): removed redundant break statement.
13075
13076 2001-03-14  Juergen Vigna  <jug@sad.it>
13077
13078         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13079
13080 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13081
13082         * buffer.C: add hack to fix compability reading of minipages.
13083
13084 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13085
13086         * buffer.C (getLists): Cleanup.
13087
13088 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * lyxfont.C (update): don't honor toggleall on font size.
13091
13092 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13093
13094         * bmtable.c:
13095         * bmtable.h:
13096         * Makefile.am: moved to frontends/xforms/
13097
13098         * lyx_gui_misc.C:
13099         * lyxfunc.C:
13100         * BufferView_pimpl.C: changes for moved mathpanel
13101
13102 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13103
13104         * gettext.h: fix gettext_init() in --disable-nls
13105
13106 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13109
13110 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13111
13112         * lyx.C:
13113         * lyx.h: strip external form
13114
13115 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13116
13117         * BufferView_pimpl.C: add comment, destroySplash()
13118
13119 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13120
13121         * BufferView_pimpl.C:
13122         * LyXAction.C:
13123         * buffer.C:
13124         * commandtags.h:
13125         * lyxfunc.C: use re-worked insetinclude
13126
13127 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13128
13129         * buffer.C: add using std::stringstream.
13130
13131         * lyx_cb.C: readd using std::ios.
13132
13133         * buffer.C: add using std::map.
13134
13135         * BufferView_pimpl.C: add using std::vector.
13136
13137         * ShareContainer.h: add std:: to swap.
13138
13139         * buffer.h: add some typedefs
13140         * buffer.C (getLists): use them
13141         (getLists): renamed from getTocList.
13142         add a counter for the different float types and use it in the
13143         generated string.
13144         (getLists): use the same counter for the NEW_INSETS and the "non"
13145         NEW_INSETS
13146
13147         * lyx_cb.h: remove unused items, includes, using etc.
13148
13149         * ShareContainer.h: remove some commented code, add more comments
13150         and "documentation".
13151
13152 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13153
13154         * buffer.C (getTocList): make the list also when NEW_INSETS is
13155         defined.
13156
13157         * buffer.h: remove TocType
13158
13159         * buffer.C (getTocList): change to return a map<string,
13160         vector<TocItem> >, implement for dynamic number of list.
13161
13162         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13163         * text2.C (PasteSelection): adjust
13164         * CutAndPaste.C (pasteSelection): adjust
13165
13166         * FloatList.C (FloatList): update from the new_insets branch.
13167         * Floating.[Ch]: ditto
13168         * LaTeXFeatures.C: ditto
13169         * buffer.C: ditto
13170         * lyxlex_pimpl.C: ditto
13171
13172         * paragraph.C (Last): remove when NEW_INSETS is defined.
13173
13174         * other file: changes because of the above.
13175
13176 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13177
13178         * lyxparagraph.h: rename next to next_, previous to previous_,
13179         make them private for NEW_INSETS. Rename Next() to next(),
13180         Previous() to previous().
13181
13182         * other files: changes because of the above.
13183
13184 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13185
13186         * BufferView.h:
13187         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13188         problem.
13189
13190 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * main.C (main): pass lyx_localedir to gettext_init().
13193
13194         * gettext.h: remove locale_init and gettext_init macros
13195
13196         * gettext.C (locale_init): new function
13197         (gettext_init): new function
13198
13199         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13200         setlocale().
13201
13202 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13203
13204         * Moved credits to frontends:
13205         * credits.[Ch]: removed
13206         * credits_form.[Ch]: removed
13207         * lyx_gui_misc.C: remove credits stuff
13208         * Makefile.am:
13209
13210 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13211
13212         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13213
13214         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13215         unneeded destructor.
13216
13217         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13218         a standalone pointer again.
13219
13220         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13221
13222 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13223
13224         * Makefile.am:
13225         * filedlg.h:
13226         * filedlg.C:
13227         * LyXAction.C:
13228         * ToolbarDefaults.C:
13229         * bufferlist.C:
13230         * commandtags.h:
13231         * form1.C:
13232         * form1.h:
13233         * lyx_cb.C:
13234         * lyx_cb.h:
13235         * lyxfunc.h:
13236         * lyxfunc.C:
13237         * BufferView_pimpl.C: use new file dialog in GUII
13238
13239         * lyx_cb.h:
13240         * lyx_cb.C: remove LayoutsCB to Toolbar
13241
13242 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * ShareContainer.h (get): add std:: qualifier
13245
13246 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * ShareContainer.h: define a proper ShareContainer::value_type
13249         type (and use typename to please compaq cxx)
13250
13251 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13252
13253         * lyxparagraph.h: move serveral local vars to
13254         ParameterStruct/ParagraphParameters., use ShareContainer in
13255         FontTable., make vars in FontTable private and add getter and
13256         setter.
13257
13258         * paragraph.C: changes because of the above.
13259
13260         * lyxfont.h: remove copy constructor and copy assignment. (the
13261         default ones is ok), move number inside FontBits. move inlines to
13262         lyxfont.C
13263
13264         * lyxfont.C: add number to initializaton of statics, move several
13265         inlines here. constify several local vars. some whitespace
13266         cleanup. Dont hide outerscope variables.
13267
13268         * Spacing.h: add two new constructors to match the set methods.
13269
13270         * ShareContainer.h: new file, will perhaps be moved to support
13271
13272         * ParameterStruct.h: new file
13273
13274         * ParagraphParameters.h: new file
13275
13276         * ParagraphParameters.C: new file
13277
13278         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13279         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13280
13281         * BufferView_pimpl.C: ParagraphParameter changes.
13282         * buffer.C: Likewise.
13283         * bufferview_funcs.C: Likewise.
13284         * text.C: Likewise.
13285         * text2.C: Likewise.
13286
13287 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13288
13289         * lyxfind.C (LyXReplace): do not redefine default argument in
13290         implementation.
13291         (IsStringInText): ditto
13292         (SearchForward): ditto
13293         (SearchBackward): ditto
13294
13295 2001-03-06  Juergen Vigna  <jug@sad.it>
13296
13297         * lyxfind.C (IsStringInText): put parentes around expressions.
13298
13299 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13300
13301         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13302
13303 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13306
13307         * stl_string_fwd.h: add comment
13308
13309         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13310
13311         * tabular.h:
13312         * tabular.C: remove unused DocBook methods
13313
13314         * intl.C:
13315         * language.C:
13316         * paragraph.C:
13317         * buffer.C:
13318         killed DO_USE_DEFAULT_LANGUAGE
13319
13320 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * lyx_gui.C: do not include language.h.
13323
13324         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13325         arguments in function implementation.
13326
13327 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13328
13329         * BufferView_pimpl.C: add <ctime>
13330
13331 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13332
13333         * BufferView_pimpl.C: add using std::find_if
13334
13335 2001-02-27  José Matos  <jamatos@fep.up.pt>
13336
13337         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13338         by OnlyPath.
13339
13340 2001-02-11  José Matos  <jamatos@fep.up.pt>
13341
13342         * buffer.C (makeDocBookFile): command styles now have a parameter as
13343         "title" by default.
13344
13345 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13346
13347         * layout_forms.[Ch]: removed
13348         * lyx_cb.[Ch]: out character
13349         * lyx_gui.C: out character
13350         * lyx_gui_misc.C: out character
13351         * bufferview_funcs.C: : out character,
13352         added toggleall as parameter in ToggleAndShow
13353
13354 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13355
13356         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13357
13358         * text2.C (SetCurrentFont): Disable number property at boundary.
13359
13360 2001-02-26  Juergen Vigna  <jug@sad.it>
13361
13362         * lyxfunc.C (getStatus): added a string argument override function so
13363         that this is correctly called from LyXFunc::Dispatch if it contains a
13364         do_not_use_argument which is used!
13365         (Dispatch): added check for "custom" export and call appropriate func.
13366
13367 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13368
13369         * lyxrc.C: Add language_command_local, language_use_babel and
13370         language_global_options.
13371
13372         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13373
13374         * buffer.C (makeLaTeXFile): Use language_use_babel and
13375         language_global_options.
13376
13377 2001-02-23  Juergen Vigna  <jug@sad.it>
13378
13379         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13380         which works with LyXText and putted it inside BufferView. Here now we
13381         only call for that part the BufferView::Dispatch() function.
13382
13383         * BufferView.C (Dispatch): added.
13384
13385         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13386         functions which needs to use a LyXText over from LyXFunc.
13387         (MenuInsertLyXFile): added
13388         (getInsetByCode): added
13389         (moveCursorUpdate): added
13390         (static TEXT): added
13391
13392 2001-02-22  Juergen Vigna  <jug@sad.it>
13393
13394         * BufferView_pimpl.C (update): call a status update to see if LyXText
13395         needs it.
13396
13397 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13398
13399         * vc-backend.C (revert): implement for CVS
13400         (getLog): implement for CVS
13401
13402 2001-02-20  Juergen Vigna  <jug@sad.it>
13403
13404         * text2.C (ClearSelection): added BufferView param for inset_owner call
13405
13406         * lyxfunc.C (TEXT): added this function and use it instead of
13407         directly owner->view()-text of getLyXText().
13408
13409 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13410
13411         * src/layout_forms.C: out preamble
13412         * src/layout_forms.h: out preamble
13413         * src/lyx_cb.C: out preamble
13414         * src/lyx_cb.h: out preamble
13415         * src/lyx_gui.C: out preamble
13416         * src/lyx_gui_misc.C: out preamble
13417         * src/lyxfunc.C: connect with guii preamble
13418
13419 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13420
13421         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13422
13423 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13424
13425         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13426         whether to run bibtex.
13427
13428 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13429
13430         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13431
13432 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13433
13434         * Makefile.am (lyx_SOURCES): removed bibforms.h
13435
13436         * vspace.h: doxygen
13437
13438         * text.C (GetVisibleRow): make several local vars const
13439
13440         * tabular.C: small cleanup.
13441
13442         * lyxserver.C (callback): use compare instead of strncmp
13443
13444         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13445         inlines to after class or to paragraph.C
13446
13447         * lyxfont.h: remove friend operator!=
13448
13449         * converter.h: move friend bool operator< to non friend and after
13450         class def.
13451
13452         * combox.h: small cleanup
13453
13454         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13455         to inlines after class def.
13456
13457         * buffer.C (pop_tag): use string operations instead of strcmp
13458
13459         * bmtable.c: doxygen, small cleanup
13460
13461         * LaTeX.h: remove friend operator==
13462
13463 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13464
13465         * screen.C:
13466         * lyxrc.[Ch]:
13467         * lyxfunc.C:
13468         * lyxfont.[Ch]:
13469         * lyx_cb.C:
13470         * intl.[Ch]:
13471         * commandtags.h:
13472         * buffer.C:
13473         * WorkArea.[Ch]:
13474         * LyXAction.C:
13475         * BufferView_pimpl.C:
13476         * BufferView.[Ch]: remove cruft
13477
13478 2001-02-14  Juergen Vigna  <jug@sad.it>
13479
13480         * lyxfunc.C: removed #if 0 unused code
13481
13482         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13483
13484         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13485
13486         * text2.C (SetSelection): added a BufferView * parameter
13487
13488 2001-02-13  Juergen Vigna  <jug@sad.it>
13489
13490         * lyxfunc.C (Dispatch): fixed protected blank problem.
13491         * BufferView2.C (protectedBlank): added LyxText * parameter.
13492
13493         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13494         (AppendColumn): same as above for column_info.
13495
13496         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13497         (moveCursorUpdate): use a LyXText param for support of InsetText.
13498
13499         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13500         (tripleClick): ditto
13501
13502         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13503
13504         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13505
13506         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13507
13508         * text2.C (SetSelection): set correct update status if inset_owner
13509         (ToggleFree): ditto
13510
13511 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13512
13513         * tabular.C: remove some commented code.
13514
13515 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13516
13517         * BufferView_pimpl.C: call hideSplash()
13518
13519         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13520
13521         * include_form.h:
13522         * bibforms.h: remove
13523
13524         * lyxfunc.C:
13525         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13526           add LFUN_CHILD_CREATE
13527
13528         * counters.h: fix tiny typo
13529
13530         * lyx_cb.C:
13531         * lyx.h:
13532         * lyx_gui.C:
13533         * lyx.C: move splash to frontends/xforms/
13534
13535         * lyx_gui_misc.C: move Include and Bibform to frontends
13536
13537         * lyxvc.h: clarify comment
13538
13539         * vspace.C: tiny housekeeping
13540
13541 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13542
13543         * text.C (PrepareToPrint): RTL Fix.
13544
13545         * paragraph.C (GetUChar): New method.
13546         (String):  Use GetUChar.
13547
13548         * buffer.C (asciiParagraph): Use GetUChar.
13549
13550 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13551
13552         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13553
13554 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * buffer.h:
13557         * buffer.C: rename to getLogName(), handle
13558           build log / latex log nicely
13559
13560 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * MenuBackend.C:
13563         * MenuBackend.h: remove support for reference menuitem type.
13564
13565 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * BufferView_pimpl.C: housekeeping
13568         * BufferView_pimpl.h:
13569         * LyXView.h:
13570         * Makefile.am:
13571         * Timeout.C:
13572         * Timeout.h:
13573         * minibuffer.h: move Timeout GUI-I
13574
13575 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13576
13577         * lyxrc.C (read): Update converters data-structures.
13578
13579 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13580
13581         * LaTeX.h (operator!=): add operator != for Aux_Info
13582
13583 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13586
13587         * LaTeXLog.C: deleted, useful code moved to Buffer
13588
13589         * buffer.h:
13590         * buffer.C: new function getLatexLogName()
13591
13592         * lyx_gui_misc.C:
13593         * lyx_gui.C:
13594         * lyxvc.C:
13595         * lyxvc.h:
13596         * lyxfunc.C: use frontends for LaTeX and VC logs
13597
13598 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13599
13600         * LaTeX.h: yet another std:: that Allan forgot.
13601
13602         * Variables.C (set): renamed from isset(), because this clashes
13603         with some HP-UX macros (grr).
13604
13605 2001-02-06  Allan Rae  <rae@lyx.org>
13606
13607         * LaTeX.h: Another bug fix.  Missing std:: this time.
13608
13609 2001-02-04  Allan Rae  <rae@lyx.org>
13610
13611         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13612         floats problem. I've left it commented out because it's not quite
13613         correct.  It should also test that the current object is a table or
13614         figure inset.  But I haven't gotten around to figuring out how to do
13615         that.  I *think* it'll be something like: "table" == inset.type()
13616
13617         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13618         bool.
13619
13620 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13621
13622         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13623         all the citation/databases/styles in the auxilary file.
13624         (run): Rerun latex if there was a babel language error.
13625
13626 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13627
13628         * text.C (Backspace): Preserve the font when changing newline char
13629         with a space.
13630         (BreakParagraph): If the cursor is before a space, delete the space.
13631
13632         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13633
13634 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13637         new argument (code).
13638         (ChangeCitationsIfUnique): New method.
13639
13640         * paragraph.C (GetPositionOfInset): Handle bibkey.
13641
13642 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * BufferView_pimpl.h: change type of Position::par_pos to
13645         LyXParagraph::size_type.
13646
13647 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13648
13649         * BufferView_pimpl.C (savePosition, restorePosition): Write
13650         messages to minibuffer.
13651
13652 2001-01-28  José Matos  <jamatos@fep.up.pt>
13653
13654         * buffer.C (makeDocBookFile): adds support for document language.
13655         A silly restriction on the name of LatexCommand types where removed.
13656         Added support for CDATA sections, allows to chars unescaped, used
13657         among others in code, to avoid escape < and >.
13658
13659 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13660
13661         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13662         saved positions instrad of a stack. Furthermore, a position is
13663         stored using paragraph id/paragraph position.
13664
13665         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13666         Remove LFUN_REF_BACK.
13667
13668 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13669
13670         * converter.C (dvipdfm_options): New method.
13671
13672 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13673
13674         * vspace.C (isValidLength): Fix for empty input string.
13675
13676 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * LyXAction.C (init): change description of LFUN_FIGURE to
13679         "Insert Graphics"
13680
13681 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13682
13683         * LaTeX.C: add using directive
13684
13685 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13686
13687         * MenuBackend.C (expand): Fix the sorting of the formats.
13688
13689 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13690
13691         * lyx_main.C: tiny error message fix
13692
13693 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13696         calling fl_initialize(). This fixes the problem with ',' as
13697         decimal separator in text files.
13698
13699 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13700
13701         * trans.C (process): Fix the keymap bug.
13702
13703 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13704
13705         * LaTeX.C (scanAuxFiles): New method. Provides support for
13706         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13707         (scanLogFile) Scan for "run BibTeX" messages.
13708
13709         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13710         OT1 font encoding. Also, load the aecompl package if the ae
13711         package is loaded.
13712
13713         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13714
13715 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * texrow.C (increasePos): turn two error messages into debug
13718         messages.
13719
13720 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13721
13722         * LaTeX.C (scanAux): Handle the \@input macro.
13723         (runBibTeX): Use scanAux().
13724
13725         * language.C (latex_options_): New field.
13726
13727         * LaTeXFeatures.C (getMacros): Add language macros.
13728
13729         * buffer.C (makeLaTeXFile): Small fix.
13730
13731 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13734
13735         * text2.C: add a using directive.
13736
13737 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * BufferView2.C:
13740         * lyx_gui_misc.h:
13741         * lyxfr1.C:
13742         * lyxfunc.C: kill LyXBell.
13743
13744 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13745
13746         * text.C (IsBoundary): Remove the error message
13747
13748         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13749
13750         * lyxrc.C (setDefaults): Correct initialization value for
13751         font_norm_type.
13752
13753 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13754
13755         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13756         gotoError().
13757
13758         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13759         and GotoNextNote().
13760
13761         * src/LyXAction.C: Added reference-next.
13762
13763         * text.C (InsertChar): Use contains instead of strchr.
13764
13765         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13766
13767 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13768
13769         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13770         alignment commands (when needed).
13771
13772         * text.C (InsertChar): Add ':' to number separator chars.