]> git.lyx.org Git - features.git/blob - src/ChangeLog
skip ert on spellchecking
[features.git] / src / ChangeLog
1 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2
3         * PosIterator.[Ch]: replace the stack with a vector, add inset 
4         accesor
5         * iterators.[C]: adjust
6
7 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
8
9         * lyxfind.C (replaceAll): mark the buffer dirty if something was
10         replaced
11         * paragraph_funcs.C (readParToken): put the correct id in the
12         error item, not the id of the top paragraph
13
14 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
15
16         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
17         * bufferview_funcs.C (put_selection_at): use the above
18
19 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
20
21         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
22
23 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * output_linuxdoc.h: 
26         * output_plaintext.h: 
27         * output.h: 
28         * output_docbook.h: add #include statements
29
30 2003-11-05  José Matos  <jamatos@lyx.org>
31
32         * output_docbook.[Ch]:
33         * output_latex.[Ch]:
34         * output_linuxdoc.[Ch]:
35         * output_plaintext.[Ch]: New files for output formats.
36         * output.[Ch]: New file for helper functions.
37
38         * buffer.[Ch]:
39         * paragraph_funcs.[Ch]: output functions moved to new files.
40
41         * outputparams.h: rename of latexrunparams.h
42
43         * LaTeX.[Ch]:
44         * buffer.[Ch]:
45         * bufferlist.[Ch]:
46         * converter.[Ch]:
47         * exporter.C:
48         * paragraph.[Ch]:
49         * paragraph_funcs.[Ch]:
50         * paragraph_pimpl.[Ch]:
51         * tabular.[Ch]: rename ascii to plaintext
52         and LatexRunParams to OutputParams.
53         
54 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
55
56         * iterators.[Ch] (text): require bv argument
57         * undo.C (recordUndo): 
58         * lyxfunc.C (dispatch): 
59         * bufferview_funcs.C (put_selection_at): adjust
60
61 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
62
63         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
64
65 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
66
67         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
68         nestings
69
70 2003-11-04  André Pönitz  <poenitz@gmx.net>
71
72         * cursor.[Ch]: restructure
73
74         * BufferView.[Ch]:
75         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
76
77         * iterators.[Ch] (asCursor): remove
78
79         * lfuns.h: remove LFUN_INSET_EDIT
80
81         * lyxfunc.C:
82         * tabular.C:
83         * text.C:
84         * text2.C:
85         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
86
87 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
88
89         * lyxfind.[Ch]: complete overhaul
90         * BufferView_pimpl.C:
91         * lyxfunc.C: adjust
92         * paragraph.[Ch] (insert): add
93
94 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
95
96         * BufferView.[Ch]:
97         * lyxtext.h:
98         * text.C: remove dead spellcheck code
99         
100 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
101
102         * dispatchresult.h: add a val setter
103
104         * cursor.C (dispatch): use a tempvar for data_[i]
105
106 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
107
108         * PosIterator.[Ch]: compile fix
109
110 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
111
112         * text.C (cursorPar): deactivate the cursor cache
113
114 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
115
116         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
117
118 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
119
120         * text3.C (dispatch): adjust for new DisptchResult semantics.
121
122         * lyxfunc.C (dispatch): handle update when return from
123         Cursor::dispatch, adjust for new DispatchResult semantics.
124
125         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
126         DispatchResult(true) mean to not update. Add class functions for
127         setting dispatched and update, as well as reading.
128
129         * cursor.C (dispatch): don't handle update here
130
131 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
132
133         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
134         * trans_mgr.C: adjust
135
136         * paragraph_funcs.C (readParToken): exception safety
137
138         * lyxvc.h: store the vcs pointer in a scoped_ptr
139         * lyxvc.C: adjust
140
141         * lyxsocket.C (serverCallback): exception safety
142
143         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
144
145         * ispell.C (clone): make it return a auto_ptr
146
147         * factory.C (createInset): exception safety
148         (readInset): exception safety
149
150         * bufferlist.C (newBuffer): exception safety
151
152         * Thesaurus.C (Thesaurus): use initialization for aik_
153
154         * MenuBackend.C (expandToc): exception safety.
155
156 2003-11-03  André Pönitz  <poenitz@gmx.net>
157
158         * buffer.C:
159         * buffer.h:
160         * bufferview_funcs.C: remove getInsetFromId()
161
162         * lyxcursor.[Ch]:
163         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
164
165         * lyxfunc.C:
166         * text2.C:
167         * text3.C: adjust
168
169 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
170
171         * PosIterator.C (distance, advance): new
172         * bufferview_funcs.[Ch] (put_selection_at): new
173         * iterators.[Ch] (lockPath): new
174
175 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
176
177         * iterators.[Ch] (asPosIterator): added
178         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
179         * PosIterator.[Ch]: added
180
181 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
182
183         * text3.C:
184         * lyxfunc.C:
185         * cursor.C (dispatch):
186         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
187
188         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
189         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
190         contructor, add a class function dispatched. Remove operator>=
191
192 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
193
194         * debug.C: only use the default constructor for debugstream
195         (lyxerr) here.
196
197         * main.C (main): include debug.h and setup the lyxerr streambuf
198         here.
199
200 2003-10-31  José Matos  <jamatos@lyx.org>
201
202         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
203
204         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
205         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
206         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
207         * paragraph_pimpl.C (simpleTeXSpecialC):
208         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
209         add LatexRunParams argument.
210
211         * exporter.C (Export): change call accordingly.
212
213         * latexrunparams.h: add new member to take care of the other backends.
214 2003-10-30  José Matos  <jamatos@lyx.org>
215
216         * buffer.C (makeLinuxDocFile, makeDocBookFile):
217         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
218         factorise code for paragraph output.
219         * buffer.[Ch]:
220         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
221         move functions.
222
223 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
224
225         * text3.C (dispatch):
226         * lyxfunc.C (dispatch):
227         * cursor.C (dispatch):
228         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
229
230         * dispatchresult.h: make the dispatch_result_t ctor explicit
231
232 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
233
234         * sgml.[Ch]:
235         * buffer.C: small refactoring of docbook stuff
236
237 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
238
239         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
240         meaning.
241
242 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
243
244         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
245         operator dispatch_result_t, and operators for == != and >=
246
247         * cursor.C (dispatch): adjust for operator dispatch_result_t
248         removal. comment out call to update
249
250         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
251
252 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
253
254         * text3.C:
255         * text2.C:
256         * text.C:
257         * lyxtext.h:
258         * lyxfunc.C:
259         * cursor.C:
260         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
261         (dispatch):
262
263         * dispatchresult.h: new file, DispatchResult broken out of
264         insets/insetbase.h
265
266         * Makefile.am (lyx_SOURCES): add dispatchresult.h
267
268 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
269
270         * text.C (rowBreakPoint): put a hack inside #if 0
271
272 2003-10-28  André Pönitz  <poenitz@gmx.net>
273
274         * lyxtext.h:
275         * metricsinfo.C:
276         * paragraph_funcs.C:
277         * rowpainter.C:
278         * text.C:
279         * text2.C: general cleanup (lots of small stuff)
280
281 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
282
283         * text2.C (cursorEnd): simple fix to the "end key goes to one
284         before the end on last row" bug
285
286 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
287
288         * text.C (backspace): fix the "zombie characters"
289
290 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
291
292         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
293
294 2003-10-27  André Pönitz  <poenitz@gmx.net>
295
296         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
297
298         * factory.C: handle new InsetPagebreak, InsetLine
299
300         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
301         and move handling into new InsetPagebreak, InsetLine
302
303         * BufferView_pimpl.C:
304         * LyXAction.C:
305         * ParagraphParameters.C:
306         * ParameterStruct.h:
307         * lyxfunc.C:
308         * lyxtext.h:
309         * paragraph.C:
310         * paragraph.h:
311         * paragraph_funcs.C:
312         * paragraph_pimpl.C:
313         * rowpainter.C:
314         * text.C:
315         * text2.C:
316         * text3.C: adjust
317
318 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
319
320         * text.C:
321         * lyxrow_funcs.[Ch]:
322         * Bidi.C:
323         * paragraph.C:
324         * lyxtext.h:
325         * rowpainter.C:
326         * text2.C:
327         * text3.C: remove lastPos uses in favour of Row::endpos
328
329 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
330
331         * undo.C (performUndoOrRedo): fix two crashes by setting a
332         cursor by hand and reordering some calls. Use bv->lockInset instead
333         of inset->edit because the latter loses cursor information
334
335 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
336
337         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
338         by Martin
339         (rowBreakPoint): fix width. change point to point + 1.
340         Add a missing check.
341
342 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
343
344         * MenuBackend.C:
345         * lyxfunc.C: fix (at least partly) the problems
346         with the Nav menu and headers inside branch insets
347         reported by Kayvan
348
349 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
350
351         * paragraph.C (getChar): add strong asserts
352
353         * lyxrow_funcs.C (lastPos): remove hideous hack
354
355         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
356         (fill): adjust to that (avoid an infinite loop)
357
358 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
359
360         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
361
362 2003-10-23  André Pönitz  <poenitz@gmx.net>
363
364         * RowList_fwd.h: change list<> to vector<> to gain speed
365         after suggestion from Alfredo
366
367 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
368
369         * lyxtext.h: move the bidi stuff from here...
370         * text.C: and here
371         * text2.C: and here
372         * Bidi.[Ch]: ... to here
373
374 2003-10-23  André Pönitz  <poenitz@gmx.net>
375
376         * lyxtext.h:
377         * text.C (isLastRow, isFirstRow): new functions
378
379         * paragraph.h: new width cache member
380
381         * rowpainter.C: replace RowList::iterator with Row & where possible
382
383         * lyxfunc.C: replace several view()->text with a single call
384
385         * toc.C: fix 'unused' warning
386
387 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
388
389         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
390         when woring with stream::pos_type
391         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
392
393 2003-10-22  André Pönitz  <poenitz@gmx.net>
394
395         * lyxtext.h:
396         * text.C: use Row & instead of RowList::iterator
397
398         * lyxrow.h: rename end() to endpos()
399
400         * rowpainter.C:
401         * text.C:
402         * text2.C: adjust
403
404 2003-10-22  Angus Leeming  <leeming@lyx.org>
405
406         * buffer.[Ch] (fully_loaded): new member function, returning true
407         only when the file has been loaded fully.
408         Used to prevent the premature generation of previews and by the
409         citation inset to prevent computation of the natbib-style label.
410
411         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
412         templates are all set up.
413
414         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
415
416 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
417
418         * text.C: fixed an "oops" in the "is a bit silly"
419         bug fix
420
421 2003-10-21  André Pönitz  <poenitz@gmx.net>
422
423         * FuncStatus.[Ch]: small stuff, whitespace
424
425         * lyxfont.[Ch]: operator<<() for debug reasons
426
427         * lyxfunc.C:
428         * lyxrow_funcs.C:
429         * lyxtext.h: whitespace, spelling
430
431         * paragraph.C: naming of variables
432
433         * text.C:
434         * text2.C: small stuff
435
436
437 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
438
439         * text.C: (1) finish off the inset display() work;
440         (2) fix the "is a bit silly" bug (accessing char
441         past end of par).
442
443 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
444
445         * text.C: re-introduce display() for insets, fixing the
446         various bugs (stretch of line above, math inset
447         positioning, ...)
448
449 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
450
451         * text.C (rightMargin): remove spurious semicolon
452
453         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
454         1415)
455
456 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
457
458         * text3.C: fix one crash due to wrong cursor def
459
460 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
461
462         * vc-backend.C (scanMaster): make the regex static
463
464         * LaTeX.C (scanAuxFile): make the regexs static
465
466         * text3.C (doInsertInset, dispatch, dispatch):
467         * text2.C (cursorUp, cursorDown):
468         * text.C (selectNextWordToSpellcheck):
469         * BufferView_pimpl.C (dispatch):
470         * lyxfunc.C (dispatch):  localDispatch -> dispatch
471
472 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
473
474         * lyxsocket.C: include <cerrno>
475
476 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
477
478         * lyxfunc.C (dispatch): remove textcache stuff
479
480         * bufferlist.C (release): remove textcache stuff
481         (closeAll): ditto
482
483         * TextCache.C: delete file
484         * TextCache.h: delete file
485
486         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
487
488         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
489         delete of the bv_->text.
490         (resizeCurrentBuffer): remove texcache stuff
491         (workAreaResize): ditto
492
493 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
494
495         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
496         action.
497
498 2003-10-16  André Pönitz  <poenitz@gmx.net>
499
500         * lyxrow.[Ch]:
501         * paragraph.h:
502         * rowpainter.C:
503         * text.C:
504         * text2.C:
505         * text3.C: speed up by storing y positions per paragraph plus per-row
506         offset instead of having a 'full' y position in the row.
507
508 2003-10-15  André Pönitz  <poenitz@gmx.net>
509
510         * iterators.[Ch]:
511         * iterators.[Ch]:
512         * undo.[Ch]: make undo aware of inner insets
513
514 2003-10-14  Angus Leeming  <leeming@lyx.org>
515
516         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
517         static member functions LyX::ref() and LyX::cref.
518         (lastfiles): new accessor functions for the new lastfiles_ member var.
519         (addLyXView, views_): add a new LyXView to the list of views_.
520         (updateInset): loop over all LyXViews to call their own updateInset
521         member function, returning a pointer to the Buffer owning the inset.
522
523         * BufferView_pimpl.C (loadLyXFile):
524         * MenuBackend.C (expandLastfiles):
525         * bufferlist.C (MenuWrite, QuitLyX):
526         lastfiles is no longer a global variable.
527         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
528
529         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
530         static function. Access through LyX::cref().emergencyCleanup().
531
532 2003-10-14  André Pönitz  <poenitz@gmx.net>
533
534         * iterators.[Ch]: new direct access to innermost LyXText and Inset
535
536         * undo.[Ch]: restoring part of 'undo in insets'
537
538         * Makefile.am:
539         * undo_funcs.[Ch]: merge with undo.[Ch]
540
541         * tabular.C: small cleansing stuff
542
543 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
544
545         * paragraph_funcs.C (readParToken): report unknown insets as error
546         boxes. Use the outer paragraph as location (also for unknown
547         tokens).
548
549         * factory.C (readInset): do not abort on reading an unknown inset.
550         Eat it and return 0.
551
552 2003-10-13  Angus Leeming  <leeming@lyx.org>
553
554         * lyx_main.C (LyX): remove call to setDisplayTranslator().
555
556         * lyxrc.C: displayTranslator is now a function,
557         declared in GraphicsTypes.h.
558
559 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
560
561         * format.C: new placeholder $$a to pass the socket address.
562
563         * bufferlist.[Ch]: new function getBufferFromTmp.
564
565         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
566           files in the temporary dir.
567
568 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
569
570         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
571
572         * Makefile.am: add lyxsocket.[Ch].
573
574         * lyx_main.C (error_handler): handle SIGPIPE.
575
576 2003-10-13  André Pönitz  <poenitz@gmx.net>
577
578         * BufferView_pimpl.C:
579         * lyxtext.h:
580         * text.C:
581         * text2.C:
582         * text3.C:
583         * undo_funcs.[Ch]: use paroffset_type instead of
584           ParagraphList::iterators to prevent multiple conversion
585           (and get a more robust interface)
586
587 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
588
589         * lyxfunc.C (dispatch): RESULT -> dispatch_result
590         * lyxtext.h: ditto
591         * text3.C (dispatch): ditto
592
593 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
594
595         * LaTeX.C (handleFoundFile): move the static to smaller scope,
596         move the onlyfile, use onlyfile instead of foundfile in a couple
597         of places.
598
599         * DepTable.C (update): flush the error stream a bit more
600
601 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
602
603         * lyxserver.C (callback): adjust
604
605         * lyxfunc.C (getStatus): add a missing brace in commented code
606         (ensureBufferClean): reindent
607         (dispatch): delete version taking a string
608
609 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
610
611         * LaTeX.C (deplog): move found file handlig from here...
612         (handleFoundFile): .. to new function here.
613         (deplog): make sure to discover several files mentioned on the
614         same log line.
615
616 2003-10-10  André Pönitz  <poenitz@gmx.net>
617
618         * lyxfunc.C:
619         * lyxtext.h:
620         * tabular.C:
621         * text.C:
622         * text2.C:
623         * text3.C: fix some of the tabular crashes
624
625 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
626
627         * MenuBackend.C (binding): put debug message into Debug::KBMAP
628
629         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
630
631 2003-10-09  André Pönitz  <poenitz@gmx.net>
632
633         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
634
635         * BufferView.C:
636         * BufferView_pimpl.C:
637         * bufferview_funcs.C:
638         * lyx_cb.C:
639         * lyxcursor.C:
640         * lyxfind.C:
641         * lyxfunc.C:
642         * lyxtext.h:
643         * text.C:
644         * text2.C:
645         * text3.C:
646         * text_funcs.[Ch]:
647         * textcursor.[Ch]:
648         * undo_funcs.C: adjust
649
650 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
651
652         * text2.C (incrementItemDepth): new function, use a backtracking
653         algorithm to discover the correct item depth.
654         (resetEnumCounterIfNeeded): new function, use a backtracking
655         algorithm to discover if counter reset is needed.
656         (setCounter): use them. Simplify a bit. Add different labels for
657         different item depths for itemize.
658
659         * paragraph.C (Paragraph): remove initialization of enumdepth
660         (operator=): ditto
661
662         * paragraph.h: get rid of enumdepth, and use itemdepth both for
663         enumerate and itemize. Change the type of itemdepth to signed char.
664
665 2003-10-08  André Pönitz  <poenitz@gmx.net>
666
667         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
668           thing assignable.
669         * text.C:
670         * text2.C: adjust
671
672         * tabular.[Ch]: fix crash after 'row-insert'
673
674 2003-10-08  Angus Leeming  <leeming@lyx.org>
675
676         Fix doxygen warnings.
677
678         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
679         Remove CutAndPaste:: prefix from header file declaration.
680
681         * LColor.h (fill): remove LColor:: prefix from declaration.
682
683         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
684         use lyx::depth_type rather than Paragraph::depth_type so that
685         header file and .C file match.
686
687         * converter.h (intToFormat): remove Converters:: prefix from declaration.
688
689         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
690         * aspell.C: \file aspell_local.C -> \file aspell.C
691         * gettext.C: \file gettext.C -> \file src/gettext.C
692         * gettext.h: \file gettext.h -> \file src/gettext.h
693         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
694         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
695         * text.C: \file text.C -> \file src/text.C
696
697         * toc.C: move comment so that doxygen is not confused.
698
699 2003-10-07  Angus Leeming  <leeming@lyx.org>
700
701         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
702
703 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
704
705         * aspell.C:
706         * aspell_local.h: add forgotten std::string's.
707
708 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
709
710         * LaTeXFeatures.C:
711         * LyXAction.C:
712         * factory.C:
713         * lfuns.h:
714         * lyxfunc.C:
715         * text3.C: The Box patch. Fancybox support, minipage, parbox
716
717 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
718
719         * CutAndPaste.h:
720         * DepTable.h:
721         * FloatList.h:
722         * LaTeXFeatures.h:
723         * ParagraphParameters.h:
724         * TextCache.h:
725         * Thesaurus.h:
726         * bufferlist.h:
727         * exporter.h:
728         * importer.h:
729         * lastfiles.h:
730         * lyxfind.h:
731         * lyxfont.h:
732         * lyxlex.h:
733         * lyxtextclasslist.h:
734         * messages.h:
735         * paragraph.h:
736         * paragraph_pimpl.C:
737         * textcursor.h: add <string> and other small fixes to make Lars'
738         std::string patch compile with STLport.
739
740 2003-10-06  Angus Leeming  <leeming@lyx.org>
741
742         * LColor.h: Add missing #include <string>.
743
744 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
745
746         * All most all file in all subdirs: Make <string> be the prefered
747         way of getting to std::string, add using declarations.
748
749 2003-10-06  André Pönitz  <poenitz@gmx.net>
750
751         * metricsinfo.C: initialize LyXFont before changing attribute.
752         (fixes the 'math in \emph is upright' bug)
753
754 2003-10-06  André Pönitz  <poenitz@gmx.net>
755
756         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
757
758 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * graph.C:
761         * paragraph_pimpl.C: Small fixes to build using STLport
762
763 2003-10-02  André Pönitz  <poenitz@gmx.net>
764
765         * lyxfunc.C:
766         * text3.C: move handling of LFUN_DEPTH *; fix #1360
767
768 2003-10-01  André Pönitz  <poenitz@gmx.net>
769
770         * factory.C: assert early
771
772 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
773
774         * lyx_main.C: remove the global debug object
775
776         * debug.h: adjust for new debugstream
777
778         * debug.C: adjust for new debugstream and keep the global debug
779         object here.
780
781 2003-09-22  Angus Leeming  <leeming@lyx.org>
782
783         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
784         of g++ which otherwise complain that the scoped_ptr destructor can't delete
785         an incomplete class LyXFont.
786
787 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
788
789         * factory.C: bug fix in branches
790
791 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
792
793         * lyxfunc.C (processKeySym): adjust
794         (dispatch): adjust
795         (dispatch): change arg name from ev to func, adjust
796         (sendDispatchMessage): ditto
797
798         * lyx_main.C (defaultKeyBindings): adjust keybindings
799         (deadKeyBindings): ditto
800
801         * kbsequence.C (addkey): return a FuncRequest
802
803         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
804
805         * kbmap.C (bind): take a FuncRequest as arg, adjust
806         (read): adjust
807         (lookup): adjust
808         (defkey): change to take a FuncRequest as arg, adjust
809         (findbinding): take a FuncRequest as arg, adjust.
810
811         * funcrequest.h (operator=): added
812
813         * funcrequest.C (FuncRequest): default kb_action changed from
814         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
815
816         * buffer.C (dispatch): simplify
817         (dispatch): adjust to take a FuncRequest as arg, adjust
818
819         * boost.C (assertion_failed): change assertion message slightly
820
821         * ToolbarBackend.C (read): simplify
822
823         * MenuBackend.C (binding): adjust call to findbinding, add a
824         message if no binding is found.
825         (read): simplify
826         (expandToc): correct by adding a empty FuncRequest
827
828         * LyXAction.C: include <boost/assert.hpp>
829         (isPseudoAction): delete function
830         (LookupFunc): change name to...
831         (lookupFunc): this. change return type to FuncRequest.
832         (getActionName): take kb_action as arg, simplify
833         (funcHasFlag): add an assert, simplify.
834
835 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
836
837         * toc.C (action): return a FuncRequest, simplify
838
839         * lyxfunc.C (processKeySym): adjust
840         (getStatus): delete version that takes an int.
841         (getStatus): adjust
842         (dispatch): delete version that takes action as int
843         (dispatch): adjust
844         (sendDispatchMessage): simplify and adjust
845
846         * funcrequest.C (getArg): take unsigned int as arg
847
848         * ToolbarBackend.C (read): adjust
849         (add): delete version that takes func as a string.
850         (getIton): take a FuncRequest as arg
851
852         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
853         action.
854
855         * MenuBackend.C (MenuItem): add a new construct that only takes a
856         Kind, simplify the constructor use for submenus.
857         (add): adjust
858         (expandLastfiles): adjust
859         (expandDocuments): adjust
860         (expandFormats): adjust
861         (expandFloatListInsert): adjust
862         (expandFloatInsert): adjust
863         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
864
865         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
866         Remove class variables lyx_pseudo_map and lyx_arg_map
867
868         * LyXAction.C (searchActionArg): delete function
869         (getPseudoAction): delete function
870         (retrieveActionArg): delete function
871         (LookupFunc): make it return kb_action, simplify.
872         (getActionName): simplify
873
874         * factory.C (createInset): fix new bug
875
876 2003-09-19  Angus Leeming  <leeming@lyx.org>
877
878         * CutAndPaste.C (pasteSelection): remove fudge used to set the
879         masterFilename_ parameter in the include inset.
880
881         * factory.C (createInset): changes due to the changes to InsetInclude.
882
883 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
884
885         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
886
887 2003-09-18  Angus Leeming  <leeming@lyx.org>
888
889         * buffer.C:
890         * BufferView.C: pass the buffer when calling Inset::getLabelList,
891         Inset::fillWithBibKeys.
892         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
893
894 2003-09-18  Angus Leeming  <leeming@lyx.org>
895
896         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
897         variables.
898         (ctor): pass and store a 'Buffer const &'
899         (buffer): new member function.
900
901         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
902         '*this' to the LaTeXFeatures ctor.
903
904 2003-09-18  Angus Leeming  <leeming@lyx.org>
905
906         * LColor.h:
907         * lyxfont.C:
908         * lyxfont.h:
909         * lyxtext.h:
910         * text.C: rename EnumLColor as LColor_color.
911
912 2003-09-18  Angus Leeming  <leeming@lyx.org>
913
914         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
915         remove #include "insets/insetbase.h" from cursor.h.
916
917 2003-09-18  Angus Leeming  <leeming@lyx.org>
918
919         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
920         InsetOld_code to remove #include "inset.h".
921
922         * iterators.C: add #include "insets/inset.h"
923
924 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
925
926         * BufferView.C: remove more locking stuff that apparently doesn't
927         do anything sensible.
928
929 2003-09-16  André Pönitz  <poenitz@gmx.net>
930
931         * paragraph.[Ch]:
932         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
933           performance boost.
934
935 2003-09-16  Angus Leeming  <leeming@lyx.org>
936
937         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
938
939         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
940         arg/return type.
941
942         * paragraph.h: remove #include "lyxfont.h". Forward declare
943         LyXFont_size.
944
945 2003-09-16  Angus Leeming  <leeming@lyx.org>
946
947         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
948         of support/textutils.h.
949         (isWord): move the contents of support/textutils.h's IsWordChar here.
950
951         * buffer.C:
952         * lyxfind.C:
953         * rowpainter.C:
954         * text.C:
955         * text2.C: add #include "paragraph.h".
956
957         * rowpainter.C:
958         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
959
960 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
961
962         * main.C:
963         * lyx_main.C:
964         * lyx_cb.C:
965         * buffer.C:
966         * LaTeX.C: use namespace alias for lyx::support::os
967
968 2003-09-16  Angus Leeming  <leeming@lyx.org>
969
970         * bufferparams.C:
971         * bufferview_funcs.C:
972         * factory.C:
973         * lyxfunc.C:
974         * paragraph_pimpl.C:
975         * rowpainter.C:
976         * text.C: add #include "LColor.h".
977
978 2003-09-16  Angus Leeming  <leeming@lyx.org>
979
980         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
981         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
982         return LyXFont &.
983         Store the FontBits::color variable as an int rather than as an
984         LColor::colorso that we can move LColor.h out of the lyxfont.h header
985         file.
986
987         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
988         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
989         string calls together.
990
991         * lyxrc.C: add #include "LColor.h".
992
993 2003-09-15  Angus Leeming  <leeming@lyx.org>
994
995         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
996         a cow_ptr.
997
998 2003-09-15  Angus Leeming  <leeming@lyx.org>
999
1000         * LColor.h: add an EnumLColor wrapper for LColor::color.
1001
1002         * lyxfont.[Ch] (color, setColor, realColor):
1003         * lyxtext.h, text.C (backgroundColor):
1004         pass EnumLColor args to/from the functions, rather than LColor::color
1005         ones.
1006
1007         * lyxfont.h:
1008         * lyxtext.h: forward declare EnumLColor.
1009
1010         * lyx_main.C: add #include "LColor.h".
1011
1012 2003-09-15  Angus Leeming  <leeming@lyx.org>
1013
1014         * .cvsignore: add lyx-gtk.
1015
1016 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1017
1018         * Chktex.C
1019         * LaTeX.C
1020         * LaTeXFeatures.C
1021         * ParagraphParameters.C
1022         * Spacing.C
1023         * buffer.C
1024         * bufferparams.C
1025         * bufferview_funcs.C
1026         * chset.C
1027         * counters.C
1028         * funcrequest.C
1029         * lyxfont.C
1030         * lyxgluelength.C
1031         * lyxlength.C
1032         * paragraph.C
1033         * paragraph_funcs.C
1034         * text3.C
1035         * vc-backend.C: remove usage of STRCONV
1036
1037 2003-09-15  Angus Leeming  <leeming@lyx.org>
1038
1039         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1040         explicitly define the color passed to the painter.
1041
1042 2003-09-15  Angus Leeming  <leeming@lyx.org>
1043
1044         * bufferparams.C (BufferParams): reorder member initializers to avoid
1045         compiler warning.
1046
1047 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1048
1049         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1050         * text.C (updateRowPositions): remove an unusual nop
1051
1052 2003-09-12  André Pönitz  <poenitz@gmx.net>
1053
1054         * BufferView_pimpl.C:
1055         * Bullet.C:
1056         * layout.h:
1057         * lyxfunc.C:
1058         * lyxlayout.[Ch]:
1059         * lyxtextclass.C:
1060         * rowpainter.C:
1061         * text.C:
1062         * text2.C:
1063         * Counters.[Ch]: finish the 'automatic counters' job
1064
1065 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1066
1067         * aspell.C: include <boost/assert.cpp> (compile fix)
1068
1069 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1070
1071         * boost.C (assertion_failed): use lyx::support::abort instead of
1072         assert.
1073
1074 2003-09-10  Angus Leeming  <leeming@lyx.org>
1075
1076         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1077         with their _fwd progeny.
1078
1079 2003-09-09  Angus Leeming  <leeming@lyx.org>
1080
1081         134 files throughtout the source tree: replace 'using namespace abc;'
1082         directives with the appropriate 'using abc::xyz;' declarations.
1083
1084 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1085
1086         * boost.C (emergencyCleanup): moved here from LAssert.c
1087         (assertion_failed): new function, called by BOOST_ASSERT
1088
1089         * several files: change Assert to BOOST_ASSERT
1090
1091 2003-09-09  Angus Leeming  <leeming@lyx.org>
1092
1093         * buffer.[Ch]: Add an Impl class and move Buffer's member
1094         variables into it. As a result move several header files out of
1095         buffer.h.
1096
1097         Add header files to lots of .C files all over the tree as a result.
1098
1099 2003-09-09  Angus Leeming  <leeming@lyx.org>
1100
1101         * buffer.[Ch]: make Buffer's member variables private. Add
1102         accessor functions.
1103
1104         Lots of changes all over the tree as a result.
1105
1106 2003-09-08  Angus Leeming  <leeming@lyx.org>
1107
1108         * graph.C: #include <config.h>.
1109
1110 2003-09-08  Angus Leeming  <leeming@lyx.org>
1111
1112         * BranchList.C:
1113         * BufferView.C:
1114         * BufferView_pimpl.C:
1115         * CutAndPaste.C:
1116         * DepTable.C:
1117         * LaTeX.C:
1118         * LaTeXFeatures.C:
1119         * LyXAction.C:
1120         * MenuBackend.C:
1121         * TextCache.C:
1122         * aspell.C:
1123         * buffer.C:
1124         * bufferlist.C:
1125         * changes.C:
1126         * chset.C:
1127         * converter.C:
1128         * counters.C:
1129         * debug.C:
1130         * graph.C:
1131         * ispell.C:
1132         * lyx_cb.C:
1133         * lyxfind.C:
1134         * lyxfunc.C:
1135         * lyxlex_pimpl.C:
1136         * lyxrc.C:
1137         * lyxrow.C:
1138         * paragraph.C:
1139         * rowpainter.C:
1140         * texrow.C:
1141         * text.C:
1142         * text2.C:
1143         * toc.C: remove redundant using directives.
1144
1145 2003-09-07  Angus Leeming  <leeming@lyx.org>
1146
1147         * LaTeXFeatures.h: remove #include "support/types.h".
1148         * ToolbarBackend.h: remove #include <algorithm>.
1149         * changes.h: remove #include <ctime>.
1150         * debug.h: remove #include <iosfwd>.
1151         * graph.h: remove #include "support/std_string.h".
1152         * lyx_main.h: remove #include <csignal>.
1153         * lyxlex_pimpl.h: remove #include <fstream>.
1154         * sgml.h: remove #include <algorithm>, <utility>.
1155         * toc.h: remove #include "support/std_ostream.h".
1156         Add #include <iosfwd>.
1157
1158 2003-09-07  Angus Leeming  <leeming@lyx.org>
1159
1160         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1161
1162         * converter.h: forward declare LatexRunParams.
1163         * encoding.h: remove #include "lyxrc.h".
1164         * lyxtext.h: remove #include "LColor.h".
1165         * lyxtextclass.h: remove #include "support/types.h".
1166         * trans.h: remove #include "tex-accent.h".
1167         * trans_mgr.h: remove #include "tex-accent.h".
1168         * insets/inset.h: remove #include "support/types.h", <vector>.
1169         * insets/insetcollapsable.h: remove #include "LColor.h".
1170         * insets/insetinclude.h: remove #include "dimension.h".
1171         * insets/insetlatexaccent.h: remove #include "dimension.h".
1172         * insets/insetoptarg.h:: remove #include "insettext.h".
1173         * insets/insettext.h: remove #include "dimension.h",
1174         <boost/shared_ptr.hpp>
1175
1176         * insets/renderers.h: add #include "dimension.h".
1177         * insets/updatableinset.h: add #include "support/types.h".
1178
1179         * many .C files: Associated changes.
1180
1181 2003-09-06  Angus Leeming  <leeming@lyx.org>
1182
1183         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1184         one, inside testInvariant.
1185
1186         * PrinterParams.C: new file.
1187         * PrinterParams.[Ch]: move the function bodies out of line.
1188
1189 2003-09-06  Angus Leeming  <leeming@lyx.org>
1190
1191         * ParagraphParameters.h: forward declare ParameterStruct rather than
1192         including its header file.
1193         (depth): moved out-of-line.
1194
1195 2003-09-06  Angus Leeming  <leeming@lyx.org>
1196
1197         * BufferView_pimpl.h:
1198         * kbmap.h:
1199         * kbsequence.h:
1200         * lyxfunc.h: forward declare LyXKeySym rather than
1201         #include "frontends/LyXKeySym.h".
1202
1203         * BufferView_pimpl.C:
1204         * kbmap.C:
1205         * kbsequence.C:
1206         * lyxfunc.C: associated changes.
1207
1208 2003-09-06  Angus Leeming  <leeming@lyx.org>
1209
1210         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1211         As a result, can remove the #include "insets/inset.h" from BufferView.h
1212
1213 2003-09-06  Angus Leeming  <leeming@lyx.org>
1214
1215         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1216         As a result, can remove the #include "insets/inset.h" from BufferView.h
1217
1218 2003-09-06  Angus Leeming  <leeming@lyx.org>
1219
1220         * buffer_funcs.C:
1221         * buffer.h:
1222         * bufferlist.C:
1223         * BufferView.C:
1224         * bufferview_funcs.C:
1225         * BufferView_pimpl.C:
1226         * CutAndPaste.C:
1227         * lyx_cb.C:
1228         * lyxfunc.C:
1229         * paragraph.h:
1230         * ParagraphParameters.C:
1231         * tabular.C:
1232         * text3.C:
1233         * toc.C:
1234         * undo_funcs.C:
1235         * frontends/controllers/ControlDocument.C:
1236         * insets/insetcaption.C: rearrange the #includes into some sort of
1237         coherent order.
1238
1239         * buffer.h: remove #includes ErrorList.h, undo.h
1240
1241 2003-09-06  Angus Leeming  <leeming@lyx.org>
1242
1243         * support/types.h: add a 'depth_type' typedef, used to store the
1244         nesting depth of a paragraph.
1245
1246         * paragraph.h:
1247         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1248         defining explicitly.
1249
1250         * buffer.h:
1251         * paragraph_funcs.h:
1252         * ParagraphParameters.h:
1253         * sgml.h: use lyx::depth_type rather than Paragraph or
1254         ParameterStruct's depth_type.
1255
1256         * buffer.h
1257         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1258
1259         * BufferView.C:
1260         * BufferView_pimpl.C:
1261         * CutAndPaste.C:
1262         * ParagraphParameters.C:
1263         * buffer_funcs.C:
1264         * bufferlist.C:
1265         * bufferview_funcs.C:
1266         * lyx_cb.C:
1267         * lyxfunc.C:
1268         * tabular.C:
1269         * text3.C:
1270         * toc.C:
1271         * undo_funcs.C:
1272         * frontends/LyXView.C:
1273         * frontends/controllers/ControlDocument.C:
1274         * frontends/controllers/ControlErrorList.C:
1275         * insets/insetbibitem.C:
1276         * insets/insetbranch.C:
1277         * insets/insetcaption.C:
1278         * insets/insetcollapsable.C:
1279         * insets/insetenv.C:
1280         * insets/insetert.C:
1281         * insets/insetfloat.C:
1282         * insets/insetfoot.C:
1283         * insets/insetfootlike.C:
1284         * insets/insetnewline.C:
1285         * insets/insetquotes.C:
1286         * insets/insettabular.C:
1287         * insets/insettext.C:
1288         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1289
1290         * frontends/controllers/ControlChanges.C: #include "changes.h".
1291
1292 2003-09-06  Angus Leeming  <leeming@lyx.org>
1293
1294         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1295         than #including paragraph.h.
1296
1297         * ParagraphList.h:
1298         * RowList.h: deleted. Superfluous.
1299
1300         * CutAndPaste.h:
1301         * iterators.h:
1302         * lyxcursor.h:
1303         * lyxtext.h:
1304         * text_funcs.h:
1305         * undo.h:
1306         * undo_funcs.h:
1307         * insets/inset.h:
1308         * insets/insettext.h: use ParagraphList_fwd.h rather than
1309         ParagraphList.h.
1310
1311         * paragraph.h: don't forward declare ParagraphList.
1312
1313         * buffer.h:
1314         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1315         rather than ParagraphList.h. paragraph.h is still needed for the
1316         Paragraph::depth_type parameters.
1317
1318         * textcursor.h: enable it to compile stand-alone in light of the
1319         above changes.
1320
1321         * bufferview_funcs.C:
1322         * iterators.C:
1323         * lyxfunc.C:
1324         * lyxrow_funcs.C:
1325         * paragraph.C:
1326         * rowpainter.C:
1327         * text.C:
1328         * text2.C:
1329         * text3.C:
1330         * text_funcs.C:
1331         * textcursor.C:
1332         * undo.C:
1333         * frontends/controllers/ControlParagraph.C:
1334         * frontends/controllers/ControlTabular.C:
1335         * insets/insetmarginal.C:
1336         * insets/insetminipage.C:
1337         * insets/insetnote.C:
1338         * insets/insetoptarg.C: add header files needed to compile again.
1339
1340 2003-09-06  Angus Leeming  <leeming@lyx.org>
1341
1342         * RowList_fwd.h: new file, forward-declaring Row rather than
1343         #including lyxrow.h.
1344
1345         * lyxrow_funcs.h:
1346         * lyxtext.h:
1347         * paragraph.h:
1348         * insets/insettext.h: use it instead of RowList.h
1349
1350         * bufferview_funcs.C:
1351         * lyxfunc.C:
1352         * lyxrow_funcs.C:
1353         * paragraph.C:
1354         * rowpainter.C:
1355         * text.C:
1356         * text2.C:
1357         * text3.C: #include "RowList.h".
1358
1359 2003-09-05  Angus Leeming  <leeming@lyx.org>
1360
1361         * factory.C (createInset):
1362         * vspace.C (c-tor): replace sscanf call with an istringstream.
1363         * ispell.C: re-add missing HP/UX headers.
1364         * lyxserver.C: re-add missing  os2 headers.
1365
1366 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1367
1368         * BranchList.C:
1369         * graph.C:
1370         * ispell.C:
1371         * lastfiles.C:
1372         * lyx_cb.C:
1373         * lyxserver.C:
1374         * texrow.C:
1375         * text3.C: re-add missing system headers, needed for 2.95.2.
1376
1377 2003-09-05  Angus Leeming  <leeming@lyx.org>
1378
1379         Changes most place everywhere due to the removal of using directives
1380         from support/std_sstream.h.
1381
1382 2003-09-05  Angus Leeming  <leeming@lyx.org>
1383
1384         Replace LString.h with support/std_string.h,
1385         Lsstream.h with support/std_sstream.h,
1386         support/LIstream.h with support/std_istream.h,
1387         support/LOstream.h with support/std_ostream.h.
1388
1389         Changes resulting throughout the tree.
1390
1391 2003-09-05  Angus Leeming  <leeming@lyx.org>
1392
1393         * sgml.h: ensure that the header file can be compiled stand-alone.
1394         * *.C: strip out redundant #includes. (320 in total.)
1395
1396 2003-09-04  Angus Leeming  <leeming@lyx.org>
1397
1398         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1399         here (from getPackages).
1400
1401         * debug.[Ch]: add a new EXTERNAL tag.
1402
1403 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1404
1405         * text2.C (cursorEnd): simplify
1406         (setCursor): adjust
1407         (getColumnNearX): adjust
1408
1409         * text.C (computeBidiTables): adjust
1410         (fill): adjust
1411
1412         * rowpainter.C (paintChars): adjust
1413         (paintSelection): adjust
1414         (paintChangeBar): adjust
1415         (paintText): adjust
1416
1417         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1418         lastPos instead.
1419         (numberOfSeparators): adjust
1420
1421 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1422
1423         * LyXAction.C:
1424         * box.[Ch]:
1425         * lfuns.h:
1426         * lyxfunc.C:
1427         * text3.C: Restricts the mouse click functionality
1428         of insets like bibtex, include, toc and floatlist to the visible
1429         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1430         up the dialogs. Cursor has to be in front of the inset (i.e.
1431         start of row) for this to function.
1432
1433 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1434
1435         * bufferview_funcs.C (currentState): output row information
1436
1437 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1438
1439         * bufferview_funcs.C (currentState): output paragraph position
1440
1441 2003-09-04  Angus Leeming  <leeming@lyx.org>
1442
1443         * FloatList.h: move out #include "Floating.h".
1444         * LaTeX.h: move out #include "DepTable.h".
1445         * LyXAction.h: move out #include "funcrequest.h".
1446         * buffer.h: move out #include "author.h", "iterators.h".
1447         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1448         * lyx_main.h: move out #include "errorlist.h".
1449         * lyxfunc.h: move out #include "FuncStatus.h".
1450         * lyxtext: move out #include "lyxcursor.h".
1451         * paragraph_pimpl.h: move out #include "counters.h".
1452
1453 2003-09-03  Angus Leeming  <leeming@lyx.org>
1454
1455         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1456         preamble_snippets list, enabling us to add snippets to the preamble
1457         only if the snippet was not there already.
1458
1459 2003-09-04  Angus Leeming  <leeming@lyx.org>
1460
1461         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1462
1463 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1464
1465         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1466         update
1467
1468 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1469
1470         * BranchList.C: point fix, earlier forgotten
1471
1472 2003-09-02  Angus Leeming  <leeming@lyx.org>
1473
1474         * box.C (contains): renamed from 'contained' after a fantastic
1475         amount of hot air.
1476
1477 2003-09-02  John Levon  <levon@movementarian.org>
1478
1479         * BufferView.C:
1480         * lyxcursor.h:
1481         * lyxcursor.C:
1482         * lyxfunc.C:
1483         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1484
1485 2003-09-02  John Levon  <levon@movementarian.org>
1486
1487         * text2.C: simplification of cursorEnd(), including partial
1488         fix for bug 1376
1489
1490 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1491
1492         * buffer.C (readFile): add a space
1493
1494 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1495
1496         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1497
1498 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1499
1500         * buffer.C (readFile): new function, take a filename and a
1501         ParagraphList::iterator
1502         (readFile): adjust
1503         (readFile): adjust, make it private. don't use setStream, make
1504         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1505         always contain the filename.
1506
1507         * BufferView.C (insertLyXFile): simplify and make it work for
1508         gzipped files.
1509
1510 2003-08-30  John Levon  <levon@movementarian.org>
1511
1512         * Makefile.am: fix dist (from Kayvan)
1513
1514 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1515
1516         * most files: change to use const Buffer refs
1517
1518 2003-08-27  André Pönitz  <poenitz@gmx.net>
1519
1520         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1521         on top of ownerPar().
1522
1523 2003-08-27  John Levon  <levon@movementarian.org>
1524
1525         * funcrequest.C: properly initialise POD members
1526
1527 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1528
1529         * lyxtext.h (top_y): move top_y from here
1530         * text.C:
1531         * text2.C:
1532         * text3.C:
1533         * BufferView.[Ch]:
1534         * BufferView_pimpl.[Ch]: to here
1535         * frontends/screen.C:
1536         * insets/insettabular.C:
1537         * insets/insettext.C: adjust
1538         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1539
1540 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1541
1542         * BufferView.[Ch]:
1543         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1544
1545 2003-08-26  André Pönitz  <poenitz@gmx.net>
1546
1547         * paragraph_func.[Ch] (outerPar): new function
1548
1549         * paragraph.C:
1550         * paragraph_funcs.C:
1551         * paragraph_funcs.h:
1552         * paragraph_pimpl.C:
1553         * text2.C: remove Inset::par_owner
1554
1555 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1556
1557         * lyxrow_funcs.C:
1558         * lyxtext.h:
1559         * text.C:
1560         * text2.C: eliminates the needFullRow/display() stuff
1561         altogether, putting the logic in metrics/draw in the insets.
1562
1563 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1564
1565         * text2.C (redoParagraphInternal, redoParagraphs):
1566         * text.C (redoParagraph): add a call to updateRowPositions at the
1567         end of each 'metrics-like' call. Remove all others.
1568         (getRow): remove the 'y-computing' version.
1569         (getRowNearY): do not compute nor return the real y. Solve the
1570         'y < 0' problem and simplify.
1571
1572 2003-08-22  Angus Leeming  <leeming@lyx.org>
1573
1574         * *.[Ch]: clean-up of licence and author blurbs.
1575         Also move config.h out of a few .h files and into a few .C files.
1576
1577 2003-08-22  André Pönitz  <poenitz@gmx.net>
1578
1579         * lyxrow.[Ch]: add x_ and *fill_ members
1580
1581         * lyxtext.h:
1582         * text.C:
1583         * rowpainter.C:
1584         * text2.C: adjust/remove prepareToPrint() calls
1585
1586 2003-08-22  André Pönitz  <poenitz@gmx.net>
1587
1588         * lyxrow.[Ch]: add  end_ member
1589
1590         * lyxrow_funcs.C: use LyXRow::end_
1591
1592         * lyxtext.h (singleWidth): add LyXFont parameter
1593
1594         * rowpainter.C:
1595         * text2.C: adjust LyXText::singleWidth() calls
1596
1597         * text.C (redoParagraph): simplify row breaking logic
1598
1599
1600 2003-08-19  André Pönitz  <poenitz@gmx.net>
1601
1602         * funcrequest.C: initialize button_ member
1603
1604         * text3.C:
1605         * rowpainter.[Ch]: interface consolidation
1606
1607 2003-08-18  André Pönitz  <poenitz@gmx.net>
1608
1609         * BufferView.C:
1610         * BufferView_pimpl.C:
1611         * lyxfind.C:
1612         * paragraph_funcs.C:
1613         * rowpainter.C:
1614         * text3.C: remove LyXScreen::draw() and fitCursor calls
1615
1616         * BranchList.h: remove spurious semicolons
1617
1618         * MenuBackend.C: fix branchlist related crash
1619
1620 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1621
1622         * BranchList.[Ch]:
1623         * InsetList.[Ch]:
1624         * LColor.[Ch]:
1625         * LyXAction.C:
1626         * Makefile.am:
1627         * MenuBackend.[Ch]:
1628         * bufferparams.[Ch]:
1629         * factory.C:
1630         * lfuns.h:
1631         * lyxfunc.C:
1632         * text3.C: implements the 'branch inset'
1633         idea. This allows the output of various versions of a document
1634         from a single source version, selectively outputing or suppressing
1635         output of parts of the text.
1636         This implementation contains a 'branch list editor' in a separate
1637         tab of the document settings dialog. Branches are user definable
1638         and have a "display colour" to distinguish them on-screen.
1639
1640         ColorHandler was somewhat cleaned up.
1641         (1) make possible a dynamically growing LColor list by allowing
1642         the graphic context cache to grow along (vector);
1643         (2) eliminate an IMHO unnecessary step in colour allocation.
1644
1645 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1646
1647         * BufferView_pimpl.C: compile fix
1648
1649 2003-08-15  André Pönitz  <poenitz@gmx.net>
1650
1651         * rowpainter.C: remove extra metrics calls
1652
1653         * lyxtext.h: merge the two constructors into a single one,
1654           pass reference to owner's par list
1655
1656         * BufferView_pimpl.C:
1657         * text.C:
1658         * text2.C: adjust
1659
1660 2003-08-15  André Pönitz  <poenitz@gmx.net>
1661
1662         * lyxrow_funcs.[Ch]:
1663         * lyxtext.h:
1664         * paragraph.h:
1665         * paragraph_funcs.C:
1666         * rowpainter.C:
1667         * text.C:
1668         * text2.C:
1669         * text3.C:
1670         * text_funcs.C: split LyXText::rowlist_ into individual
1671         Paragraph::rows_ chunks
1672
1673         * BufferView.[Ch]:
1674         * BufferView_pimpl.[Ch]:
1675         * lyxfind.C:
1676         * lyxtext.h:
1677         * text3.C: remove toggleSelection()
1678
1679 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1680
1681         * bufferlist.C: beautify two alerts (shorter text of buttons)
1682         * buffer.C: Remove redundant ' ' from message
1683         * tabular.h:
1684         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1685         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1686         rename VALIGN_CENTER to VALIGN_MIDDLE
1687
1688 2003-08-11  André Pönitz  <poenitz@gmx.net>
1689
1690         * lyxtext.h (getPar):
1691         * text.C: new function
1692
1693 2003-08-11  André Pönitz  <poenitz@gmx.net>
1694
1695         * Makefile.am:
1696         * tracer.[Ch]: remove unneeded files
1697
1698         * InsetList.[Ch]: remove resizeInsetsLyXText()
1699
1700         * lyxtext.h:
1701         * text.C:
1702         * text2.C:
1703         * text3.C: merge insertParagraphs() and appendParagraph()
1704         remove breakAgain(), update()
1705
1706         * BufferView_pimpl.[Ch]:
1707         * bufferview_funcs.[Ch]:
1708         * lyxfunc.C:
1709         * paragraph.[Ch]:
1710         * rowpainter.C:
1711         * tabular.C: adjust after text & InsetList changes.
1712
1713 2003-08-08  André Pönitz  <poenitz@gmx.net>
1714
1715         * text.C (insertChar, backspace): replace rowlist fiddling
1716         with rebreak of full par
1717
1718         * lyxtext.h:
1719         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1720         checkParagraph, updateInset): removed
1721
1722 2003-08-07  André Pönitz  <poenitz@gmx.net>
1723
1724         * paragraph.C:
1725         * text3.C: merge some LFUN handlers, remove dead code
1726
1727 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1728
1729         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1730
1731 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1732
1733         * text2.C (DEPM): fix part of bug 1255 and 1256
1734
1735 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1736
1737         * BufferView_pimpl.C (workAreaDispatch): change to use
1738         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1739         that are no mouse related.
1740
1741 2003-08-05  André Pönitz  <poenitz@gmx.net>
1742
1743         * BufferView.[Ch]:
1744         * BufferView_pimpl.[Ch]:
1745         * bufferview_funcs.C:
1746         * text2.C:
1747         * text3.C: rip out "deep update"
1748
1749         * textcursor.[Ch] (last_sel_cursor): remove unused member
1750
1751 2003-08-04  André Pönitz  <poenitz@gmx.net>
1752
1753         * BufferView.[Ch]:
1754         * BufferView_pimpl.[Ch]:
1755         * ParagraphParameters.C:
1756         * bufferview_funcs.C:
1757         * lyx_cb.C:
1758         * lyxfind.C:
1759         * lyxfunc.C:
1760         * text.C:
1761         * text2.C:
1762         * text3.C: replace "complicated" BufferView::update(...) calls with
1763         simpler ones.
1764
1765         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1766
1767 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1768
1769         * Makefile.am (lyx_SOURCES): add paper.h
1770
1771 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1772
1773         * Makefile.am: move things around so that both lyx-qt and
1774         lyx-xforms can be built (according to --with-frontend). Then lyx
1775         is a symbolic link to lyx-[firstfrontend]
1776
1777 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1778
1779         * Always use std::endl with lyxerr
1780
1781 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1782
1783         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1784
1785 2003-08-01  André Pönitz  <poenitz@gmx.net>
1786
1787         * BufferView.[Ch]:
1788         * BufferView_pimpl.[Ch]:
1789         * lyxfunc.C:
1790         * text3.C: merge BufferView::repaint() and BufferView::update()
1791
1792 2003-08-01  José Matos  <jamatos@lyx.org>
1793
1794         * buffer.[Ch]: file_format is no longer a buffer data element.
1795
1796 2003-08-01  André Pönitz  <poenitz@gmx.net>
1797
1798         * BufferView.C:
1799         * lyxtext.h:
1800         * text.C:
1801         * text2.C: make redoParagraph more independent of current cursor
1802
1803         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1804         * text.C:
1805         * text2.C: remove unneeded members
1806
1807 2003-07-30  André Pönitz  <poenitz@gmx.net>
1808
1809         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1810
1811         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1812           create a single function...
1813
1814         * paragraph_funcs.C (moveItem): ... here.
1815
1816         * text.C:
1817           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1818
1819 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1820
1821         * LColor.[Ch]: Add comment and greyedout logical colors.
1822
1823 2003-07-30  André Pönitz  <poenitz@gmx.net>
1824
1825         * tabular.C: don't use Assert too heavily. This crashes where it
1826           shouldn't
1827
1828 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1829
1830         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1831         is disabled (bug 1232)
1832
1833 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1834
1835         * factory.C: limited 'arg' scope
1836
1837 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1838
1839         * factory.C: fixed Note submenu issues
1840
1841 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1842
1843         * factory.C: submenu for Note/Comment/Greyedout
1844
1845 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1846
1847         * lyx_main.C (LyX):
1848         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1849
1850 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1851
1852         * LaTeXFeatures.C:
1853         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1854         greyedout. Patch provided by Jürgen Spitzmüller.
1855
1856 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1857
1858         * kbmap.C (read): fix error message when reading bind files
1859
1860 2003-07-29  Angus Leeming  <leeming@lyx.org>
1861
1862         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1863         certainly does not do what it purports to do. I am doing it, and
1864         us, a favour by killing it.
1865
1866 2003-07-28  José Matos  <jamatos@lyx.org>
1867
1868         * buffer.C (readBody, do_writeFile):
1869         * paragraph.C(readParagraph): \end_document replaces \the_end.
1870
1871 2003-07-29  André Pönitz  <poenitz@gmx.net>
1872
1873         * BufferView.[Ch]:
1874         * BufferView_pimpl.[Ch]:
1875         * lyxfunc.C:
1876         * text2.C:
1877         * text3.C:
1878         * textcursor.[Ch]: remove toggleToggle & Co
1879
1880 2003-07-28  José Matos  <jamatos@fep.up.pt>
1881
1882         * buffer.C (readParagraph):
1883         * params_func (readParToken, readParagraph):
1884         * paragraph.C (write): \layout -> \begin_layout.
1885
1886 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1887
1888         * lyxlex_pimpl.C (setFile): clean up slightly.
1889
1890         * bufferparams.h: add compressed var
1891
1892         * buffer_funcs.C (readFile): adjust for LyXLex change
1893         (newFile): ditto + simplify
1894
1895         * buffer.C (writeFile): handle writing of compressed files
1896
1897         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1898         Check if the file is compressed and set a bufferparm if so.
1899
1900         * Makefile.am (lyx_LDADD): remove explicit -lz
1901
1902 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1903
1904         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1905         makeDocBookFile): put the real LyX version in the first line of
1906         the file
1907
1908         * version.h:
1909         * version.C.in: remove lyx_docversion
1910
1911         * tabular.C (write_attribute): add a template-based version to
1912         write enums properly
1913
1914 2003-07-28  André Pönitz  <poenitz@gmx.net>
1915
1916         * lyxtext.h:
1917         * text.C:
1918         * text2.C:
1919         * text3.C: use doubles again for x-coordinates. They are needed.
1920
1921 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1922
1923         * messages.C (getLocaleDir): use lyx_localedir()
1924
1925         * lyxlex_pimpl.C (setFile): compress stuff
1926
1927         * buffer.C (writeFile): add some compression stuff
1928         (do_writeFile): new func, dont call expliti close... will this
1929         breake anything?
1930
1931         * Makefile.am (lyx_LDADD): add -lz
1932
1933 2003-07-28  José Matos  <jamatos@fep.up.pt>
1934
1935         * buffer.C: increment file format.
1936         * paragraph_funcs (readParagraph, readParToken):
1937         * paragraph.C (readParagraph): add \end_layout.
1938
1939 2003-07-27  Angus Leeming  <leeming@lyx.org>
1940
1941         * Makefile.am: remove special casing for configure-time setting of
1942         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1943
1944         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1945         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1946
1947 2003-07-26  André Pönitz  <poenitz@gmx.net>
1948
1949         * paragraph_func.[Ch]:
1950         * paragraph.C (realizeFont): inline it whereever it is used
1951
1952         * rowpainter.C:
1953         * text.C:
1954         * text2.C:
1955         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1956
1957
1958 2003-07-26  André Pönitz  <poenitz@gmx.net>
1959
1960         *       lyxtext.h:
1961         * text.C:
1962         * text2.C: get rid of LyXText::need_break_row
1963
1964 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1965
1966         * toc.[Ch]: put namespace toc inside namespace lyx
1967
1968         * MenuBackend.C (expandToc2): adjust for lyx::toc
1969         (expandToc): ditto
1970
1971         * lyxfunc.C (dispatch): adjust for lyx::find
1972
1973         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1974         lyx::find instead. Reorganize a bit.
1975         (LyXReplace): rename to replace
1976         (LyXFind): rename to find
1977
1978         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1979         (dispatch): ditto
1980
1981 2003-07-26  André Pönitz  <poenitz@gmx.net>
1982
1983         * text.C (setHeightOfRow): restrict scope of temporary variable
1984
1985         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1986           code (never has been used?)
1987
1988 2003-07-27  Asger Alstrup  <alstrup@local>
1989
1990         * text.C (fill): Optimise algorithm to exploit that we can reuse
1991         the LyXFont for many characters.
1992         (setHeightOfRow): Same thing.
1993         (rowBreakPoint): Same thing.
1994
1995 2003-07-26  Asger Alstrup  <alstrup@local>
1996
1997         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1998
1999         * text.C (singleWidth): Spurious font copying in hot-spot
2000         singleWidth avoided. Reorder tests for arabic for efficiency.
2001
2002         * text.C (fill): handle empty paragraphs better.
2003
2004 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2005
2006         * ispell.C:
2007         * encoding.h: add includes
2008
2009         * lyxrc.C: remove reading of bind files
2010
2011         * lyx_main.C (init): setup bindings and menus only if we have a
2012         gui.
2013
2014         * kbmap.C (read): new method. Do the actual reading of bind
2015         files.
2016
2017         * converter.C (dvipdfm_options):
2018         * bufferparams.C:
2019         * lyxrc.C (read):
2020         (output): adapt PAPER_* enums.
2021
2022         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2023
2024         * bufferparams.h: remove paper-related enums from there
2025
2026         * paper.h: New file. A trivial header file to hold paper-related
2027         enums. It should later expand to contain many paper-related
2028         horrors access.
2029
2030         * lyxrc.C: declare extern displayTranslator
2031
2032 2003-07-27  José Matos  <jamatos@fep.up.pt>
2033
2034         * tabular.[Ch] (linuxdoc): add support for tables and figures
2035         (linuxdoc).
2036
2037 2003-07-27  José Matos  <jamatos@fep.up.pt>
2038
2039         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2040         consistency in both functions.
2041         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2042
2043 2003-07-26  Asger Alstrup  <alstrup@local>
2044
2045         * rowpainter.C (paintRows): Change algorithm to work directly on
2046         the insets rather than asking every character in the document
2047         whether its an inset.
2048
2049 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2050
2051         * buffer.C (openFileWrite): factorize some code
2052
2053 2003-07-26  Angus Leeming  <leeming@lyx.org>
2054
2055         * lyx_cb.C:
2056         * lyx_main.[Ch]: replace occurances of system_tempdir with
2057         os::getTmpDir().
2058
2059 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2060
2061         * rename Inset to InsetOld
2062
2063 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2064
2065         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2066         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2067         which I think is a bit clearer. EDIT is gone, since it was
2068         premature optimisation, and broken for mathed anyway.
2069         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2070         with cursor positioning in insets as well (math insets still do not
2071         work, but that's a different story anyway.) It mysteriously
2072         crashes sometimes with undo in the first paragraph, but I'm fairly
2073         confident that this is a compiler bug.
2074
2075 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * paragraph.C (Paragraph): adjust for new clone return type
2078         (operator==): ditto
2079         (copyIntoMinibuffer): ditto
2080
2081 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2082
2083         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2084         by not having a special case, and always doing a full rebreak of
2085         the document after undo.
2086
2087 2003-07-23  Angus Leeming  <leeming@lyx.org>
2088
2089         * factory.C (createInset): InsetExternal::setParams now takes a
2090         Buffer const * arg.
2091
2092 2003-07-23  Angus Leeming  <leeming@lyx.org>
2093
2094         * factory.C (createInset): changed interface to the external and
2095         graphics mailers' string2params functions.
2096
2097 2003-07-23  Angus Leeming  <leeming@lyx.org>
2098
2099         * factory.C (createInset): pass a
2100         Buffer const * parameter to InsetExternalMailer's string2params.
2101
2102 2003-07-22  John Levon  <levon@movementarian.org>
2103
2104         * Thesaurus.h: include the right aiksaurus header
2105
2106 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2107
2108         * MenuBackend.C (expand): check menu shortcuts unconditionally
2109
2110 2003-07-21  Angus Leeming  <leeming@lyx.org>
2111
2112         * factory.C (createInset): pass a
2113         buffer_path parameter to InsetGraphicsMailer's string2params.
2114
2115 2003-07-21  Angus Leeming  <leeming@lyx.org>
2116
2117         * BufferView_pimpl.C (buffer):
2118         * buffer.C (d-tor):
2119         * lyx_main.C (LyX):
2120         * lyxfunc.C (dispatch):
2121         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2122         rather than the grfx shortcut.
2123
2124 2003-07-21  André Pönitz  <poenitz@gmx.net>
2125
2126         * rowpainter.C: remove unused variables
2127
2128         * tabular_funcs.C:
2129         * tabular_funcs.h: move to tabular.C
2130         * Makefile.am: adjust
2131
2132         * tabular.[Ch]: basic optical cleaning
2133
2134         * author.h: pass references, not values
2135
2136 2003-07-18  André Pönitz  <poenitz@gmx.net>
2137
2138         * lyxtext.h:
2139         * metricsinfo.C:
2140         * metricsinfo.h:
2141         * rowpainter.C:
2142         * text.C:
2143         * text2.C:
2144         * text3.C: two-phase drawing for InsetText and InsetTabular
2145         some float -> int changes.
2146
2147 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2148
2149         * lyx_main.C: fix the fix
2150
2151 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2152
2153         * lyx_main.C: fix a crash in batch mode if no files specified
2154         * converter.C: ws
2155
2156 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2157
2158         * format.[Ch] (papersize): moved to BufferParams
2159         * converter.[Ch] (dvips_options): moved to BufferParams
2160         (dvipdfm_options): moved to anon namespace
2161         * bufferparams.[Ch]: added above functions.
2162
2163 2003-07-17  André Pönitz  <poenitz@gmx.net>
2164
2165         * lyxtext.h:
2166         * rowpainter.C:
2167         * text2.C: don't call inset->update() anymore
2168
2169         * metricsinfo.[Ch]: add convenience constructor
2170
2171 2003-07-16  André Pönitz  <poenitz@gmx.net>
2172
2173         * lyxcursor.[Ch]:
2174         * lyxfunc.[Ch]:
2175         * text.C:
2176         * text2.C: replace the LyXCursor::irow_ member with
2177          on-demand computation of the value
2178
2179 2003-07-16  John Levon  <levon@movementarian.org>
2180
2181         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2182
2183 2003-07-15  André Pönitz  <poenitz@gmx.net>
2184
2185         * text.C:
2186         * text2.C: remove no more needed refresh_row
2187
2188 2003-07-15  André Pönitz  <poenitz@gmx.net>
2189
2190         * lyxtext.h:
2191         * rowpainter.C:
2192         * text2.C:
2193         * text3.C: refresh_status tristate -> need_update bool
2194
2195 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2196
2197         * lyxtext.h (init): remove reinit argument (act as if always true)
2198         * text2.C: adjust to that
2199
2200 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2201
2202         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2203         * text3.C: use it to delete selections in some cases
2204         (bugs 441, 673, 702, 954).
2205
2206 2003-07-14  André Pönitz  <poenitz@gmx.net>
2207
2208         * rowpainter.[Ch]: reduce interface
2209
2210 2003-07-14  André Pönitz  <poenitz@gmx.net>
2211
2212         * BufferView_pimpl.C:
2213         * text2.C: adjust after removing unused BufferView * argument
2214
2215 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2216
2217         * text2.C (init): fix a crash fired on resize
2218
2219 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2220
2221         * buffer.[Ch]: added new closing signal
2222         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2223         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2224         BufferView::Pimpl via the closing the signal
2225
2226 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2227
2228         * buffer.[Ch]: take out all bv-related from buffer
2229         * BufferView.C:
2230         * BufferView_pimpl.[Ch]: connect to new signals
2231         * CutAndPaste.C: removed useless asserts
2232         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2233         * lyxvc.[Ch]:
2234         * vc-backend.[Ch]:
2235         * lyxfunc.C: moved view-related funciontality from vc here
2236         * paragraph.C: removed outdated comments
2237         * text.C: ws
2238
2239 2003-07-10  André Pönitz  <poenitz@gmx.net>
2240
2241         * BufferView_pimpl.C:
2242         * tabular.h:
2243         * tabular_funcs.C:
2244         * text.C:
2245         * text2.C: remove InsetText::InnerCache, clean up consequences
2246
2247 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2248
2249         * ispell.C: fix two typos in error messages
2250
2251 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2252
2253         * Extend Note inset to other forms of annotation like Comment
2254         and Greyedout. Right button click gives dialog.
2255
2256         Files modified or added (+):
2257
2258         * insetnote.[Ch]
2259         * FormNote.[Ch]      +
2260         * ControlNote.[Ch]   +
2261         * form_note.fd       +
2262         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2263         frontends/controllers
2264         * xforms/Dialogs.C
2265         * factory.C
2266
2267 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2268
2269         * aspell.C: add missing namespace lyx::support
2270
2271 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * BufferView.[Ch] (newFile): Add
2274         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2275         * LaTeX.[Ch] (message): added this signal and use it
2276         * buffer.[Ch] (busy, message): added these signals and use them
2277         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2278         * converter.C:
2279         * exporter.C:
2280         * format.C:
2281         * importer.C: use buffer signals instead of direct bv calling
2282         * lyx_cb.[Ch] (ShowMessage): removed
2283         * lyx_main.C:
2284         * lyxfunc.C:
2285         * paragraph_funcs.C:
2286         * text2.C: use buffer signals
2287
2288 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2289
2290         * introduce namespace lyx::graphics
2291
2292 2003-07-02  André Pönitz  <poenitz@gmx.net>
2293
2294         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2295
2296 2003-07-01  André Pönitz  <poenitz@gmx.net>
2297
2298         * text.C:
2299         * text2.C:
2300         * text3.C:
2301         * text_funcs.[Ch]:
2302         * textcursor.h:
2303         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2304           text*.C to text_func.C
2305
2306 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * introduce namespace lyx::support
2309
2310 2003-06-30  André Pönitz  <poenitz@gmx.net>
2311
2312         * Chktex.C:
2313         * funcrequest.C:
2314         * lyxtext.h:
2315         * text.C: re-enable --with-included-string
2316
2317 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2318
2319         * textcursor.C: add <config.h>
2320
2321         * text.C (getWord): remove const from word_location arg
2322
2323         * lyxvc.C (getLogFile): fix const type order
2324
2325         * lyxtext.h: remove const from word_location arg, add arg name
2326
2327         * lyxlayout.h: currect type on labeltype.
2328
2329         * importer.C: correct \file
2330
2331         * converter.C (intToFormat): use std:: on ret val, ws changes
2332
2333         * bufferlist.h: correct \file
2334
2335         * buffer.C (makeLinuxDocFile): fix const type order
2336         (makeDocBookFile): ditto
2337         (fillWithBibKeys): use std:: on stdlib args.
2338
2339         * CutAndPaste.C: fix authors.
2340         (availableSelections): use std:: on return vector
2341
2342 2003-06-27  André Pönitz  <poenitz@gmx.net>
2343
2344         * BufferView_pimpl.C:
2345         * bufferview_funcs.C:
2346         * lyxcursor.C:
2347         * lyxcursor.h:
2348         * lyxfunc.C:
2349         * lyxtext.h:
2350         * rowpainter.C:
2351         * text.C:
2352         * text2.C:
2353         * text3.C: remove LyXCursor::row_ member
2354
2355         * lyxtext.h:
2356         * text.C: rename fullRebreak() to partialRebreak() and implement
2357           a fullRebreak() that really bereks fully
2358
2359         * textcursor.h: new struct for cursor-related data
2360
2361 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2362
2363         * lyx_main.C (LyX): get full path of document loaded on the
2364         command line
2365
2366 2003-06-26  André Pönitz  <poenitz@gmx.net>
2367
2368         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2369           remove unused/broken operator>,<,>=.
2370
2371         *       text.C: remove only use of broken operator<= in an Assert().
2372
2373 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2374
2375         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2376         moved errorlist_.clear to showErrorList
2377
2378 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2379
2380         * converter.C (scanLog, runLaTeX):
2381         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2382         move the bv->showErrorList call to the callers
2383         * lyxfunc.C: i.e. here...
2384         * text2.C: and here
2385         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2386         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2387         namespace, the second to...
2388         * buffer_funcs (BufferFormat, parseErrors): added
2389         * errorlist.C (ErrorList(TeXErrors const &)): removed
2390
2391 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2392
2393         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2394
2395 2003-06-24  "Garst R. Reese" <reese@isn.net>
2396
2397         * debug.C: fix typo
2398
2399 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2400
2401         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2402
2403         * version.C.in: change docversion to 1.4
2404
2405 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2406
2407         * buffer.C: fix a bug just introduced
2408
2409 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2410
2411         * buffer.[Ch]: added the parseError signal and use it, removed
2412         sgmlError
2413         * BufferView.[Ch] (addError): moved to ...
2414         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2415         to the Buffer::parseError signal to catch (guess what) parse errors
2416         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2417
2418 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2419
2420         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2421         ability to create a buffer and to return an existing one from
2422         the list. Moved these functions to...
2423         * buffer_funcs.[Ch]: added
2424         * BufferView.[Ch] (loadLyXFile): added
2425         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2426         job removed from bufferlist::loadLyXFile.
2427         * buffer.C (setReadOnly): make it work without view
2428         (i.e added an if (users))
2429
2430 2003-06-19  Angus Leeming  <leeming@lyx.org>
2431
2432         * lfuns.h:
2433         * LyXAction.C (init):
2434         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2435         with LFUN_DIALOG_SHOW <name> <data>.
2436
2437 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2438
2439         * CutAndPaste.C (availableSelections): small compilation fix for
2440         ancient (gcc 2.9x) compilers
2441
2442 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * text3.C (cursorNext): add tmp var
2445
2446         * text2.C (updateCounters): for function calling out of for clause
2447         (replaceSelectionWithString): ditto
2448         (insertStringAsParagraphs): ditto
2449         (getColumnNearX): add tmp var
2450         (setCursorFromCoordinates): add tmp var
2451         (cursorDownParagraph): add tmp var
2452         (deleteEmptyParagraphMechanism): add tmp var
2453
2454         * text.C (insertChar): add tmp var
2455
2456         * rowpainter.C (paintDepthBar): add tmp var
2457
2458         * CutAndPaste.C (availableSelections): potentially check all
2459         paragraphs in a cut to fill the shown strings.
2460
2461 2003-06-18  André Pönitz  <poenitz@gmx.net>
2462
2463         * kbmap.[Ch]: use vector<> instead of list<>
2464
2465 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2466
2467         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2468         pasteSelection with index
2469
2470         * text2.C (pasteSelection): modify, call pasteSelection with index
2471
2472         * paragraph.C (asString): reimplement version with no interval to
2473         call the one with interval.
2474
2475         * lyxtext.h: add index arg to pasteSelection
2476
2477         * MenuBackend.C (MenuItem): handle PasteRecent
2478         (Menu::read::Menutags): add md_pasterecent
2479         (read): handle it
2480         (expandPasteRecent): new function
2481         (expand): use it
2482
2483         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2484
2485         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2486         the limited stack
2487         (availableSelections): new function
2488
2489 2003-06-17  Angus Leeming  <leeming@lyx.org>
2490
2491         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2492
2493 2003-06-17  Angus Leeming  <leeming@lyx.org>
2494
2495         * lfuns.h:
2496         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2497
2498         * lyxfunc.C (dispatch): invoke it.
2499
2500 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2501
2502         * iterators.C (operator++, ParPosition): reintroduce some
2503         const_cast for the benefit of older compilers.
2504
2505 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2506
2507         * text3.C (dispatch): do not modify clipboard when doing
2508         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2509         LFUN_DELETE_SKIP on a selection selection
2510
2511 2003-06-16  André Pönitz  <poenitz@gmx.net>
2512
2513         * BufferView.C:
2514         * buffer.C:
2515         * buffer.h:
2516         * paragraph.C:
2517         * tabular.[Ch]: IU of clone() and getLabelList();
2518
2519 2003-06-13  André Pönitz  <poenitz@gmx.net>
2520
2521         * tabular.h: compactification
2522
2523 2003-06-12  André Pönitz  <poenitz@gmx.net>
2524
2525         * tabular.C:
2526         * tabular.h:
2527         * tabular_funcs.h: some renaming plus whitespace
2528
2529 2003-06-12  André Pönitz  <poenitz@gmx.net>
2530
2531         * BufferView.C:
2532         * BufferView_pimpl.C:
2533         * CutAndPaste.C:
2534         * buffer.C:
2535         * iterators.[Ch]:
2536         * lyxfunc.C:
2537         * text.C:
2538         * toc.C: Return a Paragraph & for ParIterator::operator*()
2539
2540 2003-06-11  John Levon  <levon@movementarian.org>
2541
2542         * lyx_main.C:
2543         * ToolbarBackend.h:
2544         * ToolbarBackend.C: add "Toolbars" section and
2545         put the flags there
2546
2547 2003-06-10  Angus Leeming  <leeming@lyx.org>
2548
2549         * lfuns.h:
2550         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2551
2552         * lyxfunc.C (dispatch): invoke it.
2553
2554 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * main.C: protect <ios> with HAVE_IOS
2557         (main): protect sync_with_stdio with HAVE_IOS
2558
2559 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2560
2561         * text2.C (cutSelection): adjust
2562         (pasteSelection): adjust
2563
2564         * messages.C: handle get of empty string
2565
2566         * main.C (main): use sync_with_stdio(false)
2567
2568         * lyxfunc.C (dispatch): adjust
2569
2570         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2571         (WriteAs): remove unneeded BufferView arg.
2572
2573         * bufferparams.h: use correct types on papersize, papersize2 and
2574         paperpackage.
2575
2576         * bufferparams.C (readToken): adjust for type
2577         (writeLaTeX): add missing cases to switch.
2578
2579         * bufferlist.C (quitWriteBuffer): adjust
2580         (close): adjust
2581
2582         * buffer.C (asciiParagraph): remove some commented code.
2583
2584         * CutAndPaste.C: remove current_view extern variable.
2585         (cutSelection): add BufferParams arg.
2586         (eraseSelection): add BufferParams arg.
2587         (pasteSelection): add Buffer const & arg
2588
2589 2003-06-07  John Levon  <levon@movementarian.org>
2590
2591         * buffer.C:
2592         * paragraph_funcs.C:
2593         * paragraph_pimpl.C:
2594         * text.C:
2595         * text2.C:
2596         * paragraph.h:
2597         * paragraph.C: allow InsetERT to freely space lines,
2598         and some consolidation of code
2599
2600 2003-06-06  José Matos  <jamatos@fep.up.pt>
2601
2602         * buffer.C (makeDocBookFile): fix bug #821
2603
2604 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2607
2608 2003-06-04  Angus Leeming  <leeming@lyx.org>
2609
2610         * buffer.C: bump format to 224.
2611
2612 2003-06-05  André Pönitz  <poenitz@gmx.net>
2613
2614         * text2.C (redoParagraphs): remove two const_cast<>
2615
2616 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2617
2618         * ParagraphList.h: remove last remnants of NO_STD_LIST
2619
2620 2003-06-03  Angus Leeming  <leeming@lyx.org>
2621
2622         * factory.C (createInset): small change to the way InsetExternal's params
2623         are set.
2624
2625 2003-06-04  André Pönitz  <poenitz@gmx.net>
2626
2627         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2628
2629         * paragraph_pimpl.h:
2630         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2631
2632         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2633
2634         * undo_funcs.C: make some simple cases of undo work again
2635
2636 2003-06-03  John Levon  <levon@movementarian.org>
2637
2638         * ispell.C: HPUX doesn't have sys/select.h
2639         (from Albert Chin)
2640
2641 2003-06-03  John Levon  <levon@movementarian.org>
2642
2643         * CutAndPaste.C: update tabular and include inset
2644         buffer references
2645
2646         * buffer.h:
2647         * paragraph.h:
2648         * paragraph.C: remove owningBuffer(), don't pass Buffer
2649         to clone()
2650
2651         * factory.C: insetGraphicsParams changed
2652
2653 2003-06-02  John Levon  <levon@movementarian.org>
2654
2655         * LyXAction.C:
2656         * factory.C:
2657         * lfuns.h:
2658         * lyxfunc.C:
2659         * text3.C: remove insetparent
2660
2661 2003-06-02  John Levon  <levon@movementarian.org>
2662
2663         * buffer.h:
2664         * buffer.C: fix inset_iterator.end(), move out of line
2665         (bug 1149)
2666
2667 2003-06-01  John Levon  <levon@movementarian.org>
2668
2669         * text3.C: use a proper cut/paste when doing inset
2670         insert (from Jürgen Spitzmüller)
2671
2672 2003-06-01  John Levon  <levon@movementarian.org>
2673
2674         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2675
2676 2003-05-30  André Pönitz  <poenitz@gmx.net>
2677
2678         * rowpainter.C: unify second drawing phase
2679
2680 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2681
2682         * trans_mgr.C: remove one case of current_view
2683
2684         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2685
2686         * paragraph_funcs.h: remove paragraph.h include
2687
2688         * paragraph.h: delete NO_STD_LIST stuff
2689
2690         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2691
2692         * buffer.h: remove paragraph.h include
2693
2694         * ParagraphList.C: delete file
2695
2696         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2697
2698         * toc.C (getTocList): adjust
2699
2700         * paragraph_pimpl.C (validate): adjust
2701
2702         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2703
2704         * paragraph.C (Paragraph): adjust
2705         (getPositionOfInset): use const_iterator, adjust
2706         (bibitem): use const_iterator, adjust
2707         (setInsetOwner): adjust
2708
2709         * iterators.C (operator++): adjust
2710
2711         * InsetList.[Ch]: Replace selfmade iterator with standard
2712         vector::iterator also introduce const_iterator. Remove getPos,
2713         getInset and setInset from InsetTable. Adjust accordingly.
2714
2715         * BufferView.C (lockInset): adjust
2716         (ChangeInsets): adjust
2717
2718         * tabular.[Ch]: delete commented same_id functions
2719
2720 2003-05-28  John Levon  <levon@movementarian.org>
2721
2722         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2723
2724 2003-05-28  André Pönitz  <poenitz@gmx.net>
2725
2726         * metricsinfo.[Ch]: remove 'fullredraw' member
2727
2728 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2729
2730         * lyxtextclass.C (operator): remove caching.
2731
2732 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2733
2734         * text3.C: adjust
2735
2736         * text2.C (cursorBottom): adjust
2737         (setCounter): use ParagraphList::find, adjust
2738
2739         * text.C (workWidth): use ParagraphList::find, adjust
2740
2741         * lyxcursor.C (LyXCursor): adjust
2742
2743         * buffer.C (inset_iterator): adjust
2744
2745         * ParagraphList.h: make iterator(value_type) private, make
2746         ParagraphList a friend of iterator.
2747
2748         * ParagraphList.C (find): new function
2749
2750         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2751
2752 2003-05-27  André Pönitz  <poenitz@gmx.net>
2753
2754         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2755
2756 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2757
2758         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2759
2760 2003-05-26  John Levon  <levon@movementarian.org>
2761
2762         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2763
2764 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * remove same_id from function signatures, adjust.
2767
2768 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2771
2772         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2773
2774         * paragraph.C (Paragraph): get rid of same_ids parameter
2775
2776         * ParagraphList.C (insert): adjust
2777         (push_back): adjust
2778
2779 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2780
2781         * paragraph_funcs.C (breakParagraph): adjust
2782         (breakParagraphConservative): adjust
2783
2784         * buffer.C (readParagraph): adjust
2785
2786         * ParagraphList.C (insert): take a reference instead of a pointer
2787         (insert): adjust
2788
2789         * paragraph.[Ch] (id): new function
2790
2791         * bufferlist.C (newFile): adjust
2792
2793         * ParagraphList.C (ParagraphList): adjust
2794         (assign): adjust
2795         (push_back): take a reference instead of a pointer.
2796
2797         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2798
2799         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2800         instead.
2801
2802         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2803         set else use old code.
2804
2805         * ParagraphList.C: remove all NO_NEXT code and only compile this
2806         code of NO_STD_LIST is set.
2807
2808 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * BufferView_pimpl.C:
2811         * TextCache.C:
2812         * TextCache.h:
2813         * bufferlist.C:
2814         * errorlist.h:
2815         * format.C:
2816         * format.h:
2817         * graph.C:
2818         * lyxfunc.C:
2819         * lyxrc.C:
2820         * graphics/GraphicsConverter.C:
2821         * graphics/PreviewLoader.C: header adjustment
2822
2823 2003-05-23  Angus Leeming  <leeming@lyx.org>
2824
2825         * LaTeXFeatures.[Ch] (useBabel): new method.
2826         * bufferparams.C (writeLaTeX): use it.
2827
2828 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * ParagraphList.h (set): remove unused function.
2831
2832 2003-05-23  André Pönitz  <poenitz@gmx.net>
2833
2834         * BufferView.C:
2835         * BufferView_pimpl.C:
2836         * buffer.C:
2837         * buffer.h:
2838         * lyxfunc.C:
2839         * undo_funcs.C: setUndo reworked
2840
2841         * iterators.[Ch]: add access to topmost ParagraphList
2842
2843         * lyxtext.[Ch] (workWidth): add a const
2844
2845 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2846
2847         * texrow.[Ch] (increasePos): remove function
2848         * exporter.C (export): removed unused var and outdated comment
2849
2850 2003-05-23  Angus Leeming  <leeming@lyx.org>
2851
2852         * latexrunparams.h: rename fragile as moving_arg.
2853         * paragraph.C (simpleTeXOnePar): ditto.
2854         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2855
2856 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2857
2858         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2859         (createUndo): ditto
2860         (textUndoOrRedo): comment out a currently unused var.
2861
2862         * paragraph.h (NO_NEXT): enable NO_NEXT
2863
2864         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2865
2866         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2867
2868         * exporter.C (Export): adjust for removeAutoInsets removal.
2869
2870         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2871
2872         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2873
2874         * BufferView.[Ch] (removeAutoInsets): delete function
2875
2876 2003-05-22  Angus Leeming  <leeming@lyx.org>
2877
2878         * latexrunparams.h: add a free_spacing variable.
2879
2880         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2881         to pass moving_arg, as the data is stored in runparams.fragile.
2882
2883         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2884         to Inset::latexOptional or to simpleTeXOnePar.
2885
2886         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2887         free_spacing arg to Inset::latexOptional.
2888
2889         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2890         free_spacing arg.
2891
2892 2003-05-22  Angus Leeming  <leeming@lyx.org>
2893
2894         * latexrunparams.h: add fragile and use_babel variables.
2895
2896         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2897         * buffer.C (makeLaTeXFile): store this returned value in
2898         runparams.use_babel, thus passing it to the inset::latex methods.
2899
2900         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2901         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2902
2903         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2904         longer has a fragile arg, as it is stored in runparams.fragile.
2905
2906         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2907         moving_arg parameter as the data is stored in runparams.fragile.
2908
2909         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2910         a fragile parameter as the data is stored in runparams.fragile.
2911
2912 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2915
2916 2003-05-22  Angus Leeming  <leeming@lyx.org>
2917
2918         * latexrunparams.h: add a 'bool nice' which defaults to false.
2919
2920         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2921         now encapsulated within runparams.
2922
2923         * bufferlist.C (updateIncludedTeXfiles):
2924         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2925
2926 2003-05-22  Angus Leeming  <leeming@lyx.org>
2927
2928         * latexrunparams.h: new file containing struct LatexRunParams.
2929         * Makefile.am: add new file.
2930
2931         * LaTeX.[Ch] (c-tor, run):
2932         * buffer.[Ch] (makeLaTeXFile):
2933         * bufferlist.[Ch] (updateIncludedTeXfiles):
2934         * converter.C (convert, scanLog):
2935         * converter.[Ch] (runLaTeX):
2936         * exporter.C (Export):
2937         * paragraph.[Ch] (simpleTeXOnePar):
2938         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2939         * paragraph_funcs.[Ch] (latexParagraphs):
2940         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2941         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2942         pass around a LatexRunParams parameter.
2943
2944 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * paragraph.[Ch]: remove unused constructor
2947
2948         * ParagraphList.C (erase): new function, taking two iterators
2949
2950 2003-05-22  André Pönitz  <poenitz@gmx.net>
2951
2952         * undo_funcs.C: remove duplicated code
2953
2954         * iterator.[Ch]: operator=
2955
2956 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * tabular.C (SetMultiColumn): ws changes
2959
2960         * rowpainter.C (paintFirst): get rid of a ->previous
2961
2962         * lyx_cb.C (getPossibleLabel): parlist simplification
2963
2964         * BufferView.C (ChangeInsets): simplify slightly.
2965
2966 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2967
2968         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2969         * lfuns.h: new LFUN_SPACE
2970         * lyxfunc.C: protected space has a new lfun
2971         * paragraph_funcs.C: read new space insets
2972         * text3.C:
2973         * factory.C: handle new space insets
2974
2975 2003-05-22  André Pönitz  <poenitz@gmx.net>
2976
2977         * BufferView.C:
2978         * BufferView_pimpl.C:
2979         * buffer.[Ch]:
2980         * lyxfunc.C:
2981         * undo_funcs.C: return a ParIterator from getParFromID.
2982
2983         * iterators.[Ch]: add two const's
2984
2985 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2986
2987         * toc.C (getTocList): adjust
2988
2989         * iterators.[Ch]: rework for parlist
2990
2991         * buffer.C (par_iterator_begin): adjust
2992         (par_iterator_end): adjust
2993
2994         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2995
2996         * BufferView.C (removeAutoInsets): adjust
2997         (ChangeInsets): adjust
2998
2999 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3000
3001         * text.C (top_y): fix bug 1110
3002
3003 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * errorlist.[Ch]: added
3006         * buffer.C:
3007         * BufferView.[Ch]:
3008         * BufferView_pimpl.C:
3009         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3010         instead
3011
3012 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3013
3014         * Makefile.am: ensure that lyx is relinked upon changes to the
3015         various "convenience" libs.
3016
3017 2003-05-20  Angus Leeming  <leeming@lyx.org>
3018
3019         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3020         files are compiled in alphabetical order again.
3021
3022         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3023
3024 2003-05-19  Angus Leeming  <leeming@lyx.org>
3025
3026         * gettext.[Ch]: remove "char const * _(char const *)".
3027
3028 2003-05-19  André Pönitz  <poenitz@gmx.net>
3029
3030         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3031
3032         * Makefile.am:
3033         * BufferView.C:
3034         * DepTable.h:
3035         * LaTeXFeatures.C:
3036         * buffer.C:
3037         * lyxfont.C:
3038         * lyxlex.h:
3039         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3040
3041 2003-05-19  André Pönitz  <poenitz@gmx.net>
3042
3043         * buffer.C:
3044         * lyxlayout.[Ch]:
3045         * lyxtextclass.[Ch]:
3046         * paragraph.C:
3047         * paragraph_funcs.[Ch]:
3048         * text2.C:
3049         * text3.C: more insetenv work
3050
3051 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3052
3053         * ParagraphParameters.C (params2string): small bug fixed
3054
3055 2003-05-16  André Pönitz  <poenitz@gmx.net>
3056
3057         * debug.C:
3058         * bufferview_funcs.C: patch from Kornel Benko to prevent
3059           crash when _(...) is called twice in a statement
3060
3061 2003-05-16  André Pönitz  <poenitz@gmx.net>
3062
3063         * BufferView.C:
3064         * lyxfunc.C:
3065         * text.C:
3066         * text2.C:
3067         * text3.C:
3068         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3069
3070 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3071
3072         * lyx_main.C (init): remove spurious static_cast
3073
3074 2003-05-14  André Pönitz  <poenitz@gmx.net>
3075
3076         * BufferView.C: fix format string
3077
3078 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3079
3080         * BufferView.[Ch] (insertErrors): removed
3081         * BufferView.[Ch] (showErrorList): added
3082         * buffer.C (runChkTeX):
3083         * converter.C (scanLog): call showErrorList instead of inserterrors
3084
3085 2003-05-13  André Pönitz  <poenitz@gmx.net>
3086
3087         * BufferView_pimpl.C:
3088         * buffer.C:
3089         * bufferview_func.C:
3090         * MenuBackend.C:
3091         * lyxfunc.C:
3092         * lyxrc.C:
3093         * tex-accent.C:
3094         * text3.C:
3095         * toc.C:
3096         * tabular_funcs.h: tostr() from its own header
3097
3098         * ParagraphParameters.C:
3099         * ToolbarBackend.C:
3100         * bufferparams.C:
3101         * format.C:
3102         * lyxlex_pimpl.C:
3103         * text3.C: STRCONV()
3104
3105 2003-05-12  André Pönitz  <poenitz@gmx.net>
3106
3107         * BufferView.C:
3108         * BufferView_pimpl.C:
3109         * CutAndPaste.C:
3110         * LaTeX.C:
3111         * LaTeXFeatures.C:
3112         * ParagraphParameters.C:
3113         * buffer.C:
3114         * bufferlist.C:
3115         * bufferparams.C:
3116         * bufferview_funcs.C:
3117         * converter.C:
3118         * counters.C:
3119         * debug.C:
3120         * exporter.C:
3121         * format.C:
3122         * importer.C:
3123         * lyx_cb.C:
3124         * lyx_main.C:
3125         * lyxfont.C:
3126         * lyxfunc.C:
3127         * lyxvc.C:
3128         * paragraph.C:
3129         * paragraph_funcs.C:
3130         * tabular.C:
3131         * tabular_funcs.C:
3132         * text2.C:
3133         * text3.C:  boost::format -> bformat  all over the place
3134
3135
3136 2003-05-09  André Pönitz  <poenitz@gmx.net>
3137
3138         * LColor.[Ch]: Pimpl the #include <map> away
3139
3140 2003-05-09  John Levon  <levon@movementarian.org>
3141
3142         * bufferlist.C: never remove emergency saves
3143
3144 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * Makefile.am: better lib building
3147
3148 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3151         instead.
3152         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3153         (simpleTeXSpecialChars): adjust
3154         (simpleTeXSpecialChars): adjust
3155         * paragraph.C (simpleTeXOnePar): adjust
3156         * buffer.C (makeLaTeXFile): adjust
3157
3158         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3159
3160         * text2.C (changeDepth): parlist cleanup
3161         (getColumnNearX): ditto
3162
3163         * rowpainter.C (getLabelFont): parlist cleanup
3164
3165         * bufferlist.C (newFile): parlist cleanup
3166
3167         * CutAndPaste.C (eraseSelection): parlist cleanup
3168
3169         * BufferView_pimpl.C (trackChanges): parlist cleanup
3170         (dispatch): ditto
3171
3172         * BufferView.C (lockInset): parlist cleanup.
3173         (ChangeInsets): ditto
3174
3175 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * CutAndPaste.h: Update file header.
3178
3179         * CutAndPaste.C: Update file header.
3180         Store the parts cut out of the Document in a limited_stack.
3181         (copySelection): adjust
3182         (pasteSelection): new function, takes the index in the limited stack.
3183         (nrOfParagraphs): adjust
3184         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3185         simplify error inset insertion.
3186         (checkPastePossible): adjust
3187
3188 2003-05-06  John Levon  <levon@movementarian.org>
3189
3190         * text2.C: don't cast wrap inset to float
3191
3192 2003-05-05  André Pönitz  <poenitz@gmx.net>
3193
3194         * iterator.C:
3195         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3196
3197         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3198           few naked Paragraph *.
3199
3200 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3201
3202         * bufferparams.C: Output warning if a document with missing
3203         TeX document class is loaded
3204         * exporter.C: Disable TeX exports if the document class is missing
3205         * lyxtextclass.C:
3206         * lyxtextclass.h:
3207         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3208         isTeXClassAvailable()
3209
3210 2003-05-03  John Levon  <levon@movementarian.org>
3211
3212         * BufferView.h:
3213         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3214         explicit cursor show/hide
3215
3216         * BufferView_pimpl.h:
3217         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3218         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3219
3220         * lyxfunc.C: hide cursor before dispatching.
3221
3222         * lyx_cb.C:
3223         * lyxfind.C:
3224         * text.C:
3225         * text3.C: remove explicit cursor hides
3226
3227 2003-05-02  André Pönitz  <poenitz@gmx.net>
3228
3229         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3230
3231         * undo_funcs.C:
3232         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3233           linked lists
3234
3235         * text2.C: tiny whitespace
3236
3237 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3238
3239         * undo_funcs.C: almost only ws changes.
3240
3241         * ParagraphList.C (splice): just return if pl is empty.
3242
3243 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * ParagraphList.C (splice): new function.
3246
3247         * CutAndPaste.C (pasteSelection): use it
3248
3249 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3250
3251         * CutAndPaste.C (pasteSelection): remove the last next and
3252         previous from this file.
3253
3254 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * CutAndPaste.C (pasteSelection): more clean up, user proper
3257         ParagraphList functions for pasteing.
3258
3259         * ParagraphList.C (insert): new function, three arg insert
3260
3261 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * ParagraphList.C (insert): new function, three arg insert
3264
3265         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3266         not on paragraphs.
3267
3268 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3271
3272 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3273
3274         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3275
3276 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3277
3278         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3279         (copySelection): clean up a bit.
3280         (pasteSelection): use make_pair
3281
3282         * ParagraphList.C (ParagraphList): implement copy constructor
3283         (operator=): implement, base on copy constructor.
3284         (assign): new func
3285
3286         * paragraph.C (erase): return a bool
3287
3288         * paragraph_pimpl.C (erasePos): remove function, move contents...
3289         (erase): ... here. Return a bool.
3290         (erase): call erase instead of erasePos.
3291
3292 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * ParagraphList.h: define PitPosPair
3295         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3296         ParagraphList, fix a bug on pasting multiple pars
3297         * text2.C: change interface to C&P
3298
3299 2003-04-30  André Pönitz  <poenitz@gmx.net>
3300
3301         * undo_func.C: revert part of yesterday's patch 2
3302
3303 2003-04-30  John Levon  <levon@movementarian.org>
3304
3305         * LColor.C: s/tabular/table/
3306
3307 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3308
3309         * text3.C (dispatch): do not convert iterator -> pointer
3310         * undo_funcs.C (setCursorParUndo): ditto
3311         * text_funcs.C (transposeChars): ditto
3312
3313         * text2.C (setLayout): ws changes only
3314
3315         * text.C (breakParagraph): do not convert iterator -> pointer
3316         (insertChar): ditto
3317         (acceptChange): ditto
3318         (rejectChange): ditto
3319         (changeCase): ditto
3320         (Delete): ditto
3321         (backspace): ditto
3322
3323         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3324         pointer
3325
3326 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3327
3328         * text3.C (gotoInset): YABG (yet another bad getChar)
3329
3330 2003-04-29  André Pönitz  <poenitz@gmx.net>
3331
3332         * paragraph.h: make operator= private unimplemented as long as
3333           it is unusable
3334
3335         * ParagraphList.C: whitespace
3336
3337         * paragraph.[Ch]:
3338         * paragraph_pimpl.[Ch]:
3339         * paragraph_funcs.C:
3340         * CutAndPaste.C:
3341         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3342
3343         * text2.C:
3344           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3345
3346 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3347
3348         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3349         * paragraph.[Ch] (erase):
3350         * paragraph_pimpl.[Ch] (erase): change return type and value
3351         * text2.C (cutSelection): some rework
3352
3353 2003-04-28  John Levon  <levon@movementarian.org>
3354
3355         * bufferlist.C: changes for unsaved changes dialog
3356
3357 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3358
3359         * bufferlist.C (newFile): set language (messages_) for new
3360         documents also.
3361
3362         * buffer.C (readFile): ws changes only.
3363
3364 2003-04-28  André Pönitz  <poenitz@gmx.net>
3365
3366         * undo_funcs.C:
3367         * lyxfunc.C:
3368         * buffer.[Ch]:
3369         * BufferView_pimpl.C:
3370         * BufferView.C: getParFromID related ParagraphList::iterator changes
3371
3372 2003-04-28  André Pönitz  <poenitz@gmx.net>
3373
3374         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3375           Changes
3376
3377 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * messages.C: remove one more localedir class variable.
3380
3381 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * messages.C (getLocaleDir): singleton generation function
3384         (Pimpl): use it.
3385         (Messages): add a default constructor.
3386
3387         * main.C (main): do not setup localedir here, do not call
3388         gettext_init.
3389
3390         * gettext.C (_): use it.
3391         (gettext_init): delete funciton
3392
3393 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3394
3395         * gettext.C (getLyXMessages): new singleton generating function.
3396
3397         * buffer.C (updateDocLang): adjust
3398
3399         * Makefile.am (messages.o): add target
3400         (main.o): remove target
3401
3402 2003-04-27  John Levon  <levon@movementarian.org>
3403
3404         * bufferlist.C:
3405         * lyx_cb.C:
3406         * lyxfunc.C:
3407         * lyxvc.C: specify cancel button in Alert::prompt
3408
3409 2003-04-26  John Levon  <levon@movementarian.org>
3410
3411         * text3.C:
3412         * lyxfunc.C:
3413         * lfuns.h:
3414         * LyXAction.C: add LFUN_INSET_SETTINGS
3415
3416         * lyxfunc.C: don't enable tabular-feature when there's
3417         just any locking inset
3418
3419 2003-04-26  John Levon  <levon@movementarian.org>
3420
3421         * bufferlist.C: re-add Cancel to buffer close question
3422
3423         * lyxfunc.C: fix import UI a bit
3424
3425 2003-04-25  John Levon  <levon@movementarian.org>
3426
3427         * gettext.C: remove the broken asserts for now
3428
3429 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * messages.C: make case where setlocale cannot comply work better.
3432
3433         * buffer.C (updateDocLang): new function
3434         (changeLanguage): use it
3435         (readFile): use it
3436
3437         * text2.C (setCounter): use B_ a bit.
3438
3439         * lyxlayout.C (Read): be sure to trim the label strings.
3440
3441         * messages.C (Messages): fix typo in comment
3442
3443         * buffer.C (readFile): set message_ after file is loaded.
3444         (makeDocBookFile): remove double return
3445         (changeLanguage): reset message_ upon language change.
3446         (B_): new func, use this to get translated buffer strings.
3447
3448         * main.C: add myself and Jean Marc as authors.
3449
3450 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * messages.[hC]: pimplify Messages, and three different pimpls to be
3453         used in different circumstances.
3454
3455         * gettext.[Ch]: change for use with new message code.
3456
3457 2003-04-24 André Pönitz <poenitz@gmx.net>
3458
3459         * factory.C: support for eqref
3460
3461 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * messages.[Ch]: add missing char
3464
3465         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3466
3467         * messages.[Ch]: New files
3468
3469 2003-04-18  John Levon  <levon@movementarian.org>
3470
3471         * BufferView.h:
3472         * BufferView.C:
3473         * BufferView_pimpl.C:
3474         * lfuns.h:
3475         * LyXAction.C:
3476         * lyxtext.h:
3477         * text2.C: remove layout-copy/paste (bug 778)
3478
3479 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3480
3481         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3482
3483 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3486         if they succeed. Act accordingly.
3487
3488 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3489
3490         * text2.C (setCharFont): adjust
3491         (setCounter): adjust
3492         (insertStringAsLines): adjust
3493
3494         * text.C (leftMargin): adjust
3495         (setHeightOfRow): adjust
3496
3497         * rowpainter.C (paintFirst): adjust
3498         (paintLast): adjust
3499
3500         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3501         (outerHook): ditto
3502         (isFirstInSequence): ditto
3503         (getEndLabel): ditto
3504         (outerFont): adjust
3505
3506         * paragraph.C (getParLanguage): comment out some hard stuff.
3507
3508         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3509         (sgmlError): ditto
3510         (simpleDocBookOnePar): ditto
3511         (makeDocBookFile): use ParagraphList::iterator
3512
3513         * CutAndPaste.C (pasteSelection): adjust
3514
3515 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * text2.C (getFont): adjust
3518         (getLayoutFont): adjust
3519         (getLabelFont): adjust
3520
3521         * paragraph_funcs.C (TeXOnePar): adjust
3522
3523         * buffer.C (simpleLinuxDocOnePar): adjust
3524         (simpleDocBookOnePar): adjust
3525
3526         * CutAndPaste.C (pasteSelection): adjust
3527
3528         * BufferView.C (getEncoding): adjust
3529
3530         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3531
3532 2003-04-16  John Levon  <levon@movementarian.org>
3533
3534         * lyxfind.C: use parlist stuff for search/changes
3535
3536 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3539
3540         * text2.C (deleteEmptyParagraphMechanism): adjust
3541
3542         * text2.[Ch] (ownerParagraph): delete func (both of them
3543
3544 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3547
3548 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * ParagraphList.C: prepare for NO_NEXT
3551
3552 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3553
3554         * text2.C (getFont): adjust
3555         (getLayoutFont): adjust
3556         (getLabelFont): adjust
3557
3558         * paragraph.C (getFont): adjust
3559         (getLabelFont): adjust
3560         (getLayoutFont): adjust
3561
3562         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3563
3564 2003-04-15  John Levon  <levon@movementarian.org>
3565
3566         From Angus Leeming
3567
3568         * lyx_main.C: handle Include in .ui files
3569
3570 2003-04-15  John Levon  <levon@movementarian.org>
3571
3572         * MenuBackend.C: make the doc files length shorter
3573
3574         * ToolbarBackend.h:
3575         * ToolbarBackend.C: handle toolbar placement flags,
3576         Minibuffer
3577
3578 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3581         adjust
3582
3583         * paragraph_funcs.C (TeXOnePar): adjust
3584
3585         * paragraph.C (getLabelFont): add outerfont arg, adjust
3586         (getLayoutFont): ditto
3587         (simpleTeXOnePar): adjust
3588
3589         * paragraph_pimpl.C (realizeFont): delete func
3590
3591 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3592
3593         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3594         row argument, constify cur argument.
3595
3596 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * text2.C (getFont): adjust
3599         (getLayoutFont): adjust
3600         (getLabelFont): adjust
3601
3602         * paragraph_funcs.C (TeXOnePar): adjust
3603         (outerFont): new func...
3604         (realizeFont): ...moved out from here, changed this to facilitate
3605         transition
3606
3607         * paragraph.C (getFont): take outerfont as arg, adjust
3608         (simpleTeXOnePar): add outerfont arg, adjust
3609
3610         * buffer.C (simpleLinuxDocOnePar): adjust
3611         (simpleDocBookOnePar): adjust
3612
3613         * CutAndPaste.C (pasteSelection): adjust
3614
3615         * BufferView.C (getEncoding): adjust
3616
3617 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3618
3619         * text2.C (setCharFont): adjust
3620         (setCounter): adjust
3621
3622         * text.C (leftMargin): adjust
3623         (setHeightOfRow): adjust
3624
3625         * rowpainter.C (paintFirst): adjust
3626         (paintLast): adjust
3627
3628         * paragraph_pimpl.C (realizeFont): adjust
3629
3630         * paragraph.C (isFirstInSequence): move from here...
3631         * paragraph_funcs.C (isFirstInSequence): ...to here
3632
3633         * paragraph.C (outerHook): move from here...
3634         * paragraph_funcs.C (outerHook): ...to here
3635
3636         * paragraph.C (depthHook): move from here...
3637         * paragraph_funcs.C (depthHook): ...to here
3638
3639         * paragraph.C (getEndLabel): move from here...
3640         * paragraph_funcs.C (getEndLabel): ...to here
3641
3642         * text2.C (realizeFont): move from here...
3643         * paragraph_funcs.C (realizeFont): ...to here
3644
3645 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3646
3647         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3648
3649 2003-04-14  Angus Leeming  <leeming@lyx.org>
3650
3651         * LColor.[Ch]: scrap LColor mathcursor.
3652
3653 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * lyxlex.[Ch] (text): delete function
3656         * trans.C (Load): adjust
3657         * paragraph_funcs.C (readParToken): adjust
3658
3659 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3660
3661         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3662         vector<char> instead of a char[].
3663
3664         * lyxlex_pimpl.C (getString): adjust
3665         (next): adjust
3666         (lex): use getString
3667         (eatLine): adjust
3668         (nextToken): adjust
3669
3670         * lyxlex.C (text): use pimpl_->getString()
3671         (getBool): ditto
3672         (findToken): ditto
3673
3674 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3675
3676         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3677         (makeFontEntriesLayoutSpecific): temp var for par.size()
3678         (setLayout): temp var for ownerParagraphs().end()
3679         (fullRebreak): temp var for rows().end()
3680         (selectionAsString): temp var for boost::next(startpit), realize
3681         that the while really is a regular for loop.
3682         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3683         setCursor in one place.
3684         (setParagraph): temp vr for ownerParagraphs().end()
3685         (updateCounters): make the while loop a for loop
3686         (cutSelection): temp var for ownerParagraphs().end()
3687         (updateInset): make the do {} while() a regular for loop
3688         (getCursorX): use temp vars
3689         (setCurrentFont): use temp vars
3690         (getColumnNearX): use temp vars
3691
3692 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3693
3694         * text.C (transformChar): use temp var for getChar
3695         (computeBidiTables): use temp var for row->par()
3696         (fill): move temp vars for row->par() and pit->layout() earlier in
3697         the function.
3698         (labelFill): use temp var for row->par()
3699         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3700         asc and desc, realize that pit never changes and that firstpit is
3701         just a duplicate and not needed. Exchange rit->par() with pit in a
3702         lot of places.
3703         (breakAgain): use a temp var for boost::next(rit)
3704         (breakAgainOneRow): ditto
3705         (breakParagraph): use a temp var for rows().begin()
3706         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3707         (cursorRightOneWord): use temp var for cursor.par() and
3708         cursor.pos(), remove usage of tmpcursor.
3709         (cursorLeftOneWord): use temp var for cursor.par() and
3710         cursor.pos() only set cur at end of function.
3711
3712 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * text.C, text2.C: exchange all usage of Paragraph::next with
3715         boost::next(ParagraphList::iterator)
3716
3717         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3718
3719         * text2.C (cursorTop): simplify implementation
3720         (cursorBottom): ditto
3721         (setParagraph): use ParagraphList::iterator
3722         (setCurrentFont): adjust
3723         (getColumnNearX): adjust
3724         (cursorRight): adjust
3725         (cursorLeft): remove usage of Paragraph::previous
3726         (cursorUpParagraph): ditto
3727         (deleteEmptyParagraphMechanism): slight cleanup
3728
3729         * text.C (isBoundary): take a Paragraph const & instead of a
3730         pointer as arg.
3731         (addressBreakPoint): ditto
3732         (leftMargin): remove usage of Paragraph::previous.
3733         (setHeightOfRow): ditto
3734         (cursorLeftOneWord): ditto
3735         (selectNextWordToSpellcheck): ditto
3736         (Delete): ditto
3737         (backspace): ditto
3738         (breakParagraph): remove one usage of Paragraph::next
3739         (redoParagraph): ditto
3740         (acceptChange): ditto
3741         (insertChar): adjust
3742         (rowBreakPoint): adjust
3743
3744         * bufferview_funcs.C (toggleAndShow): adjust
3745
3746 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3747
3748         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3749         methods to access it.
3750         * lyxtext.h:
3751         * text.C: Added updateRowPositions to compute all row positions.
3752         Make top_y and getRowNearY() to use the cached y position
3753
3754 2003-04-11  John Levon  <levon@movementarian.org>
3755
3756         * text.C (rowBreakPoint): reintroduce the labelEnd
3757         checks, code copied from the row fill stuff. Deep voodoo.
3758
3759         * text.C (fill): add a comment and debugging for the
3760         next poor soul.
3761
3762 2003-04-11  John Levon  <levon@movementarian.org>
3763
3764         * text.C: make sure fullrow insets get wrapped to the next line,
3765         even when they're in a manual label
3766
3767 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * text2.C (insertParagraph): make it take ParagraphList::iterator
3770         as arg.
3771         (setLayout): make it return ParagraphList::iterator
3772         (redoParagraphs): ditto
3773         (setCounter): ditto
3774         (checkParagraph): ditto
3775
3776         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3777
3778         * text2.C: adjust several funcs.
3779         (realizeFont): take a ParagraphList::iterator as arg.
3780         (getLayoutFont): ditto
3781         (getLabelFont): ditto
3782         (setCharFont): ditto
3783
3784         * text.C: adjust several funcs.
3785
3786 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3787
3788         * text.C (selectNextWordToSpellcheck): don't accidentally
3789         skip insets
3790
3791 2003-04-10  John Levon  <levon@movementarian.org>
3792
3793         * ToolbarBackend.C (getIcon): special handling for
3794         LFUN_MATH_DELIM
3795
3796 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3797
3798         * text2.C (cursorRight): a getChar assert fixed
3799
3800 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * text2.C (getFont): change to take a ParagraphList::iterator
3803         instead of Paragraph*
3804         Adjust several functions.
3805
3806         * text.C (transformChar): change to take a ParagraphList::iterator
3807         instead of Paragraph*
3808         (singleWidth): ditto
3809         Adjust several functions.
3810
3811         * rowpainter.C: adjust several functions
3812         * rowpainter.h:store a ParagraphList::iterator and not a
3813         Paragraph&.
3814
3815
3816 2003-04-09  John Levon  <levon@movementarian.org>
3817
3818         * lyxfunc.C:
3819         * lfuns.h:
3820         * LyXAction.h:
3821         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3822         and the "help" bits as well
3823
3824 2003-04-09  John Levon  <levon@movementarian.org>
3825
3826         * ToolbarBackend.h:
3827         * ToolbarBackend.C: allow multiple toolbars
3828
3829 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * undo_funcs.C (setCursorParUndo): adjust
3832
3833         * text_funcs.C (transposeChars): adjust
3834
3835         * text3.C (gotoNextInset): adjust
3836         (dispatch): adjust
3837
3838         * text2.C (setLayout): adjust
3839         (changeDepth): adjust
3840         (setFont): adjust
3841         (redoParagraphs): adjust
3842         (selectionAsString): adjust
3843         (setParagraph): adjust
3844         (insertInset): adjust
3845         (cutSelection): adjust
3846         (copySelection): adjust
3847         (pasteSelection): adjust
3848         (insertStringAsLines): adjust
3849         (updateInset): adjust
3850         (setCursor): change to take a ParagraphList::iterator parameter
3851         (setCursorIntern): change to take a ParagraphList::iterator parameter
3852         (setCurrentFont): adjust
3853         (cursorLeft): adjust
3854         (cursorRight): adjust
3855         (deleteEmptyParagraphMechanism): adjust
3856
3857         * text.C (breakParagraph): adjust
3858         (insertChar): adjust
3859         (acceptChange): adjust
3860         (rejectChange): adjust
3861         (selectNextWordToSpellcheck): adjust
3862         (changeCase): adjust
3863         (Delete): adjust
3864         (backspace): adjust
3865
3866         * lyxfind.C (SearchForward): adjust
3867         (SearchBackward): adjust
3868         (nextChange): adjust
3869
3870         * lyxcursor.C (par): adjust
3871
3872         * lyxcursor.h: store a ParagraphList::iterator instead of a
3873         Paragraph*
3874
3875         * lyx_cb.C (getPossibleLabel): adjust
3876
3877         * bufferview_funcs.C (toggleAndShow): adjust
3878
3879         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3880         (dispatch): adjust
3881
3882         * BufferView.C (removeAutoInsets): adjust
3883         (lockedInsetStoreUndo): adjust
3884
3885 2003-04-09  John Levon  <levon@movementarian.org>
3886
3887         * ToolbarBackend.C: try icon without argument
3888         if with argument fails
3889
3890 2003-04-08  John Levon  <levon@movementarian.org>
3891
3892         * ToolbarBackend.h:
3893         * ToolbarBackend.C: add getIcon(), handle tooltip,
3894         and change from "Icon" to "Item".
3895
3896 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3897
3898         * BufferView.C (lockInset): another bad getchar crunched
3899
3900 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3901
3902         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3903         again)
3904
3905 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3906
3907         * lyxfind.C (searchForward, searchBackwards): bug 782
3908
3909 2003-04-07  John Levon  <levon@movementarian.org>
3910
3911         * paragraph.C: remove dead comment
3912
3913         * text.C: remove troublesome depth-fiddling code
3914         in leftMargin() and rightMargin() (bug 1017)
3915
3916         * text.C: fix breaking of rows in nested lists
3917         (bug 1004)
3918
3919         * text2.C (updateCounters): fix up depth values
3920         (bug 1013)
3921
3922 2003-04-07  John Levon  <levon@movementarian.org>
3923
3924         * BufferView_pimpl.C: clear message when doc finishes resizing,
3925         and after a mouse event
3926
3927         * lyxfunc.C: clear message after exiting inset
3928
3929 2003-04-07  John Levon  <levon@movementarian.org>
3930
3931         * bufferview_funcs.C: show math status not outside
3932         status in the statusbar
3933
3934 2003-04-07  John Levon  <levon@movementarian.org>
3935
3936         * lyxfunc.C: note status changed after a depth change
3937
3938 2003-04-04  Angus Leeming  <leeming@lyx.org>
3939
3940         * LaTeX.h: move AuxInfo operator==, != out of line.
3941         Remove LaTeX virtual destructor; nothing derives from it.
3942         Move operator()() out of public area and rename it startscript().
3943         Change protected for private.
3944
3945 2003-04-04  Angus Leeming  <leeming@lyx.org>
3946
3947         * lyxfunc.C:
3948         * text2.C: remove unneeded #includes.
3949
3950 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3951
3952         * text2.C (dEPM): fix the heigth of the next row
3953
3954 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * text.C: squashed an invalid getChar requester + some ws changes
3957
3958 2003-04-03  John Levon  <levon@movementarian.org>
3959
3960         * bufferview_funcs.h:
3961         * bufferview_funcs.C:
3962         * lyxfunc.C:
3963         * lyxtext.h:
3964         * text2.C: make getStatus work for the env depth lfuns
3965
3966 2003-04-03  John Levon  <levon@movementarian.org>
3967
3968         * bufferview_funcs.h:
3969         * bufferview_funcs.C:
3970         * lyxfunc.C:
3971         * lyxtext.h:
3972         * text2.C: parlistize decDepth(), by merging it with incDepth()
3973
3974 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * lyxrow.h: store a ParagraphList::iterator instead of a
3977         Paragraph* and adjust other class functions to suit.
3978
3979         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3980         above.
3981
3982 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3983
3984         * text2.C (setCursor): do not anchor to cursor row for the time being
3985
3986 2003-04-02  John Levon  <levon@movementarian.org>
3987
3988         * LyXAction.C:
3989         * lfuns.h:
3990         * lyx_main.C:
3991         * lyxtext.h:
3992         * text.C:
3993         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3994
3995 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * paragraph.h: make ParagraphList and ParagraphList::iterator
3998         friends of Paragraph.
3999
4000         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4001
4002         * ParagraphList.C: Use the private next_ and previous_ from
4003         Paragraph.
4004
4005 2003-04-01  John Levon  <levon@movementarian.org>
4006
4007         * ToolbarBackend.h:
4008         * ToolbarBackend.C:
4009         * Makefile.am: rename, remove defaults gunk
4010
4011         * MenuBackend.h:
4012         * MenuBackend.C: remove defaults gunk
4013
4014         * Languages.h:
4015         * Languages.C: remove defaults gunk
4016
4017         * lyx_main.h:
4018         * lyx_main.C: error out if files couldn't be found.
4019
4020 2003-04-02  John Levon  <levon@movementarian.org>
4021
4022         * text2.C: make incDepth() use parlist
4023
4024 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4025
4026         * undo_funcs.C (firstUndoParagraph): adjust
4027
4028         * text3.C (gotoInset): adjust
4029         (dispatch): adjust, and rewrite loop.
4030
4031         * text2.C (init): adjust, and rewrite loop.
4032         (redoParagraphs): adjust
4033         (updateInset): adjust, and rewrite loop.
4034         (deleteEmptyParagraphMechanism): adjust
4035
4036         * tabular.C (LyXTabular): adjust
4037         (SetMultiColumn): adjust
4038         (TeXRow): adjust
4039
4040         * lyxtext.[Ch] (ownerParagraph): delete function
4041         (ownerParagraphs): new function returns a ParagraphList.
4042
4043         * BufferView.C (removeAutoInsets): adjust
4044         (insertErrors): adjust
4045         (setCursorFromRow): adjust
4046
4047 2003-04-01  Angus Leeming  <leeming@lyx.org>
4048
4049         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4050         in the frontends.
4051
4052 2003-04-02  John Levon  <levon@movementarian.org>
4053
4054         * lyxtext.h:
4055         * text.C:
4056         * Makefile.am:
4057         * text_funcs.h:
4058         * text_funcs.C: make transposeChars a free function
4059
4060         * lyxrow_funcs.C: remove wrong comment
4061
4062 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * lyxtext.h: adjust
4065         * rowpainter.C: adjust
4066         * text.C: adjust
4067         * text2.C: adjust
4068         * text3.C: adjust
4069
4070         * lyxrow_funcs. [Ch]: new files
4071
4072         * lyxrow.[Ch]: remove next and previous pointers
4073         (next,previous): remove accessor functions
4074         (isParEnd): move to lyxrow_funcs
4075         (lastPos): move to lyxrow_funcs
4076         (nextRowIsAllInset): move to lyxrow_funcs
4077         (lastPrintablePos): move to lyxrow_funcs
4078         (numberOfSeparators): move to lyxrow_funcs
4079         (numberOfHfills): move to lyxrow_funcs
4080         (numberOfLabelHfills): move to lyxrow_funcs
4081         (hfillExpansion): move to lyxrow_funcs
4082
4083         * lyxfunc.C: adjust
4084
4085         * bufferview_funcs.C (toggleAndShow): adjust
4086
4087         * RowList.h: Remove class RowList from file leave just a
4088         std::list<Row>.
4089
4090         * RowList.C: delete file
4091
4092         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4093         and lyxrow_funcs.h
4094
4095 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * text3.C (cursorPrevious): adjust
4098         (cursorNext): adjust
4099         (dispatch): adjust
4100
4101         * text2.C (redoHeightOfParagraph): adjust
4102         (redoDrawingOfParagraph): adjust
4103         (setCursor): adjust
4104
4105         * text.C (breakParagraph): adjust
4106         (insertChar): adjust
4107         (backspace): adjust
4108
4109         * rowpainter.C (RowPainter): adjust
4110         (leftMargin): simplify and adjust
4111         (most rowpainter functions): adjust.
4112
4113         * rowpainter.h: store the row as RowList::iterator not as Row*
4114
4115         * lyxcursor.C (row): taka RowList::iterator as arg
4116         (irow): ditto
4117
4118         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4119         of Row*.
4120
4121 2003-04-01  Angus Leeming  <leeming@lyx.org>
4122
4123         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4124         stuff like bool Bool.
4125
4126 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4127
4128         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4129         rewrite a loop
4130
4131 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4134         RowList::iterator.
4135
4136         * lyxtext.h (rows): drop one version and leve a const variant that
4137         returns a RowList::iterator.
4138
4139 2003-03-31  Angus Leeming  <leeming@lyx.org>
4140
4141         * text.C (fill): ensure that the signature is the same as that in the
4142         header file.
4143
4144 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * text2.C (redoParagraphs): adjust
4147         (updateCounters): adjust
4148         (checkParagraph): adjust
4149         (getColumnNearX): adjust and reformat a bit.
4150
4151         * text.C (top_y): adjust
4152         (workWidth): adjust
4153         (leftMargin): adjust
4154         (prepareToPrint): adjust
4155         (getRow): adjust
4156         (getRowNearY): adjust
4157
4158         * lyxtext.h: make rowlist_ mutable.
4159
4160         * RowList.h: add const_iterator
4161         * RowList.C: adjust for RowList::const_iterator.
4162
4163         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4164         adjust.
4165
4166 2003-03-31  John Levon  <levon@movementarian.org>
4167
4168         * lyxrc.h:
4169         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4170
4171         * lyx_main.C: set default fonts from using lyx_gui funcs
4172
4173         * exporter.C: pdf_mode moved from lyxrc
4174
4175         * lyx_cb.C:
4176         * lyxfunc.C: changes from above
4177
4178 2003-03-31  John Levon  <levon@movementarian.org>
4179
4180         * lyx_main.C: fix to the last fix
4181
4182 2003-03-31  John Levon  <levon@movementarian.org>
4183
4184         * bufferlist.C: "Load original" -> "Load Original"
4185
4186         * converter.C:
4187         * exporter.C:
4188         * importer.C:
4189         * lyx_main.C:
4190         * format.C: more Alert cleanups
4191
4192 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * text2.C (removeParagraph): make it take a RowList::iterator as
4195         arg, adjust.
4196         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4197         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4198
4199         * text.C (anchor_row): make it take a RowList::iterator as arg,
4200         adjust.
4201         (computeBidiTables): make it take a const reference to Row instead
4202         of Row pointer, adjust.
4203         (leftMargin): make it take a RowList::iterator as arg, adjust.
4204         (rowBreakPoint): adjust
4205         (breakAgainOneRow): make it take a RowList::iterator as arg,
4206         adjust.
4207         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4208
4209         * bufferview_funcs.C (toggleAndShow): adjust
4210
4211 2003-03-30  John Levon  <levon@movementarian.org>
4212
4213         * Makefile.am:
4214         * BoostFormat.h:
4215         * boost-inst.C: moved to support
4216
4217         * several files: changes as a result
4218
4219 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * text2.C (LyXText): adjust.
4222         (init): adjust
4223         (removeRow): make it take a RowList::iterator as arg, adjust.
4224         (fullRebreak): adjust
4225         (deleteEmptyParagraphMechanism): adjust
4226         (clearPaint): adjust
4227         (postPaint): adjust
4228
4229         * text.C (top_y): adjust
4230         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4231         (breakAgain): make it take a RowList::iterator as arg, adjust.
4232         (breakParagraph): adjust
4233         (insertChar): adjust
4234         (backspace): adjust
4235
4236         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4237         need_break_row, and refresh_row.
4238
4239         * text3.C (dispatch): adjust
4240
4241         * text2.C (checkParagraph): adjust
4242         (setCursor): adjust
4243         (setCursorFromCoordinates): adjust
4244
4245         * text.C (top_y): adjust
4246         (workWidth): adjust
4247         (getRow): make it return a RowList::iterator, adjust
4248         (getRowNearY): make it return a RowList::iterator, adjust
4249
4250         * text2.C (init): adjust
4251         (insertRow): remove function
4252         (insertParagraph): adjust
4253         (redoParagraphs): adjust
4254         (fullRebreak): adjust
4255         (updateCounters): adjust
4256
4257         * text.C (top_y): rewrite to use RowList iterators.
4258         (top_y): adjust
4259         (setHeightOfRow): rewrite to sue RowList iterators.
4260         (appendParagraph): adjust
4261         (breakAgain): adjust
4262         (breakAgainOneRow): adjust
4263         (breakParagraph): adjust
4264         (getRow): adjust
4265         (getRowNearY): adjust, and remove commented code.
4266
4267         * lyxtext.h (firstRow): delete function
4268         (lastRow): delete function
4269         (rows): new function (const and non-const versions.)
4270         (insertRow): delete function
4271
4272         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4273
4274 2003-03-29  John Levon  <levon@movementarian.org>
4275
4276         * BufferView_pimpl.C: always update scrollbar top
4277         because pasting text when we're anchored could mean we
4278         miss an update altogether
4279
4280 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * text2.C (init): use rowlist_.end() and not 0.
4283         (insertRow): change to take a RowList::iterator as arg, adjust
4284         for this.
4285         (insertParagraph): change to take a RowList::iterator as arg,
4286         adjust for this.
4287         (redoParagraphs): remove some debug msgs.
4288
4289         * text.C (appendParagraph): change to take a RowList::iterator
4290         arg, adjust for this.
4291         (breakAgain): add an assert
4292         (breakAgainOneRow): ditto
4293
4294 2003-03-29  John Levon  <levon@movementarian.org>
4295
4296         * text2.C: do not clear selection after inc/decDepth
4297         (bug 550)
4298
4299 2003-03-29  John Levon  <levon@movementarian.org>
4300
4301         * BufferView.C:
4302         * buffer.C: fix broken strerrors according to Lars
4303
4304 2003-03-29  John Levon  <levon@movementarian.org>
4305
4306         * converters.C: more Alert cleanups
4307
4308 2003-03-29  John Levon  <levon@movementarian.org>
4309
4310         * bufferview_funcs.C: remove pointless Alert
4311
4312         * buffer.C: fix confusing error message when
4313         a template is chmoded 000
4314
4315 2003-03-29  John Levon  <levon@movementarian.org>
4316
4317         * BufferView.C:
4318         * BufferView.h:
4319         * BufferView_pimpl.C: Alert fixes
4320
4321         * Makefile.am:
4322         * tabular.C:
4323         * tabular-old.C: remove unused table compat reading
4324
4325 2003-03-29  John Levon  <levon@movementarian.org>
4326
4327         * BufferView.C:
4328         * buffer.C:
4329         * lyx_cb.h:
4330         * lyx_cb.C: more Alert cleanups
4331
4332         * lyxfunc.C: don't allow chktex if not latex document
4333
4334 2003-03-29  John Levon  <levon@movementarian.org>
4335
4336         * lyx_cb.C:
4337         * BufferView.C:
4338         * buffer.C: warnings pushed down from support/,
4339         kill err_alert
4340
4341 2003-03-29  John Levon  <levon@movementarian.org>
4342
4343         * lyxfunc.C: safety check for C-r (revert)
4344
4345 2003-03-29  John Levon  <levon@movementarian.org>
4346
4347         * bufferlist.h:
4348         * bufferlist.C: several UI fixes using Alert::prompt.
4349         Fix the pointless looping quit code. Fix stupid revert
4350         behaviour (bug 938)
4351
4352         * lyxvc.h:
4353         * lyxvc.C:
4354         * lyx_cb.C: use Alert::prompt
4355
4356         * lyx_main.C: remove a silly question
4357
4358         * lyxfunc.C: remove a couple of silly questions,
4359         use Alert::prompt
4360
4361 2003-03-28  John Levon  <levon@movementarian.org>
4362
4363         * text2.C: fix bug 974 (End on empty par)
4364
4365 2003-03-28  John Levon  <levon@movementarian.org>
4366
4367         * BufferView_pimpl.C:
4368         * LyXAction.C:
4369         * lfuns.h: remove do-nothing math greek lfuns
4370
4371 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4372
4373         * lyxgluelength.h (isValidGlueLength): add default arg on
4374         parameter 2. Remove default arg from friend in class.
4375
4376         * lyxlength.h (isValidLength): add default arg on parameter 2.
4377         Remove default arg from friend in class.
4378
4379         * text2.C (LyXText): adjust, initialize refresh_row.
4380         (init): adjust
4381         (removeRow): adjust
4382         (insertRow): adjust
4383         (insertParagraph): adjst
4384         (redoParagraphs): adjust
4385         (fullRebreak): adjust
4386         (updateCounters): adjust
4387         (deleteEmptyParagraphMechanism): first attempt at fixing a
4388         crashing bug.
4389
4390         * text.C (top_y): adjust
4391         (setHeightOfRow): adjust
4392         (getRow): adjust
4393         (getRowNearY): adjust
4394
4395         * lyxtext.h: include RowList.h
4396         (~LyXText): not needed anymore, deleted.
4397         (firstRow): modify for RowList
4398         (lastRow): new function
4399         Delete firstrow and lastrow class variables, add a Rowlist
4400         rowlist_ class variable.
4401
4402         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4403         paragraph is empty.
4404
4405         * RowList.C (insert): fix case where it == begin().
4406
4407 2003-03-26  Angus Leeming  <leeming@lyx.org>
4408
4409         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4410         the thesaurus dialog.
4411
4412 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4415
4416         * RowList.[Ch]: new files
4417
4418         * ParagraphList.C (erase): handle the case where it == begin
4419         correctly.
4420
4421 2003-03-25  John Levon  <levon@movementarian.org>
4422
4423         * Makefile.am:
4424         * aspell_local.h:
4425         * aspell.C: add new aspell support
4426
4427         * lyxrc.h:
4428         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4429         have it accessible.
4430
4431 2003-03-25  Angus Leeming  <leeming@lyx.org>
4432
4433         * lfuns.h:
4434         * LyXAction.C (init): new LFUN_INSET_INSERT.
4435
4436         * BufferView_pimpl.C (dispatch): split out part of the
4437         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4438
4439         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4440         LFUN_INSET_APPLY.
4441
4442 2003-03-25  Angus Leeming  <leeming@lyx.org>
4443
4444         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4445
4446 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4447
4448         * text2.C:
4449         * text3.C: remove useless row->height(0)
4450
4451 2003-03-25  John Levon  <levon@movementarian.org>
4452
4453         * lyxtext.h:
4454         * text2.C:
4455         * text3.C: rename the refreshing stuff to better names
4456
4457 2003-03-24  John Levon  <levon@movementarian.org>
4458
4459         * BufferView_pimpl.h:
4460         * BufferView_pimpl.C: update layout choice on a mouse
4461         press/release
4462
4463 2003-03-23  John Levon  <levon@movementarian.org>
4464
4465         * Makefile.am: fix commandtags.h reference
4466
4467 2003-03-22  John Levon  <levon@movementarian.org>
4468
4469         * BufferView_pimpl.C:
4470         * lyxtext.h:
4471         * rowpainter.C:
4472         * rowpainter.h:
4473         * text.C:
4474         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4475
4476 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4477
4478         * lyxtext.h:
4479         * text.C: take the rtl methods out of line
4480
4481 2003-03-21 André Pönitz <poenitz@gmx.net>
4482
4483         * metricsinfo.[Ch]: new files containing structures to be passed around
4484         during the two-phase-drawing...
4485
4486 2003-03-21 André Pönitz <poenitz@gmx.net>
4487
4488         * lyxtextclass.C: read 'environment' tag.
4489
4490 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4491
4492         * text2.C (removeRow): fix bug 964
4493
4494 2003-03-20  John Levon  <levon@movementarian.org>
4495
4496         * rowpainter.C:
4497         * text.C:
4498         * text2.C: paint cleanups. Inset::update() dropped font
4499         parameter
4500
4501 2003-03-19  John Levon  <levon@movementarian.org>
4502
4503         * lyxfunc.C: only fitcursor/markDirty if available()
4504
4505 2003-03-19  John Levon  <levon@movementarian.org>
4506
4507         * commandtags.h: rename to ...
4508
4509         * lfuns.h: ... this, and renumber / cleanup
4510
4511 2003-03-19  John Levon  <levon@movementarian.org>
4512
4513         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4514         fit the cursor after an lfun
4515
4516         * BufferView.h:
4517         * BufferView.C:
4518         * BufferView_pimpl.h:
4519         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4520
4521         * LyXAction.C: layout-character should have ReadOnly
4522
4523         * ParagraphParameters.C:
4524         * buffer.C:
4525         * bufferview_funcs.C:
4526         * lyx_cb.C:
4527         * lyxfind.C:
4528         * lyxtext.h:
4529         * text.C:
4530         * text2.C:
4531         * text3.C:
4532         * undo_funcs.C: changes from above
4533
4534 2003-03-18  John Levon  <levon@movementarian.org>
4535
4536         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4537         remove it from update()
4538
4539         * lyxfunc.C: update layout choice after an lfun
4540
4541         * text3.C: remove extra updateLayoutChoice()s
4542
4543 2003-03-18  John Levon  <levon@movementarian.org>
4544
4545         * text.C: top_y change means full repaint, fix
4546         a drawing bug with cursor movement
4547
4548 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4549
4550         * lyxtext.h:
4551         * text.C:
4552         * text2.C: anchor row on setCursor
4553
4554 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * lyxtext.h: remove almost all mutable keywords
4557         * text.C:
4558         * text2.C:
4559         * text3.C: remove const keywords accordingly
4560
4561 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4564         anon namespace
4565         (TeXEnvironment): ditto
4566         (TeXOnePar): ditto
4567
4568 2003-03-17  John Levon  <levon@movementarian.org>
4569
4570         * text.C (rowBreakPoint): remove attempt to fix displayed
4571         math insets inside a manual label
4572
4573 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * lyxtext.h: remove BufferView* as first arg from almost all class
4576         functions.
4577         * other files: adjust.
4578
4579 2003-03-17  John Levon  <levon@movementarian.org>
4580
4581         * lyxtext.h:
4582         * undo_funcs.C:
4583         * text2.C: more paint cleanups
4584
4585         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4586
4587         * rowpainter.h:
4588         * rowpainter.C: remove "smart" background painting code
4589
4590 2003-03-16  John Levon  <levon@movementarian.org>
4591
4592         * lyxtext.h:
4593         * text.C:
4594         * text2.C:
4595         * text3.C: add helper functions for setting refresh_row/y
4596
4597 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4598
4599         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4600         newline inset which *can* get inserted in the pass_thru layouts.
4601         This is primarily for literate documents.
4602
4603 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4604
4605         * buffer.C: increment LYX_FORMAT to 223
4606
4607 2003-03-14 André Pönitz <poenitz@gmx.net>
4608
4609         * textclass.h: prepare for environment handling, ws changes
4610         * lyxlayout.C: read latexheader and latexfooter tags
4611
4612 2003-03-14  John Levon  <levon@movementarian.org>
4613
4614         * text2.C: rewrite ::status() a bit
4615
4616 2003-03-13  John Levon  <levon@movementarian.org>
4617
4618         * lyxtext.h: add some docs
4619
4620 2003-03-13  John Levon  <levon@movementarian.org>
4621
4622         * lyxtext.h:
4623         * text.C:
4624         * text2.C:
4625         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4626
4627 2003-03-13  John Levon  <levon@movementarian.org>
4628
4629         * text3.C: fix appendix redrawing
4630
4631 2003-03-13  John Levon  <levon@movementarian.org>
4632
4633         * text.C (setHeightOfRow):
4634         * rowpainter.h:
4635         * rowpainter.C: make appendix mark have the text
4636           "Appendix" so the user knows what it is
4637
4638         * LColor.h:
4639         * LColor.C: s/appendixline/appendix/ from above
4640
4641 2003-03-13  John Levon  <levon@movementarian.org>
4642
4643         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4644
4645         * text.C: fix a getChar(pos) bug properly
4646
4647 2003-03-13  Angus Leeming  <leeming@lyx.org>
4648
4649         * commandtags.h:
4650         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4651         Probably only temporary. Let's see how things pan out.
4652
4653         * BufferView.C (unlockInset):
4654         * BufferView_pimpl.C (fitCursor):
4655         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4656
4657         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4658         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4659
4660         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4661         new functions that convert ParagraphParameters to and from a string.
4662
4663         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4664         BufferView::Pimpl's dispatch.
4665         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4666
4667 2003-03-13 André Pönitz <poenitz@gmx.net>
4668
4669         * lyxfunc.C:
4670         * text3.C:
4671         * factory.C: make it aware of InsetEnv
4672
4673 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * text2.C (setCursor): never ask for one past last
4676         (setCursor): add some debugging messages.
4677
4678         * text.C (singleWidth): never ask for one past last
4679         (singleWidth): ditto
4680         (leftMargin): ditto
4681         (rightMargin): ditto
4682         (rowBreakPoint): ditto
4683         (setHeightOfRow): ditto
4684         (prepareToPrint): ditto
4685
4686         * rowpainter.C (paintBackground): never ask for one past last
4687         (paintText): never ask for one past last
4688
4689         * paragraph_pimpl.C (getChar): make the assert stricter, never
4690         allow the one past last pos to be taken
4691
4692         * paragraph.C (getChar): ws changes only
4693
4694         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4695         (numberOfSeparators): ditto
4696         (numberOfHfills): ditto
4697
4698 2003-03-12  John Levon  <levon@movementarian.org>
4699
4700         * author.h:
4701         * author.C:
4702         * bufferparams.h:
4703         * bufferparams.C:
4704         * paragraph_funcs.C: fix per-buffer authorlists
4705
4706 2003-03-12  John Levon  <levon@movementarian.org>
4707
4708         * text.C: fix newline in right address
4709
4710 2003-03-12  Angus Leeming  <leeming@lyx.org>
4711
4712         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4713         duplicate those in LyXFunc::dispatch.
4714
4715         * commandtags.h:
4716         * LyXAction.C:
4717         * ToolbarDefaults.C:
4718         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4719         Add LFUN_FONTFREE_UPDATE.
4720
4721         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4722         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4723
4724         * bufferview_func.[Ch]: several new functions to facilliate
4725         transfer of data to and from the character dialog.
4726
4727 2003-03-12  John Levon  <levon@movementarian.org>
4728
4729         * buffer.C:
4730         * paragraph.h:
4731         * paragraph.C:
4732         * paragraph_funcs.C:
4733         * paragraph_pimpl.C:
4734         * sgml.C:
4735         * tabular.C:
4736         * text.C:
4737         * text3.C: remove META_NEWLINE in favour of an inset
4738
4739         * rowpainter.h:
4740         * rowpainter.C: remove paintNewline (done by inset)
4741
4742 2003-03-12  John Levon  <levon@movementarian.org>
4743
4744         * paragraph_pimpl.C: complain about bad getChar()s
4745         for a while at least
4746
4747 2003-03-12  John Levon  <levon@movementarian.org>
4748
4749         * buffer.h:
4750         * buffer.C: move paragraph read into a separate function,
4751         a little renaming to reflect that.
4752
4753         * bufferparams.h:
4754         * bufferparams.C: remove the author_ids map, not necessary now
4755
4756         * factory.h:
4757         * factory.C: moved Buffer::readInset to here
4758
4759         * paragraph_funcs.h:
4760         * paragraph_funcs.C: readParagraph free function moved from
4761         buffer.C
4762
4763         * tabular.C: name change
4764
4765 2003-03-12  John Levon  <levon@movementarian.org>
4766
4767         * buffer.C:
4768         * ParagraphParameters.C: move par params input to
4769         a read() method
4770
4771         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4772         behave like a normal read from the stream wrt reading
4773         a line vs. a \\token
4774
4775 2003-03-12  John Levon  <levon@movementarian.org>
4776
4777         * paragraph.C:
4778         * ParagraphParameters.h:
4779         * ParagraphParameters.C: move output code to a
4780         ::write() method
4781
4782 2003-03-12  John Levon  <levon@movementarian.org>
4783
4784         * BufferView.C (insertLyXFile):
4785         * buffer.h:
4786         * buffer.C:
4787         * tabular.C: use a parlist iterator for creating the
4788           document.
4789
4790 2003-03-12  John Levon  <levon@movementarian.org>
4791
4792         * buffer.C: make current_change static local not
4793           static file-scope
4794
4795 2003-03-12  John Levon  <levon@movementarian.org>
4796
4797         * buffer.C: fix insertStringAsLines for change tracking
4798
4799 2003-03-12  John Levon  <levon@movementarian.org>
4800
4801         * BufferView.C:
4802         * tabular.C:
4803         * buffer.h:
4804         * buffer.C:
4805         * bufferparams.h:
4806         * bufferparams.C: move author list into params. Rename some
4807           functions. Move the header reading into a separate token
4808           loop. Move the header token reading into BufferParams.
4809
4810 2003-03-12  John Levon  <levon@movementarian.org>
4811
4812         * changes.C: put debug inside lyxerr.debugging() checks
4813
4814 2003-03-11 André Pönitz <poenitz@gmx.net>
4815
4816         * factory.C: make it aware of InsetHFill
4817
4818 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4819
4820         * buffer.C (latexParagraphs): move function from here...
4821         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4822         args.
4823
4824 2003-03-10  Angus Leeming  <leeming@lyx.org>
4825
4826         * LyXAction.C (init): fix bug in poplating array with multiple entries
4827         with the same LFUN (spotted by JMarc).
4828
4829 2003-03-10  John Levon  <levon@movementarian.org>
4830
4831         * text.C:
4832         * text2.C: move getColumnNearX() near its
4833         only call site
4834
4835 2003-03-10  John Levon  <levon@movementarian.org>
4836
4837         * text.C: fix break before a minipage
4838
4839 2003-03-10  John Levon  <levon@movementarian.org>
4840
4841         * text.C: fix the last commit
4842
4843 2003-03-09  John Levon  <levon@movementarian.org>
4844
4845         * lyxtext.h:
4846         * text.C:
4847         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4848         bug 365 (don't break before insets unless needed). Don't
4849         return a value > last under any circumstances.
4850
4851 2003-03-09  Angus Leeming  <leeming@lyx.org>
4852
4853         * BufferView_pimpl.C (trackChanges, dispatch): call
4854         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4855
4856 2003-03-09  Angus Leeming  <leeming@lyx.org>
4857
4858         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4859         than Dialogs::showAboutlyx().
4860
4861 2003-03-09  Angus Leeming  <leeming@lyx.org>
4862
4863         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4864         than Dialogs::showTabularCreate().
4865
4866 2003-03-09  John Levon  <levon@movementarian.org>
4867
4868         * lyxtext.h:
4869         * text.C:
4870         * text2.C: 3rd arg to nextBreakPoint was always the same.
4871           Use references.
4872
4873 2003-03-08  John Levon  <levon@movementarian.org>
4874
4875         * lyxrow.C:
4876         * paragraph.C:
4877         * paragraph.h:
4878         * rowpainter.C:
4879         * text.C:
4880         * text2.C: Remove the "main" bit from the "main body"
4881           notion.
4882
4883 2003-03-08  John Levon  <levon@movementarian.org>
4884
4885         * text.C (leftMargin): The left margin of an empty
4886         manual label paragraph should not include the label width
4887         string length.
4888
4889         * text.C (prepareToPrint): don't attempt to measure hfills
4890         for empty manual label paragraphs - the answer should be 0
4891
4892 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * CutAndPaste.C: remove commented code and reindent.
4895
4896 2003-03-08  John Levon  <levon@movementarian.org>
4897
4898         * lyxfunc.h:
4899         * lyxfunc.C: move reloadBuffer()
4900
4901         * BufferView.h:
4902         * BufferView.C: to here
4903
4904         * lyxvc.C: add comment
4905
4906         * vc-backend.h:
4907         * vc-backend.C: call bv->reload() to avoid
4908           getStatus() check on MENURELOAD
4909
4910 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4911
4912         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4913         to an old format .dep file.
4914
4915 2003-03-07  Angus Leeming  <leeming@lyx.org>
4916
4917         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4918         when the LFUN_MOUSE_RELEASE should have been handled by
4919         inset->localDispatch.
4920
4921 2003-03-07  Angus Leeming  <leeming@lyx.org>
4922
4923         * BufferView_pimpl.C (dispatch):
4924         * LyXAction.C (init):
4925         * ToolbarDefaults.C (init):
4926         * commandtags.h:
4927         * lyxfunc.C (getStatus):
4928         remove LFUN_INSET_GRAPHICS.
4929
4930         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4931
4932 2003-03-07  Angus Leeming  <leeming@lyx.org>
4933
4934         * commandtags.h:
4935         * LyXAction.C (init):
4936         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4937
4938         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4939
4940         * commandtags.h:
4941         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4942
4943         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4944         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4945
4946 2003-03-07  Angus Leeming  <leeming@lyx.org>
4947
4948         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4949         remove "ert".
4950
4951 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * ParagraphList.C (front): new function
4954         (back): implement
4955
4956 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4957
4958         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4959         and top_row_offset_. removed var first_y.
4960         * text.C (top_y):
4961         * text2.C (LyXText, removeRow):
4962         * text3.C:
4963         * BufferView_pimpl.C:
4964         use these methods instead of using first_y
4965
4966 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * text2.C (pasteSelection): adjust for checkPastePossible
4969
4970         * CutAndPaste.C: remove Paragraph * buf and replace with
4971         ParagraphList paragraphs.
4972         (DeleteBuffer): delete
4973         (cutSelection): change the tc type to textclass_type
4974         (copySelection): change the tc type to textclass_type
4975         (copySelection): adjust for ParagraphList
4976         (pasteSelection): change the tc type to textclass_type
4977         (pasteSelection): adjust for Paragraphlist
4978         (nrOfParagraphs): simplify for ParagraphList
4979         (checkPastePossible): simplify for ParagraphList
4980         (checkPastePossible): remove unused arg
4981
4982         * ParagraphList.C (insert): handle the case where there are no
4983         paragraphs yet.
4984
4985         * CutAndPaste.h: make CutAndPaste a namespace.
4986
4987         * text3.C (dispatch): adjust
4988
4989         * text.C (breakParagraph): add a ParagraphList as arg
4990
4991         * paragraph_funcs.C (breakParagraph): change to take a
4992         BufferParams and a ParagraphList as args.
4993         (breakParagraphConservative): ditto
4994         (mergeParagraph): ditto
4995         (TeXDeeper): add a ParagraphList arg
4996         (TeXEnvironment): ditto
4997         (TeXOnePar): ditto
4998
4999         * buffer.C (readLyXformat2): adjust
5000         (insertStringAsLines): adjust
5001         (latexParagraphs): adjust
5002
5003         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5004         (cutSelection): adjust
5005         (pasteSelection): adjust
5006
5007         * BufferView_pimpl.C (insertInset): adjust
5008
5009 2003-03-05  Angus Leeming  <leeming@lyx.org>
5010
5011         * commandtags.h:
5012         * LyXAction.C (init):
5013         * BufferView_pimpl.C (dispatch):
5014         * lyxfunc.C (getStatus):
5015         remove LFUN_CHILD_INSERT.
5016
5017         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5018
5019 2003-03-05  Angus Leeming  <leeming@lyx.org>
5020
5021         * commandtags.h:
5022         * LyXAction.C (init):
5023         * src/factory.C (createInset):
5024         * lyxfunc.C (getStatus):
5025         * text3.C (dispatch):
5026         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5027
5028         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5029
5030 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * ParagraphList.C (insert): handle insert right before end()
5033         (erase): fix cases where it can be first or last paragraph.
5034
5035 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5038         Paragraph::next and Paragraph::previous
5039         (TeXOnePar): ditto
5040
5041         * text.C (breakParagraph): adjust
5042
5043         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5044         BufferParams& as arg.
5045         (breakParagraph): use ParagraphList::insert
5046         (breakParagraphConservative): take a Buffer* instead of a
5047         BufferParams& as arg.
5048         (breakParagraphConservative): use ParagraphList::insert.
5049
5050         * buffer.C (insertStringAsLines): un-const it
5051         (insertStringAsLines): adjust
5052
5053         * ParagraphList.C (insert): new function
5054
5055         * CutAndPaste.C (pasteSelection): adjust
5056
5057         * text.C (backspace): adjust
5058
5059         * tabular.C (SetMultiColumn): adjust
5060
5061         * CutAndPaste.C (cutSelection): adjust
5062         (pasteSelection): adjust
5063
5064         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5065         Buffer const * as arg
5066
5067         * ParagraphList.C (erase): new function
5068         * paragraph_funcs.C (mergeParagraph): use it
5069         (mergeParagraph): make it take a Buffer* instead of a
5070         BufferParams* as arg
5071
5072         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5073         as arg
5074         (breakParagraphConservative): ditto
5075
5076         * paragraph.h: remove the breakParagraph friend
5077
5078         * paragraph.C (eraseIntern): new function
5079         (setChange): new function
5080
5081         * paragraph_funcs.C (mergeParagraph): make it take a
5082         ParagraphList::iterator instead of a Paragraph *, adjust
5083         accordingly.
5084
5085         * paragraph.h: move an #endif so that the change tracking stuff
5086         also works in the NO_NEXT case.
5087
5088 2003-03-04  Angus Leeming  <leeming@lyx.org>
5089
5090         * commandtags.h:
5091         * LyXAction.C: new LFUN_INSET_MODIFY.
5092
5093         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5094         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5095
5096 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5097
5098         * several files: ws changes only
5099
5100         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5101         (TeXEnvironment): ditto
5102         (TeXDeeper): ditto
5103
5104         * buffer.C (makeLaTeXFile): adjust
5105         (latexParagraphs): make it take ParagraphList::iterator as args
5106
5107 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * buffer.C (latexParagraphs): adjust
5110
5111         * paragraph.C (TeXOnePar): move function...
5112         (optArgInset): move function...
5113         (TeXEnvironment): move function...
5114         * paragraph_pimpl.C (TeXDeeper): move function...
5115         * paragraph_funcs.C: ...here
5116
5117         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5118
5119 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * buffer.C (readInset): remove compability code for old Figure and
5122         InsetInfo insets
5123
5124 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * buffer.C: ws changes
5127         (readInset):
5128
5129         * BufferView_pimpl.C: ditto
5130         * author.C: ditto
5131         * buffer.h: ditto
5132         * bufferlist.h: ditto
5133         * changes.h: ditto
5134         * lyxfunc.C: ditto
5135
5136 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5137
5138         * converter.[Ch]: split into itself +
5139         * graph.[Ch]
5140         * format.[Ch]
5141         * Makefile.am: += graph.[Ch] + format.[Ch]
5142         * MenuBackend.C
5143         * buffer.C
5144         * exporter.C
5145         * importer.C
5146         * lyx_main.C
5147         * lyxfunc.C
5148         * lyxrc.C: added #include "format.h"
5149
5150 2003-02-27  Angus Leeming  <leeming@lyx.org>
5151
5152         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5153           a label.
5154
5155         * factory.C (createInset): add "label" to the factory.
5156
5157         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5158           string and do no more.
5159
5160 2003-02-27  Angus Leeming  <leeming@lyx.org>
5161
5162         * commandtags.h:
5163         * LyXAction.C (init):
5164         * factory.C (createInset):
5165         * BufferView_pimpl.C (dispatch):
5166           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5167
5168         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5169
5170         * lyxfunc.C (dispatch):
5171         * text3.C (dispatch): pass name to params2string.
5172
5173 2003-02-26  Angus Leeming  <leeming@lyx.org>
5174
5175         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5176           blocks together.
5177           Rearrange the ~includes. Strip out the unnecessary ones.
5178
5179         * factory.C (createInset): reformat.
5180           create new insets for the various LFUN_XYZ_APPLY lfuns.
5181
5182 2003-02-26  John Levon  <levon@movementarian.org>
5183
5184         * lyxrow.h:
5185         * lyxrow.C: add isParStart,isParEnd helpers
5186
5187         * paragraph.h: make isInserted/DeletedText take refs
5188
5189         * paragraph_funcs.h:
5190         * paragraph_funcs.C: remove #if 0'd code
5191
5192         * lyxtext.h:
5193         * text3.C:
5194         * text2.C:
5195         * text.C: use lyxrow helpers above.
5196           Move draw and paint routines to RowPainter.
5197           Make several methods use refs not pointers.
5198           Make backgroundColor() const.
5199           Add markChangeInDraw(), isInInset().
5200           Merge changeRegionCase into changeCase.
5201           Make workWidth() shouldn't-happen code into an Assert.
5202
5203         * rowpainter.h:
5204         * rowpainter.C: new class for painting a row.
5205
5206         * vspace.h:
5207         * vspace.C: make inPixels take a ref
5208
5209 2003-02-26  Angus Leeming  <leeming@lyx.org>
5210
5211         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5212         LFUN_REF_APPLY.
5213
5214 2003-02-25  John Levon  <levon@movementarian.org>
5215
5216         * ispell.C: give the forked command a more accurate name
5217
5218 2003-02-22  John Levon  <levon@movementarian.org>
5219
5220         * toc.h:
5221         * toc.C: make TocItem store an id not a Paragraph *
5222           (bug #913)
5223
5224 2003-02-21  Angus Leeming  <leeming@lyx.org>
5225
5226         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5227           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5228           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5229           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5230           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5231           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5232
5233         * BufferView_pimpl.C (dispatch):
5234         * LyXAction.C (init):
5235         * factory.C (createInset):
5236         * lyxfunc.C (getStatus, dispatch):
5237         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5238
5239 2003-02-21  Angus Leeming  <leeming@lyx.org>
5240
5241         * BufferView_pimpl.C (MenuInsertLyXFile):
5242         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5243         * lyxfunc.C (menuNew, open, doImport):
5244           no longer pass a LyXView & to fileDlg.
5245
5246 2003-02-21  Angus Leeming  <leeming@lyx.org>
5247
5248         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5249         * LyXAction.C: change, BIBKEY to BIBITEM.
5250         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5251         Change InsetBibKey to InsetBibitem.
5252         Change BIBKEY_CODE to BIBITEM_CODE.
5253         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5254         * factory.C: replace insetbib.h with insetbibitem.h.
5255         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5256         * paragraph.C: replace insetbib.h with insetbibitem.h.
5257         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5258         Change bibkey() to bibitem().
5259         * text.C: remove insetbib.h.
5260         * text2.C: replace insetbib.h with insetbibitem.h.
5261         change bibkey() to bibitem().
5262         * text3.C: remove insetbib.h.
5263         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5264
5265 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5266
5267         * lyxrc.C (output): enclose user email in quotes (in case there are
5268         several words)
5269
5270 2003-02-18  John Levon  <levon@movementarian.org>
5271
5272         * buffer.h: add std::
5273
5274 2003-02-17  John Levon  <levon@movementarian.org>
5275
5276         * SpellBase.h:
5277         * ispell.h:
5278         * ispell.C:
5279         * pspell.h:
5280         * pspell.C: reworking. Especially in ispell, a large
5281           number of clean ups and bug fixes.
5282
5283         * lyxfunc.C: fix revert to behave sensibly
5284
5285 2003-02-17 André Pönitz <poenitz@gmx.net>
5286
5287         * LyXAction.C:
5288         * commandtags.h: new LFUN_INSERT_BIBKEY
5289
5290         * layout.h:
5291         * lyxlayout.C:
5292         * buffer.C:
5293         * factory.C:
5294         * text.C:
5295         * text2.C:
5296         * text3.C:
5297         * paragraph.[Ch]:
5298         * paragraph_func.C: remove special bibkey handling
5299
5300 2003-02-17  John Levon  <levon@movementarian.org>
5301
5302         * text.C (Delete): fix case where delete at the end of
5303           the very first paragraph would not merge the pars
5304
5305 2003-02-17  John Levon  <levon@movementarian.org>
5306
5307         * lyxrow.C: fix lastPrintablePos()
5308
5309 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5310
5311         * bufferparams.C (writeLaTeX): add a std:here
5312
5313         * buffer.C: and remove a using directive there
5314
5315 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5316
5317         * buffer.C (makeLaTeXFile): move the code that generates the
5318           preamble...
5319
5320         * bufferparams.C (writeLaTeX): ... in this new method
5321
5322         * LaTeXFeatures.C (getEncodingSet): make const
5323           (getLanguages): make const
5324
5325         * MenuBackend.C (binding): returns the binding associated to this
5326           action
5327           (add): sets the status of each item by calling getStatus. Adds
5328           some intelligence.
5329           (read): add support for OptSubMenu
5330           (expand): remove extra separator at the end of expanded menu
5331
5332 2003-02-15  John Levon  <levon@movementarian.org>
5333
5334         * BufferView.C:
5335         * BufferView_pimpl.C:
5336         * bufferlist.h:
5337         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5338           inset code that had no actual effect. Remove unneeded status
5339           code.
5340
5341 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5342
5343         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5344           in preamble
5345
5346 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5347
5348         * text.C (drawLengthMarker): also draw an arrow marker for
5349           symbolic lengths (medskip...)
5350
5351 2003-02-14  John Levon  <levon@movementarian.org>
5352
5353         * tabular.h:
5354         * tabular.C: better method names
5355
5356 2003-02-14  John Levon  <levon@movementarian.org>
5357
5358         * BufferView_pimpl.C:
5359         * bufferlist.C:
5360         * buffer.C:
5361         * converter.C:
5362         * lyx_cb.C:
5363         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5364           it's a more accurate name. Remove some pointless uses.
5365
5366 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5367
5368         * text2.C (LyXText): change order of initilizers to shut off
5369           warnings
5370
5371 2003-02-14  John Levon  <levon@movementarian.org>
5372
5373         * buffer.C: use ParIterator for getParFromID()
5374
5375         * paragraph.h:
5376         * paragraph.C:
5377         * paragraph_pimpl.h:
5378         * paragraph_pimpl.C: remove unused getParFromID()
5379
5380 2003-02-14  John Levon  <levon@movementarian.org>
5381
5382         * buffer.C: remove some very old #if 0'd parse code
5383
5384 2003-02-13  John Levon  <levon@movementarian.org>
5385
5386         * text.h:
5387         * text.C:
5388         * text2.C: move hfillExpansion(), numberOfSeparators(),
5389           rowLast(), rowLastPrintable(), numberofHfills(),
5390           numberOfLabelHfills() ...
5391
5392         * lyxrow.h:
5393         * lyxrow.C: ... to member functions here.
5394
5395         * paragraph.h:
5396         * paragraph.C:
5397         * lyxtext.h:
5398         * text.C: remove LyXText::beginningOfMainBody(), and call
5399           p->beginningOfMainBody() directly. Move the check for
5400           LABEL_MANUAL into the latter.
5401
5402         * text.h:
5403         * text.C:
5404         * text2.C:
5405         * vspace.C:
5406         * BufferView.h:
5407         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5408
5409         * text.h:
5410         * text.C:
5411         * text2.C:
5412         * text3.C:
5413         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5414           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5415
5416 2003-02-13  John Levon  <levon@movementarian.org>
5417
5418         * CutAndPaste.C: remove debug
5419
5420 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5421
5422         * paragraph.C (asString): remove two unused variables
5423
5424         * lyxtextclass.C (readTitleType):
5425           (Read):
5426           (LyXTextClass): handle new members titletype_ and titlename_
5427
5428         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5429
5430 2003-02-09  John Levon  <levon@movementarian.org>
5431
5432         * buffer.h:
5433         * buffer.C: replace hand-coded list with a map for the dep clean
5434
5435 2003-02-08  John Levon  <levon@movementarian.org>
5436
5437         * LaTeX.C: consolidate code into showRunMessage() helper
5438
5439 2003-02-08  John Levon  <levon@movementarian.org>
5440
5441         * lyxfind.C:
5442         * lyxtext.h:
5443         * text2.C:
5444         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5445           and pass the size in explicitly
5446
5447         * BufferView_pimpl.h:
5448         * BufferView_pimpl.C:
5449         * BufferView.h:
5450         * BufferView.C: add getCurrentChange()
5451
5452         * BufferView_pimpl.h:
5453         * BufferView_pimpl.C: handle change lfuns
5454
5455         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5456           for changes. Mark pasted paragraphs as new.
5457
5458         * support/lyxtime.h:
5459         * support/lyxtime.C:
5460         * DepTable.C: abstract time_t as lyx::time_type
5461
5462         * LColor.h:
5463         * LColor.C: add colours for new text, deleted text, changebars
5464
5465         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5466           package use "usenames" option.
5467
5468         * commandtags.h:
5469         * lyxfunc.C:
5470         * LyXAction.C: add change lfuns
5471
5472         * Makefile.am:
5473         * author.h:
5474         * author.C: author handling
5475
5476         * buffer.h:
5477         * buffer.C: add a per-buffer author list, with first entry as
5478           current author. Handle new .lyx tokens for change tracking. Output
5479           author list to .lyx file. Output dvipost stuff to .tex preamble.
5480           Bump lyx format to 222.
5481
5482         * bufferlist.h:
5483         * bufferlist.C: add setCurrentAuthor() to reset current author details
5484           in all buffers.
5485
5486         * bufferparams.h:
5487         * bufferparams.C: add param for tracking
5488
5489         * bufferview_funcs.C: output change info in minibuffer
5490
5491         * Makefile.am:
5492         * changes.h:
5493         * changes.C: add change-tracking structure
5494
5495         * debug.h:
5496         * debug.C: add CHANGES debug flag
5497
5498         * lyxfind.h:
5499         * lyxfind.C: add code for finding the next change piece
5500
5501         * lyxrc.h:
5502         * lyxrc.C: add user_name and user_email
5503
5504         * lyxrow.h:
5505         * lyxrow.C: add a metric for the top of the text line
5506
5507         * lyxtext.h:
5508         * text.C: implement accept/rejectChange()
5509
5510         * lyxtext.h:
5511         * text.C: paint changebars. Paint new/deleted text in the chosen
5512         colours. Strike through deleted text.
5513
5514         * paragraph.h:
5515         * paragraph.C:
5516         * paragraph_pimpl.h:
5517         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5518           in the current change to the insert functions. Rework erase to
5519           mark text as deleted, adding an eraseIntern() and a range-based
5520           erase(). Implement per-paragraph change lookup and
5521           accept/reject.
5522
5523         * paragraph_funcs.C: Fixup paste for change tracking.
5524
5525         * tabular.C: mark added row/columns as new.
5526
5527         * text.C: fix rowLast() to never return -1. Don't allow
5528           spellchecking of deleted text. Track transpose changes. Don't
5529           allow paragraph break or merge where appropriate.
5530
5531         * text2.C: leave cursor at end of selection after a cut.
5532
5533 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5534
5535         * text.C (getLengthMarkerHeight):
5536         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5537         visible on screen too.
5538
5539 2003-02-07  John Levon  <levon@movementarian.org>
5540
5541         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5542
5543 2003-02-05  Angus Leeming  <leeming@lyx.org>
5544
5545         * lyxserver.C (read_ready): revert my patch of 11 September last year
5546         as it sends PC cpu through the roof. Presumably this means that
5547         the lyxserver will no longer run on an Alpha...
5548
5549 2003-01-30  Angus Leeming  <leeming@lyx.org>
5550
5551         * factory.C (createInset): create an InsetCommandParam of type "index"
5552         and use it to 'do the right thing'.
5553
5554         * text2.C (getStringToIndex): ensure that cursor position is always
5555         reset to the reset_cursor position.
5556
5557 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5558
5559         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5560         disabled.
5561
5562 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5563
5564         * bufferview.C:
5565         * lyxcb.C:
5566         * lyxfunc.C: Output messages with identical spelling, punctuation,
5567         and spaces
5568
5569 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5570
5571         * MenuBackend.C (expandFormats): List only viewable export formats
5572         in "View" menu
5573
5574         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5575         message
5576
5577         * lyxfunc.C (getStatus): Make sure that formats other than
5578         "fax" can also be disabled
5579
5580 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5581
5582         * text3.C (dispatch): put the lfuns that insert insets in 3
5583         groups, and call doInsertInset with appropriate arguments.
5584         (doInsertInset): new function, that creates an inset and inserts
5585         it according to some boolean parameters.
5586
5587 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5588
5589         * buffer.C (readFile): remember to pass on 'par' when calling
5590         readFile recursively.
5591
5592 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5593
5594         * MenuBackend.C (expandFormats): add "..." to import formats.
5595
5596 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5597
5598         * paragraph.C (asString): Remove XForms RTL hacks.
5599
5600 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5601         * buffer.C: fix typo
5602
5603 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * Makefile.am (LIBS): delete var
5606         (lyx_LDADD): add @LIBS@ here instead.
5607
5608 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5609
5610         * Clarify the meaning of "wheel mouse jump"
5611
5612 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5613
5614         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5615         tabular in a float
5616
5617 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5618
5619         * importer.C (Loaders): do not preallocate 3 elements in the
5620         vector, since one ends up with 6 elements otherwise
5621
5622 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5623
5624         * DepTable.C (write): write the file name as last element of the
5625         .dep file (because it may contain spaces)
5626         (read): read info in the right order
5627
5628 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5629
5630         * paragraph_pimpl.C (simpleTeXBlanks):
5631         (simpleTeXSpecialChars):
5632         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5633
5634         * tabular.C (latex): add some missing case statements. Reindent.
5635
5636         * MenuBackend.C (expandToc): remove unused variable.
5637
5638 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5639
5640         * LColor.C:
5641         * LaTeX.C:
5642         * LyXAction.C:
5643         * MenuBackend.C:
5644         * buffer.C:
5645         * exporter.C:
5646         * lyxfunc.C:
5647         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5648         and the like.
5649
5650 2003-01-05  John Levon  <levon@movementarian.org>
5651
5652         * BufferView.h:
5653         * BufferView.C: add getEncoding()
5654
5655         * kbsequence.h:
5656         * kbsequence.C: do not store last keypress
5657
5658         * lyxfunc.h:
5659         * lyxfunc.C: store last keypress here instead. Pass encoding
5660           to getISOEncoded()
5661
5662 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5663
5664         * lyx_main.C (init): remove annoying error message when following
5665         symbolic links (bug #780)
5666
5667 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5668
5669         * text.C (insertChar):
5670         * lyxrc.C (getDescription): remove extra spaces
5671
5672 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5673
5674         * lyxrc.C (getDescription): remove extra spaces
5675
5676 2002-12-20  John Levon  <levon@movementarian.org>
5677
5678         * text3.C: hack fix for page up/down across tall rows
5679
5680 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5681
5682         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5683         not been invoked
5684
5685 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5686
5687         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5688         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5689         thesaurus is not compiled in
5690
5691 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5692
5693         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5694
5695 2002-12-16  Angus Leeming  <leeming@lyx.org>
5696
5697         * lyxrc.[Ch]:
5698         * lyx_main.C (init): remove override_x_deadkeys stuff.
5699
5700 2002-12-12  John Levon  <levon@movementarian.org>
5701
5702         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5703           insert. Only remove shift modifier under strict
5704           circumstances.
5705
5706 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * MenuBackend.C (expandToc): fix crash.
5709
5710 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5711
5712         * MenuBackend.C (expandToc): gettext on float names.
5713
5714 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5715
5716         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5717         implement bool empty() [bug 490]
5718
5719 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5722
5723 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5724
5725         * several files: ws changes
5726
5727 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * text2.C (setCounter): clean up a bit, use boost.format.
5730         (updateCounters): initialize par upon declaration.
5731
5732         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5733         if the layout exists. We do not just store the layout any more.
5734         (SwitchLayoutsBetweenClasses): use boost.format
5735
5736 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5737
5738         * converter.C (convert): if from and to files are the same, use a
5739         temporary files as intermediary
5740
5741 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5742
5743         * commandtags.h:
5744         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5745
5746 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5747
5748         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5749
5750 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * tabular.C (asciiPrintCell): use string(size, char) instead of
5753         explicit loop.
5754
5755         * sgml.C (openTag): fix order of arguments to string constructor
5756         (closeTag): ditto
5757
5758         * lyxfunc.C (dispatch): use boost.format
5759
5760         * lots of files: change "c" -> 'c'
5761
5762 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5763
5764         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5765
5766 2002-11-25  Angus Leeming  <leeming@lyx.org>
5767
5768         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5769
5770         * lyx_main.C (init): compile fix.
5771
5772 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * lyx_cb.C (start): boost.formatify
5775         do not include <iostream>
5776
5777         * lengthcommon.C: ws only
5778
5779         * boost-inst.C,BoostFormat.h: add more explict instantations
5780
5781 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * lots of files: handle USE_BOOST_FORMAT
5784
5785 2002-11-21  John Levon  <levon@movementarian.org>
5786
5787         * pspell.C: fix compile
5788
5789 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5790
5791         * lyxfunc.C (dispatch): use boost::format
5792         (open): ditto
5793         (doImport): ditto
5794
5795         * lyxfont.C (stateText): use boost::format
5796
5797         * lyx_main.C (LyX): use boost::format
5798         (init): ditto
5799         (queryUserLyXDir): ditto
5800         (readRcFile): ditto
5801         (parse_dbg): ditto
5802         (typedef boost::function): use the recommened syntax.
5803
5804         * importer.C (Import): use boost::format
5805
5806         * debug.C (showLevel): use boost::format
5807
5808         * converter.C (view): use boost::format
5809         (convert): ditto
5810         (move): ditto
5811         (scanLog): ditto
5812
5813         * bufferview_funcs.C (currentState): use boost::format
5814
5815         * bufferlist.C (emergencyWrite): use boost::format
5816
5817         * buffer.C (readLyXformat2): use boost::format
5818         (parseSingleLyXformat2Token): ditto
5819
5820         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5821
5822         * LaTeX.C (run): use boost::format
5823
5824         * Chktex.C (scanLogFile): use boost::format
5825
5826         * BufferView_pimpl.C (savePosition): use boost::format
5827         (restorePosition): ditto
5828         (MenuInsertLyXFile): ditto
5829
5830         * BoostFormat.h: help file for explicit instation.
5831
5832 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5833
5834         * tabular.C (latex): Support for block alignment in fixed width
5835         columns.
5836
5837 2002-11-17  John Levon  <levon@movementarian.org>
5838
5839         * BufferView_pimpl.C:
5840         * lyx_cb.C:
5841         * lyxfunc.C: split filedialog into open/save
5842
5843 2002-11-08  Juergen Vigna  <jug@sad.it>
5844
5845         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5846         by my last patch (hopefully).
5847
5848 2002-11-08  John Levon  <levon@movementarian.org>
5849
5850         * iterators.h:
5851         * iterators.C:
5852         * buffer.h:
5853         * buffer.C:
5854         * paragraph.h:
5855         * paragraph.C:
5856         * toc.h:
5857         * toc.C: ParConstIterator, and use it (from Lars)
5858
5859 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5860
5861         * lyxtextclass.[Ch]: revise and add doxygen comments
5862
5863 2002-11-07  John Levon  <levon@movementarian.org>
5864
5865         * text.C: fix progress value for spellchecker
5866
5867         * toc.C: fix navigate menu for insetwrap inside minipage
5868
5869         * paragraph_funcs.C: added FIXME for suspect code
5870
5871 2002-11-07  John Levon  <levon@movementarian.org>
5872
5873         * BufferView_pimpl.C: fix redrawing of insets
5874           on buffer switch
5875
5876 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5877
5878         * text2.C (updateCounters): fix bug 668
5879
5880 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5881
5882         * text3.C (dispatch): Do not make the buffer dirty when moving the
5883         cursor.
5884
5885 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5886
5887         * vc-backend.C: STRCONV
5888         (scanMaster): ditto
5889
5890         * text2.C (setCounter): STRCONV
5891
5892         * paragraph.C (asString): STRCONV
5893
5894         * lyxlength.C (asString): STRCONV
5895         (asLatexString): ditto
5896
5897         * lyxgluelength.C (asString): STRCONV
5898         (asLatexString): ditto
5899
5900         * lyxfunc.C (dispatch): STRCONV
5901         (open): ditto
5902
5903         * lyxfont.C (stateText): STRCONV
5904
5905         * importer.C (Import): STRCONV
5906
5907         * counters.C (labelItem): STRCONV
5908         (numberLabel): ditto
5909         (numberLabel): remove unused ostringstream o
5910
5911         * chset.C: STRCONV
5912         (loadFile): ditto
5913
5914         * bufferview_funcs.C (currentState): STRCONV
5915
5916         * buffer.C (readFile): STRCONV
5917         (asciiParagraph): ditto
5918         (makeLaTeXFile): ditto
5919
5920         * Spacing.C (writeEnvirBegin): STRCONV
5921
5922         * LaTeXFeatures.C (getLanguages): STRCONV
5923         (getPackages): ditto
5924         (getMacros): ditto
5925         (getBabelOptions): ditto
5926         (getTClassPreamble): ditto
5927         (getLyXSGMLEntities): ditto
5928         (getIncludedFiles): ditto
5929
5930         * LaTeX.C: STRCONV
5931         (run): ditto
5932         (scanAuxFile): ditto
5933         (deplog): ditto
5934
5935         * LString.h: add the STRCONV macros
5936
5937         * BufferView_pimpl.C (savePosition): STRCONV
5938         (restorePosition): ditto
5939         (MenuInsertLyXFile): ditto
5940
5941         * vc-backend.C (scanMaster): change from submatch[...] to
5942         submatch.str(...)
5943
5944         * funcrequest.C: include config.h
5945
5946         * factory.C: include config.h
5947
5948         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5949
5950         * box.C: include config.h
5951
5952         * LaTeX.C (scanAuxFile): change from submatch[...] to
5953         submatch.str(...)
5954         (deplog): ditto
5955
5956 2002-10-25  Angus Leeming  <leeming@lyx.org>
5957
5958         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5959
5960         * ispell.[Ch] (setError): new method.
5961         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5962         Use setError() insetead of goto END.
5963
5964         * lyx_cb.C (AutoSave): move out child process into new class
5965         AutoSaveBuffer.
5966
5967 2002-10-30  John Levon  <levon@movementarian.org>
5968
5969         * text3.C: make start appendix undoable
5970
5971 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5972
5973         * lyxlength.C (inPixels): Fix returned value.
5974
5975         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5976         environment.
5977
5978 2002-10-24  Angus Leeming  <leeming@lyx.org>
5979
5980         * lyxgluelength.h: no need to forward declare BufferParams
5981         or BufferView, so don't.
5982
5983 2002-10-21  John Levon  <levon@movementarian.org>
5984
5985         * BufferView.C: menuUndo ->undo, redo
5986
5987         * BufferView.h: document, remove dead, make some methods private
5988
5989         * paragraph_funcs.h:
5990         * paragraph_funcs.C:
5991         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5992
5993         * buffer.h:
5994         * buffer.C:
5995         * sgml.h:
5996         * sgml.C: move sgml open/close tag into sgml.C
5997
5998         * bufferview_funcs.h: unused prototype
5999
6000         * lyxfunc.h:
6001         * lyxfunc.C: remove unused
6002
6003         * lyxtext.h:
6004         * text.C: remove unused
6005
6006 2002-10-21  John Levon  <levon@movementarian.org>
6007
6008         * BufferView.h:
6009         * BufferView.C:
6010         * BufferView_pimpl.h:
6011         * BufferView_pimpl.C: fix mouse wheel handling based on
6012           patch from Darren Freeman
6013
6014 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6015
6016         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6017
6018 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6019
6020         * lyxlength.C (inPixels): Fix hanfling of negative length.
6021         Fix LyXLength::MU case.
6022
6023 2002-10-16  John Levon  <levon@movementarian.org>
6024
6025         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6026
6027 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6028
6029         * converter.C (view): add support for $$i (file name) and $$p
6030         (file path) for the viewer command. If $$i is not specified, then
6031         it is appended to the command (for compatibility with old syntax)
6032
6033 2002-10-14  Juergen Vigna  <jug@sad.it>
6034
6035         * undo_funcs.C (textHandleUndo): alter the order in which the
6036         new undopar is added to the LyXText, as we have to set first
6037         the right prev/next and then add it as otherwise the rebuild of
6038         LyXText is not correct. Also reset the cursor to the right paragraph,
6039         with this IMO we could remove the hack in "redoParagraphs()".
6040
6041 2002-10-09  Angus Leeming  <leeming@lyx.org>
6042
6043         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6044         to turn off an optimisation if a new inset is to be inserted.
6045
6046 2002-10-11 André Pönitz <poenitz@gmx.net>
6047
6048         * lyxtext.h: make some functions public to allow access
6049         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6050
6051 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6052
6053         * text3.C (dispatch): when changing layout, avoid an infinite loop
6054         [bug #652]
6055
6056 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6057
6058         * lyxrc.C (read): treat a viewer or converter command of "none" as
6059         if it were empty.
6060
6061         * MenuBackend.C (expandFormats): for an update, also allow the
6062         formats that are not viewable
6063
6064         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6065         script if it is newer than the lyxrc.defaults in user directory
6066
6067 2002-10-07 André Pönitz <poenitz@gmx.net>
6068
6069         * text.C: Vitaly Lipatov's small i18n fix
6070
6071 2002-09-25  Angus Leeming  <leeming@lyx.org>
6072
6073         * ispell.h: doxygen fix.
6074
6075 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6076
6077         * buffer.h (readFile): Add a new argument to the method, to allow
6078         reading of old-format templates.
6079
6080 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6081
6082         * toc.C (getTocList): Get TOC from InsetWrap.
6083
6084 2002-09-16  John Levon  <levon@movementarian.org>
6085
6086         * lyxfunc.C: check tabular for cut/copy too
6087
6088 2002-09-12  John Levon  <levon@movementarian.org>
6089
6090         * LyXAction.C: tidy
6091
6092         * factory.h:
6093         * factory.C: add header
6094
6095         * paragraph_funcs.h:
6096         * paragraph_funcs.C: cleanup
6097
6098 2002-09-11  John Levon  <levon@movementarian.org>
6099
6100         * PrinterParams.h: odd/even default to true
6101
6102 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6103
6104         * PrinterParams.h: update printer parameters for new xforms dialog
6105
6106 2002-09-11  Angus Leeming  <leeming@lyx.org>
6107
6108         * lyxserver.C (read_ready): re-write to make it more transparent
6109         and to make it work in coherent fashion under Tru64 Unix.
6110
6111 2002-09-11  André Pönitz <poenitz@gmx.net>
6112
6113         * commandtags.h:
6114         * LyXAction.C:
6115         * text3.C: implement LFUN_WORDSEL
6116
6117 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6118
6119         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6120         make floatlist_ a boost::shared_ptr<FloatList>
6121
6122         * lyxtextclass.C: include FloatList.h
6123         (LyXTextClass): initialize floatlist_
6124         (TextClassTags): add TC_NOFLOAT
6125         (Read): match "nofloat" to TC_NOFLOAT and use it.
6126         (readFloat): modify call to floatlist_
6127         (floats): ditto
6128         (floats): ditto
6129
6130         * FloatList.[Ch] (FloatList): remove commented out float
6131         initialization.
6132         (erase): new function
6133
6134 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6135
6136         * MenuBackend.C (expandToc): fix crash when there is no document
6137         open
6138
6139 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6140
6141         * many files: Add insetwrap.
6142
6143 2002-09-09  John Levon  <levon@movementarian.org>
6144
6145         * text2.C: remove confusing and awkward depth wraparound
6146
6147 2002-09-09  John Levon  <levon@movementarian.org>
6148
6149         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6150
6151         * buffer.h:
6152         * buffer.C: remove getIncludeonlyList()
6153
6154         * paragraph.C:
6155         * lyxfunc.C: remove headers
6156
6157 2002-09-09  Juergen Vigna  <jug@sad.it>
6158
6159         * text.C (getColumnNearX): fix form Michael this is most
6160         probably a cut&paste bug.
6161
6162 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6165
6166         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6167         references, ws changes.
6168
6169         * text2.C (init): update counters after init
6170         (insertParagraph): no need to set counter on idividual paragraphs.
6171         (setCounter): access the counters object in the textclass object
6172         on in the buffer object.
6173         (updateCounters): ditto
6174
6175         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6176         shared_ptr<Counters> to avoid loading counters.h in all
6177         compilation units.
6178         (LyXTextClass): initialize ctrs_
6179         (TextClassTags): add TC_COUNTER, and ...
6180         (Read): use it here.
6181         (CounterTags): new tags
6182         (readCounter): new function
6183         (counters): new funtion
6184         (defaultLayoutName): return a const reference
6185
6186         * counters.C (Counters): remove contructor
6187         (newCounter): remove a couple of unneeded statements.
6188         (newCounter): simplify a bit.
6189         (numberLabel): some small formatting changes.
6190
6191         * buffer.[Ch]: remove all traces of counters, move the Counters
6192         object to the LyXTextClass.
6193
6194 2002-09-06  Alain Castera  <castera@in2p3.fr>
6195
6196         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6197         package to set the horizontal alignment on fixed width columns.
6198
6199         * lyx_sty.C:
6200         * lyx_sty.h: added tabularnewline macro def.
6201
6202         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6203
6204 2002-09-06  John Levon  <levon@movementarian.org>
6205
6206         * LyXAction.C: tooltips for sub/superscript
6207
6208         * MenuBackend.C: a bit more verbose
6209
6210         * lyxfunc.C: tiny clean
6211
6212         * undo_funcs.C: document undo_frozen
6213
6214 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6215
6216         * counters.C (Counters): add missing algorithm counter.
6217
6218         * text2.C (setCounter): lookup the counter with layouts latexname
6219         instead of by section number.
6220         (setCounter): use a hackish way to lookup the correct enum
6221         counter.
6222         a float name->type change
6223         reset enum couners with counter name directly instead of depth value.
6224
6225         * counters.C (Counters): remove the push_backs, change to use the
6226         float type not the float name.
6227         (labelItem): remove unused string, float name->type change
6228
6229         * counters.h: don't include vector, loose the enums and sects vectors
6230
6231 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6234         (Read): add float->TC_FLOAT to textclassTags
6235         (Read): and handle it in the switch
6236         (readFloat): new function
6237
6238         * FloatList.C (FloatList): comment out the hardcoded float
6239         definitions.
6240
6241         * lyxlayout.h: ws change.
6242
6243 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6244
6245         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6246
6247 2002-09-03  Angus Leeming  <leeming@lyx.org>
6248
6249         * BufferView_pimpl.h: qualified name is not allowed in member
6250         declaration: WorkArea & Pimpl::workarea() const;
6251
6252         * factory.C: added using std::endl directive.
6253
6254         * text3.C: added using std::find and std::vector directives.
6255
6256 2002-08-29  André Pönitz <poenitz@gmx.net>
6257
6258         * lyxtext.h:
6259         * text2.C: remove unused member number_of_rows
6260
6261         * Makefile.am:
6262         * BufferView2.C: remove file, move contents to...
6263         * BufferView.C: ... here
6264
6265         * BufferView_pimpl.C:
6266         * factory.C: move more inset creation to factory
6267
6268         * vspace.C: avoid direct usage of LyXText, ws changes
6269
6270         * BufferView.[Ch]:
6271                 don't provide direct access to WorkArea, use two simple
6272                 acessors haveSelction() and workHeight() instead
6273
6274
6275 2002-08-29  John Levon  <levon@movementarian.org>
6276
6277         * BufferView_pimpl.C (dispatch): do not continue when
6278           no buffer
6279
6280 2002-08-28  André Pönitz <poenitz@gmx.net>
6281
6282         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6283
6284         * BufferView.h:
6285         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6286
6287 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6288
6289         * buffer.C: increment LYX_FORMAT to 221
6290
6291         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6292         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6293
6294         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6295
6296         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6297
6298 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6299
6300         * factory.C (createInset): use LyXTextClass::floats
6301
6302         * MenuBackend.C (expandFloatListInsert):
6303         (expandFloatInsert):
6304         (expandToc):
6305
6306         * text2.C (setCounter):
6307
6308         * LaTeXFeatures.C (useFloat):
6309         (getFloatDefinitions):
6310
6311         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6312
6313         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6314         floatlist_, with accessor floats().
6315
6316         * FloatList.h: remove global FloatList
6317
6318 2002-08-26  André Pönitz <poenitz@gmx.net>
6319
6320         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6321
6322         * BufferView.h:
6323         * BufferView2.C:
6324         * BufferView_pimpl.C:
6325         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6326
6327 2002-08-25  John Levon  <levon@movementarian.org>
6328
6329         * LyXAction.C: fix margin note description
6330
6331 2002-08-24  John Levon  <levon@movementarian.org>
6332
6333         * buffer.C:
6334         * bufferlist.C:
6335         * bufferview_funcs.C:
6336         * lyxfont.C:
6337         * undo_funcs.C: cleanups
6338
6339         * lyxfunc.C: disable CUT/COPY when no selection
6340
6341 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6342
6343         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6344         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6345
6346         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6347         Add backward compatibility to "mono", "gray" and "no".
6348
6349 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6350
6351         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6352         (and file_format >= 200).
6353
6354 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6355
6356         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6357
6358 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6359
6360         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6361
6362 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6363
6364         * BufferView_pimpl.C:
6365         * LyXAction.C:
6366         * buffer.C:
6367         * commandtags.h:
6368         * lyxfunc.C:
6369         * paragraph.[Ch]:
6370         * text2.C:
6371         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6372         inset and code to make it  work with the paragraph code. The inset
6373         can be anywhere in the paragraph, but will only do the expected
6374         thing in LaTeX if the layout file contains the parameter line
6375                         OptionalArgs    1
6376         (or more generally, a nonzero value) for that layout.
6377
6378 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * paragraph.h: remove the declaration of undefined counters class
6381         function.
6382
6383 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6384
6385         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6386         Dr. Richard Hawkins.
6387
6388 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6389
6390         * paragraph_funcs.h: remove some unneeded includes
6391
6392         * text.C (backspace): pasteParagraph now in global scipe
6393
6394         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6395         (pasteSelection): ditto
6396
6397         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6398         * paragraph_funcs.C (pasteParagraph): ... here
6399
6400 2002-08-20  André Pönitz <poenitz@gmx.net>
6401
6402         * commandtags.h: new LFUNs for swapping/copying table row/colums
6403
6404         * LyXAction.C:
6405         * lyxfunc.C: support for new lfuns
6406
6407 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * tabular.C:
6410         * buffer.[Ch]: remove NO_COMPABILITY stuff
6411
6412 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * boost.C (throw_exception): new file, with helper function for
6415         boost compiled without exceptions.
6416
6417         * paragraph.h:
6418         * lyxlength.C:
6419         * buffer.C:
6420         * ParameterStruct.h:
6421         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6422
6423         * bufferlist.C (emergencyWriteAll): use boost bind
6424
6425         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6426
6427         * text.C: include paragraph_funcs.h
6428         (breakParagraph): breakParagraph is now in global scope
6429
6430         * paragraph_funcs.[Ch]: new files
6431
6432         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6433         global scope
6434
6435         * buffer.C: include paragraph_funcs.h
6436         (insertStringAsLines): breakParagraph is now in global scope
6437
6438         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6439         paragraph_funcs.C
6440
6441         * CutAndPaste.C: include paragraph_funcs.h
6442         (cutSelection): breakParagraphConservative is now in global scope
6443         (pasteSelection): ditto
6444
6445         * buffer.h: declare oprator== and operator!= for
6446         Buffer::inset_iterator
6447
6448         * bufferlist.C (emergencyWrite): don't use fmt(...)
6449
6450         * text3.C: add using std::endl
6451
6452         * BufferView.C (moveCursorUpdate): remove default arg
6453
6454 2002-08-20  André Pönitz <poenitz@gmx.net>
6455
6456         * buffer.[Ch]: move inline functions to .C
6457
6458         * BufferView2.C:
6459         * BufferView_pimpl.C:
6460         * text.C:
6461         * buffer.[Ch]: use improved inset_iterator
6462
6463         * buffer.C:
6464         * paragraph.[Ch]: write one paragraph at a time
6465
6466 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6467
6468         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6469         style if style is not specified.
6470
6471 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6472
6473         * text2.C (setCounter): when searching for right label for a
6474         caption, make sure to recurse to parent insets (so that a caption
6475         in a minipage in a figure float works) (bug #568)
6476
6477 2002-08-20  André Pönitz <poenitz@gmx.net>
6478
6479         * text3.C: new file for LyXText::dispatch() and helpers
6480
6481         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6482
6483         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6484
6485 2002-08-19  André Pönitz <poenitz@gmx.net>
6486
6487         * lyxtext.h:
6488         * text.C: new LyXText::dispatch()
6489
6490         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6491
6492 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6493
6494         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6495
6496         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6497         Hebrew text.
6498
6499 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6500
6501         * Makefile.am: use $(variables) instead of @substitutions@
6502
6503 2002-08-15  André Pönitz <poenitz@gmx.net>
6504
6505         * lyxfunc.C:
6506         * BufferView_pimpl.C: streamlining mathed <-> outer world
6507         interaction
6508
6509         * commandtags.h:
6510         * LyXAction.C: remove unused LFUN_MATH
6511
6512 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6515
6516 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * paragraph.C (Paragraph): reformat a bit
6519         (cutIntoMinibuffer): use builtin InsetList function instad of
6520         doing it manually.
6521         (getInset): ditto
6522
6523         * buffer.C: include boost/bind.hpp, add using std::for_each
6524         (writeFileAscii): use ParagraphList iterators
6525         (validate): use for_each for validate traversal of paragraphs
6526         (getBibkeyList): use ParagraphList iterators
6527         (resizeInsets): use for_each to resizeInsetsLyXText for all
6528         paragraphs.
6529         (getParFromID): use ParagraphList iterators
6530
6531         * BufferView2.C (lockInset): use paragraph list and iterators
6532
6533 2002-08-14  John Levon  <levon@movementarian.org>
6534
6535         * lyxserver.C: remove spurious xforms include
6536
6537 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6538
6539         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6540
6541 2002-08-13  André Pönitz <poenitz@gmx.net>
6542
6543         * LyXAction.[Ch]:
6544         * lyxfunc.C: further cleaning
6545
6546 2002-08-13  André Pönitz <poenitz@gmx.net>
6547
6548         * funcrequest.h: new constructor
6549
6550         * funcrequest.C: move stuff here from .h
6551
6552         * Makefile.am:
6553         * BufferView_pimpl.C:
6554         * LyXAction.C:
6555         * toc.C:
6556         * lyxfunc.C: subsequent changes
6557
6558         * lyxfunc.h: new view() member function
6559
6560         * lyxfunc.C: subsequent changes
6561
6562 2002-08-13  Angus Leeming  <leeming@lyx.org>
6563
6564         * BufferView2.C:
6565         * BufferView_pimpl.C:
6566         * buffer.C:
6567         * converter.C:
6568         * importer.C:
6569         * lyxfunc.C:
6570         * lyxvc.C:
6571         * toc.C:
6572         * vc-backend.C:
6573         changes due to the changed LyXView interface that now returns references
6574         to member variables not pointers.
6575
6576 2002-08-13  Angus Leeming  <leeming@lyx.org>
6577
6578         * WordLangTuple (word, lang_code): return references to strings,
6579         not strings.
6580
6581         * BufferView.h:
6582         * SpellBase.h:
6583         * lyxtext.h: forward-declare WordLangTuple.
6584
6585         * BufferView2.C:
6586         * ispell.C:
6587         * pspell.C:
6588         * text.C: #include "WordLangTuple.h".
6589
6590         * lyxtext.h:
6591         * text.C: (selectNextWordToSpellcheck): constify return type.
6592
6593 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6594
6595         * buffer.C:
6596         * buffer.h:
6597         * lyxtext.h:
6598         * paragraph.C:
6599         * paragraph_pimpl.h:
6600         * text.C:
6601         * text2.C:
6602         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6603         suggested by Angus.
6604         Made updateCounter always count from start of buffer, and removed
6605         second argument (par).
6606         Reverted floats number display to '#'. Perhaps I'll try again when the
6607         code base is sanitized a bit.
6608
6609 2002-08-12  Angus Leeming  <leeming@lyx.org>
6610
6611         * buffer.[Ch] (getLabelList): constify.
6612
6613 2002-08-07  André Pönitz <poenitz@gmx.net>
6614
6615         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6616
6617         * funcrequest.h: extension to keep mouse (x,y) position
6618
6619 2002-08-12  Juergen Vigna  <jug@sad.it>
6620
6621         * BufferView2.C (insertErrors): forbid undo when inserting error
6622         insets.
6623
6624         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6625
6626 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6627
6628         * ParagraphList.[Ch]: new files
6629
6630         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6631
6632         * BufferView2.C (lockInset): ParagraphList changes
6633         * toc.C: ditto
6634         * text2.C: ditto
6635         * bufferlist.C: ditto
6636         * buffer.h: ditto
6637         * buffer.C: ditto
6638
6639 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6640
6641         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6642         unused class variable counter_,
6643
6644         * paragraph.[Ch] (getFirstCounter): delete unused function
6645
6646         * counters.C: include LAssert.h
6647         (reset): add a new function with no arg, change other version to
6648         not have def. arg and to not allow empty arg.
6649
6650         * text2.C (setCounter): remove empty arg from call to Counters::reset
6651
6652 2002-08-11  John Levon  <levon@movementarian.org>
6653
6654         * Makefile.am: add WordLangTuple.h
6655
6656 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6659         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6660
6661         * insets/insettext.C: InsetList changes
6662
6663         * graphics/GraphicsSupport.C (operator()): InsetList changes
6664
6665         * toc.C (getTocList): InsetList changes
6666
6667         * paragraph_pimpl.[Ch]: InsetList changes
6668
6669         * paragraph.[Ch]: InsetList changes
6670
6671         * buffer.C (inset_iterator): InsetList changes
6672         (setParagraph): ditto
6673         * buffer.h (inset_iterator): ditto
6674         * iterators.C (operator++): ditto
6675         * iterators.h: ditto
6676
6677         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6678
6679         * InsetList.[Ch]: new files, most InsetList handling moved out of
6680         paragraph.C.
6681
6682         * BufferView2.C (removeAutoInsets): InsetList changes
6683         (lockInset): ditto
6684         (ChangeInsets): ditto
6685
6686 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * paragraph_pimpl.h (empty): new function
6689
6690         * paragraph.[Ch] (empty): new function
6691
6692         * other files: use the new Paragraph::empty function
6693
6694 2002-08-09  John Levon  <levon@movementarian.org>
6695
6696         * lyxtext.h: remove unused refresh_height
6697
6698 2002-08-09  John Levon  <levon@movementarian.org>
6699
6700         * Makefile.am:
6701         * sgml.h:
6702         * sgml.C:
6703         * buffer.C:
6704         * paragraph.h:
6705         * paragraph.C: move sgml char escaping out of paragraph
6706
6707         * paragraph.h:
6708         * paragraph.C: remove id setter
6709
6710         * buffer.C:
6711         * paragraph.C:
6712         * paragraph_pimpl.C: remove dead tex_code_break_column
6713
6714         * bufferview_funcs.C: small cleanup
6715
6716         * lyxfunc.C: remove dead proto
6717
6718         * lyxtext.h: make some stuff private. Remove some dead stuff.
6719
6720         * lyxgluelength.C: make as[LyX]String() readable
6721
6722 2002-08-08  John Levon  <levon@movementarian.org>
6723
6724         * LyXAction.h:
6725         * LyXAction.C:
6726         * MenuBackend.C:
6727         * ToolbarDefaults.C:
6728         * lyxfunc.C:
6729         * lyxrc.C:
6730         * toc.C: lyxaction cleanup
6731
6732 2002-08-08  John Levon  <levon@movementarian.org>
6733
6734         * BufferView2.C: small cleanup
6735
6736         * lyxfind.h:
6737         * lyxfind.C: move unnecessary header into the .C
6738
6739 2002-08-08  John Levon  <levon@movementarian.org>
6740
6741         * funcrequest.h: just tedious nonsense
6742
6743         * lyx_main.h:
6744         * lyx_main.C: cleanups
6745
6746         * buffer.C:
6747         * vspace.C: remove dead header lyx_main.h
6748
6749 2002-08-07  Angus Leeming  <leeming@lyx.org>
6750
6751         * Paragraph.[Ch]:
6752         * paragraph_pimpl.h:
6753         Forward declare class Counters in paragraph.h by moving the ctrs member
6754         variable into Paragraph::Pimpl.
6755         (counters): new method, returning a reference to pimpl_->ctrs.
6756
6757         * text2.C: ensuing changes.
6758
6759 2002-08-07  John Levon  <levon@movementarian.org>
6760
6761         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6762
6763         * BufferView_pimpl.C: announce X selection on double/triple
6764           click
6765
6766         * lyx_main.C: use correct bool in batch dispatch
6767
6768         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6769
6770 2002-08-07  André Pönitz <poenitz@gmx.net>
6771
6772         * funcrequest.h: new class to wrap a kb_action and its argument
6773
6774         * BufferView.[Ch]:
6775         * BufferView_pimpl[Ch]:
6776         * LaTeX.C:
6777         * LyXAction.[Ch]:
6778         * lyxfunc.[Ch]:
6779         * lyxrc.C: subsequent changes
6780
6781
6782 2002-08-07  John Levon  <levon@movementarian.org>
6783
6784         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6785           document options change.
6786
6787 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6788
6789         * counters.[Ch]
6790         * text2.C
6791         * paragraph.[Ch]
6792         * makefile.am: move counters functionality over from
6793         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6794
6795 2002-08-06  John Levon  <levon@movementarian.org>
6796
6797         * WordLangTuple.h: new file for word + language code tuple
6798
6799         * SpellBase.h:
6800         * pspell.h:
6801         * pspell.C:
6802         * ispell.h:
6803         * ispell.C:
6804         * lyxtext.h:
6805         * text.C:
6806         * text2.C:
6807         * BufferView.h:
6808         * BufferView2.C: use WordLangTuple
6809
6810         * layout.h:
6811         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6812
6813 2002-08-06  John Levon  <levon@movementarian.org>
6814
6815         * lyx_main.C: fix cmdline batch handling
6816
6817 2002-08-06  André Pönitz <poenitz@gmx.net>
6818
6819         * lyxrc.C: set default for show_banner to true
6820
6821 2002-08-06  John Levon  <levon@movementarian.org>
6822
6823         * pspell.C: fix a crash, and allow new aspell to work
6824
6825 2002-08-06  John Levon  <levon@movementarian.org>
6826
6827         * lyxfunc.C:
6828         * kbmap.C: small cleanup
6829
6830         * vspace.h:
6831         * vspace.C: add const
6832
6833 2002-08-05  John Levon  <levon@movementarian.org>
6834
6835         * LyXAction.C: back to tabular-insert
6836
6837 2002-08-04  John Levon  <levon@movementarian.org>
6838
6839         * BufferView.h:
6840         * BufferView.C: cosmetic change
6841
6842         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6843
6844         * bufferlist.C:
6845         * buffer.h:
6846         * buffer.C:
6847         * lyxcb.h:
6848         * lyxcb.C:
6849         * lyxserver.C:
6850         * lyxvc.C:
6851         * vc-backend.C:
6852         * BufferView2.C: purge all "Lyx" not "LyX" strings
6853
6854         * lyxcursor.h:
6855         * lyxcursor.C: attempt to add some documentation
6856
6857         * lyxfunc.C:
6858         * commandtags.h:
6859         * LyXAction.C:
6860         * ToolbarDefaults.C:
6861         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6862           merge with LFUN_TABULAR_INSERT
6863
6864         * Makefile.am:
6865         * SpellBase.h:
6866         * ispell.h:
6867         * ispell.C:
6868         * pspell.h:
6869         * pspell.C: split up i/pspell implementations into separate
6870           files, many cleanups
6871
6872         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6873
6874         * text2.C: some cleanup
6875
6876         * lyxfunc.C: don't check for isp_command == "none" any more, it
6877           didn't make any sense
6878
6879 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6880
6881         * counters.[Ch]
6882         * text2.C
6883         * paragraph.[Ch]
6884         * makefile.am: move counters functionality over
6885         from text2.C/paragraph.[Ch] to counters.[Ch], and
6886         make proper C++.
6887 2002-08-02  John Levon  <levon@movementarian.org>
6888
6889         * buffer.C: s/lyxconvert/lyx2lyx/
6890
6891 2002-08-02  Angus Leeming  <leeming@lyx.org>
6892
6893         * lyxlex.C: revert John's change as it breaks reading of the user
6894         preamble.
6895
6896 2002-08-02  Angus Leeming  <leeming@lyx.org>
6897
6898         * importer.C (Import):
6899         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6900         changes due to LyXView::view() now returning a boost::shared_ptr.
6901
6902 2002-08-02  John Levon  <levon@movementarian.org>
6903
6904         * lyxlex.C: small cleanup
6905
6906 2002-08-02  John Levon  <levon@movementarian.org>
6907
6908         * text2.C (status): small cleanup, no logic change
6909
6910 2002-08-01  John Levon  <levon@movementarian.org>
6911
6912         * buffer.h:
6913         * buffer.C (writeFile): don't output alerts, caller
6914           handles this
6915
6916         * bufferlist.C:
6917         * lyx_cb.C: from above
6918
6919         * lyxfunc.C: allow to open non-existent files
6920
6921 2002-07-31  John Levon  <levon@movementarian.org>
6922
6923         * lyxserver.C: don't let incidental errors get
6924           in the way (errno)
6925
6926 2002-07-30  John Levon  <levon@movementarian.org>
6927
6928         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6929
6930 2002-07-30  John Levon  <levon@movementarian.org>
6931
6932         * lyxserver.h:
6933         * lyxserver.C: remove I/O callback too
6934
6935 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6936
6937         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6938         log.
6939
6940 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * many files: strip,frontStrip -> trim,ltrim,rtrim
6943
6944 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * PrinterParams.h: remove extern containsOnly, and include
6947         support/lstrings.h instead.
6948
6949         * LaTeX.C (scanAuxFile): modify because of strip changes
6950         (deplog): ditto
6951         * buffer.C (makeLaTeXFile): ditto
6952         * bufferparams.C (writeFile): ditt
6953         * lyxfont.C (stateText): ditto
6954         * lyxserver.C (read_ready): ditto
6955         * vc-backend.C (scanMaster): ditto
6956
6957         * BufferView_pimpl.h: ws changes
6958
6959         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6960
6961 2002-07-26  André Pönitz <poenitz@gmx.net>
6962
6963         * kb_sequence.C: remove unnedred usings
6964
6965 2002-07-26  Juergen Vigna  <jug@sad.it>
6966
6967         * lyxfind.C (LyXReplace): we have to check better if the returned
6968         text is not of theLockingInset()->getLockingInset().
6969
6970 2002-07-25  Juergen Vigna  <jug@sad.it>
6971
6972         * lyxfind.C (LyXReplace): don't replace if we don't get the
6973         right LyXText.
6974
6975         * undo_funcs.C (createUndo): remove debugging code.
6976
6977 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6978
6979         * buffer.C (parseSingleLyXformat2Token): Use default placement
6980         when reading old floats.
6981
6982         * FloatList.C (FloatList): Change the default placement of figure
6983         and tables to "tbp".
6984
6985 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6986
6987         * MenuBackend.C: using std::max
6988
6989 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6990
6991         * MenuBackend.C (expandToc):
6992         (expandToc2): code moved from xforms menu frontend. It is now
6993         generic and TOCs are transparent to menu frontends.
6994
6995 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6996
6997         * toc.C (getTocList): protect against buf=0
6998
6999         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7000         Menu as first parameter. Now, this calls itself recursively to
7001         expand a whole tree (this will be useful for TOC handling)
7002         (expandFloatInsert): remove 'wide' version of floats
7003
7004         * MenuBackend.h (submenuname): returns the name of the submenu.
7005         (submenu): returns the submenu itself, provided it has been
7006         created by MenuBackend::expand
7007
7008 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7009
7010         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7011         insets which have noFontChange == true. (bug #172)
7012
7013 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7014
7015         * BufferView_pimpl.C: add connection objects and use them...
7016         (Pimpl): here.
7017
7018 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7019
7020         * MenuBackend.C (expandLastfiles):
7021         (expandDocuments):
7022         (expandFormats):
7023         (expandFloatListInsert):
7024         (expandFloatInsert):
7025         (expand): split expand in parts
7026
7027 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7028
7029         * lyx_gui.C: use lyx_gui::exit()
7030
7031 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7032
7033         * LyXAction.C: show the failing pseudo action
7034
7035 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7036
7037         * buffer.C (readFile): Run the lyxconvert script in order to read
7038         old files.
7039
7040 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7041
7042         * LyXAction.C:
7043         * commandtags.h:
7044         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7045
7046 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7047
7048         * LyXAction.C:
7049         * commandtags.h:
7050         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7051
7052 2002-07-22  Herbert Voss  <voss@lyx.org>
7053
7054         * lengthcommon.C:
7055         * lyxlength.[Ch]: add support for the vertical lengths
7056
7057 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7058
7059         * toc.[Ch]: std:: fixes
7060
7061 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7062
7063         * lyxrc.C: do not include lyx_main.h
7064
7065         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7066         for layouts
7067
7068         * lyxrc.C:
7069         * encoding.C:
7070         * bufferlist.C:
7071         * BufferView2.C: include "lyxlex.h"
7072
7073         * tabular.h:
7074         * bufferparams.h: do not #include "lyxlex.h"
7075
7076         * lyxtextclasslist.C (Add): remove method
7077         (classlist): renamed to classlist_
7078
7079         * paragraph_pimpl.C:
7080         * paragraph.C:
7081         * text2.C:
7082         * CutAndPaste.C:
7083         * bufferview_funcs.C:
7084         * bufferlist.C:
7085         * text.C:
7086         * LaTeXFeatures.C:
7087         * buffer.C:
7088         * toc.C (getTocList): use BufferParams::getLyXTextClass
7089
7090         * toc.C (getTocList): use InsetFloat::addToToc
7091
7092         * toc.[Ch]: new files, containing helper functions to handle table
7093         of contents
7094
7095         * lyxfunc.C (dispatch): no need to remove spaces around command
7096         given as a string
7097         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7098         first command of the sequence; it is not very clever, but I do not
7099         have a better idea, actually
7100
7101         * LyXAction.C (LookupFunc): make sure to remove space at the
7102         beginning and end of the command
7103
7104 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7105
7106         * MenuBackend.C (getMenubar): new method: return the menubar of
7107         this menu set
7108         (read): treat differently reading of menu and menubar (in
7109         particular, the menubar has no name now)
7110         (Menu::menubar): remove
7111
7112         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7113         saving is finished
7114
7115 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7116
7117         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7118         a bibitem inset in a RTL paragraph.
7119
7120 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7121
7122         * paragraph_pimpl.C: constify
7123
7124         * BufferView_pimpl.C:
7125         * LaTeX.C:
7126         * lyxfunc.C: fix dispatch in a nicer way
7127
7128 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7129
7130         * lyxfunc.C (dispatch):
7131         * BufferView_pimpl.C:
7132         * BufferView_pimpl.h:
7133         * BufferView.C:
7134         * BufferView.h: rename Dispatch() to dispatch()
7135
7136         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7137
7138         * lyxlayout.C (Read): honor DependsOn tag
7139
7140         * lyxlayout.[Ch] (depends_on): new method
7141
7142         * version.C.in: update lyx_docversion
7143
7144         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7145
7146         * paragraph.C (validate): remove from here...
7147         * paragraph_pimpl.C (validate): ... and move here
7148         (isTextAt): make it const
7149
7150         * buffer.C (getLists): ws cleanup
7151
7152 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7153
7154         * language.C (read): Use iso8859-1 encoding in latex_lang
7155         (this prevents LyX from crashing when using iso10646-1 encoding).
7156
7157 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7158
7159         * text2.C (toggleInset): if cursor is inside an inset, close the
7160         inset and leave cursor _after_ it
7161
7162 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7163
7164         * lyxfunc.C: move minibuffer completion handling out of here
7165
7166 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7167
7168         * BufferView_pimpl.C:
7169         * LaTeX.C: fix dispatch calls
7170
7171 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7172
7173         * text.C (drawChars): Fix Arabic text rendering.
7174
7175 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7176
7177         * LyXAction.C:
7178         * commandtags.h:
7179         * lyxfunc.C: remove message-push/pop
7180
7181         * lyxserver.C:
7182         * lyxfunc.h:
7183         * lyxfunc.C: rationalise some code by removing verboseDispatch
7184           in favour of a bool argument to dispatch()
7185
7186 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7187
7188         * lyx_main.C (init): make sure to read symlinks as absolute paths
7189
7190 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7191
7192         * lyxfunc.h:
7193         * lyxfunc.C: no need for commandshortcut to be a member
7194
7195 2002-07-15  André Pönitz <poenitz@gmx.net>
7196
7197         * converter.C: add support for $$s (scripts from lib/scripts dir)
7198         * lyx_main.C: white space
7199
7200 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7201
7202         * bufferlist.C:
7203         * lyxrc.h:
7204         * lyxrc.C: remove second exit confirmation
7205
7206 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7207
7208         * BufferView.h:
7209         * BufferView.C:
7210         * BufferView2.C:
7211         * BufferView_pimpl.h:
7212         * BufferView_pimpl.C:
7213         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7214
7215 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7216
7217         * MenuBackend.C (expand): add numeric shortcuts to document menu
7218
7219         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7220
7221 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7222
7223         * lyxfont.C (setLyXFamily):
7224         (setLyXSeries):
7225         (setLyXShape):
7226         (setLyXSize):
7227         (setLyXMisc):
7228         (lyxRead):
7229         * debug.C (value):
7230         * buffer.C (asciiParagraph): use ascii_lowercase
7231
7232 2002-07-15  Mike Fabian  <mfabian@suse.de>
7233
7234         * lyxlex_pimpl.C (search_kw):
7235         * lyxlex.C (getLongString):
7236         * converter.h (operator<):
7237         * converter.C (operator<):
7238         * buffer.C (parseSingleLyXformat2Token):
7239         (asciiParagraph):
7240         * ToolbarDefaults.C (read):
7241         * MenuBackend.C (checkShortcuts):
7242         (read):
7243         * LColor.C (getFromGUIName):
7244         (getFromLyXName): use the compare_ascii_no_case instead of
7245         compare_no_case, because in turkish, 'i' is not the lowercase
7246         version of 'I', and thus turkish locale breaks parsing of tags.
7247
7248 2002-07-16  Angus Leeming  <leeming@lyx.org>
7249
7250         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7251         now takes a Buffer const & argument.
7252
7253 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7254
7255         * BufferView.C (resize): check there's a buffer to resize
7256
7257 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7258
7259         * lyxfunc.C: remove dead code
7260
7261         * lyxserver.h:
7262         * lyxserver.C: use lyx_guii::set_read_callback
7263
7264 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7265
7266         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7267         an inset in a RTL paragraph.
7268
7269 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7270
7271         * lyxfunc.C: repaint after a font size update
7272
7273 2002-07-15  André Pönitz <poenitz@gmx.net>
7274
7275         * lyxlength.C: inBP should be able to return negative values
7276
7277 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7278
7279         * lyxfunc.C: use lyx_gui::update_fonts()
7280
7281 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7282
7283         * lyxfunc.C: use lyx_gui::update_color()
7284
7285 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7286
7287         * bufferlist.C:
7288         * lyxfunc.h:
7289         * lyxfunc.C:
7290         * lyxrc.h:
7291         * lyxrc.C: remove file->new asks for name option, and let
7292           buffer-new take an argument
7293
7294 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7295
7296         * BufferView_pimpl.C: remove unneeded extra repaint()
7297
7298 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7299
7300         * LyXAction.C: allow command-sequence with NoBuffer
7301
7302         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7303
7304 2002-07-10  Angus Leeming  <leeming@lyx.org>
7305
7306         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7307
7308 2002-07-09  Angus Leeming  <leeming@lyx.org>
7309
7310         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7311
7312 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7313
7314         * lengthcommon.h: whitespace
7315
7316         * lyxfunc.C: update scrollbar after goto paragraph
7317
7318         * lyxtext.h: factor out page break drawing, and fix it so
7319           page break/added space paints as selected nicely
7320
7321 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7322
7323         * BufferView_pimpl.C: add FIXMEs, clean up a little
7324
7325 2002-07-09  André Pönitz <poenitz@gmx.net>
7326
7327         * lyxfont.[Ch]: support for wasy symbols
7328
7329 2002-07-08  André Pönitz <poenitz@gmx.net>
7330
7331         * BufferView_pimpl.C: apply John's patch for #93.
7332
7333 2002-07-05  Angus Leeming  <leeming@lyx.org>
7334
7335         * BufferView_pimpl.C (buffer): generate previews if desired.
7336
7337         * LColor.h: add "preview" to the color enum.
7338
7339         * LColor.C (LColor): add a corresponding entry to the items array.
7340
7341         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7342         with this buffer.
7343
7344 2002-07-05  Angus Leeming  <leeming@lyx.org>
7345
7346         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7347         The body of the code is now in the method that is passed an ostream &
7348         rather than a file name.
7349         Pass an additional only_preamble parameter, useful for the forthcoming
7350         preview stuff.
7351
7352 2002-07-03  André Pönitz <poenitz@gmx.net>
7353
7354         * lyxfunc.C: simplify getStatus() a bit for math stuff
7355
7356 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7357
7358         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7359
7360 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7361
7362         * text.C (changeRegionCase): do not change case of all the
7363         document when region ends at paragraph end (bug #461)
7364
7365 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7366
7367         * paragraph.C (startTeXParParams):
7368         (endTeXParParams): add \protect when necessary
7369
7370 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7371
7372         * BufferView_pimpl.C (workAreaExpose): remove warning
7373
7374 2002-06-27  Angus Leeming  <leeming@lyx.org>
7375
7376         * Makefile.am: add lyxlayout_ptr_fwd.h.
7377
7378 2002-06-26  André Pönitz <poenitz@gmx.net>
7379
7380         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7381
7382 2002-06-25  Angus Leeming  <leeming@lyx.org>
7383
7384         * lyxfunc.C (dispatch): Comment out the call to
7385         grfx::GCache::changeDisplay. The method no longer exists now that the
7386         pixmap generation part of the graphics loader has been moved into
7387         InsetGraphics.
7388
7389 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7390
7391         * text2.C: layout as layout
7392
7393         * text.C: layout as layout
7394
7395         * tabular.C (OldFormatRead): layout as layout
7396
7397         * paragraph_pimpl.C (TeXDeeper): layout as layout
7398         (realizeFont): layout as layout
7399
7400         * paragraph.C (writeFile): layout as layout
7401         (validate): layout as layout
7402         (getFont): layout as layout
7403         (getLabelFont): layout as layout
7404         (getLayoutFont): layout as layout
7405         (breakParagraph): layout as layout
7406         (stripLeadingSpaces): layout as layout
7407         (getEndLabel): layout as layout
7408         (getMaxDepthAfter): layout as layout
7409         (applyLayout): layout as layout
7410         (TeXOnePar): layout as layout
7411         (simpleTeXOnePar): layout as layout
7412         (TeXEnvironment): layout as layout
7413         (layout): layout as layout
7414         (layout): layout as layout
7415
7416         * lyxtextclass.C (compare_name): new functor to work with
7417         shared_ptr, layout as layout
7418         (Read): layout as layout
7419         (hasLayout): layout as layout
7420         (operator): layout as layout
7421         (delete_layout): layout as layout
7422         (defaultLayout): layout as layout
7423
7424         * lyxlayout_ptr_fwd.h: new file
7425
7426         * lyxlayout.C (Read): layout as layout
7427
7428         * lyx_cb.C (MenuInsertLabel): layout as layout
7429
7430         * bufferlist.C (newFile): layout as layout
7431
7432         * buffer.C (readLyXformat2): layout as layout
7433         (parseSingleLyXformat2Token): layout as layout
7434         (insertStringAsLines): layout as layout
7435         (asciiParagraph): layout as layout
7436         (latexParagraphs): layout as layout
7437         (makeLinuxDocFile): layout as layout
7438         (simpleLinuxDocOnePar): layout as layout
7439         (makeDocBookFile): layout as layout
7440         (simpleDocBookOnePar): layout as layout
7441         (getLists): layout as layout
7442
7443         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7444
7445         * CutAndPaste.C (cutSelection): layout as layout
7446         (pasteSelection): layout as layout
7447         (SwitchLayoutsBetweenClasses): layout as layout
7448
7449         * BufferView_pimpl.C (Dispatch): layout as layout
7450         (smartQuote): layout as layout
7451
7452         * BufferView2.C (unlockInset): layout as layout
7453
7454 2002-06-24  André Pönitz <poenitz@gmx.net>
7455
7456         * lyxfunc.C: fix #487
7457
7458 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7459
7460         * lyxrc.h:
7461         * lyxrc.C:
7462         * lyxfunc.C: remove display_shortcuts, show_banner
7463
7464 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7465
7466         * Buffer_pimpl.C: oops, update on resize
7467
7468 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7469
7470         * buffer.C:
7471         * converter.C:
7472         * exporter.C:
7473         * lyxfunc.C:
7474         * BufferView.h:
7475         * BufferView.C: use repaint()
7476
7477         * BufferView_pimpl.h:
7478         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7479           as it's a clearer description. Remove superfluous
7480           redraws.
7481
7482 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7483
7484         * text.C: fix bug 488. Not ideal, but getting
7485           getWord() to work properly for the insets that
7486           matter is more difficult ...
7487
7488 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7489
7490         * BufferView_pimpl.C:
7491         * LyXAction.C:
7492         * commandtags.h:
7493         * lyxfunc.C: remove the six million index lyxfuncs to just
7494           one, and DTRT (bug 458)
7495
7496 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7497
7498         * BufferView.h:
7499         * BufferView.C:
7500         * BufferView_pimpl.h:
7501         * BufferView_pimpl.C: clean up resize() stuff,
7502           and unnecessary updateScreen()s
7503
7504 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7505
7506         * BufferView.h:
7507         * BufferView.C:
7508         * BufferView_pimpl.h:
7509         * BufferView_pimpl.C:
7510         * lyxfind.h:
7511         * lyxfind.C:
7512         * minibuffer.C: remove focus management of workarea,
7513           not needed. Use screen's greyOut()
7514
7515 2002-06-17  Herbert Voss  <voss@lyx.org>
7516
7517         * converter.C: (convert) do not post a message, when converting
7518         fails, let the calling function decide what to do in this case
7519
7520 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7521
7522         * lyxfunc.C: tidy up a little
7523
7524 2002-06-16    <alstrup@diku.dk>
7525
7526         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7527         Got rid of FORMS_H_LOCATION include. Now we are
7528         GUII.
7529
7530 2002-06-15  LyX Development team  <lyx@rilke>
7531
7532         * buffer.[Ch] (sgmlOpenTag):
7533         (sgmlCloseTag): Added support for avoiding pernicious mixed
7534         content. Return number of lines written.
7535
7536         (makeLinuxDocFile):
7537         (makeDocBookFile): Fixed calls to sgml*Tag.
7538         Simple white space clean.
7539
7540         (simpleDocBookOnePar): Simple white space clean.
7541
7542         * tabular.[Ch] (docBook): Renamed to docbook and got another
7543         argument to related with the pernicious mixed content.
7544
7545         (docbookRow): Fixed calls for docbook inset method.
7546
7547 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7548
7549         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7550         so it's X11 independent.
7551
7552         * kb*.[Ch]: ditto.
7553
7554         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7555
7556 2002-06-15  Lyx Development team  <lyx@electronia>
7557
7558         * intl.h: Renamed getTrans to getTransManager.
7559
7560 2002-06-14  Angus Leeming  <leeming@lyx.org>
7561
7562         * Makefile.am: nuke forgotten stl_string_fwd.h.
7563
7564 2002-06-12  Angus Leeming  <leeming@lyx.org>
7565
7566         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7567
7568 2002-06-13  Angus Leeming  <leeming@lyx.org>
7569
7570         * LaTeX.C:
7571         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7572
7573 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7574
7575         * kbmap.C (getiso): add support for cyrillic and greek
7576
7577 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7578
7579         * BufferView.h:
7580         * BufferView.C:
7581         * BufferView_pimpl.h:
7582         * BufferView_pimpl.C: move bogus scrolling logic
7583           to xforms
7584
7585 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7586
7587         * lyxfunc.C:
7588         * BufferView_pimpl.C: view->resize() change
7589
7590 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7591
7592         * BufferView_pimpl.C: topCursorVisible
7593           prototype change
7594
7595 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7596
7597         * Makefile.am:
7598         * lyx_gui.h:
7599         * lyx_gui.C: move to frontends/
7600
7601         * main.C:
7602         * lyx_main.h:
7603         * lyx_main.C: changes from above
7604
7605 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7606
7607         * intl.C:
7608         * intl.h:
7609         * kbmap.C:
7610         * kbsequence.C:
7611         * lyx_cb.C:
7612         * lyx_main.C: minor tidy
7613
7614 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7615
7616         * BufferView_pimpl.h:
7617         * BufferView_pimpl.C:
7618         * BufferView.h:
7619         * BufferView.C: make painter() const,
7620           remove dead code
7621
7622         * BufferView2.C: use screen() accessor
7623
7624         * lyx_main.h:
7625         * lyx_main.C: some minor cleanup
7626
7627 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7628
7629         * BufferView_pimpl.h:
7630         * BufferView_pimpl.C: remove enter/leaveView,
7631           use workHeight()
7632
7633 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * BufferView.h:
7636         * BufferView.C:
7637         * BufferView2.C:
7638         * BufferView_pimpl.h:
7639         * BufferView_pimpl.C: only construct screen once,
7640           rename
7641
7642         * lyxrc.C: remove pointless comment
7643
7644 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7645
7646         * BufferView.h:
7647         * BufferView.C: remove active() and belowMouse()
7648
7649         * BufferView_pimpl.h:
7650         * BufferView_pimpl.C: use workarea() not workarea_,
7651           and make it use a scoped_ptr instead
7652
7653 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7654
7655         * lyx_gui.C: add debug message on BadWindow
7656
7657 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7658
7659         * sp_spell.C: fdopen is not part of the C++ standard.
7660
7661         * paragraph.C (InsetIterator): use >= instead of ==
7662
7663 2002-06-07  Angus Leeming  <leeming@lyx.org>
7664
7665         Fixes needed to compile with Compaq cxx 6.5.
7666         * BufferView_pimpl.C:
7667         * DepTable.C:
7668         * buffer.C:
7669         * converter.C:
7670         * encoding.C:
7671         * lyx_gui.C:
7672         * lyx_main.C:
7673         * lyxtextclasslist.C:
7674         * minibuffer.C:
7675         * sp_spell.C:
7676         * tabular_funcs.C:
7677         * vc-backend.C:
7678         all c-library variables have been moved into namespace std. Wrap
7679         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7680
7681         * lyxlength.C:
7682         * tabular-old.C:
7683         * tabular.C:
7684         Add a using std::abs declaration.
7685
7686         * kbmap.h (modifier_pair):
7687         * paragraph.h (InsetTable, InsetList):
7688         * lyxfont.h (FontBits):
7689         type definition made public.
7690
7691         * bufferlist.C (emergencyWriteAll): the compiler complains that
7692         there is more than one possible lyx::class_fun template to choose from.
7693         I re-named the void specialisation as lyx::void_class_fun.
7694
7695         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7696
7697         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7698         the compiler is is unable to find tostr in write_attribute.
7699
7700 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7701
7702         * buffer.C (sgmlError): hide #warning
7703
7704 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7705
7706         * xtl/*: get rid of xtl, which is not in use anyway
7707
7708         * LyXAction.C (init):
7709         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7710         were unimplemented xtl experimentation
7711
7712 2002-06-04  André Pönitz <poenitz@gmx.net>
7713
7714         * lyxfunc.C: disable array operation on simple formulae
7715
7716 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7717
7718         * converter.C: constify a bit
7719
7720 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * lyx_gui.C: check xforms version correctly
7723
7724 2002-04-30  Herbert Voss  <voss@lyx.org>
7725
7726         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7727         "keep" option
7728
7729 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7730
7731         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7732           attempt to register it with a VCS)
7733
7734 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7735
7736         * lyx_main.C (init): honor variables LYX_DIR_13x and
7737         LYX_USERDIR_13x
7738
7739 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7740
7741         * buffer.h:
7742         * buffer.C:
7743         * lyx_main.C: fix a crash on bad command line,
7744           and give a useful exit status on error
7745
7746         * lyxfunc.C (doImport): allow -i lyx to work
7747
7748 2002-03-30  André Pönitz <poenitz@gmx.net>
7749
7750         * lyxfunc.C: mathed font changes
7751
7752 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7753
7754         * LaTeX.C:
7755         * importer.h:
7756         * importer.C:
7757         * lyx_sty.h:
7758         * lyx_sty.C:
7759         * lyxlex.C:
7760         * lyxrow.h:
7761         * lyxtext.h:
7762         * paragraph.h:
7763         * paragraph.C:
7764         * texrow.h:
7765         * texrow.C:
7766         * text.C:
7767         * trans_mgr.h: srcdocs, and some minor cleanups
7768
7769 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7770
7771         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7772         call getFont all the time)
7773
7774 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7775
7776         * switch from SigC signals to boost::signals
7777
7778 2002-05-29  André Pönitz <poenitz@gmx.net>
7779
7780         * paragraph_pimpl.C (getChar): don't call size() too often...
7781
7782 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7783
7784         * paragraph_pimpl.C (insertChar): do not try to update tables when
7785         appending (pos == size())
7786
7787         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7788         in order to reduce drastically the number of comparisons needed to
7789         parse a large document
7790
7791 2002-05-29  André Pönitz <poenitz@gmx.net>
7792
7793         * text.C:
7794         * text2.C:
7795         * lyxtextclass.C:
7796         * sp_pspell.h:
7797         * textclasslist.[Ch]:
7798         * sp_ispell.h: whitespace change
7799
7800 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7801
7802         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7803         lyxaction directly now.
7804
7805 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7806
7807         * trans.C:
7808         * lyxfont.C:
7809         * lyxvc.C: remove unused headers
7810
7811 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7812
7813         * Makefile.am:
7814         * buffer.h:
7815         * undostack.h:
7816         * undostack.C:
7817         * undo_funcs.h:
7818         * undo_funcs.C: some cleanups. Use shared_ptr
7819           and a template for the undo stacks.
7820
7821 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7822
7823         * BufferView_pimpl.h:
7824         * BufferView_pimpl.C:
7825         * kbmap.h:
7826         * kbmap.C:
7827         * kbsequence.h:
7828         * kbsequence.C:
7829         * lyxfunc.h:
7830         * lyxfunc.C:
7831         * text2.C: use key_state/mouse_state
7832
7833 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7834
7835         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7836         and LSubstring
7837
7838         * chset.C: change include order
7839         (loadFile): use boost regex and get rid of LRegex and LSubstring
7840
7841         * Makefile.am (BOOST_LIBS): new variable
7842         (lyx_LDADD): use it
7843
7844         * LaTeX.C: change include order.
7845         (scanAuxFile): use boost regex and get rid of LRegex and
7846         LSubstring
7847         (deplog): ditto
7848
7849 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * ColorHandler.h:
7852         * ColorHandler.C:
7853         * FontInfo.h:
7854         * FontInfo.C: moved to frontends/xforms/
7855
7856         * FontLoader.h:
7857         * FontLoader.C: moved into frontends for GUIIzation
7858
7859         * Makefile.am:
7860         * lyx_gui.C:
7861         * lyxfont.C:
7862         * lyxfunc.C: changes from above
7863
7864 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7865
7866         * LColor.C: remove spurious X include
7867
7868         * BufferView_pimpl.C:
7869         * Makefile.am:
7870         * font.h:
7871         * font.C:
7872         * text.C:
7873         * text2.C: move font metrics to frontends/
7874
7875 2002-05-24  Juergen Vigna  <jug@sad.it>
7876
7877         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7878         setting the undo_cursor.
7879
7880         * ParagraphParameters.h: include local includes first.
7881
7882 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7883
7884         * BufferView_pimpl.C:
7885         * BufferView_pimpl.h:
7886         * Makefile.am:
7887         * WorkArea.h:
7888         * WorkArea.C:
7889         * screen.C: move WorkArea into frontends/
7890
7891         * lyxscreen.h:
7892         * screen.C:
7893         * text.C:
7894         * BufferView.C:
7895         * BufferView2.C: move LyXScreen into frontends/
7896
7897         * lyxlookup.h:
7898         * lyxlookup.C:
7899         * lyx_gui.C: move lyxlookup into frontends/xforms/
7900
7901 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7902
7903         * BufferView2.C:
7904         * BufferView_pimpl.C:
7905         * FontLoader.C:
7906         * LyXView.h:
7907         * LyXView.C:
7908         * Makefile.am:
7909         * WorkArea.C:
7910         * XFormsView.h:
7911         * XFormsView.C:
7912         * buffer.C:
7913         * bufferlist.C:
7914         * bufferview_funcs.C:
7915         * converter.C:
7916         * importer.C:
7917         * lyx_cb.C:
7918         * lyx_gui.C:
7919         * lyx_main.C:
7920         * lyx_find.C:
7921         * lyxfunc.C:
7922         * lyxvc.C:
7923         * minibuffer.C:
7924         * text.C:
7925         * text2.C:
7926         * trans.C:
7927         * vc-backend.C: move LyX/XFormsView into frontends/
7928
7929 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * Makefile.am:
7932         * PainterBase.C:
7933         * PainterBase.h:
7934         * Painter.C:
7935         * Painter.h:
7936         * WorkArea.C:
7937         * WorkArea.h:
7938         * screen.C:
7939         * tabular.C:
7940         * text.C:
7941         * text2.C: move Painter to frontends/
7942
7943 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7944
7945         * buffer.C: comment out some some code that depend upon lyx_format
7946         < 220
7947
7948         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7949         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7950
7951         * buffer.h (NO_COMPABILITY): turn off compability
7952
7953         * ColorHandler.C: include scoped_array.hpp
7954
7955         * font.C: Use more specific smart_ptr header.
7956         * Painter.C: ditto
7957         * gettext.C: ditto
7958         * ShareContainer.h: ditto
7959         * lyx_main.h: ditto
7960         * kbmap.h: ditto
7961         * FontInfo.h: ditto
7962         * BufferView_pimpl.h: ditto
7963         * ColorHandler.h: ditto
7964
7965         * kbmap.C (defkey): change call to shared_ptr::reset
7966
7967 2002-05-21  Juergen Vigna  <jug@sad.it>
7968
7969         * buffer.C (insertErtContents): fix to insert ert asis if it is
7970         non empty. Skip it completely if it contains only whitespaces.
7971
7972 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7973
7974         * BufferView_pimpl.C:
7975         * BufferView2.C: clear selection on paste (bug 393)
7976
7977 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7978
7979         * DepTable.C: include ctime
7980
7981 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7982
7983         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7984
7985 2002-05-14  Juergen Vigna  <jug@sad.it>
7986
7987         * text.C (breakParagraph): fixed function to honor the keepempty
7988         layout in the right maner and also to permit the right breaking
7989         algorithm on empty or non empyt keepempty paragraphs.
7990
7991         * paragraph.C (breakParagraph): we have to check also if the par
7992         is really empty (!size()) for isempty otherwise we do the wrong
7993         paragraph break.
7994
7995 2002-05-10  Juergen Vigna  <jug@sad.it>
7996
7997         * buffer.[Ch] : The following are only changes to the ert
7998         compatibility read reading old LaTeX layout and font stuff and
7999         convert it to ERTInsets.
8000
8001         * buffer.h: added isErtInset().
8002
8003         * buffer.C (struct ErtComp): add a fromlayout bool to check
8004         if we're inside a LaTeX layout.
8005         (isErtInset): new helper function.
8006         (insertErtContents): look for other ert insets before this one
8007         and insert the contents there, so that we don't have subsequent
8008         ERT insets with nothing between them. This way we create only one
8009         inset with multiple paragraphs. Also check if we don't insert only
8010         spaces ' ' as they are ignored anyway afterwards in the .tex file
8011         so if we have only spaces we will ignore this latex part in the
8012         new file.
8013         (parseSingleLyXformat2Token \\layout): better compatibility when
8014         reading layout-latex stuff.
8015         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8016         language tag.
8017         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8018         stuff after reading the inset only get the information back from
8019         the stack.
8020
8021 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8022
8023         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8024
8025         * LaTeXFeatures.C (getBabelOptions): New method.
8026
8027 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8028
8029         * BufferView_pimpl.C (Dispatch): work around missing argument for
8030         'layout'
8031
8032 2002-05-08  Juergen Vigna  <jug@sad.it>
8033
8034         * text.C (leftMargin): handle paragraph leftindent.
8035
8036         * paragraph.C (writeFile): write the new \\leftindent tag.
8037         (validate): handle leftindent code.
8038         (TeXEnvironment): handle paragraphleftindent code again.
8039
8040         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8041
8042         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8043         for paragrap_extra indent code and new token \\leftindent.
8044         (latexParagraphs): handle the leftindent as environment.
8045
8046         * ParameterStruct.h: added leftindent support.
8047
8048         * ParagraphParameters.C (leftIndent): added support functions for
8049         the paragraph left indent.
8050
8051         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8052         more appropriate.
8053
8054 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8055
8056         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8057         inside insetERT.
8058
8059         * text.C (computeBidiTables): No bidi in insetERT.
8060
8061         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8062         in RTL documents.
8063
8064 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8065
8066         * version.C.in: pre 5
8067
8068 2002-05-02  José Matos  <jamatos@fep.up.pt>
8069         * buffer.C (makeDocBookFile): white space changes, add newline to
8070         command styles.
8071         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8072
8073         * tabular.C (docBook): fix typo.
8074
8075 2002-05-03  Juergen Vigna  <jug@sad.it>
8076
8077         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8078         change in LyXText as we can not be sure it was not freed.
8079         (drawOneRow): remove unused code.
8080
8081         * text.C (drawInset): redo the calculation of the need_break_row as
8082         it could have a row which was already freed.
8083         (draw): look at the return value of drawInset and return false if
8084         it also returned false.
8085         (paintRowText): look at the return value of draw and return false if
8086         it also returned false.
8087
8088         * lyxtext.h: added bool return type to drawInset() and draw() so that
8089         if we have a change in the row so that the rowbreak has to be redone
8090         we abort drawing as it will be called again.
8091
8092 2002-05-02  Juergen Vigna  <jug@sad.it>
8093
8094         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8095         a change in the maintext also if we're inside an inset.
8096         (Dispatch): set the cursor again after a break line and after the
8097         screen has been updated as it could be we're in a different row.
8098
8099         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8100         to set the cursor behind the pargraph with > size().
8101         (setCursor): check also for the same paragraph when checking where
8102         to put the cursor if we have a NFR inset.
8103
8104         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8105         parts of layout read further up as it still was in the wrong
8106         position.
8107
8108 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8109
8110         * screen.C (drawFromTo): change sine fullRebreak always return
8111         true.
8112
8113         * buffer.C (parseSingleLyXformat2Token): reindent some
8114
8115         * BufferView_pimpl.C (update): change since fullRebreak always
8116         return true.
8117         (Dispatch): git rid of the last hardcoded "Standard"s.
8118
8119 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8120
8121         * text2.[Ch] (fullRebreak): make it return void now that we always
8122         returned true.
8123
8124 2002-04-30  Juergen Vigna  <jug@sad.it>
8125
8126         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8127         ert compatibility check for "latex" layout.
8128
8129 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8130
8131         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8132         minipages: use col% instead of p%, and also use the current font.
8133         (makeLaTeXFile): Fix use babel condition.
8134         (parseSingleLyXformat2Token): Correct font when reading old floats.
8135
8136 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8137
8138         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8139         inserting list of floats.
8140
8141 2002-04-25  Herbert Voss  <voss@lyx.org>
8142
8143         * MenuBackend.C (expand): don't add the graphics extensions to the
8144         export menu
8145
8146 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8147
8148         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8149         non-existing layout, do not complain if it was the default layout
8150         of the original class (bug #342)
8151
8152 2002-04-24  Juergen Vigna  <jug@sad.it>
8153
8154         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8155         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8156
8157 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8158
8159         * buffer.C (getBibkeyList): If using \bibliography, return the
8160         option field with the reference itself. Enables us to provide natbib
8161         support when using \bibliography.
8162
8163 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8164
8165         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8166
8167         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8168         natbib is provided by the LaTeX class.
8169
8170 2002-04-23  Juergen Vigna  <jug@sad.it>
8171
8172         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8173         Wakeup functions.
8174
8175         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8176
8177 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8178
8179         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8180
8181         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8182         ensuremath around textordmasculine, textordfeminine and
8183         textdegree.
8184
8185 2002-04-19  Juergen Vigna  <jug@sad.it>
8186
8187         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8188         reinitializing the buffer otherwise row-dimensions may be wrong.
8189         (update): reset also the selection cursors if they do exits otherwise
8190         their x/y positions may be wrong.
8191
8192         * text2.C (cursorDown): don't enter the inset if we came from a row
8193         above and are one row over the inset.
8194
8195         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8196         really leaving an inset.
8197
8198 2002-04-18  Juergen Vigna  <jug@sad.it>
8199
8200         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8201         of the selected paragraph does not have the selected layout also if
8202         the last one had!
8203
8204         * text2.C (setLayout): fixed bug which did not change last selected
8205         paragraph.
8206
8207         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8208         changed the read and substituted \\end_float with \\end_inset!
8209
8210         * BufferView_pimpl.C (cursorPrevious):
8211         (cursorNext): fixed to make it work with rows heigher than the work
8212         area without moving the cursor only the draw of the row.
8213         (workAreaMotionNotify): fix jumping over high rows.
8214
8215 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8216
8217         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8218         Ressler.
8219
8220 2002-04-16  Juergen Vigna  <jug@sad.it>
8221
8222         * text2.C (setCursor): set also the irow().
8223         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8224         (cursorUp):
8225         (cursorDown): support for locking an inset if the x_fix value goes
8226         inside it. That way I can transverse insets too with cursor up/down.
8227
8228         * lyxrow.h: added irow helper function same as other (i) functions.
8229
8230         * BufferView_pimpl.C (cursorPrevious):
8231         (cursorNext): fixed for insets!
8232
8233 2002-04-15  Juergen Vigna  <jug@sad.it>
8234
8235         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8236         position otherwise it is wrong in some cases.
8237
8238         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8239         inside the inset before the call.
8240
8241 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8242
8243         * buffer.[Ch] (getBibkeyList): make it const.
8244
8245 2002-04-12  Juergen Vigna  <jug@sad.it>
8246
8247         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8248
8249         * text2.C (getCursorX): new helper function
8250         (setCursor): compute also ix_
8251         (setCursorFromCoordinates): set also ix.
8252
8253         * lyxcursor.h: added ix_ and helper functions.
8254
8255         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8256
8257         * buffer.C (insertStringAsLines): dont break paragraph if the this
8258         paragraph is inside an inset which does not permit it!
8259
8260         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8261         also with no chars on this paragraph.
8262         (paintRowText): only paint stuff if it's inside the workarea!
8263
8264         * paragraph.C (breakParagraph): honor keepempty flag and break the
8265         paragraph always below not above.
8266
8267         * BufferView2.C (unlockInset): update the paragraph layout on inset
8268         unlock as we changed paragraph in such a case.
8269
8270         * lyxfind.C (LyXFind): clear the former selection if not found!
8271
8272         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8273         again called in insertChar().
8274
8275         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8276         an inset which uses the whole row!
8277         (rightMargin): ditto.
8278         (insertChar): force a rebreak if we inserted an inset!
8279
8280 2002-03-28  Herbert Voss  <voss@lyx.org>
8281
8282         * lyxlength.[Ch]: add inBP() to get the right PS-point
8283         units (BigPoint). With inPixels we have rounding errors
8284
8285 2002-04-11  Juergen Vigna  <jug@sad.it>
8286
8287         * text2.C (setCursorFromCoordinates): set iy to the right value.
8288         (setCursor): add check if row->previous exists!
8289
8290         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8291         an old float_type as this was the case in the old code!
8292
8293         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8294
8295         * BufferView2.C (showLockedInsetCursor): use iy
8296         (fitLockedInsetCursor): ditto
8297
8298         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8299         locked insets as there we have the right value now.
8300
8301         * lyxcursor.C: added iy_ variable and iy functions to set to the
8302         baseline of cursor-y of the locked inset.
8303
8304         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8305         (setCursor): fixed for insets which need a full row.
8306
8307         * text.C (rowLastPrintable): don't ignore the last space when before
8308         an inset which needs a full row.
8309         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8310         as last character of a row when before a inset which needs a full row.
8311
8312 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8313
8314         * version.C.in: update date
8315
8316         * text2.C (fullRebreak): try to always return true and see what
8317         happens...
8318
8319 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8320
8321         * MenuBackend.C (expand): use Floating::listName
8322
8323         * FloatList.C (FloatList): add listName argument to the built-in
8324         floats
8325
8326         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8327         text associated with the float.
8328
8329 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8330
8331         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8332
8333 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8334
8335         * ShareContainer.h: add a couple of missing typenames.
8336
8337 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8338
8339         * lyxrc.C (getDescription): use _() correctly rather than N_().
8340
8341 2002-03-28  Herbert Voss  <voss@lyx.org>
8342
8343         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8344         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8345
8346 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8349         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8350
8351 2002-03-29  Juergen Vigna  <jug@sad.it>
8352
8353         * lyxfunc.C (dispatch): add a missing fitCursor call.
8354
8355         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8356         it was scrolled by a cursor move, so return the bool status.
8357
8358         * BufferView.C (fitCursor): return the bool flag also to the outside
8359         world as this is needed.
8360
8361         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8362
8363         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8364         call the edit() as it is not needed (and wrong) IMO.
8365         (workAreaButtonPress): set the screen_first variable before evt.
8366         unlock the inset as this may change screen_first and then we have
8367         a wrong y position for the click!
8368
8369 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8370
8371         * MenuBackend.C (expand): another translation that I missed
8372
8373 2002-03-28  Juergen Vigna  <jug@sad.it>
8374
8375         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8376
8377         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8378
8379 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8382
8383         * MenuBackend.C (expand): fix export/view/update when there is no
8384         document open.
8385
8386 2002-03-27  Herbert Voss  <voss@lyx.org>
8387
8388         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8389         and text%
8390
8391 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8392
8393         * bufferview_funcs.C (currentState): only show paragraph number
8394         for is DEVEL_VERSION is set.
8395
8396         * lyxfunc.C (dispatch): put warning in INFO channel
8397
8398         * MenuBackend.C (expand): translate the name of floats
8399
8400         * FloatList.C (FloatList): mark the float names for translation
8401
8402         * converter.C (convert): use LibScriptSearch
8403
8404 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8405
8406         * MenuBackend.C (defaults): fix default menu (we might as well get
8407         rid of it...)
8408
8409 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8410
8411         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8412         directory.
8413
8414 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8415
8416         * lyxvc.C: reorder includes.
8417
8418 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8419
8420         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8421           properly
8422
8423 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8424
8425         * CutAndPaste.C: change layouts earlier on paste
8426           to avoid crashing when calling getFont()
8427
8428 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8429
8430         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8431         irritating #error.
8432
8433 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8434
8435         * WorkArea.C: remove 'Pending' debug message.
8436
8437         * most files: ws cleanup
8438
8439         * buffer.[Ch]: ws changes
8440
8441         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8442
8443 2002-03-21  Juergen Vigna  <jug@sad.it>
8444
8445         * tabular.C (SetMultiColumn): collapse also the contents of the
8446         cells and set the last border right. Added a Buffer const * param.
8447
8448 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8449
8450         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8451         linking or not.
8452
8453 2002-03-19  Juergen Vigna  <jug@sad.it>
8454
8455         * text2.C (clearSelection): reset also xsel_cache.
8456
8457         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8458         where it needs to be called (John tells us to do so too :)
8459         (selectionLost): reset sel_cache.
8460
8461         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8462
8463 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8464
8465         * text2.C (setCursorIntern): put debuging code in INSETS channel
8466
8467 2002-03-19  André Pönitz <poenitz@gmx.net>
8468
8469         * lyxfunc.C: tiny whitespace change
8470
8471 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8472
8473         * ToolbarDefaults.C (init):
8474         * LyXAction.C (init):
8475         * commandtags.h:
8476         * BufferView_pimpl.C (Dispatch):
8477         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8478
8479 2002-03-19  Allan Rae  <rae@lyx.org>
8480
8481         * exporter.C (Export): removeAutoInsets before doing anything else.
8482         While I've just introduced a dependency on BufferView this really is
8483         the best place to clean the buffer otherwise you need to cleanup in
8484         a dozen places before calling export or cleanup in a dozen functions
8485         that export calls.
8486
8487         * converter.C (runLaTeX):
8488         (scanLog): Better handling of removeAutoInsets and screen updates.
8489
8490         * lyxfunc.C (dispatch): small whitespace changes
8491
8492 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8493
8494         * WorkArea.C (C_WorkAreaEvent): return a value.
8495         (event_cb): return 1 if we handled the event, 0 otherwise.
8496
8497         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8498
8499 2002-03-18  Juergen Vigna  <jug@sad.it>
8500
8501         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8502         (GetAdditionalWidth): ditto.
8503         (RightLine): ditto.
8504         (LeftLine): ditto.
8505
8506         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8507         inset if we're there actually (probably not used right now but this
8508         is the direction to go for unifying code).
8509         (paste): disable code to clear the selection.
8510
8511         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8512         inside an InsetText and move the check further up as it is in the
8513         wrong place.
8514
8515         * text2.C (pasteSelection): set a selection over the pasted text.
8516
8517 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8518
8519         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8520         and libgraphics to build on Cygwin.
8521
8522 2002-03-15  Juergen Vigna  <jug@sad.it>
8523
8524         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8525         inserting an Inset into the paragraph. I know this is not the best
8526         fix but we already use current_view in CutAndPaste so we will remove
8527         all of it's using at the same time.
8528
8529         * buffer.C (sgmlError): deactivated function till it is rewritten in
8530         the right mode, now it can create problems.
8531
8532         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8533         before accessing it.
8534
8535 2002-03-14  Juergen Vigna  <jug@sad.it>
8536
8537         * undo_funcs.C (textHandleUndo): do the right thing when updating
8538         the inset after the undo/redo.
8539
8540         * text2.C (setCursor): just some testcode for #44 not ready yet.
8541
8542         * undo_funcs.C (textHandleUndo): set the next() and previous()
8543         pointers of the paragraph to 0 before deleting otherwise we have
8544         problems with the Paragraph::[destructor].
8545
8546         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8547         on a paragraph insertion.
8548
8549 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8550
8551         * buffer.C (asciiParagraph): use += operator for char append to
8552         string.
8553
8554         * paragraph.C (getFontSettings): compare >= not just >
8555         (highestFontInRange): ditto
8556         (setFont): ditto
8557
8558 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8559
8560         * paragraph.C: change several algorithm to be more appripriate for
8561         the problem domain. This is lookip in FontList and in the InsetList.
8562
8563 2002-03-13  André Pönitz <poenitz@gmx.net>
8564
8565         * commandtags.h:
8566         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8567
8568 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8569
8570         * commandtags.h:
8571         * LyXAction.C:
8572         * lyxfunc.C:
8573         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8574
8575 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8576
8577         * Painter.C (display): anon helper function, adjust code for this
8578         change.
8579         (pixmap): remove function.
8580
8581         * Painter.h: remove private display variable.
8582
8583         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8584
8585 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8586
8587         * WorkArea.[Ch]: remove figinset_canvas cruft.
8588
8589 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8590
8591         * lyxtextclass.C (operator): add one item cache optimization.
8592
8593         * bufferlist.h: doxy changes
8594
8595         * bufferlist.C: ws changes
8596
8597         * DepTable.[Ch] (ext_exist): place const in the right spot.
8598
8599         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8600         call resizeInsets.
8601         (workAreaExpose): call resizeInsets when the with BufferView changes.
8602         (Dispatch): adjust for protectedBlank removal
8603         (specialChar): call updateInset if the insert went ok.
8604
8605         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8606         specialChar instead.
8607
8608         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8609
8610         * BufferView.h: doxy change
8611
8612         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8613
8614         * lyxtextclass.C (operator[]): remove non-const version
8615         (defaultLayout): remove non-const version
8616
8617 2002-03-12  Juergen Vigna  <jug@sad.it>
8618
8619         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8620         did resize the LyXText too.
8621
8622         * buffer.C (readLyXformat2): set layout information on newly allocated
8623         paragraphs.
8624
8625         * tabular.C (OldFormatRead): set layout information on the paragraph.
8626
8627 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8628
8629         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8630
8631 2002-03-11  Juergen Vigna  <jug@sad.it>
8632
8633         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8634         plainly wrong.
8635         (resizeCurrentBuffer): force also the insets to resize themselfes.
8636         (moveCursorUpdate): fixed up for InsetText.
8637
8638 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8639
8640         * commandtags.h:
8641         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8642         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8643         value of Dialogs::tooltipsEnabled().
8644         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8645
8646 2002-03-08  Juergen Vigna  <jug@sad.it>
8647
8648         * BufferView_pimpl.C (updateInset): update inset inside inset also
8649         if it isn't inside theLockingInset().
8650
8651 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8652
8653         * buffer.C (asciiParagraph): redo some of the word and line length
8654         handling.
8655         (getLists): look for Caption instead of caption.
8656
8657 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8658
8659         * buffer.C (Buffer): initialize niceFile to true
8660         (makeLaTeXFile):
8661         (makeLinuxDocFile):
8662         (makeDocBookFile): make sure niceFile is true on exit
8663
8664 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8665
8666         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8667
8668 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8669
8670         * LyXSendto.C: remove.
8671         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8672         * lyx_gui.C: remove now-redundant comment.
8673         * ColorHandler.h: remove forward declaration of class WorkArea.
8674         * lyxfunc.C: remove #include "WorkArea.h".
8675
8676 2002-03-07  Juergen Vigna  <jug@sad.it>
8677
8678         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8679         got moved away with the DEPM and also set the inset_owner always
8680         right which before could have been omitted.
8681
8682 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8683
8684         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8685         wanted layout is not found.
8686
8687 2002-03-07  Juergen Vigna  <jug@sad.it>
8688
8689         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8690
8691 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8692
8693         * paragraph.C (breakParagraph): use default layout not layout of
8694         prev paragraph.
8695         (Paragraph): clear ParagraphParameters.
8696
8697 2002-03-06  Juergen Vigna  <jug@sad.it>
8698
8699         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8700         otherwise it would not be a valid lenght. Fixed a special case in
8701         the minipage compatibility read where we end the document with a
8702         minipage.
8703
8704         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8705         was set as it could be 0 for InsetTexts first entry.
8706
8707 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8708
8709         * paragraph.C (writeFile): if layout is empty write out
8710         defaultLayoutName().
8711
8712         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8713         file without named layout we set layout to defaultLayoutName().
8714
8715 2002-03-06  Juergen Vigna  <jug@sad.it>
8716
8717         * CutAndPaste.C (copySelection): set layout for new paragraph.
8718
8719         * text.C (prepareToPrint): leave ERT inset left aligned
8720         (leftMargin): don't indent paragraphs inside ERT insets
8721
8722 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8723
8724         * paragraph.C (breakParagraph): dont call clear do the work manually
8725
8726         * paragraph.[Ch] (clear): remove function
8727
8728 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8729
8730         * paragraph.C (Paragraph): dont call clear, the work has already
8731         been done.
8732
8733         * lyxtextclass.C (operator): assert if n is empty
8734
8735         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8736         work manually instead.
8737
8738 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8739
8740         * BufferView_pimpl.C: protect selectionLost against text == 0
8741
8742 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8743
8744         * text.C (breakParagraph): fix a setting layout to '0' problem.
8745
8746 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8747
8748         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8749         final location of file, for the included files, and graphics.
8750
8751 2002-03-05  Juergen Vigna  <jug@sad.it>
8752
8753         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8754
8755 2002-03-04  Juergen Vigna  <jug@sad.it>
8756
8757         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8758
8759         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8760         last column of multicolumn cells.
8761         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8762
8763 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8764
8765         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8766         file if it doesn't go to a temporary file.
8767
8768         * buffer.C (sgmlOpenTag):
8769         (sgmlCloseTag):  remove extra newline insertion.
8770
8771 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8772
8773         * text.C (getRowNearY): comment out debug msg
8774
8775 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8776
8777         * text2.C: first -> first_y
8778
8779         * text.C (getRowNearY): add some attemts at a possible
8780         optimization, not working.
8781
8782         * tabular.[Ch]: add BufferParams to several function so that newly
8783         created paragraph can be initialized to he default layotu for the
8784         buffers textclass.
8785
8786         * tabular-old.C (ReadOld): add buf->params to call of Init
8787
8788         * screen.C: rename text->first to text->first_y
8789
8790         * paragraph.C (breakParagraph): always set layout in the broken
8791         paragraph
8792
8793         * lyxtextclass.C (Read): remove lowercase
8794         (hasLayout): ditto
8795         (operator): ditto
8796         (delete_layout): ditto
8797
8798         * lyxtext.h: rename first -> first_y
8799
8800         * lyxlayout.C (Read): remove lowercase
8801         (name): ditto
8802         (setName): ditto
8803         (obsoleted_by): ditto
8804
8805         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8806
8807         * buffer.C (insertErtContents): add params are to InsetERT
8808         (parseSingleLyXformat2Token): add code to check if a paragraphs
8809         layout really exist.
8810         (parseSingleLyXformat2Token): add params to several inset
8811         constructors
8812         (asciiParagraph): remove lowercase, do the layout comparisons with
8813         no_case
8814
8815         * BufferView_pimpl.C (cursorNext): first -> first_y
8816         (resizeCurrentBuffer): first -> first_y
8817         (updateScrollbar): first -> first_y
8818         (scrollCB): first -> first_y
8819         (workAreaMotionNotify): first -> first_y
8820         (workAreaButtonPress): first -> first_y
8821         (checkInsetHit): first -> first_y
8822         (cursorPrevious): first -> first_y
8823         (cursorNext): first -> first_y
8824         (Dispatch): add buffer_->params to severl inset contructors
8825
8826 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8827
8828         * lyxlayout.C (Read): remove some debug info that I forgot.
8829
8830         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8831         clean up the code slightly.
8832         (makeLinuxDocFile): ditto
8833         (makeDocBookFile): ditto
8834
8835         * text2.C: layout as string
8836
8837         * text.C: layout as string
8838
8839         * paragraph_pimpl.C: layout as string
8840
8841         * paragraph.[Ch]: layout as string
8842
8843         * lyxtextclasslist.[Ch]: layout as string
8844
8845         * lyxtextclass.[Ch]: layout as string
8846
8847         * lyxtext.h: layout as string
8848
8849         * lyxlayout.[Ch]: layout as string
8850
8851         * lyx_cb.C: layout as string
8852
8853         * bufferview_funcs.C: layout as string
8854
8855         * bufferparams.C: layout as string
8856
8857         * buffer.C: layout as string
8858
8859         * LyXView.[Ch]: layout as string
8860
8861         * LaTeXFeatures.[Ch]: layout as string
8862
8863         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8864
8865         * BufferView_pimpl.C: change current_layout to string, remove
8866         lyx::layout_type.
8867         (Dispatch):
8868         (smartQuote):
8869         (insertInset):
8870         (workAreaButtonRelease): layout as string
8871
8872         * BufferView2.C (unlockInset): adjust
8873
8874         * vspace.C (asLatexCommand): use an explict temp variable.
8875
8876 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8877
8878         * Makefile.am: use FRONTEND_*
8879
8880 2002-03-01  Juergen Vigna  <jug@sad.it>
8881
8882         * tabular.C (SetWidthOfMulticolCell): changed to something better
8883         I hope but still work in progress.
8884         (recalculateMulticolumnsOfColumn): renamed function from
8885         recalculateMulticolCells as it is more appropriate now.
8886         (SetWidthOfCell): calculate multicols better.
8887
8888 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8889
8890         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8891
8892         * lyxfunc.C (processKeySym): print sequence also if it is
8893         `deleted' (complete)
8894
8895         * kbsequence.C (print): print sequence even if it is deleted
8896         (complete would be a better word, actually).
8897
8898         * lyxfunc.C (dispatch): print complete options after a prefix key
8899
8900         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8901
8902 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8903
8904         * text2.C (setCharFont): eliminate setCharFont code duplication.
8905
8906 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8909         LFUN_TABULAR_FEATURE (bug #177)
8910
8911 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8912
8913         * Makefile.am: remove figure.h
8914
8915 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8916
8917         * Bufferview_pimpl.C:
8918         * CutAndPasteC:
8919         * LaTeX.C:
8920         * LyXSendto.C:
8921         * buffer.C:
8922         * bufferlist.C:
8923         * converter.C:
8924         * language.C:
8925         * lyxfunc.C:
8926         * lyxvc.C:
8927         * paragraph.C:
8928         * text.C:
8929         * text2.C: remove #include "lyx_gui_misc.h".
8930
8931         * LaTeX.C: added #include <cstdio>
8932
8933 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8934
8935         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8936         that the paragraph following this one can have.
8937
8938         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8939
8940         * vspace.C (asLatexCommand): fix bogus gcc warning
8941
8942         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8943
8944 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8945
8946         * text2.C (setLayout): get rid of redundant code
8947
8948 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8949
8950         * text2.C (incDepth): make sure depth cannot be increased beyond
8951         reasonable values.
8952
8953 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8954
8955         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8956         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8957
8958         * PainterBase.h (image):
8959         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8960         a LyXImage const *.
8961
8962 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8963
8964         * BufferView.C:
8965         * BufferView.h:
8966         * BufferView_pimpl.C:
8967         * BufferView_pimpl.h:
8968         * LaTeXFeatures.C:
8969         * LyXAction.C:
8970         * LyXView.C:
8971         * Makefile.am:
8972         * UpdateList.h:
8973         * UpdateList.C:
8974         * buffer.C:
8975         * figure.h:
8976         * figureForm.C:
8977         * figureForm.h:
8978         * figure_form.C:
8979         * figure_form.h:
8980         * lyx_cb.C:
8981         * lyx_gui.C:
8982         * lyx_gui_misc.C:
8983         * lyxfunc.C:
8984         * sp_base.h:
8985         * sp_ispell.h:
8986         * sp_pspell.h:
8987         * sp_spell.C: remove fig inset, and the crap house of
8988           cards that follows it
8989
8990 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8991
8992         * Makefile.am:
8993         * lyxserver.C:
8994         * os2_defines.h:
8995         * os2_errortable.h:
8996         * nt_defines.h: move .h into support/
8997
8998         * vms_defines.h: remove
8999
9000         * WorkArea.C: add space in debug output
9001
9002         * text2.C:
9003         * paragraph.C:
9004         * buffer.C: add WITH_WARNINGS
9005
9006         * vc-backend.h:
9007         * vc-backend.C:
9008         * bufferlist.C: s/retrive/retrieve/, add docs
9009
9010         * vspace.h:
9011         * vspace.C:
9012         * kbmap.h:
9013         * lyxlength.h:
9014         * lyxgluelength.h:
9015         * length_common.h:
9016         * chset.h:
9017         * chset.C: add docs
9018
9019         * lyxgui.C: add ID to X error handler
9020
9021         * lyxtestclass.c: fix typo
9022
9023 2002-02-26  Juergen Vigna  <jug@sad.it>
9024
9025         * tabular_funcs.C (write_attribute): changed so that some default
9026         attributes are not written at all.
9027         (getTokenValue): set default values before trying to read the
9028         value so we have the return value always set as default if we don't
9029         find the token we search for.
9030
9031         * tabular.C (Write): write bools as bools not as strings!
9032
9033 2002-02-22  Juergen Vigna  <jug@sad.it>
9034
9035         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9036         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9037
9038         * text.C (leftMargin): don't add an indent for paragraphs inside
9039         tabular cells (fix #208).
9040
9041 2002-02-21  José Matos  <jamatos@fep.up.pt>
9042
9043         * tabular.C (docBook): fixed support for long tables.
9044
9045 2002-02-20  Juergen Vigna  <jug@sad.it>
9046
9047         * text2.C (getFont): get the drawing font of the Inset if this
9048         paragraph is inside an inset (only important for InsetERT for now).
9049
9050         * buffer.C (insertErtContents): use new lanugage params in ERT
9051         constructor.
9052
9053         * CutAndPaste.C: commenting out seemingly uneeded code.
9054
9055 2002-02-19  Allan Rae  <rae@lyx.org>
9056
9057         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9058         Iterators might be simple to use but they also get invalidated.
9059         (removeAutoInsets): renamed saved cursor tracking variables and added
9060         some comments to clarify what everything does.
9061
9062 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9063
9064         * Chktex.C:
9065         * LaTeX.C:
9066         * LyXSendto.C:
9067         * converter.C:
9068         * lyx_cb.C:
9069         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9070         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9071
9072         * lyxfunc.C:
9073         * vc-backend.h: remove #include "support/syscall.h"
9074
9075         * LaTeX.C:
9076         * LyXSendto.C:
9077         * converter.C: rearrange #includes in Lars' approved fashion.
9078
9079         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9080         forward declare class Timeout in the header file.
9081
9082         * XFormsView.C: changes due to the above.
9083
9084         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9085         similar to LyXView.
9086
9087         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9088         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9089
9090 2002-02-18  José Matos  <jamatos@fep.up.pt>
9091
9092         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9093         insets contents.
9094
9095 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9096
9097         * a lot of small ws changes
9098         * add a lot of using std::XXX
9099         * use std construcs some places where approp.
9100         * use some exisint stuff from lyxfunctional where approp.
9101         * Make file changes to use partial linking (lets test this now...)
9102
9103 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9104
9105         * Chktex.C:
9106         * buffer.C:
9107         remove #include "support/syscontr.h" as it's redundant. Always has been.
9108
9109         * Chktex.C:
9110         * LaTeX.C:
9111         * LyXSendto.C:
9112         * converter.C:
9113         * lyx_cb.C:
9114         * vc-backend.C:
9115         change Systemcalls::System to Systemcalls::Wait and
9116         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9117         No change of functionality, just reflects the stripped down Systemcalls
9118         class.
9119
9120 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9121
9122         * debug.[Ch]: add a GRAPHICS type to the enum.
9123
9124 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9127
9128         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9129         there is an inset.
9130
9131 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9132
9133         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9134         match the changes below.
9135
9136         * text2.C (toggleInset): if there is not editable inset at cursor
9137         position, try to see if cursor is _inside_ a collapsable inset
9138         and close it.
9139
9140 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9141
9142         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9143         document menu has a nice checkbox
9144
9145 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9146
9147         * lyxlength.C (asLatexString): change PW to output as percent of
9148         \textwidth.
9149
9150         * lengthcommon.C: change '%' to 't%'
9151
9152         * lyxfunc.C (dispatch): a few comments from Martin
9153
9154 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9155
9156         * WorkArea.h:
9157         * WorkArea.C:
9158         * BufferView_pimpl.h:
9159         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9160           the X selection.
9161
9162 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9163
9164         * vspace.C (inPixels): fix compiler warning
9165
9166 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9167
9168         * lyxfunc.C (getStatus): fix status message for disabled commands.
9169
9170 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9171
9172         * BufferView_pimpl.C: fix crash on close buffer
9173         during selection (#227)
9174
9175 2002-01-27  Herbert Voss  <voss@lyx.org>
9176
9177         * buffer.C: link old Figure to new graphic inset
9178
9179 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9180
9181         * FontLoader.C (getFontinfo): Change the latex font names in order
9182         to match the names of type1inst.
9183
9184 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9185
9186         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9187
9188         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9189         (extchanged): ditto
9190         (ext_exist): ditto
9191         (remove_files_with_extension): ditto
9192         (remove_file): ditto
9193         (write): ditto
9194
9195         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9196         document is smaller than the work area height. Do not initialize
9197         static variables to 0.
9198
9199 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9202
9203         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9204         LFUN_LAYOUT_PARAGRAPHS.
9205
9206         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9207         tabular. It is possible to provide a possible cell, which will
9208         typically be the actcell from the corresponding insettabular
9209
9210         * lyxfunc.C (getStatus): small cleanup; disable
9211         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9212         true
9213
9214 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9215
9216         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9217
9218         * paragraph.C (startTeXParParams):
9219         (endTeXParParams): new methods. The LaTeX code to
9220         start/end paragraph formatting
9221         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9222         empty (fixes bug #200)
9223
9224         * vspace.C (inPixels): adapt to the change below
9225         (inPixels): [later] more cleanups (remove unused variables)
9226
9227         * lyxlength.C (inPixels): change to use a width and a height as
9228         parameter.
9229
9230 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9233         Replaced with \paperwidth
9234
9235         * DepTable.C (insert): add std:: qualifier
9236
9237 2002-01-18  Allan Rae  <rae@lyx.org>
9238
9239         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9240         updated also?
9241
9242         * text.C (drawInset): Turned out I didn't know enough about how
9243         rebreaking worked.  This fixes most of the redraw problems.  I see
9244         an occasional cursor trail when a line is broken now and the cursor
9245         placement can seem out by a few pixels also after a rebreak.
9246
9247 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9248
9249         * buffer.C (parseSingleLyXformat2Token): update because minipage
9250         width is now a LyXLength
9251
9252         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9253
9254         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9255         math insets
9256
9257 2002-01-17  Juergen Vigna  <jug@sad.it>
9258
9259         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9260
9261         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9262         is set correctly and the inset is updated correctly.
9263
9264 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9265
9266         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9267         the beginning of the loop.
9268
9269 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9270
9271         * lyxrc.C: improve help for use_scalable_fonts
9272
9273 2002-01-17  Allan Rae  <rae@lyx.org>
9274
9275         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9276
9277 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9278
9279         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9280         make sure to set their inset_owner to the right value (bug #171)
9281
9282 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9283
9284         * DepTable.h
9285         * DepTable.C: Implement mtime checking to reduce time spent doing
9286         CRCs.
9287
9288 2002-01-16  Juergen Vigna  <jug@sad.it>
9289
9290         * tabular.C (GetAdditionalHeight): one of error fixed.
9291
9292         * lyxrc.C (output): small fix in writing use_pspell.
9293
9294 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9295
9296         * sp_base.h: #include LString.h
9297
9298 2002-01-16  Allan Rae  <rae@lyx.org>
9299
9300         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9301         Can someone check this please?
9302
9303         * text.C (drawInset): It was possible that p.row would be removed by
9304         breakAgainOneRow upsetting a few other settings.  There may be another
9305         small tweak possible by setting need_break_row = 0 when p.row has been
9306         removed but I don't know enough about the logic here.
9307
9308 2002-01-15  Allan Rae  <rae@lyx.org>
9309
9310         * text.C (insertChar): removed conditional truism.
9311
9312         * BufferView2.C (removeAutoInsets): More tweaks.
9313         cur_par_prev could be a stray pointer.  Check for trailing empty line
9314         in case last line was cur_par and only had an error inset on it.
9315
9316 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9317
9318         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9319         absolute
9320
9321         * vc-backend.C (most methods):
9322         * exporter.C (Export):
9323         * converter.C (convert):
9324         (runLaTeX):
9325         * LyXSendto.C (SendtoApplyCB):
9326         * lyxfunc.C (dispatch):
9327         (menuNew):
9328         (open):
9329         (doImport):
9330         * lyx_cb.C (AutoSave):
9331         (InsertAsciiFile):
9332         * BufferView_pimpl.C (MenuInsertLyXFile):
9333         * buffer.C (runChktex): use Buffer::filePath().
9334
9335         * buffer.h: rename filename to filename_; rename filepath to
9336         filepath_ and make it private
9337         (filePath): new method
9338
9339         * buffer.C (writeFile): use fileName()
9340         (getLatexName):
9341
9342         * lyx_main.C (init): fix starting  of LyX when the binary is a
9343         link from so,ewhere else.
9344
9345         * minibuffer.C: include <cctype> for isprint
9346
9347 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9348
9349         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9350         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9351         name clash with InsetCollapsable's width function.
9352
9353 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9354
9355         * lastfiles.C: include <iterator>
9356
9357 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9358
9359         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9360         std::count.
9361
9362         * buffer.C (makeLaTeXFile): ditto.
9363         Also make loop operation more transparent.
9364
9365 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9366
9367         * ToolbarDefaults.C: remove trailing comma closing namespace.
9368
9369         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9370
9371         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9372         as in WorkArea.
9373
9374         * trans.C (Load): comment out unused variable, allowed.
9375
9376 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9377
9378         * minibuffer.[Ch] (append_char): new method to recieve input from the
9379         drop-down completion browser. If a key was pressed, then recieve this
9380         char and append it to the existing string.
9381         (peek_event): modify the positioning data passed to the completion
9382         browser so that it can be placed above the minibuffer rather than below.
9383 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9384
9385         * LyXAction.C (init): alloe error-next for readonly documents.
9386
9387         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9388         count.
9389
9390 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391
9392         * bufferlist.C (readFile): create the buffer _after_ checking that
9393         the file exists.
9394
9395         * lyxfunc.C (verboseDispatch): fix handling of arguments
9396
9397         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9398
9399         * lyxrc.C: use string::erase() instead of initializing to "".
9400
9401
9402 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9403
9404         * BufferView_pimpl.h:
9405         * BufferView_pimpl.C:
9406         * WorkArea.h:
9407         * WorkArea.C:
9408         * text2.C: tell X when we have made a selection for copying
9409
9410 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9411
9412         * BufferView_pimpl.C (MenuInsertLyXFile):
9413         * lyxfunc.C (menuNew):
9414         (open):
9415         (doImport): add shortcuts to directory buttons
9416
9417         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9418         open a float)
9419
9420         * lyxfunc.C (setStatusMessage):
9421         (getStatusMessage): new methods
9422         (getStatus):use setStatusMessage instead of setErrorMessage
9423         (dispatch): when function is disabled, set error message here
9424         [instead of in getStatus previously]
9425
9426         * BufferView_pimpl.C (workAreaButtonRelease): update
9427         toolbar/menubar here too.
9428
9429 2002-01-13  Allan Rae  <rae@lyx.org>
9430
9431         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9432         Now seems indestructible.  Remaining task is to audit all other
9433         code affected by deleteEmptyParagraphMechanism.  One small quirk
9434         left is that an empty document with an error in the preamble can
9435         be made to report an error but no error box appears.  I don't know
9436         where it goes.
9437         (removeAutoInsets): Improved comments.
9438
9439 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * Thesaurus.h:
9442         * Thesaurus.C: update for Aiksaurus 0.14
9443
9444 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9445
9446         * text2.C (firstParagraph): removed member function, all uses
9447         replaces with ownerParagraph
9448         (redoParagraphs): here
9449         (updateInset): here
9450         (toggleAppendix): here
9451         * BufferView2.C (insertErrors): here
9452         (setCursorFromRow): here
9453
9454 2002-01-13  Allan Rae  <rae@lyx.org>
9455
9456         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9457         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9458         There is still a way to segfault this although you may have to do this
9459         multiple times: Have an InsetERT with an unknown command in it.
9460         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9461         <down-arrow>, <Enter> again, View->DVI, BANG!
9462
9463         * text2.C (setCursor):
9464         (deleteEmptyParagraphMechanism):
9465         * lyxtext.h (setCursor):
9466         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9467         Making use of the return value may help fix other bugs.
9468
9469 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9470
9471         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9472
9473         * LyXView.C (updateMenubar): call MenuBar::update here
9474         (updateToolbar): but not here
9475         (showState): do not update toolbar/menubar
9476
9477         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9478         should need to care about that.
9479
9480         * lyxfunc.C (verboseDispatch): simplify a bit
9481         (getStatus): have a version which takes a pseudoaction, and
9482         another which requires a (kb_action,string).
9483
9484         * LyXAction.C (retrieveActionArg): make it work also when action
9485         is not a pseudo-action.
9486         (getActionName): simplify a bit
9487         (helpText):
9488
9489 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9490
9491         * lyxfunc.C (verboseDispatch): new families of methods with
9492         several ways to specify a command and a bool to indicate whether
9493         the command name and shortcut should be displayed in minibuffer
9494         (eventually, we could extend that to a finer bitmask like
9495         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9496         (dispatch): the pristine dispatch command which just, well,
9497         dispatchs! Note it still sets its result to minibuffer; I'm not
9498         sure we want that.
9499
9500         * lyxfunc.h: remove setHintMessage
9501
9502         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9503
9504 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9505
9506         * BufferView_pimpl.C (specialChar): delete new inset if we have
9507         not been able to insert it.
9508
9509         * kbmap.C: revert to using int instead of kb_action, since all we
9510         are dealing with is pseudo-actions.
9511
9512         * LyXAction.C (searchActionArg): change to return int instead of
9513         kb_action, since the result is a pseudoaction.
9514
9515 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9516
9517         * buffer.C (insertErtContents): Fix (partially) the font bug.
9518
9519 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9520
9521         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9522         as the other one is broken on my machine!
9523
9524 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9525
9526         * commandtags.h:
9527         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9528
9529 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9530
9531         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9532         reflect their actual use. Provide compatibility code for older lyxrc
9533         files.
9534
9535         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9536         FL_NORMAL_STYLE.
9537         change names of popup font variables in line with the changes to lyxrc.C
9538
9539 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * buffer.C (asciiParagraph): avoid outputing a word twice after
9542         an inset.
9543
9544         * lyxrc.C (getDescription): document that document_path and
9545         template_path can be empty.
9546
9547 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9548
9549         * LaTeXFeatures.C (getMacros):
9550         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9551
9552         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9553
9554         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9555         getPackages.
9556         (getPackages): rename feature "floats" to "float". Use an array to
9557         iterate over 'simple' features (i.e. just a \usepackage). Add
9558         handling of "amsmath" (renamed from "amsstyle").
9559
9560 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9561
9562         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9563         features list.
9564
9565 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9566
9567         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9568         FuncStaus::FuncStatus & FuncStaus::some_method().
9569
9570 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9571
9572         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9573         of the func_satus stuff. Edited and massaged in various ways by
9574         JMarc.
9575
9576         * lyxfunc.C (getStatus): use FuncStatus
9577
9578 2002-01-08  Juergen Vigna  <jug@sad.it>
9579
9580         * text.C (nextBreakPoint): use function Inset::isChar().
9581
9582         * paragraph.C (TeXOnePar): use function
9583         Inset::forceDefaultParagraphs.
9584
9585         * buffer.C (latexParagraphs): use function
9586         Inset::forceDefaultParagraphs.
9587
9588 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9589
9590         * lyx_gui.C (init): set the style of the menu popups to
9591         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9592
9593 2002-01-07  Juergen Vigna  <jug@sad.it>
9594
9595         * text.C (setHeightOfRow): small fix
9596         (prepareToPrint): don't look at alignment if we don't have the place
9597         for doing it.
9598
9599 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9600
9601         * box.C: New file. Move the Box methods and functions out of box.h,
9602         following Lars' suggestion.
9603
9604 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9605
9606         * box.h: #include "support/LOstream.h", needed for inlined function.
9607
9608         * lyxtextclass.C:
9609         * lyxtextclasslist.C: added some using std declarations.
9610
9611 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9612
9613         * box.h: make signed dimensions to allow insets wider than
9614           the screen (bug #162)
9615
9616         * BufferView_pimpl.C: add some insetHit debug
9617
9618 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * vc-backend.C: add FIXME
9621
9622 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * lyxfunc.C (getStatus): enable code for showing math font status
9625         in toolbar/menu.
9626
9627 2002-01-07  Juergen Vigna  <jug@sad.it>
9628
9629         * text.C (nextBreakPoint): removed debug output not needed anymore.
9630
9631 2002-01-06  Juergen Vigna  <jug@sad.it>
9632
9633         * text.C (nextBreakPoint): fixed up this function we had this bug
9634         since ever but now hopefully we break row better.
9635         (insertChar): we have to check if an inset is the next char as it
9636         could now happen that a large inset is causing a break.
9637
9638 2002-01-05  Juergen Vigna  <jug@sad.it>
9639
9640         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9641         if it doesn't like to be drawed.
9642
9643 2002-01-04  Juergen Vigna  <jug@sad.it>
9644
9645         * BufferView2.C (lockInset): forgot to set a cursor.
9646
9647         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9648
9649 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9650
9651         * FormMathsPanel.C:
9652         * FormMathsPanel.h
9653         * MathsSymbols.C:
9654         * form_maths_panel.C:
9655         * form_maths_panel.h:
9656         * form_maths_panel.fd: implemented sub- and super- buttons in math
9657         panel.
9658
9659         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9660         (or ^ space) to be used as in TeX (req'd by André).
9661
9662         * lyxfunc.C: Allow ^ and _ again to be used both as
9663         super/subscript (mathed) and as themselves (in text).
9664
9665 2002-01-03  Allan Rae  <rae@lyx.org>
9666
9667         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9668         "LyX" or the filename of the current buffer if it has one.  This is a
9669         modified form of John Levon's patch.
9670
9671         * XFormsView.C (setWindowTitle): also set icon title.
9672
9673         * LyXView.h (setWindowTitle): signature changed.
9674         * XFormsView.h (setWindowTitle): ditto.
9675
9676 2002-01-02  Juergen Vigna  <jug@sad.it>
9677
9678         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9679
9680 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9681
9682         * screen.C (topCursorVisible): introduce a temp var for
9683         text->cursor.row(), handle the case where this row is null. (kindo
9684         hachish)
9685
9686         * text2.C (setCursor): add a couple of asserts.
9687
9688         * paragraph.h (inset_iterator): add -> operator
9689
9690         * paragraph.[Ch] (autoDeleteInsets): remove member function
9691
9692         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9693         cursor pos correctly and handle inset deletion by itself.
9694         (insertErrors): move iterator declaration out of for expression
9695
9696         * lyxtextclass.C: add <algorithm>
9697
9698         * Makefile.am: added the new files to sources, removed layout.C
9699
9700         * layout.C: removed file
9701
9702         * layout.h: remove LYX_DUMMY_LAYOUT
9703
9704         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9705         layout.
9706
9707         * lyxlayout.[Ch]:
9708         * lyxtextclass.[Ch]:
9709         * lyxtextclasslist.[Ch]: new files
9710
9711         * include order changes to a lot of files, also changes because of
9712         the six new files.
9713
9714 2001-12-27  Juergen Vigna  <jug@sad.it>
9715
9716         * buffer.C (asciiParagraph): more fixes.
9717
9718         * tabular.C (ascii): make ascii export support export of only the
9719         data separated by a column-delimiter.
9720         (ascii): better support for ascii export.
9721
9722         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9723
9724 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * tabular_funcs.C: use a "using std::getline" instead of the
9727         previous fix from Angus (necessary for cxx + lyxstring)
9728
9729 2001-12-24  Juergen Vigna  <jug@sad.it>
9730
9731         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9732
9733         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9734         problems. First check a minipage also if we have some ert-contents
9735         (not only on par->size(), second set the right depth of the paragraph
9736         on the relink to the root-paragraph-list!
9737
9738         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9739         which then did not anymore update the main paragraphs on undo/redo!
9740
9741 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9742
9743         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9744         code. Support all font-changing funcs (even those which are not in
9745         menu currently). Support for reporting font settings in
9746         mathed (disabled until Andre provides a function on mathed's side).
9747
9748         * func_status.h (toggle): small helper function to set toggle
9749         state on a flag.
9750
9751 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9752
9753         * tabular_funcs.C: getline -> std::getline
9754
9755 2001-12-21  Juergen Vigna  <jug@sad.it>
9756
9757         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9758         accessed and could be 0 (I couldn't generate this but it seems
9759         Michael could!).
9760
9761 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9762
9763         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9764         * tabular_funcs.h: here and include iosfwd
9765
9766 2001-12-20  Juergen Vigna  <jug@sad.it>
9767
9768         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9769         inside inset but undo_par was.
9770
9771 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * Thesaurus.C: always include <config.h> in sources.
9774
9775         * Painter.h:
9776         * lyxlookup.h:
9777         * box.h: do not include <config.h> in header files
9778
9779         * text.C (paintLastRow): remove unused variable
9780
9781         * text.C (transformChar):
9782         (insertChar):
9783         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9784
9785         * Painter.C (text):
9786         * font.C (width): rewrite to use uppercase() instead of
9787         islower/toupper.
9788
9789         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9790
9791 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9792
9793         * lyxfind.C: clean up of find failure position change
9794
9795 2001-12-20  Juergen Vigna  <jug@sad.it>
9796
9797         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9798
9799         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9800         (TeXRow): added to LaTeX a single tabular row.
9801         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9802         (Latex): simplified and finally good LT-h/f support.
9803         (various_functions): just small adaptions for LT-h/f support.
9804
9805         * tabular_funcs.[hC]: added and moved here all not classfunctions
9806         of LyXTabular.
9807
9808 2001-12-19  Juergen Vigna  <jug@sad.it>
9809
9810         * tabular.[Ch]: better support for longtabular options (not finished
9811         yet!)
9812
9813 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * text.C (paintLastRow): use the label font instead of the font of
9816         the last character to compute the size of *_BOX. This makes more
9817         sense and avoids a crash with empty paragraphs.
9818         Use Painter::rectangle to draw EMPTY_BOX.
9819
9820 2001-12-19  Juergen Vigna  <jug@sad.it>
9821
9822         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9823         the paragraphs if the replaced paragraph is not the first one!
9824         Tried to delete not used paragraphs but does not work yet so for
9825         now it's inside #ifdef's and by default off!
9826
9827 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * MenuBackend.C: include "lyx_main.h" instead of declaring
9830         lastfiles (actually was declared as LastFiles* instead of a
9831         scoped_ptr).
9832
9833 2001-12-17  Juergen Vigna  <jug@sad.it>
9834
9835         * tabular.C (AppendColumn): applied John's fix
9836
9837 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9838
9839         * BufferView.h:
9840         * BufferView.C:
9841         * BufferView_pimpl.h:
9842         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9843
9844         * Makefile.am:
9845         * box.h: new start of class for above
9846
9847         * lyxfunc.C: ignore space-only minibuffer dispatches.
9848           Show the command name when it doesn't exist
9849
9850         * minibuffer.C: don't add empty lines to the history
9851
9852         * minibuffer.C: add a space on dropdown completion
9853
9854 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * text.C: fix line above/below drawing in insets
9857
9858 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9859
9860         * lyxlength.C (LyXLength): Initialize private variables.
9861
9862 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9863
9864         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9865         when inserting error insets.
9866
9867 2001-12-13  Juergen Vigna  <jug@sad.it>
9868
9869         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9870         actually sometimes the before-paragraph.
9871         (setUndo): don't clear the redostack if we're not actually undoing!
9872
9873 2001-12-06  Juergen Vigna  <jug@sad.it>
9874
9875         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9876         and fixed redoing of main paragraph, so we can use it now ;)
9877
9878         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9879
9880 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9881
9882         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9883         Juergen's request
9884
9885 2001-12-13  André Pönitz <poenitz@gmx.net>
9886
9887         * undostack.[Ch]:
9888         * undo_func.C: minor cleanup
9889
9890 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9891
9892         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9893         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9894         font in urw-fonts package which is marked as -urw-fontspecific and
9895         does not work (incidentally, changing the encoding in the
9896         fonts.dir of this package to -adobe-fontspecific fixes the
9897         problem).
9898
9899         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9900         is a crash when undoing first paragraph (Juergen, please take a
9901         look). THis does not mean the undo fix is wrong, just that it
9902         uncovers problems.
9903
9904         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9905         the (Paragraph*) version when needed instead of duplicating the
9906         code.
9907
9908         * text.C (workWidth): use Inset::parOwner to find out where the
9909         inset has been inserted. This is a huge performance gain for large
9910         documents with lots of insets. If Inset::parOwner is not set, fall
9911         back on the brute force method
9912
9913         * paragraph_pimpl.C (insertInset):
9914         * paragraph.C (Paragraph):
9915         (cutIntoMinibuffer): set parOwner of insets when
9916         inserting/removing them
9917
9918         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9919
9920 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9921
9922         * commandtags.h:
9923         * LyXAction.C:
9924         * lyx_main.C:
9925         * lyxfunc.C:
9926         * mathed/formulabase.C:
9927         * mathed/math_cursor.[Ch]:
9928         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9929
9930
9931 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * lyxlength.[Ch] (operator!=): new function
9934
9935 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * text.C (workWidth): use Inset::parOwner to find out where the
9938         inset has been inserted. This is a huge performance gain for large
9939         documents with lots of insets. If Inset::parOwner is not set, fall
9940         back on the brute force method
9941
9942         * paragraph_pimpl.C (insertInset):
9943         * paragraph.C (Paragraph):
9944         (cutIntoMinibuffer): set parOwner of insets when
9945         inserting/removing them
9946
9947         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9948
9949 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9950
9951         * tabular-old.C (getTokenValue):
9952         * tabular.C (getTokenValue):
9953         (write_attribute): new versions for LyXLength
9954         (everywhere): adjust the use of widths
9955
9956         * tabular.h: change the type of widths from string to LyXLength
9957
9958 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9959
9960         * paragraph.C: fixed missing line number count when exporting
9961         Environments to LaTeX file
9962
9963         * buffer.C: added informational message for checking line numbers.
9964
9965 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9968         paragraph, do the 'double space' part, but not the 'empty
9969         paragraph' one.
9970
9971         * text.C (workWidth): small optimization
9972         (getLengthMarkerHeight): use minimal size for negative lengths.
9973
9974 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9975
9976         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9977
9978         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9979
9980 2001-12-11  André Pönitz <poenitz@gmx.net>
9981
9982         * FontLoader.C:
9983         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9984
9985 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9986
9987         * text2.C: keep selection on a setFont()
9988
9989 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * lyx_cb.C: another bv->text misuse, from insert label
9992
9993 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9994
9995         * kbsequence.h:
9996         * kbsequence.C: re-instate nmodifier mask
9997
9998 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9999
10000         * lyx_main.h: make lyxGUI private.
10001
10002 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10003
10004         * lyxfind.C: place the cursor correctly on failed search
10005
10006 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * text.C (getLengthMarkerHeight): for small heights, the arrows
10009         are not always on top/bottom of the text
10010         (drawLengthMarker): smaller arrows; take the left margin in
10011         account; draw also vfills.
10012         (paintFirstRow):
10013         (paintLastRow): remove special code for vfill and standard spaces,
10014         since everything is handled in drawLengthMarker now.
10015
10016 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10017
10018         * buffer.C (insertErtContents): try to handle font and language
10019         interaction a bit better.g
10020
10021         * ColorHandler.C (updateColor): change the hash to cover the whole
10022         LColor enum, ws cleanup
10023         (getGCLinepars): ditto
10024         (getGCLinepars): only lookup in the linecache once.
10025
10026 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10027
10028         * iterators.C (operator++): Make the iterator more robust
10029
10030         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10031         (John's patch)
10032         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10033
10034 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * lyxtext.h:
10037         * text.C: better added space drawing
10038
10039 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * LyXView.C:
10042         * BufferView2.C: fix layout combo update on inset unlock
10043
10044 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10045
10046         * Makefile.am: don't compile unused files
10047
10048 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * lyxfunc.C:
10051         * commandtags.h:
10052         * LyXAction.C: remove old LFUN_LAYOUTNO
10053
10054 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * paragraph_pimpl.h:
10057         * paragraph_pimpl.C: isTextAt() doesn't need font param
10058
10059 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * lyxlex.h:
10062         * lyxlex.C: little cleanup
10063
10064 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10065
10066         * BufferView_pimpl.C: fix insertAscii for insets
10067
10068 2001-12-05  Juergen Vigna  <jug@sad.it>
10069
10070         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10071         set the right font on the "multi" paragraph paste!
10072
10073 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10074
10075         * trans_decl.h:
10076         * trans_mgr.[Ch]:
10077         * trans.[Ch]:
10078         * lyxgluelength.C:
10079         * lyxlength.C: remove out-commented code.
10080
10081         * BufferView_pimpl:
10082         * CutAndPaste.C:
10083         * DepTable.C:
10084         * buffer.C:
10085         * chset.C:
10086         * lastfiles.C:
10087         * lyxlex.C:
10088         * lyxlex_pimpl.C:
10089         * lyxserver.C:
10090         * screen.C:
10091         * tabular-old.C:
10092         * tabular.C:
10093         * text.C:
10094         * trans_mgr.C:
10095         * vc-backend.C: change "while(" to "while ("
10096
10097         * lyxlength.[Ch]: add zero function to check if length is zero or
10098         not
10099         * lyxgluelength.C: use it
10100
10101 2001-12-05  Allan Rae  <rae@lyx.org>
10102
10103         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10104         Works for 2.95.3, from what I understand of Garst's reports this should
10105         work for other g++ versions.  We're screwed if the abs(int) definition
10106         changed between bugfix releases of gcc.
10107
10108 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * text.C: fix chapter label offset !
10111
10112 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10113
10114         * lyxtext.h:
10115         * text.C: fix hfill at end of line, clean up
10116
10117 2001-12-04  Juergen Vigna  <jug@sad.it>
10118
10119         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10120         that we force an update of the inset and it's owners if neccessary.
10121
10122 2001-12-03  Juergen Vigna  <jug@sad.it>
10123
10124         * text.C (rowLast): simplified code
10125
10126 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10127
10128         * lyxfunc.C: fix show options on timeout
10129
10130 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10131
10132         * screen.C (topCursorVisible): scroll half a page when the cursor
10133         reached top of bottom of screen
10134
10135 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * minibuffer.C: deactivate on loss of focus
10138
10139 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * vspace.[Ch] (operator!=): add operator.
10142
10143 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * BufferView_pimpl.C: refuse to open an inset when
10146         there's a selection.
10147
10148 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * BufferView_pimpl.C: allow to click on RHS of full row insets
10151
10152 2001-11-30  Juergen Vigna  <jug@sad.it>
10153
10154         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10155         insets for undo reasons.
10156
10157 2001-11-28  André Pönitz <poenitz@gmx.net>
10158
10159         * vspace.[Ch]: cosmetical changes
10160
10161 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10162
10163         * LyXAction.h:
10164         * LyXAction.C:
10165         * lyxfunc.h:
10166         * lyxfunc.C:
10167         * kbmap.h:
10168         * kbmap.C:
10169         * lyxrc.C:
10170         * kbsequence.h:
10171         * kbsequence.C: part re-write of old kb code
10172
10173         * Painter.C:
10174         * WorkArea.C: remove Lgb_bug_find_hack
10175
10176 2001-11-30  José Matos <jamatos@fep.up.pt>
10177
10178         * buffer.C (makeDocBookFile): add a comment to point a hack.
10179         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10180         Fixed a double write of labels.
10181
10182 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10183
10184         * LaTeX.C:
10185         * LaTeX.h Fixed bug in LaTeX class where it would not
10186         re-run latex if no depfiles were changed, but the .dvi was removed.
10187
10188 2001-11-28  André Pönitz <poenitz@gmx.net>
10189
10190         * all the files from the change on 2001/11/26:
10191         use lyx::layout_type instead of LyXTextClass::size_type
10192         use lyx::textclass_type instead of LyXTextClassList::size_type
10193
10194 2001-11-29  Juergen Vigna  <jug@sad.it>
10195
10196         * text.C: added support for paragraph::isFreeSpacing()
10197
10198         * buffer.C: same as above
10199
10200         * paragraph.h: inserted isFreeSpacing() function to enable
10201         FreeSpacing inside InsetERT.
10202
10203         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10204         of the paragraph's in the cut/copy buffer to 0!
10205
10206         * text2.C (removeRow): remove the assert as it can!
10207
10208         * lyxtext.h: added helper function firstRow returning firstrow and
10209         made firstrow private again.
10210
10211         * BufferView2.C (lockInset): don't relock if we're already locked!
10212
10213         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10214         the only paragraph.
10215         (removeRow): added Assert::(firstrow)
10216
10217         * debug.C: forgot to add INSETTEXT here.
10218
10219 2001-11-28  Juergen Vigna  <jug@sad.it>
10220
10221         * sp_spell.C (initialize): changed error text to more general
10222         spellchecker command use (not only ispell!)
10223
10224         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10225
10226         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10227
10228 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10229
10230         * vspace.C: initialise lyxgluelength on failure
10231
10232 2001-11-28  Allan Rae  <rae@lyx.org>
10233
10234         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10235         declaration & definition that looks like a function declaration.
10236
10237 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10238
10239         * BufferView2.C (copy):
10240         (copyEnvironment): do not clear the selection when doing a copy.
10241
10242         * text.C (paintFirstRow): compilation fix
10243
10244 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10245
10246         * tabular.C (Latex): correct line count when writing latex.
10247
10248 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10249
10250         * paragraph_pimpl.h:
10251         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10252           bug a bit
10253
10254 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * text.C:
10257         * LColor.h:
10258         * LColor.C: change vfillline->added_space
10259
10260         * text.C: add markers and text for added space
10261
10262         * vspace.C: fix comment
10263
10264 2001-11-28  André Pönitz <poenitz@gmx.net>
10265
10266         * paragraph.C: whitespace changes
10267         * all the other files from the change on 2001/11/26:
10268         change *::pos_type into lyx::pos_type
10269
10270 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10271
10272         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10273         language of the document when inserting error insets.
10274
10275 2001-11-26  André Pönitz <poenitz@gmx.net>
10276
10277         * BufferView_pimpl.[Ch]:
10278         *       CutAndPaste.C:
10279         * buffer.[Ch]:
10280         * lyxcursor.[Ch]:
10281         * lyxfind.C:
10282         * lyxfunc.C:
10283         * lyxrow.[Ch]:
10284         * paragraph.[Ch]:
10285         * paragraph_pimpl.[Ch]:
10286         * sp_spell.C:
10287         * text.C:
10288         * text2.C: reduce header dependencies, introduce type for positions
10289
10290 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * <various>: change to use Alert.h
10293
10294 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10295
10296         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10297         when encountering an unknown token.
10298         (readLyXformat2): Show an error message if there were unknown tokens.
10299
10300 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * BufferView2.C:
10303         * BufferView_pimpl.C:
10304         * buffer.C:
10305         * paragraph.h:
10306         * text.C:
10307         * text2.C: use par->isInset()
10308
10309 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * paragraph_pimpl.h:
10312         * paragraph_pimpl.C: cleanup
10313
10314 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10315
10316         * text2.C (removeRow):
10317         * text.C (setHeightOfRow): remove useless (and costly) call to
10318         getRow.
10319
10320 2001-11-20  Allan Rae  <rae@lyx.org>
10321
10322         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10323         Now need Inset*::checkInsertChar() to return true for appropriate
10324         cases so that the characters in the minibuffer will actually be
10325         inserted.
10326
10327 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * text.C: change the order of the includes.
10330         (workWidth): initialize it at once.
10331         (workWidth): make maxw unsigned
10332         (setHeightOfRow): remove unused variable (inset)
10333         (selectSelectedWord): remove unused variable (inset)
10334         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10335
10336 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10337
10338         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10339         server is not running.
10340         (openConnection):
10341         (closeConnection): add debug info when server is disabled.
10342
10343         * ColorHandler.C (getGCForeground): send debug message to GUI
10344         channel.
10345
10346         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10347
10348         * kbmap.C (bind): modify because return conventions of
10349         kb_sequence::parse have changed.
10350
10351         * kbsequence.C (parse): only ignore spaces and not any stupid
10352         control character. This avoids tests like s[i] <= ' ', which are
10353         guaranteed to fail with 8bit characters and signed chars.
10354         Change return code to string::npos when there have been no error
10355         (0 was a bad idea when error is at first character)
10356
10357 2001-11-14  José Matos  <jamatos@fep.up.pt>
10358
10359         * buffer.h:
10360         * buffer.C (simpleDocBookOnePar): removed unused argument.
10361
10362 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10363
10364         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10365         insets which are part of a word. Paragraph::isLetter takes care of
10366         that now. Use Paragraph::isInset to identify insets.
10367         (selectSelectedWord): do not test for hyphenation break.
10368
10369         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10370         that protected spaces are considered as spaces.
10371
10372         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10373         Inset::isLetter.
10374
10375 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10376
10377         * lyxserver.h:
10378         * lyxserver.C: fix it. and small cleanup.
10379
10380 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * BufferView_pimpl.C: use inline helpers
10383
10384         * LaTeXFeatures.h:
10385         * LaTeXFeatures.C: fix typos
10386
10387         * Spacing.h:
10388         * Spacing.C: move spacing_string into class
10389
10390         * ToolbarDefaults.C: move stuff into namespace anon
10391
10392         * layout.h: update enum
10393
10394         * lyxfunc.C: use better debug
10395
10396         * minibuffer.h: fix typo
10397
10398         * debug.h:
10399         * debug.C:
10400         * WorkArea.C: add and use Debug::WORKAREA
10401
10402         * lyxtext.h:
10403         * text.C:
10404         * text2.C: code re-organisation, inline helpers
10405
10406 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10407
10408         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10409         std::vector.empty().
10410
10411 2001-11-09  Allan Rae  <rae@lyx.org>
10412
10413         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10414         '\n's after tables.  Tabular and ERT inset work now makes this no
10415         longer necessary.
10416
10417 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * minibuffer.h:
10420         * minibuffer.C: fix crash, improve drop-down completion
10421
10422 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10423
10424         * lyxserver.h:
10425         * lyxserver.C: invalidate fd's when doing endPipe()
10426
10427 2001-11-08  José Matos  <jamatos@fep.up.pt>
10428
10429         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10430         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10431
10432         * paragraph.h:
10433         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10434
10435 2001-11-07  José Matos  <jamatos@fep.up.pt>
10436
10437         * buffer.h:
10438         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10439         const qualifier.
10440
10441         * buffer.C (sgmlOpenTag):
10442         * buffer.C (sgmlCloseTag): removed debug info.
10443
10444         * buffer.h (sgmlOpenTag):
10445         * buffer.h (sgmlCloseTag): made public.
10446
10447 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10448
10449         * buffer.C (saveParamsAsDefaults):
10450         * lyx_cb.C (MenuLayoutSave): remove
10451
10452         * LyXAction.C (init):
10453         * commandtags.h:
10454         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10455
10456 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10457
10458         * buffer.C (setPaperStuff): removed from here...
10459
10460         * bufferparams.C (setPaperStuff): ... and moved there.
10461
10462 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * minibuffer.h:
10465         * minibuffer.C:
10466         * XFormsView.C: add support for drop-down completion
10467
10468 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10469
10470         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10471         commands.
10472
10473 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10474
10475         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10476         disabled.
10477
10478 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * lyx_main.C: change ref to known bugs
10481
10482 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10483
10484         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10485         to work around older babel problems.
10486
10487 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10488
10489         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10490
10491 2001-10-24  Juergen Vigna  <jug@sad.it>
10492
10493         * tabular-old.C (ReadOld): below variable changes reflected.
10494
10495         * tabular.[Ch]: added ltType struct for longtable header/footer
10496         defines and changed all instances where they are used. Added
10497         future support for double top/bottom rows.
10498
10499 2001-10-24  José Matos  <jamatos@fep.up.pt>
10500
10501         * buffer.h (docbookHandleCaption):
10502         * buffer.C (docbookHandleCaption): removed unused function.
10503         (makeDocBookFile): moved docbook supported version to v4.1.
10504
10505 2001-10-24  José Matos  <jamatos@fep.up.pt>
10506
10507         * tabular.h:
10508         * tabular.C (docbookRow): new function to export docbook code of a row.
10509         (DocBook): now honors the longtable flags.
10510
10511 2001-10-23  José Matos  <jamatos@fep.up.pt>
10512
10513         * LaTeXFeatures.h:
10514         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10515         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10516
10517         * buffer.C (makeLinuxDocFile):
10518         (makeDocBookFile): reworked the preamble, more clean, and with
10519         support for lyx defined entities. Changed the document declaration
10520         to be more XML friendly.
10521
10522         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10523         if we need to output XML that should be done with a filter.
10524
10525 2001-10-22  Juergen Vigna  <jug@sad.it>
10526
10527         * sp_pspell.h (class PSpell): add alive function needed in the
10528         controller to see if the spellchecker could be started.
10529
10530 2001-10-22  Juergen Vigna  <jug@sad.it>
10531
10532         * buffer.C (insertStringAsLines): modify the font for inserting
10533         chars in certain conditions by calling checkInsertChar(font).
10534
10535 2001-10-19  Juergen Vigna  <jug@sad.it>
10536
10537         * text.C (workWidth): use getRow instead of wrong algorithm.
10538         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10539
10540 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * lyxserver.h:
10543         * lyxserver.C:
10544         * lyx_main.h:
10545         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10546
10547 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10548
10549         * text.C (workWidth): do not search for the exact row when
10550         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10551         optimization for big documents.
10552
10553 2001-10-18  Juergen Vigna  <jug@sad.it>
10554
10555         * text.C (workWidth): new function with added Inset * parameter.
10556
10557 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10558
10559         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10560
10561         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10562         change return type of getColumnNearX.
10563
10564
10565         * text.C (changeRegionCase): use uppercase/lowercase instead of
10566         toupper/tolower.
10567         (leftMargin):
10568         (rightMargin): simplify code by factoring out the uses of
10569         textclasslist.
10570         (labelFill):
10571         (numberOfHfills):
10572         (setHeightOfRow):
10573         (appendParagraph): use Paragraph::size_type
10574
10575 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10576
10577         * vspace.C (asLatexString): add a missing break
10578
10579 2001-10-15  Herbert Voss  <voss@perce.de>
10580
10581         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10582
10583 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10584
10585         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10586         is not available.
10587
10588 2001-10-10  André Pönitz <poenitz@gmx.net>
10589
10590         * lyxfunc.C: removed greek_kb_flag.
10591
10592 2001-10-10  Herbert Voss  <voss@perce.de>
10593
10594         * lyx_main.C: delete global string help_lyxdir.
10595
10596 2001-10-09  Herbert Voss  <voss@perce.de>
10597
10598         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10599
10600         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10601
10602         * lyx_main.C: added global string help_lyxdir.
10603
10604         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10605
10606 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10607
10608         * lyxrc.C (set_font_norm_type): support iso8859-4
10609
10610 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10611
10612         * LaTeX.C (deplog): add another regex for MikTeX
10613
10614 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10615
10616         * lyxrc.C (set_font_norm_type): support iso8859-3
10617
10618 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10619
10620         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10621
10622         * LaTeXFeatures.C: remove special case of french and index
10623
10624         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10625         before \begin{document}). This solves several incompatibilities.
10626
10627 2001-10-03  Garst Reese  <reese@isn.net>
10628
10629         * lyx_cb.C: change CheckTex error msg.
10630
10631 2001-10-03  José Matos  <jamatos@fep.up.pt>
10632
10633         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10634
10635 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10636
10637         * .cvsignore: update
10638
10639         * lyx_main.C (commandLineVersionInfo): use new style version info.
10640
10641         * buffer.C (writeFile):
10642         (makeLaTeXFile):
10643         (makeLinuxDocFile):
10644         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10645
10646         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10647
10648         * version.h: update to use stuff in version.C
10649
10650         * version.C.in: new file. Contains version information determined
10651         at compile time. This is a merging of version.h and
10652         version_info.h.in.
10653
10654 2001-10-03  Juergen Vigna  <jug@sad.it>
10655
10656         * BufferView_pimpl.C (update): don't change "dirty" status in
10657         updateInset call.
10658
10659 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10660
10661         * WorkArea.C (c-tor): re-position version string slightly.
10662
10663 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10664
10665         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10666         revert to previous code.
10667
10668         WorkArea.[Ch]: (show, destroySplash): methods removed.
10669
10670         WorkArea.C: rework code so that it's an amalgam of the codes before and
10671         after the splash screen was moved to WorkArea.
10672
10673 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10674
10675         * lyxrc.C (read):
10676         * vspace.C (inPixels):
10677         (lyx_advance):
10678         * kbmap.C (bind):
10679         * buffer.C (insertStringAsLines):
10680         (asciiParagraph): fix types to be large enough
10681
10682         * lyxlex_pimpl.h: change member status from short to int
10683
10684         * layout.h: fix type of endlabeltype
10685
10686         * kbmap.C (bind):
10687         * kbsequence.C (parse): change return type to string::size_type
10688
10689         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10690         variable
10691
10692         * Bullet.C (bulletSize):
10693         (bulletEntry): do not use short ints as parameters
10694
10695         * BufferView2.C (insertLyXFile): change a char to an int.
10696
10697         * WorkArea.C (WorkArea): remove unneeded floats in computation
10698
10699 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10700
10701         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10702
10703         * paragraph.C (asString): Do not ignore newline/hfill chars when
10704         copying to the clipboard.
10705
10706 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10707
10708         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10709         after a multi-line inset.
10710
10711 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10712
10713         * paragraph.C (validate): Set NeedLyXFootnoteCode
10714
10715 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10716
10717         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10718         and decrease-error to decrease.
10719
10720 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10721
10722         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10723         it more readable (should be equivalent)
10724
10725 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10726
10727         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10728
10729 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10730
10731         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10732         of a cursor (row, etc.) after a character has been deleted
10733         (deleteEmptyParagraphMechanism): call the method above on _all_
10734         cursors held by the LyXText when a double space has been
10735         detected/deleted.
10736
10737 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10738
10739         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10740         pixmap.
10741         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10742
10743         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10744         background. Use greyOut() and the new show() methods to toggle between
10745         the foreground and background. Add code to remove the splash after
10746         its initial showing.
10747
10748         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10749         (create_forms): no longer call Dialogs::showSplash.
10750
10751 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * .cvsignore: add version_info.h
10754
10755 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10756
10757         * version_info.h.in: new file
10758
10759         * Makefile.am: add version_info.h.in
10760
10761         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10762         version_info.h instead of VERSION_INFO
10763
10764 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10765
10766         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10767         The ERT inset now returns string().
10768
10769 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10770
10771         * lyxtext.h, text.C (selectNextWord): renamed as
10772         selectNextWordToSpellcheck.
10773
10774         * text.C (selectNextWordToSpellcheck): Modified to not select
10775         words inside an ERT inset.
10776
10777 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10778
10779         * lyx_cb.C (MenuLayoutSave): change a bit the question
10780
10781         * sp_base.h: include <sys/types.h>
10782
10783 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10784
10785         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10786
10787 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10788
10789         * several files: fix typos in user-visible strings
10790
10791 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10792
10793         * text2.C (pasteSelection): do not set the selection, since it
10794         will be cleared later. Actually, the intent was to fix the way the
10795         selection was set, but I figured rmoving the code was just as good.
10796
10797 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10798
10799         * FontLoader.C (available): Check if font is available without
10800         loading the font.
10801
10802 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10803
10804         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10805
10806 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10807
10808         * lyxrc.[Ch]: added display_graphics variable and associated code.
10809
10810 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10811
10812         * bufferparams.C (hasClassDefaults): new method. Returns true if
10813         the buffer parameters correspond to known class defaults
10814
10815 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10816
10817         * XFormsView.C (show): set minimum size to the main window.
10818
10819 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10820
10821         * text2.C (copySelection):
10822         (cutSelection):
10823         * lyxfind.C (LyXReplace):
10824         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10825         LyXText::selectionAsString.
10826
10827         * paragraph.C (asString): add "label" argument to the second form
10828
10829         * text2.C (selectionAsString): add "label" argument and pass it to
10830         Paragraph::asString.
10831
10832 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10833
10834         * lyx_main.C (commandLineHelp): remove version information
10835
10836 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10837
10838         * lyx_main.C: add -version commandline option
10839
10840 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10841
10842         * paragraph.h: make the optional constructor arg required instead.
10843         some modifications to other files because of this.
10844
10845         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10846
10847         * lyxserver.C (C_LyXComm_callback): make it static
10848
10849         * lyx_main.C (error_handler): make it static
10850
10851         * lyx_gui.C (LyX_XErrHandler): make it static
10852
10853         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10854
10855         * WorkArea.C: make the extern "C" methods static.
10856
10857         * Makefile.am (lyx_LDADD): simplify
10858
10859 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10860
10861         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10862         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10863
10864         * LyXAction.C (init):
10865         * lyxfunc.C (dispatch): associated code removal.
10866
10867 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10868
10869         * lyxfont.h (isSymbolFont): shut off warning
10870
10871         * text.C (setHeightOfRow):
10872         (getVisibleRow): fix crash with empty paragraphs which have a
10873         bottom line
10874
10875 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10876
10877         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10878         code.
10879
10880 2001-09-04  José Matos  <jamatos@fep.up.pt>
10881         * buffer.C
10882         * buffer.h
10883         * tabular.C (docbook): rename docBook method to docbook.
10884
10885 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10886
10887         * Makefile.am: add dependencies to main.o.
10888
10889 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10890
10891         * FontLoader.C (available): Return false if !lyxrc.use_gui
10892
10893 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10894
10895         * FontInfo.C (query):
10896         * converter.C (view):
10897         * importer.C (Import):
10898         * exporter.C (Export): Can not -> cannot.
10899
10900 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * BufferView_pimpl.C: allow to create index inset even if
10903           string is empty
10904
10905 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10906
10907         * buffer.C (getLists): replace boost::tie code with an explicit pair
10908         as boost::tie can break some compilers.
10909
10910         * iterators.h: Added a std:: declaration to the return type of
10911         ParIterator::size.
10912
10913 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10916           case.
10917
10918 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10919
10920         * iterators.[Ch]: New files. Provide paragraph iterators.
10921
10922         * buffer.C (changeLanguage): Use paragraph iterators.
10923         (isMultiLingual): ditto
10924
10925         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10926
10927 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10928
10929         * FontLoader.C: Support for cmr font.
10930
10931 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10932
10933         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10934         (available): New method.
10935
10936         * FontInfo.C (getFontname): Use scalable fonts even when
10937         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10938         found.
10939
10940 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10941
10942         * converter.C (Formats::view): reverted! Incorrect fix.
10943
10944 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10945
10946         * converter.C (Formats::view): only output the -paper option
10947         if the dvi viewer is xdvi, thereby fixing bug #233429.
10948
10949 2001-08-23  Herbert Voss  <voss@perce>
10950
10951         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10952
10953 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10954
10955         * Spacing.h (Spacing): Set space to Default on in the default
10956         constructor.
10957
10958 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10959
10960         * vc-backend.h (RCS::versionString): add RCS to version
10961         (CVS::versionString): add CVS to version
10962
10963         * vc-backend.C (scanMaster): do not add CVS to version.
10964         (scanMaster): do not add RCS to version
10965
10966         * lyxvc.C (versionString): new method
10967
10968         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10969
10970 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * Spacing.C (set): initialize fval
10973
10974 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10975
10976         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10977         " or \.
10978
10979 2001-08-16  Juergen Vigna  <jug@sad.it>
10980
10981         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10982
10983 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * BufferView_pimpl.C:
10986         * figureForm.C:
10987         * lyxtext.h:
10988         * text2.C: setParagraph takes linespacing now
10989
10990 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * LyxAction.C: add internal LFUN_CITATION_INSERT
10993
10994         * LyXView.C: actually apply fix
10995
10996         * bufferlist.C: fix open non-existent file
10997
10998         * lyxfind.C: fix indentation
10999
11000         * lyxfunc.C: remove unneeded assert, fix typo
11001
11002 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * MenuBackend.C: use "Floatname List"
11005
11006 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11007
11008         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11009         when converting LaTeX layout to insetERT.
11010         Generate a non-collapsed float when reading old float
11011
11012 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11013
11014         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11015         ERT insets.
11016
11017 2001-08-13  Juergen Vigna  <jug@sad.it>
11018
11019         * text.C (fill): return 0 instead of 20 as this seems to be the more
11020         correct value.
11021
11022 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11023
11024         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11025         lyxrc.font_norm.
11026
11027 2001-08-13  Juergen Vigna  <jug@sad.it>
11028
11029         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11030         casesensitive off.
11031         (SearchBackward): comment out the unlocking of the inset_owner this
11032         should not be needed!
11033
11034 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11035
11036         * Many files: Remove inherit_language, and add latex_language
11037
11038         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11039         collapsible insets.
11040
11041 2001-08-10  Juergen Vigna  <jug@sad.it>
11042
11043         * text.C (prepareToPrint): fixed hfill-width in draw!
11044
11045         * BufferView2.C (selectLastWord): save the selection cursor as this
11046         now is cleared in the function LyXText::clearSelection!
11047
11048 2001-08-08  Juergen Vigna  <jug@sad.it>
11049
11050         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11051         BACKSPACE type functions.
11052
11053         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11054         is only cutted from the document but not put in the cut-buffer, where
11055         still the old stuff should be.
11056
11057         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11058
11059         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11060
11061         * tabular.C (SetWidthOfCell): fixed special case where the width
11062         was not updated!
11063         (LeftLine): handle '|' in align_special.
11064         (RightLine): ditto
11065         (LeftAlreadyDrawed): ditto
11066         (SetWidthOfCell): ditto
11067
11068 2001-08-07  Juergen Vigna  <jug@sad.it>
11069
11070         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11071
11072 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11075         * lyxlex.[hC]: ditto
11076
11077 2001-08-06  Juergen Vigna  <jug@sad.it>
11078
11079         * text.C (getVisibleRow): fix up row clearing a bit.
11080
11081 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11082
11083         * minibuffer.C: make sure the X server sees the changes in the input.
11084
11085 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11086
11087         * paragraph.C (getFont): split into...
11088         (getLabelFont): this
11089         (getLayoutFont): and this
11090         * paragraph_pimpl.C (realizeFont): calling this
11091
11092         * text2.C (getFont): split into...
11093         (getLayoutFont): this
11094         (getLabelFont): and this
11095         (realizeFont): all three calling this
11096
11097         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11098         files where used.
11099
11100 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11101
11102         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11103
11104 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11105
11106         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11107         layouts from the Quote inset insertion.
11108
11109 2001-08-03  Juergen Vigna  <jug@sad.it>
11110
11111         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11112
11113         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11114         only if status not is already CHANGED_IN_DRAW (second level).
11115
11116         * text.C (draw): don't set the need_break_row when inside an
11117         InsetText LyXText.
11118
11119 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * buffer.C (parseSingleLyXformat2Token): handle more latex
11122         conversion cases.
11123
11124         * bufferview_funcs.[hC]: change function names to
11125         begin with small char, adjust other files.
11126
11127 2001-08-02  André Pönitz <poenitz@gmx.net>
11128
11129         * lyxfunc.C:
11130         BufferView_pimpl.C: remove broken special code for math-greek
11131
11132 2001-08-02  Juergen Vigna  <jug@sad.it>
11133
11134         * BufferView_pimpl.C (update): redone this function so that we
11135         update the text again if there was a CHANGE_IN_DRAW.
11136
11137         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11138         (drawFromTo): added a new internal bool which is used by draw() and
11139         redraw() function.
11140         (general): some cursor drawing problems fixed.
11141
11142 2001-08-01  Juergen Vigna  <jug@sad.it>
11143
11144         * lyxfind.C (LyXFind): fixed
11145         (SearchForward): ditto
11146         (SearchBackward): ditto
11147
11148         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11149         spurius drawing of the cursor in the main area.
11150
11151         * text2.C (status): small fix which could lead to a segfault!
11152         (clearSelection): remove unneeded BufferView param.
11153
11154 2001-08-01  André Pönitz <poenitz@gmx.net>
11155
11156         * lyxfunc.C: small change due to changed mathed interface
11157
11158 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11161
11162 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11163
11164         * lyxfunc.c: fail gracefully if file doesn't exist
11165
11166         * LyXSendto.C:
11167         * buffer.C:
11168         * lyxfunc.C:
11169         * BufferView_pimpl.C: IsDirWriteable() proto changed
11170
11171         * LyXView.C: fix updateWindowTitle() to store the last title
11172
11173 2001-07-31  Juergen Vigna  <jug@sad.it>
11174
11175         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11176         the font (wrong since using of Paragraph::highestFontInRange).
11177
11178         * paragraph.C (highestFontInRange): added a default_size parameter.
11179
11180         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11181         (setHeightOfRow): reformat
11182
11183 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11184
11185         * converter.[hC] + affected files: move to (inital-char)lowercase
11186         function names.
11187
11188         * ParagraphParameters.C (ParagraphParameters): remove commented code
11189
11190         * PainterBase.[Ch]: remove commented code
11191
11192         * LaTeXFeatures.h: add "bool floats" for float.sty
11193
11194         * LaTeXFeatures.C (LaTeXFeatures): init floats
11195         (require): handle float
11196         (getPackages): do it with floats
11197
11198 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11199
11200         * BufferView_pimpl.C (Dispatch): improve handling of
11201         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11202
11203         * commandtags.h: #include lyxfont.h here temporarily to avoid
11204         keybinding bug.
11205
11206         * bufferlist.h: include LString.h here.
11207
11208 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11209
11210         * text2.C (getStringToIndex): new method.
11211
11212 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11213
11214         * *: Reduced header file dependencies all over.
11215
11216 2001-07-30  Baruch Even  <baruch@lyx.org>
11217
11218         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11219
11220 2001-07-29  Baruch Even  <baruch@lyx.org>
11221
11222         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11223
11224 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * ParameterStruct.h (endif): add a default constructor to make
11227         sure that all variables is initialized.
11228
11229         * ParagraphParameters.C (ParagraphParameters): adjust
11230
11231 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11232
11233         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11234         index; also, check that there is something to index, and that it
11235         does not span over several paragraphs.
11236         (doubleClick): use WHOLE_WORD_STRICT for double click.
11237
11238         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11239
11240         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11241         scheme.
11242
11243 2001-07-26  Baruch Even  <baruch@lyx.org>
11244
11245         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11246         an InsetFig figure, backwards compatible reading of old figure code.
11247
11248 2001-07-27  Juergen Vigna  <jug@sad.it>
11249
11250         * text2.C: font.realize function adaption.
11251
11252         * text.C (draw): add a warnings lyxerr text if needed.
11253
11254         * layout.C: font.realize function adaption.
11255
11256         * language.C: add inherit_language and implement it's handlings
11257
11258         * bufferview_funcs.C (StyleReset): remove language parameter from
11259         font creation (should be language_inherit now).
11260
11261         * bufferparams.C (writeFile): handle ignore_language.
11262
11263         * paragraph.C (getFontSettings): the language has to be resolved
11264         otherwise we have problems in LyXFont!
11265
11266         * lyxfont.C (lyxWriteChanges): added document_language parameter
11267         (update): removed unneeded language parameter
11268
11269         * paragraph.C (validate): fixed wrong output of color-package when
11270         using interface colors for certain fonts in certain environments,
11271         which should not seen as that on the final output.
11272
11273 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * BufferView_pimpl.C:
11276         * Thesaurus.h:
11277         * Thesaurus.C:
11278         * Makefile.am:
11279         * commandtags.h:
11280         * LyXAction.C: add thesaurus support
11281
11282         * lyxfind.h:
11283         * lyxfind.C: add "once" parameter, for thesaurus, to not
11284           move to the next match
11285
11286 2001-07-26  Juergen Vigna  <jug@sad.it>
11287
11288         * lyxfont.C (realize): honor ignore_language too!
11289         (resolved): ditto.
11290
11291         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11292
11293         * text.C (draw): one place more for ignore_language to not draw
11294         itself!
11295
11296 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11297
11298         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11299
11300 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11303         the minipage conversion problem.
11304
11305 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11308         insert an inset.
11309
11310 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * BufferView.h: don't forward declare WorkArea
11313
11314         * BufferView.C: don't include WorkArea.h
11315
11316 2001-07-25  André Pönitz <poenitz@gmx.net>
11317
11318         * commandtags.h:
11319         * LyXAction.C:
11320         * lyxfunc.C:  new LFUN 'math-space'
11321
11322         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11323
11324 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * text2.C (toggleInset): call open/close
11327
11328 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11329
11330         * lyxfunc.C (dispatch): add debug for the disabled case
11331
11332         * font.C (buttonText): make similar to rectText
11333
11334         * buffer.C (readInset): comment out parsing of insetlist and
11335         insttheorem
11336
11337         * PainterBase.C (rectText): small correction
11338
11339         * BufferView_pimpl.C: comment out insettheorem and insetlist
11340         * LyXAction.C: ditto
11341         * commandtags.h: ditto
11342
11343 2001-07-24  Juergen Vigna  <jug@sad.it>
11344
11345         * text.C (draw): honor the ignore_language.
11346
11347         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11348
11349 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11350
11351         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11352         char inset.
11353
11354 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11355
11356         * lyxtext.h: remove unused (and unimplemented) methods
11357
11358 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11359
11360         * text.C (getVisibleRow): honor background color
11361
11362         * PainterBase.h:
11363         * Painter.h: remove default color argument for fillRectangle
11364
11365         * text.C (backgroundColor): new method
11366
11367 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * text.C (getVisibleRow): adjust
11370
11371         * font.[Ch] (rectText): new method, metrics
11372         (buttonText): new method, metrics
11373
11374         * PainterBase.[hC]: make rectText and buttonText always draw and take
11375         fewer paramteres.
11376
11377 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11378
11379         * ToolbarDefaults.C (read):
11380         * MenuBackend.C (read): allow escaping in all strings
11381
11382         * BufferView_pimpl.C (insertAndEditInset): new method.
11383         (Dispatch): use insertAndEditInset whenever appropriate.
11384
11385         * BufferView_pimpl.C (insertNote): removed
11386
11387         * BufferView_pimpl.C (smartQuote): new method, moved from
11388         BufferView; if an insetquote cannot be inserted, insert a '"'
11389         character instead.
11390
11391         * BufferView2.C: remove insertCorrectQuote();
11392
11393         * lyxfunc.C (getStatus): Add support for all remaingin
11394         inset-insert lfuns.
11395
11396         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11397
11398         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11399         command (necessary to pass " as parameter of self-insert.
11400
11401         * text.C (selectWordWhenUnderCursor):
11402         (selectWord): add word_location parameter
11403         (selectWordWhenUnderCursor): same + remove special code for word
11404         boundary.
11405         (selectNextWord): use kind() to guess type of insetspecialchar,
11406         not latex().
11407
11408         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11409         (insertErtContents): create ert insets as collapsed.
11410         (readInset): better compatibility code for Info inset.
11411
11412 2001-07-20  Juergen Vigna  <jug@sad.it>
11413
11414         * lyxfunc.C (dispatch): use always LyXFind now!
11415
11416         * text2.C (init): add a reinit flag so that the LyXText can be
11417         reinited instead of deleted and reallocated (used in InsetText).
11418
11419         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11420
11421         * text.C: ditto
11422
11423         * text2.C: ditto
11424
11425 2001-07-18  Juergen Vigna  <jug@sad.it>
11426
11427         * text.C (selectNextWord): handle insets inside inset by calling
11428         always the bv->text functions so that we can go up the_locking_inset!
11429
11430         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11431         in strange locations when inside an inset!
11432
11433         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11434         handling to include insets.
11435
11436         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11437
11438 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11439
11440         * LyXAction.C (init):
11441         * commandtags.h:
11442         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11443         LIGATURE_BREAK, since the name is so stupid.
11444
11445 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11448         InsetInfos.
11449
11450         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11451
11452         * sp_form.[Ch]: remove.
11453
11454         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11455
11456         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11457         InsetInfo.
11458
11459         * src/buffer.C (readInset): ditto.
11460
11461 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11462
11463         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11464         menuSeparator(), endOfSentenceDot(), ldots() and
11465         hyphenationPoint(), which are therefore removed.
11466         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11467
11468         * LyXAction.C (init):
11469         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11470
11471         * paragraph.C (getWord): removed.
11472
11473         * BufferView_pimpl.C (Dispatch): use last word or selection for
11474         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11475
11476         * lyx_main.C (queryUserLyXDir): do not ask before creating
11477         user_dir, except if it has been named explicitely.
11478
11479 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11480
11481         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11482         a document of zero size.
11483
11484 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11485
11486         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11487         approriately in the c-tor and in require().
11488         (getPackages): output the appropriate LaTeX for natbib support.
11489
11490         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11491         variables "use_natbib" and "use_numerical_citations" when reading the
11492         LyX file.
11493         (readInset): read the various natbib cite commands.
11494         (validate): white-space change.
11495
11496         * bufferparams.[Ch]: new variables "bool use_natbib" and
11497         "bool use_numerical_citations".
11498         (writeFile): output them in the LyX file.
11499
11500 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11501
11502         * lyxfunc.C (getStatus): add support for all the inset insertion
11503         commands.
11504
11505         * text2.C (insertInset):
11506         * paragraph.C (insetAllowed):
11507         * BufferView_pimpl.C (insertInset): update to take in account the
11508         renaming of insertInsetAllowed
11509
11510         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11511
11512         * text2.C (getInset): new method. returns inset at cursor position.
11513
11514         * BufferView_pimpl.C (Dispatch): changes because of this.
11515
11516         * LyXAction.C (init): rename open-stuff to inset-toggle.
11517
11518         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11519
11520         * text2.C (toggleInset): renamed from openStuff; use
11521         Inset::open().
11522
11523 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11524
11525         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11526
11527         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11528
11529 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11530
11531         * buffer.C (readLyXformat2): Add filename to the error dialog
11532
11533 2001-07-18  Juergen Vigna  <jug@sad.it>
11534
11535         * tabular.C (GetCellNumber): put an assert here instead of the check!
11536
11537 2001-07-17  Juergen Vigna  <jug@sad.it>
11538
11539         * BufferView_pimpl.C (toggleSelection): adapted too.
11540
11541         * text.C (selectNextWord): adapted for use with insets.
11542         (selectSelectedWord): ditto
11543
11544 2001-07-17  Juergen Vigna  <jug@sad.it>
11545
11546         * sp_spell.C (PSpell): fix initialitation order.
11547
11548 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11549
11550         * paragraph.C: spacing
11551
11552 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11553
11554         * sp_spell.C: repair language selection for pspell
11555
11556 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11557
11558         * lyxfunc.h: change more methods to begin with lower char.
11559
11560 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11561
11562         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11563         for unknown layouts.
11564
11565 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11566
11567         * buffer.C (readLyXformat2): Generate an error dialog if there are
11568         unknown layouts.
11569
11570 2001-07-16  Juergen Vigna  <jug@sad.it>
11571
11572         * sp_spell.C: always compile ISpell part.
11573
11574         * lyxrc.C: added use_pspell entry and it's handling.
11575
11576 2001-07-13  Juergen Vigna  <jug@sad.it>
11577
11578         * sp_spell.C: removed double includes.
11579
11580 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11581
11582         Consistent use of Lsstream.h:
11583         * Lsstream.h: added using std::stringstream for consistencies sake.
11584
11585         * buffer.C: removed using std::stringstream
11586
11587         * lyxfont.C (stateText):
11588         * paragraph.C (asString):
11589         * text.C (selectNextWord, selectSelectedWord):
11590         * text2.C (setCounter):
11591         * vspace.C (asString, asLatexString):
11592         std::ostringstream -> ostringstream.
11593
11594 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11595
11596         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11597         * commandtags.h: add LFUN_HELP_ABOUTLYX
11598         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11599
11600 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11601
11602         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11603         cursorToggle()
11604         * lyx_gui_misc.C: remove spellchecker
11605         * lyxfunc.C: showSpellchecker
11606         * sp_base.h: added
11607         * sp_ispell.h: added
11608         * sp_pspell.h: added
11609         * sp_spell.C: added
11610         * sp_form.[Ch]: removed
11611         * spellchecker.[Ch]: removed
11612
11613 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11614
11615         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11616         is set.
11617         (simpleTeXSpecialChars): Simply print the input character without
11618         any special translation if pass_thru is set.
11619
11620         * layout.h: Added bool pass_thru to layout class for being able to
11621         implement pass through of a paragraph for Literate Programming.
11622
11623         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11624         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11625         * layout.C (Read): add "passthru" to list of layout tags and add
11626         code to set the pass_thru boolean when it is read.
11627
11628 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * trans_decl.h: remove allowed from KmodInfo
11631
11632         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11633         remove allowed code
11634         (Load): adjust
11635
11636         * paragraph_pimpl.C (erase): use boost::prior
11637
11638         * Painter.C (text): use data() instead of c_str() when length is
11639         also provided.
11640         * WorkArea.C (putClipboard): ditto
11641         * font.h (width): ditto
11642
11643         * BufferView2.C: use it-> instead of (*it). for iterators
11644         * texrow.C: ditto
11645         * paragraph_pimpl.C: ditto
11646         * paragraph.C: ditto
11647         * minibuffer.C: ditto
11648         * language.C: ditto
11649         * kbmap.C: ditto
11650         * encoding.C: ditto
11651         * counters.C: ditto
11652         * converter.C: ditto
11653         * chset.C: ditto
11654         * Variables.C: ditto
11655         * TextCache.C: ditto
11656         * MenuBackend.C: ditto
11657         * LyXAction.C: ditto
11658         * LColor.C: ditto
11659         * FloatList.C: ditto
11660         * DepTable.C: ditto
11661         * ColorHandler.C (LyXColorHandler): ditto
11662
11663 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11664
11665         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11666
11667         * text2.C (openStuff): reintroduce this method (which had been
11668         nuked in NEW_INSETS frenzy).
11669
11670         * lyxfunc.C (Dispatch): when an action has not been handled, use
11671         its name in the error message, not its number.
11672
11673         * paragraph.C (inInset): change method name to begin with lowercase.
11674
11675         * undo_funcs.C:
11676         * text2.C: updates because of this.
11677
11678 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11679
11680         * ToolbarDefaults.C (add): add spaces in error message
11681
11682 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11683
11684         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11685         (readLyXformat2): rename return_par to first_par, use lyxlex's
11686         pushToken and remove the manual push handling.
11687         (parseSingleLyXformat2Token): add another ert comp. variable:
11688         in_tabular, rename return_par to first_par. handle newlines better
11689
11690 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11691
11692         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11693
11694 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11695
11696         * text2.C (getParFromID): removed
11697
11698         * buffer.C (getParFromID): new method moved form lyxtext.
11699         * BufferView2.C (insertErrors): adjust
11700         (setCursorFromRow): adjust
11701         * BufferView_pimpl.C (restorePosition): adjust
11702         * lyxfunc.C (Dispatch): adjust
11703         * undo_funcs.C (textUndo): adjust
11704         (textRedo): adjust
11705         (textHandleUndo): adjust
11706         (textHandleUndo): adjust
11707
11708 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11709
11710         * buffer.C: up' the LYX_FORMAT
11711
11712         * lyxfont.h: turn NO_LATEX on as default
11713
11714         * buffer.C (insertErtContents): new methods of tex style compability.
11715         (parseSingleLyXformat2Token): use it several places.
11716         * tabular.C (OldFormatRead): and here
11717
11718 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * text2.C: remove some commented code.
11721         reindent file.
11722
11723         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11724         * trans.C: changes because of the above.
11725
11726 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11727
11728         * text2.C (setCounter): Fix counters bug with bibliography layout.
11729
11730 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11731
11732         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11733         own member functions
11734         (simpleTeXSpecialChars): ditto
11735
11736 2001-07-06  Juergen Vigna  <jug@sad.it>
11737
11738         * a lot of files: changed the access to LyXText::status and the
11739         call of undo-functions.
11740
11741         * undo.[Ch]: added a inset_id to the undo informations.
11742
11743         * undo_funcs.[Ch]: added and moved here all undo functions.
11744
11745         * lyxtext.h: give the status enum a weight, made status_ a private
11746         variable and made accessor functions for it, removed the whole bunch
11747         of undo-functions as they are now in their own file, make some
11748         functions publically available. Added function ownerParagraph with
11749         int parameter.
11750
11751         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11752         made InInset() a const function, added getParFromID() function.
11753
11754         * buffer.[Ch]: added const version for inset_iterator functions,
11755         added getInsetFromID() function.
11756
11757         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11758         changed undo functions for new version.
11759
11760 2001-07-05  Juergen Vigna  <jug@sad.it>
11761
11762         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11763         unknow mechanism does not call the proper constructor but only this
11764         one also if I request the other!?
11765
11766 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11769
11770         * text2.C (LyXText): use initialization lists.
11771
11772         * lyxtext.h (Selection): initialize set_ and mark_
11773         (init): remove method
11774
11775 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11776
11777         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11778
11779 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11780
11781         * screen.[Ch]: change method names to begin with lowercase
11782
11783         * BufferView_pimpl.C (updateScrollbar): simplify further and
11784         hopefully make it a bit faster.
11785
11786 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11787
11788         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11789         calling directly xforms functions.
11790
11791         * Painter.C (Painter):
11792         * lyx_cb.C (MenuWrite):
11793         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11794         fl_display.
11795
11796         * lyx_gui.C: remove bogus guiruntime extern declaration.
11797
11798 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11799
11800         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11801         in NEW_INSETS
11802         (redoDrawingOfParagraph): ditto
11803         (redoParagraphs): ditto
11804         (cutSelection): don't create a object for CutAndPaste use the
11805         static method directly
11806         (pasteSelection): ditto
11807
11808         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11809         LyXview (+ rename)
11810
11811 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11812
11813         * modifications to some other files because of this.
11814
11815         * Makefile.am (lyx_SOURCES): add XFormsView
11816
11817         * XFormsView.[Ch]: new files
11818
11819         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11820         the main window. Move the gui dependent stuff to XFormsView
11821
11822 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11823
11824         * tabular.C (GetCellInset): update cur_cell also in the row/col
11825         version of this function.
11826
11827         * lyxfunc.C: no need to include figure_form.h here.
11828
11829         * FontLoader.h:
11830         * lyxfunc.h:
11831         * lyxscreen.h:
11832         * text2.C:
11833         * lyxvc.C: no need to include forms.h here.
11834
11835 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11836
11837         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11838
11839         * lyxfunc.C (Dispatch):
11840         * Spacing.C (set):
11841         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11842         constructor argument.
11843
11844 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11845
11846         * paragraph.C (Paragraph): dont't clear, and just set layout.
11847         (makeSameLayout): use params's copy contructor.
11848
11849         * ParagraphParameters.[Ch] (makeSame): delete method
11850
11851 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * Variables.[Ch]: fix indentation, rename set to isSet
11854
11855 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * lyxfunc.C (Dispatch): fix typo
11858
11859 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11860
11861         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11862         upper_bound.
11863
11864         * bufferlist.C: include assert.h for emergencyWrite().
11865
11866 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11869           give up at last (bug #425202) !
11870
11871 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * lyx_gui_misc.C:
11874         * sp_form.h:
11875         * sp_form.C:
11876         * spellchecker.h:
11877         * spellchecker.C: strip spellchecker options and bring up
11878           preferences tab instead
11879
11880 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11881
11882         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11883         the istringstream constructor
11884
11885 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * paragraph.C (getLayout): fix return value
11888
11889         * paragraph.h: do not declare getLayout as inline.
11890
11891         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11892
11893 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * lyxcursor.h (operator<): new func
11896         (operator>): new func
11897         (operator>=): new func
11898         (operator<=): new func
11899
11900         * text.C (changeCase): use selection.start and selection.end
11901         (changeRegionCase): require from to be <= to. Require par to be a
11902         valid paragraph.
11903
11904         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11905
11906 2001-06-27  Juergen Vigna  <jug@sad.it>
11907
11908         * text.C (cursorLeftOneWord): changed to return the cursor and added
11909         overlay with BufferView * parameter which calls this one.
11910         (getWord): added
11911         (selectWord): use new getWord function.
11912         (changeCase): renamed from changeWordCase as and extended to work
11913         also on selections.
11914
11915         * lyxtext.h: added enum word_location
11916
11917         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11918         changeCase as this operates now also on selections.
11919
11920 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11921
11922         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11923
11924         * many files: send debug output to Debug::INFO instead of
11925         Debug::ANY.
11926
11927         * converter.C (View):
11928         (Convert):
11929         (Move): send debug output to Debug::FILES instead of console.
11930
11931 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11932
11933         * lyxfunc.C (getStatus): use func_status
11934
11935         * func_status.h: new header, describing the results of
11936         LyXFunc::getStatus;
11937
11938         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11939         LFUN_MATH_HALIGN.
11940
11941 2001-06-25  The LyX Project  <jug@sad.it>
11942
11943         * buffer.C (sgmlOpenTag):
11944         (sgmlCloseTag):
11945         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11946
11947 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * text2.C: remove some dead code
11950
11951         * tabular.C (GetCellInset): store the last cell checked (gotten)
11952
11953         * tabular.h: add the helper for the speedup
11954
11955         * lyxtext.h: remove some dead code
11956
11957 2001-06-26  The LyX Project  <Asger>
11958
11959         * paragraph.C: Change export to LaTeX of alignment to
11960         \begin{center} and family for better roundtrip work with reLyX.
11961
11962         * Tune the math drawing a bit.
11963
11964 2001-06-25  The LyX Project  <Asger>
11965
11966         * LColor.C (LColor): New color for math background. New color
11967         for buttons.
11968
11969 2001-06-25  The LyX Project  <jug@sad.it>
11970
11971         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11972
11973         * lyxfunc.C (Open):
11974         * bufferlist.C (newFile): do not restrict to files ending with
11975         .lyx
11976
11977         * BufferView_pimpl.C (MenuInsertLyXFile):
11978
11979 2001-06-24  The LyX Project  <jug@sad.it>
11980
11981         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11982         of compare_no_case
11983
11984 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11985
11986         * lyxtext.h: rename most methods to begin with a small char.
11987         Lots of changes because of this.
11988
11989         * paragraph.C (Paragraph): do not call fitToSize
11990         (erase): call Pimpl::erase
11991         (insertChar): call Pimpl::insertChar
11992         (insertInset): call Pipl::insertInset
11993         (breakParagraph): do not call fitToSize
11994         (breakParagraphConservative): do not call fitToSize
11995         (fitToSize): remove method
11996
11997         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11998
11999 2001-06-24  The LyX Project  <Asger>
12000
12001         * Fix Qt compilation^2
12002
12003 2001-06-24  The LyX Project  <jug@sad.it>
12004
12005         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12006         depthHook(getDepth()-1).
12007
12008         * paragraph.h:
12009         * ParagraphParameters.h:
12010         * ParameterStruct.h: change type of depth to unsigned int ==
12011         depth_type. Many adaptations to other files before of that.
12012
12013 2001-06-24  The LyX Project  <Asger>
12014
12015         * Fix Qt compilation.
12016
12017 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12018
12019         * paragraph.h: renamed several methods to begin with small letter.
12020         several changes to many parts of the code because of this.
12021
12022 2001-06-23  The LyX Project  <jug@sad.it>
12023
12024         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12025         rewritten to discard all double spaces when KeepEmpty is off
12026         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12027         to only handle newlines but not fiddle with spaces and friends.
12028
12029         * lyxfunc.C (MenuNew): when doing 'new from template', use
12030         template_path as default directory
12031
12032 2001-06-23  The LyX Project  <Asger>
12033
12034         * Clean-up of header file includes all over
12035         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12036
12037 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * paragraph.h: renamed from lyxparagraph.h
12040
12041 2001-06-23  Asger  <lyx@violet.home.sad.it>
12042
12043         * Buffer.h: Removed Buffer::resize
12044         * BufferList.h: Removed BufferList::resize
12045         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12046         the document lazily when we change the width, or the font settings.
12047
12048 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12051
12052 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * buffer.h: remove out of date comment
12055
12056 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * lyxscreen.h:
12059         * screen.C: fix "theoretical" GC leak
12060
12061 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12062
12063         * LaTeX.C (scanAuxFile):
12064         (deplog): remove trailing \r when reading stream (useful under
12065         win32)
12066
12067 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12068
12069         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12070         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12071         and BufferView::theLockingInset(Inset*), so should use them and not
12072         access bv_->text->the_locking_inset directly.
12073
12074         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12075
12076 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12077
12078         * Makefile.am:
12079         * tex-defs.h: remove old unused file
12080
12081 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12082
12083         * BufferView_pimpl.C: fix typo, remove minibuffer message
12084           when buffer has loaded
12085
12086 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * lyxfunc.C (Dispatch): use stringstream
12089         (MenuNew): use stringstream
12090         (Open): use stringstream
12091
12092         * importer.C (Import): use stringstream
12093
12094         * bufferview_funcs.C (CurrentState): use stringstream
12095
12096         * LaTeX.C (run): use stringstream
12097
12098         * BufferView_pimpl.C (savePosition): use stringstream
12099         (restorePosition): use stringstream
12100         (MenuInsertLyXFile): use stringstream
12101
12102 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12103
12104         * BufferView.C:
12105         * Bullet.C:
12106         * ColorHandler.C:
12107         * FontInfo.C:
12108         * FontLoader.C:
12109         * LColor.C:
12110         * LaTeXFeatures.C:
12111         * Painter.C:
12112         * gettext.C:
12113         * lyx_gui_misc.C:
12114         * lyxserver.C:
12115         * vspace.C: removed // -*- C++ -*- as first line.
12116
12117         * lyxfind.h:
12118         * version.h: added // -*- C++ -*- as first line.
12119
12120 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12121
12122         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12123
12124         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12125         of string
12126
12127 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12130         of floats.
12131
12132 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12133
12134         * gettext.C: include LString.h even when --disable-nls is on.
12135
12136 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12137
12138         * converter.h (Get): changed argument type from int to
12139         FormatList::size_type to avoid unnecessary conversion.
12140
12141         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12142         before using it.
12143
12144 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12145
12146         * gettext.h: include LString.h even when --disable-nls is on.
12147
12148 2001-06-07  Juergen Vigna  <jug@sad.it>
12149
12150         * text.C (BreakAgain): subst spaces with tabs.
12151
12152         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12153         (resizeInsetsLyXText): set force on resizeLyXText.
12154
12155 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12156
12157         * gettext.h (gettext_init):
12158         (locale_init): use a real definition instead of a macro
12159
12160 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * Bufferview_pimpl.C:
12163         * LColor.h:
12164         * LColor.C: further lcolor tidies
12165
12166 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * BufferView_pimpl.C (updateScrollbar): simplify.
12169
12170         * BufferView2.C: don't include insets/insetinfo.h, change
12171         prototype for insertInset and call the Pimpl version. let
12172         updateInset call Pimpl version.
12173
12174         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12175         gotoInset to BufferView::Pimpl
12176
12177 2001-06-01  Juergen Vigna  <jug@sad.it>
12178
12179         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12180         inside a LockingInset (is the update needed at all?).
12181
12182 2001-05-31  Juergen Vigna  <jug@sad.it>
12183
12184         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12185         here not the old one otherwise how should we compare it afterwards
12186         if it's the same!
12187
12188 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12189
12190         * lyxfont.C:
12191         * tabular.C:
12192         * tabular-old.C:
12193         * FontInfo.C: bring C functions into global namespace when
12194         necessary
12195
12196 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12197
12198         * LString.h: make sure config.h has been loaded before LString.h.
12199
12200         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12201         (one for each char read by EatLine!).
12202
12203         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12204         variables.
12205
12206 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12209         to the same as the par we break from
12210
12211 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12214
12215         * MenuBackend.C (expand): also create menu entries for wide
12216         versions of the floats.
12217
12218         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12219
12220         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12221
12222         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12223         frontends/Makefile.am
12224
12225         * text2.C: adjust
12226         * text.C: adjust
12227
12228
12229         * tabular.C (getTokenValue): add std::
12230
12231         * tabular-old.C (getTokenValue): add std::
12232         (getTokenValue): ditto
12233         (getTokenValue): ditto
12234
12235         * screen.C (ToggleSelection): adjust
12236
12237         * lyxtext.h: put selection cursors inside a Selection struct.
12238
12239         * lyxfunc.C (moveCursorUpdate): adjust
12240
12241         * lyxfont.C (latexWriteStartChanges): add std::
12242
12243         * lyxfind.C: adjust
12244
12245         * font.h: delete with(char const *, LyXFont const &)
12246
12247         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12248
12249         * FontInfo.C (getFontname): add std::
12250
12251         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12252         (workAreaButtonPress): adjust
12253         (tripleClick): adjust
12254         (update): adjust
12255         (moveCursorUpdate): adjust
12256         (Dispatch): adjust
12257
12258         * BufferView2.C (gotoInset): adjust
12259
12260 2001-05-30  Juergen Vigna  <jug@sad.it>
12261
12262         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12263         to check pspell I add this as default as I now have new pspell
12264         libraries and they seem to use this.
12265
12266 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * text2.C (CutSelection): make the cursor valid before the call to
12269         ClearSelection.
12270
12271 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12272
12273         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12274         relied on 0 terminated strings and other horrors. Bug found due to
12275         the new assert in lyxstring!
12276
12277         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12278         KP_ keys.
12279
12280 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12281
12282         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12283         to latinkeys.bind.
12284
12285         * lyxfunc.C (processKeySym): change method of getting to the
12286         self-insert char.
12287
12288         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12289         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12290         * BufferView_pimpl.[Ch]: here as private methods.
12291
12292 2001-05-28  Juergen Vigna  <jug@sad.it>
12293
12294         * text.C (SetHeightOfRow): added the update() call again as it is
12295         needed to initialize inset dimensions!
12296
12297 2001-05-16  Juergen Vigna  <jug@sad.it>
12298
12299         * text2.C (SetCharFont): Add new function with BufferView * and
12300         bool toggleall parameters for setting insets internal fonts.
12301         (SetFont): Freeze the undo as we may change fonts in Insets and
12302         all this change should be inside only one Undo!
12303
12304         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12305         setting font's in insets as for them we have the SetFont function!
12306
12307 2001-05-15  Juergen Vigna  <jug@sad.it>
12308
12309         * text2.C (ClearSelection): to be sure we REALLY don't have any
12310         selection anymore!
12311
12312         * tabular.C (TeXCellPreamble): fixed the left border problem for
12313         multicolumn cells.
12314
12315 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12316
12317         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12318         dependancy file
12319
12320 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12323         LFUN_BREAKPARAGRAPH.
12324
12325         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12326         help test to "internal only", similar for LFUN_INSERT_URL
12327
12328         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12329         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12330         auto_region_delete and deadkeys.
12331
12332 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12333
12334         * LColor.h:
12335         * LColor.C: remove some dead entries, tidy a little
12336
12337 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12338
12339         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12340         commented code.
12341         (Dispatch): implement LFUN_ESCAPE
12342
12343         * commandtags.h: add LFUN_ESCAPE
12344
12345         * LyXAction.C (init): add entry for LFUN_ESCAPE
12346
12347         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12348         Remove commented code.
12349         (insertNote): moved here
12350         (open_new_inset): moved here
12351
12352         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12353         BufferView_pimpl
12354
12355 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * kbmap.C (findbinding): clean it up and make it work correctly.
12358
12359         * lyx_main.C (init): do not pass argc and argv as parameters
12360
12361 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12362
12363         * buffer.C: fix path for OS/2 & Win32
12364
12365         * lyx_gui.C:
12366         * lyx_main:
12367         * lyx_main.C: Added os:: class.
12368
12369         * os2_defines.h: update
12370
12371 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12374         better by trying again with reduced state.
12375
12376 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12377
12378         * lyxrc.C (read): print error about invalid key sequence only when
12379         debugging (because not all latinX keysyms are known to some X
12380         servers)
12381
12382         * kbsequence.C (getiso): add a few std:: qualifiers
12383         (getiso): comment out extra return statement.
12384
12385 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12388         handling.
12389         (Dispatch): enhance the accent inset a bit. (not perfect)
12390
12391 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12392
12393         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12394
12395 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12396
12397         * bufferlist.C (emergencyWrite): fix assert() call
12398
12399 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12400
12401         * text.C (InsertChar): Added trivial patch to only send the "you
12402         can not do multiple spaces this way" message once during a
12403         session.
12404
12405 2001-05-08  Baruch Even  <baruch@lyx.org>
12406
12407         * Makefile.am: Changed order of libraries to get LyX to link properly
12408         with the gnome frontend.
12409
12410 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12411
12412         * LaTeXFeatures.h: add a std:: qualifier
12413
12414 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * paragraph.C (String): use stringstream
12417
12418 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12419
12420         * paragraph.C (writeFile): remove footflag arg
12421
12422         * buffer.C (makeLaTeXFile): use stringstream
12423         (latexParagraphs): remove footnot gurba
12424
12425         * LaTeXFeatures.C (getPackages): use stringstream
12426         (getMacros): likewise
12427         (getTClassPreamble): likewise
12428         (getFloatDefinitions): new method
12429
12430         * paragraph.C (writeFile): reindent
12431         (Erase): reindent
12432
12433         * WorkArea.h: revert the xpos + etc changes.
12434
12435         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12436
12437         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12438
12439         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12440         (pasteSelection): likewise
12441         * text2.C (CreateUndo): likewise
12442
12443 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12444
12445         * minibuffer.C (peek_event): temporarily reduce the functionality
12446         of the minibuffer (to allow args on lfuns)
12447
12448         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12449         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12450
12451         * buffer.C (readInset): add compability reading of old float
12452         lists, add reading of new style float list.
12453         (readInset): avoid reevaluation of inscmd.getCmdName()
12454         (getLists): reindent
12455
12456         * MenuBackend.C (MenuItem): implement parsing of
12457         md_floatlistinsert and md_floatinsert.
12458         (expand::LastFiles): move initalizaton of iterators out of loop,
12459         avoid reevaluation.
12460         (expand::Documents): introduce typdedef vector<string> Strings,
12461         and use it.
12462         (expand::ExportFormats): introduce typedef vector<Format const *>
12463         Formats, and use it.
12464         (expand): implement FloatListInsert and FloatInsert.
12465
12466         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12467         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12468         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12469
12470         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12471         handling.
12472         (Dispatch::LFUN_FLOAT_LIST): implement
12473
12474 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12475
12476         * LaTeX.C (run): Fix problem with --export code.
12477
12478 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12479
12480         * BufferView.[Ch] (workarea): removed.
12481         (getClipboard) new method; wrapper for workarea()->getClipboard()
12482
12483         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12484         bug.
12485
12486         * WorkArea.h (width, height, xpos, ypos): These methods all
12487         returned the dimensions of the work_area sub-area of WorkArea,
12488         resulting in a position error if the WorkArea were resized. Now
12489         return the dimensions of the entire WorkArea.
12490
12491         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12492
12493 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12494
12495         * LaTeX.C (deplog): correct the syntax of regex reg1
12496
12497 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12498
12499         * undo.C: remove !NEW_INSETS cruft
12500
12501 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12502
12503         * text2.C: remove !NEW_INSETS cruft
12504
12505         * text.C: remove !NEW_INSETS cruft
12506
12507         * tabular.C: remove !NEW_INSETS cruft
12508
12509         * spellchecker.C: remove !NEW_INSETS cruft
12510
12511         * lyxtext.h: remove !NEW_INSETS cruft
12512
12513         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12514
12515         * lyxfunc.C: remove !NEW_INSETS cruft
12516
12517         * lyxfind.C: remove !NEW_INSETS cruft
12518
12519         * lyx_cb.C: remove !NEW_INSETS cruft
12520
12521         * figureForm.C: remove  !NEW_INSETS cruft
12522
12523         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12524
12525         * buffer.[Ch]: remove !NEW_INSETS cruft
12526
12527         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12528
12529         * CutAndPaste.C: remove !NEW_INSETS cruft
12530
12531         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12532
12533         * BufferView2.C: remove !NEW_INSETS cruft
12534
12535         * BufferView.h: remove !NEW_INSETS cruft
12536
12537 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12538
12539         * Lsstream.h: include LString.h before the sstream headers to
12540         fix problem with gcc 2.95.3 and lyxstring
12541
12542 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * lyx_main.C: add using directives when needed for C functions
12545         declared in std:: namespace.
12546
12547 2001-04-27  Juergen Vigna  <jug@sad.it>
12548
12549         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12550         (SetHeightOfRow): comment out the update call should not be needed!
12551
12552 2001-04-13  Juergen Vigna  <jug@sad.it>
12553
12554         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12555         (LyXTabular): tried to minimize operator= operations (and realized
12556         hopfully Lars wish).
12557
12558 2001-04-27  Juergen Vigna  <jug@sad.it>
12559
12560         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12561
12562 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12563
12564         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12565
12566         * buffer.C (readInset): hack to make listof algorithm work
12567
12568         * BufferView_pimpl.C: hack to make listof algorithm work
12569
12570 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * LyXAction.C: removed all !NEW_INSETS cruft
12573         (init): moved lfun_item in method
12574
12575         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12576
12577 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12578
12579         * BufferView2.C (theLockingInset): white space.
12580
12581 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * minibuffer.C: include <iostream>
12584
12585         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12586
12587         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12588
12589         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12590
12591         * text.[Ch] (TransposeChars): new method
12592
12593 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * call message directly through LyXView instead of through LyXFunc
12596         * BufferView2.C: adjust
12597         * BufferView_pimpl.C: adjust
12598         * FontLoader.C: adjust
12599         * buffer.C: adjust
12600         * bufferview_funcs.C: adjust
12601         * converter.C: adjust
12602         * figureForm.C: adjust
12603         * importer.C: adjust
12604         * lyx_cb.C: adjust
12605         * lyx_gui_misc.C: adjust
12606         * lyxfunc.C: adjust
12607         * lyxvc.C: adjust
12608         * text2.C: adjust
12609         + more files in subdirs
12610
12611         * lyxparagraph.h (size): move up int file
12612         (GetLayout): ditto
12613
12614         * adjust all uses of Assert to lyx::Assert.
12615
12616         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12617         lyxfunctional in namespace lyx
12618         * layout.C (hasLayout): ditto
12619         (GetLayout): ditto
12620         (GetLayout): ditto
12621         (delete_layout): ditto
12622         (NumberOfClass): ditto
12623         * converter.C (GetFormat): ditto
12624         (GetNumber): ditto
12625         (Add): ditto
12626         (Delete): ditto
12627         (SetViewer): ditto
12628         * bufferlist.C (getFileNames): ditto
12629         (emergencyWriteAll): ditto
12630         (exists): ditto
12631         (getBuffer): ditto
12632         * MenuBackend.C (hasSubmenu): ditto
12633         (hasMenu): ditto
12634         (getMenu): ditto
12635         * BufferView_pimpl.C (getInsetByCode): ditto
12636
12637 2001-04-18  Juergen Vigna  <jug@sad.it>
12638
12639         * vspace.C (asLatexString): fixed the 100% problem.
12640
12641 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12642
12643         * lyxfunc.C (Dispatch):
12644         * minibuffer.C:
12645         * minibuffer.h: add a few std:: qualifiers
12646
12647 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * minibuffer.[Ch]: reimplement so that commands is initiated and
12650         run from lyxfunc, simplified som handling, and made the completion
12651         and history code for complete. wip.
12652
12653         * lyxfunc.C (processKeySym): call message
12654         (miniDispatch): new temporary method
12655         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12656         (LFUN_MESSAGE): implement
12657         (LFUN_MESSAGE_PUSH): implement
12658         (LFUN_MESSAGE_POP): implement
12659         (initMiniBuffer): the initial/defualt minibuffer message.
12660
12661         * lyxfont.[Ch]: inline some more getters
12662
12663         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12664
12665         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12666
12667         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12668         (AutoSave): use LFUN_MESSAGE
12669         (Reconfigure): ditto
12670
12671         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12672
12673         * figureForm.C: use LFUN_MESSAGE
12674
12675         * converter.C (runLaTeX): use LFUN_MESSAGE
12676
12677         * bufferview_funcs.C: use LFUN_MESSAGE
12678         (Melt): ditto
12679         (changeDepth): ditto
12680
12681         * bufferparams.h: use boost::
12682
12683         * bufferlist.h: inherit privately from noncopyable
12684
12685         * bufferlist.C (loadLyXFile): remove some commented code.
12686
12687         * buffer.C (runChktex): use LFUN_MESSAGE
12688
12689         * ShareContainer.h: inherit privately from noncopyable
12690
12691         * ParagraphParameters.[hC] (depth): inline it.
12692
12693         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12694         methods.
12695         (message): new method
12696         (messagePush): ditto
12697         (messagePop): ditto
12698         (show): init minibuffer
12699         (showState): direct call
12700
12701         * LaTeX.[Ch]: inherit privately from noncopyable
12702         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12703         instead of WriteStatus.
12704
12705         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12706
12707         * BufferView_pimpl.C (buffer): don't init minibuffer
12708         (workAreaButtonPress): use LFUN_MESSAGE
12709         (workAreaButtonRelease): ditto
12710         (savePosition): ditto
12711         (restorePosition): ditto
12712         (MenuInsertLyXFile): ditto
12713         (workAreaExpose): don't init minibuffer
12714         (update): remove commented code, simplify
12715
12716         * BufferView2.C (openStuff): use LFUN_MESSAGE
12717         (toggleFloat): ditto
12718         (menuUndo): ditto
12719         (menuRedo): ditto
12720         (copyEnvironment): ditto
12721         (pasteEnvironment): ditto
12722         (copy): ditto
12723         (cut): ditto
12724         (paste): ditto
12725         (gotoInset): ditto
12726         (updateInset): remove some commented code
12727
12728         * lastfiles.h: inherit privately from noncopyable
12729         * layout.h: ditto
12730         * lyx_gui.h: ditto
12731         * lyx_main.h: ditto
12732         * lyxlex.h: ditto
12733         * lyxlex_pimpl.h: ditto
12734
12735         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12736         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12737         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12738
12739         * LyXAction.h: inherit privately from noncopyable, add methods
12740         func_begin, func_end, returning iterators to the func map.
12741
12742         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12743         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12744         (func_begin): new method
12745         (func_end): new method
12746
12747         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12748         and not)
12749         (copySelection): ditto
12750         (pasteSelection): ditto
12751
12752         * BufferView.C: whitespace change
12753         * BufferView.h: inherit privately from noncopyable
12754
12755 2001-04-16  Allan Rae  <rae@lyx.org>
12756
12757         * tabular-old.C (l_getline):
12758         * spellchecker.C (sc_check_word):
12759         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12760         an unrecognised preprocessor directive.  So ensure they're wrapped.
12761
12762 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12763
12764         * src/exporter.C (Export): Give an error message when path to file
12765         contains spaces.
12766
12767 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12768
12769         * LaTeX.C (deplog): Always check that foundfile exists.
12770
12771 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * lyx_main.h:
12774         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12775
12776 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * tabular.[Ch] (getLabelList): implement new method
12779
12780         * minibuffer.h: comment ouf setTiimer
12781
12782         * minibuffer.C (ExecutingCB): constify res
12783         (peek_event): constify s
12784         (Set): constify ntext
12785         (Init): constify nicename
12786
12787         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12788
12789         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12790         (savePosition): use two params to Minibuffer::Set
12791         (restorePosition): ditto
12792
12793 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * lyx_main.C: include language.h
12796
12797         * Makefile.am (lyx_main.o): add language.h
12798
12799 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * exporter.C:
12802         * paragraph.C:
12803         * screen.C:
12804         * tabular.C:
12805         * CutAndPaste.C: include gettext.h
12806
12807         * lyxfont.h: remove old hack with ON and OFF.
12808
12809         * lyxparagraph.h:
12810         * lyxfont.h: do not include language.h...
12811
12812         * BufferView2.C:
12813         * LaTeXFeatures.C:
12814         * Painter.C:
12815         * bufferview_funcs.C:
12816         * font.C:
12817         * lyxfont.C:
12818         * text.C:
12819         * text2.C:
12820         * trans_mgr.C:
12821         * paragraph.C: ... but do it here instead
12822
12823 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12824
12825         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12826
12827         * tabular.C: small reformat
12828
12829         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12830         NEW_INSETS version
12831         (GetChar): ditto
12832         (BreakParagraph): ditto
12833         (SetOnlyLayout): ditto
12834         (SetLayout): ditto
12835
12836         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12837         with one arg less.
12838
12839         * lastfiles.C: removed most using decl, add std:: where needed
12840
12841         * buffer.C: ws changes
12842
12843         * MenuBackend.C (class compare_format): put into anon namespace
12844         (expand): constify label, names, action, action2
12845         (expand):
12846
12847         * text.C (SingleWidth): constify font
12848         (IsBoundary): constify rtl2
12849         (GetVisibleRow): constify ww
12850
12851         * LaTeX.C (deplog): constify logfile
12852
12853         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12854         start_x, end_x
12855         (workAreaExpose): constify widthChange, heightChange
12856
12857         * lyxrow.C (par): moved
12858         (height): moved
12859         (next): moved
12860         * lyxrow.h: as inlines here
12861
12862         * lyxfont.h (shape): moved from lyxfont.C
12863         (emph): moved from lyxfont.C
12864
12865         * lyxfont.C (LyXFont): use initialization list for all
12866         constructors
12867         (shape): move to lyxfont.h as inline
12868         (emph): move to lyxfont.h as inline
12869
12870
12871 2001-04-04  Juergen Vigna  <jug@sad.it>
12872
12873         * vspace.C: had to include stdio.h for use of sscanf
12874
12875 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12876
12877         * BufferView.h:
12878         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12879         independent of xforms.
12880
12881 2001-04-02  Juergen Vigna  <jug@sad.it>
12882
12883         * spellchecker.C: fixed namespace placing!
12884
12885 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12886
12887         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12888         the LyXParagraph * is 0.
12889
12890 2001-03-29  Juergen Vigna  <jug@sad.it>
12891
12892         * vspace.C: added support for %, c%, p%, l%.
12893         (stringFromUnit): added helper function.
12894         (asLatexString): changed to give right results for the %-values.
12895
12896         * buffer.C: convert the widthp in a width%.
12897
12898 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12899
12900         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12901         figureForm.[Ch].
12902
12903         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12904         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12905
12906         * lyx_cb.[Ch]: see above.
12907
12908         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12909         form1.[Ch].
12910
12911         * form1.[Ch]:
12912         * lyx.[Ch]: replaced by figure_form.[Ch].
12913
12914         * lyx_gui.C:
12915         * lyx_gui_misc.C:
12916         * lyxfunc.C: changed headers associated with above changes.
12917
12918 2001-03-27  Juergen Vigna  <jug@sad.it>
12919
12920         * BufferView_pimpl.C: set the temporary cursor right!
12921
12922 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12923
12924         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12925
12926 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12927
12928         * LString.h: removed "using std::getline"!
12929
12930         * BufferView_pimpl.C (Dispatch): changes due to changes in
12931         InsetInclude::Params.
12932
12933         * buffer.C (tag_name): removed redundant break statements as they were
12934         producing lots of warnings with my compiler.
12935
12936 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12937
12938         * LString.h: add "using std::getline" when using the real <string>.
12939
12940 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12941
12942         * buffer.C: removed bitset usage.
12943         PAR_TAG moved to an anonymous name space.
12944         (tag_name): new funtion, also in the anonymous namespace.
12945         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12946         (makeDocBookFile): clean code. Completed transition from string arrays
12947         to string vectors.
12948         (SimpleDocBookOnePar): code clean.
12949
12950 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12951
12952         * tabular.C: add some comments.
12953
12954 2001-03-22  Juergen Vigna  <jug@sad.it>
12955
12956         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12957         compatibility read a bit and fixed bug with minipage in different
12958         depth.
12959
12960 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12961
12962         * buffer.C (pop_tag): removed.
12963         (push_tag): removed.
12964         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12965         array replaced with vector. Added support for CDATA sections.
12966         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12967         at any nest level.
12968         (makeDocBookFile): XML conformant declaration of CDATA section,
12969         fixed bug related to <emphasis> in the first paragraph char.
12970         (sgmlOpenTag): exclude empty tags.
12971         (sgmlCloseTag): ditto.
12972
12973         * buffer.h (pop_tag): removed.
12974         (push_tag): removed.
12975
12976 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12977
12978         * language.h (Languages): added size_type and size().
12979
12980 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12981
12982         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12983         response on compability reading of minipages. One probliem is that
12984         the old usage of minipages was «flertydig»
12985
12986         * several files here and in subdirs: don't use static at file
12987         scope use anon namespaces instead.
12988
12989 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12990
12991         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12992         LaTeX output. This is necessary for Literate document
12993         processing.
12994
12995 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12996
12997         * buffer.C: insert hfill when needed.
12998
12999         * tabular.C (l_getline): use string::erase, small whitespace change.
13000
13001         * BufferView_pimpl.C: try the anon namespace.
13002         * WorkArea.C: ditto
13003
13004 2001-03-16  Juergen Vigna  <jug@sad.it>
13005
13006         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13007         otherwise it won't open options-dialogs.
13008
13009         * buffer.C: honor pextraWidth(p) on converting minipages.
13010
13011         * tabular.C (l_getline): changed the functions to strip trailing \r.
13012
13013 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * BufferView_pimpl.C:
13016         * minibuffer..C: added "using SigC::slot" declaration.
13017
13018 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13019
13020         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13021
13022         * text2.C: ditto
13023
13024         * text.C: ditto
13025
13026         * paragraph.C: ditto
13027
13028         * lyxtext.h: NO_PEXTRA
13029
13030         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13031
13032         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13033         * ParameterStruct.h: ditto
13034         * ParagraphParameters.h: ditto
13035         * lyxparagraph.h: ditto
13036
13037 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13038
13039         * buffer.C: add compability for minipage alignment.
13040         (latexParagraphs): remove unwanted pextra check.
13041
13042         * several files: remove CXX_WORKING_NAMESPACES
13043
13044         * buffer.C (pop_tag): tie is in namespace boost
13045
13046         * BufferView.h: noncopyable is in namespace boost
13047         * lyxlex.h: ditto
13048         * lyx_main.h: ditto
13049         * lyx_gui.h: ditto
13050         * layout.h: ditto
13051         * lastfiles.h: ditto
13052         * bufferlist.h: ditto
13053         * ShareContainer.h: ditto
13054         * LyXView.h: ditto
13055         * LyXAction.h: ditto
13056         * LaTeX.h: ditto
13057
13058 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13059
13060         * Merging changes from BRANCH_MVC back into HEAD.
13061
13062         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13063
13064 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13065
13066         * BufferView_pimpl.C: change from intl.C
13067
13068         * combox.h:
13069         * combox.C:
13070         * Makefile.am: move combox.*
13071
13072         * form1.h:
13073         * form1.C:
13074         * lyx_gui.C:
13075         * intl.h:
13076         * intl.C: remove dialog (covered by prefs)
13077
13078 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13079
13080         * lyxfunc.C (Dispatch): removed redundant break statement.
13081
13082 2001-03-14  Juergen Vigna  <jug@sad.it>
13083
13084         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13085
13086 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13087
13088         * buffer.C: add hack to fix compability reading of minipages.
13089
13090 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13091
13092         * buffer.C (getLists): Cleanup.
13093
13094 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13095
13096         * lyxfont.C (update): don't honor toggleall on font size.
13097
13098 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13099
13100         * bmtable.c:
13101         * bmtable.h:
13102         * Makefile.am: moved to frontends/xforms/
13103
13104         * lyx_gui_misc.C:
13105         * lyxfunc.C:
13106         * BufferView_pimpl.C: changes for moved mathpanel
13107
13108 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * gettext.h: fix gettext_init() in --disable-nls
13111
13112 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13115
13116 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13117
13118         * lyx.C:
13119         * lyx.h: strip external form
13120
13121 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13122
13123         * BufferView_pimpl.C: add comment, destroySplash()
13124
13125 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13126
13127         * BufferView_pimpl.C:
13128         * LyXAction.C:
13129         * buffer.C:
13130         * commandtags.h:
13131         * lyxfunc.C: use re-worked insetinclude
13132
13133 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13134
13135         * buffer.C: add using std::stringstream.
13136
13137         * lyx_cb.C: readd using std::ios.
13138
13139         * buffer.C: add using std::map.
13140
13141         * BufferView_pimpl.C: add using std::vector.
13142
13143         * ShareContainer.h: add std:: to swap.
13144
13145         * buffer.h: add some typedefs
13146         * buffer.C (getLists): use them
13147         (getLists): renamed from getTocList.
13148         add a counter for the different float types and use it in the
13149         generated string.
13150         (getLists): use the same counter for the NEW_INSETS and the "non"
13151         NEW_INSETS
13152
13153         * lyx_cb.h: remove unused items, includes, using etc.
13154
13155         * ShareContainer.h: remove some commented code, add more comments
13156         and "documentation".
13157
13158 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13159
13160         * buffer.C (getTocList): make the list also when NEW_INSETS is
13161         defined.
13162
13163         * buffer.h: remove TocType
13164
13165         * buffer.C (getTocList): change to return a map<string,
13166         vector<TocItem> >, implement for dynamic number of list.
13167
13168         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13169         * text2.C (PasteSelection): adjust
13170         * CutAndPaste.C (pasteSelection): adjust
13171
13172         * FloatList.C (FloatList): update from the new_insets branch.
13173         * Floating.[Ch]: ditto
13174         * LaTeXFeatures.C: ditto
13175         * buffer.C: ditto
13176         * lyxlex_pimpl.C: ditto
13177
13178         * paragraph.C (Last): remove when NEW_INSETS is defined.
13179
13180         * other file: changes because of the above.
13181
13182 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13183
13184         * lyxparagraph.h: rename next to next_, previous to previous_,
13185         make them private for NEW_INSETS. Rename Next() to next(),
13186         Previous() to previous().
13187
13188         * other files: changes because of the above.
13189
13190 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13191
13192         * BufferView.h:
13193         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13194         problem.
13195
13196 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13197
13198         * main.C (main): pass lyx_localedir to gettext_init().
13199
13200         * gettext.h: remove locale_init and gettext_init macros
13201
13202         * gettext.C (locale_init): new function
13203         (gettext_init): new function
13204
13205         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13206         setlocale().
13207
13208 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13209
13210         * Moved credits to frontends:
13211         * credits.[Ch]: removed
13212         * credits_form.[Ch]: removed
13213         * lyx_gui_misc.C: remove credits stuff
13214         * Makefile.am:
13215
13216 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13217
13218         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13219
13220         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13221         unneeded destructor.
13222
13223         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13224         a standalone pointer again.
13225
13226         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13227
13228 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * Makefile.am:
13231         * filedlg.h:
13232         * filedlg.C:
13233         * LyXAction.C:
13234         * ToolbarDefaults.C:
13235         * bufferlist.C:
13236         * commandtags.h:
13237         * form1.C:
13238         * form1.h:
13239         * lyx_cb.C:
13240         * lyx_cb.h:
13241         * lyxfunc.h:
13242         * lyxfunc.C:
13243         * BufferView_pimpl.C: use new file dialog in GUII
13244
13245         * lyx_cb.h:
13246         * lyx_cb.C: remove LayoutsCB to Toolbar
13247
13248 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13249
13250         * ShareContainer.h (get): add std:: qualifier
13251
13252 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * ShareContainer.h: define a proper ShareContainer::value_type
13255         type (and use typename to please compaq cxx)
13256
13257 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13258
13259         * lyxparagraph.h: move serveral local vars to
13260         ParameterStruct/ParagraphParameters., use ShareContainer in
13261         FontTable., make vars in FontTable private and add getter and
13262         setter.
13263
13264         * paragraph.C: changes because of the above.
13265
13266         * lyxfont.h: remove copy constructor and copy assignment. (the
13267         default ones is ok), move number inside FontBits. move inlines to
13268         lyxfont.C
13269
13270         * lyxfont.C: add number to initializaton of statics, move several
13271         inlines here. constify several local vars. some whitespace
13272         cleanup. Dont hide outerscope variables.
13273
13274         * Spacing.h: add two new constructors to match the set methods.
13275
13276         * ShareContainer.h: new file, will perhaps be moved to support
13277
13278         * ParameterStruct.h: new file
13279
13280         * ParagraphParameters.h: new file
13281
13282         * ParagraphParameters.C: new file
13283
13284         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13285         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13286
13287         * BufferView_pimpl.C: ParagraphParameter changes.
13288         * buffer.C: Likewise.
13289         * bufferview_funcs.C: Likewise.
13290         * text.C: Likewise.
13291         * text2.C: Likewise.
13292
13293 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13294
13295         * lyxfind.C (LyXReplace): do not redefine default argument in
13296         implementation.
13297         (IsStringInText): ditto
13298         (SearchForward): ditto
13299         (SearchBackward): ditto
13300
13301 2001-03-06  Juergen Vigna  <jug@sad.it>
13302
13303         * lyxfind.C (IsStringInText): put parentes around expressions.
13304
13305 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13306
13307         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13308
13309 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13310
13311         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13312
13313         * stl_string_fwd.h: add comment
13314
13315         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13316
13317         * tabular.h:
13318         * tabular.C: remove unused DocBook methods
13319
13320         * intl.C:
13321         * language.C:
13322         * paragraph.C:
13323         * buffer.C:
13324         killed DO_USE_DEFAULT_LANGUAGE
13325
13326 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * lyx_gui.C: do not include language.h.
13329
13330         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13331         arguments in function implementation.
13332
13333 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13334
13335         * BufferView_pimpl.C: add <ctime>
13336
13337 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13338
13339         * BufferView_pimpl.C: add using std::find_if
13340
13341 2001-02-27  José Matos  <jamatos@fep.up.pt>
13342
13343         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13344         by OnlyPath.
13345
13346 2001-02-11  José Matos  <jamatos@fep.up.pt>
13347
13348         * buffer.C (makeDocBookFile): command styles now have a parameter as
13349         "title" by default.
13350
13351 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13352
13353         * layout_forms.[Ch]: removed
13354         * lyx_cb.[Ch]: out character
13355         * lyx_gui.C: out character
13356         * lyx_gui_misc.C: out character
13357         * bufferview_funcs.C: : out character,
13358         added toggleall as parameter in ToggleAndShow
13359
13360 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13361
13362         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13363
13364         * text2.C (SetCurrentFont): Disable number property at boundary.
13365
13366 2001-02-26  Juergen Vigna  <jug@sad.it>
13367
13368         * lyxfunc.C (getStatus): added a string argument override function so
13369         that this is correctly called from LyXFunc::Dispatch if it contains a
13370         do_not_use_argument which is used!
13371         (Dispatch): added check for "custom" export and call appropriate func.
13372
13373 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13374
13375         * lyxrc.C: Add language_command_local, language_use_babel and
13376         language_global_options.
13377
13378         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13379
13380         * buffer.C (makeLaTeXFile): Use language_use_babel and
13381         language_global_options.
13382
13383 2001-02-23  Juergen Vigna  <jug@sad.it>
13384
13385         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13386         which works with LyXText and putted it inside BufferView. Here now we
13387         only call for that part the BufferView::Dispatch() function.
13388
13389         * BufferView.C (Dispatch): added.
13390
13391         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13392         functions which needs to use a LyXText over from LyXFunc.
13393         (MenuInsertLyXFile): added
13394         (getInsetByCode): added
13395         (moveCursorUpdate): added
13396         (static TEXT): added
13397
13398 2001-02-22  Juergen Vigna  <jug@sad.it>
13399
13400         * BufferView_pimpl.C (update): call a status update to see if LyXText
13401         needs it.
13402
13403 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13404
13405         * vc-backend.C (revert): implement for CVS
13406         (getLog): implement for CVS
13407
13408 2001-02-20  Juergen Vigna  <jug@sad.it>
13409
13410         * text2.C (ClearSelection): added BufferView param for inset_owner call
13411
13412         * lyxfunc.C (TEXT): added this function and use it instead of
13413         directly owner->view()-text of getLyXText().
13414
13415 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13416
13417         * src/layout_forms.C: out preamble
13418         * src/layout_forms.h: out preamble
13419         * src/lyx_cb.C: out preamble
13420         * src/lyx_cb.h: out preamble
13421         * src/lyx_gui.C: out preamble
13422         * src/lyx_gui_misc.C: out preamble
13423         * src/lyxfunc.C: connect with guii preamble
13424
13425 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13426
13427         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13428
13429 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13430
13431         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13432         whether to run bibtex.
13433
13434 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13435
13436         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13437
13438 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13439
13440         * Makefile.am (lyx_SOURCES): removed bibforms.h
13441
13442         * vspace.h: doxygen
13443
13444         * text.C (GetVisibleRow): make several local vars const
13445
13446         * tabular.C: small cleanup.
13447
13448         * lyxserver.C (callback): use compare instead of strncmp
13449
13450         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13451         inlines to after class or to paragraph.C
13452
13453         * lyxfont.h: remove friend operator!=
13454
13455         * converter.h: move friend bool operator< to non friend and after
13456         class def.
13457
13458         * combox.h: small cleanup
13459
13460         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13461         to inlines after class def.
13462
13463         * buffer.C (pop_tag): use string operations instead of strcmp
13464
13465         * bmtable.c: doxygen, small cleanup
13466
13467         * LaTeX.h: remove friend operator==
13468
13469 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13470
13471         * screen.C:
13472         * lyxrc.[Ch]:
13473         * lyxfunc.C:
13474         * lyxfont.[Ch]:
13475         * lyx_cb.C:
13476         * intl.[Ch]:
13477         * commandtags.h:
13478         * buffer.C:
13479         * WorkArea.[Ch]:
13480         * LyXAction.C:
13481         * BufferView_pimpl.C:
13482         * BufferView.[Ch]: remove cruft
13483
13484 2001-02-14  Juergen Vigna  <jug@sad.it>
13485
13486         * lyxfunc.C: removed #if 0 unused code
13487
13488         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13489
13490         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13491
13492         * text2.C (SetSelection): added a BufferView * parameter
13493
13494 2001-02-13  Juergen Vigna  <jug@sad.it>
13495
13496         * lyxfunc.C (Dispatch): fixed protected blank problem.
13497         * BufferView2.C (protectedBlank): added LyxText * parameter.
13498
13499         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13500         (AppendColumn): same as above for column_info.
13501
13502         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13503         (moveCursorUpdate): use a LyXText param for support of InsetText.
13504
13505         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13506         (tripleClick): ditto
13507
13508         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13509
13510         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13511
13512         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13513
13514         * text2.C (SetSelection): set correct update status if inset_owner
13515         (ToggleFree): ditto
13516
13517 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13518
13519         * tabular.C: remove some commented code.
13520
13521 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * BufferView_pimpl.C: call hideSplash()
13524
13525         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13526
13527         * include_form.h:
13528         * bibforms.h: remove
13529
13530         * lyxfunc.C:
13531         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13532           add LFUN_CHILD_CREATE
13533
13534         * counters.h: fix tiny typo
13535
13536         * lyx_cb.C:
13537         * lyx.h:
13538         * lyx_gui.C:
13539         * lyx.C: move splash to frontends/xforms/
13540
13541         * lyx_gui_misc.C: move Include and Bibform to frontends
13542
13543         * lyxvc.h: clarify comment
13544
13545         * vspace.C: tiny housekeeping
13546
13547 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13548
13549         * text.C (PrepareToPrint): RTL Fix.
13550
13551         * paragraph.C (GetUChar): New method.
13552         (String):  Use GetUChar.
13553
13554         * buffer.C (asciiParagraph): Use GetUChar.
13555
13556 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13557
13558         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13559
13560 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13561
13562         * buffer.h:
13563         * buffer.C: rename to getLogName(), handle
13564           build log / latex log nicely
13565
13566 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * MenuBackend.C:
13569         * MenuBackend.h: remove support for reference menuitem type.
13570
13571 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13572
13573         * BufferView_pimpl.C: housekeeping
13574         * BufferView_pimpl.h:
13575         * LyXView.h:
13576         * Makefile.am:
13577         * Timeout.C:
13578         * Timeout.h:
13579         * minibuffer.h: move Timeout GUI-I
13580
13581 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13582
13583         * lyxrc.C (read): Update converters data-structures.
13584
13585 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13586
13587         * LaTeX.h (operator!=): add operator != for Aux_Info
13588
13589 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13590
13591         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13592
13593         * LaTeXLog.C: deleted, useful code moved to Buffer
13594
13595         * buffer.h:
13596         * buffer.C: new function getLatexLogName()
13597
13598         * lyx_gui_misc.C:
13599         * lyx_gui.C:
13600         * lyxvc.C:
13601         * lyxvc.h:
13602         * lyxfunc.C: use frontends for LaTeX and VC logs
13603
13604 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13605
13606         * LaTeX.h: yet another std:: that Allan forgot.
13607
13608         * Variables.C (set): renamed from isset(), because this clashes
13609         with some HP-UX macros (grr).
13610
13611 2001-02-06  Allan Rae  <rae@lyx.org>
13612
13613         * LaTeX.h: Another bug fix.  Missing std:: this time.
13614
13615 2001-02-04  Allan Rae  <rae@lyx.org>
13616
13617         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13618         floats problem. I've left it commented out because it's not quite
13619         correct.  It should also test that the current object is a table or
13620         figure inset.  But I haven't gotten around to figuring out how to do
13621         that.  I *think* it'll be something like: "table" == inset.type()
13622
13623         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13624         bool.
13625
13626 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13627
13628         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13629         all the citation/databases/styles in the auxilary file.
13630         (run): Rerun latex if there was a babel language error.
13631
13632 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13633
13634         * text.C (Backspace): Preserve the font when changing newline char
13635         with a space.
13636         (BreakParagraph): If the cursor is before a space, delete the space.
13637
13638         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13639
13640 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13641
13642         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13643         new argument (code).
13644         (ChangeCitationsIfUnique): New method.
13645
13646         * paragraph.C (GetPositionOfInset): Handle bibkey.
13647
13648 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13649
13650         * BufferView_pimpl.h: change type of Position::par_pos to
13651         LyXParagraph::size_type.
13652
13653 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13654
13655         * BufferView_pimpl.C (savePosition, restorePosition): Write
13656         messages to minibuffer.
13657
13658 2001-01-28  José Matos  <jamatos@fep.up.pt>
13659
13660         * buffer.C (makeDocBookFile): adds support for document language.
13661         A silly restriction on the name of LatexCommand types where removed.
13662         Added support for CDATA sections, allows to chars unescaped, used
13663         among others in code, to avoid escape < and >.
13664
13665 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13666
13667         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13668         saved positions instrad of a stack. Furthermore, a position is
13669         stored using paragraph id/paragraph position.
13670
13671         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13672         Remove LFUN_REF_BACK.
13673
13674 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13675
13676         * converter.C (dvipdfm_options): New method.
13677
13678 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13679
13680         * vspace.C (isValidLength): Fix for empty input string.
13681
13682 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * LyXAction.C (init): change description of LFUN_FIGURE to
13685         "Insert Graphics"
13686
13687 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13688
13689         * LaTeX.C: add using directive
13690
13691 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13692
13693         * MenuBackend.C (expand): Fix the sorting of the formats.
13694
13695 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13696
13697         * lyx_main.C: tiny error message fix
13698
13699 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13702         calling fl_initialize(). This fixes the problem with ',' as
13703         decimal separator in text files.
13704
13705 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13706
13707         * trans.C (process): Fix the keymap bug.
13708
13709 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * LaTeX.C (scanAuxFiles): New method. Provides support for
13712         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13713         (scanLogFile) Scan for "run BibTeX" messages.
13714
13715         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13716         OT1 font encoding. Also, load the aecompl package if the ae
13717         package is loaded.
13718
13719         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13720
13721 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13722
13723         * texrow.C (increasePos): turn two error messages into debug
13724         messages.
13725
13726 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13727
13728         * LaTeX.C (scanAux): Handle the \@input macro.
13729         (runBibTeX): Use scanAux().
13730
13731         * language.C (latex_options_): New field.
13732
13733         * LaTeXFeatures.C (getMacros): Add language macros.
13734
13735         * buffer.C (makeLaTeXFile): Small fix.
13736
13737 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13738
13739         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13740
13741         * text2.C: add a using directive.
13742
13743 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * BufferView2.C:
13746         * lyx_gui_misc.h:
13747         * lyxfr1.C:
13748         * lyxfunc.C: kill LyXBell.
13749
13750 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13751
13752         * text.C (IsBoundary): Remove the error message
13753
13754         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13755
13756         * lyxrc.C (setDefaults): Correct initialization value for
13757         font_norm_type.
13758
13759 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13760
13761         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13762         gotoError().
13763
13764         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13765         and GotoNextNote().
13766
13767         * src/LyXAction.C: Added reference-next.
13768
13769         * text.C (InsertChar): Use contains instead of strchr.
13770
13771         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13772
13773 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13774
13775         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13776         alignment commands (when needed).
13777
13778         * text.C (InsertChar): Add ':' to number separator chars.